delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/23/08:04:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4950E19E.6020803@byu.net>
Date: Tue, 23 Dec 2008 06:03:26 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, hongyi DOT zhao AT gmail DOT com
Subject: Re: About the spec of cygwin's setup.ini file.
References: <cda1l41ijuiottqselvfab1buh21n8le37 AT 4ax DOT com>
In-Reply-To: <cda1l41ijuiottqselvfab1buh21n8le37@4ax.com>
X-IsSubscribed: yes
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Hongyi Zhao on 12/23/2008 2:18 AM:
> 
> 1- The above two entries in the setup.ini actually point to the same
> source file: GConf2-2.14.0-2-src.tar.bz2,  while they have different
> other filelds, such as: install.

That's because there are a number of packages where the same source
tarball produces multiple binary tarballs.

>  Who can give me some hints on the
> spec of cygwin's setup.ini file? 

The source code of setup.exe is freely available:
http://sourceware.org/cygwin-apps/setup.html
That provides the definitive reference for how it is parsed.  But there is
also the genini reference page,
http://sources.redhat.com/cygwin-apps/package-server.html

> 
> 2- Furthermore, if I want make a local repository based on the
> setup.ini file, where should I put these pakcages?  More specifically,
> should I use the  field value of _install:_ or the field value of
> _source:_ to construct the local directory tree for my cygwin's
> repository?

Depends on whether you want to install the binaries or the sources used to
generate those binaries.  But why not use setup.exe, and let it do the
work for you?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklQ4Z4ACgkQ84KuGfSFAYCZpACeKq5GUH1rYzVMVfneWHfVtwD1
uWEAoIegFh+O5VOh8Sxa7lImtVzqNlA7
=HuKL
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019