Hello community, here is the log from the commit of package gnome-font-viewer for openSUSE:Factory checked in at 2016-10-03 09:33:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-font-viewer (Old) and /work/SRC/openSUSE:Factory/.gnome-font-viewer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-font-viewer" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-font-viewer/gnome-font-viewer.changes 2016-09-21 18:40:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-font-viewer.new/gnome-font-viewer.changes 2016-10-03 09:33:43.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Sep 23 00:36:00 UTC 2016 - [email protected] + +- Add gnome-font-viewer-only-show-scalable-fonts.patch: Only show + fonts that makes sense and are modern. +- Conditionally apply translations-update-upstream BuildRequires + and macro for non-openSUSE only. + +------------------------------------------------------------------- New: ---- gnome-font-viewer-only-show-scalable-fonts.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-font-viewer.spec ++++++ --- /var/tmp/diff_new_pack.nXgqVA/_old 2016-10-03 09:33:44.000000000 +0200 +++ /var/tmp/diff_new_pack.nXgqVA/_new 2016-10-03 09:33:44.000000000 +0200 @@ -24,8 +24,12 @@ Group: System/GUI/GNOME Url: http://download.gnome.org/sources/gnome-font-viewer Source: http://download.gnome.org/sources/gnome-font-viewer/3.22/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gnome-font-viewer-only-show-scalable-fonts.patch [email protected] -- Only show fonts that makes sense and modern. +Patch0: gnome-font-viewer-only-show-scalable-fonts.patch BuildRequires: intltool +%if !0%{?is_opensuse} BuildRequires: translation-update-upstream +%endif BuildRequires: update-desktop-files BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) @@ -44,7 +48,10 @@ %lang_package %prep %setup -q +%patch0 -p1 +%if !0%{?is_opensuse} translation-update-upstream +%endif %build %configure ++++++ gnome-font-viewer-only-show-scalable-fonts.patch ++++++ >From 9a1e1fe82f978d88be6d0410866b16c0b6527695 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro <[email protected]> Date: Thu, 22 Sep 2016 18:10:57 -0500 Subject: [PATCH] model: Only show scalable fonts Although arguably font-viewer should show all fonts installed on the system, some distros have some questionable fonts and displaying them all makes font-viewer look really bad. --- src/font-model.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/font-model.c b/src/font-model.c index f49ff8f..0dc7c5f 100644 --- a/src/font-model.c +++ b/src/font-model.c @@ -495,6 +495,7 @@ ensure_font_list (FontViewModel *self) self->priv->font_list = NULL; } + FcPatternAddBool (pat, FC_SCALABLE, FcTrue); self->priv->font_list = FcFontList (NULL, pat, os); g_mutex_unlock (&self->priv->font_list_mutex); -- 2.7.4
