FS#1783 - Organize rockbox/Rocks directory
Attached to Project:
Rockbox
Opened by Henrik Backe (hbacke) - Tuesday, 04 November 2003, 18:11 GMT
Last edited by Björn Stenberg (zagor) - Monday, 19 January 2004, 15:30 GMT
Opened by Henrik Backe (hbacke) - Tuesday, 04 November 2003, 18:11 GMT
Last edited by Björn Stenberg (zagor) - Monday, 19 January 2004, 15:30 GMT
|
DetailsThere have been frequent requests for a better
organizations of the .rockbox/Rocks directory,so 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 (even more so than my organize .rockbox patch). It adds the directories Applications, Demos, Games and Viewers to the .rockbox/rocks directory. I've changed the rockbox browser so it can browse directories for plugins, so the code is almost independent from the directory structure in .rockbox/Rocks. The only exception is the Viewers directory where all plugins that needs to be started by playing a file, are located. The Viewers directory is hidden when using the plugin browser, because starting these plugins without input is meaningless. I have chosen to exclude the Viewers directory in the code rather than taking the easy way out and call it .Viewers, because I think that the directory structure should be built already at compile time. I've also attached a makefile patch to show how I think the Rocks structure should be built. My makefile patch is only a hack with at least one major drawback (you have to add each plugin to the makefile) the proper way would be to have the same structure in apps/plugins as in .rockbox/rocks .../Henrik |
This task depends upon
Updated to latest cvs,
Th categories are changed to apps,games, demos and viewers
Updated to latest cvs
Changed .rockbox/rocks/viewers to .rockbox/viewers.
I've also delete the Makefile changes since the proposed
changes in the build system for .rock viewers is better way to
handle subfolders in the rocks directory.
../Henrik
I have set this up the way I thought was correct, but nothing
shows up in the plugins dirs. Maybe I am doing something
wrong though.
You're right, I think it might be that I have not followed
[IDC]Dragon's changes for viewing. I'm on the case.
../Henrik
Ok, now it works again.
.../Henrik
since you are busy updating it -- it would be nice if it was
merged with the latest CVS. It is just a little change in the
tree.c
I'ts only some whitespace stuff that causes problems for you.
"patch -l < organize_rocks_dir.diff" will apply the patch
cleanly.
.../Henrik
The patch is even more simplified now.
.../Henrik
This patch is discontinued.
patch http://sourceforge.net/tracker/index.php?
func=detail&atid=439120&group_id=44306&aid=879411
has larger scope, so use it instead.
.../Henrik