Browse Source

cgit: Updated (0.8.0-pre-dd80ef59 -> 0.8.1)

early
Alejandro Mery 16 years ago
parent
commit
80b89810c0
  1. 13
      develop/cgit/cgit.conf
  2. 4
      develop/cgit/cgit.desc
  3. 29
      develop/cgit/head.patch

13
develop/cgit/cgit.conf

@ -12,22 +12,11 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
custextract=cgit_extract
makeinstopt=
hook_add premake 5 'cgit_extract_git'
hook_add postmake 5 'cgit_install'
cgit_extract()
{
local taropt_orig="$taropt"
mkdir -p "$pkg-$ver"
taropt="-C $pkg-$ver $taropt"
autoextract_tar_bz2 "$@"
taropt="$taropt_orig"
}
#FIXME: try to use the installed git if possible
cgit_extract_git()
{
@ -48,5 +37,5 @@ cgit_install()
chmod +x cgit.cgi
cp -a cgit $root$sbindir
cp -a cgitrc README cgit.{css,png,cgi} $root$docdir
cp -a cgitrc.5.txt README cgit.{css,png,cgi} $root$docdir
}

4
develop/cgit/cgit.desc

@ -30,7 +30,7 @@
[L] GPL
[S] Stable
[V] 0.8.0-pre-dd80ef59
[V] 0.8.1
[P] X -----5---9 800.000
[D] 630313126 cgit-0.8.0-pre-dd80ef59.tar.bz2 !http://hjemli.net/git/cgit/snapshot/cgit-dd80ef59.tar.bz2?id=dd80ef59
[D] 1077988952 cgit-v0.8.1.tar.bz2 !http://hjemli.net/git/cgit/snapshot/cgit-v0.8.1.tar.bz2?id=v0.8.1

29
develop/cgit/head.patch

@ -1,29 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../cgit/head.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff --git a/ui-tree.c b/ui-tree.c
index 79332fc..b24f693 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -38,6 +38,8 @@ static void print_object(const unsigned char *sha1, char *path)
html(" (");
cgit_plain_link("plain", NULL, NULL, ctx.qry.head,
curr_rev, path);
+ html(") (");
+ cgit_tree_link("HEAD", NULL, NULL, ctx.qry.head, NULL, path);
htmlf(")<br/>blob: %s", sha1_to_hex(sha1));
html("<table summary='blob content' class='blob'>\n");
Loading…
Cancel
Save