From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59037 invoked by alias); 22 Sep 2015 15:53:12 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 59026 invoked by uid 89); 22 Sep 2015 15:53:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: rgout0303.bt.lon5.cpcloud.co.uk Received: from rgout0303.bt.lon5.cpcloud.co.uk (HELO rgout0303.bt.lon5.cpcloud.co.uk) (65.20.0.209) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Sep 2015 15:53:10 +0000 X-OWM-Source-IP: 86.160.189.124 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-CTCH-RefID: str=0001.0A090203.56017963.00B4,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=7/50,refid=2.7.2:2015.9.9.120920:17:7.944,ip=86.160.189.124,rules=__HAS_FROM, __TO_MALFORMED_2, __TO_NO_NAME, __HAS_MSGID, __SANE_MSGID, __HAS_X_MAILER, __ANY_URI, __HTTPS_URI, URI_ENDS_IN_HTML, __URI_NO_MAILTO, __URI_NO_PATH, __URI_IN_BODY, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_7000_LESS, __SINGLE_URI_TEXT, SINGLE_URI_IN_BODY X-CTCH-Spam: Unknown Received: from localhost.localdomain (86.160.189.124) by rgout03.bt.lon5.cpcloud.co.uk (8.6.122.06) (authenticated as jonturney@btinternet.com) id 55DD8A4A0341FA37; Tue, 22 Sep 2015 16:53:07 +0100 From: Jon Turney To: cygwin-apps@cygwin.com Cc: Jon Turney Subject: [PATCH setup 0/3] Setup replacement for incver_ifdep Date: Tue, 22 Sep 2015 15:53:00 -0000 Message-Id: <1442937170-17580-1-git-send-email-jon.turney@dronecode.org.uk> X-SW-Source: 2015-09/txt/msg00034.txt.bz2 This is an attempt at a setup feature which will allow the removal of the final use of 'incver_ifdep' in setup.hint, by _update-info-dir package. See the discussions starting at around [1],[2] and following, although this takes a slightly different approach. To be clear: IMHO, this functionality doesn't belong in upset or setup. Since we now have scripts which run on every setup run, a package which requires another package to do some work after it is installed or uninstalled can create a file to act as a trigger for that to happen. Unfortunately, it's not very practical to change to doing that for the all packages which contain info files, so I am suggesting this approach. (Further note: autodep is broken in upset. Many package which should have a dependency on _update-info-dir do not have one, and only 19 packages do, so this is not working as intended at the moment. Yes, this means that the autodep on the cygwin package isn't working correctly, either.) [1] https://www.cygwin.com/ml/cygwin-apps/2013-02/msg00152.html [2] https://www.cygwin.com/ml/cygwin-apps/2015-06/msg00067.html Jon Turney (3): Remove unused regex code Remove unfinished, unused support for 'autodep:' lines in setup.ini Add support for 'trigger:' lines in setup.ini ChangeLog | 38 + IniDBBuilder.h | 2 +- IniDBBuilderPackage.cc | 5 +- IniDBBuilderPackage.h | 2 +- Makefile.am | 7 +- cygpackage.cc | 6 - cygpackage.h | 2 - inilex.ll | 2 +- iniparse.yy | 5 +- install.cc | 4 + package_meta.cc | 3 + package_version.cc | 7 - package_version.h | 2 - regex/config.h | 188 --- regex/re_comp.h | 26 - regex/regcomp.c | 3801 ------------------------------------------ regex/regex.c | 74 - regex/regex.h | 575 ------- regex/regex_internal.c | 1719 ------------------- regex/regex_internal.h | 770 --------- regex/regexec.c | 4339 ------------------------------------------------ trigger.cc | 69 + trigger.h | 42 + 23 files changed, 169 insertions(+), 11519 deletions(-) delete mode 100644 regex/config.h delete mode 100644 regex/re_comp.h delete mode 100644 regex/regcomp.c delete mode 100644 regex/regex.c delete mode 100644 regex/regex.h delete mode 100644 regex/regex_internal.c delete mode 100644 regex/regex_internal.h delete mode 100644 regex/regexec.c create mode 100644 trigger.cc create mode 100644 trigger.h -- 2.5.3