X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Sun, 17 Apr 2011 13:35:01 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How is setup.ini generated these days? Message-ID: <20110417173500.GA1133@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20110416190115 DOT GB11826 AT schweikhardt DOT net> <1303014047 DOT 524 DOT 4 DOT camel AT YAAKOV04> <20110417122800 DOT GA6848 AT schweikhardt DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110417122800.GA6848@schweikhardt.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sun, Apr 17, 2011 at 02:28:00PM +0200, Jens Schweikhardt wrote: >On Sat, Apr 16, 2011 at 11:20:47PM -0500, Yaakov (Cygwin/X) wrote: ># On Sat, 2011-04-16 at 21:01 +0200, Jens Schweikhardt wrote: ># > I'm trying to make a package server as described on ># > http://sourceware.org/cygwin-apps/package-server.html ># > ># > I've rsynced the complete "release" tree (skipping *-legacy). However, ># > running ># > ># > genini release/* > setup.ini ># > ># > with genini 1.13 from ># > http://cygwin.com/cgi-bin/cvsweb.cgi/genini/?cvsroot=cygwin-apps) ># > produces a lot of errors and warnings and the resulting setup.ini ># > is much smaller than the official one that comes with rsyncing ># > (300k vs 1300k). ># ># Many packages are in subdirectories of release. Try this instead: ># ># genini --output=setup.ini `find release/ -name setup.hint | sed 's|/setup\.hint$||g'` > >Thanks, and I also found the --recursive option. Now I'm running this: > > genini --output=setup.ini --recursive --okmissing=source release > >This gets close to 1300k but not quite. There are small differences that >apparently result from some sort of postprocessing, such as: > > * If a package has no "requires" tag, it gets one with "cygwin" > * If a "requires:" tag does not include "cygwin" it gets one > >Apart from that many "source", "install" and "version" tags are different. > >What is the script that the official setup.ini is generated with? >Is this list the right place to ask this? If not, where should I ask? setup.ini is generated by a program called "upset". The current sources are not available to the public since the program is not intended for "roll-your-own-setup.ini" and the program is not something that I want to receive patches for or questions about. Older versions of the program are probably not kicking around out they are not supported here. If you want to generate a setup.ini use genini. If you find bugs, then proposed patches will be thoughtfully considered as long as they aren't band-aids. cgf -- 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