From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10357 invoked by alias); 17 Apr 2011 12:28:25 -0000 Received: (qmail 10346 invoked by uid 22791); 17 Apr 2011 12:28:24 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rs2.shuttle.de (HELO rs2.shuttle.de) (194.95.249.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Apr 2011 12:28:08 +0000 Received: by rs2.shuttle.de (Postfix, from userid 10) id 9C74B580F7; Sun, 17 Apr 2011 14:28:06 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.4/8.14.4) with ESMTP id p3HCS06n008486 for ; Sun, 17 Apr 2011 14:28:00 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.4/8.14.4/Submit) id p3HCS0Tr008485 for cygwin@cygwin.com; Sun, 17 Apr 2011 14:28:00 +0200 (CEST) (envelope-from schweikh) Date: Sun, 17 Apr 2011 17:36:00 -0000 From: Jens Schweikhardt To: cygwin@cygwin.com Subject: Re: How is setup.ini generated these days? Message-ID: <20110417122800.GA6848@schweikhardt.net> References: <20110416190115.GB11826@schweikhardt.net> <1303014047.524.4.camel@YAAKOV04> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1303014047.524.4.camel@YAAKOV04> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-04/txt/msg00225.txt.bz2 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? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) -- 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