Package: pymol Version: 0.98+0.99rc6-2 Tags: patch Followup-For: Bug #385550
Dear Michael, I am interested to strenghen Debian in the field of biological alignments, so here is a patch to solve this bug if you accept the solution provided by the reporter. Have a nice day, Charles Plessy, Wako, Saitama, Japan. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: powerpc (ppc64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16farm Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages pymol depends on: ii freeglut3 2.4.0-5 OpenGL Utility Toolkit ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib ii libgl1-mesa-glx [libgl1] 6.4.2-1 A free implementation of the OpenG ii libglu1-mesa [libglu1] 6.4.2-1 The OpenGL utility library (GLU) ii libpng12-0 1.2.8rel-7 PNG library - runtime ii python 2.4.3-11 An interactive high-level object-o ii python-pmw 1.2-4 Pmw -- Python MegaWidgets ii python-support 0.5.4 automated rebuilding support for p ii python-tk 2.4.4-1 Tkinter - Writing Tk applications ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages pymol recommends: pn apbs <none> (no description available) -- no debconf information
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()