From 59a0c9c62e663b596d657da93dc6f2d0889844e670684896c83f0d3c5858979e Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 21 Jul 2007 15:45:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgnomekbd?expand=0&rev=5 --- libgnomekbd-allow-old-dbus.patch | 11 +++++++++++ libgnomekbd.changes | 5 +++++ libgnomekbd.spec | 8 +++++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 libgnomekbd-allow-old-dbus.patch diff --git a/libgnomekbd-allow-old-dbus.patch b/libgnomekbd-allow-old-dbus.patch new file mode 100644 index 0000000..cc83c47 --- /dev/null +++ b/libgnomekbd-allow-old-dbus.patch @@ -0,0 +1,11 @@ +--- configure.in ++++ configure.in +@@ -14,7 +14,7 @@ + dnl *************************************************************************** + dnl *** Minimum library versions for libgnomekbd *** + dnl *************************************************************************** +-DBUS_REQUIRED=0.92 ++DBUS_REQUIRED=0.60 + DBUS_GLIB_REQUIRED=0.34 + GCONF_REQUIRED=2.14.0 + GDK_REQUIRED=2.10.3 diff --git a/libgnomekbd.changes b/libgnomekbd.changes index 9588f73..e33fb30 100644 --- a/libgnomekbd.changes +++ b/libgnomekbd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 19 12:03:17 CEST 2007 - sbrabec@suse.cz + +- Allow to build with old dbus. + ------------------------------------------------------------------- Fri Jul 6 20:17:16 CEST 2007 - maw@suse.de diff --git a/libgnomekbd.spec b/libgnomekbd.spec index f86f951..03fa72f 100644 --- a/libgnomekbd.spec +++ b/libgnomekbd.spec @@ -13,13 +13,14 @@ Name: libgnomekbd BuildRequires: dbus-1-glib-devel gnome-common intltool libglade2-devel libgnomeui-devel libxklavier-devel Version: 2.18.2 -Release: 1 +Release: 4 URL: http://www.gnome.org/ Group: System/GUI/GNOME License: LGPL v2 or later Summary: GNOME Keyboard Library Source: %{name}-%{version}.tar.bz2 Patch0: desktop.patch +Patch1: libgnomekbd-allow-old-dbus.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq @@ -50,6 +51,9 @@ Authors: %prep %setup -q %patch0 -p1 +%if %suse_version <= 1010 +%patch1 +%endif %build autoreconf -f -i @@ -97,6 +101,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Thu Jul 19 2007 - sbrabec@suse.cz +- Allow to build with old dbus. * Fri Jul 06 2007 - maw@suse.de - Update to version 2.18.2 - Several keyboard drawing bugs fixed