Accepting request 211022 from Java:openjdk6:Factory
OBS-URL: https://build.opensuse.org/request/show/211022 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-atk-wrapper?expand=0&rev=1
This commit is contained in:
commit
2e1cd4fe6e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
12
HOWTO
Normal file
12
HOWTO
Normal file
@ -0,0 +1,12 @@
|
||||
Package installs java-atk-wrapper in a JRE-independent way. It is up to each
|
||||
JRE to make use of it correctly. In general, you want to symlink the shared
|
||||
object and the jar into somehwere where the JRE can find it and configure the
|
||||
accessiblity configuration of the JRE to load this.
|
||||
|
||||
For OpenJDK, the process looks like this:
|
||||
ln -s %{_libdir}/java-atk-wrapper/libatk-wrapper.so.0 \
|
||||
/usr/lib/jvm/jre/lib/%{arch}/libatk-wrapper.so
|
||||
ln -s %{_libdir}/java-atk-wrapper/java-atk-wrapper.jar \
|
||||
/usr/lib/jvm/jre/lib/ext/
|
||||
echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" \
|
||||
>> /usr/lib/java/jre/lib/accessibility.properties
|
3
java-atk-wrapper-0.30.4.tar.bz2
Normal file
3
java-atk-wrapper-0.30.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:24518862452a09448a6db22a40a2a533596e88fc66fcadc25d581c716b40a2d8
|
||||
size 272549
|
29
java-atk-wrapper-fortify-decl.patch
Normal file
29
java-atk-wrapper-fortify-decl.patch
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
jni/src/jawtoplevel.c | 1 +
|
||||
jni/src/jawutil.c | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
Index: java-atk-wrapper-0.30.4/jni/src/jawtoplevel.c
|
||||
===================================================================
|
||||
--- java-atk-wrapper-0.30.4.orig/jni/src/jawtoplevel.c
|
||||
+++ java-atk-wrapper-0.30.4/jni/src/jawtoplevel.c
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <glib.h>
|
||||
#include "jawtoplevel.h"
|
||||
|
||||
Index: java-atk-wrapper-0.30.4/jni/src/jawutil.c
|
||||
===================================================================
|
||||
--- java-atk-wrapper-0.30.4.orig/jni/src/jawutil.c
|
||||
+++ java-atk-wrapper-0.30.4/jni/src/jawutil.c
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <glib.h>
|
||||
#include "jawutil.h"
|
||||
#include "jawtoplevel.h"
|
5
java-atk-wrapper.changes
Normal file
5
java-atk-wrapper.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 15:26:28 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- Initial SUSE packaging of java-awt-wrapper
|
||||
* java-atk-wrapper-fortify-decl.patch to fix missing headers
|
82
java-atk-wrapper.spec
Normal file
82
java-atk-wrapper.spec
Normal file
@ -0,0 +1,82 @@
|
||||
#
|
||||
# spec file for package java-atk-wrapper
|
||||
#
|
||||
# Copyright (c) 2013 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global major_version 0.30
|
||||
|
||||
Name: java-atk-wrapper
|
||||
Version: 0.30.4
|
||||
Release: 0
|
||||
Summary: Java ATK Wrapper
|
||||
License: LGPL-2.0+
|
||||
Group: Development/Libraries/Java
|
||||
Url: http://git.gnome.org/browse/java-atk-wrapper/
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{major_version}/%{name}-%{version}.tar.bz2
|
||||
Source1: HOWTO
|
||||
#PATCH-FIX-UPSTREAM: add missing includes, mvyskocil@suse.com
|
||||
Patch0: java-atk-wrapper-fortify-decl.patch
|
||||
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
|
||||
Requires: xprop
|
||||
|
||||
%description
|
||||
Java ATK Wrapper is a implementation of ATK by using JNI technic. It
|
||||
converts Java Swing events into ATK events, and send these events to
|
||||
ATK-Bridge.
|
||||
|
||||
JAW is part of the Bonobo deprecation project. It will replaces the
|
||||
former java-access-bridge.
|
||||
By talking to ATK-Bridge, it keeps itself from being affected by the
|
||||
change of underlying communication mechanism.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
# java-atk-wrapper's make install is broken by design
|
||||
# it installs to the current JDK_HOME. We want to install it to a central
|
||||
# location and then allow all/any JRE's/JDK's to use it.
|
||||
# make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/%{name}
|
||||
|
||||
mv wrapper/java-atk-wrapper.jar %{buildroot}%{_libdir}/%{name}/
|
||||
mv jni/src/.libs/libatk-wrapper.so.0.0.18 %{buildroot}%{_libdir}/%{name}/
|
||||
ln -s %{_libdir}/%{name}/libatk-wrapper.so.0.0.18 \
|
||||
%{buildroot}%{_libdir}/%{name}/libatk-wrapper.so.0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS
|
||||
%doc COPYING.LESSER
|
||||
%doc NEWS
|
||||
%doc README
|
||||
%doc HOWTO
|
||||
%{_libdir}/%{name}/
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user