[Pkg-virtualbox-commits] [SCM] virtualbox Debian packaging branch, master, updated. debian/4.1.18-dfsg-1
Felix Geyer
debfx-pkg at fobos.de
Thu Jun 21 15:31:10 UTC 2012
The following commit has been merged in the master branch:
commit 0756cc5032c9b8bd61a7e1157989d1fe7d14b812
Author: Felix Geyer <debfx-pkg at fobos.de>
Date: Thu Jun 21 11:25:20 2012 +0200
Compress binary packages with xz.
diff --git a/debian/changelog b/debian/changelog
index 558c894..a5d2b77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ virtualbox (4.1.18-dfsg-1) UNRELEASED; urgency=low
- Fixes host freezes with 64-bit guests on 32-bit hosts. (LP: #1012627)
- Fixes odd permissions of files in shared folders. (LP: #1013368)
* Drop 37-fix-unregister-netdevice.patch, fixed upstream.
+ * Compress binary packages with xz.
-- Felix Geyer <debfx-pkg at fobos.de> Thu, 21 Jun 2012 10:58:59 +0200
diff --git a/debian/control b/debian/control
index 1d87845..c71a896 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends: bcc,
dkms (>= 2.1.1.1),
docbook-xml,
docbook-xsl,
+ dpkg-dev (>= 1.15.6~),
g++-multilib [amd64],
genisoimage,
gsoap,
@@ -69,6 +70,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-virtualbox/virtualbox.git
Package: virtualbox-qt
Architecture: amd64 i386
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${shlibs:Depends},
${misc:Depends},
virtualbox (= ${binary:Version})
@@ -86,6 +88,7 @@ Description: x86 virtualization solution - Qt based user interface
Package: virtualbox
Architecture: amd64 i386
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${shlibs:Depends},
${misc:Depends},
${python:Depends},
@@ -112,6 +115,7 @@ Package: virtualbox-dbg
Section: debug
Priority: extra
Architecture: amd64 i386
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${misc:Depends},
virtualbox (= ${binary:Version}) | virtualbox-guest-utils (= ${binary:Version})
Breaks: virtualbox-ose-dbg (<< 4.0.6-dfsg-1~)
@@ -126,6 +130,7 @@ Description: x86 virtualization solution - debugging symbols
Package: virtualbox-dkms
Section: kernel
Architecture: all
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${misc:Depends}, virtualbox (>= ${source:Version})
Breaks: virtualbox-ose-dkms (<< 4.0.6-dfsg-1~)
Replaces: virtualbox-ose-dkms (<< 4.0.6-dfsg-1~),
@@ -162,6 +167,7 @@ Description: x86 virtualization solution - kernel module source
Package: virtualbox-guest-dkms
Section: kernel
Architecture: all
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${misc:Depends},
virtualbox-guest-utils (>= ${source:Version})
Breaks: virtualbox-ose-guest-dkms (<< 4.0.6-dfsg-1~)
@@ -201,6 +207,7 @@ Description: x86 virtualization solution - guest addition module source
Package: virtualbox-guest-x11
Section: x11
Architecture: amd64 i386
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${shlibs:Depends},
${misc:Depends},
${xserver:Depends},
@@ -220,6 +227,7 @@ Description: x86 virtualization solution - X11 guest utilities
Package: virtualbox-guest-utils
Architecture: amd64 i386
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${shlibs:Depends},
${misc:Depends},
adduser,
@@ -240,6 +248,7 @@ Description: x86 virtualization solution - non-X11 guest utilities
Package: virtualbox-fuse
Architecture: amd64 i386
+Pre-Depends: dpkg (>= 1.15.6~)
Depends: ${shlibs:Depends},
${misc:Depends},
virtualbox (= ${binary:Version})
diff --git a/debian/rules b/debian/rules
index 413ba65..392330e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,8 @@ MAKE:=kmk
upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p')
+pkgs_xzcompress = $(shell dh_listpackages | grep -v -e ose -e source)
+
DIST_NAME := $(shell lsb_release -si)
DIST_RELEASE := $(DIST_NAME)/$(shell lsb_release -sc)
@@ -231,6 +233,10 @@ override_dh_shlibdeps:
override_dh_compress:
dh_compress -X.pdf
+override_dh_builddeb:
+ dh_builddeb $(foreach pkg,$(pkgs_xzcompress),-p$(pkg)) -- -Zxz
+ dh_builddeb --remaining-packages
+
override_dh_auto_clean:
dh_auto_clean
--
virtualbox Debian packaging
More information about the Pkg-virtualbox-commits
mailing list