File: 01_pygtk-demo.patch

package info (click to toggle)
pygtk 2.24.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 26,760 kB
  • ctags: 8,260
  • sloc: xml: 182,079; sh: 10,297; python: 10,161; ansic: 2,861; makefile: 1,358
file content (14 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: pygtk-2.13.0/examples/pygtk-demo/pygtk-demo.in
===================================================================
--- pygtk-2.13.0.orig/examples/pygtk-demo/pygtk-demo.in	2008-04-27 11:51:14.000000000 +0200
+++ pygtk-2.13.0/examples/pygtk-demo/pygtk-demo.in	2008-11-12 17:59:10.695490976 +0100
@@ -1,7 +1,7 @@
-#! @PYTHON@
+#! /usr/bin/python
 
 import sys
 import os.path
-pygtklibdir = os.path.join("@libdir@", "pygtk", "2.0")
+pygtklibdir = os.path.join("/usr/share", "pygtk", "2.0")
 sys.path.insert(0, pygtklibdir)
 execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))