gnu-system-discuss
[Top][All Lists]
Advanced

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

Re: Package format/management ramblingss


From: Alfred M. Szmidt
Subject: Re: Package format/management ramblingss
Date: Wed, 11 Aug 2004 11:35:27 +0200 (CEST)

   Do we really need to have any such thing as /share/emacs?  Emacs
   can get all of its files directly out of its unpacked package
   directory.

For example, say we have a program foo that needs the gnu.xpm picture
that is distributed in emacs.  This file would be the virtual file
/share/emacs/etc/gnu.xpm.  foo can access this file by using
/share/emacs/etc/gnu.xpm and get the version of gnu.xpm that was
distributed with the installed emacs.

Your scheme suggestes that foo would need to figure out what version
of emacs is installed first, and only then access
/packages/emacs-CURRENT-VERSION/etc (currently share/emacs/etc)


Oh, and /packages/emacs-FOO/etc (currently share/emacs/etc) would
conflict with /etc if /etc is a union of /packages/*/etc.

   Are you thinking that /share/e,acs would be so other packages can
   install Emacs Lisp files?

No, packages install files in their respecive package directories
(/packages/PKG/...).  I was thinking about programs that use files
that might be located in /share/emacs when a package has been
installed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]