From b629ca8adf82b0b01e8ffadbc6d0813651eb9bed Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 20 Apr 2012 18:03:17 +0200 Subject: [PATCH] Replace logomarks with plain text (#814220) (cherry picked from commit 201234bfe147284b1086bdbf62f1960014ee6076) --- gnome-devel-docs-3.4.1-logos-removal.patch | 44 ++++++++++++++++++++++ gnome-devel-docs.spec | 21 ++++++++++- 2 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 gnome-devel-docs-3.4.1-logos-removal.patch diff --git a/gnome-devel-docs-3.4.1-logos-removal.patch b/gnome-devel-docs-3.4.1-logos-removal.patch new file mode 100644 index 0000000..a2f7eb0 --- /dev/null +++ b/gnome-devel-docs-3.4.1-logos-removal.patch @@ -0,0 +1,44 @@ +diff -up gnome-devel-docs-3.4.1/platform-demos/C/getting-ready.page.bak gnome-devel-docs-3.4.1/platform-demos/C/getting-ready.page +--- gnome-devel-docs-3.4.1/platform-demos/C/getting-ready.page.bak 2012-04-16 20:18:02.000000000 +0200 ++++ gnome-devel-docs-3.4.1/platform-demos/C/getting-ready.page 2012-04-20 17:43:41.000000000 +0200 +@@ -37,17 +37,17 @@ Click on the image to go directly to the + +

+ +- Ubuntu ++ Ubuntu +

+
+

+ +- Fedora ++ Fedora +

+
+

+ +- OpenSuSE ++ OpenSuSE +

+
+

Others

+diff -up gnome-devel-docs-3.4.1/platform-demos/Makefile.am.bak gnome-devel-docs-3.4.1/platform-demos/Makefile.am +--- gnome-devel-docs-3.4.1/platform-demos/Makefile.am.bak 2012-04-16 19:54:23.000000000 +0200 ++++ gnome-devel-docs-3.4.1/platform-demos/Makefile.am 2012-04-20 17:49:52.000000000 +0200 +@@ -29,8 +29,6 @@ DOC_FIGURES = \ + media/button_with_progress_bar.png \ + media/dialog.png \ + media/entry.png \ +- media/fedora.png \ +- media/opensuse.png \ + media/GtkApplication.png \ + media/guitar-tuner.png \ + media/guitar-tuner-glade.png \ +@@ -44,7 +42,6 @@ DOC_FIGURES = \ + media/photo-wall-focused.png \ + media/record-collection.png \ + media/toolbar.png \ +- media/ubuntu.png \ + media/weatherAppJs.png \ + media/window.png \ + $(demo_sources) diff --git a/gnome-devel-docs.spec b/gnome-devel-docs.spec index f40277a..8dd8419 100644 --- a/gnome-devel-docs.spec +++ b/gnome-devel-docs.spec @@ -1,7 +1,7 @@ Summary: GNOME developer documentation Name: gnome-devel-docs Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GFDL Group: System Environment/Libraries URL: http://library.gnome.org @@ -13,6 +13,11 @@ BuildRequires: rarian-compat BuildRequires: docbook-utils BuildRequires: gettext +# Logomarks should be removed and replaced with text +# https://bugzilla.redhat.com/show_bug.cgi?id=814220 +Patch0: gnome-devel-docs-3.4.1-logos-removal.patch +BuildRequires: automake autoconf + %description This package contains documents which are targeted for GNOME developers. It contains, e.g., the Human Interface Guidelines, the Integration Guide @@ -20,10 +25,19 @@ and the Platform Overview. %prep %setup -q +%patch0 -p1 -b .logos-removal +rm -f platform-demos/media/fedora.png +rm -f platform-demos/media/opensuse.png +rm -f platform-demos/media/ubuntu.png %build +aclocal || : +autoheader || : +automake || : +autoconf || : + %configure -make +make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT @@ -35,6 +49,9 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc README AUTHORS NEWS COPYING %changelog +* Fri Apr 20 2012 Tomas Bzatek - 3.4.1-2 +- Replace logomarks with plain text (#814220) + * Tue Apr 17 2012 Kalev Lember - 3.4.1-1 - Update to 3.4.1