Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698186 - elisp-common.eclass: support for modules / dynamic loading
Summary: elisp-common.eclass: support for modules / dynamic loading
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 10:04 UTC by Ulrich Müller
Modified: 2022-06-07 09:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2019-10-21 10:04:40 UTC
From IRC conversation:

[Sat Oct  5 2019]
<@graaff> ulm: you may be interested in emacs-libvterm in my graaff overlay
<@graaff> it uses a module but I don't think the elisp eclasses have support
	  for that yet?
<@ulm> graaff: I'm going to look into it
<@graaff> Proper terminal emulation rather than what M-x shell does

[Fri Oct 18 2019]
<@ulm> graaff: sorry for the delay, I just found time to look at
       emacs-libvterm
<@ulm> installing the module under ${SITELISP} doesn't look right to me
<@ulm> it should be in /usr/lib*
<@ulm> emacs uses dlopen, I suppose? so should use normal library path?
<@ulm> hm, it doesn't but seems to use load-path
<@ulm> graaff: so, here's a plan :)
<@ulm> I'd suggest to install any modules in
       /usr/$(get_libdir)/emacs/site-modules/${PN}
<@ulm> elisp-common.eclass would have support for the correct exeinto and
       doexe calls, and for adding the dir to load-path
<@ulm> or should we omit the site-modules level, i.e. install to
       /usr/$(get_libdir)/emacs/${PN}?
<@ulm> that won't correspond to the hierarchy in site-lisp though
Comment 1 Ulrich Müller gentoo-dev 2019-10-21 15:16:19 UTC
Upstream discussion:
https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg00871.html
Comment 2 Ulrich Müller gentoo-dev 2022-06-07 09:36:05 UTC
This has been fixed some time ago:

commit 52fcc6b583bd158b7ff83789a5e9dbd24c0f2599
Author: Ulrich Müller <ulm@gentoo.org>
Date:   Sat Jul 25 21:08:45 2020 +0200

    elisp-common.eclass: Support installation of dynamic modules.
    
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>