all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add cscope
@ 2015-09-30  1:13 Jeff Mickey
  2015-09-30  1:19 ` Jeff Mickey
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jeff Mickey @ 2015-09-30  1:13 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

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


[-- Attachment #2: 0001-gnu-Add-cscope.patch --]
[-- Type: text/x-patch, Size: 3211 bytes --]

From 64a74d39d1d58c12806f3991afd5443d8d75bcd5 Mon Sep 17 00:00:00 2001
From: Jeff Mickey <j@codemac.net>
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 =				\
   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 © 2015 Jeff Mickey <j@codemac.net>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+
+(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 "07jdhxvp3dv7acvp0pwsdab1g2ncxjlcf838lj7vxgjs1p26lwzb"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags (list (string-append "--with-ncurses=" (assoc-ref %build-inputs "ncurses")))))
+    (inputs `(("ncurses" ,ncurses)))
+    (home-page "http://cscope.sourceforge.net")
+    (synopsis "Tool for browsing source code, with ncurses and editor interfaces")
+    (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)))
+
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-01 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30  1:13 [PATCH] gnu: Add cscope Jeff Mickey
2015-09-30  1:19 ` Jeff Mickey
2015-10-01  9:11 ` Ludovic Courtès
2015-10-01 17:07   ` Mark H Weaver
2015-10-01  9:24 ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.