Bug 202948

Summary: devel/git no way to install git gui from packages
Product: Ports & Packages Reporter: David Chisnall <theraven>
Component: Individual Port(s)Assignee: Walter Schwarzenfeld <w.schwarzenfeld>
Status: Closed Feedback Timeout    
Severity: Affects Many People CC: bapt, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (garga)
Version: Latest   
Hardware: Any   
OS: Any   

Description David Chisnall freebsd_committer freebsd_triage 2015-09-07 10:38:38 UTC
Currently, the gui subcommand for git is an option in the port.  This means that it is impossible for users to install it from packages.  It should be split into a separate slave port.
Comment 1 David Chisnall freebsd_committer freebsd_triage 2015-09-24 08:24:54 UTC
Any progress on this?  It is a serious limitation for people trying to do dev work and use FreeBSD with binary packages.
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2015-09-24 10:20:11 UTC
I didn't find the time to write the new slave port yet. I believe I can do it during the weekend. If someone can submit a patch it would speed up things :)
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-09-28 18:34:26 UTC
A commit references this bug:

Author: garga
Date: Mon Sep 28 18:33:49 UTC 2015
New revision: 398132
URL: https://svnweb.freebsd.org/changeset/ports/398132

Log:
  - Add devel/git-gui, a devel/git slave port with GUI option enabled
  - Register conflicts with master and other slave ports
  - Bump PORTREVISION

  PR:		202948

Changes:
  head/devel/Makefile
  head/devel/git/Makefile
  head/devel/git-gui/
  head/devel/git-gui/Makefile
  head/devel/git-gui/pkg-descr
  head/devel/git-lite/Makefile
  head/devel/git-subversion/Makefile
Comment 4 David Chisnall freebsd_committer freebsd_triage 2015-09-29 07:43:19 UTC
It is now impossible to install git gui and git svn on the same machine due to the conflict.  The slave ports should install *only* the files required for the option, not duplicate the versions in the master port.
Comment 5 Renato Botelho freebsd_committer freebsd_triage 2015-09-29 08:56:45 UTC
Then what you are requesting is a subpackage. Are we already doing it on ports tree? I will look for some example
Comment 6 Renato Botelho freebsd_committer freebsd_triage 2015-09-29 20:00:38 UTC
(In reply to David Chisnall from comment #4)
David,

Did you see another case like this available on ports tree? I was thinking about that and ended up with a case without any possible solution.

What happens if you install git using ports with GUI option set, and then install git-gui sub package? I don't believe we are ready to produce subpackages at this point.
Comment 7 David Chisnall freebsd_committer freebsd_triage 2015-09-30 08:51:46 UTC
I don't know of an example in the ports tree, but my understanding of these additions is that the base git distribution remains the same - if you build git with the options then compare the installed files then you should only have different sets of installed files. It should be possible to simply omit the files provided by git from the git-subversion and git-gui ports.

I'm adding bapt to the cc list in the hope that he can provide more advice.
Comment 8 Walter Schwarzenfeld 2018-01-12 23:14:11 UTC
Is this still relevant? Or could it be closed.
Comment 9 Walter Schwarzenfeld 2019-08-07 23:22:01 UTC
Feedback timeout, close here.