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:20:01 (GMT)
commit774c195afa103a577421541b821be05defa26a84 (patch)
treec7fcb3671440167a9bc6a43fce35aa64129d29cf
parent9928be64a4c19f497302963d23ed0efc66b899c0 (diff)
downloadswift-contrib-774c195afa103a577421541b821be05defa26a84.zip
swift-contrib-774c195afa103a577421541b821be05defa26a84.tar.bz2
Some debian script improvements.
-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