Page 1 of 2
Great Little Radio Player
Posted: 14. Oct 2015, 17:35
by zAchAry
I need help in building glrp.
Code: Select all
pkgname=glrp
pkgver=1.4.7
pkgrel=1me
url="http://sourceforge.net/projects/glrp/"
source=(http://downloads.sourceforge.net/project/glrp/greatlittleradioplayer_$pkgver.tar.gz)
docs=("AUTHORS" "ChangeLog" "COPYING" "README")
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"glrp (Great Little Radio Player)"
"This is 'Great Little Radio Player'. It is a robust internet radio"
"station streamer. It connects to web sites offering radio streaming"
"and lets you play radio stations directly from that locations."
""
"Homepage: http://sourceforge.net/projects/glrp/"
)
build() {
cd ${SRC}/greatlittleradioplayer_$pkgver
sed -i '/^#include/s|Phonon/|phonon/|' mainwindow.{h,cpp}
sed -i '/^#include <phonon\/phonon>/d' mainwindow.cpp
qmake PREFIX=/usr \
. || return 1
make VERBOSE=1 || return 1
make install DESTDIR=$PKG || return 1
}
Re: Great Little Radio Player
Posted: 14. Oct 2015, 20:18
by djemos
I was able to build the 64bit package but i could not build the 32bit.
So i downloaded the 32bit rpm and convert it to txz with rpm2txz. It is running fine.
The SLKBUILD 64bit package and binaries for 64bit and 32bit are
here
Re: Great Little Radio Player
Posted: 15. Oct 2015, 07:44
by zAchAry
Thank you for your effort.
It does not work as expected under Salix 32-bit.
Code: Select all
$ /opt/extras.ubuntu.com/glrp/GreatLittleRadioPlayer
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( music ) to Phonon::AudioOutput ( audioOutput ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( music ) to Phonon::AudioDataOutput ( AudioDataOutput ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
QSystemTrayIcon::setVisible: No Icon set
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
Please also rename the package file name.
Code: Select all
$ gnsu spkg greatlittleradioplayer-1.4.7-2.i386.txz
ERROR: Package name is invalid. (greatlittleradioplayer-1.4.7-2.i386.txz)
ERROR: Package upgrade failed!
Re: Great Little Radio Player
Posted: 15. Oct 2015, 10:36
by djemos
Code: Select all
sudo installpkg greatlittleradioplayer-1.4.7-2.i386.txz
sudo slapt-get -i phonon phonon-gstreamer
Re: Great Little Radio Player
Posted: 15. Oct 2015, 11:00
by zAchAry
Code: Select all
sudo installpkg greatlittleradioplayer-1.4.7-2.i386.txz
Rename to greatlittleradioplayer-1.4.7-2-i386.txz
Code: Select all
sudo slapt-get -i phonon phonon-gstreamer
I already have these installed. By the way, why glrp-1.4.7-x86_64-1dj.dep has freetype2,phonon,phonon-gstreamer,qt listed? (there is no package freetype2)
Re: Great Little Radio Player
Posted: 15. Oct 2015, 16:40
by djemos
sorry freetype.
i have tested and if phonon-gstreamer is not installed then glrp has no sound. So phonon and qt is also deps. freetype is for fonts.
Did you tried to build the i486 package in salix. Maybe there package builds. On x86_64 package build with no errors.
On current both packages run fine.
Re: Great Little Radio Player
Posted: 16. Oct 2015, 03:37
by zAchAry
I have failed to build from your SLKBUILD.
Porteus has glrp in its KDE flavor, but I do not know how to convert XZM modules into TXZ packages.
Re: Great Little Radio Player
Posted: 16. Oct 2015, 13:52
by djemos
glrp not working on 32bit Solved.
add after line 17
Code: Select all
export QT_PLUGIN_PATH=/usr/lib/kde4/plugins
Save the file and
source /etc/profile
This has been tested on a clean install of salix-openbox-14.1 in vmware.
Re: Great Little Radio Player
Posted: 16. Oct 2015, 16:03
by ChuangTzu
Curious how does this program compare to Clementine, Guayadeque, quod libet etc....?
Maybe worth trying or not that different?
Re: Great Little Radio Player
Posted: 16. Oct 2015, 16:26
by djemos
Personally, i prefer clementine or exaile. Both have the same functionality to play radio station with a better well-looking interface.
I do not like Great Little Radio Player but this is of course a personal matter of taste.