summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--notes.org33
1 files changed, 27 insertions, 6 deletions
diff --git a/notes.org b/notes.org
index 43b90ae..5e08b7f 100644
--- a/notes.org
+++ b/notes.org
@@ -1,7 +1,15 @@
* package.el
-- package-directory-list (v)
- list of additional directories containing elpa packages. In particular this has an emacs version specific directory where we can install byte compiled files.
+- package-directory-list (v)
+
+ list of additional directories containing elpa packages. In
+ particular this has an emacs version specific directory where we can
+ install byte compiled files.
+
+ Note that having the same package-$version in two different
+ directories in this list seems not to work out well, since the
+ ordering of the constructed load-path is backwards from the list. Or
+ something.
- package-unpack (f)
@@ -11,8 +19,21 @@
* workflow
** at package build time
-- install using package-unpack (or workalike) into
- $(DESTDIR)/usr/share/emacs/site-lisp/elpa
+- install a copied/modified package-unpack into
+
+ $(DESTDIR)/usr/share/emacs/site-lisp/elpa-src
+
+ This is intentionally not ending in elpa, because of the problems
+ discussed immediately above with multiple versions of a package.
+
+- install emacsen-common helper scripts into
+ $(DESTDIR)/usr/lib/emacsen-common/packages/{compat,install,remove}
+
+- add postinst / prerm cookies to maintainer scripts
+
** at package install time
- byte compile. Each flavour needs to further interrogate
- the version installed.
+- prerm and postinst as per a normal emacsen-common using package
+- don't install a startup file into /etc; that's one of our selling
+ points.
+
+