[light-themes/f16] First import

Mohamed ElMorabity melmorabity at fedoraproject.org
Tue Nov 29 19:57:05 UTC 2011


commit ec3e4fe1dd63dad02ad50f7fedeb435531d08a86
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Tue Nov 29 20:57:02 2011 +0100

    First import

 .gitignore                           |    1 +
 light-themes-0.1.8.25-icons.patch    |   22 ++++++
 light-themes-0.1.8.25-metacity.patch |  114 +++++++++++++++++++++++++++++
 light-themes-0.1.8.25-mouse.patch    |   20 +++++
 light-themes.spec                    |  133 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 6 files changed, 291 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fb04cf5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/light-themes_0.1.8.25.tar.gz
diff --git a/light-themes-0.1.8.25-icons.patch b/light-themes-0.1.8.25-icons.patch
new file mode 100644
index 0000000..6c45f4c
--- /dev/null
+++ b/light-themes-0.1.8.25-icons.patch
@@ -0,0 +1,22 @@
+diff -up light-themes-0.1.8.25/Ambiance/index.theme.orig light-themes-0.1.8.25/Ambiance/index.theme
+--- light-themes-0.1.8.25/Ambiance/index.theme.orig	2011-10-13 01:45:30.833381844 +0200
++++ light-themes-0.1.8.25/Ambiance/index.theme	2011-10-13 01:47:18.802776898 +0200
+@@ -7,6 +7,6 @@ Encoding=UTF-8
+ [X-GNOME-Metatheme]
+ GtkTheme=Ambiance
+ MetacityTheme=Ambiance
+-IconTheme=ubuntu-mono-dark
++IconTheme=Monochrome-dark
+ CursorTheme=dmz
+ ButtonLayout=close,minimize,maximize:
+diff -up light-themes-0.1.8.25/Radiance/index.theme.orig light-themes-0.1.8.25/Radiance/index.theme
+--- light-themes-0.1.8.25/Radiance/index.theme.orig	2011-10-13 01:45:30.834381802 +0200
++++ light-themes-0.1.8.25/Radiance/index.theme	2011-10-13 01:47:07.727249275 +0200
+@@ -7,6 +7,6 @@ Encoding=UTF-8
+ [X-GNOME-Metatheme]
+ GtkTheme=Radiance
+ MetacityTheme=Radiance
+-IconTheme=ubuntu-mono-light
++IconTheme=Monochrome-light
+ CursorTheme=dmz
+ ButtonLayout=close,minimize,maximize:
diff --git a/light-themes-0.1.8.25-metacity.patch b/light-themes-0.1.8.25-metacity.patch
new file mode 100644
index 0000000..65aeccd
--- /dev/null
+++ b/light-themes-0.1.8.25-metacity.patch
@@ -0,0 +1,114 @@
+diff -up light-themes-0.1.8.25/Ambiance/metacity-1/metacity-theme-1.xml.orig light-themes-0.1.8.25/Ambiance/metacity-1/metacity-theme-1.xml
+--- light-themes-0.1.8.25/Ambiance/metacity-1/metacity-theme-1.xml.orig	2011-09-20 18:02:50.000000000 +0200
++++ light-themes-0.1.8.25/Ambiance/metacity-1/metacity-theme-1.xml	2011-09-23 01:09:03.396777777 +0200
+@@ -414,8 +414,6 @@
+   <button function="close" state="normal" draw_ops="close_focused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
+-  <shadow radius="8.0" opacity="0.75" color="#abde4f" x_offset="1" y_offset="4"/>
+-  <padding left="7" right="7" bottom="7"/>
+ </frame_style>
+ 
+ <frame_style name="normal_unfocused" geometry="frame_geometry_normal">
+@@ -454,8 +452,6 @@
+   <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
+-  <shadow radius="8.0" opacity="0.5" color="#abde4f" x_offset="1" y_offset="4"/>
+-  <padding left="7" right="7" bottom="7"/>
+ </frame_style>
+ 
+ <frame_style name="maximized_focused" geometry="geometry_maximized" parent="normal_focused">
+@@ -464,8 +460,6 @@
+   <button function="maximize" state="normal" draw_ops="unmaximize_focused_normal"/>
+   <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
+   <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
+-  <shadow radius="0.0" opacity="0.0" color="#000000" x_offset="0" y_offset="0"/>
+-  <padding left="0" right="0" bottom="0"/>
+ </frame_style>
+ 
+ <frame_style name="maximized_unfocused" geometry="geometry_maximized" parent="normal_unfocused">
+@@ -474,8 +468,6 @@
+   <button function="maximize" state="normal" draw_ops="unmaximize_unfocused_normal"/>
+   <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
+   <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
+-  <shadow radius="0.0" opacity="0.0" color="#000000" x_offset="0" y_offset="0"/>
+-  <padding left="0" right="0" bottom="0"/>
+ </frame_style>
+ 
+ <frame_style name="utility_focused" parent="normal_focused">
+@@ -489,8 +481,6 @@
+   <button function="close" state="normal" draw_ops="close_focused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
+-  <shadow radius="8.0" opacity="0.3" color="#abde4f" x_offset="1" y_offset="1"/>
+-  <padding left="2" right="2" bottom="2"/>
+ </frame_style>
+ 
+ <frame_style name="utility_unfocused" parent="normal_unfocused">
+@@ -504,8 +494,6 @@
+   <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
+-  <shadow radius="8.0" opacity="0.3" color="#abde4f" x_offset="1" y_offset="1"/>
+-  <padding left="2" right="2" bottom="2"/>
+ </frame_style>
+ 
+ <frame_style name="border" geometry="border" parent="normal_focused">
+diff -up light-themes-0.1.8.25/Radiance/metacity-1/metacity-theme-1.xml.orig light-themes-0.1.8.25/Radiance/metacity-1/metacity-theme-1.xml
+--- light-themes-0.1.8.25/Radiance/metacity-1/metacity-theme-1.xml.orig	2011-09-20 18:02:50.000000000 +0200
++++ light-themes-0.1.8.25/Radiance/metacity-1/metacity-theme-1.xml	2011-09-23 01:09:12.842777167 +0200
+@@ -410,8 +410,6 @@
+   <button function="close" state="normal" draw_ops="close_focused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
+-  <shadow radius="8.0" opacity="0.75" color="#abde4f" x_offset="1" y_offset="4"/>
+-  <padding left="7" right="7" bottom="7"/>
+ </frame_style>
+ 
+ <frame_style name="normal_unfocused" geometry="frame_geometry_normal">
+@@ -450,8 +448,6 @@
+   <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
+-  <shadow radius="8.0" opacity="0.5" color="#abde4f" x_offset="1" y_offset="4"/>
+-  <padding left="7" right="7" bottom="7"/>
+ </frame_style>
+ 
+ <frame_style name="maximized_focused" geometry="geometry_maximized" parent="normal_focused">
+@@ -460,8 +456,6 @@
+   <button function="maximize" state="normal" draw_ops="unmaximize_focused_normal"/>
+   <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
+   <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
+-  <shadow radius="0.0" opacity="0.0" color="#000000" x_offset="0" y_offset="0"/>
+-  <padding left="0" right="0" bottom="0"/>
+ </frame_style>
+ 
+ <frame_style name="maximized_unfocused" geometry="geometry_maximized" parent="normal_unfocused">
+@@ -470,8 +464,6 @@
+   <button function="maximize" state="normal" draw_ops="unmaximize_unfocused_normal"/>
+   <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
+   <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
+-  <shadow radius="0.0" opacity="0.0" color="#000000" x_offset="0" y_offset="0"/>
+-  <padding left="0" right="0" bottom="0"/>
+ </frame_style>
+ 
+ <frame_style name="utility_focused" parent="normal_focused">
+@@ -485,8 +477,6 @@
+   <button function="close" state="normal" draw_ops="close_focused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
+-  <shadow radius="8.0" opacity="0.3" color="#abde4f" x_offset="1" y_offset="1"/>
+-  <padding left="2" right="2" bottom="2"/>
+ </frame_style>
+ 
+ <frame_style name="utility_unfocused" parent="normal_unfocused">
+@@ -500,8 +490,6 @@
+   <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
+   <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
+   <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
+-  <shadow radius="8.0" opacity="0.3" color="#abde4f" x_offset="1" y_offset="1"/>
+-  <padding left="2" right="2" bottom="2"/>
+ </frame_style>
+ 
+ <frame_style name="border" geometry="border" parent="normal_focused">
diff --git a/light-themes-0.1.8.25-mouse.patch b/light-themes-0.1.8.25-mouse.patch
new file mode 100644
index 0000000..e58e61f
--- /dev/null
+++ b/light-themes-0.1.8.25-mouse.patch
@@ -0,0 +1,20 @@
+diff -up light-themes-0.1.8.25/Ambiance/index.theme.orig light-themes-0.1.8.25/Ambiance/index.theme
+--- light-themes-0.1.8.25/Ambiance/index.theme.orig	2011-09-20 18:02:50.000000000 +0200
++++ light-themes-0.1.8.25/Ambiance/index.theme	2011-10-05 02:19:30.480065059 +0200
+@@ -8,5 +8,5 @@ Encoding=UTF-8
+ GtkTheme=Ambiance
+ MetacityTheme=Ambiance
+ IconTheme=ubuntu-mono-dark
+-CursorTheme=DMZ-White
++CursorTheme=dmz
+ ButtonLayout=close,minimize,maximize:
+diff -up light-themes-0.1.8.25/Radiance/index.theme.orig light-themes-0.1.8.25/Radiance/index.theme
+--- light-themes-0.1.8.25/Radiance/index.theme.orig	2011-09-20 18:02:50.000000000 +0200
++++ light-themes-0.1.8.25/Radiance/index.theme	2011-10-05 02:19:30.486065059 +0200
+@@ -8,5 +8,5 @@ Encoding=UTF-8
+ GtkTheme=Radiance
+ MetacityTheme=Radiance
+ IconTheme=ubuntu-mono-light
+-CursorTheme=DMZ-White
++CursorTheme=dmz
+ ButtonLayout=close,minimize,maximize:
diff --git a/light-themes.spec b/light-themes.spec
new file mode 100644
index 0000000..f493e7a
--- /dev/null
+++ b/light-themes.spec
@@ -0,0 +1,133 @@
+Name:           light-themes
+Version:        0.1.8.25
+Release:        4%{?dist}
+Summary:        Light Themes (Ambiance and Radiance)
+
+Group:          User Interface/Desktops
+License:        CC-BY-SA
+URL:            https://launchpad.net/light-themes/
+Source0:        https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}.tar.gz
+# Remove <shadow> and <padding> tags from metacity-theme-1.xml files, not
+# supported by GNOME Shell (see
+# https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/850060)
+Patch0:         %{name}-0.1.8.25-metacity.patch
+# Fix DMZ cursor theme name in index.theme files (named "DMZ-White" in Ubuntu,
+# "dmz" in Fedora)
+Patch1:         %{name}-0.1.8.25-mouse.patch
+# Fix Ubuntu icon dependency theme in index.theme files (theme named
+# "Monochrome" in Fedora)
+Patch2:         %{name}-0.1.8.25-icons.patch
+
+BuildArch:      noarch
+
+%description
+Includes matching Ambiance and Radiance themes
+* Ambiance is a light-on-dark theme
+* Radiance is a dark-on-light theme
+Introduced as the default themes in Ubuntu 10.04 LTS.
+
+
+%package -n light-theme-gnome
+Summary:        Ambiance and Radiance GTK+2 themes
+Group:          User Interface/Desktops
+Requires:       dmz-cursor-themes
+Requires:       light-gtk2-theme = %{version}-%{release}
+Requires:       light-gtk3-theme = %{version}-%{release}
+Requires:       light-metacity-theme = %{version}-%{release}
+Requires:       monochrome-icon-theme
+
+%description -n light-theme-gnome
+Includes matching Ambiance and Radiance themes
+* Ambiance is a light-on-dark theme
+* Radiance is a dark-on-light theme
+Introduced as the default themes in Ubuntu 10.04 LTS.
+
+
+%package -n light-gtk2-theme
+Summary:        Ambiance and Radiance GTK+2 themes
+Group:          User Interface/Desktops
+Requires:       gtk-murrine-engine
+
+%description -n light-gtk2-theme
+Themes for GTK2 as part of the Light GNOME theme.
+* Ambiance is a light-on-dark theme
+* Radiance is a dark-on-light theme
+
+
+%package -n light-gtk3-theme
+Summary:        Ambiance and Radiance GTK+3 themes
+Group:          User Interface/Desktops
+Requires:       gtk-unico-engine
+
+%description -n light-gtk3-theme
+Themes for GTK3 as part of the Light GNOME theme.
+* Ambiance is a light-on-dark theme
+* Radiance is a dark-on-light theme
+
+
+%package -n light-metacity-theme
+Summary:        Ambiance and Radiance Metacity themes
+Group:          User Interface/Desktops
+Requires:       metacity
+
+%description -n light-metacity-theme
+Themes for Metacity as part of the Light GNOME theme.
+* Ambiance is a light-on-dark theme
+* Radiance is a dark-on-light theme
+
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+
+%build
+
+
+%install
+install -dm 0755 $RPM_BUILD_ROOT%{_datadir}/themes/
+cp -a Ambiance/ Radiance/ $RPM_BUILD_ROOT%{_datadir}/themes/
+
+# Remove Unity theme files, since Unity is not (yet?) available for Fedora
+rm -r $RPM_BUILD_ROOT%{_datadir}/themes/*/unity/
+
+
+%files -n light-theme-gnome
+%{_datadir}/themes/*/index.theme
+
+
+%files -n light-gtk2-theme
+%doc debian/{changelog,copyright}
+%dir %{_datadir}/themes/*/
+%{_datadir}/themes/*/gtk-2.0/
+
+
+%files -n light-gtk3-theme
+%doc debian/{changelog,copyright}
+%dir %{_datadir}/themes/*/
+%{_datadir}/themes/*/gtk-3.0/
+
+
+%files -n light-metacity-theme
+%doc debian/{changelog,copyright}
+%dir %{_datadir}/themes/*/
+%{_datadir}/themes/*/metacity-1/
+
+
+%changelog
+* Tue Nov 29 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 0.1.8.25-4
+- Rename source RPM to light-themes
+- Split light-theme-gnome into four packages: light-metacity-theme,
+  light-gtk2-theme, light-gtk3-theme, light-theme-gnome
+- Remove useless Unity theme files
+
+* Sun Nov 20 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 0.1.8.25-3
+- Fix dependency on monochrome-icon-theme
+
+* Tue Oct 11 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 0.1.8.25-2
+- Fix dependency on mono-icon-theme
+
+* Sun Oct 09 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 0.1.8.25-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..2507246 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2c229c3444020f2db01607102aca5533  light-themes_0.1.8.25.tar.gz


More information about the scm-commits mailing list