[debian-edu-commits] r80746 - branches/wheezy/debian-edu-artwork/debian
holger at alioth.debian.org
holger at alioth.debian.org
Sat Jun 15 16:11:46 UTC 2013
Author: holger
Date: 2013-06-15 16:11:46 +0000 (Sat, 15 Jun 2013)
New Revision: 80746
Modified:
branches/wheezy/debian-edu-artwork/debian/README.source
branches/wheezy/debian-edu-artwork/debian/changelog
branches/wheezy/debian-edu-artwork/debian/rules
Log:
* debian/rules: simplify new-upstream-version target.
Modified: branches/wheezy/debian-edu-artwork/debian/README.source
===================================================================
--- branches/wheezy/debian-edu-artwork/debian/README.source 2013-06-15 15:44:09 UTC (rev 80745)
+++ branches/wheezy/debian-edu-artwork/debian/README.source 2013-06-15 16:11:46 UTC (rev 80746)
@@ -1,31 +1,39 @@
-newer versions are released as a non-native package. if making changes outside
-of the "debian" dir in the source, you need to release a new upstream version.
-to do so, commit your changes to svn and use the new-upstream-version target in
+Releasing new upstream versions
+-------------------------------
+IMPORTANT: This needs to be done whenever the "upstream version" is
+incremented in debian/changelog!
+
+debian-edu-artwork is a non-native package, that means whenever files outside
+the debian director are changed or if the upstream version is incremented,
+one needs to release a new upstream version, which includes building a proper
+orig.tar.gz.
+
+To do so, commit your changes to svn and use the new-upstream-version target in
debian/rules:
debian/rules new-upstream-version
-this will create an upstream source tarball and a .dsc file, which can then be
-built in a clean chroot environment such as pbuilder:
+This will create an upstream source tarball in the parent directory. After that,
+build as usual:
+ debuild -uc -us -S
pbuilder --build debian-edu-artwork_VERSION.dsc
-if only making changes to the "debian" dir, download the previous .dsc from a
-debian mirror and copy the debian dir from svn into it:
- dget -x http://ftp.us.debian.org/debian/pool/main/d/debian-edu-artwork/debian-edu-artwork_VERSION.dsc
- rm -rf debian-edu-artwork-VERSION/debian
- svn export debian debian-edu-artwork-VERSION/debian
- cd debian-edu-artwork-VERSION
- debuild -us -uc -S
- pbuilder --build ../debian-edu-artwork_VERSION.dsc
+Getting existing orig.tar.gz:
+-----------------------------
+If you don't have the orig.tar.gz file which was used to build the package
+previously, use "apt-get source debian-edu-artwork" to get it.
+
Building from svn
-----------------
-
To build from svn, a few files need to be generated. Use this command
to bootstrap the source
automake -c -a
autoreconf
+(This is actually not true anymore, someone committed all autogenerated files
+ to svn. But this nicely documents whats needed to do when Makefile.am and
+ friends are changed.)
Modified: branches/wheezy/debian-edu-artwork/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-artwork/debian/changelog 2013-06-15 15:44:09 UTC (rev 80745)
+++ branches/wheezy/debian-edu-artwork/debian/changelog 2013-06-15 16:11:46 UTC (rev 80746)
@@ -6,7 +6,7 @@
[ Holger Levsen ]
* Drop art/logo (whoich wasn't used in the binary package) and moved it to
- git://git.debian.org/git/debian-edu/debian-edu-logo.git.
+ git://git.debian.org/git/debian-edu/debian-edu-logo.git
* Cleanup art/playground some more.
* Update README and debian/README.source.
* Add myself to AUTHORS.
@@ -16,9 +16,11 @@
- Add Enhances: field.
- Bump Standards-Version to 3.9.4, no changes needed.
- Drop ancient and useless Suggests: and Conflicts:.
- * debian/rules: Automatically replace duplicates with symlinks during
- buildtime to decrease installed package size. Thanks to Helmut Grohne
- and http://wiki.debian.org/dedup.debian.net.
+ * debian/rules:
+ - Automatically replace duplicates with symlinks during buildtime to
+ decrease installed package size. Thanks to Helmut Grohne and
+ http://wiki.debian.org/dedup.debian.net
+ - simplify new-upstream-version target.
* Drop useless debian/watch file.
-- Wolfgang Schweer <wschweer at arcor.de> Fri, 14 Jun 2013 18:03:42 +0200
Modified: branches/wheezy/debian-edu-artwork/debian/rules
===================================================================
--- branches/wheezy/debian-edu-artwork/debian/rules 2013-06-15 15:44:09 UTC (rev 80745)
+++ branches/wheezy/debian-edu-artwork/debian/rules 2013-06-15 16:11:46 UTC (rev 80746)
@@ -22,6 +22,5 @@
new-upstream-version:
svn export . $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
- GZIP=--best tar czf $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz --exclude=debian $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
- (cd $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION) ; debuild -us -uc -S)
+ GZIP=--best tar czf ../$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz --exclude=debian $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION)
More information about the debian-edu-commits
mailing list