Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194804 - fix GNU Emacs support for app-i18n/uim{,-svn}
Summary: fix GNU Emacs support for app-i18n/uim{,-svn}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184166
  Show dependency tree
 
Reported: 2007-10-05 14:29 UTC by Christian Faulhammer (RETIRED)
Modified: 2007-10-14 23:03 UTC (History)
2 users (show)

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


Attachments
Patch for app-i18n/uim (uim_gentoo.patch,1.67 KB, patch)
2007-10-05 14:31 UTC, Christian Faulhammer (RETIRED)
Details | Diff
sitefile for app-i18n/uim, to go to ${FILESDIR} (50uim-gentoo.el,113 bytes, text/plain)
2007-10-05 14:37 UTC, Christian Faulhammer (RETIRED)
Details
Patch for app-i18n/uim-svn ebuild (uim-svn_emacs.patch,1.83 KB, patch)
2007-10-05 14:39 UTC, Christian Faulhammer (RETIRED)
Details | Diff
sitefile for app-i18n/uim-svn, same as for plain package (50uim-svn-gentoo.el,113 bytes, text/plain)
2007-10-05 14:42 UTC, Christian Faulhammer (RETIRED)
Details
Proposed changes for uim ebuild (uim-1.4.1.ebuild.diff,1.99 KB, patch)
2007-10-14 08:25 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.