From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Mickey Subject: [PATCH] gnu: Add cscope Date: Tue, 29 Sep 2015 18:13:31 -0700 Message-ID: <87lhboso90.fsf@codemac.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zh5xh-00040s-Od for guix-devel@gnu.org; Tue, 29 Sep 2015 21:13:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zh5xe-0004hx-EE for guix-devel@gnu.org; Tue, 29 Sep 2015 21:13:37 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zh5xe-0004hG-5g for guix-devel@gnu.org; Tue, 29 Sep 2015 21:13:34 -0400 Received: from nevada.codemac.net (c-73-221-143-40.hsd1.wa.comcast.net [73.221.143.40]) by mail.messagingengine.com (Postfix) with ESMTPA id DDD35C00013 for ; Tue, 29 Sep 2015 21:13:31 -0400 (EDT) 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 --=-=-= Content-Type: text/plain Needed this recently, sending upstream :) The contrib/ folder in cscope yet, but it only includes outdated versions of tools that should be found elsewhere (cscope-indexer and xcscope.el) // codemac --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-cscope.patch Content-Transfer-Encoding: quoted-printable >From 64a74d39d1d58c12806f3991afd5443d8d75bcd5 Mon Sep 17 00:00:00 2001 From: Jeff Mickey Date: Tue, 29 Sep 2015 18:07:44 -0700 Subject: [PATCH] gnu: Add cscope * gnu/packages/cscope.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/cscope.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 50 insertions(+) create mode 100644 gnu/packages/cscope.scm diff --git a/gnu-system.am b/gnu-system.am index 98634a0..feb6cf6 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -73,6 +73,7 @@ GNU_SYSTEM_MODULES =3D \ gnu/packages/cross-base.scm \ gnu/packages/crypto.scm \ gnu/packages/cryptsetup.scm \ + gnu/packages/cscope.scm \ gnu/packages/cups.scm \ gnu/packages/curl.scm \ gnu/packages/cursynth.scm \ diff --git a/gnu/packages/cscope.scm b/gnu/packages/cscope.scm new file mode 100644 index 0000000..890cdfa --- /dev/null +++ b/gnu/packages/cscope.scm @@ -0,0 +1,49 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2015 Jeff Mickey +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix 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; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + + +(define-module (gnu packages cscope) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages ncurses)) + +(define-public cscope + (package + (name "cscope") + (version "15.8a") + (source (origin + (method url-fetch) + (uri (string-append "http://downloads.sourceforge.net/" + name "/" name "-" version ".tar.gz")) + (sha256 + (base32 "07jdhxvp3dv7acvp0pwsdab1g2ncxjlcf838lj7vxgjs1p26lw= zb")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list (string-append "--with-ncurses=3D" (assoc-r= ef %build-inputs "ncurses"))))) + (inputs `(("ncurses" ,ncurses))) + (home-page "http://cscope.sourceforge.net") + (synopsis "Tool for browsing source code, with ncurses and editor inte= rfaces") + (description "A tool for browsing source code. It has an information +database generated for faster searches and later reference, a fuzzy parser +that supports C, but is flexible enough to be useful for C++ and Java, and= has +a command line mode for inclusion in scripts or as a backend to a +GUI/frontend.") + (license license:bsd-3))) + --=20 2.5.0 --=-=-=--