From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: [PATCH] gnu: Add cvs-fast-export. Date: Sun, 13 Sep 2015 15:51:37 +0200 Message-ID: <1442152297-22531-1-git-send-email-mthl@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.5.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zb7hi-0002GT-WC for guix-devel@gnu.org; Sun, 13 Sep 2015 09:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zb7hf-00058z-HO for guix-devel@gnu.org; Sun, 13 Sep 2015 09:52:26 -0400 Received: from smtp16.openmailbox.org ([62.4.1.50]:51852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zb7hf-00058Y-8c for guix-devel@gnu.org; Sun, 13 Sep 2015 09:52:23 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------2.5.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * gnu/packages/version-control.scm (cvs-fast-export): New variable. --- gnu/packages/version-control.scm | 41 ++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 41 insertions(+) --------------2.5.1 Content-Type: text/x-patch; name="0001-gnu-Add-cvs-fast-export.patch" Content-Disposition: inline; filename="0001-gnu-Add-cvs-fast-export.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-cont= rol.scm index 3c0571b..4bdb223 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -34,10 +34,12 @@ #:use-module (guix build-system trivial) #:use-module (guix build utils) #:use-module (gnu packages apr) + #:use-module (gnu packages asciidoc) #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages cook) #:use-module (gnu packages curl) + #:use-module (gnu packages docbook) #:use-module (gnu packages ed) #:use-module (gnu packages file) #:use-module (gnu packages flex) @@ -683,6 +685,45 @@ sources files, and documents. It fills a similar ro= le to the free software RCS, PRCS, and Aegis packages.") (license gpl1+))) =20 +(define-public cvs-fast-export + (package + (name "cvs-fast-export") + (version "1.33") + (source (origin + (method url-fetch) + (uri (string-append "http://www.catb.org/~esr/" + name "/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1c3s4nacbwlaaccx1fr7hf72kxxrzy49y2rdz5hhqbk8r29vm8w1"))= )) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases (delete 'configure)) + #:make-flags + (list "CC=3Dgcc" (string-append "prefix?=3D" (assoc-ref %outputs = "out"))))) + (inputs `(("git" ,git))) + (native-inputs `(("asciidoc" ,asciidoc) + ("docbook-xml" ,docbook-xml) + ("docbook-xsl" ,docbook-xsl) + ("xmllint" ,libxml2) + ("xsltproc" ,libxslt) + ;; These are needed for the tests. + ("cvs" ,cvs) + ("python" ,python-2) + ("rcs" ,rcs))) + (home-page "http://www.catb.org/esr/cvs-fast-export/") + (synopsis "Export an RCS or CVS history as a fast-import stream") + (description "This program analyzes a collection of RCS files in a C= VS +repository (or outside of one) and, when possible, emits an equivalent h= istory +in the form of a fast-import stream. Not all possible histories can be +rendered this way; the program tries to emit useful warnings when it can= 't. + +The program can also produce a visualization of the resulting commit dir= ected +acyclic graph (DAG) in the input format of @uref{http://www.graphviz.org= , +Graphviz}. The package also includes @command{cvssync}, a tool for mirr= oring +masters from remote CVS hosts.") + (license gpl2+))) + (define-public vc-dwim (package (name "vc-dwim") --------------2.5.1--