From 70881971264832941b62f9d49b3989ddcafa7bd6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 20 May 2011 17:10:34 +0200 Subject: [PATCH] update debian folder from 0.14 branch --- debian/README.Debian | 3 +++ debian/changelog | 24 +++++++++++++++--- debian/control | 11 +++------ debian/copyright | 3 +-- debian/dirs | 8 ------ debian/patches/00_debian-copying.diff | 23 +++++++++++++++++ debian/patches/00_debian-copying.patch | 22 ----------------- debian/patches/01_configure-ac.diff | 34 ++++++++++++++++++++++++++ debian/patches/series | 2 ++ debian/rules | 27 +++++++++++--------- 10 files changed, 103 insertions(+), 54 deletions(-) delete mode 100644 debian/dirs create mode 100644 debian/patches/00_debian-copying.diff delete mode 100644 debian/patches/00_debian-copying.patch create mode 100644 debian/patches/01_configure-ac.diff create mode 100644 debian/patches/series diff --git a/debian/README.Debian b/debian/README.Debian index 66440e2d5..1c24acc9c 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -3,4 +3,7 @@ gajim for Debian If you want to use OpenPGP in gajim, you have to install python-gnupginterface. +For video chat support, you have to install python-farsight. + -- Yann Le Boulanger , Mon, 20 Jun 2005 12:02:31 +0200 + -- Julien Valroff Sat, 07 May 2011 13:50:27 +0200 diff --git a/debian/changelog b/debian/changelog index 3b3b54192..8029651ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,26 @@ -gajim (0.13.90-1) unstable; urgency=low +gajim (0.14.1-1) unstable; urgency=low - * New upstream release. + [ Yann Leboulanger ] + * New upstream release. Closes: #604966 + * Correctly sanitize menuentries in chat window action context menu. + Closes: #574839 + * Fix traceback when closing file request dialog. Closes: #587186 + * Recommend python-openssl >= 0.9. Closes: #594772 + * Improve a string. Closes: #553527 + * Fix cancelling file transfer. Closes: #587679 - -- Yann Leboulanger Sat, 24 Jul 2010 10:25:26 +0200 + [ Julien Valroff ] + * Switch to dh from CDBS and drop unused (build-)dependencies. + * Switch to dh_python2 from pysupport. Closes: #616819 + * Drop useless debian/dirs. + * Switch to 3.0 (quilt) source format. + * Update Standards-Version to 3.9.2. + * Remove useless and unused shlibs:Depends substvar. + * Add a note about python-farsight in README.Debian. + * Add patch and use dh_autoreconf to remove build-dependencies on + python-dev, python-gtk2-dev and libgtk2.0-dev. + + -- Yann Leboulanger Sat, 07 May 2011 16:01:37 +0200 gajim (0.13.4-1) unstable; urgency=low diff --git a/debian/control b/debian/control index 9f8c75e7d..bc78a4a83 100644 --- a/debian/control +++ b/debian/control @@ -2,19 +2,16 @@ Source: gajim Section: net Priority: optional Maintainer: Yann Leboulanger -Build-Depends: debhelper (>= 7), cdbs (>= 0.4.43), python-support (>= 0.7.1), python-dev, libgtk2.0-dev, python-gtk2-dev, gettext (>= 0.17-4), intltool (>= 0.40.1), imagemagick -Build-Conflicts: python2.3 -XS-Python-Version: >= 2.5 -Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), dh-autoreconf, gettext (>= 0.17-4), intltool (>= 0.40.1), imagemagick, libglib2.0-dev +Standards-Version: 3.9.2 Homepage: http://www.gajim.org Vcs-Hg: http://hg.gajim.org/gajim/ Vcs-Browser: http://hg.gajim.org/gajim/file Package: gajim Architecture: all -XB-Python-Version: ${python:Versions} -Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, python-support (>= 0.7.1), python-glade2 (>= 2.12.0), python-gtk2 (>= 2.12.0), dnsutils -Recommends: dbus, python-dbus, notification-daemon, python-openssl, python-crypto +Depends: ${misc:Depends}, ${python:Depends}, python-gtk2 (>= 2.16.0), dnsutils +Recommends: dbus, python-dbus, notification-daemon, python-gnupginterface, python-openssl (>= 0.9), python-crypto Suggests: python-gconf, python-gnome2, nautilus-sendto, avahi-daemon, python-avahi, network-manager, libgtkspell0, aspell-en, python-gnomekeyring, gnome-keyring, python-sexy, python-kerberos (>= 1.1), texlive-latex-base, dvipng, python-farsight, gstreamer0.10-plugins-ugly Description: Jabber client written in PyGTK Gajim is a Jabber client. It has a tabbed user interface with normal chats, diff --git a/debian/copyright b/debian/copyright index 44899eaa8..2810d2df5 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,10 +7,9 @@ It was downloaded from: Upstream Authors: - Alexander Cherniuk - Yann Le Boulanger - - Jonathan Schleifer -Copyright: (c) 2003-2010 Gajim Team +Copyright: (c) 2003-2011 Gajim Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index 1d12459f6..000000000 --- a/debian/dirs +++ /dev/null @@ -1,8 +0,0 @@ -usr/bin -usr/share/gajim -usr/share/man/man1 -usr/share/pixmaps -usr/share/applications -usr/share/menu -usr/share/lintian/overrides -usr/lib/gajim diff --git a/debian/patches/00_debian-copying.diff b/debian/patches/00_debian-copying.diff new file mode 100644 index 000000000..6c9cc7700 --- /dev/null +++ b/debian/patches/00_debian-copying.diff @@ -0,0 +1,23 @@ +Description: don't install useless COPYING file +Forwarded: not-neded + +--- a/Makefile.am ++++ b/Makefile.am +@@ -8,7 +8,6 @@ + docfiles_DATA = README \ + README.html \ + ChangeLog \ +- COPYING \ + THANKS \ + THANKS.artists \ + AUTHORS +--- a/Makefile.in ++++ b/Makefile.in +@@ -299,7 +299,6 @@ + docfiles_DATA = README \ + README.html \ + ChangeLog \ +- COPYING \ + THANKS \ + THANKS.artists \ + AUTHORS diff --git a/debian/patches/00_debian-copying.patch b/debian/patches/00_debian-copying.patch deleted file mode 100644 index 85797fe57..000000000 --- a/debian/patches/00_debian-copying.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: Makefile.am -=================================================================== ---- Makefile.am (revision 7202) -+++ Makefile.am (working copy) -@@ -9,7 +9,6 @@ - docfiles_DATA = README \ - README.html \ - ChangeLog \ -- COPYING \ - THANKS \ - AUTHORS - ---- Makefile.in -+++ Makefile.in -@@ -273,7 +273,6 @@ - docfiles_DATA = README \ - README.html \ - ChangeLog \ -- COPYING \ - THANKS \ - AUTHORS - diff --git a/debian/patches/01_configure-ac.diff b/debian/patches/01_configure-ac.diff new file mode 100644 index 000000000..cae1e2368 --- /dev/null +++ b/debian/patches/01_configure-ac.diff @@ -0,0 +1,34 @@ +Description: don't require python headers to remove build-dep on python-dev and python-gtk2-dev +Author: Yann Leboulanger +Origin: upstream,http://hg.gajim.org/gajim/diff/252bb3cf2c59/configure.ac +Last-Update: 2011-05-07 + +--- a/configure.ac ++++ b/configure.ac +@@ -36,25 +36,10 @@ + AM_NLS + + +-dnl **** +-dnl pygtk and gtk+ +-dnl **** +-PKG_CHECK_MODULES([PYGTK], [gtk+-2.0 >= 2.16.0 pygtk-2.0 >= 2.16.0]) +-AC_SUBST(PYGTK_CFLAGS) +-AC_SUBST(PYGTK_LIBS) +-PYGTK_DEFS=`$PKG_CONFIG --variable=defsdir pygtk-2.0` +-AC_SUBST(PYGTK_DEFS) +- +-AM_PATH_PYTHON([2.5]) +-if test "x$PYTHON" = "x:"; then +- AC_MSG_ERROR([Python not found]) +-fi +- + ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}" + AC_SUBST(ACLOCAL_AMFLAGS) + +-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) +-AC_SUBST([PYTHON_INCLUDES]) ++AM_PATH_PYTHON([2.5]) + + dnl **** + dnl enable installation in python-2.x/site-packages/gajim diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 000000000..789adce6e --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +00_debian-copying.diff +01_configure-ac.diff diff --git a/debian/rules b/debian/rules index a78957c1e..e44603a7b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,16 +1,19 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM=pysupport -# Debhelper must be included before python-distutils to use -# # # dh_python / dh_pycentral / dh_pysupport -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/simple-patchsys.mk -include /usr/share/cdbs/1/class/autotools.mk +%: + dh $@ --with python2,autoreconf -DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr -DEB_MAKE_BUILD_TARGET := all -DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) +# test target is broken +override_dh_auto_test: -binary-install/gajim:: - dh_pysupport -pgajim - convert $(DEB_DESTDIR)/usr/share/icons/hicolor/64x64/apps/gajim.png -resize 32x32 $(DEB_DESTDIR)/usr/share/pixmaps/gajim.xpm +override_dh_auto_configure: + convert icons/hicolor/64x64/apps/gajim.png -resize 32x32 debian/gajim.xpm + dh_auto_configure + +override_dh_auto_install: + dh_auto_install + rm debian/gajim/usr/share/gajim/src/common/GnuPGInterface.py* + +override_dh_auto_clean: + -rm -f debian/gajim.xpm + dh_auto_clean