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]

Re: [g-b-s patch] Re: Trial plotutils packages again


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

According to Igor Pechtchanski on 10/13/2005 5:36 PM:
> 
> Exactly.  So I'm asking again: *is* this the consensus?  If so, I'll
> remove that section from the readme template.

You've got my vote - I have to edit the readme file for every release to
give details about the new release, but not worrying about the file list
will make that a little less painful (even though g-b-s does provide the
list option).

> 
> Agreed.  Eric, if you plan to tweak the above patch, you should probably
> also mention <http://cygwin.com/packages/> as the place to get package
> content listings.

Done as requested, plus a sample generic-setup.hint:

2005-10-13  Eric Blake  <ebb9@byu.net>

	* templates/generic-setup.hint: New file.
	* templates/generic-readme: Add License, Language.  List date
	when releases are made.  Remove explicit file listing in favor of
	instructions on how to reproduce it.
	* templates/generic-build-script: Fix typo when failing.


- --
Life is short - so eat dessert first!

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

iD8DBQFDTyf384KuGfSFAYARAucnAKCfZdTCaBOpeBBJc7Na8LEQXe9iigCeO94Z
ZHlByFiWhpRJcd5qDRfefxs=
=13gl
-----END PGP SIGNATURE-----
Index: templates/generic-build-script
===================================================================
RCS file: /cvs/cygwin-apps/packaging/templates/generic-build-script,v
retrieving revision 1.37
diff -u -p -r1.37 generic-build-script
--- templates/generic-build-script	27 Sep 2005 15:33:28 -0000	1.37
+++ templates/generic-build-script	14 Oct 2005 03:34:38 -0000
@@ -60,7 +60,7 @@ elif [ -e ${BASEPKG}.tar ] ; then
   export opt_decomp=
   export src_orig_pkg_name=${BASEPKG}.tar
 else
-  echo "Cannot find PKG:${SHORTPKG} VER:${VER} REL:${REL}.  Rename $0 to"
+  echo "Cannot find PKG:${PKG} VER:${VER} REL:${REL}.  Rename $0 to"
   echo "something more appropriate, and try again."
   exit 1
 fi
Index: templates/generic-readme
===================================================================
RCS file: /cvs/cygwin-apps/packaging/templates/generic-readme,v
retrieving revision 1.9
diff -u -p -r1.9 generic-readme
--- templates/generic-readme	22 Jul 2005 15:47:47 -0000	1.9
+++ templates/generic-readme	14 Oct 2005 03:34:38 -0000
@@ -3,13 +3,16 @@
 <short description, 2 or 3 lines>
 
 Runtime requirements:
-  cygwin-1.5.10 or newer
-  <other requirements, e.g., libintl1>
+  cygwin-1.5.18 or newer
+  <other requirements, e.g., libintl3>
+  <If you use g-b-s, "./pkg-ver-rel.sh depend" will tell you some of this.
+   Also remember to depend on bash if you have a postinstall script or if
+   a binary calls system(2).  Make sure these also appear in setup.hint.>
 
 Build requirements:
-  cygwin-1.5.10 or newer
-  gcc-3.3.1-3 or newer
-  binutils-20030901-1 or newer
+  cygwin-1.5.18 or newer
+  gcc-3.4.4-1 or newer
+  binutils-20050610-1 or newer
   <other requirements, e.g., gettext>
 
 Canonical homepage:
@@ -18,6 +21,12 @@ Canonical homepage:
 Canonical download:
   ftp://...  <ditto>
 
+License:
+  <GPL, LGPL, ...>
+
+Language:
+  <C, Perl, shell, ...>
+
 ------------------------------------
 
 Build instructions:
@@ -33,33 +42,24 @@ This will create:
 
 Or use './<PKG>-<VER>-<REL>.sh prep' to get a patched source directory
 
--------------------------------------------
-
-Files included in the binary distribution:
-
-  /usr/bin/...
-  /usr/share/doc/Cygwin/<PKG>-<VER>.README (this file)
-  /usr/share/doc/<PKG>-<VER>/README
-  /usr/share/doc/<PKG>-<VER>/...
-  /usr/share/man/man1/...
-  /usr/share/info/...
-  /etc/postinstall/<PKG>.sh
+To find out the files included in the binary distribution, you can
+use "cygcheck -l <PKG>", or browse <http://cygwin.com/packages/>.
 
 ------------------
 
 Port Notes:
 
-----------  <PKG>-<VER>-<REL> -----------
+----------  <PKG>-<VER>-<REL> -- <date> -----------
 Other information
 
 ...
 
-----------  <PKG>-<older VER>-1 -----------
+----------  <PKG>-<older VER>-1 -- <date> -----------
 Initial release
 
 For more information about this package, see the upstream documentation in
 /usr/share/doc/<PKG>-<VER>.
 
-Cygwin port maintained by: <Your Name Here> <your email here>
+Cygwin port maintained by: <Your Name Here> <your email here, can be
+spam protected>
 Please address all questions to the Cygwin mailing list at <cygwin@cygwin.com>
-
Index: templates/generic-setup.hint
===================================================================
RCS file: templates/generic-setup.hint
diff -N templates/generic-setup.hint
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ templates/generic-setup.hint	14 Oct 2005 03:34:38 -0000
@@ -0,0 +1,11 @@
+# setup.hint for <PKG>
+sdesc: "short description"
+ldesc: "longer description of the package.  Remember that the short
+description does not need to repeat the package name."
+category: <valid categories listed at http://cygwin.com/setup.html>
+requires: <direct dependencies; don't forget bash if you have a postinstall>
+#external-source: <when multiple binary packages are built from one source>
+#prev: <usually not necessary>
+#curr: <usually not necessary>
+#test: <if you have a test, don't forget prev and curr>
+#maintainer: <don't uncomment yet, but will eventually be a required field>

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