This is the mail archive of the cygwin-apps 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] |
On 2012-07-19 00:22, Yaakov (Cygwin/X) wrote:On 2012-07-18 06:53, Ken Brown wrote:When I build a package using cygport, I sometimes forget to run cygport's "dep" command to make sure my setup.hint is up to date. I think it would be useful for cygport to do this as part of its packaging step. It could print out a list of dependencies or, better, print a warning if there are dependencies that are not listed in any of the setup.hint files.
I'm actually working on setup.hint generation in cygport, which would work by defining [PKG_]CATEGORY, [PKG_]REQUIRES, [PKG_]SUMMARY, and [PKG_]DESCRIPTION variables in the .cygport file itself, rather than having to maintain a set of files for each package. The next natural, albeit more difficult, step would be for cygport to automatically generate the requires for each (sub)package based on the algorithm used in "cygport deps", similar to what rpmbuild does for binary packages. Of course, non-binary deps (e.g. commands called in scripts, or by fork(), etc.) would still have to be explicitly defined.
The first version is now in cygport git master. See the Packaging section of the manual for the variables you need to set in order for this to work, and be sure to remove your .hint files from $C.
Attachment:
adapt_to_new_cygstart.patch
Description: Text document
Attachment:
cygwin.h.patch
Description: Text document
Attachment:
emacs-24.1-2.cygport
Description: Text document
Attachment:
xgselect-24.0.97.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |