• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category
  • Assigned To No-one
  • 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 zagor - 2004-01-19

FS#1783 - Organize rockbox/Rocks directory

There 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

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


Closed by  zagor
2004-01-19 15:30
Reason for closing:  

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.


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.


Ok, now it works again.


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

I'ts only some whitespace stuff that causes problems for you.

"patch -l < organize_rocks_dir.diff" will apply the patch


The patch is even more simplified now.


This patch is discontinued.

has larger scope, so use it instead.



Available keyboard shortcuts


Task Details

Task Editing