Changes include: - The artwork files XPM/*.art are now created during build time and therefore have been removed from the repository. - The script which creates them is now installed alongside the art files in case users would like to design their own artwork. - The "makeall" script, whose function has been replaced by the Makefile, has been removed. - The default artwork can now be chosen at compile time by the --with-art option to ./configure. - Changes have been documented in ARTWORK.
Inspired in part by the Debian patch [1]. [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/install_art_scripts.patch/ --- wmcdplay/ARTWORK | 14 +-- wmcdplay/Makefile.am | 15 +++- wmcdplay/XPM/bluered.art | 220 ---------------------------------------------- wmcdplay/XPM/grey.art | 140 ----------------------------- wmcdplay/XPM/makeall | 3 - wmcdplay/XPM/newstyle.art | 145 ------------------------------ wmcdplay/XPM/standard.art | 1 - wmcdplay/XPM/wmcd.art | 173 ------------------------------------ wmcdplay/configure.ac | 14 +++ 9 files changed, 34 insertions(+), 691 deletions(-) delete mode 100644 wmcdplay/XPM/bluered.art delete mode 100644 wmcdplay/XPM/grey.art delete mode 100755 wmcdplay/XPM/makeall delete mode 100644 wmcdplay/XPM/newstyle.art delete mode 120000 wmcdplay/XPM/standard.art delete mode 100644 wmcdplay/XPM/wmcd.art diff --git a/wmcdplay/ARTWORK b/wmcdplay/ARTWORK index 579f3d8..ece3395 100644 --- a/wmcdplay/ARTWORK +++ b/wmcdplay/ARTWORK @@ -247,10 +247,10 @@ Where are they? ARTWORK FILES ============= -All the above files should be placed in an appropriately named directory in wmcdplay/XPM/ -and the script wmcdplay/XPM/makeall should be executed. -You should end up with a new .art file in wmcdplay/XPM/ -You should be able to load wmcdplay with this artwork using the "-f artwork_file" command -line argument -You should also be able to make your new artwork the compile-time default by changing the -symbolic link wmcdplay/XPM/standard.art point to it, and recompiling \ No newline at end of file +All the above files should be placed in an appropriately named directory and the +"makeart" script (installed by default in /usr/local/share/wmcdplay) should be +executed in the parent directory. You should end up with a new .art file. You +should be able to load wmcdplay with this artwork using the "-f artwork_file" +command line argument. +You should also be able to make your new artwork the compile-time default by +using the "--with-art" option to the "configure" script. diff --git a/wmcdplay/Makefile.am b/wmcdplay/Makefile.am index 1c3819c..0c13fab 100644 --- a/wmcdplay/Makefile.am +++ b/wmcdplay/Makefile.am @@ -1,6 +1,17 @@ bin_PROGRAMS = wmcdplay -wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc +wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc XPM/standard.art +BUILT_SOURCES = XPM/standard.art 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 + +ART = XPM/bluered.art XPM/grey.art XPM/newstyle.art XPM/wmcd.art +pkgdata_DATA = $(ART) +pkgdata_SCRIPTS = XPM/makeart +CLEANFILES = $(ART) XPM/standard.art + +XPM/%.art: + cd XPM && ./makeart $* + +XPM/standard.art: XPM/@defaultart@.art + cd XPM && ln -s @defaultart@.art standard.art diff --git a/wmcdplay/XPM/bluered.art b/wmcdplay/XPM/bluered.art deleted file mode 100644 index 9d15783..0000000 --- a/wmcdplay/XPM/bluered.art +++ /dev/null @@ -1,220 +0,0 @@ -int art_nbtns=4; -int art_btns[]={ 9 , 26 , 4 , 8 , 25 , 21 , 25 , 21 , 38 , 8 , 38 , - 9 , 43 , 4 , 8 , 42 , 21 , 42 , 21 , 56 , 8 , 56 , - 44 , 26 , 4 , 43 , 25 , 56 , 25 , 56 , 38 , 43 , 38 , - 44 , 43 , 4 , 43 , 42 , 56 , 42 , 56 , 56 , 43 , 56 }; -int art_actions[]={ 0 , 2 , 3 , 4 , 0 , 0 , - 5 , 5 , 5 , 0 , 0 , 0 , - 9 , 9 , 1 , 1 , 9 , 10 , - 6 , 6 , 6 , 0 , 0 , 0 }; -bool art_hidebtns=true; -bool art_showled[4]={ true , true , false , false }; -int art_ledpos[4][2]={ 14 , 10 , 24 , 43 , 0 , 0 , 0 , 0 }; -/* XPM */ -static char * cdplayer_xpm[] = { -"64 64 64 1", -" c None", -". c #FFFF00000000", -"X c #F7DE00000820", -"o c #EFBE00000820", -"O c #EFBE00001040", -"+ c #E79D00001861", -"@ c #DF7D00001861", -"# c #DF7D00002081", -"$ c #D75C00002081", -"% c #D75C000028A2", -"& c #CF3C000030C2", -"* c #C71B000030C2", -"= c #C71B000038E3", -"- c #BEFB000038E3", -"; c #BEFB00004103", -": c #B6DA00004924", -"> c #AEBA00004924", -", c #AEBA00005144", -"< c #A69900005965", -"1 c #9E7900005965", -"2 c #9E7900006185", -"3 c #965800006185", -"4 c #9658000069A6", -"5 c #8E38000071C6", -"6 c #8617000071C6", -"7 c #8617000079E7", -"8 c #79E7000079E7", -"9 c #79E700008617", -"0 c #71C600008E38", -"q c #69A600008E38", -"w c #69A600009658", -"e c #618500009E79", -"r c #59650000A699", -"t c #51440000A699", -"y c #51440000AEBA", -"u c #49240000B6DA", -"i c #41030000B6DA", -"p c #41030000BEFB", -"a c #38E30000BEFB", -"s c #38E30000C71B", -"d c #30C20000CF3C", -"f c #28A20000CF3C", -"g c #28A20000D75C", -"h c #20810000DF7D", -"j c #18610000E79D", -"k c #10400000E79D", -"l c #F7DE00000000", -"z c #CF3C000028A2", -"x c #B6DA00004103", -"c c #71C600008617", -"v c #596500009E79", -"b c #30C20000C71B", -"n c #18610000DF7D", -"m c #10400000EFBE", -"M c #000000000000", -"N c #08200000EFBE", -"B c #08200000F7DE", -"V c #00000000F7DE", -"C c #E79D00001040", -"Z c #49240000AEBA", -"A c #A69900005144", -"S c #8E38000069A6", -"D c #618500009658", -"F c #20810000D75C", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ..XoO+@#$%&*=-;:>,<1234567890qweertyuipasdfghhjk ", -" .lXoO+@#%z&*=;x:>,<12445679c0qwevryyuipsbdfghnjm ", -" .lMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMjm ", -" .XMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMjm ", -" .XMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMkm ", -" lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmm ", -" lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmN ", -" lXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmN ", -" XoMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmB ", -" XoMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmB ", -" XoMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMmB ", -" XOMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNB ", -" oOMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMBB ", -" oO+@#$%&*=-;:>,<<234567890qweertyuipasdfghhjkmBV ", -" oO+@#%%&*=;x:>,<12445679c0qwevryyuipsbdfghnjmmBV ", -" ", -" ", -" .XC@%&=;><245 .XC@%&=;><245 ", -" XC@%&=;><2458 XC@%&=;><2458 ", -" C@%&=;><24580 C@%&=;><24580 ", -" @%&=;><24580w @%&=;><24580w ", -" %&=;><24580we %&=;><24580we ", -" &=;><24580wer &=;><24580wer ", -" =;><24580werZ =;><24580werZ ", -" ;><24580werZi ;><24580werZi ", -" ><24580werZis ><24580werZis ", -" <24580werZisd <24580werZisd ", -" 24580werZisdg 24580werZisdg ", -" 4580werZisdgn 4580werZisdgn ", -" 580werZisdgnk 580werZisdgnk ", -" ", -" ", -" ", -" ..XO@$&=;>A2457cwery ", -" .XC@%&=;><245 .lo+#%*-:,<3S790Dvyu .XC@%&=;><245 ", -" XC@%&=;><2458 .XMMMMMMMMMMMMMMMMZi XC@%&=;><2458 ", -" C@%&=;><24580 lOMMMMMMMMMMMMMMMMup C@%&=;><24580 ", -" @%&=;><24580w XCMMMMMMMMMMMMMMMMps @%&=;><24580w ", -" %&=;><24580we O+MMMMMMMMMMMMMMMMab %&=;><24580we ", -" &=;><24580wer C#MMMMMMMMMMMMMMMMsd &=;><24580wer ", -" =;><24580werZ +$MMMMMMMMMMMMMMMMdg =;><24580werZ ", -" ;><24580werZi #%MMMMMMMMMMMMMMMMdF ;><24580werZi ", -" ><24580werZis $&MMMMMMMMMMMMMMMMgh ><24580werZis ", -" <24580werZisd %*MMMMMMMMMMMMMMMMhj <24580werZisd ", -" 24580werZisdg &=MMMMMMMMMMMMMMMMhk 24580werZisdg ", -" 4580werZisdgn *;MMMMMMMMMMMMMMMMjm 4580werZisdgn ", -" 580werZisdgnk =x><24580werZpsdgnkB 580werZisdgnk ", -" ;:,135790DryupbghjmV ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" "}; - -/* XPM */ -static char * symbols_xpm[] = { -"131 11 18 1", -" c None", -". c #DF7DDF7DDF7D", -"X c #D75CD34CD75C", -"o c #CF3CCB2BCF3C", -"O c #BEFBBEFBBEFB", -"+ c #B6DAB2CAB6DA", -"@ c #AEBAAAAAAEBA", -"# c #9E799E799E79", -"$ c #965896589658", -"% c #8E388A288E38", -"& c #79E77DF779E7", -"* c #71C675D671C6", -"= c #69A669A669A6", -"- c #59655D755965", -"; c #514455555144", -": c #492449244924", -"> c #38E33CF338E3", -", c #30C234D330C2", -" ...XoO+@#$% ...XoO ...XoO+@#$% ...XoO+@#$% .. O+@#$% ...XoO $% ...XoO+@#$% ...XoO+@#$% O ...XoO+@#$%", -" ..XoO+@#$%& ..XoO+@ ..XoO+@#$%& ..XoO+@#$%& .. O+@#$%& ..XoO+@ %& ..XoO+@#$%& ..XoO+@#$%& O+@ ..XoO+@#$%&", -" .X &* .X @#$ .X @ &* .X @ &* .X O+@ &* .X @#$ &* .XoO+@#$%&* .XoO+@#$%&* O+@#$ .X &*", -" Xo *= Xo $%& Xo # *= Xo # *= XoO+@ *= Xo $%&*= XoO+@#$%&*= XoO+@#$%&*= O+@ $%& Xo *=", -" oO =- oO &*= oO $ =- oO $ =- oO+@ =- oO &*=- oO+@#$%&*=- oO+@#$%&*=- O+@ &*= oO =-", -" O+ -; O+ =-; O+ % -; O+ % -; O+@ -; O+ =-; O+@#$%&*=-; O+@#$%&*=-; O+@ =-; O+@ =-;", -" +@ ;: +@ =-; +@ & ;: +@ & ;: +@#$ ;: +@ =-;: +@#$%&*=-;: +@#$%&*=-;: +@ ;: @#$ =-; ", -" @# :> @# =-; @# * :> @# * :> @#$%& :> @# =-;:> @#$%&*=-;:> @#$%&*=-;:> @# :> $%& =-; ", -" #$ >, #$ =-; #$ = >, #$ = >, #$ &*= >, #$ =-; >, #$%&*=-;:>, #$%&*=-;:>, #$ >, &*=-; ", -" $%&*=-;:>,, $%&*=-; $%&*=-;:>,, $%&*=-;:>,, $% =-;:>,, $%&*=-; ,, $%&*=-;:>,, $%&*=-;:>,, $%&*=-;:>,, =-; ", -" %&*=-;:>,,, %&*=-; %&*=-;:>,,, %&*=-;:>,,, %& ;:>,,, %&*=-; ,, %&*=-;:>,,, %&*=-;:>,,, %&*=-;:>,,, ; "}; -/* XPM */ -static char * led_xpm[] = { -"171 11 4 1", -" c #000000", -"0 c #00ff00 s led_color_high", -"1 c #009b00 s led_color_med", -"2 c #006200 s led_color_low", -" 00000 1 1 1 00000 00000 1 2 1 00000 00000 00000 00000 00000 1 1 1 1 1 1 00000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 00000 00000 ", -"0 212 0 2 0 1 212 0 1 212 0 0 0 0 212 1 0 212 1 2 121 0 0 212 0 0 212 0 2 1 2 0 0 212 0 0 1 2 1 2 1 2 1 2 1 0 212 0 0 212 1 ", -"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 10 2 2", -"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 01 1 1 ", -"0 0 1 0 1 121 0 2 121 0 0 212 0 0 212 1 0 212 1 2 0 0 212 0 0 212 0 1 2 1 212 0 0 212 0 0 212 2 1 212 2 1 212 2 1 212 2 1 212 2 0 212 0 0 212 1 ", -" 1 2 1 2 1 2 00000 00000 00000 00000 00000 1 1 1 00000 00000 2 1 1 00000 00000 00000 00000 00000 00000 00000 00000 00000 212 212 010", -"0 0 1 0 0 212 1 1 212 0 1 212 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 2 0 212 0 0 212 0 0 212 2 0 212 0 0 212 0 0 212 2 1 212 2 0 212 2 0 212 2 ", -"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 10 2 2", -"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 01 1 1 ", -"0 212 0 1 0 0 212 1 2 121 0 1 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 1 0 212 0 0 0 0 212 1 0 0 0 212 0 0 212 1 1 1 0 1 0 212 1 ", -" 00000 2 1 2 00000 00000 2 1 2 00000 00000 1 1 1 00000 00000 1 1 2 00000 2 1 2 00000 1 1 2 00000 00000 1 1 2 1 1 2 00000 "}; -/* XPM */ -static char * ledsym_xpm[] = { -"35 5 2 1", -" c #000000", -"0 c #00ff00 s led_color_high", -"00000 00000 0 00 00 0 0 ", -"00000 00000 000 00 00 000 000 ", -"00000 00000 00000 00 00 00000 00000", -"00000 00000 000 00 00 ", -"00000 00000 0 00 00 00000 00000"}; -/* XPM */ -static char * ledtsel_xpm[]={ -"29 11 2 1", -" c #000000", -"0 c #00ff00 s led_color_high", -" 00 00 00 ", -" 0 0 0 0 0 0 0 0 ", -" 0 0 0 0 0 0 0 ", -" 0 0 0 0 0 0 000 ", -" 0 0 0 0 0 0 0 ", -" 000 000 000 000 ", -" 0 0 0 0 0 ", -" 0 0 0 0 000 ", -" 0 ", -" 0 0", -" 000 000 00 "}; diff --git a/wmcdplay/XPM/grey.art b/wmcdplay/XPM/grey.art deleted file mode 100644 index 47445b6..0000000 --- a/wmcdplay/XPM/grey.art +++ /dev/null @@ -1,140 +0,0 @@ -int art_nbtns=5; -int art_btns[]={ 8 , 38 , 5 , 5 , 27 , 7 , 27 , 20 , 40 , 7 , 54 , 5 , 54 , - 19 , 26 , 5 , 6 , 22 , 28 , 22 , 28 , 39 , 22 , 39 , 6 , 24 , - 19 , 50 , 5 , 6 , 57 , 21 , 42 , 28 , 42 , 28 , 59 , 6 , 59 , - 35 , 26 , 5 , 31 , 22 , 52 , 22 , 52 , 24 , 37 , 39 , 31 , 39 , - 51 , 31 , 5 , 42 , 36 , 56 , 22 , 59 , 22 , 59 , 39 , 42 , 39 }; -int art_actions[]={ 0 , 2 , 3 , 4 , 0 , 0 , - 5 , 5 , 5 , 0 , 0 , 0 , - 6 , 6 , 6 , 0 , 0 , 0 , - 0 , 0 , 1 , 1 , 0 , 0 , - 9 , 9 , 9 , 9 , 9 , 10 }; -bool art_hidebtns=true; -bool art_showled[4]={ true , true , true , true }; -int art_ledpos[4][2]={ 8 , 7 , 41 , 45 , 50 , 10 , 33 , 45 }; -/* XPM */ -static char * cdplayer_xpm[] = { -"64 64 5 1", -" c None", -"0 c #414141", -"1 c #000000", -"2 c #C7C3C7", -"3 c #9E9A9E", -" ", -" ", -" ", -" ", -" ", -" 000000000000000000000000000000000000000000000000000000 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 011111111111111111111111111111111111111111111111111112 ", -" 222222222222222222222222222222222222222222222222222222 ", -" ", -" ", -" 2222222222222222222222 222222222222222222222 222 ", -" 0333333333333333333330 233333333333333333330 2330 ", -" 033333333333333333330 23333333333333333330 23330 ", -" 03333333333333333330 2333333333333333330 233330 ", -" 0333333333333333330 233333333333333330 2333330 ", -" 22 033333333333333330 23333333333333330 23333330 ", -" 232 03333333333333330 2333333333333330 233333330 ", -" 2332 0333333333333330 233333333333330 2333333330 ", -" 23332 033333333333330 23333333333330 23333333330 ", -" 233332 03333333333330 2333333333330 233333333330 ", -" 2333332 0333333333330 233333333330 2333333333330 ", -" 23333332 033333333330 23333333330 23333333333330 ", -" 233333332 03333333330 2333333330 233333333333330 ", -" 2333333332 0333333330 233333330 2333333333333330 ", -" 23333333332 033333330 23333330 23333333333333330 ", -" 233333333332 03333330 2333330 23333333333333330 ", -" 2333333333332 0000000 000000 00000000000000000 ", -" 23333333333332 ", -" 233333333333330 ", -" 23333333333330 ", -" 2333333333330 2222220 0000000000000000000000000000 ", -" 233333333330 23333330 0111111111111111111111111112 ", -" 23333333330 233333330 0111111111111111111111111112 ", -" 2333333330 2333333330 0111111111111111111111111112 ", -" 233333330 23333333330 0111111111111111111111111112 ", -" 23333330 233333333330 0111111111111111111111111112 ", -" 2333330 2333333333330 0111111111111111111111111112 ", -" 233330 23333333333330 0111111111111111111111111112 ", -" 23330 233333333333330 0111111111111111111111111112 ", -" 2330 2333333333333330 0111111111111111111111111112 ", -" 230 23333333333333330 0111111111111111111111111112 ", -" 20 233333333333333330 0111111111111111111111111112 ", -" 2333333333333333330 0111111111111111111111111112 ", -" 23333333333333333330 0111111111111111111111111112 ", -" 233333333333333333330 0111111111111111111111111112 ", -" 2333333333333333333330 0111111111111111111111111112 ", -" 0000000000000000000000 2222222222222222222222222222 ", -" ", -" ", -" ", -" ", -" "}; -/* XPM */ -static char * symbols_xpm[] = { -"65 5 2 1", -" c None", -"0 c #000000", -" 00000 0 00 00 00 00 0 0 0 0 0 00000", -" 00000 000 00 00 00 00 0 000 000 0 0 0 0 0 000 000 ", -" 00000 00000 00 00 00 00 00000 00000 00 00 00 00 00000 0 ", -" 00000 000 00 00 00 00 0 000 000 0 0 0 0 0 ", -" 00000 0 00 00 00 00 0 0 0 0 00000 00000"}; -/* XPM */ -static char * led_xpm[] = { -"171 11 4 1", -" c #000000", -"0 c #00ff00 s led_color_high", -"1 c #009b00 s led_color_med", -"2 c #006200 s led_color_low", -" 00000 1 1 1 00000 00000 1 2 1 00000 00000 00000 00000 00000 1 1 1 1 1 1 00000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 00000 00000 ", -"0 212 0 2 0 1 212 0 1 212 0 0 0 0 212 1 0 212 1 2 121 0 0 212 0 0 212 0 2 1 2 0 0 212 0 0 1 2 1 2 1 2 1 2 1 0 212 0 0 212 1 ", -"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 10 2 2", -"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 01 1 1 ", -"0 0 1 0 1 121 0 2 121 0 0 212 0 0 212 1 0 212 1 2 0 0 212 0 0 212 0 1 2 1 212 0 0 212 0 0 212 2 1 212 2 1 212 2 1 212 2 1 212 2 0 212 0 0 212 1 ", -" 1 2 1 2 1 2 00000 00000 00000 00000 00000 1 1 1 00000 00000 2 1 1 00000 00000 00000 00000 00000 00000 00000 00000 00000 212 212 010", -"0 0 1 0 0 212 1 1 212 0 1 212 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 2 0 212 0 0 212 0 0 212 2 0 212 0 0 212 0 0 212 2 1 212 2 0 212 2 0 212 2 ", -"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 10 2 2", -"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 01 1 1 ", -"0 212 0 1 0 0 212 1 2 121 0 1 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 1 0 212 0 0 0 0 212 1 0 0 0 212 0 0 212 1 1 1 0 1 0 212 1 ", -" 00000 2 1 2 00000 00000 2 1 2 00000 00000 1 1 1 00000 00000 1 1 2 00000 2 1 2 00000 1 1 2 00000 00000 1 1 2 1 1 2 00000 "}; -/* XPM */ -static char * ledsym_xpm[] = { -"35 5 2 1", -" c #000000", -"0 c #00ff00 s led_color_high", -"00000 00000 0 00 00 0 0 ", -"00000 00000 000 00 00 000 000 ", -"00000 00000 00000 00 00 00000 00000", -"00000 00000 000 00 00 ", -"00000 00000 0 00 00 00000 00000"}; -/* XPM */ -static char * ledtsel_xpm[]={ -"29 11 2 1", -" c #000000", -"0 c #00ff00 s led_color_high", -" 00 00 00 ", -" 0 0 0 0 0 0 0 0 ", -" 0 0 0 0 0 0 0 ", -" 0 0 0 0 0 0 000 ", -" 0 0 0 0 0 0 0 ", -" 000 000 000 000 ", -" 0 0 0 0 0 ", -" 0 0 0 0 000 ", -" 0 ", -" 0 0", -" 000 000 00 "}; diff --git a/wmcdplay/XPM/makeall b/wmcdplay/XPM/makeall deleted file mode 100755 index 6ffe402..0000000 --- a/wmcdplay/XPM/makeall +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -echo "Making all artwork files" -find ./* -type d -exec ./makeart {} \; diff --git a/wmcdplay/XPM/newstyle.art b/wmcdplay/XPM/newstyle.art deleted file mode 100644 index 1f5742c..0000000 --- a/wmcdplay/XPM/newstyle.art +++ /dev/null @@ -1,145 +0,0 @@ -int art_nbtns=7; -int art_btns[]={ 29 , 50 , 4 , 18 , 47 , 46 , 47 , 46 , 58 , 18 , 58 , - 9 , 50 , 4 , 5 , 47 , 18 , 47 , 18 , 58 , 5 , 58 , - 50 , 50 , 4 , 46 , 47 , 59 , 47 , 59 , 58 , 46 , 58 , - 9 , 39 , 4 , 5 , 36 , 18 , 36 , 18 , 47 , 5 , 47 , - 50 , 39 , 4 , 46 , 36 , 59 , 36 , 59 , 47 , 46 , 47 , - 22 , 39 , 4 , 18 , 36 , 32 , 36 , 32 , 47 , 18 , 47 , - 36 , 39 , 4 , 32 , 36 , 46 , 36 , 46 , 47 , 32 , 47 }; -int art_actions[]={ 0 , 2 , 3 , 4 , 0 , 0 , - 0 , 0 , 7 , 0 , 0 , 0 , - 0 , 0 , 8 , 0 , 0 , 0 , - 5 , 5 , 5 , 0 , 0 , 0 , - 6 , 6 , 6 , 0 , 0 , 0 , - 0 , 0 , 1 , 1 , 0 , 0 , - 9 , 9 , 9 , 9 , 9 , 10 }; -bool art_hidebtns=false; -bool art_showled[4]={ true , true , true , true }; -int art_ledpos[4][2]={ 11 , 7 , 26 , 19 , 44 , 7 , 42 , 20 }; -/* XPM */ -static char * cdplayer_xpm[] = { -"64 64 8 1", -" c None", -". c #000000", -"X c #282828 s color_back", -"o c #C7C3C7", -"O c #F7F3FF", -"+ c #86828E", -"@ c #AEAAAE", -"Q c #0000FF s led_color_high", -" ", -" ", -" ", -" ", -" ........................................................ ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXQQQXXXXXQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXQXXXQQXQXQXXQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXQXXQXXXQQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXQXXQXXXQQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXQXXQXXXQXQXXQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" oooooooooooooooooooooooooooooooooooooooooooooooooooooooo ", -" ", -" ", -" ", -" ........................................................ ", -" .OOOOOOOOOOOO+OOOOOOOOOOOOO+OOOOOOOOOOOOO+OOOOOOOOOOOO+o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .+............+.............+.............+............o ", -" .OOOOOOOOOOOO+OOOOOOOOOOOOOOOOOOOOOOOOOOO+OOOOOOOOOOOO+o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .O@@@@@@@@@@@.O@@@@@@@@@@@@@@@@@@@@@@@@@@.O@@@@@@@@@@@.o ", -" .+............+...........................+............o ", -" oooooooooooooooooooooooooooooooooooooooooooooooooooooooo ", -" ", -" ", -" ", -" ", -" "}; -/* XPM */ -static char * symbols_xpm[] = { -"65 5 2 1", -" c None", -"0 c #000000", -" 00000 0 00 00 00 00 0 0 0 0 0 0 0 0 0 00000", -" 00000 000 00 00 00 00 0 000 000 0 0000 0000 000 000 ", -" 00000 00000 00 00 00 00 00000 00000 00000 00000 00000 0 ", -" 00000 000 00 00 00 00 0 000 000 0 0000 0000 ", -" 00000 0 00 00 00 00 0 0 0 0 0 0 0 0 00000 00000"}; -/* XPM */ -static char * led_xpm[] = { -"128 9 3 1", -" c #282828 s color_back", -"1 c #006200 s led_color_low", -"0 c #00ff00 s led_color_high", -"10001 1111 10001 10001 11111 10001 10001 10001 10001 10001 111 10001 10001 10001 10001 10001 10001 111 10001 10001 ", -"0 1 0 1 1 0 1 1 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 0 0 1 0 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 1 1 1 0 1 0 0 1 1 ", -"0 1 0 1 1 0 1 1 0 1 1 0 0 1 0 0 1 1 0 1 1 1 1 0 0 1 0 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 1 1 1 0 1 0 0 1 1 0 1 1", -"0 0 1 0 1 0 1 0 0 0 0 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 1 ", -"11111 1111 10001 10001 10001 10001 10001 1 11 10001 10001 111 1111 10001 111 11111 11111 11111 10001 10001 10001 11 11 00", -"0 0 1 0 0 1 1 0 1 0 1 0 0 0 1 0 0 0 1 0 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 1 0 1 ", -"0 1 0 1 1 0 0 1 1 1 1 0 1 1 0 1 1 0 0 1 0 1 1 0 0 1 0 1 1 0 1 1 1 1 0 0 0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 1 1 1 0 1 1 0 1 1 0 1 1", -"0 1 0 1 1 0 0 1 1 1 1 0 1 1 0 1 1 0 0 1 0 1 1 0 0 1 0 1 1 0 1 1 1 1 0 0 0 1 0 1 0 1 0 1 0 0 1 0 0 1 1 1 1 1 0 1 1 0 1 1 ", -"10001 1111 10001 10001 1111 10001 10001 1111 10001 10001 111 10001 11111 111 11111 10001 10001 111 1111 10001 "}; -/* XPM */ -static char * ledsym_xpm[] = { -"59 9 3 1", -" c #282828 s color_back", -"0 c #00ff00 s led_color_high", -"1 c #006200 s color_back", -"0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 0 1 1 1 1 0 1 1", -" ", -"0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 0 1 1 0 0 0 1", -" ", -"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0", -" ", -"0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1", -" ", -"0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0"}; -/* XPM */ -static char * ledtsel_xpm[] = { -"69 7 2 1", -" c #282828 s color_back", -"0 c #00ff00 s led_color_high", -" ", -" 0 0 0 0 ", -" 0 0 0 0000000 0 0000000 0 0 0 ", -" 0000000 0 0000000 0 0 0 0 0 00000 00000 ", -" 0 0 0 0 0 0 0 0 ", -" 0000 0000 0 ", -" "}; diff --git a/wmcdplay/XPM/standard.art b/wmcdplay/XPM/standard.art deleted file mode 120000 index f91f625..0000000 --- a/wmcdplay/XPM/standard.art +++ /dev/null @@ -1 +0,0 @@ -newstyle.art \ No newline at end of file diff --git a/wmcdplay/XPM/wmcd.art b/wmcdplay/XPM/wmcd.art deleted file mode 100644 index d810f23..0000000 --- a/wmcdplay/XPM/wmcd.art +++ /dev/null @@ -1,173 +0,0 @@ -int art_nbtns=7; -int art_btns[]={ 5 , 54 , 4 , 5 , 54 , 12 , 54 , 12 , 59 , 5 , 59 , - 13 , 54 , 4 , 13 , 54 , 20 , 54 , 20 , 59 , 13 , 59 , - 21 , 54 , 4 , 21 , 54 , 28 , 54 , 28 , 59 , 21 , 59 , - 29 , 54 , 4 , 29 , 54 , 36 , 54 , 36 , 59 , 29 , 59 , - 37 , 54 , 4 , 37 , 54 , 44 , 54 , 44 , 59 , 37 , 59 , - 45 , 54 , 4 , 45 , 54 , 52 , 54 , 52 , 59 , 45 , 59 , - 53 , 54 , 4 , 53 , 54 , 60 , 54 , 60 , 59 , 53 , 59 }; -int art_actions[]={ 0 , 2 , 3 , 4 , 0 , 0 , - 0 , 0 , 7 , 0 , 0 , 0 , - 0 , 0 , 8 , 0 , 0 , 0 , - 5 , 5 , 5 , 0 , 0 , 0 , - 6 , 6 , 6 , 0 , 0 , 0 , - 0 , 0 , 1 , 1 , 0 , 0 , - 9 , 9 , 9 , 9 , 9 , 10 }; -bool art_hidebtns=false; -bool art_showled[4]={ true , true , true , true }; -int art_ledpos[4][2]={ 8 , 37 , 28 , 14 , 50 , 40 , 20 , 14 }; -/* XPM */ -static char * cdplayer_xpm[] = { -"64 64 6 1", -" c None", -". c #410341034103", -"X c #000000000000", -"o c #C71BC30BC71B", -"O c #618561856185", -"+ c #B6DAB2CAB6DA", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ............................ ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" .XXXXXXXXXXXXXXXXXXXXXXXXXXo ", -" oooooooooooooooooooooooooooo ", -" ", -" ", -" ", -" ", -" ", -" OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO ", -" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", -" OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX+ ", -" ++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", -" OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO ", -" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" ", -" "}; - -/* XPM */ -static char * symbols_xpm[] = { -"87 7 26 1", -" c None", -". c #CF3CCF3CCF3C", -"X c #E79DE38DE79D", -"o c #E79DE79DE79D", -"O c #CF3CCB2BCF3C", -"+ c #B6DAB6DAB6DA", -"@ c #C71BC71BC71B", -"# c #DF7DDB6CDF7D", -"$ c #D75CD34CD75C", -"% c #BEFBBAEABEFB", -"& c #A699A289A699", -"* c #EFBEEFBEEFBE", -"= c #9E799E799E79", -"- c #AEBAAAAAAEBA", -"; c #71C675D671C6", -": c #965896589658", -"> c #79E77DF779E7", -", c #69A669A669A6", -"< c #49244D344924", -"1 c #8E388A288E38", -"2 c #492449244924", -"3 c #59655D755965", -"4 c #69A66DB669A6", -"5 c #38E33CF338E3", -"6 c #514455555144", -"7 c #8E388E388E38", -" .XoooO+ .@+ .XO#XO+ .XO#XO+ .@+ .@+ .@+ .@+ .@+ .XoooO+", -" $oooo%& $X#O+ $o%#o%& $o%#o%& $@OX*O& $X#OX@& .@+.@+ .@+.@+ .oo%+ +$XoO&=", -" %%---;; %$O##O+ %%;-%;; %%;-%;; %.O*X&; %$O#X+; .oOOoO& $X%XX%+ .oo#%%+ :>>,<<>", -" %%---;; %%-11== %%;-%;; %%;-%;; %+-%-;; %%-1-=; +%=1%=; %+;%+;= +=;234= :>2<> ", -" %%---;; %=3553> %%;-%;; %%;-%;; %:36;4; %=35;>; :>33>34 =;<;;<> %%---11 .XX#OO+", -" =>222<4 =;53> =><,><4 =><,><4 =73;634 =;53;74 :7>:7> :7>:7> ++---== ++---==", -" :;2223> :7> :;3,;3> :;3,;3> :7> :7> :7> :7> :;2223> :;2223>"}; - -/* XPM */ -static char * led_xpm[] = { -"171 11 4 1", -" c #000000", -"0 c #00ff00 s led_color_high", -"1 c #009b00 s led_color_med", -"2 c #006200 s led_color_low", -" 00000 1 1 1 00000 00000 1 2 1 00000 00000 00000 00000 00000 1 1 1 1 1 1 00000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 00000 00000 ", -"0 212 0 2 0 1 212 0 1 212 0 0 0 0 212 1 0 212 1 2 121 0 0 212 0 0 212 0 2 1 2 0 0 212 0 0 1 2 1 2 1 2 1 2 1 0 212 0 0 212 1 ", -"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 10 2 2", -"01 10 10 10 10 01 10 01 01 20 01 10 01 10 10 01 10 01 01 10 01 01 1 1 ", -"0 0 1 0 1 121 0 2 121 0 0 212 0 0 212 1 0 212 1 2 0 0 212 0 0 212 0 1 2 1 212 0 0 212 0 0 212 2 1 212 2 1 212 2 1 212 2 1 212 2 0 212 0 0 212 1 ", -" 1 2 1 2 1 2 00000 00000 00000 00000 00000 1 1 1 00000 00000 2 1 1 00000 00000 00000 00000 00000 00000 00000 00000 00000 212 212 010", -"0 0 1 0 0 212 1 1 212 0 1 212 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 2 0 212 0 0 212 0 0 212 2 0 212 0 0 212 0 0 212 2 1 212 2 0 212 2 0 212 2 ", -"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 10 2 2", -"01 10 10 01 10 10 20 01 10 20 01 10 20 01 10 01 10 01 01 10 01 10 01 01 01 01 1 1 ", -"0 212 0 1 0 0 212 1 2 121 0 1 0 2 121 0 0 212 0 1 0 0 212 0 2 121 0 1 1 0 212 0 0 0 0 212 1 0 0 0 212 0 0 212 1 1 1 0 1 0 212 1 ", -" 00000 2 1 2 00000 00000 2 1 2 00000 00000 1 1 1 00000 00000 1 1 2 00000 2 1 2 00000 1 1 2 00000 00000 1 1 2 1 1 2 00000 "}; -/* XPM */ -static char * ledsym_xpm[] = { -"35 5 2 1", -" c #000000", -"0 c #00ff00 s led_color_high", -"00000 00000 0 00 00 0 0 ", -"00000 00000 000 00 00 000 000 ", -"00000 00000 00000 00 00 00000 00000", -"00000 00000 000 00 00 ", -"00000 00000 0 00 00 00000 00000"}; -/* XPM */ -static char * ledtsel_xpm[]={ -"29 11 2 1", -" c #000000", -"0 c #00ff00 s led_color_high", -" 00 00 00 ", -" 0 0 0 0 0 0 0 0 ", -" 0 0 0 0 0 0 0 ", -" 0 0 0 0 0 0 000 ", -" 0 0 0 0 0 0 0 ", -" 000 000 000 000 ", -" 0 0 0 0 0 ", -" 0 0 0 0 000 ", -" 0 ", -" 0 0", -" 000 000 00 "}; diff --git a/wmcdplay/configure.ac b/wmcdplay/configure.ac index 5c69ebe..82ed4c0 100644 --- a/wmcdplay/configure.ac +++ b/wmcdplay/configure.ac @@ -2,6 +2,20 @@ AC_INIT([wmcdplay], [1.0beta1]) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_SRCDIR([configure.ac]) AC_PROG_CXX + +define([artlist], esyscmd([cd XPM && ls -d */ | sed 's/\///g'])) +AC_ARG_WITH([art], + AS_HELP_STRING([--with-art], + [Choose art style. Defaults to 'newstyle'. Choices are: ] + artlist), + [], + [with_art=newstyle]) +if test ! -d "XPM/${with_art}"; then + AC_MSG_ERROR([cannot find art directory '${with_art}'.]) +fi +AC_MSG_NOTICE([setting art style to '${with_art}'...]) +AC_SUBST([defaultart], [$with_art]) + PKG_CHECK_MODULES([x11], [x11]) PKG_CHECK_MODULES([xpm], [xpm]) PKG_CHECK_MODULES([xext], [xext]) -- 2.1.0 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.