From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2435 invoked by alias); 15 Feb 2013 19:52:08 -0000 Received: (qmail 2407 invoked by uid 22791); 15 Feb 2013 19:52:07 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-in-04.arcor-online.net (HELO mail-in-04.arcor-online.net) (151.189.21.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Feb 2013 19:51:57 +0000 Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id 463AEAA0DE for ; Fri, 15 Feb 2013 20:51:54 +0100 (CET) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id 3F55A6FAC51 for ; Fri, 15 Feb 2013 20:51:54 +0100 (CET) Received: from Rainer.invalid (pD9EB3204.dip.t-dialin.net [217.235.50.4]) (Authenticated sender: stromeko@arcor.de) by mail-in-04.arcor-online.net (Postfix) with ESMTPSA id 01A6FAA0DE for ; Fri, 15 Feb 2013 20:51:53 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-04.arcor-online.net 01A6FAA0DE From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH 1/4] setup.exe References: <87r4l8or3d.fsf@Rainer.invalid> <87ip6koqwr.fsf_-_@Rainer.invalid> <51153155.3030404@dronecode.org.uk> <87txpm7atu.fsf@Rainer.invalid> <20130210192320.GA6562@ednor.casa.cgf.cx> <87obfo58ta.fsf@Rainer.invalid> <20130213193003.GA5287@ednor.casa.cgf.cx> <8738wz6h5p.fsf@Rainer.invalid> <20130213220849.GA3922@ednor.casa.cgf.cx> <87hale1vuk.fsf@Rainer.invalid> <20130215002235.GA7542@ednor.casa.cgf.cx> Date: Fri, 15 Feb 2013 19:52:00 -0000 In-Reply-To: <20130215002235.GA7542@ednor.casa.cgf.cx> (Christopher Faylor's message of "Thu, 14 Feb 2013 19:22:35 -0500") Message-ID: <87r4khwe25.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-SW-Source: 2013-02/txt/msg00152.txt.bz2 Christopher Faylor writes: > Actually, it needs to detect when a DLL is being installed. AFAIK, > that's it. The first part (detecting when a file of a certain type or in a certain location gets installed) was never in question. But you also need to ensure that the package that contains the autorun script is actually installed at the most recent version. At least that is the behaviour that autodep+upset does produce and my assumption is that any integration into setup.exe needs to keep it that way. > I don't think detecting when a package is being deleted > really matters. I don't think I talked about deinstallation. In any case it wouldn't matter for autodep; at least not if it continues to work like it already does. > You can certainly parse regex's in c++ without relying on std::regex. Sure, but do you have a suggestion on exactly how? Whatever library gets chosen it would need to be linked into the executable. > Huh? That would not help with the very case that we're talking about - > dlls. Autodep is used three times (if I counted correctly) in the current distribution. One is for cygwin, which we don't really need it since it is already taken care of in a different way in setup.exe. The other two are for _autorebase and _update_info. Of these, one regex matches on files having certain extensions and the other matches on files installed into directories having certain path prefixes. So having a way to specify these two cases without using a regex would satisfy the current uses of autodep =E2=80=94 or am I missing something? Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds