wok rev 5738
Add 'git-gui' package, v0.12.0.66.
Tested on Stable (built & installed) and Cooking (installed after upgrade) successfully.
Tested on Stable (built & installed) and Cooking (installed after upgrade) successfully.
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sat Jun 26 13:59:56 2010 +0100 (2010-06-26) |
parents | 21ebecd31083 |
children | f6c63fcf86d4 |
files | git-gui/description.txt git-gui/receipt git-gui/stuff/share/applications/git-gui.desktop git-gui/stuff/share/icons/SliTaz/16x16/apps/git-gui.png git-gui/stuff/share/icons/SliTaz/32x32/apps/git-gui.png |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/git-gui/description.txt Sat Jun 26 13:59:56 2010 +0100 1.3 @@ -0,0 +1,7 @@ 1.4 +A Tcl/Tk based graphical user interface to Git. 1.5 + 1.6 +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. 1.7 + 1.8 +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. 1.9 + 1.10 +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. 1.11 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/git-gui/receipt Sat Jun 26 13:59:56 2010 +0100 2.3 @@ -0,0 +1,74 @@ 2.4 +# SliTaz package receipt. 2.5 +PACKAGE="git-gui" 2.6 +VERSION="0.12.0.66" 2.7 +CATEGORY="development" 2.8 +SHORT_DESC="Graphical interface for the Git dRCS." 2.9 +MAINTAINER="ben@seawolfsanctuary.com" 2.10 +DEPENDS="tk git" 2.11 +BUILD_DEPENDS="$DEPENDS" 2.12 +TARBALL="master.tar.gz" 2.13 +WEB_SITE="http://www.kernel.org/pub/software/scm/git/docs/git-gui.html" 2.14 +WGET_URL="http://repo.or.cz/w/git-gui.git/snapshot/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $PACKAGE 2.20 + make clean 2.21 + make && make DESTDIR=$PWD/_pkg install 2.22 + cd .. 2.23 +} 2.24 + 2.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 +genpkg_rules() 2.27 +{ 2.28 + # Need to create a shortcut; change with each release :-( 2.29 + ln -s $PACKAGE $PACKAGE-$VERSION 2.30 + 2.31 + mkdir -p $fs 2.32 + cp -a $_pkg/usr $fs/ 2.33 + 2.34 + # Extra icons, .desktop file etc.: 2.35 + cp -a $WOK/$PACKAGE/stuff/* $fs/usr 2.36 + 2.37 + # We do not need to strip anything! 2.38 +} 2.39 + 2.40 +# Commands to executed before/after package is installed. 2.41 +post_install() 2.42 +{ 2.43 + echo "Processing post-install commands..." 2.44 + echo " - creating links... " 2.45 + ln -sf /usr/lib/git/git-core/git-gui /usr/bin/ 2.46 + ln -sf /usr/lib/git/git-core/git-citool /usr/bin/ 2.47 + ln -sf /usr/lib/git/git-core/git-gui--askpass /usr/bin/ 2.48 + echo " - installing icons... " 2.49 + # Loop through each icon directory, except 'default' 2.50 + for DIR in `ls -d1 /usr/share/icons/*/ | grep -v default` 2.51 + do 2.52 + cp -f /usr/share/icons/SliTaz/16x16/apps/git-gui.png \ 2.53 + $DIR/16x16/apps/git-gui.png 2> /dev/null 2.54 + cp -f /usr/share/icons/SliTaz/32x32/apps/git-gui.png \ 2.55 + $DIR/32x32/apps/git-gui.png 2> /dev/null 2.56 + done 2.57 + echo -n "Finished post-install commands." 2.58 + status 2.59 +} 2.60 + 2.61 +pre_remove() 2.62 +{ 2.63 + echo "Processing pre-remove commands..." 2.64 + echo -n " - removing icons... " 2.65 + for ICON in `find /usr/share/icons/ -iname git-gui.png` 2.66 + do 2.67 + rm $ICON 2.68 + done 2.69 + status 2.70 + echo -n " - removing links... " 2.71 + rm /usr/bin/git-gui 2.72 + rm /usr/bin/git-citool 2.73 + rm /usr/bin/git-gui--askpass 2.74 + status 2.75 + echo -n "Finished pre-remove commands." 2.76 + status 2.77 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/git-gui/stuff/share/applications/git-gui.desktop Sat Jun 26 13:59:56 2010 +0100 3.3 @@ -0,0 +1,7 @@ 3.4 +[Desktop Entry] 3.5 +Encoding=UTF-8 3.6 +Name=Git GUI 3.7 +Exec=/usr/lib/git/git-core/git-gui 3.8 +Icon=git-gui 3.9 +Type=Application 3.10 +Categories=Development;
4.1 Binary file git-gui/stuff/share/icons/SliTaz/16x16/apps/git-gui.png has changed
5.1 Binary file git-gui/stuff/share/icons/SliTaz/32x32/apps/git-gui.png has changed