This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How is setup.ini generated these days?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]