summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-06-17 17:06:22 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-06-17 19:02:36 (GMT)
commit3f61a759fc5937c4a637aec8335b0bc9accc8693 (patch)
treefe86940466d9640879bee4e45e84647ec1815316 /Swift/Packaging/Debian
parentafe1224b3f4615e46962fb6f4f1b82b471e5f17b (diff)
downloadswift-contrib-3f61a759fc5937c4a637aec8335b0bc9accc8693.zip
swift-contrib-3f61a759fc5937c4a637aec8335b0bc9accc8693.tar.bz2
Some debian script improvements.
Diffstat (limited to 'Swift/Packaging/Debian')
-rw-r--r--Swift/Packaging/Debian/debian/control.in2
-rwxr-xr-xSwift/Packaging/Debian/debian/rules1
-rw-r--r--Swift/Packaging/Debian/debian/shlibs.in1
-rw-r--r--Swift/Packaging/Debian/debian/source/format1
-rwxr-xr-xSwift/Packaging/Debian/package.sh1
5 files changed, 3 insertions, 3 deletions
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