tags 380964 +patch
thankyou

Hi!

Please find attached a patch to fix this bug. A few Lintian warnings
remain, but I leave it to the maintainer to correct.

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -urN straw-0.26.dsfg.1.0/debian/control straw-0.26.dsfg.1/debian/control
--- straw-0.26.dsfg.1.0/debian/control	2007-09-15 00:08:52.000000000 +0530
+++ straw-0.26.dsfg.1/debian/control	2007-09-15 00:35:36.000000000 +0530
@@ -3,13 +3,16 @@
 Priority: optional
 Maintainer: Hanna Wallach <[EMAIL PROTECTED]>
 Uploaders: Moray Allan <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.2.13), python, cdbs, intltool, python2.4, python2.4-dev, libgtk2.0-dev, python2.4-gtk2, python-gtk2-dev, gconf2
+Build-Depends: debhelper (>= 5.0.38), cdbs, intltool, libgtk2.0-dev, python-gtk2, python-gtk2-dev, gconf2, python-all-dev (>= 2.3.5-11)
+Build-Depends-Indep: python-central (>= 0.5.6)
 Standards-Version: 3.7.2
+XS-Python-Version: current
 
 Package: straw
 Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python2.4-egenix-mxdatetime, python2.4-gtk2 (>= 2.2.0) | python-gtk2 (>= 2.8.6-3), python2.4-glade2 (>= 2.2.0) | python-glade2 (>= 2.8.6-3), python2.4-gnome2 (>= 1.19.13-3) | python-gnome2 (>= 2.12.4-2), python2.4-gnome2-extras
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, python2.4-egenix-mxdatetime, python-gtk2 (>= 2.8.6-3), python-glade2 (>= 2.8.6-3), python-gnome2 (>= 2.12.4-2), python-gnome2-extras
 Recommends: python2.4-adns
+XB-Python-Version: ${python:Versions}
 Description: desktop news aggregator for GNOME
  Straw is a desktop news aggregator for the GNOME environment. News
  aggregators collect news, weblog posts, and other information from
diff -urN straw-0.26.dsfg.1.0/debian/rules straw-0.26.dsfg.1/debian/rules
--- straw-0.26.dsfg.1.0/debian/rules	2007-09-15 00:08:52.000000000 +0530
+++ straw-0.26.dsfg.1/debian/rules	2007-09-15 00:38:28.000000000 +0530
@@ -2,10 +2,11 @@
 # -*- mode: makefile; coding: utf-8 -*-
 
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+DEB_PYTHON_SYSTEM=pycentral
+include /usr/share/cdbs/1/class/python-distutils.mk
 
-DEB_PYTHON_COMPILE_VERSION = 2.4
+DEB_PYTHON_COMPILE_VERSION = $(shell pyversions -vr)
 DEB_INSTALL_MANPAGES_straw := debian/straw.1
 
 DEB_PYTHON_INSTALL_ARGS_ALL += \
@@ -15,8 +16,8 @@
 	--with-gconf-schema-file-dir=/usr/share/gconf/schemas \
 	 --install-lib=/usr/lib/straw
 
-binary-install/straw::
-	dh_python -pstraw -V 2.4
+#binary-install/straw::
+#	dh_pycentral -pstraw
 
 binary-post-install/straw::
 	dh_install debian/straw.xpm usr/share/straw

Reply via email to