Idea - schematic information in %description

Przemyslaw Iskra sparky at pld-linux.org
Thu May 3 13:26:32 CEST 2007


My proposal it to add some schematic (with well known structure)
information to %description in packages. That would allow to easyly
find some suitable application using search in poldek, or grep in
SPECS directory.
Teoretically rpm groups should be used for that prupose, but there
are very little different groups, and one application may not have
more than one group at once.
Additionally information I's like to be added would be mainly
(only ?) useful for applications, so there is no sense to play
with the groups.

The structure should be described in some file found in CVS, in
PLD-Doc or in SPECS directory, it should also contain as many
translations as possible, and some descriptions of each category,
it has to be human-readable.


I think it would look like:

openoffice.org-writer:
 (blabla, old %description)

 Edit: odt, ott, sxw, doc, (try to list all)
 Save: odt, ott, sxw, doc, pdf, (try to list all)

gqview:
 Open: bmp, png, jpeg (try to list all)

mplayer:
 Open: avi, mpeg, wmv, mp3, ac3 (try to list all)

mencoder:
 Convert: avi, mpeg, wmv, dvd, vcd
 Save: avi, mpeg


In some cases additional, optional plugins would be required to get some
funcionality, that funcionality should be listed in main package anyway,
but in parentesis plugin name should be specified.

ImageMagick (convert):
 Convert: png (coder-png), jpeg (coder-jpeg), (...)
 Save: png (coder-png), jpeg (coder-jpeg), (...)


Other things than file manipulation:

quake3:
 Game: fps; network

tremulous:
 Game: fps, strategy; multiplayer-only, network

wesnoth:
 Game: strategy; turn-based; network, hot-chair



My initial proposal of categories, it must be discussed, extended,
and made easy to understand (human readable):

[file types]
	[graphics]
		png - portable network graphics
		jpeg
		bmp
		xcf - gimp file
	[audio]
		mp3
		ogg vorbis
		ac3
	[video]
		ogg - theora + (optionally) vorbis
		avi - (should be split to divx, and others)
		mpeg
	[office]
		odt - OpenDocument
		ott - OpenDocument template
		sxw - star/open office writer file
		doc - m$ file
		pdf
	...

[categories]
	Edit, [ca] Edita, [es] Edita, [pl] Edytuje:
		(application is able to open file for editing and
		  manipulation)
		keywords:
			(file types)

	Convert, [ca] Convertix, [es] Convierte, [pl] Konvertuje:
		(able to open file for saving it as annother file type)
		keywords:
			(file types)

	Open, [ca] Obri, [es] Abre, [pl] Otwiera:
		(application is able to open file for displaying
		  or reproduction)
		keywords:
			(file types)

	Save, [ca] Desa, [es] Guarda, [pl] Zapisuje:
		(able to asve to that file type after manipulation
		  or when converting)
		keywords:
			(file types)

	Game, [ca] Joc, [es] Juego, [pl] Gra:
		(application is a game with following specifications)
		keywords:
			fps - first-person shooter
			rpg - role-playing game
			straregy, [ca] estrategia, [es] estrategia,
				[pl] strategia
			cards, [ca] cartes, [es] cartas, [pl] karty
			(...)

			turn-based
				- turn based, if not specified it is real-time
				- cards implies turn-based, no need to specify

			multiplayer-only
				- there is no possibility for single game
			network, [ca] xarxa, [es] red, [pl] siec
				- network multiplayer game
			split-screen
				- each player has it's own part of the screen
			same-screen
				- both players are visible on the same screen
			hot-chair
				- available in turn based games, player should
				  not know what the other is doing, if they are
				  allowed to see use "same-screen" (tictactoe?)




OK, that is only the proposal. Needs discussion. Similar categories
must be developed for other kinds of applications.

So, what do you think ?


-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


More information about the pld-devel-en mailing list