AapoRantalainen |
2012-06-07 08:51 |
[Announce] despotify-ncurses (open source spotify-client) on extras-devel
I saw somewhere (maybe same announcement than official Linux-client?) that now 3rd party/Open source Spotify clients should work with Free-account also. (Who finds cite for that?)
I just checked status of spotify on N900:
*libdespotify - Open source library (despotify svn-488) http://despotify.se/
*libspotify (closed source) - official library by Spotify Ltd [ https://developer.spotify.com/technologies/libspotify/ ]
*qtify - uses libdespotify
*yaspot - uses libdespotify
*footify (closed source) - contains own libdespotify.so (which version?)
*qspot - uses libspotify
None of these work with Free-account.
--
I downloaded newest despotify code ( svn-520) and compiled/packed their reference ncurses-client and that is working with Free-account (Note1: search+play) (Note2: at least today: 7. June 2012).
Video: http://youtu.be/X-zVAclcpUs
Package name is despotify-ncurses. It is not using (package named) libdespotify. Actually package contains only one file /opt/despotify-ncurses/despotify, which uses these libraries:
Code:
libz.so.1 => /usr/lib/libz.so.1 (0x40031000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x40049000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x40058000)
libm.so.6 => /lib/libm.so.6 (0x40088000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x400fe000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x4010a000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40241000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4025d000)
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0x4027d000)
libao.so.2 => /usr/lib/libao.so.2 (0x402ce000)
libc.so.6 => /lib/libc.so.6 (0x402d9000)
/lib/ld-linux.so.3 (0x40000000)
libdl.so.2 => /lib/libdl.so.2 (0x4040b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40416000)
Usage:
start with: /opt/despotify-ncurses/despotify
:connect
[username]
[password]
/ (or :search)
[search]
:help
:quit
arrows for navigation
enter for play
space for pause
-----
And for developers:
Code:
Index: clients/despotify/local.mk
===================================================================
--- clients/despotify/local.mk (revision 520)
+++ clients/despotify/local.mk (working copy)
@@ -5,11 +5,12 @@
unexport LDFLAGS CFLAGS
LIBDIR = ../../lib
-LIB = $(LIBDIR)/libdespotify.la
+#LIB = $(LIBDIR)/libdespotify.la
NCURSES_INCLUDE ?= /usr/include/ncursesw
-DESPOTIFY_OBJS = commands.o event.o main.o session.o ui.o ui_footer.o ui_help.o ui_log.o ui_sidebar.o ui_splash.o ui_tracklist.o
+DESPOTIFY_OBJS = commands.o event.o main.o session.o ui.o ui_footer.o ui_help.o ui_log.o ui_sidebar.o ui_splash.o ui_tracklist.o ../../lib/*.o
+LDFLAGS += -lz /usr/lib/libvorbisfile.la /usr/lib/libvorbis.la -lm /usr/lib/libogg.la -lcrypto -lresolv -lpthread
CFLAGS += -I$(LIBDIR) -I$(NCURSES_INCLUDE)
ifeq ($(shell uname -s),Darwin)
Index: debian/control
===================================================================
--- debian/control (revision 520)
+++ debian/control (working copy)
@@ -1,7 +1,7 @@
-Source: despotify
-Section: sound
+Source: despotify-ncurses
+Section: user/sound
Priority: extra
-Maintainer: UNDEFINED <root@localhost>
+Maintainer: Aapo Rantalainen <aapo.rantalainen@gmail.com>
Build-Depends: debhelper (>= 7),
libtool,
libao-dev,
@@ -15,12 +15,10 @@
Standards-Version: 3.8.3
Homepage: http://despotify.se
-Package: despotify
+Package: despotify-ncurses
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Index: debian/compat
===================================================================
--- debian/compat (revision 520)
+++ debian/compat (working copy)
@@ -1 +1 @@
-7
+5
Index: debian/changelog
===================================================================
--- debian/changelog (revision 520)
+++ debian/changelog (working copy)
@@ -1,3 +1,10 @@
+despotify-ncurses (0.0.520-maemo1) fremantle; urgency=low
+
+ * svn-520 despotify reference ncurses client
+ doesn't interface/use package named libdespotify
+
+ -- Aapo Rantalainen <aapo.rantalainen@gmail.com> Thu, 7 Jun 2012 10:40:19 +0200
+
despotify (0.0.0-0) UNRELEASED; urgency=low
* TODO: update version on build 0.0.YYYYMMDD (last commit's date)
Index: debian/rules
===================================================================
--- debian/rules (revision 520)
+++ debian/rules (working copy)
@@ -38,8 +38,11 @@
dh_installdirs
# Build
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ ${MAKEFLAGS}
-
+ #$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ ${MAKEFLAGS}
+
+ install -d $(CURDIR)/debian/despotify-ncurses/opt/despotify-ncurses
+ install clients/despotify/despotify $(CURDIR)/debian/despotify-ncurses/opt/despotify-ncurses
+
# Install
# dh_install -si --fail-missing --sourcedir=debian/tmp
dh_install -si --sourcedir=debian/tmp
------------------------
This is just test/proof about free-account. I'm not expecting anybody is using ncurses-client. But seems to me that just updating libdespotify, will brake qtify and yaspot.
|