[Pkg-fglrx-devel] r1110 - fglrx-driver/branches/experimental/debian

Andreas Beckmann anbe-guest at alioth.debian.org
Fri Oct 12 11:29:27 UTC 2012


Author: anbe-guest
Date: 2012-10-12 11:29:27 +0000 (Fri, 12 Oct 2012)
New Revision: 1110

Modified:
   fglrx-driver/branches/experimental/debian/changelog
   fglrx-driver/branches/experimental/debian/rules
Log:
repack as .xz

Modified: fglrx-driver/branches/experimental/debian/changelog
===================================================================
--- fglrx-driver/branches/experimental/debian/changelog	2012-10-12 11:04:33 UTC (rev 1109)
+++ fglrx-driver/branches/experimental/debian/changelog	2012-10-12 11:29:27 UTC (rev 1110)
@@ -8,6 +8,7 @@
     - Purging fglrx-driver is no longer required for switching to Radeon.
   * debian/watch: Mangle the version of upstream beta releases.
   * get-orig-source: Download beta releases and mangle their version.
+  * Repack into .xz, about 24% size reduction over .bz2.
 
  -- Andreas Beckmann <debian at abeckmann.de>  Thu, 13 Sep 2012 13:33:04 +0200
 

Modified: fglrx-driver/branches/experimental/debian/rules
===================================================================
--- fglrx-driver/branches/experimental/debian/rules	2012-10-12 11:04:33 UTC (rev 1109)
+++ fglrx-driver/branches/experimental/debian/rules	2012-10-12 11:29:27 UTC (rev 1110)
@@ -213,7 +213,7 @@
 	[ ! -s $(CACHEDIR)/$(INSTALLER) ] || cp -a $(CACHEDIR)/$(INSTALLER) .
 	[ -s $(INSTALLER) ] || unzip $(CACHEDIR)/$(INSTALLER_ZIP)
 
-../$(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.bz2: $(INSTALLER) debian/rules
+../$(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.xz: $(INSTALLER) debian/rules
 	rm -fr $(packagename)-$(REAL_UPSTREAM_VERSION).orig
 	sh $(INSTALLER) --extract $(packagename)-$(REAL_UPSTREAM_VERSION).orig
 	@set -x ; \
@@ -225,10 +225,10 @@
 	    && chmod -R a-sx,u=rwX,go=rX . \
 	    && find . -type f \( -path '*/bin/*' -o -path '*/sbin/*' -o -name '*.sh' \) -exec chmod a+x {} +
 	# Create the tarball.
-	tar -cjf $(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.bz2 \
+	tar -cJf $(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.xz \
 	    --owner=root --group=src \
 	    $(packagename)-$(REAL_UPSTREAM_VERSION).orig
-	mv $(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.bz2 ../
+	mv $(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.xz ../
 	# Cleanup.
 	rm -fr $(packagename)-$(REAL_UPSTREAM_VERSION).orig
 
@@ -236,7 +236,7 @@
 	$(MAKE) -f debian/rules repack_upstream_archive
 	rm -f $(INSTALLER)
 
-repack_upstream_archive: ../$(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.bz2
+repack_upstream_archive: ../$(packagename)_$(REAL_UPSTREAM_VERSION).orig.tar.xz
 else
 get-orig-source:
 	# This target needs DEB_BUILD_OPTIONS to contain the version specification




More information about the Pkg-fglrx-devel mailing list