Package: pymol Version: 0.98+0.99rc6-2 Followup-For: Bug #385550 Shame on me, I forgot a slash ! Also, not being an user of Pymol, I did not find how to do the alignment, so I could not test my patch...
Here is the fixed version. Have a nice day, -- Charles
diff -u pymol-0.98+0.99rc6/debian/patches/00list pymol-0.98+0.99rc6/debian/patches/00list --- pymol-0.98+0.99rc6/debian/patches/00list +++ pymol-0.98+0.99rc6/debian/patches/00list @@ -7,0 +8 @@ +12_change_path_to_matrices.dpatch diff -u pymol-0.98+0.99rc6/debian/changelog pymol-0.98+0.99rc6/debian/changelog --- pymol-0.98+0.99rc6/debian/changelog +++ pymol-0.98+0.99rc6/debian/changelog @@ -1,3 +1,9 @@ +pymol (0.98+0.99rc6-3) unstable; urgency=low + + * Changed path to matrices in modules/pymol/fitting.py; closes: #385550 + + -- Charles Plessy <[EMAIL PROTECTED]> Thu, 9 Nov 2006 23:03:50 +0900 + pymol (0.98+0.99rc6-2) unstable; urgency=low * debian/control (Recommends): Added apbs. only in patch2: unchanged: --- pymol-0.98+0.99rc6.orig/debian/patches/12_change_path_to_matrices.dpatch +++ pymol-0.98+0.99rc6/debian/patches/12_change_path_to_matrices.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 12_change_path_to_matrices by Charles Plessy <[EMAIL PROTECTED]> +## +## DP: Sets the path to the matrices to where they are installed in Debian. +## DP: Thanks to Thomas Gaillard for his bug report. + [EMAIL PROTECTED]@ + +--- pymol-0.98+0.99rc6/modules/pymol/fitting.py.old 2006-11-09 22:53:09.000000000 +0900 ++++ pymol-0.98+0.99rc6/modules/pymol/fitting.py 2006-11-09 22:54:08.000000000 +0900 +@@ -61,7 +61,7 @@ + r = DEFAULT_ERROR + source = selector.process(source) + target = selector.process(target) +- mfile = cmd.exp_path("$PYMOL_PATH/data/pymol/matrices/"+matrix) ++ mfile = cmd.exp_path("/usr/share/pymol/matrices/"+matrix) + if object==None: object='' + try: + lock()