From ee436add9e1b8fc32bc698c2f0058fb08544ddc6dd9e17c9b3edba27917b9a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 25 Oct 2013 16:54:14 +0000 Subject: [PATCH] Accepting request 204802 from Base:System - Add upstream patch 0001-analyze-set-white-background.patch to make SVG output of systemd analyze readable OBS-URL: https://build.opensuse.org/request/show/204802 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=165 --- 0001-analyze-set-white-background.patch | 32 +++++++++++++++++++++++++ systemd.changes | 7 ++++++ systemd.spec | 3 +++ 3 files changed, 42 insertions(+) create mode 100644 0001-analyze-set-white-background.patch diff --git a/0001-analyze-set-white-background.patch b/0001-analyze-set-white-background.patch new file mode 100644 index 00000000..89062844 --- /dev/null +++ b/0001-analyze-set-white-background.patch @@ -0,0 +1,32 @@ +From 418e37506e6a419a808a82081ca1616caa03a206 Mon Sep 17 00:00:00 2001 +From: Thomas Hindoe Paaboel Andersen +Date: Mon, 21 Oct 2013 19:29:23 +0000 +Subject: analyze: set white backgound + +In programs like eog and gimp the transparant background did not +look very good. + +https://bugs.freedesktop.org/show_bug.cgi?id=70720 +--- +diff --git a/src/analyze/systemd-analyze.c b/src/analyze/systemd-analyze.c +index 26769d6..0cc4de7 100644 +--- a/src/analyze/systemd-analyze.c ++++ b/src/analyze/systemd-analyze.c +@@ -507,6 +507,7 @@ static int analyze_plot(DBusConnection *bus) { + /* style sheet */ + svg("\n \n\n\n"); + ++ svg("\n"); + svg("%s", pretty_times); + svg("%s %s (%s %s) %s", + isempty(osname) ? "Linux" : osname, +-- +cgit v0.9.0.2-2-gbebe diff --git a/systemd.changes b/systemd.changes index b6e13fc9..cce0aeb4 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Oct 25 12:12:48 UTC 2013 - werner@suse.de + +- Add upstream patch + 0001-analyze-set-white-background.patch + to make SVG output of systemd analyze readable + ------------------------------------------------------------------- Mon Oct 21 09:27:36 UTC 2013 - werner@suse.de diff --git a/systemd.spec b/systemd.spec index e66c721d..4231ba9f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -234,6 +234,8 @@ Patch76: 0001-drop-ins-check-return-value.patch Patch77: 0001-shared-util-Fix-glob_extend-argument.patch # PATCH-FIX-UPSTREAM 0001-Fix-bad-assert-in-show_pid_array.patch fcrozat@suse.com -- Fix bad assert in show_pid_array Patch78: 0001-Fix-bad-assert-in-show_pid_array.patch +# PATCH-FIX-UPSTREAM 0001-analyze-set-white-background.patch werner@suse.com -- Make background of systemd-analyze SVG white +Patch79: 0001-analyze-set-white-background.patch # udev patches # PATCH-FIX-OPENSUSE 1001-re-enable-by_path-links-for-ata-devices.patch @@ -512,6 +514,7 @@ cp %{SOURCE7} m4/ %patch76 -p1 %patch77 -p1 %patch78 -p1 +%patch79 -p1 # udev patches %patch1001 -p1