[colordiff] Added colordiff 1.0.7 - A wrapper that adds colour highlighting to diff output
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
|
||||
[TIMESTAMP] 1215098935 Thu Jul 3 15:28:55 2008
|
||||
[BUILDTIME] 100 (9)
|
||||
[SIZE] 0.04 MB, 11 files
|
||||
|
||||
[DEP] 00-dirtree
|
||||
[DEP] bash
|
||||
[DEP] bzip2
|
||||
[DEP] coreutils
|
||||
[DEP] diffutils
|
||||
[DEP] findutils
|
||||
[DEP] gcc
|
||||
[DEP] glibc
|
||||
[DEP] grep
|
||||
[DEP] make
|
||||
[DEP] patch
|
||||
[DEP] sed
|
||||
[DEP] sysfiles
|
||||
[DEP] tar
|
||||
@@ -0,0 +1,29 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../colordiff/colordiff.conf
|
||||
# Copyright (C) 2008 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; version 2 of the License. A copy of the
|
||||
# GNU General Public License can be found in the file COPYING.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
if pkginstalled xmlto; then
|
||||
var_append makeopt ' ' doc
|
||||
else
|
||||
makeopt=
|
||||
fi
|
||||
|
||||
hook_add premake 5 'colordiff_config'
|
||||
colordiff_config()
|
||||
{
|
||||
sed -e "s%/etc%$sysconfdir%g" colordiff.pl > 'colordiff.pl.for.install'
|
||||
}
|
||||
|
||||
var_append makeinstopt ' ' "INSTALL_DIR=$root$bindir"
|
||||
var_append makeinstopt ' ' "MAN_DIR=$root$mandir/man1"
|
||||
var_append makeinstopt ' ' "ETC_DIR=$root$sysconfdir"
|
||||
@@ -0,0 +1,36 @@
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
[COPY]
|
||||
[COPY] Filename: package/.../colordiff/colordiff.desc
|
||||
[COPY] Copyright (C) 2008 The OpenSDE Project
|
||||
[COPY]
|
||||
[COPY] More information can be found in the files COPYING and README.
|
||||
[COPY]
|
||||
[COPY] This program is free software; you can redistribute it and/or modify
|
||||
[COPY] it under the terms of the GNU General Public License as published by
|
||||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
|
||||
[COPY] GNU General Public License can be found in the file COPYING.
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
[I] A wrapper that adds colour highlighting to diff output
|
||||
|
||||
[T] ColorDiff is a wrapper for diff. It produces the same output as diff,
|
||||
[T] but with coloured syntax highlighting at the commandline to improve
|
||||
[T] readability. The output is similar to how a diff-generated patch might
|
||||
[T] appear in Vim or Emacs with the appropriate syntax highlighting options
|
||||
[T] enabled. The colour schemes can be read from a central configuration
|
||||
[T] file or from a local user ~/. Colordiffrc file.
|
||||
|
||||
[U] http://colordiff.sourceforge.net/
|
||||
|
||||
[A] Dave Ewart <davee@sungate.co.uk>
|
||||
[M] Alejandro Mery <amery@opensde.org>
|
||||
|
||||
[C] extra/development
|
||||
|
||||
[L] GPL
|
||||
[S] Stable
|
||||
[V] 1.0.7
|
||||
[P] X -----5---9 800.000
|
||||
|
||||
[D] 1425574289 colordiff-1.0.7.tar.gz http://colordiff.sourceforge.net/
|
||||
@@ -0,0 +1,34 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../colordiff/git-diff-colors.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 ---
|
||||
|
||||
We shouldn't apply this kind of patches in generic, but the
|
||||
default colors are... way too awful. I'll use something similar
|
||||
to `git diff --color`
|
||||
|
||||
--- ./colordiffrc.orig 2008-07-03 15:25:47.000000000 +0000
|
||||
+++ ./colordiffrc 2008-07-03 15:26:05.000000000 +0000
|
||||
@@ -20,7 +20,7 @@
|
||||
# this, use the default output colour"
|
||||
#
|
||||
plain=off
|
||||
-newtext=blue
|
||||
-oldtext=red
|
||||
-diffstuff=magenta
|
||||
-cvsstuff=green
|
||||
+newtext=darkgreen
|
||||
+oldtext=darkred
|
||||
+diffstuff=darkyellow
|
||||
+cvsstuff=white
|
||||
Reference in New Issue
Block a user