Accepting request 233317 from Java:openjdk6:Factory
OBS-URL: https://build.opensuse.org/request/show/233317 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-atk-wrapper?expand=0&rev=2
This commit is contained in:
parent
2e1cd4fe6e
commit
72391f4560
11
java-atk-wrapper-source-target.patch
Normal file
11
java-atk-wrapper-source-target.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- java-atk-wrapper-0.30.4/wrapper/org/GNOME/Accessibility/Makefile.in 2010-11-10 07:18:19.000000000 +0100
|
||||
+++ java-atk-wrapper-0.30.4/wrapper/org/GNOME/Accessibility/Makefile.in 2014-05-03 14:24:13.837943365 +0200
|
||||
@@ -346,7 +346,7 @@
|
||||
< $< >$@
|
||||
|
||||
%.class : %.java
|
||||
- CLASSPATH=$(top_srcdir)/wrapper $(JAVAC) -d $(top_builddir)/wrapper $<
|
||||
+ CLASSPATH=$(top_srcdir)/wrapper $(JAVAC) -source 1.5 -target 1.5 -d $(top_builddir)/wrapper $<
|
||||
|
||||
clean-local:
|
||||
$(RM) *.class
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 3 12:34:51 UTC 2014 - fstrba@suse.com
|
||||
|
||||
- Added patch:
|
||||
* java-atk-wrapper-source-target-patch: pass options to javac to
|
||||
produce bytecode compatible with java 1.5 and higher.
|
||||
- Allow to build on SLE11
|
||||
* xprop is in xorg-x11 package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 15:26:28 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package java-atk-wrapper
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -29,14 +29,24 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/
|
||||
Source1: HOWTO
|
||||
#PATCH-FIX-UPSTREAM: add missing includes, mvyskocil@suse.com
|
||||
Patch0: java-atk-wrapper-fortify-decl.patch
|
||||
#PATCH: force production of bytecode version compatible with java 1.5
|
||||
Patch1: java-atk-wrapper-source-target.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: atk-devel
|
||||
BuildRequires: gconf2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
BuildRequires: xprop
|
||||
Requires: java >= 1.6.0
|
||||
%if 0%{?suse_version} >= 1130
|
||||
BuildRequires: xprop
|
||||
Requires: xprop
|
||||
%else
|
||||
BuildRequires: xorg-x11
|
||||
Requires: xorg-x11
|
||||
%endif
|
||||
|
||||
%description
|
||||
Java ATK Wrapper is a implementation of ATK by using JNI technic. It
|
||||
@ -51,6 +61,7 @@ change of underlying communication mechanism.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user