Re: Idea - schematic information in %description

2007-05-04 Thread Łukasz Jernaś
Dnia czwartek, 3 maja 2007, Przemyslaw Iskra napisał:
 On Thu, May 03, 2007 at 08:57:40AM -0400, Jeff Johnson wrote:
  If you want package categories, please add as a separate tag, not by
  overloading description.

 Yup, that would be a better idea. I was thinking about %description
 because it actually works. Adding new tag requires some work in rpm, as
 well as a decent support in poldek. But making a list of all possible
 categories and tags, and than adding it to packages is going to take
 a lot of time anyway.

 I don't really feel the idea of adding such information separatelly from
 building process. Of course it isn't wise to rebuild some big package
 just because of changes in summary, description or category, but in case
 of our automation a lot of work may be required to do it other way than
 rebuilding the package.

Maybe something like Provides: SUPPORT_extension which could be even 
autogenerated at build time from proper mime type description availible in 
most packages .desktop files?
[EMAIL PROTECTED] ~]$ cat /usr/share/applications/gimp.desktop | grep MimeType
MimeType=image/bmp;image/g3fax;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-compressed-xcf;image/x-fits;image/x-gray;image/x-pcx;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-sun-raster;image/x-tga;image/x-xbitmap;image/x-xcf;image/x-xpixmap;image/x-xwindowdump;

and the appopriate XDG mime search?
This could be a pretty nifty freedesktop spec ;

Regards,
-- 
Łukasz [DeeJay1] Jernaś


signature.asc
Description: This is a digitally signed message part.
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Idea - schematic information in %description

2007-05-04 Thread Przemyslaw Iskra
On Fri, May 04, 2007 at 01:35:28PM +0200, Łukasz Jernaś wrote:
 
 Maybe something like Provides: SUPPORT_extension

I'd say: no. This has to be primatly information for people, not scripts
or for some automation.

 which could be even 
 autogenerated at build time from proper mime type description availible in 
 most packages .desktop files?
 [EMAIL PROTECTED] ~]$ cat /usr/share/applications/gimp.desktop | grep MimeType
 MimeType=image/bmp;image/g3fax;image/gif;image/jpeg;image/jpg;...

I was thinking about ripping information from .desktop files, but how
about console applications without desktop file ? Like file converters
and such. Or when some additional package is needed for that
funcionality.

Anyway MimeType from .desktop files should be useful to get
preliminary information.


And supported file types is not the only thing I'd like to be tagged
this way, but for now only other use for it I've got in my head is
describing game generes.

So now, let's think where such tagging may be useful. Later we will
think about the tags. And at the end about implementation. Because there
is no sense to think about implementation of something that does not
exist.

-- 
   Sparky{PI] -- Przemyslaw _  ___  _  _  ... LANG...Pl..Ca..Es..En
/) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWWppcrcd.pld-linux.org
\\| -_)'___| ||^'||//\\//|  _/| |  | : JID..sparkyatjabberes.org
(/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mailsparkyatpld-linux.org
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en