Bug 202948 - devel/git no way to install git gui from packages
Summary: devel/git no way to install git gui from packages
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 10:38 UTC by David Chisnall
Modified: 2018-01-12 23:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Chisnall freebsd_committer 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 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 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 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 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 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 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 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 w.schwarzenfeld freebsd_triage 2018-01-12 23:14:11 UTC
Is this still relevant? Or could it be closed.