rpms/python-sexy/devel python-sexy-gdk-pixbuf.patch, NONE, 1.1 python-sexy.spec, 1.15, 1.16
Orcan Ogetbil
oget at fedoraproject.org
Wed Jul 28 05:44:11 UTC 2010
Author: oget
Update of /cvs/pkgs/rpms/python-sexy/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31418
Modified Files:
python-sexy.spec
Added Files:
python-sexy-gdk-pixbuf.patch
Log Message:
* Wed Jul 28 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.1.9-12
- Fix gdk-pixbuf header location issue on F-14
python-sexy-gdk-pixbuf.patch:
configure.ac | 8 ++++++++
sexy/Makefile.am | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
--- NEW FILE python-sexy-gdk-pixbuf.patch ---
diff -rupN sexy-python-0.1.9.old/configure.ac sexy-python-0.1.9/configure.ac
--- sexy-python-0.1.9.old/configure.ac 2006-09-02 17:45:26.000000000 -0400
+++ sexy-python-0.1.9/configure.ac 2010-07-28 01:28:12.000000000 -0400
@@ -56,6 +56,14 @@ AC_SUBST(PYGTK_DEFSDIR)
AC_MSG_RESULT($PYGTK_DEFSDIR)
dnl ******************
+dnl * Check for GdkPixbuf
+dnl ******************
+PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0)
+AC_SUBST(GDKPIXBUF_CFLAGS)
+AC_SUBST(GDKPIXBUF_LIBS)
+
+
+dnl ******************
dnl * Check for libsexy
dnl ******************
PKG_CHECK_MODULES(LIBSEXY, libsexy >= sexy_version)
diff -rupN sexy-python-0.1.9.old/sexy/Makefile.am sexy-python-0.1.9/sexy/Makefile.am
--- sexy-python-0.1.9.old/sexy/Makefile.am 2005-12-13 14:12:19.000000000 -0500
+++ sexy-python-0.1.9/sexy/Makefile.am 2010-07-28 01:30:32.000000000 -0400
@@ -1,4 +1,4 @@
-INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
+INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(GDKPIXBUF_CFLAGS)
defsdir = $(datadir)/pygtk/2.0/defs
defs_DATA = sexy.defs
Index: python-sexy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-sexy/devel/python-sexy.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- python-sexy.spec 22 Jul 2010 05:22:13 -0000 1.15
+++ python-sexy.spec 28 Jul 2010 05:44:09 -0000 1.16
@@ -2,7 +2,7 @@
%define real_name sexy-python
Name: python-sexy
Version: 0.1.9
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Python bindings to libsexy
@@ -11,12 +11,19 @@ Group: System Environment/Libra
License: LGPLv2+
URL: http://www.chipx86.com/wiki/Libsexy
Source0: http://releases.chipx86.com/libsexy/sexy-python/sexy-python-%{version}.tar.gz
+# The gdk-pixbuf headers are moved to gdk-pixbuf2-devel on F-14
+Patch0: python-sexy-gdk-pixbuf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsexy-devel >= 0.1.10
BuildRequires: python-devel >= 2
BuildRequires: pygtk2-devel >= 2.8.0
BuildRequires: libxml2-devel
+%if 0%{?fedora} > 13
+# These are needed since we are regenerating configure script
+BuildRequires: automake autoconf gnome-common
+BuildRequires: gdk-pixbuf2-devel
+%endif
Requires: libsexy >= 0.1.10
%description
@@ -25,8 +32,12 @@ sexy-python is a set of Python bindings
%prep
%setup -q -n %{real_name}-%{version}
+%if 0%{?fedora} > 13
+%patch0 -p1
+%endif
%build
+./autogen.sh
%configure --enable-docs
make %{?_smp_mflags}
@@ -51,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jul 28 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.1.9-12
+- Fix gdk-pixbuf header location issue on F-14
+
* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 0.1.9-11
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list