Accepting request 853764 from Java:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-atk-wrapper?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2020-12-08 12:24:56 +00:00 committed by Git OBS Bridge
commit 6208835509
10 changed files with 116 additions and 113 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8f685caed7c424babac8b158f51355c772d1e2a0b8a1ce8ced4980edae223e2
size 293364

BIN
java-atk-wrapper-0.38.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,104 @@
-------------------------------------------------------------------
Mon Nov 9 08:08:22 UTC 2020 - Fridrich Strba <fstrba@suse.com>
- Update to 3.38.0
* Build:
+ Fix 32bit build
+ Distribute manifest.txt
+ 783982: Fix build warnings
+ 789956: Build cleanups
+ Allow building outside source tree
+ Do not use GTK+
+ Require java 7
+ 789959: Provide a java module
+ Bump atk-bridge-2.0 dependency to 2.33.1
+ 760227: Filter out AtkWrapper.java from distributed files
+ 768824: Replace GNOME_COMPILE_WARNINGS with AX_COMPILER_FLAGS
+ Fix all warnings
+ Extend JAW_DEBUG
+ 752590: Include --enable-compile-warning option
+ 752350: Make with PLATFORM_CFLAGS
+ 752095: Remove AC_PROG_RANLIB and AC_ISC_POSIX from configure.ac
+ 750533: Don't use hard path for HOME install
* JNI:
+ 752588: Create AtkWrapper.h and include in AtkWrapper.c
+ 751997: Create prototype for access init and shutdown
+ 740439: Create jaw_editable_text_set_run_attributes
+ 752334: remove jaw_table_get_index_at
+ 740542: Create jaw_action_get_localized_name
+ 752291: Replace jaw_set_current_value with jaw_value_set_value
+ 742499: Implement bounds-changed signal in AtkWrapper
+ 752236: Create jaw_value_get_range
+ 752190: Create jaw_table_cell_get_column_span
+ 752188: Create jaw_table_cell_get_row_span
+ 752187: Create jaw_table_cell_get_row_column_span
+ 752174: Create jaw_table_cell_get_position
+ 751267: BUGFIX: remove custom implementation of util listeners
+ 752346: Fix unused event listener warnings in jaw_util
* Wrapper:
+ Fix extents value for invalid extents
+ Compact data-changed events queue
+ Provide javax.accessibility.AccessibilityProvider
+ 754688, 768347: Fix crashes on accessible context being NULL
+ 775609: Fix crashes on accessiblestateset being NULL
+ 793544: Fix crashes on ref_selection returning NULL
+ 760058: Deliver accessibility events in a separate context
+ 766772: Fix crash on unbound recursion
+ 770575: Gracefully abort initialization if at-spi fails
+ 793620: Fix iterating hash table in jaw_impl_finalize
+ 793823: Fix coordinates returned by atkcomponent
+ 791970: Fix removing component listener
+ 766774: Call jaw_impl_get_instance from the application thread
+ 793543: Make sure atk objects exist while processing signals
+ 793622: Fix missing reference addition on children_changed::add
+ 793821: Fix atk event parameters
+ 775947: Make jaw thread a daemon thread
+ 793819: Fix freeing objects
+ 669029: Fix netbeans crashes
+ 754748: Fix freemind crashes
+ 758242: Fix swing threading rules
+ Fix SetName/Description/Role/AccessibleParent
+ Fix GetLocale
+ Fix Component extents
+ Fix TableSetCaption/Summary
+ Fix ActionSet/GetDescription
+ Fix GetTextAtOffset
+ Add GetTextBefore/AfterOffset
+ Fix calling Accessible* methods in the EDT only
+ Fix weak/global reference management, to make sure Accessible objects can
+ easily be freed by the GC, but Atk* objects can't.
+ Fix some null dereferences
+ Fix text selection offsets
+ Support alt graph modifier
+ Fix key event hw_code reporting
+ Support TableGetIndexAt
+ Fix TableCell
+ 750937: Emit object:visible-data-changed signals
+ 752319: Create java AtkTextGranularity interface
+ 740439: Create setRunAttributes in AtkEditableText
+ 740542: Create getLocalizedName in AtkAction
+ 752190: Create getColumnSpan in AtkTableCell
+ 752188: Create getRowSpan in AtkTableCell
+ 752187: Create getRowColumnSpan in AtkTableCell
+ 752174: Create getPosition for AtkTableCell
* Internal:
+ Make debugging cope with current directory not being writable
+ Improve debugging log
+ Update HACKING
+ Update bug tracker URL
+ Update missing atk interface implementations
+ Document the whole picture
+ Make Samuel Thibault maintainer
* Maintainership:
+ Update HACKING
- Removed patches
* jaw-avoid-version.patch
* jaw-gdk.patch
* jaw-java_required.patch
* jaw-javah.patch
* jaw-quotes.patch
+ integrated upstream
-------------------------------------------------------------------
Tue Jan 2 17:35:32 UTC 2018 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package java-atk-wrapper
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,21 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global major_version 0.33
%global major_version 0.38
Name: java-atk-wrapper
Version: 0.33.2
Version: %{major_version}.0
Release: 0
Summary: Java ATK Wrapper
License: LGPL-2.0+
License: LGPL-2.0-or-later
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.xz
URL: https://gitlab.gnome.org/GNOME/java-atk-wrapper/
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{version}.tar.xz
Source1: HOWTO
Source2: https://git.gnome.org/browse/java-atk-wrapper/plain/wrapper/manifest.txt
Source3: https://git.gnome.org/browse/java-atk-wrapper/plain/autogen.sh
# Avoid libtool versioning; this library is dynamically loaded from Java code
Patch0: jaw-avoid-version.patch
Patch1: jaw-java_required.patch
Patch2: jaw-quotes.patch
Patch3: jaw-gdk.patch
Patch4: jaw-javah.patch
Source2: https://gitlab.gnome.org/GNOME/%{name}/-/raw/%{version}/autogen.sh
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: java-devel >= 1.7
@ -42,7 +35,7 @@ BuildRequires: pkgconfig
BuildRequires: xprop
BuildRequires: xz
BuildRequires: pkgconfig(atk) >= 2.14.0
BuildRequires: pkgconfig(atk-bridge-2.0)
BuildRequires: pkgconfig(atk-bridge-2.0) >= 2.33.1
BuildRequires: pkgconfig(atspi-2) >= 2.14.0
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gdk-2.0)
@ -65,20 +58,13 @@ change of underlying communication mechanism.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
cp %{SOURCE1} .
cp %{SOURCE2} wrapper/
cp %{SOURCE3} .
cp %{SOURCE1} %{SOURCE2} .
rm -f wrapper/org/GNOME/Accessibility/AtkWrapper.java
%build
chmod +x autogen.sh
./autogen.sh
%configure JAVACFLAGS="-source 1.7 -target 1.7" --libdir=%{_libdir}/%{name}
%configure --libdir=%{_libdir}/%{name}
make %{?_smp_mflags}
%install
@ -88,7 +74,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files
%doc AUTHORS
%doc COPYING.LESSER
%license COPYING.LESSER
%doc NEWS
%doc README
%doc HOWTO

