pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

What happened to "git gui"?



The "git gui" command used to be part of devel/git-base (I think), but
it seems to be gone. There is still a patch for it though:
devel/git-base/patches/patch-git-gui_Makefile

Since git-gui depends on Tcl/Tk, like devel/git-gitk, it could be
shoehorned in there from a dependency viewpoint.

In fact I tried just that, and the build phase is easy: just add it in
the package Makefile like so:

-BUILD_DIRS=             gitk-git
+BUILD_DIRS=             gitk-git git-gui

but the "make stage-install" phase strands in some swamp of custom
INSTALL* macros in git-gui/Makefile:

  DEST /tmp/pkgsrc/devel/git-gitk/default/.destdir/usr/pkg/libexec/git-core
    INSTALL 755 git-gui
install: git-gui exists but is not a directory
gmake: *** [Makefile:188: install] Error 1

It doesn't help that these INSTALL* macros are defined in two versions,
for V(erbose) mode and not; seemingly using different calling
conventions.

"make stage-install" works with the first (V) version so upstream made
"a bit of a mess" here. Adding

MAKE_ENV+=              V=1

helps for this.

Of course now the PLIST doesn't list a whole bunch of files that belong
to git-gui. But there's also a git-citool that's new to me.

I gave it a quick spin and "git gui" starts at least without issues.

Is there anyone who is better at home in this, or shall I make these
changes?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index