[albatross] Update to 1.7.3

Kevin Fenzi kevin at fedoraproject.org
Fri Oct 3 18:39:49 UTC 2014


commit f3618a7d86190d5c9269e719a43a78d2c90d1673
Author: Kevin Fenzi <kevin at scrye.com>
Date:   Fri Oct 3 12:39:42 2014 -0600

    Update to 1.7.3
    
    - Apply patch for recent gtk3 changes. Thanks poma
    - Fixes bug #1139187

 .gitignore                     |    1 +
 albatross-1.7.3-gtk3-bug.patch |  146 ++++++++++++++++++++++++++++++++++++++++
 albatross.spec                 |   15 ++++-
 sources                        |    2 +-
 4 files changed, 161 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index add0abe..1ae942c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /shimmerproject-Albatross-v1.2-6-g6fead95.tar.gz
 /v1.5.tar.gz
+/v1.7.3.tar.gz
diff --git a/albatross-1.7.3-gtk3-bug.patch b/albatross-1.7.3-gtk3-bug.patch
new file mode 100644
index 0000000..f64cc4a
--- /dev/null
+++ b/albatross-1.7.3-gtk3-bug.patch
@@ -0,0 +1,146 @@
+
+Changes probably related to:
+
+- http://ftp.gnome.org/pub/gnome/sources/gtk+/3.13/gtk+-3.13.3.news
+  Overview of Changes in GTK+ 3.13.2 to 3.13.3
+  ============================================
+
+  ...
+  * Theming:
+   - Use client-side shadows for menus and tooltips
+
+- http://ftp.gnome.org/pub/GNOME/sources/gtk+/3.13/gtk+-3.13.7.news
+  Overview of Changes in GTK+ 3.13.6 to 3.13.7
+  ============================================
+
+  * To align better with css, button and menuitem subclasses now use a
+    :checked state to indicate their checkedness, instead of :active or
+    :selected.
+---
+ gtk-3.0/gtk-widgets.css | 93 +++++++++++++++++++++++++++++++++++++++----------
+ 1 file changed, 75 insertions(+), 18 deletions(-)
+
+diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css
+index 497358b..e4f6625 100644
+--- a/gtk-3.0/gtk-widgets.css
++++ b/gtk-3.0/gtk-widgets.css
+@@ -313,23 +313,73 @@ row:selected:focus {
+     color: @theme_selected_fg_color;
+ }
+ 
+-/*******************
+- * check and radio *
+- *******************/
+-.check,
+-.radio,
+-.check:insensitive,
+-.radio:insensitive {
+-    border-style: none;
+-    background-color: transparent;
+-}
+-
+-GtkCheckButton:hover,
+-GtkCheckButton:active:hover,
+-GtkCheckButton:selected,
+-GtkCheckButton:selected:focus {
+-    background-color: transparent;
+-}
++/*****************************************************************************************************
++ * Check and Radio items                                                                             *
++ * Related to recent gtk3 development, to reveal checkboxes as part of the dialogue                  *
++ * of some of the applications whose notification icons appear in the system tray                    *
++ * the reference section of the HighContrast theme is used.                                          *
++ * https://git.gnome.org/browse/gnome-themes-standard/tree/themes/HighContrast/gtk-3.0/gtk.css#n1398 *
++ *****************************************************************************************************/
++
++GtkCheckButton.text-button, GtkRadioButton.text-button {
++  padding: 1px;
++  outline-offset: 0; }
++
++.check {
++  color: rgba(0, 0, 0, 0.1);
++  background-image: none;
++  -gtk-icon-source: -gtk-icontheme("checkbox-symbolic"); }
++  .check:hover {
++    color: #7f7f7f; }
++  .check:checked, .check:active {
++    -gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic");
++    color: #000; }
++    .check:checked:hover, .check:active:hover {
++      color: #7f7f7f; }
++    .check:checked:insensitive, .check:active:insensitive {
++      color: #7f7f7f; }
++      .check:checked:insensitive:backdrop, .check:active:insensitive:backdrop {
++        color: #7f7f7f; }
++    .check:checked:backdrop, .check:active:backdrop {
++      color: #000; }
++  .check:insensitive {
++    color: rgba(127, 127, 127, 0.1); }
++    .check:insensitive:backdrop {
++      color: transparent; }
++  .check:inconsistent {
++    -gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); }
++  .check:backdrop {
++    color: rgba(0, 0, 0, 0.1); }
++    .check:backdrop:selected {
++      color: rgba(255, 255, 255, 0.1); }
++
++.radio {
++  color: rgba(0, 0, 0, 0.1);
++  background-image: none;
++  -gtk-icon-source: -gtk-icontheme("radio-symbolic"); }
++  .radio:hover {
++    color: #7f7f7f; }
++  .radio:checked, .radio:active {
++    -gtk-icon-source: -gtk-icontheme("radio-checked-symbolic");
++    color: #000; }
++    .radio:checked:hover, .radio:active:hover {
++      color: #7f7f7f; }
++    .radio:checked:insensitive, .radio:active:insensitive {
++      color: #7f7f7f; }
++      .radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop {
++        color: #7f7f7f; }
++    .radio:checked:backdrop, .radio:active:backdrop {
++      color: #000; }
++  .radio:insensitive {
++    color: rgba(127, 127, 127, 0.1); }
++    .radio:insensitive:backdrop {
++      color: transparent; }
++  .radio:inconsistent {
++    -gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); }
++  .radio:backdrop {
++    color: rgba(0, 0, 0, 0.1); }
++    .radio:backdrop:selected {
++      color: rgba(255, 255, 255, 0.1); }
+ 
+ /*****************
+  * column-header *
+@@ -3518,13 +3568,19 @@ GtkBubbleWindow .toolbar {
+     color: mix(@toolbar_fg_color, @toolbar_bg_color, 0.5);
+ }
+ 
++/****************************************************************************************
++ * Give and take related to recent gtk3 development,                                    *
++ * to achieve full size of the icon menu of some of the applications whose notification *
++ * icons appear in the system tray, the "shadow" is disabled.                           *
++ ****************************************************************************************/
++/*
+ .window-frame {
+     border-style: none;
+     border-radius: 2px 2px 0 0;
+     box-shadow: 0 3px 7px alpha(black, 0.7),
+                 0 0 0 1px alpha(black, 0.2);
+ 
+-    /* this is used for the resize cursor area */
++ * this is used for the resize cursor area
+     margin: 10px;
+ }
+ 
+@@ -3536,3 +3592,4 @@ GtkBubbleWindow .toolbar {
+     box-shadow: 0 3px 5px alpha(black, 0.5),
+                 0 0 0 1px alpha(black, 0.2);
+ }
++*/
+-- 
+2.1.0
+
diff --git a/albatross.spec b/albatross.spec
index 4dd258c..609cc5d 100644
--- a/albatross.spec
+++ b/albatross.spec
@@ -1,14 +1,19 @@
 %global theme_name     Albatross
 
 Name:           albatross
-Version:        1.5
-Release:        2%{?dist}
+Version:        1.7.3
+Release:        1%{?dist}
 Summary:        Desktop Suite for Xfce, GTK+ 2 and 3
 
 License:        GPLv2+ or CC-BY-SA
 URL:            http://shimmerproject.org/project/%{name}/
 
 Source0:        https://github.com/shimmerproject/%{theme_name}/archive/v%{version}.tar.gz
+#
+# Patch for bug 1139187
+# Upstream is redoing gtk3 support entirely, drop this patch when that lands. 
+#
+Patch0:         albatross-1.7.3-gtk3-bug.patch
 
 
 BuildArch:      noarch
@@ -58,6 +63,7 @@ Themes for Xfce4 notifyd as part of the Albatross theme.
 %prep
 %setup -q -n %{theme_name}-%{version}
 
+%patch0 -p1
 
 
 %build
@@ -94,6 +100,11 @@ cp -pr gtk-2.0/ gtk-3.0/ metacity-1/ xfwm4/ %{buildroot}%{_datadir}/themes/%{the
 
 
 %changelog
+* Fri Oct 03 2014 Kevin Fenzi <kevin at scrye.com> 1.7.3-1
+- Update to 1.7.3
+- Apply patch for recent gtk3 changes. Thanks poma
+- Fixes bug #1139187
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 6180ea1..f0a8537 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a9b419c1caf52c657b07d24345222649  v1.5.tar.gz
+0e2b1dc02061c5b455d5a140150d249d  v1.7.3.tar.gz


More information about the scm-commits mailing list