Your message dated Sun, 05 Jul 2009 09:18:40 +0000
with message-id <[email protected]>
and subject line Bug#526232: fixed in fvwm-crystal 3.0.5.dfsg-4
has caused the Debian Bug report #526232,
regarding fvwm-crystal: will not work with python2.6 due to use of reserverd 
keyword as variable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
526232: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526232
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fvwm-crystal
Version: 3.0.5.dfsg-3
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch


In Ubuntu, we've applied the attached patch to achieve the following:

  * Fix compatibility with python 2.6 due to the use of the now
    reserved keyword 'with' as a variable. (LP: #369580)

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic
  APT policy: (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-11-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u fvwm-crystal-3.0.5.dfsg/debian/patches/00list fvwm-crystal-3.0.5.dfsg/debian/patches/00list
--- fvwm-crystal-3.0.5.dfsg/debian/patches/00list
+++ fvwm-crystal-3.0.5.dfsg/debian/patches/00list
@@ -4,0 +5 @@
+05fixpython26.dpatch
only in patch2:
unchanged:
--- fvwm-crystal-3.0.5.dfsg.orig/debian/patches/05fixpython26.dpatch
+++ fvwm-crystal-3.0.5.dfsg/debian/patches/05fixpython26.dpatch
@@ -0,0 +1,82 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05fixpython26.dpatch by Andreas Moog <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix incompatibility with python2.6 by replacing the variable name "with" with "xwith"
+
+...@dpatch@
+diff -urNad fvwm-crystal-3.0.5.dfsg~/bin/fvwm-crystal.apps fvwm-crystal-3.0.5.dfsg/bin/fvwm-crystal.apps
+--- fvwm-crystal-3.0.5.dfsg~/bin/fvwm-crystal.apps	2008-06-21 17:11:31.000000000 +0200
++++ fvwm-crystal-3.0.5.dfsg/bin/fvwm-crystal.apps	2009-04-30 02:40:46.000000000 +0200
+@@ -102,7 +102,7 @@
+ 	group = OptionGroup(parser, "General creation options", "Options definig what should be generated")
+ #	group.add_option('-g', '--generate', action = 'store', choices=['all','menus','panel','topapps'], dest='generate', default='all', metavar='WHAT',
+ #		help = "what should be generated. aviable options are: all, menus, panel, topapps. default is all.")
+-	group.add_option('--with', action = 'append', type='string', dest='with', metavar='DIRECTORY',
++	group.add_option('--with', action = 'append', type='string', dest='xwith', metavar='DIRECTORY',
+ 		help = 'generate entries only for defined entries (directories or files)')
+ 	group.add_option('--without', action = 'append', type='string', dest='without', metavar='DIRECTORY',
+ 		help = 'do NOT use defined entries (directories or files) for generating output.')
+@@ -206,12 +206,12 @@
+ #end of parseArgv
+ 
+ 
+-def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
++def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,xwith=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
+ 	"""Read application databases from directories.
+ 	if checkExecs is True then use exec_field from file name to check access before adding it to database
+ 	if searchIconsIn is provided then use this path to check icons existence
+ 	sortOrder defines sorting order for entries
+-	with is a list of entries (relative to the database root) that should be read
++	xwith is a list of entries (relative to the database root) that should be read
+ 	without is a list of entries (relative to the database root or absolute targets for symlinks) that should be left out
+ 	"""
+ 
+@@ -235,7 +235,7 @@
+ 					return True
+ 		return False
+ 
+-	def get_entry(root,dir,cat,sort,check,with,without,realcat):
++	def get_entry(root,dir,cat,sort,check,xwith,without,realcat):
+ 		if not os.path.isdir(os.path.join(root,dir)) or not os.access(os.path.join(root,dir),os.R_OK):
+ 			yield None
+ 		for entry in os.listdir(os.path.join(root,dir)):
+@@ -268,9 +268,9 @@
+ 					if not checkFileAccess(test):
+ 						continue
+ 
+-				if with and len(with)>0:
++				if xwith and len(xwith)>0:
+ 					cont=False
+-					for i,v in enumerate(with):
++					for i,v in enumerate(xwith):
+ 						if not (os.path.join(cat,name).startswith(v) or os.path.join(cat,name.replace('_',' ')).startswith(v)):
+ 							cont=True
+ 							break
+@@ -305,7 +305,7 @@
+ 					x = realcat[:]
+ 					x.extend([prio,name])
+ 					if access:
+-						for sub in get_entry(root,os.path.join(dir,entry),os.path.join(cat,name).replace(' ','_'),sort,check,with,without,x):
++						for sub in get_entry(root,os.path.join(dir,entry),os.path.join(cat,name).replace(' ','_'),sort,check,xwith,without,x):
+ 							yield sub
+ 				elif os.path.isfile(file):
+ 					if sort=='name' or sort=='rname':
+@@ -327,7 +327,7 @@
+ 				db=os.path.abspath(os.path.expanduser(databases[i]))
+ 				if not os.path.isdir(db) or not os.access(db,os.R_OK):
+ 					continue
+-				for entry in get_entry(db,'',os.path.join('/',rootName),sortOrder,checkExecs,with,without,[0,rootName]):
++				for entry in get_entry(db,'',os.path.join('/',rootName),sortOrder,checkExecs,xwith,without,[0,rootName]):
+ 					if not entry:
+ 						continue
+ 					if not entry[5]:
+@@ -850,7 +850,7 @@
+ if params[0].database and len(params[0].database)>0:
+ 	database=params[0].database
+ 
+-apps=getAppsData(database,checkExecs=params[0].checkExecs,searchIconsIn=params[0].iconPath,sortOrder=params[0].sortOrder,minLength=params[0].subLength,with=params[0].with,without=params[0].without,rootName=params[0].rootCat,topInSub=params[0].topInSub,fileIcon=params[0].fileDefault,dirIcon=params[0].dirDefault)
++apps=getAppsData(database,checkExecs=params[0].checkExecs,searchIconsIn=params[0].iconPath,sortOrder=params[0].sortOrder,minLength=params[0].subLength,xwith=params[0].xwith,without=params[0].without,rootName=params[0].rootCat,topInSub=params[0].topInSub,fileIcon=params[0].fileDefault,dirIcon=params[0].dirDefault)
+ 
+ ########################## DEBUG ################################
+ if params[0].verbosity > 1:

--- End Message ---
--- Begin Message ---
Source: fvwm-crystal
Source-Version: 3.0.5.dfsg-4

We believe that the bug you reported is fixed in the latest version of
fvwm-crystal, which is due to be installed in the Debian FTP archive:

fvwm-crystal_3.0.5.dfsg-4.diff.gz
  to pool/main/f/fvwm-crystal/fvwm-crystal_3.0.5.dfsg-4.diff.gz
fvwm-crystal_3.0.5.dfsg-4.dsc
  to pool/main/f/fvwm-crystal/fvwm-crystal_3.0.5.dfsg-4.dsc
fvwm-crystal_3.0.5.dfsg-4_all.deb
  to pool/main/f/fvwm-crystal/fvwm-crystal_3.0.5.dfsg-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Bernat <[email protected]> (supplier of updated fvwm-crystal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 05 Jul 2009 09:40:47 +0200
Source: fvwm-crystal
Binary: fvwm-crystal
Architecture: source all
Version: 3.0.5.dfsg-4
Distribution: unstable
Urgency: low
Maintainer: Vincent Bernat <[email protected]>
Changed-By: Vincent Bernat <[email protected]>
Description: 
 fvwm-crystal - Pretty Desktop Environment based on fvwm
Closes: 526232
Changes: 
 fvwm-crystal (3.0.5.dfsg-4) unstable; urgency=low
 .
   * Don't use reserved keyword "with" in python scripts. Thanks to Andreas
     Moog for the patch. Closes: #526232.
   * Bump Standards-Version to 3.8.2. No changes required.
Checksums-Sha1: 
 fa0aab4b590ea5a254950e420a0e322a0e1cb3c5 1282 fvwm-crystal_3.0.5.dfsg-4.dsc
 e8a7876f236d70ad9fff4aa1e1878a70539e15e8 15062 
fvwm-crystal_3.0.5.dfsg-4.diff.gz
 530b5ba0ba58186e6755c34bc1e011bbf5d51fb1 3889258 
fvwm-crystal_3.0.5.dfsg-4_all.deb
Checksums-Sha256: 
 55bd4c6c2149f9e8fe62d484b721f55ecbcab89e62785e94f54d629ed293c8c1 1282 
fvwm-crystal_3.0.5.dfsg-4.dsc
 295d7219189786026e5ffacd70bff75c81e56647a71de3b1f3fe39246234339a 15062 
fvwm-crystal_3.0.5.dfsg-4.diff.gz
 848da42c1ee9ec3576f738801efb267cb9c9d99c9f1b5cc36adbb6a2981517c6 3889258 
fvwm-crystal_3.0.5.dfsg-4_all.deb
Files: 
 d2996b8723fd0b09a3dfe0afb0cd7a22 1282 x11 optional 
fvwm-crystal_3.0.5.dfsg-4.dsc
 38c465b359c7c551b18fb819e55ac112 15062 x11 optional 
fvwm-crystal_3.0.5.dfsg-4.diff.gz
 4e1c6b59161003fcc520fdbf3527993d 3889258 x11 optional 
fvwm-crystal_3.0.5.dfsg-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpQWlwACgkQKFvXofIqeU59GgCffYAtyS7gxSMHM7sUhz8JFHnL
1jcAnA74oNS7DSqbjinYB0RIaPLjQzuF
=stEh
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to