Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  rbutil - The Rockbox Utility needs testing
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: rbutil - The Rockbox Utility needs testing  (Read 8235 times)

Offline Domonoky

  • Developer
  • Member
  • *
  • Posts: 205
rbutil - The Rockbox Utility needs testing
« on: April 24, 2007, 06:52:07 PM »
Hi Folks,

I am working on extending and impoving rbutil (http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility) the Rockbox Utility for installing everything Rockbox related.
This Tool should evolve into the official rockbox installer, and now i could need your Help for testing.

You can find a win32 binary of rbutil at : http://b23.org/~domonoky/rbutil.zip
For Linux and Mac you would have to compile with the Patch FS #6893
EDIT:
 to compile on Linux you need wxWidget 2.8, this is likely not in the repository of your Distro, but there is a package for Ubuntu (works also on Debian) on the wxWidgets page. Otherwise you can compile wxWidgets 2.8 yourself, see instructions on their page).

I would like to hear your Testresults, and if you find any problems, please write it here or in the Tracker. And please include the Details, like you OS and your player.

If you have other suggestions, i would also like to hear it.

and finally, if know C++ and have time, please step in :-)

have fun testing,

regards, Domonoky

--------------------
known problems:
   - The "Install Rockbox Utility on Device" funktion is broken.

« Last Edit: April 24, 2007, 07:19:15 PM by Domonoky »
Logged

Offline 007quick

  • Member
  • *
  • Posts: 70
Re: rbutil - The Rockbox Utility needs testing
« Reply #1 on: April 24, 2007, 07:15:07 PM »
Can you give some more specific dirrections as to how to compile rbutil in linux. I tried with no sucess.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: rbutil - The Rockbox Utility needs testing
« Reply #2 on: April 25, 2007, 03:03:34 AM »
Quote from: 007quick on April 24, 2007, 07:15:07 PM
Can you give some more specific dirrections as to how to compile rbutil in linux. I tried with no sucess.

You need to install wxwidgets 2.8 - see http://www.wxwidgets.org for information on how to do that.

After that, it's simply a matter of typing "make" in the rbutil directory in the Rockbox source.  

For the purposes of this testing, you should apply the latest version of Domonoky's patch from FS #6893
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: rbutil - The Rockbox Utility needs testing
« Reply #3 on: April 25, 2007, 03:06:32 AM »
Quote from: 007quick on April 24, 2007, 07:15:07 PM
Can you give some more specific dirrections as to how to compile rbutil in linux. I tried with no sucess.

Also "with no success" doesn't really help anyone out with where you went wrong. What did you try - what went wrong ?
Logged

Read The Manual Please

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: rbutil - The Rockbox Utility needs testing
« Reply #4 on: May 26, 2007, 09:31:30 PM »
I just added widgets to cygwin as described here and sucessfully compiled the hello world example on that page but I can't for the life of me compile rbutil.  I'm assuming I just have to type make, right?  It starts out ok, but always starts spitting out errors when it reaches the bootloader.  I'm using wxWidgets 2.8.4, should I use 2.8.0?  I'm also using windows.  I can post a screenshot of my compiler errors if that would be helpful.  Also I'm using GCC 3.4.4-3 and I noticed that if I were to try WIN=1 then the directories are all wrong, probably because it said that was for Debian.  Thoughts?

Edit: Right now my only idea is to get GCC or Mingw independent of Cygwin and use that.  Since that will involve me digging through my path variable and moving some things there to my cygwin bash profile (yes, I was that lazy when I first set up Cygwin)to prevent problems I'm kinda leary to begin doing all that.  Just looking at the Wiki I'm assuming (probably bad idea) that has to work.  Is that the way to go?
« Last Edit: May 27, 2007, 07:31:53 PM by tdtooke »
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: rbutil - The Rockbox Utility needs testing
« Reply #5 on: May 28, 2007, 08:27:11 AM »
still a few errors or faults with this utility on windows xp
in no particular order;
1) with no ipod connected choosing install utility from file menu tells me it completed sucessfully clearly it lied.
2)some themes would not install thaats all thy said! did they need patches or somthing?
3)it would be nice to have the utility to be fine for new installs but very wary if rockbox is already there as it will wipe out any patches that may be installed could it determine if patches are present?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: rbutil - The Rockbox Utility needs testing
« Reply #6 on: May 28, 2007, 08:36:30 AM »
In regard to #3, I'm not sure why the official installer should even be run on devices running patched builds. If you run it over an official installation there should be no problem. If you have a patched build, telling it to install Rockbox is pointless unless you clearly want to wipe out the patched build, right?

I'm not sure why adding an extra "Are you sure you wish to overwrite this" is beneficial since the only time the answer would be "No" is if you aren't using an official build of Rockbox (the only time you really should want to keep an outdated build) and this is the official installer, right?
Logged

Offline Domonoky

  • Developer
  • Member
  • *
  • Posts: 205
Re: rbutil - The Rockbox Utility needs testing
« Reply #7 on: May 28, 2007, 10:27:12 AM »

