Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192983 - dev-util/git should rm git-gui if not built with tk USE flag
Summary: dev-util/git should rm git-gui if not built with tk USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 22:52 UTC by Torsten Rehn
Modified: 2009-04-15 22:04 UTC (History)
2 users (show)

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


Attachments
Patch for git-1.5.1.6.ebuild (git-notk.patch,362 bytes, patch)
2007-09-18 22:53 UTC, Torsten Rehn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Rehn 2007-09-18 22:52:46 UTC
> USE="-tk" emerge git
> git-gui version
/usr/bin/git-gui: line 3: exec: wish: not found
> USE="tk" emerge git
> git-gui version
git-gui version 0.6.5.2.g681b

The ebuild already removes gitk, but should also remove /usr/bin/git-gui if dev-lang/tk is not pulled in via the tk USE flag.
This applies to the currently stable git-1.5.1.6 and the two later versions in the tree as well.
Comment 1 Torsten Rehn 2007-09-18 22:53:16 UTC
Created attachment 131251 [details, diff]
Patch for git-1.5.1.6.ebuild
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2007-09-19 09:59:46 UTC
Thanks, will do.

- ferdy
Comment 3 Fernando J. Pereda (RETIRED) gentoo-dev 2007-09-19 19:22:47 UTC
Will queue for next version which should happen soonish (a couple of hours from now).

- ferdy
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2007-09-19 19:51:03 UTC
Done.
Comment 5 Dror Levin (RETIRED) gentoo-dev 2009-04-15 22:04:56 UTC
There is an opposite problem now - git-gui does not get installed with git-1.6.2.3 even with tk USE flag, even though it most definitely gets built.