From 80b89810c01b8d0911171179a4ed73c07d21f320 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 4 Nov 2008 22:40:53 +0200 Subject: [PATCH] cgit: Updated (0.8.0-pre-dd80ef59 -> 0.8.1) --- develop/cgit/cgit.conf | 13 +------------ develop/cgit/cgit.desc | 4 ++-- develop/cgit/head.patch | 29 ----------------------------- 3 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 develop/cgit/head.patch diff --git a/develop/cgit/cgit.conf b/develop/cgit/cgit.conf index 0b27f7dae..9201bf280 100644 --- a/develop/cgit/cgit.conf +++ b/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 } diff --git a/develop/cgit/cgit.desc b/develop/cgit/cgit.desc index 49ee04323..a8c80ab87 100644 --- a/develop/cgit/cgit.desc +++ b/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 diff --git a/develop/cgit/head.patch b/develop/cgit/head.patch deleted file mode 100644 index fe76dc21a..000000000 --- a/develop/cgit/head.patch +++ /dev/null @@ -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(")
blob: %s", sha1_to_hex(sha1)); - - html("\n");