From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 057B7385840B for ; Tue, 5 Oct 2021 16:58:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 057B7385840B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id XmyFmY06sps7PXnm1mXYdz; Tue, 05 Oct 2021 16:58:37 +0000 Received: from [192.168.1.105] ([68.147.0.90]) by cmsmtp with ESMTP id Xnm0meX9VcHSBXnm1mEk9G; Tue, 05 Oct 2021 16:58:37 +0000 X-Authority-Analysis: v=2.4 cv=I4EG+Psg c=1 sm=1 tr=0 ts=615c843d a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 a=-TwTtcap_KgA:10 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: cygwin-apps@cygwin.com To: cygwin-apps@cygwin.com References: From: Brian Inglis Organization: Systematic Software Subject: Re: Question about 'provides' and emacs packaging Message-ID: Date: Tue, 5 Oct 2021 10:58:36 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfMJJwtEWPvpaaBrhbXJNsA4Q9Pkny82o5kGVX6pyJ+u91XjL/GIzrijsuFUjfIq7lbskeRttB+Sp8lnPsyHRTE3cvFrf0LlUWhq8A6ydC2lfcB85c38g nHzFm84SGtH73N/sDICL208gRmijaEffyscPgkT5g8KbTZT5hRnwhs9cATDSw1EH2qwbl6a7uUaPQGKR9oW5+4asU4+MxVpS2Xg= X-Spam-Status: No, score=-1160.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2021 16:58:39 -0000 On 2021-10-05 09:51, Ken Brown via Cygwin-apps wrote: > I asked this question several years ago > (https://cygwin.com/pipermail/cygwin-apps/2018-October/039451.html), but > I'm repeating it, in a more specific form, in the hope that setup has > progressed to the point where I get a different answer. > > There are currently five emacs packages: emacs-common, emacs, emacs-X11, > emacs-w32, and emacs-lucid.  The first includes things that are needed > by each of the other four, and those four each include an emacs binary. > The binary in the emacs package is /usr/bin/emacs-nox.exe.  The other > packages contain /usr/bin/emacs-X11.exe, and so on. > > This way of naming the packages doesn't really reflect the contents of > the emacs package.  It also means that anyone who installs emacs gets > emacs-nox.exe, even if they plan to use one of the other three binaries. > > I would rather rename the current emacs-common package to emacs and the > current emacs package to emacs-nox.  But then the new emacs would have > to have a way of requiring the installation of at least one of > emacs-nox, emacs-X11, emacs-w32, or emacs-lucid.  Is there any way to do > this with our current setup machinery? > > My idea three years ago was to have the new emacs package require a > "feature" called, for instance, emacs-bin, and then have each of > emacs-nox, emacs-X11, emacs-w32, emacs-lucid "provide" that feature. > This is what Fedora does. Achim didn't think this was feasible without > major changes in setup. Is that still the case? If so, can anyone > think of another way to accomplish what I want? Hi Ken, Achim recently restructured gnuplot; I used to install gnuplot, gnuplot-base now obsoletes that, and that is all I have installed; alternatives handles the priorities if different packages provide gnuplot: https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/gnuplot.git gnuplot-base depends2: cygwin, libcairo2, libcerf1, libgd3, libglib2.0_0, liblua5.3, libpango1.0_0, libreadline7 gnuplot-X11 depends2: cygwin, gnuplot-base, libX11_6, ... gnuplot-qt5 depends2: cygwin, gnuplot-X11, libQt5Core5, libQt5Gui5, libQt5Svg5, libgcc1, ... libstdc++6 gnuplot-wx depends2: cygwin, gnuplot-X11, libgcc1, ... libgtk3_0, libstdc++6, libwx_baseu3.0_0, libwx_gtk3u3.0_0 -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]