From ffb711c02f9ab6b32c6fd7c21d21f35f4552a5fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Wed, 22 Jun 2011 08:21:58 +0200 Subject: Some more Debian fixes. diff --git a/COPYING b/COPYING index dfc2bc6..0463240 100644 --- a/COPYING +++ b/COPYING @@ -825,6 +825,7 @@ Swift contains some code contributed under the BSD License, under the following --- START OF BSD LICENSE Copyright (c) 2011, Arnt Gulbrandsen Copyright (c) 2011, Thilo Cestonaro +Copyright (c) 2011, Jan Kaluza All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Swift/Packaging/Debian/changelog.debian-unstable b/Swift/Packaging/Debian/changelog.debian-unstable index f722dce..3e6cd89 100644 --- a/Swift/Packaging/Debian/changelog.debian-unstable +++ b/Swift/Packaging/Debian/changelog.debian-unstable @@ -1,5 +1,6 @@ swift-im (1.1-1) unstable; urgency=low * Initial release. Closes: #631002 + * Thanks to Olly Betts -- Swift Package Maintainer Mon, 20 Jun 2011 16:24:48 -0000 diff --git a/Swift/Packaging/Debian/debian/README.Debian b/Swift/Packaging/Debian/debian/README.Debian deleted file mode 100644 index 20fdf61..0000000 --- a/Swift/Packaging/Debian/debian/README.Debian +++ /dev/null @@ -1,2 +0,0 @@ -Swift for Debian ----------------- diff --git a/Swift/Packaging/Debian/debian/control.in b/Swift/Packaging/Debian/debian/control.in index 82f5710..2dcd10d 100644 --- a/Swift/Packaging/Debian/debian/control.in +++ b/Swift/Packaging/Debian/debian/control.in @@ -2,8 +2,9 @@ Source: swift-im Section: net Priority: optional Maintainer: Swift Package Maintainer -Build-Depends: debhelper (>= 7), scons (>= 1.2.0), libssl-dev (>= 0.9.8g), libqt4-dev (>= 4.5.0), libxml2-dev (>= 2.7.6), lintian (>= 2.2.5), libxss-dev (>= 1.2.0), libboost-dev (>= 1.34.1), libboost-filesystem-dev (>= 1.34.1), libboost-program-options-dev (>= 1.34.1), libboost-regex-dev (>= 1.34.1), libboost-signals-dev (>= 1.34.1), libboost-system-dev (>= 1.34.1), libboost-thread-dev (>= 1.34.1), libboost-date-time-dev (>= 1.34.1), libidn11-dev (>= 1.10), docbook-xsl (>= 1.75.0), docbook-xml (>= 4.5), xsltproc, libxml2-utils %WEBKIT_DEPENDENCY% -Standards-Version: 3.9.1 +Uploaders: Remko Tronçon , Kevin Smith , Olly betts +Build-Depends: debhelper (>= 7), scons (>= 1.2.0), libssl-dev (>= 0.9.8g), libqt4-dev (>= 4.5.0), libxml2-dev (>= 2.7.6), libxss-dev (>= 1.2.0), libboost-dev (>= 1.34.1), libboost-filesystem-dev (>= 1.34.1), libboost-program-options-dev (>= 1.34.1), libboost-regex-dev (>= 1.34.1), libboost-signals-dev (>= 1.34.1), libboost-system-dev (>= 1.34.1), libboost-thread-dev (>= 1.34.1), libboost-date-time-dev (>= 1.34.1), libidn11-dev (>= 1.10), docbook-xsl (>= 1.75.0), docbook-xml (>= 4.5), xsltproc, libxml2-utils %WEBKIT_DEPENDENCY% +Standards-Version: 3.9.2 Vcs-Git: git://swift.im/swift Vcs-Browser: http://swift.im/git/swift Homepage: http://swift.im @@ -13,17 +14,17 @@ Architecture: any Section: net Priority: optional Depends: ${shlibs:Depends}, ${misc:Depends} -Description: The Swiften XMPP Library. +Description: Swiften XMPP Library Swiften is a robust, high-quality, standards-compliant, cross-platform, and performant C++ library for implementing XMPP applications. Swiften is used as the back-end library for the Swift Instant Messaging client. -Package: libswiften%SWIFTEN_SOVERSION%-dev +Package: libswiften-dev Architecture: any Section: libdevel Priority: optional Depends: libswiften%SWIFTEN_SOVERSION% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Description: The Swiften XMPP Library. +Description: Swiften XMPP Library Swiften is a robust, high-quality, standards-compliant, cross-platform, and performant C++ library for implementing XMPP applications. Swiften is used as the back-end library for the Swift Instant Messaging client. @@ -36,7 +37,7 @@ Architecture: any Section: net Priority: optional Depends: libswiften%SWIFTEN_SOVERSION% (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Description: Easy to use Jabber/XMPP chat client. +Description: Easy to use Jabber/XMPP chat client Swift is a free instant messaging client. It concentrates on making the most-used features easily accessible, supporting internationalisation, private and group chats, together with features @@ -51,6 +52,6 @@ Architecture: any Section: debug Priority: extra Depends: swift-im (= ${binary:Version}), ${misc:Depends} -Description: Debugging symbols for swift-im. +Description: Debugging symbols for swift-im This package contains the debugging symbols for debugging Swift and Swiften applications. diff --git a/Swift/Packaging/Debian/debian/copyright b/Swift/Packaging/Debian/debian/copyright index 1cea005..f54be9b 100644 --- a/Swift/Packaging/Debian/debian/copyright +++ b/Swift/Packaging/Debian/debian/copyright @@ -1,12 +1,21 @@ -This package was debianized by the Swift Package Maintainer +This package was debianized by the Swift project , +with help from Olly Betts . -License: +The upstream sources were obtained from http://swift.im. + +Copyright (C) 2010-2011 Kevin Smith and Remko Tronçon +Licensed under the GNU General Public License. +See /usr/share/common-licenses/GPL-3 for the full license. + + +This software is subject to the OpenSSL license exception. + +Additional permission under GNU GPL version 3 section 7 + +If you modify this Program, or any covered work, by linking or combining +it with the OpenSSL library (or a modified version of that library), +containing parts covered by the terms of the OpenSSL License, the +licensors of this Program grant you additional permission to convey +the resulting work. - Copyright (C) 2010 Kevin Smith and Remko Tronçon - - You are free to distribute this software under the terms of - the GNU General Public License version 3. - The complete text of the GNU General Public License can be - found in /usr/share/common-licenses/GPL-3 file. - This software is subject to the OpenSSL license exception. diff --git a/Swift/Packaging/Debian/debian/rules b/Swift/Packaging/Debian/debian/rules index ddafbdb..5a7248e 100755 --- a/Swift/Packaging/Debian/debian/rules +++ b/Swift/Packaging/Debian/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +export PYTHONDONTWRITEBYTECODE=1 SCONS_FLAGS=V=1 optimize=1 debug=1 allow_warnings=1 swiften_dll=1 qt=/usr/share/qt4 docbook_xsl=/usr/share/xml/docbook/stylesheet/docbook-xsl docbook_xml=/usr/share/xml/docbook/schema/dtd/4.5 diff --git a/Swift/Packaging/Debian/debian/source/format b/Swift/Packaging/Debian/debian/source/format index 89ae9db..163aaf8 100644 --- a/Swift/Packaging/Debian/debian/source/format +++ b/Swift/Packaging/Debian/debian/source/format @@ -1 +1 @@ -3.0 (native) +3.0 (quilt) diff --git a/Swift/Packaging/Debian/package.sh b/Swift/Packaging/Debian/package.sh index 5740022..5bc9fbc 100755 --- a/Swift/Packaging/Debian/package.sh +++ b/Swift/Packaging/Debian/package.sh @@ -28,6 +28,7 @@ find $DIRNAME -name .gitignore | xargs rm -f find $DIRNAME/3rdParty -type f | grep -v uuid | grep -v SConscript | xargs rm -f find $DIRNAME/3rdParty -depth -empty -type d -exec rmdir {} \; rm -rf $DIRNAME/3rdParty/SCons +rm -rf $DIRNAME/Swift/Packaging/Debian # Initialize the build version echo $VERSION > $DIRNAME/VERSION.swift @@ -37,7 +38,7 @@ echo $VERSION > $DIRNAME/VERSION.swift mkdir -p $DIRNAME/3rdParty/Boost/uuid/boost cp -r $DIRNAME/3rdParty/Boost/src/boost/uuid $DIRNAME/3rdParty/Boost/uuid/boost -# Create orig tarball for debuild +# Create orig tarball tar czf swift-im_$DEBIAN_VERSION.orig.tar.gz $DIRNAME # Detect dependencies @@ -48,20 +49,18 @@ if [ "$DISTRIBUTION" = "Debian-squeeze" -o "$DISTRIBUTION" = "Ubuntu-lucid" ]; t fi # Initialize debian files -ln -s Swift/Packaging/Debian/debian $DIRNAME/debian +cp -r debian $DIRNAME/debian if [ -z "$CHANGELOG" ]; then ../../../BuildTools/UpdateDebianChangelog.py $DIRNAME/debian/changelog $DEBIAN_VERSION else cp $CHANGELOG $DIRNAME/debian/changelog fi cat $DIRNAME/debian/control.in | sed -e "s/%SWIFTEN_SOVERSION%/$SWIFTEN_SOVERSION/g" | sed -e "s/%WEBKIT_DEPENDENCY%/$WEBKIT_DEPENDENCY/g" > $DIRNAME/debian/control +rm $DIRNAME/debian/control.in mv $DIRNAME/debian/libswiften.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION.install -mv $DIRNAME/debian/libswiften-dev.install $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION-dev.install -mv $DIRNAME/debian/libswiften-dev.manpages $DIRNAME/debian/libswiften$SWIFTEN_SOVERSION-dev.manpages +cat ../../../COPYING | awk '/--- END OF OpenSSL/,EOF' | tail -n +3 >> $DIRNAME/debian/copyright # Build cd $DIRNAME set +e debuild -i -I --lintian-opts --pedantic -#dpkg-buildpackage -S -rfakeroot -i -I -#dpkg-buildpackage -b -rfakeroot -i -I -- cgit v0.10.2-6-g49f6