Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gaupol for openSUSE:Factory checked in at 2021-10-11 16:48:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gaupol (Old) and /work/SRC/openSUSE:Factory/.gaupol.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gaupol" Mon Oct 11 16:48:37 2021 rev:31 rq:924076 version:1.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gaupol/gaupol.changes 2021-10-04 18:40:35.970119368 +0200 +++ /work/SRC/openSUSE:Factory/.gaupol.new.2443/gaupol.changes 2021-10-11 16:48:43.486178130 +0200 @@ -1,0 +2,6 @@ +Thu Oct 7 17:13:25 UTC 2021 - Antoine Belvire <antoine.belv...@opensuse.org> + +- Update to version 1.10.1: + * Fix playing selection (gh#otsaloma/gaupol#188). + +------------------------------------------------------------------- Old: ---- gaupol-1.10.tar.gz New: ---- gaupol-1.10.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gaupol.spec ++++++ --- /var/tmp/diff_new_pack.yU86i0/_old 2021-10-11 16:48:44.034179001 +0200 +++ /var/tmp/diff_new_pack.yU86i0/_new 2021-10-11 16:48:44.038179007 +0200 @@ -20,7 +20,7 @@ %bcond_without test %define skip_python2 1 Name: gaupol -Version: 1.10 +Version: 1.10.1 Release: 0 Summary: GTK Subtitle editor License: GPL-3.0-or-later ++++++ gaupol-1.10.tar.gz -> gaupol-1.10.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/Makefile new/gaupol-1.10.1/Makefile --- old/gaupol-1.10/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/gaupol-1.10.1/Makefile 2021-10-06 21:23:30.000000000 +0200 @@ -0,0 +1,60 @@ +# -*- coding: utf-8-unix -*- + +# EDITOR must wait! +EDITOR = nano + +check: + flake8 bin/gaupol + flake8 aeidon + flake8 gaupol + flake8 data/extensions/*/*.py + flake8 *.py + +clean: + ./setup.py clean + +install: + ./setup.py install + +publish-aeidon: + $(MAKE) check test clean + ./setup-aeidon.py sdist bdist_wheel + test -s dist/aeidon-*-py3-none-any.whl + test -s dist/aeidon-*.tar.gz + ls -l dist + printf "Press Enter to upload or Ctrl+C to abort: "; read _ + twine upload dist/* + sudo pip3 uninstall -y aeidon || true + sudo pip3 uninstall -y aeidon || true + sudo pip3 install -U aeidon + cd && python3 -c "import aeidon; print(aeidon.__file__, aeidon.__version__)" + +# Interactive! +release: + $(MAKE) check test clean + @echo "BUMP VERSION NUMBERS" + $(EDITOR) aeidon/__init__.py + $(EDITOR) gaupol/__init__.py + $(EDITOR) data/extensions/*/*.in + $(EDITOR) win32/gaupol.iss + @echo "ADD RELEASE NOTES" + $(EDITOR) NEWS.md + $(EDITOR) data/io.otsaloma.gaupol.appdata.xml.in + sudo ./setup.py install --prefix=/usr/local clean + /usr/local/bin/gaupol + tools/release + @echo "REMEMBER TO make publish-aeidon" + @echo "REMEMBER TO UPDATE FLATPAK" + @echo "REMEMBER TO UPDATE WEBSITE" + +test: + py.test -xs aeidon gaupol data/extensions + +# Interactive! +translations: + tools/update-translations + +warnings: + python3 -Wd bin/gaupol + +.PHONY: check clean install publish-aeidon release test translations warnings diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/NEWS.md new/gaupol-1.10.1/NEWS.md --- old/gaupol-1.10/NEWS.md 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/NEWS.md 2021-10-06 21:23:30.000000000 +0200 @@ -1,3 +1,8 @@ +2021-10-06: Gaupol 1.10.1 +========================= + +* Fix playing selection (#188) + 2021-09-30: Gaupol 1.10 ======================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/README.md new/gaupol-1.10.1/README.md --- old/gaupol-1.10/README.md 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/README.md 2021-10-06 21:23:30.000000000 +0200 @@ -80,6 +80,8 @@ ### Windows -Windows installers are built irregularly, see [releases][]. +Windows installers are no longer built due to bad tooling, bad results, +lack of time and lack of motivation. The latest version available for +Windows is [1.3.1][]. -[releases]: https://github.com/otsaloma/gaupol/releases +[1.3.1]: https://github.com/otsaloma/gaupol/releases/tag/1.3.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/RELEASING.md new/gaupol-1.10.1/RELEASING.md --- old/gaupol-1.10/RELEASING.md 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/RELEASING.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,31 +0,0 @@ -Releasing a New Version -======================= - -```bash -# Update translations. -tools/update-translations -tx push -s -tx pull -a --minimum-perc=50 -sed -i "s/charset=CHARSET/charset=UTF-8/" po/*.po -emacs po/fi.po -tx push -tf --no-interactive -l fi -tools/check-translations -tools/check-translations | grep % -git add po/*.po po/*.pot; git status -git commit -m "Update translations" - -# Check, test, do final edits and release. -python3 -Wd bin/gaupol -flake8 bin/gaupol aeidon gaupol data/extensions/*/*.py *.py -py.test --tb=no aeidon gaupol data/extensions -emacs */__init__.py data/extensions/*/*.in win32/gaupol.iss -emacs NEWS.md TODO.md data/io.otsaloma.gaupol.appdata.xml.in -sudo ./setup.py install --prefix=/usr/local clean -/usr/local/bin/gaupol -tools/release -tools/publish-aeidon - -# Update Flatpak, website. -# https://github.com/flathub/io.otsaloma.gaupol -# https://github.com/otsaloma/gaupol-www -``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/aeidon/__init__.py new/gaupol-1.10.1/aeidon/__init__.py --- old/gaupol-1.10/aeidon/__init__.py 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/aeidon/__init__.py 2021-10-06 21:23:30.000000000 +0200 @@ -74,7 +74,7 @@ import re import sys -__version__ = "1.10" +__version__ = "1.10.1" RUNNING_SPHINX = (sys.argv[0].endswith("autogen.py") or sys.argv[0].endswith("sphinx-build")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/data/extensions/custom-framerates/custom-framerates.extension.in new/gaupol-1.10.1/data/extensions/custom-framerates/custom-framerates.extension.in --- old/gaupol-1.10/data/extensions/custom-framerates/custom-framerates.extension.in 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/data/extensions/custom-framerates/custom-framerates.extension.in 2021-10-06 21:23:30.000000000 +0200 @@ -1,7 +1,7 @@ # -*- conf -*- [Extension] -GaupolVersion=1.10 +GaupolVersion=1.10.1 Module=custom-framerates Name=Custom Framerates Description=Allow use of non-standard framerates diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/data/io.otsaloma.gaupol.appdata.xml.in new/gaupol-1.10.1/data/io.otsaloma.gaupol.appdata.xml.in --- old/gaupol-1.10/data/io.otsaloma.gaupol.appdata.xml.in 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/data/io.otsaloma.gaupol.appdata.xml.in 2021-10-06 21:23:30.000000000 +0200 @@ -21,8 +21,9 @@ <url type="translate">https://www.transifex.com/otsaloma/gaupol/</url> <launchable type="desktop-id">io.otsaloma.gaupol.desktop</launchable> <releases> - <release version="1.10" date="2021-09-30"/> - <release version="1.9" date="2020-12-31"/> + <release version="1.10.1" date="2021-10-06"/> + <release version="1.10" date="2021-09-30"/> + <release version="1.9" date="2020-12-31"/> </releases> <provides> <mediatype>application/x-subrip</mediatype> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/data/iso-codes/iso_3166-1.json new/gaupol-1.10.1/data/iso-codes/iso_3166-1.json --- old/gaupol-1.10/data/iso-codes/iso_3166-1.json 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/data/iso-codes/iso_3166-1.json 2021-10-06 21:23:30.000000000 +0200 @@ -815,6 +815,7 @@ { "alpha_2": "KR", "alpha_3": "KOR", + "common_name": "South Korea", "name": "Korea, Republic of", "numeric": "410" }, @@ -1215,6 +1216,7 @@ { "alpha_2": "KP", "alpha_3": "PRK", + "common_name": "North Korea", "name": "Korea, Democratic People's Republic of", "numeric": "408", "official_name": "Democratic People's Republic of Korea" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/gaupol/__init__.py new/gaupol-1.10.1/gaupol/__init__.py --- old/gaupol-1.10/gaupol/__init__.py 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/gaupol/__init__.py 2021-10-06 21:23:30.000000000 +0200 @@ -17,7 +17,7 @@ """GTK user interface for the Gaupol subtitle editor.""" -__version__ = "1.10" +__version__ = "1.10.1" COMBO_SEPARATOR = "<separator/>" import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/gaupol/dialogs/about.py new/gaupol-1.10.1/gaupol/dialogs/about.py --- old/gaupol-1.10/gaupol/dialogs/about.py 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/gaupol/dialogs/about.py 2021-10-06 21:23:30.000000000 +0200 @@ -38,7 +38,7 @@ self.set_artists(("Osmo Salomaa <otsal...@iki.fi>",)) self.set_authors(("Osmo Salomaa <otsal...@iki.fi>",)) self.set_comments(_("Subtitle editor")) - self.set_copyright("Copyright ?? 2005???2020 Osmo Salomaa") + self.set_copyright("Copyright ?? 2005???2021 Osmo Salomaa") self.set_license_type(Gtk.License.GPL_3_0) self.set_logo_icon_name("io.otsaloma.gaupol") self.set_program_name("Gaupol") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/gaupol/player.py new/gaupol-1.10.1/gaupol/player.py --- old/gaupol-1.10/gaupol/player.py 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/gaupol/player.py 2021-10-06 21:23:30.000000000 +0200 @@ -405,8 +405,9 @@ self._text_overlay.props.text = text # Do a zero seek to force an update of the overlay. # https://github.com/otsaloma/gaupol/issues/181 - with aeidon.util.silent(Exception, tb=True): - self._seek_null() + if self._in_default_segment: + with aeidon.util.silent(Exception, tb=True): + self._seek_null() @property def volume(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/tools/check-translations new/gaupol-1.10.1/tools/check-translations --- old/gaupol-1.10/tools/check-translations 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/tools/check-translations 2021-10-06 21:23:30.000000000 +0200 @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- """ Check translation files for common errors. Usage: check-translations [XX[_YY[@ZZ]]...] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/tools/extract-translations new/gaupol-1.10.1/tools/extract-translations --- old/gaupol-1.10/tools/extract-translations 1970-01-01 01:00:00.000000000 +0100 +++ new/gaupol-1.10.1/tools/extract-translations 2021-10-06 21:23:30.000000000 +0200 @@ -0,0 +1,79 @@ +#!/bin/sh + +cd "$(dirname "$0")/.." || exit 1 +truncate -s0 po/gaupol.pot + +# Python code +xgettext \ + --output=po/gaupol.pot \ + --join-existing \ + --from-code=UTF-8 \ + --language=Python \ + --keyword=_:1 \ + --keyword=d_:2 \ + --keyword=n_:1,2 \ + --add-comments=TRANSLATORS: \ + $(find . -name "*.py" -not -path "*/test/*") + +# GtkBuilder XML files +xgettext \ + --output=po/gaupol.pot \ + --join-existing \ + --from-code=UTF-8 \ + $(find data -name "*.ui") + +# Extension metadata files +xgettext \ + --output=po/gaupol.pot \ + --join-existing \ + --from-code=UTF-8 \ + --language=Desktop \ + --keyword= \ + --keyword=Name \ + --keyword=Description \ + --add-comments=TRANSLATORS: \ + data/extensions/*/*.extension.in + +# Pattern files +xgettext \ + --output=po/gaupol.pot \ + --join-existing \ + --from-code=UTF-8 \ + --language=Desktop \ + --keyword= \ + --keyword=Name \ + --keyword=Description \ + --add-comments=TRANSLATORS: \ + data/patterns/*.in + +# AppData XML file +xgettext \ + --output=po/gaupol.pot \ + --join-existing \ + --from-code=UTF-8 \ + data/io.otsaloma.gaupol.appdata.xml.in + +# Desktop file +xgettext \ + --output=po/gaupol.pot \ + --join-existing \ + --from-code=UTF-8 \ + --language=Desktop \ + --keyword= \ + --keyword=GenericName \ + --keyword=Comment \ + --keyword=Keywords \ + --add-comments=TRANSLATORS: \ + data/io.otsaloma.gaupol.desktop.in + +# XXX: Fix charset=CHARSET which causes msggrep to fail. +sed -i s/charset=CHARSET/charset=UTF-8/ po/gaupol.pot + +# Remove AppData entries that shouldn't be translated. +msggrep \ + --invert-match \ + --msgid \ + --regexp="^Gaupol$" \ + --regexp="^Osmo Salomaa$" \ + --output-file=po/tmp.pot \ + po/gaupol.pot && mv -f po/tmp.pot po/gaupol.pot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/tools/publish-aeidon new/gaupol-1.10.1/tools/publish-aeidon --- old/gaupol-1.10/tools/publish-aeidon 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/tools/publish-aeidon 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -#!/bin/bash -# Build aeidon package and upload to PyPI. -set -e -cd "$(dirname "$0")/.." || exit 1 -flake8 aeidon -py.test --tb=no aeidon -./setup.py clean -./setup-aeidon.py sdist bdist_wheel -test -s dist/aeidon-*-py3-none-any.whl -test -s dist/aeidon-*.tar.gz -ls -l dist -printf "Press Enter to upload or Ctrl+C to abort: "; read _ -twine upload dist/* -sudo pip3 uninstall -y aeidon || true -sudo pip3 uninstall -y aeidon || true -sudo pip3 install aeidon -cd && python3 -c "import aeidon; print(aeidon.__file__, aeidon.__version__)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/tools/update-translations new/gaupol-1.10.1/tools/update-translations --- old/gaupol-1.10/tools/update-translations 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/tools/update-translations 2021-10-06 21:23:30.000000000 +0200 @@ -1,76 +1,17 @@ -#!/bin/sh - +#!/bin/bash +set -e cd "$(dirname "$0")/.." || exit 1 -truncate -s0 po/gaupol.pot - -# Python code -xgettext \ - --output=po/gaupol.pot \ - --join-existing \ - --from-code=UTF-8 \ - --language=Python \ - --keyword=_:1 \ - --keyword=d_:2 \ - --keyword=n_:1,2 \ - --add-comments=TRANSLATORS: \ - $(find . -name "*.py" -not -path "*/test/*") - -# GtkBuilder XML files -xgettext \ - --output=po/gaupol.pot \ - --join-existing \ - --from-code=UTF-8 \ - $(find data -name "*.ui") - -# Extension metadata files -xgettext \ - --output=po/gaupol.pot \ - --join-existing \ - --from-code=UTF-8 \ - --language=Desktop \ - --keyword= \ - --keyword=Name \ - --keyword=Description \ - --add-comments=TRANSLATORS: \ - data/extensions/*/*.extension.in - -# Pattern files -xgettext \ - --output=po/gaupol.pot \ - --join-existing \ - --from-code=UTF-8 \ - --language=Desktop \ - --keyword= \ - --keyword=Name \ - --keyword=Description \ - --add-comments=TRANSLATORS: \ - data/patterns/*.in - -# AppData XML file -xgettext \ - --output=po/gaupol.pot \ - --join-existing \ - --from-code=UTF-8 \ - data/io.otsaloma.gaupol.appdata.xml.in - -# Desktop file -xgettext \ - --output=po/gaupol.pot \ - --join-existing \ - --from-code=UTF-8 \ - --language=Desktop \ - --keyword= \ - --keyword=GenericName \ - --keyword=Comment \ - --keyword=Keywords \ - --add-comments=TRANSLATORS: \ - data/io.otsaloma.gaupol.desktop.in - -# Remove AppData entries that shouldn't be translated. -msggrep \ - --invert-match \ - --msgid \ - --regexp="^Gaupol$" \ - --regexp="^Osmo Salomaa$" \ - --output-file=po/tmp.pot \ - po/gaupol.pot && mv -f po/tmp.pot po/gaupol.pot +tools/extract-translations +tx push -s +tx pull -af --minimum-perc=50 +emacs1 po/fi.po +tx push -tf --no-interactive -l fi +for PO in po/*.po; do + LANG=$(basename $PO .po) + tools/check-translations $LANG + read -p "Keep? [Y/n] " + [ "$REPLY" = "n" ] && rm -fv $PO +done +# rm -f po/LINGUAS +# ls po/*.po | cut -d/ -f2 | cut -d. -f1 > po/LINGUAS +git status diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gaupol-1.10/win32/gaupol.iss new/gaupol-1.10.1/win32/gaupol.iss --- old/gaupol-1.10/win32/gaupol.iss 2021-09-30 21:18:21.000000000 +0200 +++ new/gaupol-1.10.1/win32/gaupol.iss 2021-10-06 21:23:30.000000000 +0200 @@ -2,7 +2,7 @@ [Setup] AppName=Gaupol -AppVerName=Gaupol 1.10 +AppVerName=Gaupol 1.10.1 AppPublisher=Osmo Salomaa AppPublisherURL=https://otsaloma.io/gaupol/ DefaultDirName={pf}\Gaupol