Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe:
The setup.hint file is discussed below. @@ -153,6 +157,7 @@ test: version category: name1[ name2...] requires: package[ package...] +external-source: package
(You may see some older setup.hint files which lack the colons after @@ -357,6 +362,90 @@
Notice that we didn't use the prev, curr, test, or @ options. Instead, we relied on the automatic setup.ini generator to do as much as possible for us.
+ +The external-source line is used when multiple installation +packages are generated from a single -src package. For example, suppose +the boffo package contains the executables and documentation for +boffo, but there is also a shared library cygboffo-7.dll that +might be used by other packages; say, the fobbo program. It +would be nice to separate that cygboffo-7.dll shared library +into a second installation package, so that users of the fobbo +program can install just the library, and not the entire +boffo package. However, all of the boffo executables +and the DLL are generated from the same source. To support this usage, +the boffo maintainer would create three packages:
+ +boffo-2.4.1-2.tar.bz2, boffo-2.4.1-2-src.tar.bz2, +and the boffo setup.hint +would go into the release/boffo/ subdirectory on the cygwin +server. libboffo7-2.4.1-2.tar.bz2 would go into a separate +subdirectory, such as release/boffo/libboffo7/, along with +a separate libboffo7 setup.hint. The two setup.hint +files would look something like this:
+ +
+category: Games Text +requires: libboffo7 libncurses6 cygwin +sdesc: "A whackamole simulation in ASCII art" +ldesc: "A whackamole simulation in ASCII art. +Intended for use on VT100 terminals at BAUD rates 1200 and +above. Uses arrow keys for positioning over moles. Space +bar whacks the mole. +No actual moles will be harmed during execution of this game." + |
+
+category: Games Text +requires: cygwin +external-source: boffo +sdesc: "Runtime library for a whackamole simulation in ASCII art" +ldesc: "A whackamole simulation in ASCII art. +Intended for use on VT100 terminals at BAUD rates 1200 and +above. Uses arrow keys for positioning over moles. Space +bar whacks the mole. +No actual moles will be harmed during execution of this game." + |
+
The setup.ini generated from these setup.hint files will include these lines +(only relevant lines shown):
++@ boffo +requires: libboffo7 libncurses6 cygwin +version: 2.4.1-2 +install: release/boffo/boffo-2.4.1-2.tar.bz2 +source: release/boffo/boffo-2.4.1-2-src.tar.bz2 + +@ libboffo7 +requires: cygwin +version: 2.4.1-2 +install: release/boffo/libboffo7/libboffo7-2.4.1-2.tar.bz2 +source: release/boffo/boffo-2.4.1-2-src.tar.bz2 + ++ +
Note that both packages point to the same -src tarball. Also, it is required +that the version strings match (libboffo7-5.2 won't point to boffo-1.4-src). The +same logic is used to "match up" prev: and test: versions.
The files paths within both the -src and the binary package files are --------------070106090805040905070002--