This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7277 - Debian (Ubuntu) packaging
Attached to Project:
Rockbox
Opened by Jonas Häggqvist (rasher) - Saturday, 09 June 2007, 07:22 GMT+2
Last edited by Jonas Häggqvist (rasher) - Sunday, 06 January 2008, 02:48 GMT+2
Opened by Jonas Häggqvist (rasher) - Saturday, 09 June 2007, 07:22 GMT+2
Last edited by Jonas Häggqvist (rasher) - Sunday, 06 January 2008, 02:48 GMT+2
|
DetailsThis patch makes it possible to build a debian package of rbutil. Currently it only works in Ubuntu since wxwidgets has not been built for Debian (and might not be in the foreseeable future - see http://bugs.debian.org/403237). Building the package requires the following packages installed: debhelber, fakeroot, build-essential, libwxgtk2.8-dev, devscripts, dh-make
To build the package simply execute "debuild -us -uc" in the rbutil directory. To clean up after this, execute "fakeroot debian/rules clean". I have created this patch using the current development version of Ubuntu ("Gutsy Gibbon"), but it ought to work on 7.04 as well, at least requiring minimal changes. The attached .deb may or may not install on 7.04 - I have no way to check. This exposes another problem though: that rbutil expects write permissions in the dir the binary is in. To me, this is a bug, and should be fixed to write into a dot-file in the userdir on Linux/OSX/BSD and in the user's LocalSettings dir (I believe that's the right one, but may be wrong) on Windows. |
This task depends upon
Closed by Jonas Häggqvist (rasher)
Sunday, 06 January 2008, 02:48 GMT+2
Reason for closing: Out of Date
Sunday, 06 January 2008, 02:48 GMT+2
Reason for closing: Out of Date
Updated .deb as well.
EDIT: Also I just noticed that in the tar.gz archive that gets created, the .svn directories are present. This would need to be solved and I know svn can help with it (svn export)
About the rbutil.ini file.
rbutil doesnt write to this file, its just the global config for rbutil.
Its easy to change, so that it looks in other dirs first.
If you like, i can change it :-)
And how about the User config file "RockboxUtility.cfg" it gets created, is it in the right place for linux ?
Domonoky: Yes, RockboxUtility.cfg gets created in the right place (/home/username/.rbutil/RockboxUtility.cfg), I simply wasn't paying attention. I'd say checking for rbutil.ini in the following order would be most sane on Linux/BSD (and possibly OS X as well though I'm not sure about that):
1. in the same dir as the executable
2. /home/username/.rbutil/rbutil.ini
3. /etc/rbutil.ini
This way original behaviour is preserved in the current case (self-built binary in a non-standard location), any user can create their own config and a system-wide config can be provided in a sane location on "proper" installs. I would think something similar should be in place for Windows, but I'm probably not the right person to comment on this.
You just have to add the url from the wx site to your sources list.
So we just have to find out how the situation is with the rpm based distros, and we are set :-)
For this to work, I converted the archos.ico to png and I install that in two locations.
NOTE: The deb is for Gutsy, not feisty.
Also I think the .deb you attached is for gutsy and not feisty ;-)
EDIT: After building the package on my system and installing it, the icon is nowhere to be found in my K-Menu
Edit: I can confirm that on Debian, I do get a Rockbox Utility icon in my KDE menu, so I'm not quite sure what's going on in your case. I might try installing KDE on my Ubuntu install later today to see what's going on.
At least what I noticed is that the icon gets shown when I run the app directly (through the "execute command" dialog).
In (Debian's) KDE it shows under Utilities > Rockbox Utility - Rockbox Installer
In the Debian menu it shows under Apps > Tools > Rockbox Utility (But I think KDE may be hiding duplicates or something like that)
Edit: I just installed KDE in Ubuntu, and I get an icon under the same location as in Debian.
fixes the dependece:
libc6 for feisty
and has the icon on the menu ;) for ubuntu feisty!