Hello community, here is the log from the commit of package gramps for openSUSE:Factory checked in at 2015-08-14 14:46:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gramps (Old) and /work/SRC/openSUSE:Factory/.gramps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gramps" Changes: -------- --- /work/SRC/openSUSE:Factory/gramps/gramps.changes 2015-08-05 06:52:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gramps.new/gramps.changes 2015-08-14 14:46:12.000000000 +0200 @@ -1,0 +2,8 @@ +Wed Aug 12 17:38:19 UTC 2015 - dims...@opensuse.org + +- Add gramps-no-translations-check.patch: Disable gramps internal + test if localization files are available. As gramps is properly + packaged, we know where the translations are and don't want to + alert a user with annoying popups (boo#941490). + +------------------------------------------------------------------- New: ---- gramps-no-translations-check.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gramps.spec ++++++ --- /var/tmp/diff_new_pack.zsvgkB/_old 2015-08-14 14:46:13.000000000 +0200 +++ /var/tmp/diff_new_pack.zsvgkB/_new 2015-08-14 14:46:13.000000000 +0200 @@ -27,6 +27,8 @@ Group: Productivity/Other Url: http://www.gramps-project.org/ Source: http://downloads.sourceforge.net/project/gramps/Stable/4.2.0/%{name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE gramps-no-translations-check.patch boo#941490 dims...@opensuse.org -- Do not warn on missing translations +Patch0: gramps-no-translations-check.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: python3 @@ -54,6 +56,7 @@ %lang_package %prep %setup -q +%patch0 -p1 %build python3 setup.py build ++++++ gramps-no-translations-check.patch ++++++ Index: gramps-4.2.0/gramps/gui/grampsgui.py =================================================================== --- gramps-4.2.0.orig/gramps/gui/grampsgui.py +++ gramps-4.2.0/gramps/gui/grampsgui.py @@ -178,7 +178,8 @@ class Gramps(object): theme = Gtk.IconTheme.get_default() theme.append_search_path(IMAGE_DIR) - if lin() and glocale.lang != 'C' and not gettext.find(GTK_GETTEXT_DOMAIN): + # Disabled, as gramps/gettext fails to report correctly when bundle-lang packages are used (boo#941490) + if False and lin() and glocale.lang != 'C' and not gettext.find(GTK_GETTEXT_DOMAIN): LOG.warn("GTK translations missing, GUI will be broken, especially for RTL languages!") # Note: the warning dialog below will likely have wrong stock icons! # Translators: the current language will be the one you translate into.