Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194804

Summary: fix GNU Emacs support for app-i18n/uim{,-svn}
Product: Gentoo Linux Reporter: Christian Faulhammer (RETIRED) <fauli>
Component: New packagesAssignee: 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) gentoo-dev 2007-10-05 14:29:44 UTC
Patches for both packages to follow
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-05 14:31:32 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
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-05 14:37:44 UTC
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)
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-05 14:39:43 UTC
Created attachment 132664 [details, diff]
Patch for app-i18n/uim-svn ebuild

see comment for uim plain ebuild
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-05 14:42:21 UTC
Created attachment 132665 [details]
sitefile for app-i18n/uim-svn, same as for plain package
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-05 14:42:56 UTC
(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.

Comment 6 Akinori Hattori gentoo-dev 2007-10-12 10:58:05 UTC
app-i18n/uim-svn done.
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2007-10-14 01:31:15 UTC
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?
Comment 8 Ulrich Müller gentoo-dev 2007-10-14 08:25:54 UTC
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.
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2007-10-14 23:03:49 UTC
fixed in cvs. thanks.