[zukitwo] Add abattis-cantarell-fonts and google-droid-sans-fonts as requirements for gnome-shell-theme-zukitw

odysseus odysseus at fedoraproject.org
Tue Jun 5 04:28:16 UTC 2012


commit 7fc7eceea11819203b68a7713991a1c46dd9e518
Author: Mattia Meneguzzo <odysseus at fedoraproject.org>
Date:   Tue Jun 5 06:25:31 2012 +0200

    Add abattis-cantarell-fonts and google-droid-sans-fonts as requirements for gnome-shell-theme-zukitwo; add a patch to remove Ubuntu from font-family in gnome-shell.css and to add Cantarell instead.

 zukitwo-20120602-fonts.patch |   11 +++++++++++
 zukitwo.spec                 |   13 +++++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/zukitwo-20120602-fonts.patch b/zukitwo-20120602-fonts.patch
new file mode 100644
index 0000000..1dc3f43
--- /dev/null
+++ b/zukitwo-20120602-fonts.patch
@@ -0,0 +1,11 @@
+--- gnome-shell.css.orig	2012-06-05 06:07:04.904597486 +0200
++++ gnome-shell.css	2012-06-05 06:07:31.820488962 +0200
+@@ -21,7 +21,7 @@
+ 
+ /* default text style */
+ stage {
+-	font-family: Ubuntu, Droid Sans, sans-serif;
++	font-family: Droid Sans, Cantarell, sans-serif;
+ 	font-size: 9pt; 
+ 	color: white;
+ }
diff --git a/zukitwo.spec b/zukitwo.spec
index 4737e02..68ffc6c 100644
--- a/zukitwo.spec
+++ b/zukitwo.spec
@@ -5,7 +5,7 @@
 
 Name:           zukitwo
 Version:        20120602
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Themes for GTK+2, GTK+3, Metacity, GNOME Shell and Xfwm4
 Group:          User Interface/Desktops
 
@@ -13,6 +13,10 @@ License:        GPLv3
 URL:            http://%{author}.deviantart.com/art/%{theme_name}-%{deviantart_id}
 Source0:        http://www.deviantart.com/download/%{deviantart_id}/%{name}_by_%{author}-%{tag}.zip
 
+# This patch removes "Ubuntu" from "font-family" in gnome-shell.css (and adds 
+# "Cantarell" instead), because the Ubuntu font is not available in Fedora. 
+Patch0:         zukitwo-20120602-fonts.patch
+
 BuildArch:      noarch      
 
 %description
@@ -50,7 +54,7 @@ Themes for Metacity as part of the Zukitwo theme.
 %package -n gnome-shell-theme-%{name}
 Summary:        Zukitwo GNOME Shell theme
 Group:          User Interface/Desktops
-Requires:       gnome-shell-extension-user-theme >= 3.4
+Requires:       abattis-cantarell-fonts gnome-shell-extension-user-theme >= 3.4 google-droid-sans-fonts
 
 %description -n gnome-shell-theme-%{name}
 Zukitwo GNOME Shell theme.
@@ -67,6 +71,7 @@ Themes for Xfwm4 as part of the Zukitwo theme.
 
 %prep
 %setup -q -c -n %{name}_by_%{author}-%{tag}
+%patch0 -p0
 
 # Remove "Thumbs.db" files
 find . -name Thumbs.db -type f -exec rm -f '{}' \;
@@ -127,6 +132,10 @@ cp -pr Zukitwo-Shell/gnome-shell/* %{buildroot}%{_datadir}/themes/Zukitwo-Shell/
 
 
 %changelog
+* Tue Jun 05 2012 Mattia Meneguzzo <odysseus at fedoraproject.org> - 20120602-2
+- Add abattis-cantarell-fonts and google-droid-sans-fonts as requirements for gnome-shell-theme-zukitwo
+- Add a patch to remove "Ubuntu" from "font-family" in gnome-shell.css and to add "Cantarell" instead
+
 * Sun Jun 03 2012 Mattia Meneguzzo <odysseus at fedoraproject.org> - 20120602-1
 - Update to latest upstream version
 - Change "License" from "GPLv3+" to "GPLv3" in Spec file


More information about the scm-commits mailing list