[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian junior looking for help with menus



Je 2000/11/27(1)/14:11, Sean 'Shaleh' Perry montris sian geniecon skribante:


First of all, I'm sorry for not responding your post
sooner.


> Things like gimp being under a 'Coloring' section instead of graphics.  This is
> more than translation because they would like have everything under the root
> menu for easier access.

Actually I am not yet convinced it cannot be done with the current
translation stuff, but... (Maybe you've thought about it more than
I have, though).

> There are other isssues.  There is hope that a rating of packages will occur
> and the menu will only show packages under (or over) a certain rating.  So
> Susie 4 year old can see a coloring program but not doom.

That should be not too dificult. One package `debian-rating' could
include a menu file, that has the violense and X-ratings of the
various menu entries in them.
One note of warning: I don't think the menu-code this will use
is very much tested yet. But at least the infra structure is there.

$ dpkg -L debian-rating   #or dpkg -L debian-jr, or whatever
[...]
/usr/lib/menu/debianrating
[...]

$ cat /usr/lib/menu/debianrating
[...]
?package(doom):\
needs="x11"\
section="Apps/Games/???"\
title="Doom"\
v-rating="9"\
x-rating="1"

?package(fulfrontalnudes):\
needs="x11"\
section="Apps/Graphics/Pictures"\
title="ffn"\
v-rating="0"\
x-rating="9"



$ grep rating /etc/menu-methods/menu.h
max_x_rating=10
max_v_rating=2

And the appropriate changes in /etc/menu-methods/* (the wm's should
refuse to install an entry if eighter the x- or v-rating is too high),
that should do it. (the above would be approrpiate for my box,
maybe not for the average debian-jr box)



> The goal is to change as little of debian as possible.  If you would mind
> sending any suggestions on modifying how debian handles menus or some nifty way
> to solve this problem, they would be greatful.

I'd love to help, and hope to respond to emails quicker in the
future.

> There is a debian-jr list at lists.debian.org now.

I'd prefer not to join just now -- too much mail already.
However, I will join whenever there would be a neeed for that.
CC-ed this message to the list, though.

Thanks,

-- 
joostje



Reply to: