fix configure check

This commit is contained in:
Matthias Clasen 2010-07-14 20:35:03 +00:00
parent 2fa641cdc3
commit eb006ba260
2 changed files with 18 additions and 1 deletions

10
devhelp-gtk3.patch Normal file
View File

@ -0,0 +1,10 @@
diff -up devhelp-2.90.5/acinclude.m4.gtk3 devhelp-2.90.5/acinclude.m4
--- devhelp-2.90.5/acinclude.m4.gtk3 2010-07-14 16:30:22.970956005 -0400
+++ devhelp-2.90.5/acinclude.m4 2010-07-14 16:30:37.941955999 -0400
@@ -1,5 +1,5 @@
AC_DEFUN([IGE_PLATFORM_CHECK],[
- gdk_target=`$PKG_CONFIG --variable=target gtk+-2.0`
+ gdk_target=`$PKG_CONFIG --variable=target gtk+-3.0`
if test "x$gdk_target" = "xquartz"; then
AC_MSG_CHECKING([checking for Mac OS X support])

View File

@ -6,7 +6,7 @@
Name: devhelp
Version: 2.90.5
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: Development/Tools
Summary: API documention browser
@ -14,6 +14,9 @@ URL: http://developer.imendio.com/projects/devhelp
#VCS: git:git://git.gnome.org/devhelp
Source: http://download.gnome.org/sources/devhelp/2.90/devhelp-%{version}.tar.bz2
# upstream fix
Patch: devhelp-gtk3.patch
### Dependencies ###
Requires(pre): GConf2 >= 2.14
@ -49,6 +52,7 @@ into other applications such as IDEs.
%prep
%setup -q -n devhelp-%{version}
%patch0 -p1 -b .gtk3
# force regeneration
rm data/devhelp.schemas
@ -134,6 +138,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%{_libdir}/pkgconfig/*
%changelog
* Wed Jul 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.90.5-2
- Fix platform check to work with GTK3
* Wed Jul 14 2010 Matthias Clasen <mclasen@redhat.com> - 2.90.5-1
- Update to 2.90.5