diff --git a/libgnomekbd.spec b/libgnomekbd.spec index 5f5e0ca..a05c33b 100644 --- a/libgnomekbd.spec +++ b/libgnomekbd.spec @@ -11,6 +11,8 @@ Source0: http://download.gnome.org/sources/libgnomekbd/2.32/libgnomekbd-% Patch1: dd12792ee893440aa0bc31f3dc8eb2e8996715f5.patch # upstream fix Patch2: buildfix.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=632004 +Patch3: pc-fix.patch BuildRequires: gtk3-devel > 2.90.0 BuildRequires: cairo-devel @@ -55,6 +57,7 @@ of the keyboard indicator applet. %setup -q %patch1 -p1 %patch2 -p1 -b .buildfix +%patch3 -p1 -b .pc-fix %build %configure --disable-static --enable-compile-warnings=no @@ -114,6 +117,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %changelog +* Tue Nov 2 2010 Matthias Clasen 2.91.1-4 +- Fix pc file deps + * Mon Nov 1 2010 Matthias Clasen 2.91.1-3 - Add missing BR (#641122) diff --git a/pc-fix.patch b/pc-fix.patch new file mode 100644 index 0000000..c7b9471 --- /dev/null +++ b/pc-fix.patch @@ -0,0 +1,11 @@ +diff -up libgnomekbd-2.91.1/libgnomekbd.pc.in.pc-fix libgnomekbd-2.91.1/libgnomekbd.pc.in +--- libgnomekbd-2.91.1/libgnomekbd.pc.in.pc-fix 2010-11-02 12:21:28.176147002 -0400 ++++ libgnomekbd-2.91.1/libgnomekbd.pc.in 2010-11-02 12:21:39.486147115 -0400 +@@ -6,6 +6,6 @@ includedir=@includedir@ + Name: libgnomekbd + Description: GNOME keyboard shared library + Version: @VERSION@ +-Requires: gmodule-export-2.0 gdk-2.0 >= @GDK_REQUIRED@ libxklavier >= @LIBXKLAVIER_REQUIRED@ ++Requires: gmodule-export-2.0 gdk-3.0 >= @GDK_REQUIRED@ libxklavier >= @LIBXKLAVIER_REQUIRED@ + Libs: -L${libdir} -lgnomekbd + Cflags: -I${includedir}