Orcan Ogetbil wrote, at 07/28/2010 02:44 PM +9:00:
> 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
>

I think this should be fixed in pygtk2, not in python-sexy.

The previous build (which failed) was:
http://koji.fedoraproject.org/koji/buildinfo?buildID=185665
build.log says:
-------------------------------------------------------------------
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.7 -pthread 
-I/usr/include/pygtk-2.0 -I/usr/lib64/libffi-3.0.9/include 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 
-I/usr/include/libpng12 -I/usr/include/libxml2 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -c sexy.c  -fPIC -DPIC -o 
.libs/sexy_la-sexy.o
In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28:0,
                  from /usr/include/gtk-2.0/gdk/gdk.h:33,
                  from /usr/include/gtk-2.0/gtk/gtk.h:32,
                  from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
                  from sexy.override:8:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37:35: fatal error: 
gdk-pixbuf/gdk-pixbuf.h: No such file or directory
-------------------------------------------------------------------

The cflags used here comes from "pkg-config --cflags pygtk-2.0 libsexy". The 
problem
here is that (as seen in this build.log) pygtk2 header file 
(/usr/include/pygtk-2.0/pygtk/pygtk.h)
tries to include header file in gtk2, however
- pygtk-2.0.pc says
-------------------------------------------------------------
Requires: pygobject-2.0
-------------------------------------------------------------
- pygobject-2.0.pc says
-------------------------------------------------------------
Requires: gobject-2.0
-------------------------------------------------------------
So needed gdk-pixbuf headers cannot be included.

I think pygtk-2.0.pc should have "Requires: pygobject-2.0 gtk-2.0".

Regards,
Mamoru
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to