Hack up the titles (including the ones with spaces)
example:
Quote:
sprintf(title_string, "L:A_N:application_ID:twobob.alsa.%s", p);
for(int i=0;i <sizeof(title_string);i++)
if(title_string[i]==' ')
title_string[i]='.';
|
(might have to check I didn't accidentally overrun the length by one)
and maybe that should be strlen...
fix the -fpermissive errors in /usr/local/src/alsaplayer-0.99.80/input/flac/FlacPlugin.cpp
Quote:
const char * fname = strrchr (f->name ().c_str (), '/');
// char * fname = strrchr (f->name ().c_str (), '/');
|
(and the other one)
also usr/local/src/alsaplayer-0.99.80/app/ControlSocket.cpp:245:21: error: ‘PATH_MAX’ was not declared in this scope
ControlSocket.cpp:246:15: error: ‘save_path’ was not declared in this scope
Quote:
// some arch don't define PATH_MAX
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
char save_path[PATH_MAX];
|
(just dumped this near the top)
root@dev:/usr/local/src/alsaplayer-0.99.80#
./configure --prefix=/mnt/us/extensions/alsaplayer --enable-gtk2 --disable-jack --disable-esd --disable-sparc --disable-sgi --disable-opengl --enable-static --enable-threads=posix --disable-nls --with-gnu-ld
Quote:
Configuration:
Install path: /mnt/us/extensions/alsaplayer
Use libmad shared library: yes
Enable libid3tag support: yes
Build GTK2 interface: yes
Build XOSD interface: yes
Build OpenGL based visual plugins: no
Build alsa 0.5.x output plugin: no
Build alsa 0.9.x output plugin: yes
Build jack output plugin: no
Build oss output plugin: yes
Build esound output plugin: no
Build sparc output plugin: no
Build sgi output plugin: no
Build nas output plugin: yes
Build vorbis input plugin: yes
Build cdda input plugin: yes
Build mikmod input plugin: yes
Build audiofile input plugin: no
Build FLAC input plugin: yes
Included OggFLAC input plugin: yes
Separated OggFLAC input plugin: no
Build sndfile input plugin: yes
|
root@dev:/usr/local/src/alsaplayer-0.99.80#
PATH=/usr/lib/ccache:$PATH make
root@dev:/usr/local/src/alsaplayer-0.99.80#
make install
Now.... I didn't check a whole host of stuff and you would probably want :PC_N on the titles.
This isn't meant to be a complete guide.
Just thought I would help you quickly over the stumbling blocks.
regards,