Rockbox

Tasklist

FS#1782 - Organize rockbox directory

Attached to Project: Rockbox
Opened by Henrik Backe (hbacke) - Tuesday, 04 November 2003, 17:48 GMT
Last edited by Daniel Stenberg (bagder) - Thursday, 08 January 2004, 12:40 GMT
Task Type Patches
Category
Status Closed
Assigned To Daniel Stenberg (bagder)
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

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
This task depends upon

Closed by  Daniel Stenberg (bagder)
Thursday, 08 January 2004, 12:40 GMT
Reason for closing:  Accepted
Comment by Henrik Backe (hbacke) - Wednesday, 10 December 2003, 13:23 GMT

Removed wps and cfg directories.
The other directory names are changed to fonts and langs.
Also updated to latest cvs.
Comment by Daniel Stenberg (bagder) - Friday, 12 December 2003, 15:48 GMT

Doesn't this break how set_file() works and thus subsequent
reloading of fonts/langs?
Comment by Henrik Backe (hbacke) - Friday, 12 December 2003, 16:18 GMT

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
Comment by Henrik Backe (hbacke) - Wednesday, 07 January 2004, 16:00 GMT

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
Comment by Henrik Backe (hbacke) - Wednesday, 07 January 2004, 16:01 GMT

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