Great Little Radio Player

If there's software you need and you can't find, make a request for it.
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Great Little Radio Player

Post by zAchAry » 14. Oct 2015, 17:35

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

}
Image
Help to make Slackware easier Donate to Salix

djemos
Salix Warrior
Posts: 1068
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Great Little Radio Player

Post by djemos » 14. Oct 2015, 20:18

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

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Great Little Radio Player

Post by zAchAry » 15. Oct 2015, 07:44

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!
Image
Help to make Slackware easier Donate to Salix

djemos
Salix Warrior
Posts: 1068
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Great Little Radio Player

Post by djemos » 15. Oct 2015, 10:36

Code: Select all

sudo installpkg greatlittleradioplayer-1.4.7-2.i386.txz
sudo slapt-get -i phonon phonon-gstreamer

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Great Little Radio Player

Post by zAchAry » 15. Oct 2015, 11:00

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)
Image
Help to make Slackware easier Donate to Salix

djemos
Salix Warrior
Posts: 1068
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Great Little Radio Player

Post by djemos » 15. Oct 2015, 16:40

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.

User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Great Little Radio Player

Post by zAchAry » 16. Oct 2015, 03:37

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.
Image
Help to make Slackware easier Donate to Salix

djemos
Salix Warrior
Posts: 1068
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Great Little Radio Player

Post by djemos » 16. Oct 2015, 13:52

glrp not working on 32bit Solved.

Code: Select all

sudo geany  /etc/profile
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.

User avatar
ChuangTzu
Donor
Posts: 337
Joined: 19. May 2015, 23:34

Re: Great Little Radio Player

Post by ChuangTzu » 16. Oct 2015, 16:03

Curious how does this program compare to Clementine, Guayadeque, quod libet etc....?

Maybe worth trying or not that different?
Image
Image

djemos
Salix Warrior
Posts: 1068
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Great Little Radio Player

Post by djemos » 16. Oct 2015, 16:26

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. :)

Post Reply