rpms/pitivi/devel pitivi-0.10.2-pygtk-configure.patch, NONE, 1.1 pitivi.spec, 1.14, 1.15
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Thu Feb 1 04:04:21 UTC 2007
- Previous message: rpms/gnome-sudoku/devel .cvsignore,1.4,NONE dead.package,1.1,NONE
- Next message: rpms/viaideinfo/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 viaideinfo.spec, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jcollie
Update of /cvs/extras/rpms/pitivi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15573
Modified Files:
pitivi.spec
Added Files:
pitivi-0.10.2-pygtk-configure.patch
Log Message:
Don't forget patch.
pitivi-0.10.2-pygtk-configure.patch:
--- NEW FILE pitivi-0.10.2-pygtk-configure.patch ---
--- trunk/configure.ac 2006/12/02 17:53:19 834
+++ trunk/configure.ac 2006/12/04 15:40:32 836
@@ -51,10 +51,28 @@
PKG_CHECK_MODULES(GST, gstreamer-0.10 >= $GST_REQ)
dnl check for pygtk
-PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= $PYGTK_REQ)
-PYGTK_DIR="`$PKG_CONFIG --variable=pyexecdir pygtk-2.0`"
-AC_SUBST(PYGTK_DIR)
-AC_MSG_NOTICE(Using pygtk installed in $PYGTK_DIR)
+AC_MSG_CHECKING(for GTK python bindings)
+prog="
+import sys
+try:
+ import pygtk
+ pygtk.require('2.0')
+ import gtk
+except ImportError:
+ sys.exit(1)
+if gtk.pygtk_version < tuple([int(x) for x in '$PYGTK_REQ'.split('.')]):
+ sys.exit(1)
+else:
+ sys.exit(0)
+"
+if $PYTHON -c "$prog"
+then
+ AC_MSG_RESULT(found)
+else
+ AC_MSG_RESULT(not found)
+ AC_MSG_ERROR(
+ [You need to have python gtk bindings >= $PYGTK_REQ installed])
+fi
export PYTHONPATH=$PYGTK_DIR:$PYTHONPATH
Index: pitivi.spec
===================================================================
RCS file: /cvs/extras/rpms/pitivi/devel/pitivi.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- pitivi.spec 1 Feb 2007 01:52:18 -0000 1.14
+++ pitivi.spec 1 Feb 2007 04:03:50 -0000 1.15
@@ -1,6 +1,6 @@
Name: pitivi
Version: 0.10.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Non-linear video editor
Group: Applications/Multimedia
@@ -74,6 +74,9 @@
%{_datadir}/applications/*
%changelog
+* Wed Jan 31 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.10.2-2
+- Don't forget to add new patch to CVS
+
* Wed Jan 31 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.10.2-1
- Update to 0.10.2
- Drop sync patch
- Previous message: rpms/gnome-sudoku/devel .cvsignore,1.4,NONE dead.package,1.1,NONE
- Next message: rpms/viaideinfo/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 viaideinfo.spec, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list