Rockbox

Tasklist

FS#8571 - Rbutil - console interface

Attached to Project: Rockbox
Opened by Dominik Wenger (Domonoky) - Saturday, 09 February 2008, 19:07 GMT
Last edited by Dominik Riebeling (bluebrother) - Wednesday, 11 January 2012, 20:43 GMT
Task Type Patches
Category Rbutil
Status Closed
Assigned To Dominik Riebeling (bluebrother)
Dominik Wenger (Domonoky)
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version RBUtil 1.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

A Console Interface for Rbutil.
Its still unfinished.

supported actions:
- all configurations
- Install Bootloader
- Install Rockbox
- Install Fonts
- Install Doom files
- Install voice file
- Create Voice file
- Create Talkfiles

Missing is:
- uninstallation
- Themes
- bugfixing :-)
- Code clean up

Extact the attached 7zip file int rbutil/rbutilqt so that there is a new folder rbutil/rbutilqt/cli. change into this folder and run qmake && make.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Wednesday, 11 January 2012, 20:43 GMT
Reason for closing:  Out of Date
Additional comments about closing:  no activity since years.
Comment by Dominik Wenger (Domonoky) - Saturday, 09 February 2008, 19:14 GMT
the missing attachment.
   cli.7z (13.9 KiB)
Comment by Dominik Wenger (Domonoky) - Saturday, 09 February 2008, 20:04 GMT

Moved the Cli Folder up.
Put this new rbutilcli folder aside to the rbutilqt folder.
You can the update the rbutil.pro file to include both dirs, and build both version in one go.
Comment by Dominik Riebeling (bluebrother) - Sunday, 10 February 2008, 09:01 GMT
some ideas:
- make "esc" to always return to the previous menu
- in the configuratin menu, present the old values when entering the menu
- maybe (as long as we don't get more then 9 entries) accept menu selection input without enter confirmation?
- add a default action which is toggled by 0? That way we could provide a "usual installation path" for the user.
Comment by Dominik Riebeling (bluebrother) - Sunday, 10 February 2008, 11:41 GMT
current version doesn't build (at least on linux) due to the project file trying to build (and link) a GUI element. To fix it, remove browsedirtree.{cpp,h} from rbutilcli.pro. Ideally the project file would remove the need for QtGui (QT -= gui) for building, but that doesn't work yet.

In the long run it might be good to completely separate the logic of rbutil and the gui, so that we can have a new folder structure like this:
/rbutil/cli
/rbutil/gui
/rbutil/rbutilqt

But that's quite a way to go there and nothing that should happen before the cli is completed and in svn.
Comment by Dominik Wenger (Domonoky) - Sunday, 10 February 2008, 13:16 GMT

Planned improvments:
- present the old value (default value) for config option. allow to abort the config option.
- Improve Talkfile creation options.
- Better separation for gui / cli and rbutil base code. (after commit of this patch).

Update:
- The Return option is now always on 0.
- Autodetect on startup
- Fix a few bugs
- clean the code a bit.

Comment by Dominik Riebeling (bluebrother) - Sunday, 10 February 2008, 18:39 GMT
The attached diff removes the need to use QtGui with the currently attached cli version. It relies on the changes I recently committed to untie rbutil from QtGui (r16274).
Comment by Dominik Wenger (Domonoky) - Monday, 11 February 2008, 17:40 GMT

The Diff from Bluebrother was in a strange format.

The Diff plus my latest changes (sapi4 support, and bugfix in the sapi settings) as the rbutilcli folder attached.

Comment by Dominik Riebeling (bluebrother) - Friday, 15 February 2008, 20:10 GMT
Updated:
- update to build with current svn changes
- fix some strings to follow typographic rules

Some source files should get renamed IMO to use more sensible names (like encodersguicli.cpp -- is that gui or cli?) but I haven't changed that right now.
Comment by Dominik Riebeling (bluebrother) - Sunday, 30 March 2008, 22:29 GMT
small update:
- make build with current svn again
- make empty input behave as return (i.e. selecting option 0)
Comment by Dominik Riebeling (bluebrother) - Wednesday, 16 April 2008, 21:24 GMT
updated again. Fixes a segfault when building against current svn. Untested, just wanted to give people the chance to try this out (or even picking it up ;-)

Loading...