[Pkg-xfce-commits] r2491 - in desktop/branches/svn-snapshots/libxfcegui4/debian: . patches

ncommander-guest at alioth.debian.org ncommander-guest at alioth.debian.org
Tue Nov 4 20:15:38 UTC 2008


Author: ncommander-guest
Date: 2008-11-04 20:15:37 +0000 (Tue, 04 Nov 2008)
New Revision: 2491

Added:
   desktop/branches/svn-snapshots/libxfcegui4/debian/patches/02_fix-menu-icons.patch
Modified:
   desktop/branches/svn-snapshots/libxfcegui4/debian/changelog
   desktop/branches/svn-snapshots/libxfcegui4/debian/control
   desktop/branches/svn-snapshots/libxfcegui4/debian/patches/series
Log:
* debian/control:
  - Added myself to uploaders
* debian/patches/02_fix-menu-icons.patch:
  - Fixes Xfce #3614 which prevents icons with dots
    in them from properly showing up in the menu

Modified: desktop/branches/svn-snapshots/libxfcegui4/debian/changelog
===================================================================
--- desktop/branches/svn-snapshots/libxfcegui4/debian/changelog	2008-11-04 20:09:54 UTC (rev 2490)
+++ desktop/branches/svn-snapshots/libxfcegui4/debian/changelog	2008-11-04 20:15:37 UTC (rev 2491)
@@ -1,5 +1,6 @@
 libxfcegui4 (4.5.91-1) UNRELEASED; urgency=low
 
+  [ Yves-Alexis Perez ]
   [ Xfce 4.6 Alpha “Pinkie”]
   * debian/libxfcegui4-4.shlibs: updated shlibs to 4.5.90.
   * debian/rules:
@@ -24,8 +25,15 @@
   * debian/rules:
     - be explicit on configure flags.
 
- -- Yves-Alexis Perez <corsac at debian.org>  Mon, 13 Oct 2008 08:32:34 +0200
+  [ Michael Casadevall ]
+  * debian/control:
+    - Added myself to uploaders
+  * debian/patches/02_fix-menu-icons.patch:
+    - Fixes Xfce #3614 which prevents icons with dots
+      in them from properly showing up in the menu
 
+ -- Michael Casadevall <sonicmctails at gmail.com>  Tue, 04 Nov 2008 15:07:59 -0500
+
 libxfcegui4 (4.4.2-4) unstable; urgency=low
 
   * another “brown paper bag” release.

Modified: desktop/branches/svn-snapshots/libxfcegui4/debian/control
===================================================================
--- desktop/branches/svn-snapshots/libxfcegui4/debian/control	2008-11-04 20:09:54 UTC (rev 2490)
+++ desktop/branches/svn-snapshots/libxfcegui4/debian/control	2008-11-04 20:15:37 UTC (rev 2491)
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Debian Xfce Maintainers <pkg-xfce-devel at lists.alioth.debian.org>
-Uploaders: Martin Loschwitz <madkiss at debian.org>, Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>, Yves-Alexis Perez <corsac at debian.org>
+Uploaders: Martin Loschwitz <madkiss at debian.org>, Emanuele Rocca <ema at debian.org>, Simon Huggins <huggie at earth.li>, Yves-Alexis Perez <corsac at debian.org>, Michael Casadevall <sonicmctails at gmail.com>
 Build-Depends: debhelper (>> 5.0.0), libgtk2.0-dev (>= 2.10.6), 
  libxfce4util-dev (>= 4.5.91), libstartup-notification0-dev, quilt,
  libglade2-dev, libgladeui-1-dev, intltool, chrpath

Added: desktop/branches/svn-snapshots/libxfcegui4/debian/patches/02_fix-menu-icons.patch
===================================================================
--- desktop/branches/svn-snapshots/libxfcegui4/debian/patches/02_fix-menu-icons.patch	                        (rev 0)
+++ desktop/branches/svn-snapshots/libxfcegui4/debian/patches/02_fix-menu-icons.patch	2008-11-04 20:15:37 UTC (rev 2491)
@@ -0,0 +1,42 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix-menu-icons.dpatch by  <gauvain at ulteo.com>
+##
+## DP: Allows the icon to show up even if there is a dot in its name
+## DP: Fixes Xfce #3614
+
+ at DPATCH@
+diff -urNad libxfcegui4-4.4.2-4ubuntu1~/libxfcegui4/icons.c libxfcegui4-4.4.2-4ubuntu1/libxfcegui4/icons.c
+--- libxfcegui4-4.4.2-4ubuntu1~/libxfcegui4/icons.c	2008-05-05 00:45:52.000000000 +0200
++++ libxfcegui4-4.4.2-4ubuntu1/libxfcegui4/icons.c	2008-05-08 21:12:07.000000000 +0200
+@@ -143,8 +143,12 @@
+     ensure_gtk_icon_theme();
+ 
+     /* GtkIconTheme doesn't like extensions */
+-    if((p = g_strrstr(name, ".")) && strlen(p) < 6)
+-        name_fixed = g_strndup(name, p-name);
++    if (g_str_has_suffix (name, ".png") || g_str_has_suffix (name, ".svg")
++        || g_str_has_suffix (name, ".xpm"))
++    {
++        if((p = g_strrstr(name, ".")) && strlen(p) < 6)
++            name_fixed = g_strndup(name, p-name);
++    }
+     
+     pix = gtk_icon_theme_load_icon(icon_theme, name_fixed ? name_fixed : name,
+                                    size,
+@@ -221,9 +225,13 @@
+     ensure_gtk_icon_theme();
+     
+     /* GtkIconTheme doesn't like extensions */
+-    if((p = g_strrstr(name, ".")) && strlen(p) < 6)
+-        name_fixed = g_strndup(name, p-name);
+-    
++    if (g_str_has_suffix (name, ".png") || g_str_has_suffix (name, ".svg")
++        || g_str_has_suffix (name, ".xpm"))
++    {   
++        if((p = g_strrstr(name, ".")) && strlen(p) < 6)
++            name_fixed = g_strndup(name, p-name);
++    }   
++ 
+     info = gtk_icon_theme_lookup_icon(icon_theme,
+                                       name_fixed ? name_fixed : name,
+                                       size, 0);

Modified: desktop/branches/svn-snapshots/libxfcegui4/debian/patches/series
===================================================================
--- desktop/branches/svn-snapshots/libxfcegui4/debian/patches/series	2008-11-04 20:09:54 UTC (rev 2490)
+++ desktop/branches/svn-snapshots/libxfcegui4/debian/patches/series	2008-11-04 20:15:37 UTC (rev 2491)
@@ -1 +1,2 @@
 01_xfce-exec-use-thunar.patch
+02_fix-menu-icons.patch




More information about the Pkg-xfce-commits mailing list