Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package java-17-openj9 for openSUSE:Factory checked in at 2023-02-25 19:55:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-17-openj9 (Old) and /work/SRC/openSUSE:Factory/.java-17-openj9.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-17-openj9" Sat Feb 25 19:55:16 2023 rev:4 rq:1067656 version:17.0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-17-openj9/java-17-openj9.changes 2022-11-01 13:42:11.863777824 +0100 +++ /work/SRC/openSUSE:Factory/.java-17-openj9.new.31432/java-17-openj9.changes 2023-02-25 19:55:21.763359399 +0100 @@ -1,0 +2,12 @@ +Fri Feb 17 13:19:03 UTC 2023 - Fridrich Strba <fst...@suse.com> + +- Remove the accessibility sub-package, since it was never really + working and creates another problems (bsc#1205916). It can + eventually be built as standalone if needed +- Removed patches: + * jaw-jdk10.patch + * jaw-misc.patch + * jaw-nogtk.patch + + not needed after the removal of the accessibility sub-package + +------------------------------------------------------------------- Old: ---- java-atk-wrapper-0.33.2.tar.xz jaw-jdk10.patch jaw-misc.patch jaw-nogtk.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-17-openj9.spec ++++++ --- /var/tmp/diff_new_pack.lXyRmj/_old 2023-02-25 19:55:23.563370492 +0100 +++ /var/tmp/diff_new_pack.lXyRmj/_new 2023-02-25 19:55:23.571370542 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,7 +41,6 @@ %global openj9_revision e04a7f6c1c365a6b375deb5f641c72309b170b95 %global openj9_branch v0.35.0-release %global openj9_tag openj9-0.35.0 -%global java_atk_wrapper_version 0.33.2 # priority must be 6 digits in total %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap} %global priority 2701 @@ -95,7 +94,6 @@ Source0: %{root_repository}/%{root_revision}.zip Source1: %{omr_repository}/%{omr_revision}.zip Source2: %{openj9_repository}/%{openj9_revision}.zip -Source8: https://download.gnome.org/sources/java-atk-wrapper/0.33/java-atk-wrapper-%{java_atk_wrapper_version}.tar.xz # Desktop files. Adapted from IcedTea. Source11: jconsole.desktop.in # nss configuration file @@ -128,10 +126,6 @@ Patch302: disable-doclint-by-default.patch Patch303: alternative-tzdb_dat.patch # -Patch400: jaw-misc.patch -Patch401: jaw-jdk10.patch -Patch402: jaw-nogtk.patch -# BuildRequires: alsa-lib-devel BuildRequires: autoconf BuildRequires: automake @@ -170,13 +164,6 @@ BuildRequires: xorg-x11-proto-devel BuildRequires: xprop BuildRequires: zip -BuildRequires: pkgconfig(atk) >= 2.14.0 -BuildRequires: pkgconfig(atk-bridge-2.0) -BuildRequires: pkgconfig(atspi-2) >= 2.14.0 -BuildRequires: pkgconfig(dbus-1) -BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 -BuildRequires: pkgconfig(gobject-2.0) -BuildRequires: pkgconfig(gthread-2.0) BuildConflicts: java-devel >= 18 # Requires rest of java Requires: %{name}-headless = %{version}-%{release} @@ -254,6 +241,7 @@ # Postun requires update-alternatives to uninstall tool update-alternatives. Requires(postun):update-alternatives Recommends: tzdata-java8 +Obsoletes: %{name}-accessibility %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap} # Standard JPackage base provides. Provides: java-%{javaver}-headless = %{version}-%{release} @@ -354,25 +342,8 @@ %description javadoc The OpenJDK %{featurever} API documentation. -%package accessibility -Summary: OpenJDK %{featurever} accessibility connector -Group: Development/Languages/Java -Requires: %{name} = %{version}-%{release} -Requires: xprop - -%description accessibility -Enables accessibility support in OpenJDK %{featurever} by using java-atk-wrapper. This allows -compatible at-spi2 based accessibility programs to work for AWT and Swing-based -programs. - -Please note, the java-atk-wrapper is still in beta, and OpenJDK itself is still -being tuned to be working with accessibility features. There are known issues -with accessibility on, so please do not install this package unless you really -need to. - %prep %setup -q -n openj9-openjdk-jdk17-%{root_revision} -a 1 -a 2 -%setup -q -D -n openj9-openjdk-jdk17-%{root_revision} -T -a 8 # Set up the build tree using the subrepository tarballs pwd @@ -406,10 +377,6 @@ %patch302 -p1 %patch303 -p1 -%patch400 -%patch401 -%patch402 - cat %{SOURCE100} \ | sed "s/@OPENJ9_SHA@/%{openj9_revision}/g" \ | sed "s/@OPENJ9_BRANCH@/%{openj9_branch}/g" \ @@ -482,24 +449,6 @@ # Copy tz.properties echo "sun.zoneinfo.dir=%{_datadir}/javazi" >> $JAVA_HOME/conf/tz.properties -# Build the accessibility plugin -pushd java-atk-wrapper-%{java_atk_wrapper_version} -autoreconf --force --install -rm wrapper/org/GNOME/Accessibility/AtkWrapper.java -%configure \ - --without-jdk-auto-detect \ - JDK_SRC=$JAVA_HOME -rm wrapper/org/GNOME/Accessibility/AtkWrapper.java -make %{?_smp_mflags} -cp wrapper/java-atk-wrapper.jar $JAVA_HOME/../jmods/ -cp jni/src/.libs/libatk-wrapper.so $JAVA_HOME/lib/ -popd -# Merge the java-atk-wrapper into the JDK -source $JAVA_HOME/release; export MODULES -$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "atk.wrapper,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk -cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/ -rm -rf $JAVA_HOME/../newjdk - # cacerts are generated in runtime in openSUSE if [ -f %{imagesdir}/jdk/lib/security/cacerts ]; then rm %{imagesdir}/jdk/lib/security/cacerts @@ -614,14 +563,6 @@ | sed 's|^|%doc |' \ >> %{name}-demo.files -# Create a config file to enable java-atk-wrapper -pushd %{buildroot}/%{_jvmdir}/%{sdkdir}/conf/ - echo "#Config file to enable java-atk-wrapper" > accessibility.properties - echo "" >> accessibility.properties - echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" >> accessibility.properties - echo "" >> accessibility.properties -popd - # fdupes links the files from JDK to JRE, so it breaks a JRE # use it carefully :)) %fdupes -s %{buildroot}/%{_jvmdir}/%{sdkdir}/ @@ -816,6 +757,7 @@ %{_jvmdir}/%{jrelnk} %{_jvmprivdir}/* +%{_jvmdir}/%{sdkdir}/release %{_jvmdir}/%{sdkdir}/bin/java %ifnarch aarch64 %{_jvmdir}/%{sdkdir}/bin/jitserver @@ -990,9 +932,7 @@ %files jmods %dir %{_jvmdir}/%{sdkdir}/jmods -%{_jvmdir}/%{sdkdir}/release %{_jvmdir}/%{sdkdir}/jmods/*.jmod -%{_jvmdir}/%{sdkdir}/jmods/java-atk-wrapper.jar %files demo -f %{name}-demo.files @@ -1004,8 +944,4 @@ %dir %{_javadocdir}/%{sdklnk} %{_javadocdir}/%{sdklnk}/* -%files accessibility -%config(noreplace) %{_jvmdir}/%{sdkdir}/conf/accessibility.properties -%{_jvmdir}/%{sdkdir}/lib/libatk-wrapper.so - %changelog