From 774c195afa103a577421541b821be05defa26a84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Fri, 17 Jun 2011 19:06:22 +0200 Subject: Some debian script improvements. diff --git a/Swift/Packaging/Debian/debian/control.in b/Swift/Packaging/Debian/debian/control.in index 56428d4..95bc159 100644 --- a/Swift/Packaging/Debian/debian/control.in +++ b/Swift/Packaging/Debian/debian/control.in @@ -33,7 +33,7 @@ Description: XMPP Client. Package: swift-im-dbg Architecture: any Section: debug -Priority: optional +Priority: extra Depends: swift-im (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Debugging symbols for swift-im. The Swift IM client. diff --git a/Swift/Packaging/Debian/debian/rules b/Swift/Packaging/Debian/debian/rules index d237c86..8069c33 100755 --- a/Swift/Packaging/Debian/debian/rules +++ b/Swift/Packaging/Debian/debian/rules @@ -28,6 +28,7 @@ binary-arch: install dh_strip --dbg-package=swift-im-dbg dh_compress dh_fixperms + dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol diff --git a/Swift/Packaging/Debian/debian/shlibs.in b/Swift/Packaging/Debian/debian/shlibs.in deleted file mode 100644 index 9e80b9b..0000000 --- a/Swift/Packaging/Debian/debian/shlibs.in +++ /dev/null @@ -1 +0,0 @@ -libSwiften %SWIFTEN_SOVERSION% libswiften%SWIFTEN_SOVERSION% diff --git a/Swift/Packaging/Debian/debian/source/format b/Swift/Packaging/Debian/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/Swift/Packaging/Debian/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh index 0cbc886..f9d809a 100755 --- a/Swift/Packaging/Debian/package.sh +++ b/Swift/Packaging/Debian/package.sh @@ -31,7 +31,6 @@ cp -r $DIRNAME/3rdParty/Boost/src/boost/uuid $DIRNAME/3rdParty/Boost/uuid/boost ln -s Swift/Packaging/Debian/debian $DIRNAME/debian ../../../BuildTools/UpdateDebianChangelog.py $DIRNAME/debian/changelog $DEBIAN_VERSION cat $DIRNAME/debian/control.in | sed -e "s/%SWIFTEN_SOVERSION%/$SWIFTEN_SOVERSION/g" > $DIRNAME/debian/control -cat $DIRNAME/debian/shlibs.in | sed -e "s/%SWIFTEN_SOVERSION%/$SWIFTEN_SOVERSION/g" > $DIRNAME/debian/shlibs mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install mv $DIRNAME/debian/libswiften-dev.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION-dev.install -- cgit v0.10.2-6-g49f6