Radio Tray and AutoKey

If there's software you need and you can't find, make a request for it.

Radio Tray and AutoKey

Postby globetrotterdk » 3. Jan 2012, 11:24

I would like to request that Radio Tray http://radiotray.sourceforge.net/ and AutoKey http://code.google.com/p/autokey/ are included in Salix OS. Radio Tray is "an online radio streaming player that runs on a Linux system tray. Its goal is to have the minimum interface possible, making it very straightforward to use." AutoKey is "a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using." I can recommend both of these apps, as I use them on almost a daily basis :)
Military justice is to justice what military music is to music. - Groucho Marx
globetrotterdk
 
Posts: 261
Joined: 26. Oct 2010, 13:57
Location: Copenhagen, Denmark

Radio Tray

Postby ElderDryas » 9. Feb 2012, 16:05

Any chance of getting Radio Tray (http://radiotray.sourceforge.net/) included in Salix? I have used it (back in the day on Xubuntu) and it is indeed a simple and easy way to stream net-radio stations.

EDIT: Sorry for the duplication, did not see that this had already been requested on 3 Jan 2012.
User avatar
ElderDryas
 
Posts: 63
Joined: 3. Nov 2011, 22:06
Location: Lincoln, Nebraska USA

Re: Radio Tray and AutoKey

Postby Shador » 9. Feb 2012, 16:36

Merged the topics.
Image
Shador
Salix Warrior
 
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Radio Tray

Postby globetrotterdk » 10. Feb 2012, 11:34

ElderDryas wrote:Any chance of getting Radio Tray (http://radiotray.sourceforge.net/) included in Salix? I have used it (back in the day on Xubuntu) and it is indeed a simple and easy way to stream net-radio stations.

Welcome to Salix OS :)
Until Radio Tray gets included in the distro, you could try to use cmus. I know it isn't as elegant a solution as Radio Tray, but cmus supports streams. The short and concise howto is here http://www.salixos.org/forum/viewtopic.php?f=16&t=3041.
Military justice is to justice what military music is to music. - Groucho Marx
globetrotterdk
 
Posts: 261
Joined: 26. Oct 2010, 13:57
Location: Copenhagen, Denmark

Re: Radio Tray and AutoKey

Postby gapan » 10. Feb 2012, 14:55

I tried to make a package for radiotray, but unfortunately it won't work that easy. Radiotray requires that the gst-plugins-good package includes the souphttpsrc element, which means that gst-plugins-good should be built with support for libsoup. But it isn't. And my guess is that, since it's a slackware package, not a salix package, that it won't be any time soon. Libsoup is not even part of slackware.

If you really want to have radiotray working, you need to rebuild the gst-plugins-good package from slackware, with support for libsoup first. That means, you get the source files from a slackware server (ftp://ftp.slackware.org.uk/slackware/sl ... gins-good/), put them all together in a directory of your choosing and make sure you have libsoup installed first and rebuild the package using the Slackbuild.
Code: Select all
$ chmod +x gst-plugins-good.SlackBuild
$ fakeroot ./gst-plugins-good.SlackBuild


Install the package you just created, it should be somewhere in your /tmp
Code: Select all
# spkg -u --reinstall /tmp/gst-plugins-good....txz


Then you can use the following SLKBUILD to build a radiotray package.

Code: Select all
#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=radiotray
pkgver=0.7.2
pkgrel=1gv
source=("http://downloads.sourceforge.net/project/radiotray/releases/radiotray-$pkgver.tar.gz")
docs=("authors" "install" "readme" "copying" "contributors" "news" )
url=http://radiotray.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"radiotray (an online radio streaming player)"
"Radio Tray is an online radio streaming player that runs on a Linux"
"system tray. Its goal is to have the minimum interface possible,"
"making it very straightforward to use. Radio Tray is not a full"
"featured music player, there are plenty of excellent music players"
"already. However, there was a need for a simple application with"
"minimal interface just to listen to online radios. And that's the sole"
"purpose of Radio Tray."
)

build() {
        cd $startdir/src/$pkgname-$pkgver
        python setup.py install --prefix=/usr --root=$startdir/pkg
}

Save that as SLKBUILD somewhere in your PC and in the same directory, run
Code: Select all
fakeroot slkbuild -X

That will build you a package, which you can install with spkg. I didn't actually try it, but I'm guessing it will work. Make sure you install any other dependencies first too (lxml is the only that you probably don't have).
Image
User avatar
gapan
Salix Wizard
 
Posts: 3509
Joined: 6. Jun 2009, 17:40

Re: Radio Tray and AutoKey

Postby ElderDryas » 10. Feb 2012, 15:20

Gapan: Thanks for the effort (and the "how to"). I guess nothing is as simple as it looks anymore :)
User avatar
ElderDryas
 
Posts: 63
Joined: 3. Nov 2011, 22:06
Location: Lincoln, Nebraska USA

Re: Radio Tray and AutoKey

Postby globetrotterdk » 11. Feb 2012, 17:20

Thanks for investigating the issue Gapan. I think I will stick to cmus for now. Perhaps I will revert to this as I get more experience.
Military justice is to justice what military music is to music. - Groucho Marx
globetrotterdk
 
Posts: 261
Joined: 26. Oct 2010, 13:57
Location: Copenhagen, Denmark


Return to Package requests

cron