Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193402 - Fix Emacs support and a lot more in media-gfx/asymptote
Summary: Fix Emacs support and a lot more in media-gfx/asymptote
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dominik Stadler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184166 191008
  Show dependency tree
 
Reported: 2007-09-22 10:56 UTC by Christian Faulhammer (RETIRED)
Modified: 2007-10-07 09:13 UTC (History)
1 user (show)

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


Attachments
patch for the ebuild (asymp_emacs.patch,2.92 KB, patch)
2007-09-22 11:05 UTC, Christian Faulhammer (RETIRED)
Details | Diff
64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR} (64asymptote-gentoo.el,193 bytes, text/plain)
2007-09-22 11:08 UTC, Christian Faulhammer (RETIRED)
Details
asy-ftd.vim, activates support for .asy files in Vim/gVim, goes to ${FILESDIR} (asy-ftd.vim,60 bytes, text/plain)
2007-09-22 11:11 UTC, Christian Faulhammer (RETIRED)
Details
64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR} (64asymptote-gentoo.el,337 bytes, text/plain)
2007-09-22 12:50 UTC, Ulrich Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2007-09-22 10:56:34 UTC
Patches to follow
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-22 11:05:19 UTC
Created attachment 131583 [details, diff]
patch for the ebuild

This fixes Emacs support:
- byte-compilation of Elisp files in src_compile
- correct usage of elisp-common functions to install Elisp files
- regeneration of site-gentoo.el so Emacs has support for .asy files from the start (attached to this bug)

This fixes Vim support (see bug 191008):
- correct dependencies on vim and gvim
- installation of support file so vim chooses correct mode when started with .asy file (attached to this bug)

This fixes some minor QA issues:
- quotes around variables that may contain spaces
- inherit latex-package.eclass so latex-package_rehash can be used instead of own texhash call
- make -> emake
- add a traling slash to HOMEPAGE URI
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-22 11:08:46 UTC
Created attachment 131584 [details]
64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR}

This file will activate support for .asy files in GNU Emacs just automagically
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-22 11:11:19 UTC
Created attachment 131586 [details]
asy-ftd.vim, activates support for .asy files in Vim/gVim, goes to ${FILESDIR}
Comment 4 Ulrich Müller gentoo-dev 2007-09-22 12:50:34 UTC
Created attachment 131595 [details]
64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR}

Probably you should autoload "asy-mode" instead of "asy-mode.el" so that you get the byte-compiled file.

I've also added two more autoload commands, mentioned in the documentation of asy-mode.el.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-07 09:13:39 UTC
Done.