[SCM] mess system emulator branch, master, updated. ef0a2e33bc3add2be753a0def476db7fb395524a

Jordi Mallach jordi at debian.org
Mon Dec 19 20:57:49 UTC 2011


The following commit has been merged in the master branch:
commit ef0a2e33bc3add2be753a0def476db7fb395524a
Author: Jordi Mallach <jordi at debian.org>
Date:   Mon Dec 19 21:57:35 2011 +0100

    Use .xz tarballs as it cuts ~ 20MB for the upstream sources.

diff --git a/debian/changelog b/debian/changelog
index 18b6980..f0c488f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,9 @@ mess (0.144-1) UNRELEASED; urgency=low
   * Remove references to GNU/Linux and MAME sources from the
     debian/copyright header.
   * Add build variables for s390x.
+  * Use .xz tarballs as it cuts ~ 20MB for the upstream sources.
 
- -- Jordi Mallach <jordi at debian.org>  Mon, 19 Sep 2011 11:59:21 +0200
+ -- Jordi Mallach <jordi at debian.org>  Mon, 19 Dec 2011 21:55:48 +0100
 
 mame (0.143-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 605a14b..df0e790 100755
--- a/debian/rules
+++ b/debian/rules
@@ -166,7 +166,7 @@ override_dh_install:
 	dh_install --exclude=OSX.txt
 
 
-# Convert upstream sources from zip to tar.bz2
+# Convert upstream sources from zip to tar.xz
 VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 
 MESS_PACKAGE = mess
@@ -187,7 +187,7 @@ $(MESS_FILEBASE)s.zip:
 get-orig-source: $(MESS_FILEBASE)s.zip
 	mkdir $(TMPDIR)
 
-	# Create an orig.tar.bz2 tarball for MESS
+	# Create an orig.tar.xz tarball for MESS
 	mkdir -p $(TMPDIR)/$(MESS_PACKAGE)-$(VERSION)
 	unzip $(MESS_FILEBASE)s.zip -d $(TMPDIR)/$(MESS_PACKAGE)-$(VERSION)
 	# Strip trailing CR
@@ -197,7 +197,7 @@ get-orig-source: $(MESS_FILEBASE)s.zip
 	    | sed 's/\ /\\\ /g' \
 	    | xargs sed -i "s/\r$$//"
 	tar -C $(TMPDIR) -cvf - $(MESS_PACKAGE)-$(VERSION) | \
-	    bzip2 -c9  > ../$(MESS_PACKAGE)_$(VERSION).orig.tar.bz2
+	    xz > ../$(MESS_PACKAGE)_$(VERSION).orig.tar.xz
 	rm -f $(MESS_FILEBASE)s.zip
 
 	rm -rf $(TMPDIR)
diff --git a/debian/source/options b/debian/source/options
index 779dbfd..b7bc1f2 100644
--- a/debian/source/options
+++ b/debian/source/options
@@ -1,2 +1 @@
-compression = "bzip2"
-compression-level = 9
+compression = "xz"

-- 
mess system emulator



More information about the Pkg-games-commits mailing list