Some Python-fu Plugins fail with a nonstandard python installation. Fix attached.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[This should go to submit@xxxxxxxxxxxxxx, but this complained about
a missing Package-header. Can't the tracking System handle Mime-Mails?]

Package: gimp
Version: CVS from 19.2.2000
   
2 Python scripts fail to start with a nonstandard python installation
since the path to /usr/bin/python is hardcoded there. The attached
patch fixes this by using "#!/usr/bin/env python" (as usual).

The diff was created in $GIMPSRC/plug-ins/pygimp/plug-ins/
   
Bye,
        Simon

-- 
      Simon.Budig@xxxxxxxxxxx       http://www.home.unix-ag.org/simon/
Index: pdbbrowse.py
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/pygimp/plug-ins/pdbbrowse.py,v
retrieving revision 1.1
diff -r1.1 pdbbrowse.py
1c1
< #!/usr/bin/python
---
> #!/usr/bin/env python
Index: sphere.py
===================================================================
RCS file: /cvs/gnome/gimp/plug-ins/pygimp/plug-ins/sphere.py,v
retrieving revision 1.1
diff -r1.1 sphere.py
1c1
< #!/usr/bin/python
---
> #!/usr/bin/env python

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux