[Lunar-commits] r21389 - moonbase/trunk/python/pygtk2
Terry Chan
tchan at lunar-linux.org
Sun Sep 10 22:43:48 UTC 2006
Author: tchan
Date: 2006-09-10 22:43:47 +0000 (Sun, 10 Sep 2006)
New Revision: 21389
Added:
moonbase/trunk/python/pygtk2/PRE_BUILD
Modified:
moonbase/trunk/python/pygtk2/DEPENDS
Log:
Fixed this so it compiles correctly now. pycairo is now a required DEPENDS.
Also fixed this so it wouldn't remove pygobject.h
Modified: moonbase/trunk/python/pygtk2/DEPENDS
===================================================================
--- moonbase/trunk/python/pygtk2/DEPENDS 2006-09-10 21:14:34 UTC (rev 21388)
+++ moonbase/trunk/python/pygtk2/DEPENDS 2006-09-10 22:43:47 UTC (rev 21389)
@@ -1,7 +1,5 @@
depends pygobject &&
depends gtk+-2 &&
-
-optional_depends "pycairo" "" "" \
- "to enable cairo drawing support" &&
+depends pycairo &&
optional_depends "libglade2" "" "" \
"to build the libglade Python bindings"
Added: moonbase/trunk/python/pygtk2/PRE_BUILD
===================================================================
--- moonbase/trunk/python/pygtk2/PRE_BUILD (rev 0)
+++ moonbase/trunk/python/pygtk2/PRE_BUILD 2006-09-10 22:43:47 UTC (rev 21389)
@@ -0,0 +1,6 @@
+default_pre_build &&
+
+# declare pygobject.h rogue so it doesn't get removed!
+if [ -f $INSTALL_LOGS/pygtk2* ]; then
+ sedit "/\/usr\/include\/pygtk-2.0\/pygobject.h/d" $INSTALL_LOGS/pygtk2*
+fi
More information about the Lunar-commits
mailing list