delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=uMguYaG2bsjZGkI0bJfomxubVLG7s32evgyrs8Vrzdl | |
0fSdgyQD80bQR7Cb7DYy9GeamZu57rkgrsATLevA3ym1wjP27sWUYXRwHxVdHhzW | |
KUzE8luvd148kXthhmx5tdWVtGJZuOwE4U3vG048RUwZ76mtXxGwMqeSMQ+JCceA | |
= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=RKFZ1D9oObnXO9nBkaGrInWafqI=; b=iyHlnOWI03cXCpJUn | |
Xwc5VgutMUwTJOwG8ElhCksdEbublnOxGCXqeGAW2UGNkGnJP88rtI3H4pY1HmBx | |
jwDhf/CBCcC3Z7xBz81xaWLVtS9FTuErUjWlsVXD5DeHwVc5jxoYIU/KOM0Rn+ow | |
WWXh1Bkld4AZlOLC1y2zUg4l4Y= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-2.7 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,SPF_PASS,TW_YG autolearn=ham version=3.3.1 |
Message-ID: | <5194D4E5.8020709@cwilson.fastmail.fm> |
Date: | Thu, 16 May 2013 08:45:25 -0400 |
From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Base Cygwin now requires Python? |
References: | <CAAXzdLVNdced57cNh=C0tR7JYtC+DaXceB_gapFjb-GJy01Rrw AT mail DOT gmail DOT com> |
In-Reply-To: | <CAAXzdLVNdced57cNh=C0tR7JYtC+DaXceB_gapFjb-GJy01Rrw@mail.gmail.com> |
On 5/16/2013 2:41 AM, Steven Penny wrote: > Because of this dependency line > > mintty > cygutils > desktop-file-utils > libglib2.0_0 > python-gobject > python > > A base Cygwin install now requires Python. Can this be changed? While Python is > a good language I hardly feel it is appropriate to add that bulk to a base > install. I agree. It's an unintended consequence of this change: 2011-10-27 Yaakov Selkowitz <...> Integrate cygstart with FD.o menu and mimetype system. * src/cygstart/cygstart.desktop: New file. * src/cygstart/cygutils.xml: New file. * Makefile.am: Dist and install these files. * NEWS: Update documentation. which caused the (auto-generated) postinstall script to have the following two commands: /usr/bin/update-desktop-database /usr/bin/update-mime-database /usr/share/mime which in turn, caused the (auto-generated) dependency list to include desktop-file-utils and shared-mime-info. There are a couple of choices: 1) override the (auto-generated) dependencies to not list those tools a) then the postinstall script will fail, but maybe that's ok 2) override the (auto-generated) postinstall script to check existence before calling those tools (and also #1?) a) at least that way the postinstall script won't report failure 3) teach cygport to autogenerate the postinstall script such that it checks existence first, before calling the tools. a) probably too hard to ALSO teach it to recognize conditional usage of the tools so as to avoid listing desktop-file-utils and shared-mime-info when auto-generating the dependency list, so b) probably need to do #1 here, as well. In the meantime, I'm going to do #1 on the server, so that these deps aren't pulled in to a base install. That means the script will fail, until we resolve the issue. Yaakov, any comments? -- Chuck cygutils maintainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |