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

Bug 194690

Summary: update Emacs support for dev-util/git
Product: Gentoo Linux Reporter: Christian Faulhammer (RETIRED) <fauli>
Component: New packagesAssignee: Fernando J. Pereda (RETIRED) <ferdy>
Status: RESOLVED FIXED    
Severity: enhancement CC: emacs, robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=850760
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 184166    
Attachments: sitefile for ${FILESDIR}
Patch for ebuild

Description Christian Faulhammer (RETIRED) gentoo-dev 2007-10-04 10:53:54 UTC
GNU Emacs upstream has incorporated Git support, which will collide with the code installed by dev-util/git with USE=emacs.  There is no official GNU Emacs release yet (it will be 22.2 available this year), but we have live ebuilds that include it.  Patches to follow
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-04 10:56:00 UTC
Created attachment 132538 [details]
sitefile for ${FILESDIR}

This loads git support files installed by ebuild only if the currently installed Emacs has no Git support.  File name is the same as for old ebuilds, the code should not interfere, but you may choose a higher leading number (72) at your own wish.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-04 10:57:56 UTC
Created attachment 132540 [details, diff]
Patch for ebuild

- adds quotes around an instance of ${S} (minor QA)
- add a file to the Emacs support files directory so Emacs does not automatically regard files installed there
- add a message to pkg_postinst about included support in Emacs

If you change the name of the site file (previous attachment), don't forget to adjust it in the ebuild.
Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2007-10-04 18:32:40 UTC
In dev-util/git-1.5.3.4 . Thanks.

- ferdy