From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2135.outbound.protection.outlook.com [40.107.223.135]) by sourceware.org (Postfix) with ESMTPS id 9C579385802D for ; Tue, 5 Oct 2021 18:08:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9C579385802D ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T6PE8aPFRftv3nLJ9K+8YCDCwVe6im+mTG/auKVOr+RoKUFowdU0ZnA3EKa1cYHhueVDIYSrtyXrCDn7iSs6+xcoVMbv03WaP+wGZmJaWJdR/XQN3EcyTaOo86+rYvjgkE6ZTfN/cnw85CeTopE7PKHIasZud0HBAmQMrbDWWdjasmVKqQRM7X1gAUAtlbKGqsvAj+/bf2WKp5KTsiSQw0Y3cGjwf95zKqAY/omdbDfjJil+lSfJNn44cru2wJg2V/fujbIVlsgCqfYa4noM4hc+PBMkp50BISmHfrb3aRM0V+DVCPKJ0z4HquEq+p15y3b7tLnIZqiEHRZIBtR4gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uXNPKn5mMEf3/1MDccHAKp7FFxlRme9L0A1Zvlppm/E=; b=VsVcYJNwxoJu6XLjHvtj4bw8+syQsin+m8sF9iVX+uJmoJ1DHmy2LHerwpJXIkDRD9GxpaYDddH2NpPSqmJ2axESG+ZAInRMHBMRKY+BRUCB2YCNYeCuPUxCWPV+vl5BKlWmkt1OELNEBfzwhg+mBwXV+qPiqQxjFwqZFaK1bHRHUDLSUOUzvTXTqEVbZqLiYhHrNGsjREDjAtYrMvxw2ed0gGhJA7JsFUwpm/PZ1rCZnaeumc4hxI79pCz47k39PjOxTLFAvQIJYy0/Yq1GIKZ4jSUkojfnaj0KYjgu3D7yujzw39Hfn9DGBBe5aEV3Wo1/Eerg0vD99mXOTX4lPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Received: from BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) by BN6PR04MB0866.namprd04.prod.outlook.com (2603:10b6:405:44::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Tue, 5 Oct 2021 18:08:51 +0000 Received: from BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::d1a8:b6b3:dfd1:b093]) by BN7PR04MB4388.namprd04.prod.outlook.com ([fe80::d1a8:b6b3:dfd1:b093%6]) with mapi id 15.20.4566.022; Tue, 5 Oct 2021 18:08:50 +0000 Subject: Re: Question about 'provides' and emacs packaging To: cygwin-apps@cygwin.com References: From: Ken Brown Message-ID: <19db6b2f-66cd-00a1-c3d5-2221027b33ad@cornell.edu> Date: Tue, 5 Oct 2021 14:08:49 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BL1P221CA0004.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:2c5::15) To BN7PR04MB4388.namprd04.prod.outlook.com (2603:10b6:406:f8::19) MIME-Version: 1.0 Received: from [IPv6:2603:7081:7e3f:3419:10d5:b5e:5549:4ccc] (2603:7081:7e3f:3419:10d5:b5e:5549:4ccc) by BL1P221CA0004.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:2c5::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.20 via Frontend Transport; Tue, 5 Oct 2021 18:08:50 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 29cc5437-354c-4b40-4ed1-08d9882b2ef2 X-MS-TrafficTypeDiagnostic: BN6PR04MB0866: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hQ9BFeeC5hMhdzD4rNFC1dVGt1APRFr04h86wjXCsm7WaC32pGcjx3xlT4R+9cYtlt+P/DeADaEwNy2Gts9ExSA4Fpk4xlCLKNis60YDD+NOs84q4LShkTfJwvnaSz/WF6AD8zimYuYqhPgewOa5vdQT3GhcEAEDmxmP1K7wMbrko3AwLFgXi/4Sdhl+Ca4gYEVQt+IP/Kmj27VE9N1yly8xOyrw0qXiMNSyhtrfwV/XeyBVxgwfBCKILIUB+b9UMOv8FwKM1Or1SH67xrePad4p3TXmVSWDOUZ7jDfChQCHtfbnq5CUGPkoB5gcGMJ6y1DCtSf8wqeVrVedNap684XSuFpUROFkVQGZTQCYB4qodJyQgHlooflnM7HREbgpEaLYJV/xqleer7DDAyCLY4e4elKlJsnJ4QUnrtkWkqDUFqazVW4YxrOI1DsV66o3w37d0xAoC2hNdTDHU75yhUzxTUgDC+KFFZfkaiP53RP19jtj7iHCqGdekdJ5s8IAufvyXwNp15S1xr0xpbwhsRHoQg5MzShlV5NctqyCrUus4rTJA0g6QeSaTBIeVJ/C+7E4sed4lZLpxEBGNg4QVAUU05VpCAeBB3OE7CEmZs2LXC6owdvEXbnApiXjI/XLvFogQT+FmG+MUedezzg2X00F29qCVN+tB8EJ2immB+SNiLOhW1Z1hyJKEGmdwQ5Eyvsv3U72N60TujO5Z6smGwc5F2p/TINEyL+MiBpwxq6NanPRDYa2Hp7igQTMzdH0dX+F3ovTJzJ+KyU7e5YY+q8XFv2SFe1oOXdDdETNdmT9uCWhIkYMhaFVYcyY9i4RHACOhC5UW+DXhZbcDC/lWg33MRc3rV7oU9SiQmqrCeB/qzyLXx5rr1mc4NN3so1x X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(31686004)(6486002)(8676002)(75432002)(66946007)(508600001)(31696002)(36756003)(53546011)(966005)(186003)(66476007)(38100700002)(6916009)(8936002)(83380400001)(316002)(86362001)(786003)(2616005)(66556008)(2906002)(45980500001)(43740500002)(460985005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?Windows-1252?Q?6CERJx6fh4/y0ygbcR82JiN74f+HJ4KVSyLlWpTXwo9DvVSRyZISdlhm?= =?Windows-1252?Q?FdhfxTHNk+2MTzj0u/R27wdkBjjsW0Xx3sjMmOFZgINVZOHb0GZ1+AeW?= =?Windows-1252?Q?SkLZFke9phNsbXE1+5D+l7rVHWDCg/3jsGFlb09AJfxJtfIH/GmAlN2d?= =?Windows-1252?Q?JMsaAR516Fe0XXiqN/W91gd/FF6drf8V2Vy7vvKwKCv1SEsHh3J0cWYu?= =?Windows-1252?Q?WlaMvtOQT6z+mED9Bvmmxtb8il3oapOkqS471/W5Rn/yiMhR46BwT2gb?= =?Windows-1252?Q?dH66Vw7UoSI95x+LpNncnsLCYxODO8MOuZrO8dbMLALpN3rPh9IKxsAa?= =?Windows-1252?Q?vFPnKxr3lYkJo+V2OsUy435B/ZO/7VG67fRR6S6Uc4kox4tllJzm82bx?= =?Windows-1252?Q?UM5muujMTcSdyaDZuw+eJJEYeftvqrtUbaENXTWNICJ+B1b6I9MkV2/E?= =?Windows-1252?Q?8qdiXkShxNp1KHxdW8LTprVZzIgIN3NeRNlYDSZiix4qFJ98egnYYKte?= =?Windows-1252?Q?+nGYFVNJvzSbDxkN3OJVNSI1SvSYSJSVNyjZA1UVGCCK12oRAVKNnYxS?= =?Windows-1252?Q?LURZCV//tFDqkug1vTTkuX5sL2rdEfEMeUpmj3t0Rut0dK/joF0dwNse?= =?Windows-1252?Q?ouZSlhLN97zLtlyT6mvV6Y7yKSwGnbsOuR1FyGpq0b6P3bQofLzKQ9+n?= =?Windows-1252?Q?oxrtg7kFf42ayDZnPw4h5Ws1FLlt1Bp71bYcUNn00ATQmMLT2FR9VI0z?= =?Windows-1252?Q?ylFBb0Lv6Y7gz305uotC9XwOX8SJFvHdGB259qzUWstv4rWHtvjN3zoI?= =?Windows-1252?Q?OYR68qADgD59cHeKrokcrE7E7eVYHILPCKCv8YBckSuCJZ9LhmL+w+2J?= =?Windows-1252?Q?Rnx9ybB5cuHttxyuk/MB6btCFvKDA6u0Hwf5YgoNbUhUlSHIzreuFEJ0?= =?Windows-1252?Q?LJJMawMa7JrdUw8WbPNK0B9tRhxXuLm0+LV3phgs4YINPll7Z3BHybIT?= =?Windows-1252?Q?Lp9YMkHIwuuwTBzIZJdKOwNtG6kE3I3NIdkPYmr9AUA3dMIuFeECRyGB?= =?Windows-1252?Q?tOF730HB/OHhmli30A29bjt44fbbuFvMqNK3Dj9i+qP+FlloX/s+4D8F?= =?Windows-1252?Q?5mxAyGGjskOAGxb1zys3Is8ki6WT1w7S7Jgnc4/UrHFrhcPNYbXRoMWI?= =?Windows-1252?Q?IjhHgC8oGJJVKFyfZPUjBiWTFy3mGfQjw6S7A1S8bPnMus04+QACULPC?= =?Windows-1252?Q?jsE1BWQzZO7a3NPPHeQjbKjIrB+I+N0E8iOFIIqqvyvHfMFOU9+84OUC?= =?Windows-1252?Q?REVS2lWPs/UCyMGTcen2U4v3Hik+tuvTbwErHZL79xkk1ZjYq4BxDG9W?= =?Windows-1252?Q?GESzHe03Bfmmxpeual1vaY5D3EcX27vj0L5eUJPwGeFwirdDftMUVeb1?= =?Windows-1252?Q?bWGyoBHr9PRCIO9Eb0giI4IF2F9dYvlCDzdkHm8vixw9jvftCMEEq37y?= =?Windows-1252?Q?xjsPZRXj?= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 29cc5437-354c-4b40-4ed1-08d9882b2ef2 X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2021 18:08:50.5557 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ycZKZmqoKZxXBIdJgHWUGD+k4/JR1GawK/AFOyFGGFbe3ClY75IPALru0bitRyv9O2UnXYV9DzZXWX61sTVV0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB0866 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, 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 18:08:54 -0000 On 10/5/2021 12:58 PM, Brian Inglis wrote: > 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 This is very similar to what I currently have in emacs, although with better names. gnuplot-base is comparable to emacs-common+emacs. It doesn't achieve what I was asking for. But if what I was asking for isn't possible, I might still do some renaming, to make the contents clearer. Thanks. Ken