To #1:  the portable installation is somehow broken, and i dont know why, i leave this to Cassandra :-)

#2:  All Themes you can see in rbutil are from rockbox-themes.org,  rockbox-themes filter the Themes which need a patch out, so you should only see Themes whitch work on the official build.
If the Installation of a theme fails, rbutil says "Installation failed" and offers a Button for more Info about this error.  So there should be the Info why the install failed.

to #3:
Its impossible to detect if you have a patched build, rbutil will just install the newest official build.


hope i could help.
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: rbutil - The Rockbox Utility needs testing
« Reply #8 on: May 28, 2007, 10:30:12 AM »
I've tried out the win32 version of rbutil through wine, it looks nice but I haven't done any real testing with it because I'm stubbornly trying to get it to work in Linux.
I've compiled / installed the latest Wxwidgets, and when I go to build rbutil it compiles fine.
When I run ./rbutil    (as user and as root just to be sure) I get this error:

./rbutil: error while loading shared libraries: libwx_gtk2_aui-2.8.so.0: cannot open shared object file: No such file or directory

I had a look for said library, and it's located in /usr/local/lib which is in my path. Any suggestions as to what's going wrong?
Logged

Offline Domonoky

  • Developer
  • Member
  • *
  • Posts: 205
Re: rbutil - The Rockbox Utility needs testing
« Reply #9 on: May 28, 2007, 12:43:41 PM »
Hey,

i dont know too much about Linux, but it sounds like your wx libs are not correct installed.
Check if the lib really has this name, and if it is a Symlink, that it points to the right place.

you can also try to set the variable LD_LIBRARY_PATH to the dir with the lib.

Another option would be to build wx with the configure switch --disable-shared then it should build a static wx, and dont need the libs.

There is also a .dep package on the wxwidgets site if you have Ubuntu or Debian.. this works :-)


@ tdtook: i dont know if the Makefile is uptodate for use with cygwin. On Windows i compile with  Code::Blocks. However, on linux the makefile works.

hope i could help.
« Last Edit: May 28, 2007, 12:47:09 PM by Domonoky »
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: rbutil - The Rockbox Utility needs testing
« Reply #10 on: May 28, 2007, 12:44:31 PM »
Quote from: evilg123 on May 28, 2007, 10:30:12 AM
./rbutil: error while loading shared libraries: libwx_gtk2_aui-2.8.so.0: cannot open shared object file: No such file or directory

I had a look for said library, and it's located in /usr/local/lib which is in my path. Any suggestions as to what's going wrong?

In linux, shared libs are not scanned for in your path, but in the dirs that is mentioned in the /etc/ld.so.conf file. Presumably, you don't have /usr/local/lib in there.

If you add it, you need to rerun ldconfig (as root) to make your system pick up the change.
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: rbutil - The Rockbox Utility needs testing
« Reply #11 on: May 28, 2007, 03:09:29 PM »
Bagder, thanks for the help worked perfectly.

So now that I can run rbutil, I can comment on it:
I made a backup of my .rockbox and GBSYSTEM so that I could pretend I was installing on a new device. The interface is really easy to use, I like how the tabs are in the logical order that you would use them. A couple of criticisms though:

1. The little blurb about the fonts should be more clear about the fonts being needed for themes, there are a lot of themes that don't have the font included.

2. When I'm getting new themes, the description is sometimes too long for the window, and so the OK and CANCEL buttons disappear (I can still say OK by hitting ALT+O ) maybe the description could be a scrolling text box?

Aside from that, my rbutil experience was fun, everything worked like it should have after installation. Nice work guys ;)
Logged

Offline Domonoky

  • Developer
  • Member
  • *
  • Posts: 205
Re: rbutil - The Rockbox Utility needs testing
« Reply #12 on: May 28, 2007, 04:33:29 PM »
thanks for the comments,

To 1:  The text for the fonts isnt really uptodate any more, so if you propose a good little text, i will change it :-)

about 2: putting the Theme description in a scrolling control is a good idea, i will have a look at the code.

Edit: i just changed both in SVN. so it should be fixed :-)
« Last Edit: May 28, 2007, 04:56:56 PM by Domonoky »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: rbutil - The Rockbox Utility needs testing
« Reply #13 on: May 28, 2007, 05:11:22 PM »
I really like it too, and have one small observation/question.

On the install rockbox dialogue, would it be an idea to have the default build selected for install as a current build not archived build as this is what we generally suggest people install?
« Last Edit: May 28, 2007, 05:14:13 PM by BigBambi »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: rbutil - The Rockbox Utility needs testing
« Reply #14 on: May 28, 2007, 05:12:33 PM »
Quote from: Domonoky on May 28, 2007, 04:33:29 PM
thanks for the comments,

To 1:  The text for the fonts isnt really uptodate any more, so if you propose a good little text, i will change it :-)

about 2: putting the Theme description in a scrolling control is a good idea, i will have a look at the code.

Edit: i just changed both in SVN. so it should be fixed :-)

sweet, thanks.
Logged

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  rbutil - The Rockbox Utility needs testing
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.127 seconds with 14 queries.