[packages/xfce4-panel] - use icons from xfce4-session as fallback - rel 2

baggins baggins at pld-linux.org
Thu Aug 29 23:53:12 CEST 2019


commit 6c1a2f74c3c98211f4d4b334b5efd43d274d0019
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Aug 29 23:53:31 2019 +0200

    - use icons from xfce4-session as fallback
    - rel 2

 fallback-icons.patch | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 xfce4-panel.spec     |  4 ++-
 2 files changed, 77 insertions(+), 1 deletion(-)
---
diff --git a/xfce4-panel.spec b/xfce4-panel.spec
index 6686a94..0410a82 100644
--- a/xfce4-panel.spec
+++ b/xfce4-panel.spec
@@ -3,11 +3,12 @@ Summary:	Next generation panel for Xfce
 Summary(pl.UTF-8):	Panel nowej generacji dla Xfce
 Name:		xfce4-panel
 Version:	4.14.0
-Release:	1
+Release:	2
 License:	GPL v2, LGPL v2
 Group:		X11/Applications
 Source0:	http://archive.xfce.org/src/xfce/xfce4-panel/4.14/%{name}-%{version}.tar.bz2
 # Source0-md5:	940e8b430e28093a2e56e390055bcd51
+Patch0:		fallback-icons.patch
 URL:		http://www.xfce.org/projects/xfce4-panel
 BuildRequires:	dbus-glib-devel >= 0.73
 BuildRequires:	docbook-dtd412-xml
@@ -97,6 +98,7 @@ Pliki nagłówkowe do budowania wtyczek panelu Xfce.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \
diff --git a/fallback-icons.patch b/fallback-icons.patch
new file mode 100644
index 0000000..8cd9720
--- /dev/null
+++ b/fallback-icons.patch
@@ -0,0 +1,74 @@
+--- xfce4-panel-4.14.0/plugins/actions/actions.c.orig	2019-04-10 00:23:04.000000000 +0200
++++ xfce4-panel-4.14.0/plugins/actions/actions.c	2019-08-29 23:51:32.239964536 +0200
+@@ -155,7 +155,7 @@
+     N_("Are you sure you want to log out?"),
+     N_("Logging out in %d seconds."),
+     "system-log-out",
+-    NULL
++    "xfsm-logout"
+   },
+   { ACTION_TYPE_LOGOUT_DIALOG,
+     "logout",
+@@ -163,7 +163,7 @@
+     N_("Log _Out..."),
+     NULL, NULL, /* already shows a dialog */
+     "system-log-out",
+-    NULL
++    "xfsm-logout"
+   },
+   { ACTION_TYPE_SWITCH_USER,
+     "switch-user",
+@@ -171,7 +171,7 @@
+     N_("_Switch User"),
+     NULL, NULL, /* not needed */
+     "system-users",
+-    NULL
++    "xfsm-switch"
+   },
+   { ACTION_TYPE_LOCK_SCREEN,
+     "lock-screen",
+@@ -179,7 +179,7 @@
+     N_("Loc_k Screen"),
+     NULL, NULL, /* not needed */
+     "system-lock-screen",
+-    NULL
++    "xfsm-lockscreen"
+   },
+   { ACTION_TYPE_HIBERNATE,
+     "hibernate",
+@@ -188,7 +188,7 @@
+     N_("Do you want to suspend to disk?"),
+     N_("Hibernating computer in %d seconds."),
+     "system-hibernate",
+-    NULL
++    "xfsm-hibernate"
+   },
+   { ACTION_TYPE_HYBRID_SLEEP,
+     "hybrid-sleep",
+@@ -206,7 +206,7 @@
+     N_("Do you want to suspend to RAM?"),
+     N_("Suspending computer in %d seconds."),
+     "system-suspend",
+-    NULL
++    "xfsm-suspend"
+   },
+   { ACTION_TYPE_RESTART,
+     "restart",
+@@ -215,7 +215,7 @@
+     N_("Are you sure you want to restart?"),
+     N_("Restarting computer in %d seconds."),
+     "system-reboot",
+-    NULL
++    "xfsm-reboot"
+   },
+   { ACTION_TYPE_SHUTDOWN,
+     "shutdown",
+@@ -224,7 +224,7 @@
+     N_("Are you sure you want to shut down?"),
+     N_("Turning off computer in %d seconds."),
+     "system-shutdown",
+-    NULL
++    "xfsm-shutdown"
+   }
+ };
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfce4-panel.git/commitdiff/6c1a2f74c3c98211f4d4b334b5efd43d274d0019



More information about the pld-cvs-commit mailing list