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=M1ov1Y5tVrxtJtR2QFsXGacCCmIWyuimmSAMq2X4K5o FMFIlfX1BNL+N5ZgJljQzAUDEZtgDJgFB6Sd0Z3vjBltavMSEcbXuWDFQL9b/thj B7TJlvlZnNqOCq1wcHy0GB9yguLCj8ow0XOSYAMSmxr2+O4aPskYiIQIUk3SpA3w = 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=7HU/l7ebikZrbVrcZ3PU4qMLgQk=; b=kt3nvsZlJ3d6F7mT6 bGvzSr9Nn1DXoIwVIWDEodMWKe1nwetwgZxcbahogoz7bIalbphczdJ5hzruIOH0 7CZquWyD7hjrKbBazkGd8swEZUxQ5sivmqg1NR1+dg+LBKRw/MgmIy9AQN8JsFRL 3lIdz02hbG1Ct+4kBv5Azlt7Oo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-3.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Message-ID: <51A7B714.30009@cwilson.fastmail.fm> Date: Thu, 30 May 2013 16:31:16 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: The Cygwin Mailing List Subject: Re: Attn: Yaakov [Was: Re: cygutils Postinstall Script Errors With Exit Code 128] References: <51A684AA DOT 2060904 AT cwilson DOT fastmail DOT fm> <51A6948B DOT 3000807 AT users DOT sourceforge DOT net> In-Reply-To: <51A6948B.3000807@users.sourceforge.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 5/29/2013 7:51 PM, Yaakov (Cygwin/X) wrote: > On 2013-05-29 17:43, Charles Wilson wrote: >> /usr/share/applications/cygstart.desktop >> /usr/share/mime/packages/cygutils.xml > > Right, because packages providing those kind of files usually need those > commands to be run in order for them to take effect; see below. > >> However, at user request I've manually removed the requires: line, >> because the addition of these two files to the cygutils package >> shouldn't have the effect of pulling *PERL* into the Base category. I >> assumed we'd live with the semi-brokenness for a few days, until... > > Perl? I thought it was Python, due to a false positive in the > dependency detection with glib2.0, which I fixed on sourceware. You're right, it was python. One of the gigantic "p*" packages, anyway... > But now that you mention it, is cygutils *supposed* to be in Base? It > is marked category: Utils, but seems to be pulled into Base only because > of cygwin-doc (which *is* in Base, oddly enough; shouldn't it just be > Doc?) listing it as a dependency. I've got email from 2006 [1] where the following was mentioned: "Since cygutils is required by some packages in the Base category, ..." so maybe at one point, several packages required it. It's also possible, at one point, that we explicitly wanted it to be in that category, as it provided our d2u/u2d tools. Obviously now that we have an standalone u2d package that isn't an issue (but I note that dos2unix is NOT in Base, but IS listed as requirement for cygutils. So if we take action to (effectively) remove cygutils from Base, then dos2unix will also go "missing". > The "problem" here is that cygutils is not primarily a desktop-oriented > package. Most packages providing XDG menu and mime entries *are*, so > these dependencies not only mandatory, but quite modest by those > standards. I added these files because it allows better integration > between desktop file managers > (Nautilus/Caja/Thunar/PCManFM/Dolphin/etc.) and Windows, e.g. making it > easy to launch an EXE/MSI installer from one's Downloads folder. > However, most people use cygutils outside of the desktop, so > particularly if its pulled into Base, these deps would be more than the > bare-minimal system. > > If cygutils should be in Base, the "solution" is probably one of the > following: > > * provide these files (and postinstall scripts) in a 'cygutils-x11' > subpackage; > > * OR move them to another package (not sure which yet) which will > already be installed in desktop scenarios, and adding cygutils as a > dependency thereto. > > For now, should we go with the first option? Yes, that's probably the best way to go. I'll roll a new release with that change, for both 32- and 64- cygwin, soon. (Need to investigate the recent resurrected report about cygdrop and privelege dropping first). [1] http://cygwin.com/ml/cygwin-apps/2006-03/msg00117.html -- Chuck -- 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