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

Bug 193402

Summary: Fix Emacs support and a lot more in media-gfx/asymptote
Product: Gentoo Linux Reporter: Christian Faulhammer (RETIRED) <fauli>
Component: New packagesAssignee: Dominik Stadler (RETIRED) <centic>
Status: RESOLVED FIXED    
Severity: normal CC: emacs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 184166, 191008    
Attachments: patch for the ebuild
64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR}
asy-ftd.vim, activates support for .asy files in Vim/gVim, goes to ${FILESDIR}
64asymptote-gentoo.el, site-file for GNU Emacs, to go to ${FILESDIR}

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.