summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications')
-rwxr-xr-xubuntu/maverick/applications/abakus/debian/rules3
-rw-r--r--ubuntu/maverick/applications/abakus/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/adept/debian/rules3
-rw-r--r--ubuntu/maverick/applications/adept/debian/source/options4
-rw-r--r--ubuntu/maverick/applications/amarok.cmake/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/amarok/debian/rules3
-rw-r--r--ubuntu/maverick/applications/amarok/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/basket/debian/rules5
-rw-r--r--ubuntu/maverick/applications/basket/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/bibletime/debian/rules3
-rw-r--r--ubuntu/maverick/applications/bibletime/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/compizconfig-backend-kconfig/debian/rules3
-rw-r--r--ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/desktop-effects-tde/debian/rules3
-rw-r--r--ubuntu/maverick/applications/desktop-effects-tde/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/digikam/debian/rules3
-rw-r--r--ubuntu/maverick/applications/digikam/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/dolphin/debian/rules3
-rw-r--r--ubuntu/maverick/applications/dolphin/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/filelight-l10n/debian/rules3
-rw-r--r--ubuntu/maverick/applications/filelight-l10n/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/filelight/debian/rules3
-rw-r--r--ubuntu/maverick/applications/filelight/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/fusion-icon/debian/rules3
-rw-r--r--ubuntu/maverick/applications/fusion-icon/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/gtk-qt-engine/debian/rules3
-rw-r--r--ubuntu/maverick/applications/gtk-qt-engine/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/gtk3-tqt-engine/debian/rules3
-rwxr-xr-xubuntu/maverick/applications/gwenview-i18n/debian/rules3
-rw-r--r--ubuntu/maverick/applications/gwenview-i18n/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/gwenview/debian/rules3
-rw-r--r--ubuntu/maverick/applications/gwenview/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/k3b-i18n/debian/rules5
-rw-r--r--ubuntu/maverick/applications/k3b-i18n/debian/source/options4
-rw-r--r--ubuntu/maverick/applications/k3b/debian/control2
-rwxr-xr-xubuntu/maverick/applications/k3b/debian/rules3
-rw-r--r--ubuntu/maverick/applications/k3b/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/k9copy/debian/rules3
-rw-r--r--ubuntu/maverick/applications/k9copy/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kaffeine-mozilla/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kaffeine-mozilla/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kaffeine/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kaffeine/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/katapult/debian/rules3
-rw-r--r--ubuntu/maverick/applications/katapult/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kbarcode/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kbarcode/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kbfx/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kbfx/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kbookreader/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kbookreader/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kchmviewer/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kchmviewer/debian/source/options4
-rwxr-xr-x[-rw-r--r--]ubuntu/maverick/applications/kcmautostart/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kcmldap/debian/changelog5
-rw-r--r--ubuntu/maverick/applications/kcmldap/debian/compat1
-rw-r--r--ubuntu/maverick/applications/kcmldap/debian/control13
-rw-r--r--ubuntu/maverick/applications/kcmldap/debian/copyright31
-rwxr-xr-xubuntu/maverick/applications/kcmldap/debian/rules27
-rw-r--r--ubuntu/maverick/applications/kcmldapcontroller/debian/changelog5
-rw-r--r--ubuntu/maverick/applications/kcmldapcontroller/debian/compat1
-rw-r--r--ubuntu/maverick/applications/kcmldapcontroller/debian/control12
-rw-r--r--ubuntu/maverick/applications/kcmldapcontroller/debian/copyright31
-rwxr-xr-xubuntu/maverick/applications/kcmldapcontroller/debian/rules27
-rw-r--r--ubuntu/maverick/applications/kcmldapmanager/debian/changelog5
-rw-r--r--ubuntu/maverick/applications/kcmldapmanager/debian/compat1
-rw-r--r--ubuntu/maverick/applications/kcmldapmanager/debian/control12
-rw-r--r--ubuntu/maverick/applications/kcmldapmanager/debian/copyright31
-rwxr-xr-xubuntu/maverick/applications/kcmldapmanager/debian/rules27
-rwxr-xr-xubuntu/maverick/applications/kcpuload/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kcpuload/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kdbusnotification/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kdbusnotification/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kdiff3/debian/rules7
-rw-r--r--ubuntu/maverick/applications/kdiff3/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kdirstat/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kdirstat/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kdpkg/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kdpkg/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/keep/debian/rules3
-rw-r--r--ubuntu/maverick/applications/keep/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kerberostray/debian/rules3
-rwxr-xr-xubuntu/maverick/applications/kerry/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kerry/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kgtk-qt3/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kgtk-qt3/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kile/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kile/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kima/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kima/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kio-apt/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kio-apt/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kio-locate/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kio-locate/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kio-umountwrapper/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kio-umountwrapper/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kiosktool/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kiosktool/debian/source/options4
-rw-r--r--ubuntu/maverick/applications/kmatplot/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kmplayer/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kmplayer/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kmyfirewall/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kmyfirewall/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kmymoney/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kmymoney/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knemo/debian/rules3
-rw-r--r--ubuntu/maverick/applications/knemo/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knetload/debian/rules5
-rw-r--r--ubuntu/maverick/applications/knetload/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knetstats/debian/rules3
-rw-r--r--ubuntu/maverick/applications/knetstats/debian/source/options4
-rw-r--r--ubuntu/maverick/applications/knetworkmanager.cmake/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knetworkmanager8/debian/rules3
-rw-r--r--ubuntu/maverick/applications/knetworkmanager8/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knetworkmanager9/debian/rules3
-rw-r--r--ubuntu/maverick/applications/knetworkmanager9/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knights/debian/rules5
-rw-r--r--ubuntu/maverick/applications/knights/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knowit/debian/rules5
-rw-r--r--ubuntu/maverick/applications/knowit/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/knutclient/debian/rules5
-rw-r--r--ubuntu/maverick/applications/knutclient/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/koffice-i18n/debian/rules5
-rw-r--r--ubuntu/maverick/applications/koffice-i18n/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/koffice/debian/rules3
-rw-r--r--ubuntu/maverick/applications/koffice/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/konversation/debian/rules3
-rw-r--r--ubuntu/maverick/applications/konversation/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kopete-otr/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kopete-otr/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kpicosim/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kpicosim/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kpilot/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kpilot/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kpowersave-nohal/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kpowersave-nohal/debian/source/options4
-rw-r--r--ubuntu/maverick/applications/kpowersave.cmake/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kpowersave/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kpowersave/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kradio/debian/rules5
-rw-r--r--ubuntu/maverick/applications/kradio/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/krename/debian/rules3
-rw-r--r--ubuntu/maverick/applications/krename/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/krusader/debian/rules3
-rw-r--r--ubuntu/maverick/applications/krusader/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/ksplash-engine-moodin/debian/rules5
-rw-r--r--ubuntu/maverick/applications/ksplash-engine-moodin/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/ksquirrel/debian/rules5
-rw-r--r--ubuntu/maverick/applications/ksquirrel/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kstreamripper/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kstreamripper/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/ksystemlog/debian/rules3
-rw-r--r--ubuntu/maverick/applications/ksystemlog/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/ktechlab/debian/rules5
-rw-r--r--ubuntu/maverick/applications/ktechlab/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/ktorrent/debian/rules3
-rw-r--r--ubuntu/maverick/applications/ktorrent/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kuickshow/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kuickshow/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kvirc/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kvirc/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kvkbd/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kvkbd/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/kvpnc/debian/rules3
-rw-r--r--ubuntu/maverick/applications/kvpnc/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/piklab/debian/rules5
-rw-r--r--ubuntu/maverick/applications/piklab/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/potracegui/debian/rules5
-rw-r--r--ubuntu/maverick/applications/potracegui/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules3
-rwxr-xr-xubuntu/maverick/applications/rosegarden/debian/rules5
-rw-r--r--ubuntu/maverick/applications/rosegarden/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/smartcardauth/debian/rules3
-rw-r--r--ubuntu/maverick/applications/smartcardauth/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/smb4k/debian/rules3
-rw-r--r--ubuntu/maverick/applications/smb4k/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/soundkonverter/debian/rules3
-rw-r--r--ubuntu/maverick/applications/soundkonverter/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tde-guidance/debian/rules3
-rw-r--r--ubuntu/maverick/applications/tde-guidance/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tde-style-lipstik/debian/rules5
-rw-r--r--ubuntu/maverick/applications/tde-style-lipstik/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tde-style-qtcurve/debian/rules3
-rw-r--r--ubuntu/maverick/applications/tde-style-qtcurve/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tde-systemsettings/debian/rules3
-rw-r--r--ubuntu/maverick/applications/tde-systemsettings/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tdesudo/debian/rules3
-rw-r--r--ubuntu/maverick/applications/tdesudo/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tdesvn/debian/rules3
-rw-r--r--ubuntu/maverick/applications/tdesvn/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tdmtheme/debian/rules3
-rw-r--r--ubuntu/maverick/applications/tdmtheme/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/tellico/debian/rules7
-rw-r--r--ubuntu/maverick/applications/tellico/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/twin-style-crystal/debian/rules3
-rw-r--r--ubuntu/maverick/applications/twin-style-crystal/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/wlassistant/debian/rules3
-rw-r--r--ubuntu/maverick/applications/wlassistant/debian/source/options4
-rwxr-xr-xubuntu/maverick/applications/yakuake/debian/rules3
-rw-r--r--ubuntu/maverick/applications/yakuake/debian/source/options4
200 files changed, 716 insertions, 211 deletions
diff --git a/ubuntu/maverick/applications/abakus/debian/rules b/ubuntu/maverick/applications/abakus/debian/rules
index d0a475105..c856f7cae 100755
--- a/ubuntu/maverick/applications/abakus/debian/rules
+++ b/ubuntu/maverick/applications/abakus/debian/rules
@@ -22,6 +22,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
diff --git a/ubuntu/maverick/applications/abakus/debian/source/options b/ubuntu/maverick/applications/abakus/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/abakus/debian/source/options
+++ b/ubuntu/maverick/applications/abakus/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/adept/debian/rules b/ubuntu/maverick/applications/adept/debian/rules
index ee86e8e4f..742307eb6 100755
--- a/ubuntu/maverick/applications/adept/debian/rules
+++ b/ubuntu/maverick/applications/adept/debian/rules
@@ -14,6 +14,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_MAKE_CHECK_TARGET := check
DEB_CONFIGURE_EXTRA_FLAGS += --enable-adept --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Enable us to locate the old libept-trinity library and includes
CPPFLAGS += -I/opt/trinity/include
LDFLAGS += -L/opt/trinity/lib -lept
diff --git a/ubuntu/maverick/applications/adept/debian/source/options b/ubuntu/maverick/applications/adept/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/adept/debian/source/options
+++ b/ubuntu/maverick/applications/adept/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/amarok.cmake/debian/source/options b/ubuntu/maverick/applications/amarok.cmake/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/amarok.cmake/debian/source/options
+++ b/ubuntu/maverick/applications/amarok.cmake/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/amarok/debian/rules b/ubuntu/maverick/applications/amarok/debian/rules
index deb43ebf7..77b0e3159 100755
--- a/ubuntu/maverick/applications/amarok/debian/rules
+++ b/ubuntu/maverick/applications/amarok/debian/rules
@@ -12,6 +12,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
### VARIABLES
# Exempt amarok engines from being handled as proper public libraries
# by dh_makeshlibs
diff --git a/ubuntu/maverick/applications/amarok/debian/source/options b/ubuntu/maverick/applications/amarok/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/amarok/debian/source/options
+++ b/ubuntu/maverick/applications/amarok/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/basket/debian/rules b/ubuntu/maverick/applications/basket/debian/rules
index 46b74ab7e..d3cf5255e 100755
--- a/ubuntu/maverick/applications/basket/debian/rules
+++ b/ubuntu/maverick/applications/basket/debian/rules
@@ -10,6 +10,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -101,7 +104,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/basket/debian/source/options b/ubuntu/maverick/applications/basket/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/basket/debian/source/options
+++ b/ubuntu/maverick/applications/basket/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/bibletime/debian/rules b/ubuntu/maverick/applications/bibletime/debian/rules
index ea4b62326..4106bf0f4 100755
--- a/ubuntu/maverick/applications/bibletime/debian/rules
+++ b/ubuntu/maverick/applications/bibletime/debian/rules
@@ -19,6 +19,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
binary-install/bibletime-trinity::
chmod 644 debian/bibletime-trinity/opt/trinity/share/apps/bibletime/pics/*
chmod 644 debian/bibletime-trinity/opt/trinity/share/apps/bibletime/bibletimeui.rc
diff --git a/ubuntu/maverick/applications/bibletime/debian/source/options b/ubuntu/maverick/applications/bibletime/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/bibletime/debian/source/options
+++ b/ubuntu/maverick/applications/bibletime/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/rules b/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/rules
index c5dd59ccb..85efaa2fa 100755
--- a/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/rules
+++ b/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/source/options b/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/source/options
+++ b/ubuntu/maverick/applications/compizconfig-backend-kconfig/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/desktop-effects-tde/debian/rules b/ubuntu/maverick/applications/desktop-effects-tde/debian/rules
index 7bf3e3306..d494616db 100755
--- a/ubuntu/maverick/applications/desktop-effects-tde/debian/rules
+++ b/ubuntu/maverick/applications/desktop-effects-tde/debian/rules
@@ -9,5 +9,8 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
binary-install/desktop-effects-tde-trinity::
dh_pycentral -pdesktop-effects-tde-trinity
diff --git a/ubuntu/maverick/applications/desktop-effects-tde/debian/source/options b/ubuntu/maverick/applications/desktop-effects-tde/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/desktop-effects-tde/debian/source/options
+++ b/ubuntu/maverick/applications/desktop-effects-tde/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/digikam/debian/rules b/ubuntu/maverick/applications/digikam/debian/rules
index 4edd6e763..76fa321bc 100755
--- a/ubuntu/maverick/applications/digikam/debian/rules
+++ b/ubuntu/maverick/applications/digikam/debian/rules
@@ -15,6 +15,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
TARBALL_EXT=tar.bz2
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3 --prefix=/opt/trinity --disable-static
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"
diff --git a/ubuntu/maverick/applications/digikam/debian/source/options b/ubuntu/maverick/applications/digikam/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/digikam/debian/source/options
+++ b/ubuntu/maverick/applications/digikam/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/dolphin/debian/rules b/ubuntu/maverick/applications/dolphin/debian/rules
index 1534d2f29..66ea98891 100755
--- a/ubuntu/maverick/applications/dolphin/debian/rules
+++ b/ubuntu/maverick/applications/dolphin/debian/rules
@@ -18,6 +18,9 @@ include debian/cdbs/debian-qt-kde.mk
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
binary-install/dolphin-trinity::
mkdir -p debian/dolphin-trinity/opt/trinity/bin
ln -s d3lphin debian/dolphin-trinity/opt/trinity/bin/dolphin
diff --git a/ubuntu/maverick/applications/dolphin/debian/source/options b/ubuntu/maverick/applications/dolphin/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/dolphin/debian/source/options
+++ b/ubuntu/maverick/applications/dolphin/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/filelight-l10n/debian/rules b/ubuntu/maverick/applications/filelight-l10n/debian/rules
index 9255102ce..84a2f4975 100755
--- a/ubuntu/maverick/applications/filelight-l10n/debian/rules
+++ b/ubuntu/maverick/applications/filelight-l10n/debian/rules
@@ -19,6 +19,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/usr/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/filelight-l10n/debian/source/options b/ubuntu/maverick/applications/filelight-l10n/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/filelight-l10n/debian/source/options
+++ b/ubuntu/maverick/applications/filelight-l10n/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/filelight/debian/rules b/ubuntu/maverick/applications/filelight/debian/rules
index 247e26b9d..efa61f0f7 100755
--- a/ubuntu/maverick/applications/filelight/debian/rules
+++ b/ubuntu/maverick/applications/filelight/debian/rules
@@ -20,6 +20,9 @@ DEB_DH_ALWAYS_EXCLUDE=.svn
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --disable-debug
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/filelight/debian/source/options b/ubuntu/maverick/applications/filelight/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/filelight/debian/source/options
+++ b/ubuntu/maverick/applications/filelight/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/fusion-icon/debian/rules b/ubuntu/maverick/applications/fusion-icon/debian/rules
index 5d3ed1e14..8c79610db 100755
--- a/ubuntu/maverick/applications/fusion-icon/debian/rules
+++ b/ubuntu/maverick/applications/fusion-icon/debian/rules
@@ -7,6 +7,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include debian/python-distutils-custom.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
binary-install/fusion-icon-trinity::
mkdir -p debian/fusion-icon-trinity/usr/local/lib
cp -Rp debian/fusion-icon-trinity/usr/local/* debian/fusion-icon-trinity/usr/
diff --git a/ubuntu/maverick/applications/fusion-icon/debian/source/options b/ubuntu/maverick/applications/fusion-icon/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/fusion-icon/debian/source/options
+++ b/ubuntu/maverick/applications/fusion-icon/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/gtk-qt-engine/debian/rules b/ubuntu/maverick/applications/gtk-qt-engine/debian/rules
index 20c8468ec..8c78b986c 100755
--- a/ubuntu/maverick/applications/gtk-qt-engine/debian/rules
+++ b/ubuntu/maverick/applications/gtk-qt-engine/debian/rules
@@ -27,6 +27,9 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
binary-install/gtk-qt-engine-trinity::
mkdir -p $(CURDIR)/debian/gtk-qt-engine-trinity/opt/trinity/share/kgtk/
cp -Rp $(CURDIR)/debian/.gtkrc-2.0-kde4 $(CURDIR)/debian/gtk-qt-engine-trinity/opt/trinity/share/kgtk/
diff --git a/ubuntu/maverick/applications/gtk-qt-engine/debian/source/options b/ubuntu/maverick/applications/gtk-qt-engine/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/gtk-qt-engine/debian/source/options
+++ b/ubuntu/maverick/applications/gtk-qt-engine/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules b/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules
index 242fb2c84..9bed17b05 100755
--- a/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules
+++ b/ubuntu/maverick/applications/gtk3-tqt-engine/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/gwenview-i18n/debian/rules b/ubuntu/maverick/applications/gwenview-i18n/debian/rules
index ef4e97ec1..3070a9c9d 100755
--- a/ubuntu/maverick/applications/gwenview-i18n/debian/rules
+++ b/ubuntu/maverick/applications/gwenview-i18n/debian/rules
@@ -9,6 +9,9 @@ include /usr/share/cdbs/1/rules/utils.mk
-include debian/debiandirs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_INSTALL_DOCS_ALL :=
DOC_LANGS = da de et fr it nl pl pt ru sv pt_BR
diff --git a/ubuntu/maverick/applications/gwenview-i18n/debian/source/options b/ubuntu/maverick/applications/gwenview-i18n/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/gwenview-i18n/debian/source/options
+++ b/ubuntu/maverick/applications/gwenview-i18n/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/gwenview/debian/rules b/ubuntu/maverick/applications/gwenview/debian/rules
index 447938cef..d6423c512 100755
--- a/ubuntu/maverick/applications/gwenview/debian/rules
+++ b/ubuntu/maverick/applications/gwenview/debian/rules
@@ -18,6 +18,9 @@ DEB_CONFIGURE_EXTRA_FLAGS := --enable-kipi --enable-final --prefix=/opt/trinity
DEB_INSTALL_DOCS_ALL :=
DEB_INSTALL_CHANGELOGS_ALL := NEWS
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_DH_MAKESHLIBS_ARGS_ALL := -V
DEB_SHLIBDEPS_INCLUDE = debian/gwenview-trinity/opt/trinity/lib
diff --git a/ubuntu/maverick/applications/gwenview/debian/source/options b/ubuntu/maverick/applications/gwenview/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/gwenview/debian/source/options
+++ b/ubuntu/maverick/applications/gwenview/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/k3b-i18n/debian/rules b/ubuntu/maverick/applications/k3b-i18n/debian/rules
index 2048362b9..1e6d35926 100755
--- a/ubuntu/maverick/applications/k3b-i18n/debian/rules
+++ b/ubuntu/maverick/applications/k3b-i18n/debian/rules
@@ -15,6 +15,9 @@ DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -102,7 +105,7 @@ binary-indep: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb -- -Z bzip2
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
# Build architecture-dependent files here.
binary-arch: build install
diff --git a/ubuntu/maverick/applications/k3b-i18n/debian/source/options b/ubuntu/maverick/applications/k3b-i18n/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/k3b-i18n/debian/source/options
+++ b/ubuntu/maverick/applications/k3b-i18n/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/k3b/debian/control b/ubuntu/maverick/applications/k3b/debian/control
index 20733a1f0..d15a1e0fe 100644
--- a/ubuntu/maverick/applications/k3b/debian/control
+++ b/ubuntu/maverick/applications/k3b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Timothy Pearson <[email protected]>
XSBC-Original-Maintainer: Debian KDE Extras Team <[email protected]>
Uploaders: Francois Marier <[email protected]>, Fathi Boudra <[email protected]>
-Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), cdbs (>= 0.4.52ubuntu18), tdelibs4-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libhal-dev (>= 0.5.5.1), libhal-storage-dev (>= 0.5.5.1), libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmusicbrainz4-dev (>= 2.1.1-4.1), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
+Build-Depends: libdvdread4, libdvdread-dev, alsa, libasound2-dev, lame, libmp3lame-dev, debhelper (>= 6), cdbs (>= 0.4.52ubuntu18), tdelibs4-trinity-dev (>= 3.5.0), libflac++-dev (>= 1.1.2), flac, libdbus-tqt-1-dev, libhal-dev (>= 0.5.5.1), libhal-storage-dev (>= 0.5.5.1), libpopt-dev, libmpcdec-dev, libtag1-dev (>= 1.4-3), libmad0-dev, chrpath, libavformat-dev, libavcodec-dev, libvorbis-dev, automake, autoconf, libtool, libltdl-dev
Standards-Version: 3.8.4
Homepage: http://www.k3b.org
diff --git a/ubuntu/maverick/applications/k3b/debian/rules b/ubuntu/maverick/applications/k3b/debian/rules
index 3a19a0ec8..cc895cd83 100755
--- a/ubuntu/maverick/applications/k3b/debian/rules
+++ b/ubuntu/maverick/applications/k3b/debian/rules
@@ -17,6 +17,9 @@ DEB_INSTALL_MANPAGES_k3b = debian/k3b.1
DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp/
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/k3b/debian/source/options b/ubuntu/maverick/applications/k3b/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/k3b/debian/source/options
+++ b/ubuntu/maverick/applications/k3b/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/k9copy/debian/rules b/ubuntu/maverick/applications/k9copy/debian/rules
index 0887c2d07..5f97b6de2 100755
--- a/ubuntu/maverick/applications/k9copy/debian/rules
+++ b/ubuntu/maverick/applications/k9copy/debian/rules
@@ -15,6 +15,9 @@ DEB_INSTALL_MANPAGES_k9copy = k9copy-trinity.1
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --includedir="/opt/trinity/include/tde" --mandir="/opt/trinity/share/man" --infodir="/opt/trinity/share/info"
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/k9copy/debian/source/options b/ubuntu/maverick/applications/k9copy/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/k9copy/debian/source/options
+++ b/ubuntu/maverick/applications/k9copy/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules b/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules
index 80fe9807b..c04c761e2 100755
--- a/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules
+++ b/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules
@@ -14,6 +14,9 @@ export DH_OPTIONS
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
@@ -177,7 +180,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kaffeine-mozilla/debian/source/options b/ubuntu/maverick/applications/kaffeine-mozilla/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kaffeine-mozilla/debian/source/options
+++ b/ubuntu/maverick/applications/kaffeine-mozilla/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kaffeine/debian/rules b/ubuntu/maverick/applications/kaffeine/debian/rules
index 7791988e7..9021f8fb0 100755
--- a/ubuntu/maverick/applications/kaffeine/debian/rules
+++ b/ubuntu/maverick/applications/kaffeine/debian/rules
@@ -17,6 +17,9 @@ DEB_INSTALL_MANPAGES_kaffeine-trinity := debian/kaffeine.1
DEB_FIXPERMS_EXCLUDE := install-css.sh install-codecs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kaffeine/debian/source/options b/ubuntu/maverick/applications/kaffeine/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kaffeine/debian/source/options
+++ b/ubuntu/maverick/applications/kaffeine/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/katapult/debian/rules b/ubuntu/maverick/applications/katapult/debian/rules
index 6340f855d..779671876 100755
--- a/ubuntu/maverick/applications/katapult/debian/rules
+++ b/ubuntu/maverick/applications/katapult/debian/rules
@@ -14,6 +14,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
export KUBUNTU_DESKTOP_POT=extragear-utils_katapult
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
cleanbuilddir/katapult-trinity::
rm -f katapult.1
diff --git a/ubuntu/maverick/applications/katapult/debian/source/options b/ubuntu/maverick/applications/katapult/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/katapult/debian/source/options
+++ b/ubuntu/maverick/applications/katapult/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kbarcode/debian/rules b/ubuntu/maverick/applications/kbarcode/debian/rules
index b8267f39c..cdbae3c90 100755
--- a/ubuntu/maverick/applications/kbarcode/debian/rules
+++ b/ubuntu/maverick/applications/kbarcode/debian/rules
@@ -16,6 +16,9 @@ DEB_INSTALL_MANPAGES_kbarcode-trinity := debian/kbarcode.1
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kbarcode/debian/source/options b/ubuntu/maverick/applications/kbarcode/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kbarcode/debian/source/options
+++ b/ubuntu/maverick/applications/kbarcode/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kbfx/debian/rules b/ubuntu/maverick/applications/kbfx/debian/rules
index 2bffe9b78..97b64d997 100755
--- a/ubuntu/maverick/applications/kbfx/debian/rules
+++ b/ubuntu/maverick/applications/kbfx/debian/rules
@@ -24,6 +24,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CMAKE_EXTRA_FLAGS = -DLIB_SUFFIX="" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DCMAKE_INSTALL_PREFIX="/opt/trinity/" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
get-orig-source:
@@dh_testdir
@@[ -d ../tarballs/. ]
@@ -74,6 +77,6 @@ binary-arch: build
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
diff --git a/ubuntu/maverick/applications/kbfx/debian/source/options b/ubuntu/maverick/applications/kbfx/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kbfx/debian/source/options
+++ b/ubuntu/maverick/applications/kbfx/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kbookreader/debian/rules b/ubuntu/maverick/applications/kbookreader/debian/rules
index 6f4a82d1b..53794c4fe 100755
--- a/ubuntu/maverick/applications/kbookreader/debian/rules
+++ b/ubuntu/maverick/applications/kbookreader/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --includedir="/opt/trinity/include/tde" --mandir="/opt/trinity/share/man" --infodir="/opt/trinity/share/info"
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kbookreader/debian/source/options b/ubuntu/maverick/applications/kbookreader/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kbookreader/debian/source/options
+++ b/ubuntu/maverick/applications/kbookreader/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/rules b/ubuntu/maverick/applications/kchmviewer/debian/rules
index a496effa9..c22afc5a3 100755
--- a/ubuntu/maverick/applications/kchmviewer/debian/rules
+++ b/ubuntu/maverick/applications/kchmviewer/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -114,7 +117,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kchmviewer/debian/source/options b/ubuntu/maverick/applications/kchmviewer/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kchmviewer/debian/source/options
+++ b/ubuntu/maverick/applications/kchmviewer/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kcmautostart/debian/rules b/ubuntu/maverick/applications/kcmautostart/debian/rules
index 242fb2c84..9bed17b05 100644..100755
--- a/ubuntu/maverick/applications/kcmautostart/debian/rules
+++ b/ubuntu/maverick/applications/kcmautostart/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kcmldap/debian/changelog b/ubuntu/maverick/applications/kcmldap/debian/changelog
new file mode 100644
index 000000000..a47452e9c
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldap/debian/changelog
@@ -0,0 +1,5 @@
+kcontrol-ldapbonding-trinity (0.5-0ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <[email protected]> Thu, 02 July 2009 16:08:00 -0600
diff --git a/ubuntu/maverick/applications/kcmldap/debian/compat b/ubuntu/maverick/applications/kcmldap/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldap/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/maverick/applications/kcmldap/debian/control b/ubuntu/maverick/applications/kcmldap/debian/control
new file mode 100644
index 000000000..de711caf1
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldap/debian/control
@@ -0,0 +1,13 @@
+Source: kcontrol-ldapbonding-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+XSBC-Original-Maintainer: Raphaël Pinson <[email protected]>
+Build-Depends: debhelper (>= 5), cdbs, tdelibs4-trinity-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+
+Package: kcontrol-ldapbonding-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, heimdal-clients, libpam-krb5, libpam-ldap, nss-updatedb, libpam-ccreds
+Description: LDAP control module for the TDE control center
+ LDAP is a TDE control center module to manage TDE connections to LDAP realms.
diff --git a/ubuntu/maverick/applications/kcmldap/debian/copyright b/ubuntu/maverick/applications/kcmldap/debian/copyright
new file mode 100644
index 000000000..540709e87
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldap/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Timothy Pearson <[email protected]> on
+Thu, 17 May 2012 19:52:51 +0100.
+
+It was downloaded from http://www.trinitydesktop.org
+
+Upstream Author: Timothy Pearson <[email protected]>
+
+copyright (C) 2012 Timothy Pearson <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2012, Timothy Pearson <[email protected]> and
+is licensed under the GPL, see above.
+
diff --git a/ubuntu/maverick/applications/kcmldap/debian/rules b/ubuntu/maverick/applications/kcmldap/debian/rules
new file mode 100755
index 000000000..9bed17b05
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldap/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
diff --git a/ubuntu/maverick/applications/kcmldapcontroller/debian/changelog b/ubuntu/maverick/applications/kcmldapcontroller/debian/changelog
new file mode 100644
index 000000000..5ab6125c1
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapcontroller/debian/changelog
@@ -0,0 +1,5 @@
+kcontrol-ldap-controller-trinity (0.5-0ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <[email protected]> Thu, 02 July 2009 16:08:00 -0600
diff --git a/ubuntu/maverick/applications/kcmldapcontroller/debian/compat b/ubuntu/maverick/applications/kcmldapcontroller/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapcontroller/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/maverick/applications/kcmldapcontroller/debian/control b/ubuntu/maverick/applications/kcmldapcontroller/debian/control
new file mode 100644
index 000000000..7cbb384bc
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapcontroller/debian/control
@@ -0,0 +1,12 @@
+Source: kcontrol-ldap-controller-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Build-Depends: debhelper (>= 5), cdbs, tdelibs4-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+
+Package: kcontrol-ldap-controller-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, heimdal-clients, heimdal-kdc, slapd, libsasl2-modules-gssapi-heimdal, sasl2-bin, openssl
+Description: LDAP realm controller module for the TDE control center
+ LDAP Controller is a TDE control center module to configure an LDAP Realm Controller
diff --git a/ubuntu/maverick/applications/kcmldapcontroller/debian/copyright b/ubuntu/maverick/applications/kcmldapcontroller/debian/copyright
new file mode 100644
index 000000000..540709e87
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapcontroller/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Timothy Pearson <[email protected]> on
+Thu, 17 May 2012 19:52:51 +0100.
+
+It was downloaded from http://www.trinitydesktop.org
+
+Upstream Author: Timothy Pearson <[email protected]>
+
+copyright (C) 2012 Timothy Pearson <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2012, Timothy Pearson <[email protected]> and
+is licensed under the GPL, see above.
+
diff --git a/ubuntu/maverick/applications/kcmldapcontroller/debian/rules b/ubuntu/maverick/applications/kcmldapcontroller/debian/rules
new file mode 100755
index 000000000..9bed17b05
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapcontroller/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
diff --git a/ubuntu/maverick/applications/kcmldapmanager/debian/changelog b/ubuntu/maverick/applications/kcmldapmanager/debian/changelog
new file mode 100644
index 000000000..b73c248b8
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapmanager/debian/changelog
@@ -0,0 +1,5 @@
+kcontrol-ldap-manager-trinity (0.5-0ubuntu0) karmic; urgency=low
+
+ * Karmic rebuild
+
+ -- Timothy Pearson <[email protected]> Thu, 02 July 2009 16:08:00 -0600
diff --git a/ubuntu/maverick/applications/kcmldapmanager/debian/compat b/ubuntu/maverick/applications/kcmldapmanager/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapmanager/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/maverick/applications/kcmldapmanager/debian/control b/ubuntu/maverick/applications/kcmldapmanager/debian/control
new file mode 100644
index 000000000..b84e5e4c3
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapmanager/debian/control
@@ -0,0 +1,12 @@
+Source: kcontrol-ldap-manager-trinity
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Build-Depends: debhelper (>= 5), cdbs, tdelibs4-trinity-dev, libldap2-dev, libtdeldap-trinity-dev, automake, autoconf, libtool, libltdl-dev
+Standards-Version: 3.8.4
+
+Package: kcontrol-ldap-manager-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, heimdal-clients
+Description: LDAP realm management module for the TDE control center
+ LDAP Manager is a TDE control center module to manage users, groups, and machines in LDAP realms.
diff --git a/ubuntu/maverick/applications/kcmldapmanager/debian/copyright b/ubuntu/maverick/applications/kcmldapmanager/debian/copyright
new file mode 100644
index 000000000..540709e87
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapmanager/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Timothy Pearson <[email protected]> on
+Thu, 17 May 2012 19:52:51 +0100.
+
+It was downloaded from http://www.trinitydesktop.org
+
+Upstream Author: Timothy Pearson <[email protected]>
+
+copyright (C) 2012 Timothy Pearson <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2012, Timothy Pearson <[email protected]> and
+is licensed under the GPL, see above.
+
diff --git a/ubuntu/maverick/applications/kcmldapmanager/debian/rules b/ubuntu/maverick/applications/kcmldapmanager/debian/rules
new file mode 100755
index 000000000..9bed17b05
--- /dev/null
+++ b/ubuntu/maverick/applications/kcmldapmanager/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
+DEB_CONFIGURE_PREFIX := /opt/trinity
+DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+
+cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ make -f admin/Makefile.common cvs
+ touch debian/stamp-bootstrap
diff --git a/ubuntu/maverick/applications/kcpuload/debian/rules b/ubuntu/maverick/applications/kcpuload/debian/rules
index e13398f63..20eca167c 100755
--- a/ubuntu/maverick/applications/kcpuload/debian/rules
+++ b/ubuntu/maverick/applications/kcpuload/debian/rules
@@ -12,6 +12,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# This has to be exported to make some magic below work.
export DH_OPTIONS
@@ -184,7 +187,7 @@ binary-common:
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
# Build architecture independant packages using the common target.
binary-indep: build install
diff --git a/ubuntu/maverick/applications/kcpuload/debian/source/options b/ubuntu/maverick/applications/kcpuload/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kcpuload/debian/source/options
+++ b/ubuntu/maverick/applications/kcpuload/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kdbusnotification/debian/rules b/ubuntu/maverick/applications/kdbusnotification/debian/rules
index 2acd9ab0f..94d0ad5bd 100755
--- a/ubuntu/maverick/applications/kdbusnotification/debian/rules
+++ b/ubuntu/maverick/applications/kdbusnotification/debian/rules
@@ -12,6 +12,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# This has to be exported to make some magic below work.
export DH_OPTIONS
@@ -173,7 +176,7 @@ binary-common:
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
# Build architecture independant packages using the common target.
binary-indep: build install
diff --git a/ubuntu/maverick/applications/kdbusnotification/debian/source/options b/ubuntu/maverick/applications/kdbusnotification/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kdbusnotification/debian/source/options
+++ b/ubuntu/maverick/applications/kdbusnotification/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kdiff3/debian/rules b/ubuntu/maverick/applications/kdiff3/debian/rules
index bc64fcc06..19ea44a07 100755
--- a/ubuntu/maverick/applications/kdiff3/debian/rules
+++ b/ubuntu/maverick/applications/kdiff3/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -97,7 +100,7 @@ binary-indep: build install
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
- dh_builddeb -i
+ dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS)
# Build architecture-dependent files here.
binary-arch: build install
@@ -118,7 +121,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kdiff3/debian/source/options b/ubuntu/maverick/applications/kdiff3/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kdiff3/debian/source/options
+++ b/ubuntu/maverick/applications/kdiff3/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kdirstat/debian/rules b/ubuntu/maverick/applications/kdirstat/debian/rules
index b15f5a9a5..8c0a950a3 100755
--- a/ubuntu/maverick/applications/kdirstat/debian/rules
+++ b/ubuntu/maverick/applications/kdirstat/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
LDFLAGS += -Wl,--as-needed
post-patches:: debian/stamp-bootstrap
diff --git a/ubuntu/maverick/applications/kdirstat/debian/source/options b/ubuntu/maverick/applications/kdirstat/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kdirstat/debian/source/options
+++ b/ubuntu/maverick/applications/kdirstat/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kdpkg/debian/rules b/ubuntu/maverick/applications/kdpkg/debian/rules
index ff163f6a7..455414f69 100755
--- a/ubuntu/maverick/applications/kdpkg/debian/rules
+++ b/ubuntu/maverick/applications/kdpkg/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kdpkg/debian/source/options b/ubuntu/maverick/applications/kdpkg/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kdpkg/debian/source/options
+++ b/ubuntu/maverick/applications/kdpkg/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/keep/debian/rules b/ubuntu/maverick/applications/keep/debian/rules
index b6eae04ee..1b5054df6 100755
--- a/ubuntu/maverick/applications/keep/debian/rules
+++ b/ubuntu/maverick/applications/keep/debian/rules
@@ -16,6 +16,9 @@ DEB_INSTALL_MANPAGES_keep := keep.1
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/keep/debian/source/options b/ubuntu/maverick/applications/keep/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/keep/debian/source/options
+++ b/ubuntu/maverick/applications/keep/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kerberostray/debian/rules b/ubuntu/maverick/applications/kerberostray/debian/rules
index 242fb2c84..9bed17b05 100755
--- a/ubuntu/maverick/applications/kerberostray/debian/rules
+++ b/ubuntu/maverick/applications/kerberostray/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kerry/debian/rules b/ubuntu/maverick/applications/kerry/debian/rules
index 7dc0fbe23..dea466c17 100755
--- a/ubuntu/maverick/applications/kerry/debian/rules
+++ b/ubuntu/maverick/applications/kerry/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
DEB_INSTALL_MANPAGES_kerry-trinity = kerry.1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
build/kerry-trinity::
docbook2x-man debian/kerry.1.docbook
diff --git a/ubuntu/maverick/applications/kerry/debian/source/options b/ubuntu/maverick/applications/kerry/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kerry/debian/source/options
+++ b/ubuntu/maverick/applications/kerry/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kgtk-qt3/debian/rules b/ubuntu/maverick/applications/kgtk-qt3/debian/rules
index 15ab99eb2..b4cb7a953 100755
--- a/ubuntu/maverick/applications/kgtk-qt3/debian/rules
+++ b/ubuntu/maverick/applications/kgtk-qt3/debian/rules
@@ -22,6 +22,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
diff --git a/ubuntu/maverick/applications/kgtk-qt3/debian/source/options b/ubuntu/maverick/applications/kgtk-qt3/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kgtk-qt3/debian/source/options
+++ b/ubuntu/maverick/applications/kgtk-qt3/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kile/debian/rules b/ubuntu/maverick/applications/kile/debian/rules
index 3e19a08ea..d7f547296 100755
--- a/ubuntu/maverick/applications/kile/debian/rules
+++ b/ubuntu/maverick/applications/kile/debian/rules
@@ -17,6 +17,9 @@ DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp
DEB_INSTALL_MANPAGES_kile := debian/kile.1
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kile/debian/source/options b/ubuntu/maverick/applications/kile/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kile/debian/source/options
+++ b/ubuntu/maverick/applications/kile/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kima/debian/rules b/ubuntu/maverick/applications/kima/debian/rules
index 519575104..45e052b96 100755
--- a/ubuntu/maverick/applications/kima/debian/rules
+++ b/ubuntu/maverick/applications/kima/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Add here any variable or target overrides you need.
post-patches:: debian/stamp-bootstrap
diff --git a/ubuntu/maverick/applications/kima/debian/source/options b/ubuntu/maverick/applications/kima/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kima/debian/source/options
+++ b/ubuntu/maverick/applications/kima/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kio-apt/debian/rules b/ubuntu/maverick/applications/kio-apt/debian/rules
index 9b82c21ad..93f63f8ee 100755
--- a/ubuntu/maverick/applications/kio-apt/debian/rules
+++ b/ubuntu/maverick/applications/kio-apt/debian/rules
@@ -14,6 +14,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kio-apt/debian/source/options b/ubuntu/maverick/applications/kio-apt/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kio-apt/debian/source/options
+++ b/ubuntu/maverick/applications/kio-apt/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kio-locate/debian/rules b/ubuntu/maverick/applications/kio-locate/debian/rules
index 7a837110e..ecf59da08 100755
--- a/ubuntu/maverick/applications/kio-locate/debian/rules
+++ b/ubuntu/maverick/applications/kio-locate/debian/rules
@@ -22,6 +22,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
diff --git a/ubuntu/maverick/applications/kio-locate/debian/source/options b/ubuntu/maverick/applications/kio-locate/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kio-locate/debian/source/options
+++ b/ubuntu/maverick/applications/kio-locate/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kio-umountwrapper/debian/rules b/ubuntu/maverick/applications/kio-umountwrapper/debian/rules
index ae8903f41..6672eae5b 100755
--- a/ubuntu/maverick/applications/kio-umountwrapper/debian/rules
+++ b/ubuntu/maverick/applications/kio-umountwrapper/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kio-umountwrapper/debian/source/options b/ubuntu/maverick/applications/kio-umountwrapper/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kio-umountwrapper/debian/source/options
+++ b/ubuntu/maverick/applications/kio-umountwrapper/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kiosktool/debian/rules b/ubuntu/maverick/applications/kiosktool/debian/rules
index 4e38353a1..507e5a458 100755
--- a/ubuntu/maverick/applications/kiosktool/debian/rules
+++ b/ubuntu/maverick/applications/kiosktool/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kiosktool/debian/source/options b/ubuntu/maverick/applications/kiosktool/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kiosktool/debian/source/options
+++ b/ubuntu/maverick/applications/kiosktool/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kmatplot/debian/source/options b/ubuntu/maverick/applications/kmatplot/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kmatplot/debian/source/options
+++ b/ubuntu/maverick/applications/kmatplot/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kmplayer/debian/rules b/ubuntu/maverick/applications/kmplayer/debian/rules
index 63bf848d1..166ca76e2 100755
--- a/ubuntu/maverick/applications/kmplayer/debian/rules
+++ b/ubuntu/maverick/applications/kmplayer/debian/rules
@@ -22,6 +22,9 @@ DEB_CONFIGURE_EXTRA_FLAGS := --enable-maintainer-mode --prefix=/opt/trinity --wi
DEB_DH_INSTALL_ARGS = --sourcedir=debian/tmp
DEB_INSTALL_MANPAGES_kmplayer = kmplayer.1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kmplayer/debian/source/options b/ubuntu/maverick/applications/kmplayer/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kmplayer/debian/source/options
+++ b/ubuntu/maverick/applications/kmplayer/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kmyfirewall/debian/rules b/ubuntu/maverick/applications/kmyfirewall/debian/rules
index 8fa664c8a..28035c796 100755
--- a/ubuntu/maverick/applications/kmyfirewall/debian/rules
+++ b/ubuntu/maverick/applications/kmyfirewall/debian/rules
@@ -13,6 +13,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -126,7 +129,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kmyfirewall/debian/source/options b/ubuntu/maverick/applications/kmyfirewall/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kmyfirewall/debian/source/options
+++ b/ubuntu/maverick/applications/kmyfirewall/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kmymoney/debian/rules b/ubuntu/maverick/applications/kmymoney/debian/rules
index 192c6019c..4c3b55cb4 100755
--- a/ubuntu/maverick/applications/kmymoney/debian/rules
+++ b/ubuntu/maverick/applications/kmymoney/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde --disable-sqlite3 --disable-pdf-docs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
LDFLAGS += -Wl,--as-needed
post-patches:: debian/stamp-bootstrap
diff --git a/ubuntu/maverick/applications/kmymoney/debian/source/options b/ubuntu/maverick/applications/kmymoney/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kmymoney/debian/source/options
+++ b/ubuntu/maverick/applications/kmymoney/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knemo/debian/rules b/ubuntu/maverick/applications/knemo/debian/rules
index fd71fe17f..4fb03f005 100755
--- a/ubuntu/maverick/applications/knemo/debian/rules
+++ b/ubuntu/maverick/applications/knemo/debian/rules
@@ -15,6 +15,9 @@ DEB_INSTALL_DOCS_knemo = -XNEWS
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/knemo/debian/source/options b/ubuntu/maverick/applications/knemo/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knemo/debian/source/options
+++ b/ubuntu/maverick/applications/knemo/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knetload/debian/rules b/ubuntu/maverick/applications/knetload/debian/rules
index f5784f7ae..d955fbe4a 100755
--- a/ubuntu/maverick/applications/knetload/debian/rules
+++ b/ubuntu/maverick/applications/knetload/debian/rules
@@ -9,6 +9,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -178,7 +181,7 @@ binary-common:
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
# Build architecture independant packages using the common target.
binary-indep: build install
diff --git a/ubuntu/maverick/applications/knetload/debian/source/options b/ubuntu/maverick/applications/knetload/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knetload/debian/source/options
+++ b/ubuntu/maverick/applications/knetload/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knetstats/debian/rules b/ubuntu/maverick/applications/knetstats/debian/rules
index 7b1522933..1a573fb20 100755
--- a/ubuntu/maverick/applications/knetstats/debian/rules
+++ b/ubuntu/maverick/applications/knetstats/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_INSTALL_MANPAGES_knetstats-trinity = knetstats.1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/knetstats/debian/source/options b/ubuntu/maverick/applications/knetstats/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knetstats/debian/source/options
+++ b/ubuntu/maverick/applications/knetstats/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/source/options b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/source/options
+++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knetworkmanager8/debian/rules b/ubuntu/maverick/applications/knetworkmanager8/debian/rules
index a4ba9688c..9c7e598e1 100755
--- a/ubuntu/maverick/applications/knetworkmanager8/debian/rules
+++ b/ubuntu/maverick/applications/knetworkmanager8/debian/rules
@@ -15,6 +15,9 @@ DEB_INSTALL_DOCS_ALL := -XNEWS -XTODO
DEB_CONFIGURE_EXTRA_FLAGS := --with-openvpn --with-vpnc --with-pptp
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/knetworkmanager8/debian/source/options b/ubuntu/maverick/applications/knetworkmanager8/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knetworkmanager8/debian/source/options
+++ b/ubuntu/maverick/applications/knetworkmanager8/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knetworkmanager9/debian/rules b/ubuntu/maverick/applications/knetworkmanager9/debian/rules
index c9fa2b866..00ac9877f 100755
--- a/ubuntu/maverick/applications/knetworkmanager9/debian/rules
+++ b/ubuntu/maverick/applications/knetworkmanager9/debian/rules
@@ -20,6 +20,9 @@ DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -
DEB_INSTALL_DOCS_ALL := -XNEWS -XTODO
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
binary-install/network-manager-kde-trinity::
# Install autostart file
install -D -m 644 tdenetworkmanager-0.8/src/tdenetworkmanager.desktop \
diff --git a/ubuntu/maverick/applications/knetworkmanager9/debian/source/options b/ubuntu/maverick/applications/knetworkmanager9/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knetworkmanager9/debian/source/options
+++ b/ubuntu/maverick/applications/knetworkmanager9/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knights/debian/rules b/ubuntu/maverick/applications/knights/debian/rules
index ab81cb6e3..f4f406c79 100755
--- a/ubuntu/maverick/applications/knights/debian/rules
+++ b/ubuntu/maverick/applications/knights/debian/rules
@@ -13,6 +13,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -107,7 +110,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/knights/debian/source/options b/ubuntu/maverick/applications/knights/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knights/debian/source/options
+++ b/ubuntu/maverick/applications/knights/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knowit/debian/rules b/ubuntu/maverick/applications/knowit/debian/rules
index 3ed456df4..0a090fdb6 100755
--- a/ubuntu/maverick/applications/knowit/debian/rules
+++ b/ubuntu/maverick/applications/knowit/debian/rules
@@ -14,6 +14,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -95,7 +98,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/knowit/debian/source/options b/ubuntu/maverick/applications/knowit/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knowit/debian/source/options
+++ b/ubuntu/maverick/applications/knowit/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/knutclient/debian/rules b/ubuntu/maverick/applications/knutclient/debian/rules
index ad89a9108..0d07992cf 100755
--- a/ubuntu/maverick/applications/knutclient/debian/rules
+++ b/ubuntu/maverick/applications/knutclient/debian/rules
@@ -18,6 +18,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -127,7 +130,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/knutclient/debian/source/options b/ubuntu/maverick/applications/knutclient/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/knutclient/debian/source/options
+++ b/ubuntu/maverick/applications/knutclient/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/koffice-i18n/debian/rules b/ubuntu/maverick/applications/koffice-i18n/debian/rules
index 9bb59484f..478c97b9d 100755
--- a/ubuntu/maverick/applications/koffice-i18n/debian/rules
+++ b/ubuntu/maverick/applications/koffice-i18n/debian/rules
@@ -3,6 +3,9 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
languages = `ls -1d *i18n*`
build-stamp:
@@ -81,7 +84,7 @@ binary-indep: build
dh_installdeb
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep
diff --git a/ubuntu/maverick/applications/koffice-i18n/debian/source/options b/ubuntu/maverick/applications/koffice-i18n/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/koffice-i18n/debian/source/options
+++ b/ubuntu/maverick/applications/koffice-i18n/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/koffice/debian/rules b/ubuntu/maverick/applications/koffice/debian/rules
index b166e12e4..ed91a11c3 100755
--- a/ubuntu/maverick/applications/koffice/debian/rules
+++ b/ubuntu/maverick/applications/koffice/debian/rules
@@ -17,6 +17,9 @@ DEB_KDE_APIDOX := no
DEB_DH_STRIP_ARGS := --dbg-package=koffice-trinity-dbg
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
PACKAGES_WITH_LIBS := karbon-trinity kchart-trinity kivio-trinity koffice-libs-trinity chalk-trinity kspread-trinity kugar-trinity kthesaurus-trinity
DEB_INSTALL_CHANGELOGS_karbon-trinity := karbon/CHANGES
diff --git a/ubuntu/maverick/applications/koffice/debian/source/options b/ubuntu/maverick/applications/koffice/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/koffice/debian/source/options
+++ b/ubuntu/maverick/applications/koffice/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/konversation/debian/rules b/ubuntu/maverick/applications/konversation/debian/rules
index 359d5f809..0e973a150 100755
--- a/ubuntu/maverick/applications/konversation/debian/rules
+++ b/ubuntu/maverick/applications/konversation/debian/rules
@@ -15,6 +15,9 @@ DEB_DH_STRIP_ARGS := --dbg-package=konversation-trinity-dbg
DEB_INSTALL_DOCS_ALL =
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/konversation/debian/source/options b/ubuntu/maverick/applications/konversation/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/konversation/debian/source/options
+++ b/ubuntu/maverick/applications/konversation/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kopete-otr/debian/rules b/ubuntu/maverick/applications/kopete-otr/debian/rules
index abfd36cfc..4edf9d96d 100755
--- a/ubuntu/maverick/applications/kopete-otr/debian/rules
+++ b/ubuntu/maverick/applications/kopete-otr/debian/rules
@@ -12,6 +12,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kopete-otr/debian/source/options b/ubuntu/maverick/applications/kopete-otr/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kopete-otr/debian/source/options
+++ b/ubuntu/maverick/applications/kopete-otr/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kpicosim/debian/rules b/ubuntu/maverick/applications/kpicosim/debian/rules
index 4a8c9dcdd..0a03f424b 100755
--- a/ubuntu/maverick/applications/kpicosim/debian/rules
+++ b/ubuntu/maverick/applications/kpicosim/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -123,7 +126,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kpicosim/debian/source/options b/ubuntu/maverick/applications/kpicosim/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kpicosim/debian/source/options
+++ b/ubuntu/maverick/applications/kpicosim/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kpilot/debian/rules b/ubuntu/maverick/applications/kpilot/debian/rules
index abfd36cfc..4edf9d96d 100755
--- a/ubuntu/maverick/applications/kpilot/debian/rules
+++ b/ubuntu/maverick/applications/kpilot/debian/rules
@@ -12,6 +12,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kpilot/debian/source/options b/ubuntu/maverick/applications/kpilot/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kpilot/debian/source/options
+++ b/ubuntu/maverick/applications/kpilot/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kpowersave-nohal/debian/rules b/ubuntu/maverick/applications/kpowersave-nohal/debian/rules
index a2f0e66bb..262171bc3 100755
--- a/ubuntu/maverick/applications/kpowersave-nohal/debian/rules
+++ b/ubuntu/maverick/applications/kpowersave-nohal/debian/rules
@@ -14,6 +14,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_INSTALL_DOCS_ALL := AUTHORS NEWS
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kpowersave-nohal/debian/source/options b/ubuntu/maverick/applications/kpowersave-nohal/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kpowersave-nohal/debian/source/options
+++ b/ubuntu/maverick/applications/kpowersave-nohal/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kpowersave.cmake/debian/source/options b/ubuntu/maverick/applications/kpowersave.cmake/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kpowersave.cmake/debian/source/options
+++ b/ubuntu/maverick/applications/kpowersave.cmake/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kpowersave/debian/rules b/ubuntu/maverick/applications/kpowersave/debian/rules
index 991d42479..961465395 100755
--- a/ubuntu/maverick/applications/kpowersave/debian/rules
+++ b/ubuntu/maverick/applications/kpowersave/debian/rules
@@ -14,6 +14,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_INSTALL_DOCS_ALL := AUTHORS NEWS
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kpowersave/debian/source/options b/ubuntu/maverick/applications/kpowersave/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kpowersave/debian/source/options
+++ b/ubuntu/maverick/applications/kpowersave/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kradio/debian/rules b/ubuntu/maverick/applications/kradio/debian/rules
index d8c6c0226..41840eb6e 100755
--- a/ubuntu/maverick/applications/kradio/debian/rules
+++ b/ubuntu/maverick/applications/kradio/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -121,7 +124,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/kradio/debian/source/options b/ubuntu/maverick/applications/kradio/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kradio/debian/source/options
+++ b/ubuntu/maverick/applications/kradio/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/krename/debian/rules b/ubuntu/maverick/applications/krename/debian/rules
index f886eacd0..4983ad699 100755
--- a/ubuntu/maverick/applications/krename/debian/rules
+++ b/ubuntu/maverick/applications/krename/debian/rules
@@ -15,6 +15,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
### Libtool and Automake updates
post-patches:: debian/stamp-autothings-update
debian/stamp-autothings-update:
diff --git a/ubuntu/maverick/applications/krename/debian/source/options b/ubuntu/maverick/applications/krename/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/krename/debian/source/options
+++ b/ubuntu/maverick/applications/krename/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/krusader/debian/rules b/ubuntu/maverick/applications/krusader/debian/rules
index 139132dbb..b19073807 100755
--- a/ubuntu/maverick/applications/krusader/debian/rules
+++ b/ubuntu/maverick/applications/krusader/debian/rules
@@ -18,6 +18,9 @@ DEB_DESTDIR = $(CURDIR)/debian/krusader-trinity/
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/krusader/debian/source/options b/ubuntu/maverick/applications/krusader/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/krusader/debian/source/options
+++ b/ubuntu/maverick/applications/krusader/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/ksplash-engine-moodin/debian/rules b/ubuntu/maverick/applications/ksplash-engine-moodin/debian/rules
index 047b8ca76..c41d87b76 100755
--- a/ubuntu/maverick/applications/ksplash-engine-moodin/debian/rules
+++ b/ubuntu/maverick/applications/ksplash-engine-moodin/debian/rules
@@ -11,6 +11,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -132,7 +135,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/ksplash-engine-moodin/debian/source/options b/ubuntu/maverick/applications/ksplash-engine-moodin/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/ksplash-engine-moodin/debian/source/options
+++ b/ubuntu/maverick/applications/ksplash-engine-moodin/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/ksquirrel/debian/rules b/ubuntu/maverick/applications/ksquirrel/debian/rules
index 744a8d1e5..f59e43351 100755
--- a/ubuntu/maverick/applications/ksquirrel/debian/rules
+++ b/ubuntu/maverick/applications/ksquirrel/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -106,7 +109,7 @@ binary-arch: build install
# dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/ksquirrel/debian/source/options b/ubuntu/maverick/applications/ksquirrel/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/ksquirrel/debian/source/options
+++ b/ubuntu/maverick/applications/ksquirrel/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kstreamripper/debian/rules b/ubuntu/maverick/applications/kstreamripper/debian/rules
index 9f641b49a..88540f9bf 100755
--- a/ubuntu/maverick/applications/kstreamripper/debian/rules
+++ b/ubuntu/maverick/applications/kstreamripper/debian/rules
@@ -2,6 +2,9 @@
include /usr/share/cdbs/1/rules/debhelper.mk
#DEB_INSTALL_MANPAGES_kstreamripper-trinity:=debian/kstreamripper.1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
PATH := /opt/trinity/bin:$(PATH)
build/kstreamripper-trinity::
diff --git a/ubuntu/maverick/applications/kstreamripper/debian/source/options b/ubuntu/maverick/applications/kstreamripper/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kstreamripper/debian/source/options
+++ b/ubuntu/maverick/applications/kstreamripper/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/ksystemlog/debian/rules b/ubuntu/maverick/applications/ksystemlog/debian/rules
index 12d493659..5b9d63684 100755
--- a/ubuntu/maverick/applications/ksystemlog/debian/rules
+++ b/ubuntu/maverick/applications/ksystemlog/debian/rules
@@ -15,6 +15,9 @@ DEB_INSTALL_MANPAGES_ksystemlog-trinity := ksystemlog.1
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/ksystemlog/debian/source/options b/ubuntu/maverick/applications/ksystemlog/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/ksystemlog/debian/source/options
+++ b/ubuntu/maverick/applications/ksystemlog/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/ktechlab/debian/rules b/ubuntu/maverick/applications/ktechlab/debian/rules
index 15d1878df..227674f7f 100755
--- a/ubuntu/maverick/applications/ktechlab/debian/rules
+++ b/ubuntu/maverick/applications/ktechlab/debian/rules
@@ -12,6 +12,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -108,7 +111,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install unpatch
diff --git a/ubuntu/maverick/applications/ktechlab/debian/source/options b/ubuntu/maverick/applications/ktechlab/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/ktechlab/debian/source/options
+++ b/ubuntu/maverick/applications/ktechlab/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/ktorrent/debian/rules b/ubuntu/maverick/applications/ktorrent/debian/rules
index 5590816c2..d0046eb44 100755
--- a/ubuntu/maverick/applications/ktorrent/debian/rules
+++ b/ubuntu/maverick/applications/ktorrent/debian/rules
@@ -15,6 +15,9 @@ DEB_INSTALL_MANPAGES_ktorrent = ktorrent.1
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
build/ktorrent-trinity::
docbook2x-man debian/ktorrent.1.docbook
diff --git a/ubuntu/maverick/applications/ktorrent/debian/source/options b/ubuntu/maverick/applications/ktorrent/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/ktorrent/debian/source/options
+++ b/ubuntu/maverick/applications/ktorrent/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kuickshow/debian/rules b/ubuntu/maverick/applications/kuickshow/debian/rules
index ee4456494..46fe966da 100755
--- a/ubuntu/maverick/applications/kuickshow/debian/rules
+++ b/ubuntu/maverick/applications/kuickshow/debian/rules
@@ -14,6 +14,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/kuickshow/debian/source/options b/ubuntu/maverick/applications/kuickshow/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kuickshow/debian/source/options
+++ b/ubuntu/maverick/applications/kuickshow/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kvirc/debian/rules b/ubuntu/maverick/applications/kvirc/debian/rules
index 665c61d25..fd45d5925 100755
--- a/ubuntu/maverick/applications/kvirc/debian/rules
+++ b/ubuntu/maverick/applications/kvirc/debian/rules
@@ -49,6 +49,9 @@ endif
#
DEB_COMPRESS_EXCLUDE := .kvs
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
#
# Run dh_shlibdeps with the correct options
#
diff --git a/ubuntu/maverick/applications/kvirc/debian/source/options b/ubuntu/maverick/applications/kvirc/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kvirc/debian/source/options
+++ b/ubuntu/maverick/applications/kvirc/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kvkbd/debian/rules b/ubuntu/maverick/applications/kvkbd/debian/rules
index 305c1e4df..0f564108e 100755
--- a/ubuntu/maverick/applications/kvkbd/debian/rules
+++ b/ubuntu/maverick/applications/kvkbd/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
makebuilddir/kvkbd-trinity::
make -f Makefile.cvs
diff --git a/ubuntu/maverick/applications/kvkbd/debian/source/options b/ubuntu/maverick/applications/kvkbd/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kvkbd/debian/source/options
+++ b/ubuntu/maverick/applications/kvkbd/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/kvpnc/debian/rules b/ubuntu/maverick/applications/kvpnc/debian/rules
index 354c23311..f93ccb291 100755
--- a/ubuntu/maverick/applications/kvpnc/debian/rules
+++ b/ubuntu/maverick/applications/kvpnc/debian/rules
@@ -17,6 +17,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
makebuilddir/kvpnc-trinity::
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
diff --git a/ubuntu/maverick/applications/kvpnc/debian/source/options b/ubuntu/maverick/applications/kvpnc/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/kvpnc/debian/source/options
+++ b/ubuntu/maverick/applications/kvpnc/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/piklab/debian/rules b/ubuntu/maverick/applications/piklab/debian/rules
index cd16137c9..6d0a1d510 100755
--- a/ubuntu/maverick/applications/piklab/debian/rules
+++ b/ubuntu/maverick/applications/piklab/debian/rules
@@ -10,6 +10,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -111,7 +114,7 @@ binary-arch: build install
dh_shlibdeps -l/opt/trinity/lib
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: config build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/piklab/debian/source/options b/ubuntu/maverick/applications/piklab/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/piklab/debian/source/options
+++ b/ubuntu/maverick/applications/piklab/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/potracegui/debian/rules b/ubuntu/maverick/applications/potracegui/debian/rules
index bc559477f..4b268883c 100755
--- a/ubuntu/maverick/applications/potracegui/debian/rules
+++ b/ubuntu/maverick/applications/potracegui/debian/rules
@@ -20,6 +20,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -100,7 +103,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/potracegui/debian/source/options b/ubuntu/maverick/applications/potracegui/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/potracegui/debian/source/options
+++ b/ubuntu/maverick/applications/potracegui/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules b/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules
index bd271d7de..2cde95722 100755
--- a/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules
+++ b/ubuntu/maverick/applications/qt4-tqt-theme-engine/debian/rules
@@ -9,5 +9,8 @@ DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
QMAKE := qmake-qt4
diff --git a/ubuntu/maverick/applications/rosegarden/debian/rules b/ubuntu/maverick/applications/rosegarden/debian/rules
index 32d10d6ff..3fc2b777e 100755
--- a/ubuntu/maverick/applications/rosegarden/debian/rules
+++ b/ubuntu/maverick/applications/rosegarden/debian/rules
@@ -22,6 +22,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
@@ -56,7 +59,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/ubuntu/maverick/applications/rosegarden/debian/source/options b/ubuntu/maverick/applications/rosegarden/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/rosegarden/debian/source/options
+++ b/ubuntu/maverick/applications/rosegarden/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/smartcardauth/debian/rules b/ubuntu/maverick/applications/smartcardauth/debian/rules
index a9e7e66cb..fe74e584a 100755
--- a/ubuntu/maverick/applications/smartcardauth/debian/rules
+++ b/ubuntu/maverick/applications/smartcardauth/debian/rules
@@ -9,3 +9,6 @@ CFLAGS=-g -Wall -fPIC
DEB_MAKE_INSTALL_TARGET := install DESTDIR="$(DEB_DESTDIR)"
DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/maverick/applications/smartcardauth/debian/source/options b/ubuntu/maverick/applications/smartcardauth/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/smartcardauth/debian/source/options
+++ b/ubuntu/maverick/applications/smartcardauth/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/smb4k/debian/rules b/ubuntu/maverick/applications/smb4k/debian/rules
index db6aa90dd..70b1248dc 100755
--- a/ubuntu/maverick/applications/smb4k/debian/rules
+++ b/ubuntu/maverick/applications/smb4k/debian/rules
@@ -16,6 +16,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/smb4k/debian/source/options b/ubuntu/maverick/applications/smb4k/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/smb4k/debian/source/options
+++ b/ubuntu/maverick/applications/smb4k/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/soundkonverter/debian/rules b/ubuntu/maverick/applications/soundkonverter/debian/rules
index 831240224..d3eac8d3b 100755
--- a/ubuntu/maverick/applications/soundkonverter/debian/rules
+++ b/ubuntu/maverick/applications/soundkonverter/debian/rules
@@ -23,6 +23,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS = --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
install/soundkonverter-trinity::
install -D -p -m0644 debian/soundkonverter-trinity.lintian-overrides \
debian/soundkonverter-trinity/usr/share/lintian/overrides/soundkonverter-trinity
diff --git a/ubuntu/maverick/applications/soundkonverter/debian/source/options b/ubuntu/maverick/applications/soundkonverter/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/soundkonverter/debian/source/options
+++ b/ubuntu/maverick/applications/soundkonverter/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tde-guidance/debian/rules b/ubuntu/maverick/applications/tde-guidance/debian/rules
index 996ad6a4d..614fdb4a9 100755
--- a/ubuntu/maverick/applications/tde-guidance/debian/rules
+++ b/ubuntu/maverick/applications/tde-guidance/debian/rules
@@ -15,6 +15,9 @@ PYSUPPORT_PATH = $(DEB_DESTDIR)/opt/trinity/share/python-support
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
LDFLAGS_APPEND := -L/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
install/tde-guidance-trinity::
# install icons to right place
install -D -p -m0644 $(DEB_DESTDIR)/opt/trinity/share/apps/guidance/pics/hi32-app-daemons.png \
diff --git a/ubuntu/maverick/applications/tde-guidance/debian/source/options b/ubuntu/maverick/applications/tde-guidance/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tde-guidance/debian/source/options
+++ b/ubuntu/maverick/applications/tde-guidance/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tde-style-lipstik/debian/rules b/ubuntu/maverick/applications/tde-style-lipstik/debian/rules
index f24b21716..eb9de9610 100755
--- a/ubuntu/maverick/applications/tde-style-lipstik/debian/rules
+++ b/ubuntu/maverick/applications/tde-style-lipstik/debian/rules
@@ -16,6 +16,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -122,7 +125,7 @@ binary-arch: build install
dh_shlibdeps
dh_gencontrol
dh_md5sums
- dh_builddeb
+ dh_builddeb $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/tde-style-lipstik/debian/source/options b/ubuntu/maverick/applications/tde-style-lipstik/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tde-style-lipstik/debian/source/options
+++ b/ubuntu/maverick/applications/tde-style-lipstik/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules b/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules
index c61c340ae..685703a85 100755
--- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules
+++ b/ubuntu/maverick/applications/tde-style-qtcurve/debian/rules
@@ -24,6 +24,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
diff --git a/ubuntu/maverick/applications/tde-style-qtcurve/debian/source/options b/ubuntu/maverick/applications/tde-style-qtcurve/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/source/options
+++ b/ubuntu/maverick/applications/tde-style-qtcurve/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tde-systemsettings/debian/rules b/ubuntu/maverick/applications/tde-systemsettings/debian/rules
index 8110845eb..ed2e13a90 100755
--- a/ubuntu/maverick/applications/tde-systemsettings/debian/rules
+++ b/ubuntu/maverick/applications/tde-systemsettings/debian/rules
@@ -15,6 +15,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/tde-systemsettings/debian/source/options b/ubuntu/maverick/applications/tde-systemsettings/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tde-systemsettings/debian/source/options
+++ b/ubuntu/maverick/applications/tde-systemsettings/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tdesudo/debian/rules b/ubuntu/maverick/applications/tdesudo/debian/rules
index 5a63a69a9..443a43aed 100755
--- a/ubuntu/maverick/applications/tdesudo/debian/rules
+++ b/ubuntu/maverick/applications/tdesudo/debian/rules
@@ -15,6 +15,9 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinit
DEB_INSTALL_MANPAGES_tdesudo-trinity = tdesudo-trinity.1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
build/tdesudo-trinity::
docbook2x-man debian/tdesudo-trinity.1.docbook
mv tdesudo.1 tdesudo-trinity.1
diff --git a/ubuntu/maverick/applications/tdesudo/debian/source/options b/ubuntu/maverick/applications/tdesudo/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tdesudo/debian/source/options
+++ b/ubuntu/maverick/applications/tdesudo/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tdesvn/debian/rules b/ubuntu/maverick/applications/tdesvn/debian/rules
index d3e870fba..37d2a944b 100755
--- a/ubuntu/maverick/applications/tdesvn/debian/rules
+++ b/ubuntu/maverick/applications/tdesvn/debian/rules
@@ -22,6 +22,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
diff --git a/ubuntu/maverick/applications/tdesvn/debian/source/options b/ubuntu/maverick/applications/tdesvn/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tdesvn/debian/source/options
+++ b/ubuntu/maverick/applications/tdesvn/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tdmtheme/debian/rules b/ubuntu/maverick/applications/tdmtheme/debian/rules
index 8e74fc2cb..0fc4f4aa4 100755
--- a/ubuntu/maverick/applications/tdmtheme/debian/rules
+++ b/ubuntu/maverick/applications/tdmtheme/debian/rules
@@ -15,6 +15,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/tdmtheme/debian/source/options b/ubuntu/maverick/applications/tdmtheme/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tdmtheme/debian/source/options
+++ b/ubuntu/maverick/applications/tdmtheme/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/tellico/debian/rules b/ubuntu/maverick/applications/tellico/debian/rules
index 84b8312a4..9e404eabf 100755
--- a/ubuntu/maverick/applications/tellico/debian/rules
+++ b/ubuntu/maverick/applications/tellico/debian/rules
@@ -12,6 +12,9 @@ DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -149,7 +152,7 @@ binary-indep: build install
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
- dh_builddeb -i
+ dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS)
# Build architecture-dependent files here.
binary-arch: build install
@@ -171,7 +174,7 @@ binary-arch: build install
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
- dh_builddeb -a
+ dh_builddeb -a $(DEB_DH_BUILDDEB_ARGS)
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install
diff --git a/ubuntu/maverick/applications/tellico/debian/source/options b/ubuntu/maverick/applications/tellico/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/tellico/debian/source/options
+++ b/ubuntu/maverick/applications/tellico/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/twin-style-crystal/debian/rules b/ubuntu/maverick/applications/twin-style-crystal/debian/rules
index 8cda3384a..4fb0c5bb5 100755
--- a/ubuntu/maverick/applications/twin-style-crystal/debian/rules
+++ b/ubuntu/maverick/applications/twin-style-crystal/debian/rules
@@ -13,6 +13,9 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
diff --git a/ubuntu/maverick/applications/twin-style-crystal/debian/source/options b/ubuntu/maverick/applications/twin-style-crystal/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/twin-style-crystal/debian/source/options
+++ b/ubuntu/maverick/applications/twin-style-crystal/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/wlassistant/debian/rules b/ubuntu/maverick/applications/wlassistant/debian/rules
index abada8378..1a8fdeafb 100755
--- a/ubuntu/maverick/applications/wlassistant/debian/rules
+++ b/ubuntu/maverick/applications/wlassistant/debian/rules
@@ -22,6 +22,9 @@ CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -
DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL = true
diff --git a/ubuntu/maverick/applications/wlassistant/debian/source/options b/ubuntu/maverick/applications/wlassistant/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/wlassistant/debian/source/options
+++ b/ubuntu/maverick/applications/wlassistant/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences
diff --git a/ubuntu/maverick/applications/yakuake/debian/rules b/ubuntu/maverick/applications/yakuake/debian/rules
index f5bd922f5..aa22c8b59 100755
--- a/ubuntu/maverick/applications/yakuake/debian/rules
+++ b/ubuntu/maverick/applications/yakuake/debian/rules
@@ -15,6 +15,9 @@ INSTALL_DOCS_ALL :=
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
### Libtool and Automake updates
post-patches:: debian/stamp-autothings-update
debian/stamp-autothings-update:
diff --git a/ubuntu/maverick/applications/yakuake/debian/source/options b/ubuntu/maverick/applications/yakuake/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/applications/yakuake/debian/source/options
+++ b/ubuntu/maverick/applications/yakuake/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences