# HG changeset patch # User Ben Arnold # Date 1277557196 -3600 # Node ID c88267ec8277f8e3f89ae8c4a93d2eeac87147c0 # Parent 21ebecd31083665dfae4ad7f582ae4acbf98eb7b Add 'git-gui' package, v0.12.0.66. Tested on Stable (built & installed) and Cooking (installed after upgrade) successfully. diff -r 21ebecd31083 -r c88267ec8277 git-gui/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/git-gui/description.txt Sat Jun 26 13:59:56 2010 +0100 @@ -0,0 +1,7 @@ +A Tcl/Tk based graphical user interface to Git. + +git gui focuses on allowing users to make changes to their repository by making new commits, amending existing ones, creating branches, performing local merges, and fetching/pushing to remote repositories. + +Unlike gitk, git gui focuses on commit generation and single file annotation and does not show project history. It does however supply menu actions to start a gitk session from within git gui. + +git gui is known to work on all popular UNIX systems, Mac OS X, and Windows (under both Cygwin and MSYS). To the extent possible OS specific user interface guidelines are followed, making git gui a fairly native interface for users. \ No newline at end of file diff -r 21ebecd31083 -r c88267ec8277 git-gui/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/git-gui/receipt Sat Jun 26 13:59:56 2010 +0100 @@ -0,0 +1,74 @@ +# SliTaz package receipt. +PACKAGE="git-gui" +VERSION="0.12.0.66" +CATEGORY="development" +SHORT_DESC="Graphical interface for the Git dRCS." +MAINTAINER="ben@seawolfsanctuary.com" +DEPENDS="tk git" +BUILD_DEPENDS="$DEPENDS" +TARBALL="master.tar.gz" +WEB_SITE="http://www.kernel.org/pub/software/scm/git/docs/git-gui.html" +WGET_URL="http://repo.or.cz/w/git-gui.git/snapshot/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $PACKAGE + make clean + make && make DESTDIR=$PWD/_pkg install + cd .. +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Need to create a shortcut; change with each release :-( + ln -s $PACKAGE $PACKAGE-$VERSION + + mkdir -p $fs + cp -a $_pkg/usr $fs/ + + # Extra icons, .desktop file etc.: + cp -a $WOK/$PACKAGE/stuff/* $fs/usr + + # We do not need to strip anything! +} + +# Commands to executed before/after package is installed. +post_install() +{ + echo "Processing post-install commands..." + echo " - creating links... " + ln -sf /usr/lib/git/git-core/git-gui /usr/bin/ + ln -sf /usr/lib/git/git-core/git-citool /usr/bin/ + ln -sf /usr/lib/git/git-core/git-gui--askpass /usr/bin/ + echo " - installing icons... " + # Loop through each icon directory, except 'default' + for DIR in `ls -d1 /usr/share/icons/*/ | grep -v default` + do + cp -f /usr/share/icons/SliTaz/16x16/apps/git-gui.png \ + $DIR/16x16/apps/git-gui.png 2> /dev/null + cp -f /usr/share/icons/SliTaz/32x32/apps/git-gui.png \ + $DIR/32x32/apps/git-gui.png 2> /dev/null + done + echo -n "Finished post-install commands." + status +} + +pre_remove() +{ + echo "Processing pre-remove commands..." + echo -n " - removing icons... " + for ICON in `find /usr/share/icons/ -iname git-gui.png` + do + rm $ICON + done + status + echo -n " - removing links... " + rm /usr/bin/git-gui + rm /usr/bin/git-citool + rm /usr/bin/git-gui--askpass + status + echo -n "Finished pre-remove commands." + status +} diff -r 21ebecd31083 -r c88267ec8277 git-gui/stuff/share/applications/git-gui.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/git-gui/stuff/share/applications/git-gui.desktop Sat Jun 26 13:59:56 2010 +0100 @@ -0,0 +1,7 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Git GUI +Exec=/usr/lib/git/git-core/git-gui +Icon=git-gui +Type=Application +Categories=Development; diff -r 21ebecd31083 -r c88267ec8277 git-gui/stuff/share/icons/SliTaz/16x16/apps/git-gui.png Binary file git-gui/stuff/share/icons/SliTaz/16x16/apps/git-gui.png has changed diff -r 21ebecd31083 -r c88267ec8277 git-gui/stuff/share/icons/SliTaz/32x32/apps/git-gui.png Binary file git-gui/stuff/share/icons/SliTaz/32x32/apps/git-gui.png has changed