• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Rbutil
  • Assigned To
  • Operating System Another
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version RBUtil 1.1
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Domonoky - 2008-02-09
Last edited by bluebrother - 2012-01-11

FS#8571 - Rbutil - console interface

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.

Closed by  bluebrother
2012-01-11 20:43
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

no activity since years.

the missing attachment.

   cli.7z (13.9 KiB)

Moved the Cli Folder up.
Put this new rbutilcli folder aside to the rbutilqt folder.
You can the update the file to include both dirs, and build both version in one go.

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.

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 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:

But that's quite a way to go there and nothing that should happen before the cli is completed and in svn.

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).

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

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).

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.

- 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.

small update:
- make build with current svn again
- make empty input behave as return (i.e. selecting option 0)

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 ;-)


Available keyboard shortcuts


Task Details

Task Editing