[Xfce4-commits] [panel-plugins/xfce4-quicklauncher-plugin] 01/02: Update desktop file contents/location for xfce4-panel changes

noreply at xfce.org noreply at xfce.org
Wed Feb 18 22:03:07 CET 2015


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-quicklauncher-plugin.

commit d57bec31fee6c546f7796acc75161d764079d128
Author: Robby Workman <rworkman at slackware.com>
Date:   Tue Feb 17 16:56:25 2015 -0600

    Update desktop file contents/location for xfce4-panel changes
    
    This should fix bz7015
    
    Thanks to Christoph Wickert for the original patch.
    
    Signed-off-by: Landry Breuil <landry at xfce.org>
---
 panel-plugin/Makefile.am                 |   23 +++++------------------
 panel-plugin/quicklauncher.desktop.in    |    7 +++++++
 panel-plugin/quicklauncher.desktop.in.in |    8 --------
 3 files changed, 12 insertions(+), 26 deletions(-)

diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
index 65ad03e..52be90f 100644
--- a/panel-plugin/Makefile.am
+++ b/panel-plugin/Makefile.am
@@ -1,5 +1,5 @@
 
-plugindir = $(libdir)/xfce4/panel-plugins
+plugindir = $(libdir)/xfce4/panel/plugins
 
 plugin_LTLIBRARIES =							\
 	libquicklauncher.la
@@ -25,27 +25,14 @@ libquicklauncher_la_LIBADD = 							\
 	@LIBXFCE4PANEL_LIBS@		\
 	@LIBXFCEGUI4_LIBS@
 
-# .desktop file
-#
-# Some automake trickery here. Because we cannot use $(libexecdir) in the
-# automake stage, we'll use sed to get the full path into the .desktop file.
-# We also need to let intltool merge the translated fields, so we add an
-# additional level of indirection: a <name>.desktop.in.in file.
-
-desktop_in_in_files = quicklauncher.desktop.in.in
-desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
-
-desktopdir = $(datadir)/xfce4/panel-plugins
+desktop_in_files = quicklauncher.desktop.in
+desktopdir = $(datadir)/xfce4/panel/plugins
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
 EXTRA_DIST = 								\
-	$(desktop_in_in_files)
+	$(desktop_in_files)
 
 DISTCLEANFILES =							\
-	$(desktop_DATA) $(desktop_in_files)
+	$(desktop_DATA)
 
-# get full path into .desktop file
-%.desktop.in: %.desktop.in.in
-	sed -e "s^@INTERNAL_PLUGIN_PATH@^$(libdir)/xfce4/panel-plugins^" \
-		$< > $@
diff --git a/panel-plugin/quicklauncher.desktop.in b/panel-plugin/quicklauncher.desktop.in
new file mode 100644
index 0000000..a16d487
--- /dev/null
+++ b/panel-plugin/quicklauncher.desktop.in
@@ -0,0 +1,7 @@
+[Xfce Panel]
+Type=X-XFCE-PanelPlugin
+_Name=Quicklauncher
+_Comment=Program with several launchers
+Icon=application-x-executable
+X-XFCE-Module=quicklauncher
+X-XFCE-Internal=TRUE
diff --git a/panel-plugin/quicklauncher.desktop.in.in b/panel-plugin/quicklauncher.desktop.in.in
deleted file mode 100644
index 7db2aad..0000000
--- a/panel-plugin/quicklauncher.desktop.in.in
+++ /dev/null
@@ -1,8 +0,0 @@
-[Xfce Panel]
-Type=X-XFCE-PanelPlugin
-Encoding=UTF-8
-_Name=Quicklauncher
-_Comment=Program with several launchers
-Icon=gnome-fs-executable
-X-XFCE-Module=libquicklauncher.so
-X-XFCE-Module-Path=@INTERNAL_PLUGIN_PATH@

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list