fix pc file

This commit is contained in:
Matthias Clasen 2010-11-02 12:22:54 -04:00
parent 4131869fa0
commit f6ac213c85
2 changed files with 17 additions and 0 deletions

View File

@ -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 <mclasen@redhat.com> 2.91.1-4
- Fix pc file deps
* Mon Nov 1 2010 Matthias Clasen <mclasen@redhat.com> 2.91.1-3
- Add missing BR (#641122)

11
pc-fix.patch Normal file
View File

@ -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}