Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category
  • Assigned To
    Daniel Stenberg
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Henrik Backe - 2003-11-04
Last edited by Daniel Stenberg - 2004-01-08

FS#1782 - Organize rockbox directory

There have been frequent requests for a better
organizations of the .rockbox directory, here is a patch.

This patch should be seen as the basis for a discussion
of how it could be done rather than “the” solution.

It adds the directories Configs,Fonts,Languages and
WPS.

The behaviour of settings and rockbox browse are
changed to use these directories, so in this respect
the patch is complete.

I will also add a patch that will organize
the .rockbox/Rocks directories.

…/Henrik

Closed by  Daniel Stenberg
2004-01-08 12:40
Reason for closing:  Accepted
Henrik Backe commented on 2003-12-10 13:23

Removed wps and cfg directories.
The other directory names are changed to fonts and langs.
Also updated to latest cvs.

Admin
Daniel Stenberg commented on 2003-12-12 15:48

Doesn't this break how set_file() works and thus subsequent
reloading of fonts/langs?

Henrik Backe commented on 2003-12-12 16:18

Nope.

set_file() only saves the file name, not the even the .rockbox
path.
The *load() functions expects the the full path, and
in settings.c you just add the correct path before loading.

…/Henrik

Henrik Backe commented on 2004-01-07 16:00

Updated to latest cvs

Sorry for my last dyslectic answer, i'll try again.

set_file() only saves the file name, not the the .rockbox
path. The directory names are hardcoded in font_load() and
lang_load(). The patch changes these hardcoded paths.
The "old" cfg file will still work if the wps and lang files are
moved to the new directories.

…/Henrik

Henrik Backe commented on 2004-01-07 16:01

Updated to latest cvs

Sorry for my last dyslectic answer, i'll try again.

set_file() only saves the file name, not the the .rockbox
path. The directory names are hardcoded in font_load() and
lang_load(). The patch changes these hardcoded paths.
The "old" cfg file will still work if the wps and lang files are
moved to the new directories.

…/Henrik

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing