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

Common location for images?



[ Please don't Cc: me when replying to my message on a mailing list. ]

I'm moving this to debian-devel instead of the bug system, as it's
a general policy issue.

Hakan Ardo:
> > For X, why not use the directories that X already has set up for images:
> > /usr/X11R6/include/X11/{bitmaps,pixmaps}
> 
> If all X11 packages where to place there images in the same directory,
> there will be a grate risk of filename collitions.

Subdirectories under /usr/X11R6/include/X11/{bitmaps,pixmaps} are OK.

.../bitmaps is for XBM format ("black and white icons").
.../pixmaps is for XPM format ("color icons").

There is no common location for other formats, but I suggest

	/usr/lib/images/<format>/<package>

where <format> is the name of the image format (gif, jpeg, pnm,
tiff, pbm, pgm, pnm, ppm, et cetera; we need to agree on the
name for each format), and <package> is the name of the package
(binary or source package; doesn't matter, as long as it doesn't
clash with other packages).

OTOH, this is only useful for images that can be shared. For
private images, /usr/lib/<package> can be used.

-- 
Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me.
Please don't Cc: me when replying to my message on a mailing list.


Attachment: pgpsCCbU3yBjK.pgp
Description: PGP signature


Reply to: