error in xmms-plugin Makefile.am

Arwed von Merkatz v.merkatz at gmx.net
Sat Nov 15 17:27:10 CET 2003


Hi,

there's a small error in the panel-plugin/Makefile.am of the
xfce4-xmms-plugin:
the path to the installed image files is hardcoded to
/usr/local/share/xfce4/xmms-plugin
That makes it fail to find the images if installed with prefix /usr (as
the images are installed to /usr/share/...)

trivial patch attached

-- 
Arwed v. Merkatz
Grimoire Guru for video
Grimoire Guru for xfce
Sourcemage GNU/Linux
http://www.sourcemage.org
-------------- next part --------------
--- Makefile.am~	2003-11-09 23:06:20.000000000 +0100
+++ Makefile.am	2003-11-15 17:26:45.000000000 +0100
@@ -15,7 +15,7 @@
 libxmms_plugin_la_CFLAGS =						\
 	@XFCE4_PANEL_CFLAGS@						\
         `xmms-config --cflags`						\
-        -DDATA_DIR=\"/usr/local/share/xfce4/xmms-plugin\"
+        -DDATA_DIR=\"$(datadir)/xfce4/xmms-plugin\"
 
 libxmms_plugin_la_LIBADD = 						\
 	@XFCE4_PANEL_LIBS@


More information about the Xfce4-dev mailing list