[SCM] packaging for the mame arcade game emulator branch, master, updated. c12a74725e0f4de450dc3fa966915ca99f1d55f5

Jordi Mallach jordi at debian.org
Tue Dec 20 01:16:44 UTC 2011


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

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

diff --git a/debian/changelog b/debian/changelog
index d1e4c6d..5565698 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ mame (0.144-1) UNRELEASED; urgency=low
     them priority extra.
   * Remove references to GNU/Linux and MESS sources from copyright.
   * Add build variables for s390x.
+  * Use .xz tarballs as it cuts 4MB for the upstream sources.
 
   [ Emmanuel Kasper ]
   * New upstream release. Closes: #651538.
@@ -18,7 +19,7 @@ mame (0.144-1) UNRELEASED; urgency=low
   * Mame-tools are not built from the mame source package anymore, but
     from the mess source package
 
- -- 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:56:07 +0100
 
 mame (0.143-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index d583984..3e6767d 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')
 MAME_PACKAGE = mame
 MAME_FILEBASE = $(MAME_PACKAGE)$(VERSION)
@@ -189,7 +189,7 @@ $(MAME_FILEBASE)s.zip:
 get-orig-source: $(MAME_FILEBASE)s.zip
 	mkdir $(TMPDIR)
 
-	# Create an orig.tar.bz2 tarball for MAME
+	# Create an orig.tar.xz tarball for MAME
 	unzip $(MAME_FILEBASE)s.zip -d $(TMPDIR)
 	mkdir -p $(TMPDIR)/sub/$(MAME_PACKAGE)-$(VERSION)
 	# Not a bug: Mame source needs to be unzipped twice
@@ -202,7 +202,7 @@ get-orig-source: $(MAME_FILEBASE)s.zip
 	    | sed 's/\ /\\\ /g' \
 	    | xargs sed -i "s/\r$$//"
 	tar -C $(TMPDIR)/sub -cvf - $(MAME_PACKAGE)-$(VERSION) | \
-	    bzip2 -c9  > ../$(MAME_PACKAGE)_$(VERSION).orig.tar.bz2
+	    xz > ../$(MAME_PACKAGE)_$(VERSION).orig.tar.xz
 	rm -f $(MAME_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"

-- 
packaging for the mame arcade game emulator



More information about the Pkg-games-commits mailing list