Hello community, here is the log from the commit of package rssguard for openSUSE:Factory checked in at 2017-02-11 01:40:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rssguard (Old) and /work/SRC/openSUSE:Factory/.rssguard.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rssguard" Changes: -------- New Changes file: --- /dev/null 2017-01-26 09:49:33.150892021 +0100 +++ /work/SRC/openSUSE:Factory/.rssguard.new/rssguard.changes 2017-02-11 01:40:19.332299489 +0100 @@ -0,0 +1,45 @@ +------------------------------------------------------------------- +Tue Jan 24 11:42:36 UTC 2017 - [email protected] + +- Update for description guidelines. + +------------------------------------------------------------------- +Tue Jan 24 10:00:57 UTC 2017 - [email protected] + +- Update to version 3.3.7 + Added: + * Some localizations added & updated. + * User now can place custom user skins in user "data" + folder. (issue #81) See "About" dialog for the exact path. + * User now can select if DB transactions are enabled or not. + (bug #70) By default, DB transactions are now switched OFF, + therefore anyone who wants better performance, must turn + them ON in app settings. + * MySQL database backend now requires at least version 5.5, + DB encoding is now changed to utf8mb4 character set. (bug + #74) + * Height if message attachment image is now configurable, + defaults to 36. (issue #69) + * All textual contents of all messages are now locally saved + in explicit UTF-8 encoding. This is partially because of + MySQL backend. We need to keep encoding of data sent to DB + and encoding of DB itself in parity. + Changed: + * TT-RSS plugin now does NOT require service URL to be + entered with "/api/" suffix. In other words, do not use that + suffix now, RSS Guard will add it silently when it needs to. + Fixed: + * Fixed problem with strings in core being rendered + untranslated. (bug #60) + * Fixed problem with feed updates progress bar flickering. + (bug #73) + * Partially fixed problem with incorrect number of + downloaded messages being reported. (bug #70) + +- Refreshed rssguard-locale.patch + +------------------------------------------------------------------- +Sun Dec 3 18:09:26 UTC 2016 - [email protected] + +- Initial package (version 3.3.5) + New: ---- rssguard-3.3.7.tar.gz rssguard-locale.patch rssguard-rpmlintrc rssguard.changes rssguard.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rssguard.spec ++++++ # # spec file for package rssguard # # Copyright (c) 2017 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 # 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/ # Name: rssguard Version: 3.3.7 Release: 0 Summary: RSS/ATOM/RDF feed reader License: GPL-3.0 Group: Productivity/Networking/News/Utilities Url: https://github.com/martinrotter/rssguard Source0: https://github.com/martinrotter/rssguard/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.changes Source2: %{name}-rpmlintrc # PATCH-FIX-UPSTREAM rssguard-locale.patch (gh#martinrotter/rssguard#75) Patch0: %{name}-locale.patch BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libqt5-linguist BuildRequires: libqt5-qtbase-common-devel BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) >= 5.6 BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description RSS Guard is a RSS/ATOM feed aggregator developed using the Qt framework. It supports online feed synchronization. %lang_package %prep %setup -q # let's make %%find_lang happy %patch0 -p1 for file in localization/*.ts; do mv -v -- "${file}" "${file/-/_}"; done # Remove build time references so build-compare can do its work FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M') FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE1} '+%%b %%e %%Y') sed -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" -i src/gui/dialogs/formabout.cpp sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i src/gui/dialogs/formabout.cpp dos2unix resources/desktop/rssguard.desktop.autostart chmod -x resources/desktop/rssguard.desktop.autostart resources/text/CHANGELOG %build %qmake5 LRELEASE_EXECUTABLE=lrelease-qt5 PREFIX=%{_prefix} USE_WEBENGINE=True %make_jobs %install %qmake5_install %find_lang %{name} --all-name --with-qt --without-mo %fdupes -s %{buildroot} %files %defattr(-,root,root,-) %dir %{_datadir}/%{name} %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/rssguard.png %{_datadir}/%{name}/autostart %{_datadir}/%{name}/icons %{_datadir}/%{name}/information %{_datadir}/%{name}/initial_feeds %{_datadir}/%{name}/misc %{_datadir}/%{name}/skins %files lang -f %{name}.lang %defattr(-,root,root) %dir %{_datadir}/%{name}/lang %changelog ++++++ rssguard-locale.patch ++++++ From: Luigi Baldoni <[email protected]> Date: 2017-01-24 10:30:04 +0100 Subject: Fixes locale filenames and path so that %find_lang can do its job References: (gh#martinrotter/rssguard#75) Upstream: submitted Index: rssguard-3.3.7/rssguard.pro =================================================================== --- rssguard-3.3.7.orig/rssguard.pro +++ rssguard-3.3.7/rssguard.pro @@ -489,45 +489,45 @@ else { src/gui/newspaperpreviewer.ui } -TRANSLATIONS += localization/qtbase-cs.ts \ - localization/qtbase-da.ts \ - localization/qtbase-de.ts \ - localization/qtbase-fr.ts \ - localization/qtbase-he.ts \ - localization/qtbase-it.ts \ - localization/qtbase-ja.ts \ - localization/qtbase-sv.ts \ - localization/rssguard-cs.ts \ - localization/rssguard-da.ts \ - localization/rssguard-de.ts \ - localization/rssguard-en_GB.ts \ - localization/rssguard-en.ts \ - localization/rssguard-fr.ts \ - localization/rssguard-he.ts \ - localization/rssguard-id.ts \ - localization/rssguard-it.ts \ - localization/rssguard-ja.ts \ - localization/rssguard-lt.ts \ - localization/rssguard-nl.ts \ - localization/rssguard-pl.ts \ - localization/rssguard-pt.ts \ - localization/rssguard-sv.ts - -TRANSLATIONS_WO_QT += $$PWD/localization/rssguard-cs.ts \ - $$PWD/localization/rssguard-da.ts \ - $$PWD/localization/rssguard-de.ts \ - $$PWD/localization/rssguard-en_GB.ts \ - $$PWD/localization/rssguard-en.ts \ - $$PWD/localization/rssguard-fr.ts \ - $$PWD/localization/rssguard-he.ts \ - $$PWD/localization/rssguard-id.ts \ - $$PWD/localization/rssguard-it.ts \ - $$PWD/localization/rssguard-ja.ts \ - $$PWD/localization/rssguard-lt.ts \ - $$PWD/localization/rssguard-nl.ts \ - $$PWD/localization/rssguard-pl.ts \ - $$PWD/localization/rssguard-pt.ts \ - $$PWD/localization/rssguard-sv.ts +TRANSLATIONS += localization/qtbase_cs.ts \ + localization/qtbase_da.ts \ + localization/qtbase_de.ts \ + localization/qtbase_fr.ts \ + localization/qtbase_he.ts \ + localization/qtbase_it.ts \ + localization/qtbase_ja.ts \ + localization/qtbase_sv.ts \ + localization/rssguard_cs.ts \ + localization/rssguard_da.ts \ + localization/rssguard_de.ts \ + localization/rssguard_en_GB.ts \ + localization/rssguard_en.ts \ + localization/rssguard_fr.ts \ + localization/rssguard_he.ts \ + localization/rssguard_id.ts \ + localization/rssguard_it.ts \ + localization/rssguard_ja.ts \ + localization/rssguard_lt.ts \ + localization/rssguard_nl.ts \ + localization/rssguard_pl.ts \ + localization/rssguard_pt.ts \ + localization/rssguard_sv.ts + +TRANSLATIONS_WO_QT += $$PWD/localization/rssguard_cs.ts \ + $$PWD/localization/rssguard_da.ts \ + $$PWD/localization/rssguard_de.ts \ + $$PWD/localization/rssguard_en_GB.ts \ + $$PWD/localization/rssguard_en.ts \ + $$PWD/localization/rssguard_fr.ts \ + $$PWD/localization/rssguard_he.ts \ + $$PWD/localization/rssguard_id.ts \ + $$PWD/localization/rssguard_it.ts \ + $$PWD/localization/rssguard_ja.ts \ + $$PWD/localization/rssguard_lt.ts \ + $$PWD/localization/rssguard_nl.ts \ + $$PWD/localization/rssguard_pl.ts \ + $$PWD/localization/rssguard_pt.ts \ + $$PWD/localization/rssguard_sv.ts INCLUDEPATH += $$PWD/. \ $$PWD/src \ @@ -542,8 +542,8 @@ TEXTS = resources/text/CHANGELOG \ # Make sure QM translations are generated. lrelease.input = TRANSLATIONS -lrelease.output = $$OUT_PWD/l10n/${QMAKE_FILE_BASE}.qm -lrelease.commands = $$LRELEASE_EXECUTABLE -compress ${QMAKE_FILE_IN} -qm $$OUT_PWD/l10n/${QMAKE_FILE_BASE}.qm +lrelease.output = $$OUT_PWD/lang/${QMAKE_FILE_BASE}.qm +lrelease.commands = $$LRELEASE_EXECUTABLE -compress ${QMAKE_FILE_IN} -qm $$OUT_PWD/lang/${QMAKE_FILE_BASE}.qm lrelease.CONFIG += no_link target_predeps # Create new "make lupdate" target. @@ -721,7 +721,7 @@ unix:!mac { desktop_file_autostart.files = resources/desktop/$${TARGET}.desktop.autostart desktop_file_autostart.path = $$quote($$PREFIX/share/$${TARGET}/autostart/) - translations.files = $$OUT_PWD/l10n + translations.files = $$OUT_PWD/lang translations.path = $$quote($$PREFIX/share/$$TARGET/) INSTALLS += target misc_sql misc_icons misc_feeds \ Index: rssguard-3.3.7/src/definitions/definitions.h =================================================================== --- rssguard-3.3.7.orig/src/definitions/definitions.h +++ rssguard-3.3.7/src/definitions/definitions.h @@ -212,7 +212,7 @@ #define APP_DESKTOP_ENTRY_FILE "rssguard.desktop" #define APP_DESKTOP_ENTRY_PATH QApplication::applicationDirPath() + QString("/../share/rssguard/autostart") -#define APP_LANG_PATH QApplication::applicationDirPath() + QString("/../share/rssguard/l10n") +#define APP_LANG_PATH QApplication::applicationDirPath() + QString("/../share/rssguard/lang") #define APP_SKIN_PATH QApplication::applicationDirPath() + QString("/../share/rssguard/skins") #define APP_INFO_PATH QApplication::applicationDirPath() + QString("/../share/rssguard/information") #define APP_THEME_PATH QApplication::applicationDirPath() + QString("/../share/rssguard/icons") Index: rssguard-3.3.7/src/miscellaneous/localization.cpp =================================================================== --- rssguard-3.3.7.orig/src/miscellaneous/localization.cpp +++ rssguard-3.3.7/src/miscellaneous/localization.cpp @@ -43,7 +43,7 @@ void Localization::loadActiveLanguage() qDebug("Starting to load active localization. Desired localization is '%s'.", qPrintable(desired_localization)); - if (app_translator->load(QLocale(desired_localization), "rssguard", QSL("-"), APP_LANG_PATH)) { + if (app_translator->load(QLocale(desired_localization), "rssguard", QSL("_"), APP_LANG_PATH)) { const QString real_loaded_locale = app_translator->translate("QObject", "LANG_ABBREV"); Application::installTranslator(app_translator); @@ -59,7 +59,7 @@ void Localization::loadActiveLanguage() desired_localization = DEFAULT_LOCALE; } - if (qt_translator->load(QLocale(desired_localization), "qtbase", QSL("-"), APP_LANG_PATH)) { + if (qt_translator->load(QLocale(desired_localization), "qtbase", QSL("_"), APP_LANG_PATH)) { Application::installTranslator(qt_translator); qDebug("Qt localization '%s' loaded successfully.", qPrintable(desired_localization)); } @@ -78,7 +78,7 @@ QList<Language> Localization::installedL QTranslator translator; // Iterate all found language files. - foreach (const QFileInfo &file, file_dir.entryInfoList(QStringList() << "rssguard-*.qm", QDir::Files, QDir::Name)) { + foreach (const QFileInfo &file, file_dir.entryInfoList(QStringList() << "rssguard_*.qm", QDir::Files, QDir::Name)) { if (translator.load(file.absoluteFilePath())) { Language new_language; new_language.m_code = translator.translate("QObject", "LANG_ABBREV"); ++++++ rssguard-rpmlintrc ++++++ addFilter("script-without-shebang .*sql$")
