![]() |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
I had thought that when upgrading it would have removed the other one since it was tied to the old package.. I'll have to check it out. For the old one just use the one that is in testing instead of devel. |
Re: [application] pyPianobar (with pianobar)
Quote:
Now I'm confused. |
Re: [application] pyPianobar (with pianobar)
Ok I just updated my scratchbox from the old version to the new and it *did* remove the link in /usr/bin/pianobar like it was supposed to and it's now in /usr/local/bin/pianobar which is where it normally *should* be.
It didn't clean up /etc/pianobar though which is a little annoying.. since the config location moved to /usr/local/etc/pianobar.. So if you've upgraded you can remove /etc/pianobar directory completely. It still runs for me though.. after the upgrade: Code:
[sbox-FREMANTLE_ARMEL: ~/pyPandora] > which pianobar ETA: Oh, because /etc/pianobar is a "config" file it won't remove it unless you "purge" pianobar first.. I see. I might have to put that into a postrm or something. |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
The only thing I don't like about the new one is the config location.. I would prefer it to stay in /etc/pianobar... I don't know of any app that uses /usr/local/etc for anything.. but pianobar doesn't come with an example config so I had to add it to the CMakeList files myself and evidently I am not fulling understanding the proper way to do it. I'm not sure what to do at this point.. having auto-builder do it is the "proper" way to build the app.. do I leave it as is and you fix qtPianobar.. or do I find some way to pass an environment variable or something to auto-builder so that it builds in /usr/ instead of /usr/local ?? |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
Pianobar is optified by maemo-optify. /opt is not a normal area and thus not usually added to $PATH because /opt can contain several different ideas: /opt/package /opt/maemo/package /opt/maemo/bin /opt/(insert random character that the developer decided he wanted here) etc.. It's not consistent. So what you do is you create the directory tree.. just the directories (we're talking taking up a single inode here on the rootfs).. in the rootfs for like /usr/local/bin. Then you link the application from the optified location, to the rootfs location.. so you get: Code:
[sbox-FREMANTLE_ARMEL: ~/pyPandora] > which pianobar No real, noticeable, space is being taken on rootfs at all. |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
So what I meant earlier was: I'm not sure if we want to leave this as is, because this is way pianobar will be built from desktops down to little tablets... or if I should find a way to instead pass the make to /usr. What this will do effectively, is put the app in /opt/maemo/usr/bin and link it to /usr/bin/ which is where the old version of pianobar I think was. It'll also move the config file to /usr/etc/pianobar/.. at least unless I statically code the config to go somewhere.. Any suggestions welcome on where this package should reside. |
All times are GMT. The time now is 12:14. |
vBulletin® Version 3.8.8