Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category
  • Assigned To
    bagder
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by hbacke - 2003-11-04
Last edited by bagder - 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  bagder
2004-01-08 12:40
Reason for closing:  Accepted

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

Project Manager

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

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

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

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