Hello community, here is the log from the commit of package tvbrowser for openSUSE:Factory checked in at 2019-10-14 12:43:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tvbrowser (Old) and /work/SRC/openSUSE:Factory/.tvbrowser.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tvbrowser" Mon Oct 14 12:43:05 2019 rev:41 rq:738167 version:4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/tvbrowser/tvbrowser.changes 2017-10-03 23:17:30.860482207 +0200 +++ /work/SRC/openSUSE:Factory/.tvbrowser.new.2352/tvbrowser.changes 2019-10-14 12:44:03.502299157 +0200 @@ -1,0 +2,39 @@ +Mon Sep 30 10:33:38 UTC 2019 - [email protected] + +- update to version 4.2 + - Check if TV-Browser window is below task bar + - Divider position not remembered for Favorite tab + - use earliest reminder time for multiple reminders of program + - Option for alternative info display for program panels based on filter + - Add update function for TV-Browser JRE + - Smaller setting design improvements + - Program table not painted correctly on high resolution screens + - add option to duplicate filters and filter components + - Open TV-Browser on last used screen + - Allow smoother scrolling in lists with programs + - graphical errors while scrolling plugin installation list with touch pad + - make TV-Browser Java 11 based + - Add panning support + - Add compounded field for origin and production year fields + - Close in dual start warning not working + - Picture copyright is not searchable +- Add patch fix-junit-classpath.patch + +------------------------------------------------------------------- +Mon Apr 22 21:40:40 UTC 2019 - [email protected] + +- update to version 4.0.1 + - Prevent pictures from growing in height too much + - Programs are not updated in frame with reminders + - Make start menu entries for Windows optional + - Autoresize reminder window + - Add system wide key shortcuts + - Date selection is not update if calendar is used + - Update launch4j itself and configuration + - TV Browser - Java 9 - Windows doesn't start. + - Center weekday labels in date selection table + - Filter edit in Favorites resets selected filter + - Allow to research all Favorite programs + - Show reminders time sorted when shown together + +------------------------------------------------------------------- Old: ---- tvbrowser_4_src.zip New: ---- fix-junit-classpath.patch tvbrowser_4.2_src.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tvbrowser.spec ++++++ --- /var/tmp/diff_new_pack.GiybgF/_old 2019-10-14 12:44:04.630296208 +0200 +++ /var/tmp/diff_new_pack.GiybgF/_new 2019-10-14 12:44:04.634296197 +0200 @@ -1,7 +1,7 @@ # # spec file for package tvbrowser # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,35 +12,33 @@ # 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/ # Name: tvbrowser +Version: 4.2 +Release: 0 Summary: Digital TV guide -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Multimedia/Other -Version: 4 -Release: 0 -Requires: java = 1.8.0 -Url: http://tv-browser.org -Source: https://downloads.sourceforge.net/project/tvbrowser/TV-Browser%20Releases%20%28Java%208%20and%20higher%29/%{version}/%{name}_%{version}_src.zip +URL: https://tv-browser.org/ +Source0: https://downloads.sourceforge.net/project/tvbrowser/TV-Browser%20Releases%20%28Java%2011%20and%20higher%29/%{version}/%{name}_%{version}_src.zip # TODO build from source, too -Source2: http://www.tvbrowser.org/data/uploads/1372016422809_543/NewsPlugin.jar +Source2: https://www.tvbrowser.org/data/uploads/1372016422809_543/NewsPlugin.jar +Patch0: fix-junit-classpath.patch BuildRequires: ant BuildRequires: ant-junit BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: hicolor-icon-theme -BuildRequires: java-devel = 1.8.0 +BuildRequires: java-devel >= 11 BuildRequires: jpackage-utils BuildRequires: optipng -%if 0%{?suse_version} >= 1330 BuildRequires: strip-nondeterminism -%endif BuildRequires: unzip BuildRequires: update-desktop-files -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: java >= 11 BuildArch: noarch %description @@ -48,52 +46,35 @@ the download function of TV-Browser. %prep -cp %{S:2} . +cp -p %{SOURCE2} . %setup -q +%patch0 -p1 dos2unix src/LICENSE.txt find -name "*.png" | while read a; do - optipng -o 5 "$a" || optipng -o 5 -fix "$a" + optipng -quiet -o 5 "$a" || optipng -quiet -o 5 -fix "$a" done %build -%ant runtime-linux -Dnewsplugin.url=file:///%{_sourcedir}/NewsPlugin.jar -%if 0%{?suse_version} >= 1330 -strip-nondeterminism runtime/tvbrowser_linux/icons/*.zip runtime/tvbrowser_linux/infothemes/*.zip runtime/tvbrowser_linux/*.jar -%endif +%{ant} runtime-linux -Dnewsplugin.url=file:///%{_sourcedir}/NewsPlugin.jar +strip-nondeterminism runtime/tvbrowser_linux/icons/*.zip \ + runtime/tvbrowser_linux/infothemes/*.zip \ + runtime/tvbrowser_linux/*.jar cat >tvbrowser <<'EOF' #!/bin/sh - -# try to find a suitable Java runtime, tvbrowser only works with 1.8 currently -if [ -x /usr/lib64/jvm/jre-1.8.0/bin/java ]; then -# 64bit VM found -JAVAEXE=/usr/lib64/jvm/jre-1.8.0/bin/java -elif [ -x /usr/lib/jvm/jre-1.8.0/bin/java ]; then -# 32bit VM found -JAVAEXE=/usr/lib/jvm/jre-1.8.0/bin/java -else -# fall back to the default java and hope for the best... -JAVAEXE=/usr/bin/java -fi - -cd %{_javadir}/%{name}/ && \ -# exec %{_bindir}/java \ - exec $JAVAEXE \ - -Xms64m \ - -Xmx256m \ - -Djava.library.path=%{_javadir}/%{name} \ - -Dpropertiesfile=linux.properties \ - -jar tvbrowser.jar \ - "$@" +cd %{_javadir}/%{name} +exec ./tvbrowser.sh -Dswing.aatext=TRUE -Dawt.useSystemAAFontSettings=on "$@" EOF %install export NO_BRP_CHECK_BYTECODE_VERSION="true" -install -D -p -m 755 tvbrowser %{buildroot}%{_bindir}/tvbrowser +install -D -p -m 0755 -t %{buildroot}%{_bindir}/ tvbrowser +install -D -m 0644 -t %{buildroot}%{_datadir}/metainfo/ deployment/linux/tvbrowser.appdata.xml mkdir -p %{buildroot}%{_javadir}/%{name}/ -cp -r runtime/tvbrowser_linux/* %{buildroot}%{_javadir}/%{name}/ +cp -a runtime/tvbrowser_linux/* %{buildroot}%{_javadir}/%{name}/ +chmod 0755 %{buildroot}%{_javadir}/%{name}/tvbrowser.sh for size in 16 32 48 128; do ( @@ -103,36 +84,21 @@ ) done -%suse_update_desktop_file -c tvbrowser TV-Browser 'Digital TV Guide' tvbrowser tvbrowser AudioVideo TV Java +%suse_update_desktop_file -c tvbrowser TV-Browser 'Digital TV Guide' tvbrowser tvbrowser Video AudioVideo TV %fdupes %{buildroot}%{_javadir} -install -Dm0644 deployment/linux/tvbrowser.appdata.xml %{buildroot}%{_datadir}/appdata/tvbrowser.appdata.xml - %check -# These tests fail: -rm -v test/src/util/misc/TextLineBreakerTest.java test/src/util/ui/html/HTMLTextHelperTest.java -%ant test - -%clean -%ant clean - -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun +# These test(s) fail: +rm -v test/src/util/misc/TextLineBreakerTest.java +%{ant} test %files -%defattr(-,root,root,-) %doc ChangeLog.txt %{_bindir}/tvbrowser %{_javadir}/%{name} %{_datadir}/applications/tvbrowser.desktop %{_datadir}/icons/hicolor/*/apps/tvbrowser.png -%dir %{_datadir}/appdata/ -%{_datadir}/appdata/tvbrowser.appdata.xml +%{_datadir}/metainfo/tvbrowser.appdata.xml %changelog ++++++ NewsPlugin.jar ++++++ Binary files /var/tmp/diff_new_pack.GiybgF/_old and /var/tmp/diff_new_pack.GiybgF/_new differ ++++++ fix-junit-classpath.patch ++++++ --- a/build.xml +++ b/build.xml @@ -904,6 +904,7 @@ </src> <classpath> <path refid="classpath"/> + <path path="/usr/share/java/junit.jar"/> </classpath> </javac>
