SOURCES: python-pygtk-pyc.patch - updated for 2.14.0

megabajt megabajt at pld-linux.org
Mon Feb 16 11:32:02 CET 2009


Author: megabajt                     Date: Mon Feb 16 10:32:02 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 2.14.0

---- Files affected:
SOURCES:
   python-pygtk-pyc.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/python-pygtk-pyc.patch
diff -u SOURCES/python-pygtk-pyc.patch:1.1 SOURCES/python-pygtk-pyc.patch:1.2
--- SOURCES/python-pygtk-pyc.patch:1.1	Mon Sep  9 13:13:24 2002
+++ SOURCES/python-pygtk-pyc.patch	Mon Feb 16 11:31:56 2009
@@ -1,13 +1,33 @@
---- pygtk-1.99.13/codegen/pygtk-codegen-2.0.in.wiget	Mon Sep  9 13:05:36 2002
-+++ pygtk-1.99.13/codegen/pygtk-codegen-2.0.in	Mon Sep  9 13:07:43 2002
-@@ -7,4 +7,9 @@
- PYTHONPATH=$codegendir
- export PYTHONPATH
+diff -urN pygtk-2.14.0/gtk/Makefile.am pygtk-2.14.0.new/gtk/Makefile.am
+--- pygtk-2.14.0/gtk/Makefile.am	2009-01-27 18:54:50.000000000 +0100
++++ pygtk-2.14.0.new/gtk/Makefile.am	2009-02-16 11:04:37.000000000 +0100
+@@ -81,7 +81,7 @@
+ GTKUNIXPRINT_DEFS += gtkunixprint-2.14.defs
+ endif
  
--exec @PYTHON@ $codegendir/codegen.py "$@"
-+if [ -f $codegendir/codegen.pyc ] ; then
-+	codegenexe="$codegendir/codegen.pyc"
-+else
-+	codegenexe="$codegendir/codegen.py"
-+fi
-+exec @PYTHON@ $codegenexe "$@"
+-CREATEDEFS = $(PYTHON) $(CODEGENDIR)/createdefs.py
++CREATEDEFS = $(PYTHON) $(CODEGENDIR)/createdefs.pyc
+ 
+ GDK_OVERRIDES = \
+ 	gdk.override 		\
+@@ -217,7 +217,7 @@
+ 
+ 
+ .defs.c: 
+-	($(PYTHON) $(CODEGENDIR)/codegen.py \
++	($(PYTHON) $(CODEGENDIR)/codegen.pyc \
+ 	   $(PYGTK_CODEGEN_DEFINES) \
+ 	    -I $(srcdir) \
+ 	    --py_ssize_t-clean \
+diff -urN pygtk-2.14.0/Makefile.am pygtk-2.14.0.new/Makefile.am
+--- pygtk-2.14.0/Makefile.am	2009-01-27 18:55:44.000000000 +0100
++++ pygtk-2.14.0.new/Makefile.am	2009-02-16 11:04:10.000000000 +0100
+@@ -110,7 +110,7 @@
+ # code generator
+ .defs.c:
+ 	(cd $(srcdir)\
+-	 && $(PYTHON) $(CODEGENDIR)/codegen.py \
++	 && $(PYTHON) $(CODEGENDIR)/codegen.pyc \
+ 	    --py_ssize_t-clean \
+ 	    --register pango-types.defs \
+ 	    --register atk-types.defs \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/python-pygtk-pyc.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list