diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2009-05-12 19:11:52 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2009-05-12 19:11:52 +0000 |
commit | 6dbdf7a1ef6ab14bdf82914489163c2aa745e1ce (patch) | |
tree | a494d595a33927d493c2aa237208da3acf01a1cd /dev-util/tkdiff | |
parent | New package eselect-maven. moved from java-exp overlay. (diff) | |
download | historical-6dbdf7a1ef6ab14bdf82914489163c2aa745e1ce.tar.gz historical-6dbdf7a1ef6ab14bdf82914489163c2aa745e1ce.tar.bz2 historical-6dbdf7a1ef6ab14bdf82914489163c2aa745e1ce.zip |
moved from category dev-tcltk to dev-util
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
RepoMan-Options: --force
Diffstat (limited to 'dev-util/tkdiff')
-rw-r--r-- | dev-util/tkdiff/ChangeLog | 50 | ||||
-rw-r--r-- | dev-util/tkdiff/Manifest | 9 | ||||
-rw-r--r-- | dev-util/tkdiff/files/tkdiff-4.1.4-hg.patch | 143 | ||||
-rw-r--r-- | dev-util/tkdiff/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/tkdiff/tkdiff-4.1.1.ebuild | 22 | ||||
-rw-r--r-- | dev-util/tkdiff/tkdiff-4.1.3.ebuild | 22 | ||||
-rw-r--r-- | dev-util/tkdiff/tkdiff-4.1.4.ebuild | 30 |
7 files changed, 281 insertions, 0 deletions
diff --git a/dev-util/tkdiff/ChangeLog b/dev-util/tkdiff/ChangeLog new file mode 100644 index 000000000000..20b72e8fe131 --- /dev/null +++ b/dev-util/tkdiff/ChangeLog @@ -0,0 +1,50 @@ +# ChangeLog for dev-tcltk/tkdiff +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/tkdiff/ChangeLog,v 1.1 2009/05/12 19:11:52 mescalinum Exp $ + + 12 May 2009; Federico Ferri <mescalinum@gentoo.org> + +files/tkdiff-4.1.4-hg.patch, +metadata.xml, +tkdiff-4.1.1.ebuild, + +tkdiff-4.1.3.ebuild, +tkdiff-4.1.4.ebuild: + moved from category dev-tcltk to dev-util + + 12 May 2009; Federico Ferri <mescalinum@gentoo.org> tkdiff-4.1.4.ebuild: + depend on >=tk-8.4.18-r1, as suggested on bug #259833 comment #6 + +*tkdiff-4.1.4 (23 Dec 2008) + + 23 Dec 2008; Federico Ferri <mescalinum@gentoo.org> + +files/tkdiff-4.1.4-hg.patch, +tkdiff-4.1.4.ebuild: + version bump + patch for mercurial, bug #251778 - thanks Ottxor + + 27 Apr 2007; Christian Faulhammer <opfer@gentoo.org> tkdiff-4.1.3.ebuild: + stable amd64, bug 155797 + + 27 Apr 2007; Joseph Jezak <josejx@gentoo.org> tkdiff-4.1.3.ebuild: + Marked ppc stable for bug #155797. + + 26 Apr 2007; Christian Faulhammer <opfer@gentoo.org> tkdiff-4.1.3.ebuild: + stable x86, bug 155797 + + 25 Apr 2007; Ferris McCormick <fmccor@gentoo.org> tkdiff-4.1.3.ebuild: + sparc stable --- Bug #155797 --- tkdiff has actually been around forever. + +*tkdiff-4.1.3 (24 Sep 2006) + + 24 Sep 2006; MATSUU Takuto <matsuu@gentoo.org> +tkdiff-4.1.3.ebuild: + Version bumped. + +*tkdiff-4.1.1 (08 Jan 2006) + + 08 Jan 2006; MATSUU Takuto <matsuu@gentoo.org> -tkdiff-4.0.2.ebuild, + +tkdiff-4.1.1.ebuild: + Version bumped. + Removed old version wrt security bug 116908. + + 03 Apr 2005; MATSUU Takuto <matsuu@gentoo.org> tkdiff-4.0.2.ebuild: + Added ~ppc and ~sparc. + +*tkdiff-4.0.2 (27 Mar 2005) + + 27 Mar 2005; MATSUU Takuto <matsuu@gentoo.org> +tkdiff-4.0.2.ebuild: + Initial ebuild. Bug #31348. + diff --git a/dev-util/tkdiff/Manifest b/dev-util/tkdiff/Manifest new file mode 100644 index 000000000000..41ff47edcd5e --- /dev/null +++ b/dev-util/tkdiff/Manifest @@ -0,0 +1,9 @@ +AUX tkdiff-4.1.4-hg.patch 6459 RMD160 9a5688c7dcdf3a12ef3f1e8f5b86de933a002fc6 SHA1 55625f8c61c88bb7b0f7b57c988666f27869d685 SHA256 7660b36809bd5df8e3561b602459345a64c04c834fd0236f504f14597ee895d9 +DIST tkdiff-4.1.3-unix.tar.gz 89665 RMD160 717bae3d774ee08647c0378b7108739534180b22 SHA1 5d5bb97c8404d73e41232930bc25728b680f6388 SHA256 5af91ab5490e88a19d6cd63f92cd88cea2f085ac19640751c84067798e6d9291 +DIST tkdiff-4.1.4-unix.tar.gz 89870 RMD160 1cd9be047eec6c5edb503503829a17a1e4bb0f00 SHA1 b44386cde4ff46cff0ee563dd96d004fe8028943 SHA256 cd93523e1480129b6edec6fc0ac10cb58023b35c511349dcab53bec507bdb8a7 +DIST tkdiff_4_1_1.tar.gz 88450 RMD160 99b3f0e13b023415835952ac1f06f1f78edd9b7b SHA1 c3d2f81026ea57dedd10c9afac79619578a28c47 SHA256 95a0c619b91d84b1ff9898b572a08c4cb1c670c950757bdff9a485cd152a690e +EBUILD tkdiff-4.1.1.ebuild 582 RMD160 c9660e96737ec295d20e2910aeda204c9ae22ca0 SHA1 80f39bc2f273747979d2827bddcd0a5948f58367 SHA256 c3ec81b54d379ed8f9a7ab8dc602f17ea6b3c2ad0eb664a47661f7444ab4e9fd +EBUILD tkdiff-4.1.3.ebuild 568 RMD160 6fc70790bdc326d959ce78aa10586a76bd3faf19 SHA1 6a22a7447eb2f01323d5ee777951ef7cedfc8b7d SHA256 8458a66b4bbfde3c90fea27c17a65846f9a52a1ff987e35f6cef6708ef785fb7 +EBUILD tkdiff-4.1.4.ebuild 672 RMD160 361d406f19fcf6bb0fc021f11de26c1558bcc65d SHA1 e99d03e34ceef6045d5067f1240abe3b59497834 SHA256 80336b7f12df479d66e61b82065ace8f92c897802de6c727e76304ce0c498cb7 +MISC ChangeLog 1768 RMD160 038379a0bbef2f0f3a0b900d1591c5cde9a3a190 SHA1 6d161bc9b2482dc8ec48a2f4ee77da7c95a51fcf SHA256 61a36647c520bdbd80ee5d535c645b5b75998b498e004e0a3201928bef99ef01 +MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 diff --git a/dev-util/tkdiff/files/tkdiff-4.1.4-hg.patch b/dev-util/tkdiff/files/tkdiff-4.1.4-hg.patch new file mode 100644 index 000000000000..d179b4e65448 --- /dev/null +++ b/dev-util/tkdiff/files/tkdiff-4.1.4-hg.patch @@ -0,0 +1,143 @@ +Added support for Mercurial (hg) source control. Mercurial is an +open-source distributed source control system, conceptually similar to +Git, Bazaar (bzr), Darcs, and the commercial system BitKeeper +(which tkdiff already supports). + +While Mercurial already comes with a tkdiff wrapper called "hgdiff", +this script does not support arbitrary revisions in the way that the +actual hg diff command does (e.g. "hg diff -r2 -r5 filename). This +patch gives tkdiff support for all the revision numbers that "hg diff" +supports. + +The code changes are small and mostly boilerplate, but I did add one +new procedure called "is-mercurial-repository". This was added +because mercurial uses a single ".hg" directory at the top-level +directory of a repository rather than having a directory at each +different directory inside the repository. The new procedure simply +traverses up the parent directories until it either finds a .hg +directory (indicating that we're in a Mercurial repository) or hits +the root directory (indicating that we're not). + +Since the list of supported source control systems is getting large, I +alphabetized the list in the command-line help text and also modified +other parts of this help text to say things like "RCS, CVS, etc." +rather than exhaustively listing all the supported systems yet again. + +More information on Mercurial can be found at + http://www.selenic.com/mercurial/wiki/ and + http://en.wikipedia.org/wiki/Mercurial_(software) + +diff -r 92c7c897cdd3 -r d32253d0cd0f tkdiff +--- a/tkdiff Sat Jan 05 00:42:06 2008 -0800 ++++ b/tkdiff Wed Jan 09 06:05:01 2008 -0800 +@@ -743,6 +743,7 @@ proc get-file-rev {f index {r ""}} { + set bkopt "" + set pvcsopt "" + set p4file "$f" ++ set hgopt "" + } else { + set rev "r$r" + set acrev "\"$r\"" +@@ -754,6 +755,7 @@ proc get-file-rev {f index {r ""}} { + set bkopt "-r$r" + set pvcsopt "-r$r" + set p4file "$f#$r" ++ set hgopt "-r$r" + } + + set finfo(pth,$index) [tmpfile $index] +@@ -907,6 +909,23 @@ proc get-file-rev {f index {r ""}} { + puts "Couldn't deal with $f, exiting..." + exit + } ++ } elseif {[is-mercurial-repository $dirname]} { ++ # mercurial support ++ set cmd "hg" ++ if {$::tcl_platform(platform) == "windows"} { ++ append cmd ".exe" ++ } ++ if {"$r" == "" || "$rev" == "PARENT"} { ++ # in hg, the revision for cat defaults to the parent revision ++ # of the working directory ++ set finfo(lbl,$index) "$f (HG PARENT)" ++ debug-info " Setting lbl $finfo(lbl,$index)" ++ die-unless "exec $cmd cat $f" $finfo(pth,$index) ++ } else { ++ set finfo(lbl,$index) "$f (HG $rev)" ++ debug-info " Setting lbl $finfo(lbl,$index)" ++ die-unless "exec $cmd cat $hgopt $f" $finfo(pth,$index) ++ } + } else { + fatal-error "File '$f' is not part of a revision control system" + } +@@ -916,6 +935,19 @@ proc get-file-rev {f index {r ""}} { + set finfo(lbl,$index) $finfo(userlbl,$index) + debug-info " User label: $finfo(lbl,$index)" + } ++} ++ ++proc is-mercurial-repository {dirname} { ++ # check for a .hg directory in all parent directories ++ set dirname [file normalize $dirname] ++ set prevdir {} ++ while {$dirname != $prevdir} { ++ set hgfilename [file join $dirname .hg] ++ if {[file isdirectory $hgfilename]} { return true } ++ set prevdir $dirname ++ set dirname [file dirname $dirname] ++ } ++ return false + } + + proc sccs-is-bk {} { +@@ -6105,8 +6137,8 @@ proc do-usage {mode} { + Plain file with conflict markers: + tkdiff -conflict FILE + +- Source control (AccuRev, BitKeeper, CVS, Subversion, Perforce, PVCS, +- RCS, SCCS, ClearCase) ++ Source control (AccuRev, BitKeeper, ClearCase, CVS, Mercurial, Perforce, ++ PVCS, RCS, SCCS, and Subversion) + tkdiff FILE + tkdiff -rREV FILE + tkdiff -rREV1 -rREV2 FILE +@@ -6125,7 +6157,9 @@ proc do-usage {mode} { + directory with the same name. It detects and supports PVCS by looking \ + for a vcs.cfg file. It detects and supports AccuRev, Perforce and \ + ClearCase by looking for the environment variables named ACCUREV_BIN, \ +- P4CLIENT, and CLEARCASE_ROOT respectively. ++ P4CLIENT, and CLEARCASE_ROOT respectively. It detects and supports \ ++ Mercurial by looking for a directory named ".hg" in the current \ ++ directory or any of its ancestor directories. + + In the first form, tkdiff will present a dialog to allow you to choose the \ + files to diff interactively. At present this dialog only supports a \ +@@ -6139,9 +6173,9 @@ In the second form, at least one of the + + In the remaining forms, <cmp>REV</cmp> (or <cmp>REV1</cmp> and \ + <cmp>REV2</cmp>) must be a valid revision number for <cmp>FILE</cmp>. \ +- Where AccuRev, RCS, CVS, Subversion, SCCS, PVCS or Perforce is implied \ ++ When a source control system (RCS, CVS, etc.) is detected (see above) \ + but no revision number is specified, <cmp>FILE</cmp> is compared with \ +- the the revision most recently checked in. ++ the revision most recently checked in. + + To merge a file with conflict markers generated by "<cmp>merge</cmp>", \ + "<cmp>cvs</cmp>", or "<cmp>vmrg</cmp>", use \ +@@ -6149,13 +6183,10 @@ To merge a file with conflict markers ge + files which you can merge as usual (see below). + + For "<cmp>tkdiff FILE</cmp>" The CVS version has priority, followed by the \ +- Subversion version, followed by the SCCS version -- i.e. if a CVS \ ++ Subversion version, followed by the SCCS version, followed by RCS, \ ++ PVCS, Perforce, AccuRev, ClearCase, and Mercurial -- i.e. if a CVS \ + directory is present, CVS; if not and a Subversion directory is \ +- present, Subversion; if not and an SCCS directory is present, SCCS is \ +- assumed; otherwise, if a CVS.CFG file is found, PVCS is assumed; \ +- otherwise RCS is assumed. If none of the above apply and the AccuRev \ +- environment variable ACCUREV_BIN is found, AccuRev is used. If P4CLIENT \ +- is found, Perforce is used. If CLEARCASE_ROOT is found, ClearCase is used. ++ present, Subversion; etc. + + If the merge output filename is not specified, tkdiff will present a dialog \ + to allow you to choose the name of the merge output file. diff --git a/dev-util/tkdiff/metadata.xml b/dev-util/tkdiff/metadata.xml new file mode 100644 index 000000000000..d9408d8ab078 --- /dev/null +++ b/dev-util/tkdiff/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tcltk</herd> +</pkgmetadata> diff --git a/dev-util/tkdiff/tkdiff-4.1.1.ebuild b/dev-util/tkdiff/tkdiff-4.1.1.ebuild new file mode 100644 index 000000000000..36feef819f40 --- /dev/null +++ b/dev-util/tkdiff/tkdiff-4.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/tkdiff/tkdiff-4.1.1.ebuild,v 1.1 2009/05/12 19:11:52 mescalinum Exp $ + +MY_P="${PN}_${PV//./_}" +DESCRIPTION="tkdiff is a graphical front end to the diff program" +HOMEPAGE="http://tkdiff.sourceforge.net/" +SRC_URI="mirror://sourceforge/tkdiff/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/tk-8.4" + +S="${WORKDIR}/${PN}-unix" + +src_install() { + dobin tkdiff + dodoc Changelog +} diff --git a/dev-util/tkdiff/tkdiff-4.1.3.ebuild b/dev-util/tkdiff/tkdiff-4.1.3.ebuild new file mode 100644 index 000000000000..f36b9e9c5186 --- /dev/null +++ b/dev-util/tkdiff/tkdiff-4.1.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/tkdiff/tkdiff-4.1.3.ebuild,v 1.1 2009/05/12 19:11:52 mescalinum Exp $ + +MY_P="${P}-unix" +DESCRIPTION="tkdiff is a graphical front end to the diff program" +HOMEPAGE="http://tkdiff.sourceforge.net/" +SRC_URI="mirror://sourceforge/tkdiff/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +RDEPEND=">=dev-lang/tk-8.4" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dobin tkdiff + dodoc Changelog +} diff --git a/dev-util/tkdiff/tkdiff-4.1.4.ebuild b/dev-util/tkdiff/tkdiff-4.1.4.ebuild new file mode 100644 index 000000000000..b75aeee915c1 --- /dev/null +++ b/dev-util/tkdiff/tkdiff-4.1.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/tkdiff/tkdiff-4.1.4.ebuild,v 1.1 2009/05/12 19:11:52 mescalinum Exp $ + +inherit eutils + +MY_P="${P}-unix" +DESCRIPTION="tkdiff is a graphical front end to the diff program" +HOMEPAGE="http://tkdiff.sourceforge.net/" +SRC_URI="mirror://sourceforge/tkdiff/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/tk-8.4.18-r1" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-hg.patch" +} + +src_install() { + dobin tkdiff + dodoc Changelog +} |