[DEV] Squeezeplay 10.1 "ue smartradio" [WIP]
Posted: Wed Dec 30, 2015 4:55 pm
Hi guys,
----- DEV only - no working software -----
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
has anyone of you already tried to get squeezeplay 10.1 working on the joggler?
I tried but I'm finally failing with a bus error when trying to start on the joggler.
On my ubuntu system the comiled version does load fine.
--------------------
Everybody who wants to try can load my files:
Within the joggler (ssh/telnet):
wget http://www.gforums.de/Juggler/squeezeplay-10.1.0-.tgz
Within the lib directory from squeezeplay 10.1:
wget http://www.gforums.de/Juggler/libogg.so.0
wget http://www.gforums.de/Juggler/libjpeg.so.62
wget http://www.gforums.de/Juggler/libc.so.6
use libpng12.so.0 from old squeezeplay
I took the libjpeg from the current ubuntu system which I'ved used.
The libc I took from an ubuntu package. The version which comes along with the Joggler is too old. Newer libc version aren't working at all.
Don't forget to edit the squeezeplay.sh like mentioned on http://birdslikewires.co.uk/compiling-squeezeplay
-Christian!
-----------------------------------
The steps to compile this:
0.) setup ubuntu with:
sudo apt-get install build-essential flex bison subversion automake libtool libpng12-dev libjpeg62-dev libexpat1-dev libreadline5-dev xorg-dev libflac++-dev libvorbis-dev libvorbisidec-dev libasound2-dev sudo apt-get install ncurses-dev
1.) Download:
https://github.com/Logitech/squeezeplay ... c/10.1.zip
2.)
Open squeezeplay/src/Makefile.linux and change the following:
- 10: SRC_DIR = $(realpath ${PWD})
+ 10: SRC_DIR = $(realpath $(shell pwd))
- 146: cd luaprofiler-2.0 && make -f Makefile.linux install-
+ 146: cd luaprofiler-2.0 && LD="gcc -shared" make -f Makefile.linux install
Save the makefile and if you’re aiming for the Joggler, consider whether you think a visible cursor is any use on a touchscreen device with no mouse. If you think not, make the following change to squeezeplay/src/squeezeplay/src/ui/jive_framework.c to disable the pointer:
- 1075: SDL_ShowCursor(SDL_ENABLE)
+ 1075: SDL_ShowCursor(SDL_DISABLE)
3.) http://www.portaudio.com/archives/pa_snapshot.tgz:
Grab a copy of the latest snapshot and decompress it into squeezeplay/src. The easiest way to get the new verison to be used is just to rename it to match the old version. Rename portaudio_v19_1360 to portaudio_v19_1360_old and rename portaudio to portaudio_v19_1360.
4.)
4.1) Delete folder "SDL-1.2.13", then download SDL-1.2.15 and rename to SDL-1.2.13.
Patches:
4.2) https://sources.gentoo.org/cgi-bin/view ... ta32.patch
http://forums.slimdevices.com/attachmen ... ntid=18381
http://forums.slimdevices.com/attachmen ... ntid=18382
http://forums.slimdevices.com/attachmen ... ntid=18383
do patching:
cd SDL-1.2.13
patch -p1 < ~/Source/squeezeplay-STASH/libsdl-1.2.15-const-xdata32.patch
cd SDL-1.2.13/include
patch < SDL_keysym.h.patch
patch < SDL_events.h.patch
cd SDL-1.2.13/src/events
patch < SDL_events.c.patch
4.3) sed -i '/_XData32/s:register long:register _Xconst long:' src/video/x11/SDL_x11sym.h
5.) <builddir>/squeezeplay/src/squeezeplay/src/jive_debug.c:
Change line 100 from
"memset(hd, 0, sizeof(hd));"
to "memset(hd, 0, sizeof(*hd));"
6.) compile using "make -f Makefile.linux"
----- DEV only - no working software -----
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
has anyone of you already tried to get squeezeplay 10.1 working on the joggler?
I tried but I'm finally failing with a bus error when trying to start on the joggler.
On my ubuntu system the comiled version does load fine.
--------------------
Everybody who wants to try can load my files:
Within the joggler (ssh/telnet):
wget http://www.gforums.de/Juggler/squeezeplay-10.1.0-.tgz
Within the lib directory from squeezeplay 10.1:
wget http://www.gforums.de/Juggler/libogg.so.0
wget http://www.gforums.de/Juggler/libjpeg.so.62
wget http://www.gforums.de/Juggler/libc.so.6
use libpng12.so.0 from old squeezeplay
I took the libjpeg from the current ubuntu system which I'ved used.
The libc I took from an ubuntu package. The version which comes along with the Joggler is too old. Newer libc version aren't working at all.
Don't forget to edit the squeezeplay.sh like mentioned on http://birdslikewires.co.uk/compiling-squeezeplay
-Christian!
-----------------------------------
The steps to compile this:
0.) setup ubuntu with:
sudo apt-get install build-essential flex bison subversion automake libtool libpng12-dev libjpeg62-dev libexpat1-dev libreadline5-dev xorg-dev libflac++-dev libvorbis-dev libvorbisidec-dev libasound2-dev sudo apt-get install ncurses-dev
1.) Download:
https://github.com/Logitech/squeezeplay ... c/10.1.zip
2.)
Open squeezeplay/src/Makefile.linux and change the following:
- 10: SRC_DIR = $(realpath ${PWD})
+ 10: SRC_DIR = $(realpath $(shell pwd))
- 146: cd luaprofiler-2.0 && make -f Makefile.linux install-
+ 146: cd luaprofiler-2.0 && LD="gcc -shared" make -f Makefile.linux install
Save the makefile and if you’re aiming for the Joggler, consider whether you think a visible cursor is any use on a touchscreen device with no mouse. If you think not, make the following change to squeezeplay/src/squeezeplay/src/ui/jive_framework.c to disable the pointer:
- 1075: SDL_ShowCursor(SDL_ENABLE)
+ 1075: SDL_ShowCursor(SDL_DISABLE)
3.) http://www.portaudio.com/archives/pa_snapshot.tgz:
Grab a copy of the latest snapshot and decompress it into squeezeplay/src. The easiest way to get the new verison to be used is just to rename it to match the old version. Rename portaudio_v19_1360 to portaudio_v19_1360_old and rename portaudio to portaudio_v19_1360.
4.)
4.1) Delete folder "SDL-1.2.13", then download SDL-1.2.15 and rename to SDL-1.2.13.
Patches:
4.2) https://sources.gentoo.org/cgi-bin/view ... ta32.patch
http://forums.slimdevices.com/attachmen ... ntid=18381
http://forums.slimdevices.com/attachmen ... ntid=18382
http://forums.slimdevices.com/attachmen ... ntid=18383
do patching:
cd SDL-1.2.13
patch -p1 < ~/Source/squeezeplay-STASH/libsdl-1.2.15-const-xdata32.patch
cd SDL-1.2.13/include
patch < SDL_keysym.h.patch
patch < SDL_events.h.patch
cd SDL-1.2.13/src/events
patch < SDL_events.c.patch
4.3) sed -i '/_XData32/s:register long:register _Xconst long:' src/video/x11/SDL_x11sym.h
5.) <builddir>/squeezeplay/src/squeezeplay/src/jive_debug.c:
Change line 100 from
"memset(hd, 0, sizeof(hd));"
to "memset(hd, 0, sizeof(*hd));"
6.) compile using "make -f Makefile.linux"