Hello community, here is the log from the commit of package plymouth for openSUSE:Factory checked in at 2018-04-20 17:23:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plymouth (Old) and /work/SRC/openSUSE:Factory/.plymouth.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plymouth" Fri Apr 20 17:23:39 2018 rev:59 rq:597605 version:0.9.3+git20171220.6e9e95d Changes: -------- --- /work/SRC/openSUSE:Factory/plymouth/plymouth.changes 2018-01-25 12:37:54.034058548 +0100 +++ /work/SRC/openSUSE:Factory/.plymouth.new/plymouth.changes 2018-04-20 17:23:44.339008275 +0200 @@ -1,0 +2,8 @@ +Wed Apr 11 12:44:36 UTC 2018 - [email protected] + +- Modify 0001-Add-label-ft-plugin.patch to fix problems with + multiline text (bsc#1083695) + * to prevent infinite loop newline characters need to be skipped +- Use %license instead of %doc [bsc#1082318] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plymouth.spec ++++++ --- /var/tmp/diff_new_pack.e8XiH1/_old 2018-04-20 17:23:45.274974338 +0200 +++ /var/tmp/diff_new_pack.e8XiH1/_new 2018-04-20 17:23:45.278974193 +0200 @@ -24,9 +24,9 @@ Version: 0.9.3+git20171220.6e9e95d Release: 0 Summary: Graphical Boot Animation and Logger -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Base -Url: http://freedesktop.org/software/plymouth/releases +URL: http://freedesktop.org/software/plymouth/releases # Switched to git snapshot to ease bugfix inclusion Source0: %{name}-%{version}.tar.xz Source1: boot-duration @@ -491,7 +491,8 @@ %files %defattr(-, root, root) -%doc AUTHORS NEWS README COPYING +%license COPYING +%doc AUTHORS NEWS README %dir %{_datadir}/plymouth %dir %{_datadir}/plymouth/themes %dir %{_datadir}/plymouth/themes/details ++++++ 0001-Add-label-ft-plugin.patch ++++++ --- /var/tmp/diff_new_pack.e8XiH1/_old 2018-04-20 17:23:45.298973468 +0200 +++ /var/tmp/diff_new_pack.e8XiH1/_new 2018-04-20 17:23:45.302973323 +0200 @@ -113,7 +113,7 @@ index 0000000..06fe73e --- /dev/null +++ b/src/plugins/controls/label-ft/plugin.c -@@ -0,0 +1,501 @@ +@@ -0,0 +1,507 @@ +/* ply-label.c - label control + * + * Copyright (C) 2008 Red Hat, Inc. @@ -316,6 +316,9 @@ + label->area.height += (label->face->size->metrics.ascender - label->face->size->metrics.descender) >> 6; + + text = strchr (text, '\n'); ++ /* skip newline character */ ++ if (text) ++ ++text; + } + + /* If centered, area.x is not the origin anymore */ @@ -457,6 +460,9 @@ + + ++cur_c; + } ++ /* skip newline character */ ++ if (*cur_c) ++ ++cur_c; + + /* Next line */ + pen.y += label->face->size->metrics.height;
