Summary: | fix GNU Emacs support for app-i18n/uim{,-svn} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Faulhammer (RETIRED) <fauli> |
Component: | New packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | emacs, usata |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 184166 | ||
Attachments: |
Patch for app-i18n/uim
sitefile for app-i18n/uim, to go to ${FILESDIR} Patch for app-i18n/uim-svn ebuild sitefile for app-i18n/uim-svn, same as for plain package Proposed changes for uim ebuild |
Description
Christian Faulhammer (RETIRED)
2007-10-05 14:29:44 UTC
Created attachment 132661 [details, diff]
Patch for app-i18n/uim
- byte-compile Elisp files
- do proper site-file installation
- added message to pkg_postinst what is provided out of the box and what not
Created attachment 132662 [details]
sitefile for app-i18n/uim, to go to ${FILESDIR}
Changes to old sitefile:
- don't use require (loaded at start-up, slows down Emacs) but autoload (when needed)
- don't bind keys (Emacs team policy)
Created attachment 132664 [details, diff]
Patch for app-i18n/uim-svn ebuild
see comment for uim plain ebuild
Created attachment 132665 [details]
sitefile for app-i18n/uim-svn, same as for plain package
(In reply to comment #3) > Created an attachment (id=132664) [edit] > Patch for app-i18n/uim-svn ebuild > see comment for uim plain ebuild The setup is really minimal out-of-the-box, so users can choose their needed settings. app-i18n/uim-svn done. hmm, If SITELISP/uim-* are not installed(no uim-* emerged), elisp-compile is failed. # USE=emacs emerge uim (snip) In toplevel form: uim.el:37:1:Error: Cannot open load file: uim-var * * ERROR: app-i18n/uim-1.4.1-r1 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_install * ebuild.sh, line 1089: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * uim-1.4.1-r1.ebuild, line 111: Called die * * (no error message) * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-i18n/uim-1.4.1-r1/temp/build.log'. * Is byte-compile necessary? Created attachment 133418 [details, diff]
Proposed changes for uim ebuild
I can reproduce the failure. Please try attached patch, which moves byte-compilation to src_compile.
fixed in cvs. thanks. |