Switch from deprecated X11R6 directory to conform to Filesystem Hierarcy Standards.
Adapted from the original Debian patch by Marcelo E. Magallon <mmaga...@debian.org> [1] to take advantage of automake. [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/change_artwork_dir.patch/ --- wmcdplay/Makefile.am | 2 ++ wmcdplay/wmcdplay.cc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wmcdplay/Makefile.am b/wmcdplay/Makefile.am index 8cbcfb4..1c3819c 100644 --- a/wmcdplay/Makefile.am +++ b/wmcdplay/Makefile.am @@ -1,4 +1,6 @@ bin_PROGRAMS = wmcdplay wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS) +AM_CPPFLAGS = -DSYSARTDIR=\"$(pkgdatadir)\" LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS) +pkgdata_DATA = XPM/bluered.art XPM/grey.art XPM/newstyle.art XPM/wmcd.art diff --git a/wmcdplay/wmcdplay.cc b/wmcdplay/wmcdplay.cc index c60ef48..78c544b 100644 --- a/wmcdplay/wmcdplay.cc +++ b/wmcdplay/wmcdplay.cc @@ -20,7 +20,6 @@ #define CLASS "WMCDPlay" // User defines - custom -#define SYSARTDIR "/usr/X11R6/lib/X11/wmcdplay/" #define CDDEV "/dev/cdrom" #define BACKCOLOR "#282828" #define LEDCOLOR "green" -- 2.1.0 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.