From 78751e3159dd4ed2e73b6374c0e9ad7ad10a33868072073ae28b50dad174bf7b Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 8 Nov 2017 08:55:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:Factory/java-atk-wrapper?expand=0&rev=24 --- java-atk-wrapper.changes | 7 +++++++ java-atk-wrapper.spec | 3 ++- jaw-gdk.patch | 10 ++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 jaw-gdk.patch diff --git a/java-atk-wrapper.changes b/java-atk-wrapper.changes index 49466e4..ef37e7d 100644 --- a/java-atk-wrapper.changes +++ b/java-atk-wrapper.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 8 08:54:50 UTC 2017 - fstrba@suse.com + +- Added patch: + * jaw-gdk.patch + + Remove requirement of gdk3. It is not really needed. + ------------------------------------------------------------------- Thu Oct 26 20:21:22 UTC 2017 - fstrba@suse.com diff --git a/java-atk-wrapper.spec b/java-atk-wrapper.spec index b55d378..ce91b45 100644 --- a/java-atk-wrapper.spec +++ b/java-atk-wrapper.spec @@ -32,6 +32,7 @@ Source3: https://git.gnome.org/browse/java-atk-wrapper/plain/autogen.sh Patch0: jaw-avoid-version.patch Patch1: jaw-java_required.patch Patch2: jaw-quotes.patch +Patch3: jaw-gdk.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: java-devel >= 1.7 @@ -44,7 +45,6 @@ BuildRequires: pkgconfig(atk-bridge-2.0) BuildRequires: pkgconfig(atspi-2) >= 2.14.0 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gdk-2.0) -BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) @@ -67,6 +67,7 @@ change of underlying communication mechanism. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 cp %{SOURCE1} . cp %{SOURCE2} wrapper/ cp %{SOURCE3} . diff --git a/jaw-gdk.patch b/jaw-gdk.patch new file mode 100644 index 0000000..ef8618d --- /dev/null +++ b/jaw-gdk.patch @@ -0,0 +1,10 @@ +--- java-atk-wrapper-0.33.2/configure.ac 2015-07-07 13:52:28.000000000 +0200 ++++ java-atk-wrapper-0.33.2/configure.ac 2017-11-08 09:48:15.643164733 +0100 +@@ -46,7 +46,6 @@ + glib-2.0 >= 2.32.0 + gthread-2.0 + gdk-2.0 +- gdk-3.0 + gobject-2.0 + ]) + AC_SUBST(JAW_LIBS)