Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194690 - update Emacs support for dev-util/git
Summary: update Emacs support for dev-util/git
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184166
  Show dependency tree
 
Reported: 2007-10-04 10:53 UTC by Christian Faulhammer (RETIRED)
Modified: 2022-06-10 17:43 UTC (History)
2 users (show)

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


Attachments
sitefile for ${FILESDIR} (71git-gentoo.el,337 bytes, text/plain)
2007-10-04 10:56 UTC, Christian Faulhammer (RETIRED)
Details
Patch for ebuild (git_emacs.patch,988 bytes, patch)
2007-10-04 10:57 UTC, Christian Faulhammer (RETIRED)
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-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