From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107181 invoked by alias); 22 Sep 2015 17:33:04 -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 107166 invoked by uid 89); 22 Sep 2015 17:33:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-12.arcor-online.net Received: from mail-in-12.arcor-online.net (HELO mail-in-12.arcor-online.net) (151.189.21.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 22 Sep 2015 17:33:01 +0000 Received: from mail-in-10-z2.arcor-online.net (mail-in-10-z2.arcor-online.net [151.189.8.27]) by mx.arcor.de (Postfix) with ESMTP id 3nL8qG13pWz8Rvd for ; Tue, 22 Sep 2015 19:32:58 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-10-z2.arcor-online.net (Postfix) with ESMTP id 1EF342913AC for ; Tue, 22 Sep 2015 19:32:58 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net 3nL8qD6DDFzFQn2 Received: from Gertrud (p54B7E18B.dip0.t-ipconnect.de [84.183.225.139]) (Authenticated sender: stromeko@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPSA id 3nL8qD6DDFzFQn2 for ; Tue, 22 Sep 2015 19:32:56 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [PATCH setup 0/3] Setup replacement for incver_ifdep References: <1442937170-17580-1-git-send-email-jon.turney@dronecode.org.uk> Date: Tue, 22 Sep 2015 17:33:00 -0000 In-Reply-To: <1442937170-17580-1-git-send-email-jon.turney@dronecode.org.uk> (Jon Turney's message of "Tue, 22 Sep 2015 16:52:47 +0100") Message-ID: <87mvwegy0r.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-09/txt/msg00038.txt.bz2 Jon Turney writes: > 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. The easiest way to go about this would be to have _update-info-dir install a perpetual postinstall script that does the very same things it does now. I'm not even sure it's worth the trouble to try to exit early if there's nothing to do. > 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. Yes, it seems odd to hardcode things that way. > 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. There aren't any stratified scripts for pre-remove, so a lot of the things that you might wish for don't work anyway. So again it would need to be fixed without getting a trigger or setup would need to be made a lot smarter than it is today. > 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. So just do it unconditionally; I was planning to change _update-info-dir accordingly, but haven't found the time yet. I do the same with mandb locally already and I haven't looked back. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada