package: pidgin
severity:serious
version: 2.6.1-1
tags: patch

Since the pidgin package re-enabled network manager it cannot be built on non-linux architectures leaving out of date packages on those architectures. I have enquired about the portability of network-manager and been told it is unlikely to be ported any time soon.

Once 2.6.2-1 is in testing (the bsd architectures currently seem to be being ignored in testing transition while they catch up and IMO getting crash fixes to linux users is more important than this bug) please apply the attatched patch to only build with network-manager on linux architectures.

note: the severity is based on the assumption that since kfreebsd-* is in testing (though currently ignored for testing transisions) and is listed as "at-risk" on the requalification page it is to be treated as a release architecture until such time as a final acceptance/rejection descision is made. if you believe this is incorrect feel free to downgrade.
diff -ur pidgin-2.6.2/debian/control pidgin-2.6.2.new/debian/control
--- pidgin-2.6.2/debian/control	2009-09-10 03:36:18.000000000 +0100
+++ pidgin-2.6.2.new/debian/control	2009-09-09 23:31:16.000000000 +0100
@@ -11,7 +11,7 @@
  libdbus-glib-1-dev, dbus, python (>= 2.4), libavahi-client-dev,
  libavahi-glib-dev, libxml-parser-perl, libncursesw5-dev, libsasl2-dev,
  xsltproc, doxygen, libsilc-dev (>= 1.1.1), libgstfarsight0.10-dev (>= 0.0.9),
- libgstreamer-plugins-base0.10-dev, network-manager-dev (>= 0.5.0),
+ libgstreamer-plugins-base0.10-dev, network-manager-dev (>= 0.5.0) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
  libsqlite3-dev (>= 3.3), libidn11-dev, ca-certificates
 Standards-Version: 3.8.3
 XS-Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/pidgin/
diff -ur pidgin-2.6.2/debian/rules pidgin-2.6.2.new/debian/rules
--- pidgin-2.6.2/debian/rules	2009-09-10 03:36:18.000000000 +0100
+++ pidgin-2.6.2.new/debian/rules	2009-09-09 23:35:53.000000000 +0100
@@ -10,12 +10,20 @@
 DEB_BUILDDIR = $(DEB_SRCDIR)/build
 #DEB_CONFIGURE_SCRIPT = $(CURDIR)/configure
 DEB_CONFIGURE_EXTRA_FLAGS = --enable-gevolution \
-	    --enable-cap --enable-nm --with-system-ssl-certs=/etc/ssl/certs \
+	    --enable-cap --with-system-ssl-certs=/etc/ssl/certs \
 	    --enable-perl --with-zephyr=/usr --enable-dbus --enable-gnutls=no \
 	    --enable-nss=yes --enable-cyrus-sasl --enable-vv --enable-farsight \
 	    --enable-tcl --enable-tk
 LDFLAGS = -Wl,--as-needed
 
+DEB_BUILD_ARCH_OS ?=$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
+
+ifeq ($(DEB_BUILD_ARCH_OS),linux)
+  DEB_CONFIGURE_EXTRA_FLAGS += --enable-nm
+else
+  DEB_CONFIGURE_EXTRA_FLAGS += --disable-nm
+endif 
+
 DEB_INSTALL_DOCS_ALL := -XAUTHORS -XNEWS -XREADME
 
 DEB_DH_MAKESHLIBS_ARGS_pidgin := -V -X/usr/lib/pidgin
Only in pidgin-2.6.2/doc: TracFooter.html
Only in pidgin-2.6.2/doc: TracHeader.html

Reply via email to