View File

@ -1,35 +0,0 @@
--- 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-10-26 17:40:12.668221042 +0200
@@ -9,17 +9,6 @@
m4_pattern_allow([AM_PROG_AR])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-# Before making a release, the LT_VERSION string should be modified.
-# The string is of the form C:R:A.
-# - If interfaces have been changed or added, but binary compatibility has
-# been preserved, change to C+1:0:A+1
-# - If binary compatibility has been broken (eg removed or changed interfaces)
-# change to C+1:0:0
-# - If the interface is the same as the previous version, change to C:R+1:A
-
-LIB_ATK_WRAPPER_LT_VERSION=5:0:0
-AC_SUBST(LIB_ATK_WRAPPER_LT_VERSION)
-
# jni
AC_CONFIG_HEADERS([config.h])
@@ -51,14 +40,7 @@
])
AC_SUBST(JAW_LIBS)
-case "${target_os}" in
-cygwin*)
LIB_ATK_WRAPPER_LD_FLAGS="-avoid-version -no-undefined"
- ;;
-*)
- LIB_ATK_WRAPPER_LD_FLAGS="-version-info $LIB_ATK_WRAPPER_LT_VERSION -no-undefined"
- ;;
-esac
AC_SUBST(LIB_ATK_WRAPPER_LD_FLAGS)
# java wrapper

View File

@ -1,10 +0,0 @@
--- 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)

View File

@ -1,11 +0,0 @@
--- 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-10-26 17:42:11.472221491 +0200
@@ -64,7 +64,7 @@
# java wrapper
AM_CONDITIONAL(USER, test `whoami` = "root")
-JAVA_REQUIRED=1.6
+JAVA_REQUIRED=1.7
JAVA_ERROR_MESSAGE="Java $JAVA_REQUIRED or later is required to build java-access-bridge"
AC_ARG_VAR([JAVA_HOME],[Java Runtime Environment location])

View File

@ -1,15 +0,0 @@
--- java-atk-wrapper-0.33.2/configure.ac 2018-01-02 18:30:15.178317330 +0100
+++ java-atk-wrapper-0.33.2/configure.ac 2018-01-02 18:31:01.643499937 +0100
@@ -90,12 +90,6 @@
fi
AC_SUBST(JAVAC)
-AC_PATH_PROG(JAVAH,javah,,${JAVA_PATH})
-if test -z "$JAVAH"; then
- AC_MSG_ERROR([$JAVA_ERROR_MESSAGE])
-fi
-AC_SUBST(JAVAH)
-
AC_SUBST(JAVACFLAGS)
AC_PATH_PROG(JAR,jar,,${JAVA_PATH})

View File

@ -1,11 +0,0 @@
--- 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-10-26 17:46:08.411172252 +0200
@@ -125,7 +125,7 @@
if test "x$GCC" = xyes; then
- JAW_CFLAGS=$JAW_CFLAGS $CFLAGS
+ JAW_CFLAGS="$JAW_CFLAGS $CFLAGS"
else
AC_MSG_ERROR("You should compile with GCC")
fi

View File

@ -1,2 +0,0 @@
Main-Class: org.GNOME.Accessibility.AtkWrapper