unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29864] [PATCH] gnu: Add rtags-2.16.
@ 2017-12-27 14:06 Fis Trivial
  2017-12-27 14:22 ` [bug#29864] Patch format is ruined Fis Trivial
  2017-12-27 14:32 ` [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
  0 siblings, 2 replies; 7+ messages in thread
From: Fis Trivial @ 2017-12-27 14:06 UTC (permalink / raw)
  To: 29864


* gnu/packages/code.scm (rtags-2.16): New public variable.
---
 gnu/packages/code.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a094f0a46..f2d974168 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -25,6 +25,7 @@
 (define-module (gnu packages code)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
@@ -39,7 +40,9 @@
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages autogen)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages autotools))
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages bash))

 ;;; Tools to deal with source code: metrics, cross-references, etc.

@@ -383,3 +386,35 @@ case.  The extension consists of a set of Perl
scripts which build on the
 textual @command{gcov} output to implement the following enhanced
 functionality such as HTML output.")
     (license license:gpl2+)))
+
+(define-public rtags
+  (package
+    (name "rtags")
+    (version "2.16")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Andersbakken/rtags.git")
+                    (commit "8ef7554852541eced514c56d5e39d6073f7a2ef9")
+                    (recursive? #t)))
+              (sha256
+               (base32
+                "12r7lsqdmcbs9864a6dpblvifqvmfxhvxippyhfnnm2ai5ra80nc"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_TESTING=FALSE"
+                           "-DRTAGS_NO_ELISP_FILES=1")
+       #:tests? #f))
+    (inputs
+     `(("clang" ,clang)
+       ("llvm" ,llvm)
+       ("bash-completion" ,bash-completion)))
+    (home-page "http://www.rtags.net/")
+    (synopsis "Indexer for the c language family with Emacs integration")
+    (description
+     "RTags is a client/server application that indexes C/C++ code and
keeps a
+persistent file-based database of references, declarations, definitions,
+symbolnames etc.  There’s also limited support for ObjC/ObjC++.  It
allows you
+to find symbols by name (including nested class and namespace scope).  Most
+importantly we give you proper follow-symbol and find-references support.")
+    (license license:gpl3+)))
-- 
2.13.6


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

* [bug#29864] Patch format is ruined.
  2017-12-27 14:06 [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
@ 2017-12-27 14:22 ` Fis Trivial
  2017-12-27 15:49   ` Clément Lassieur
  2017-12-27 14:32 ` [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
  1 sibling, 1 reply; 7+ messages in thread
From: Fis Trivial @ 2017-12-27 14:22 UTC (permalink / raw)
  To: 29864@debbugs.gnu.org

It seems somehow my mail client still managed to wrap the long lines.
I will send another patch as a follow to this one after thorough testing.

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

* [bug#29864] [PATCH] gnu: Add rtags-2.16.
  2017-12-27 14:06 [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
  2017-12-27 14:22 ` [bug#29864] Patch format is ruined Fis Trivial
@ 2017-12-27 14:32 ` Fis Trivial
  2018-01-02 14:00   ` Catonano
  2018-01-08  9:19   ` bug#29864: " Ludovic Courtès
  1 sibling, 2 replies; 7+ messages in thread
From: Fis Trivial @ 2017-12-27 14:32 UTC (permalink / raw)
  To: 29864@debbugs.gnu.org


* gnu/packages/code.scm (rtags-2.16): New public variable.
---
 gnu/packages/code.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index a094f0a46..f2d974168 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -25,6 +25,7 @@
 (define-module (gnu packages code)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
@@ -39,7 +40,9 @@
   #:use-module (gnu packages texinfo)
   #:use-module (gnu packages autogen)
   #:use-module (gnu packages ncurses)
-  #:use-module (gnu packages autotools))
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages llvm)
+  #:use-module (gnu packages bash))

 ;;; Tools to deal with source code: metrics, cross-references, etc.

@@ -383,3 +386,35 @@ case.  The extension consists of a set of Perl scripts which build on the
 textual @command{gcov} output to implement the following enhanced
 functionality such as HTML output.")
     (license license:gpl2+)))
+
+(define-public rtags
+  (package
+    (name "rtags")
+    (version "2.16")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Andersbakken/rtags.git")
+                    (commit "8ef7554852541eced514c56d5e39d6073f7a2ef9")
+                    (recursive? #t)))
+              (sha256
+               (base32
+                "12r7lsqdmcbs9864a6dpblvifqvmfxhvxippyhfnnm2ai5ra80nc"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DBUILD_TESTING=FALSE"
+                           "-DRTAGS_NO_ELISP_FILES=1")
+       #:tests? #f))
+    (inputs
+     `(("clang" ,clang)
+       ("llvm" ,llvm)
+       ("bash-completion" ,bash-completion)))
+    (home-page "http://www.rtags.net/")
+    (synopsis "Indexer for the c language family with Emacs integration")
+    (description
+     "RTags is a client/server application that indexes C/C++ code and keeps a
+persistent file-based database of references, declarations, definitions,
+symbolnames etc.  There’s also limited support for ObjC/ObjC++.  It allows you
+to find symbols by name (including nested class and namespace scope).  Most
+importantly we give you proper follow-symbol and find-references support.")
+    (license license:gpl3+)))
-- 
2.13.6


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

* [bug#29864] Patch format is ruined.
  2017-12-27 14:22 ` [bug#29864] Patch format is ruined Fis Trivial
@ 2017-12-27 15:49   ` Clément Lassieur
  2017-12-28  8:55     ` Fis Trivial
  0 siblings, 1 reply; 7+ messages in thread
From: Clément Lassieur @ 2017-12-27 15:49 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 29864@debbugs.gnu.org

Fis Trivial <ybbs.daans@hotmail.com> writes:

> It seems somehow my mail client still managed to wrap the long lines.
> I will send another patch as a follow to this one after thorough testing.

You can use git send-email to make sure the patch has the good format.
:-)

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

* [bug#29864] Patch format is ruined.
  2017-12-27 15:49   ` Clément Lassieur
@ 2017-12-28  8:55     ` Fis Trivial
  0 siblings, 0 replies; 7+ messages in thread
From: Fis Trivial @ 2017-12-28  8:55 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: 29864@debbugs.gnu.org



On 12/27/2017 11:49 PM, Clément Lassieur wrote:

> 
> You can use git send-email to make sure the patch has the good format.
> :-)
> 
Thanks for the tip.
It takes some configuration on the security setting of SMTP server in order to
use git mail. I am not sure it's a good thing to do. Or maybe next time I will
just register a independent account for mailing lists. :-)

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

* [bug#29864] [PATCH] gnu: Add rtags-2.16.
  2017-12-27 14:32 ` [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
@ 2018-01-02 14:00   ` Catonano
  2018-01-08  9:19   ` bug#29864: " Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Catonano @ 2018-01-02 14:00 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 29864@debbugs.gnu.org

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

I tried both these patches and both turn to be corrupted on line 25

Am I missing anything ?

2017-12-27 15:32 GMT+01:00 Fis Trivial <ybbs.daans@hotmail.com>:

>
> * gnu/packages/code.scm (rtags-2.16): New public variable.
> ---
>  gnu/packages/code.scm | 37 ++++++++++++++++++++++++++++++++++++-
>  1 file changed, 36 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
> index a094f0a46..f2d974168 100644
> --- a/gnu/packages/code.scm
> +++ b/gnu/packages/code.scm
> @@ -25,6 +25,7 @@
>  (define-module (gnu packages code)
>    #:use-module (guix packages)
>    #:use-module (guix download)
> +  #:use-module (guix git-download)
>    #:use-module ((guix licenses) #:prefix license:)
>    #:use-module (guix build-system gnu)
>    #:use-module (guix build-system cmake)
> @@ -39,7 +40,9 @@
>    #:use-module (gnu packages texinfo)
>    #:use-module (gnu packages autogen)
>    #:use-module (gnu packages ncurses)
> -  #:use-module (gnu packages autotools))
> +  #:use-module (gnu packages autotools)
> +  #:use-module (gnu packages llvm)
> +  #:use-module (gnu packages bash))
>
>  ;;; Tools to deal with source code: metrics, cross-references, etc.
>
> @@ -383,3 +386,35 @@ case.  The extension consists of a set of Perl
> scripts which build on the
>  textual @command{gcov} output to implement the following enhanced
>  functionality such as HTML output.")
>      (license license:gpl2+)))
> +
> +(define-public rtags
> +  (package
> +    (name "rtags")
> +    (version "2.16")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/Andersbakken/rtags.git")
> +                    (commit "8ef7554852541eced514c56d5e39d6073f7a2ef9")
> +                    (recursive? #t)))
> +              (sha256
> +               (base32
> +                "12r7lsqdmcbs9864a6dpblvifqvmfx
> hvxippyhfnnm2ai5ra80nc"))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     '(#:configure-flags '("-DBUILD_TESTING=FALSE"
> +                           "-DRTAGS_NO_ELISP_FILES=1")
> +       #:tests? #f))
> +    (inputs
> +     `(("clang" ,clang)
> +       ("llvm" ,llvm)
> +       ("bash-completion" ,bash-completion)))
> +    (home-page "http://www.rtags.net/")
> +    (synopsis "Indexer for the c language family with Emacs integration")
> +    (description
> +     "RTags is a client/server application that indexes C/C++ code and
> keeps a
> +persistent file-based database of references, declarations, definitions,
> +symbolnames etc.  There’s also limited support for ObjC/ObjC++.  It
> allows you
> +to find symbols by name (including nested class and namespace scope).
> Most
> +importantly we give you proper follow-symbol and find-references
> support.")
> +    (license license:gpl3+)))
> --
> 2.13.6
>
>

[-- Attachment #2: Type: text/html, Size: 3897 bytes --]

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

* bug#29864: [PATCH] gnu: Add rtags-2.16.
  2017-12-27 14:32 ` [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
  2018-01-02 14:00   ` Catonano
@ 2018-01-08  9:19   ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2018-01-08  9:19 UTC (permalink / raw)
  To: Fis Trivial; +Cc: 29864@debbugs.gnu.org

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

Fis Trivial <ybbs.daans@hotmail.com> skribis:

> * gnu/packages/code.scm (rtags-2.16): New public variable.

Applied with the following changes to address ‘guix lint’ warnings.

Please do try to address the bundling issue once we have Selene and RCT in.

Thank you,
Ludo’.


[-- Attachment #2: Type: text/x-patch, Size: 2334 bytes --]

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index f2d974168..81e3ae6b6 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -1,11 +1,12 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2015, 2018 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2017 Andy Wingo <wingo@igalia.com>
+;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -391,15 +392,20 @@ functionality such as HTML output.")
   (package
     (name "rtags")
     (version "2.16")
+    (home-page "https://github.com/Andersbakken/rtags")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/Andersbakken/rtags.git")
+                    (url home-page)
                     (commit "8ef7554852541eced514c56d5e39d6073f7a2ef9")
+
+                    ;; FIXME: This fetches bundled copies of Lua, RCT, and
+                    ;; Selene.
                     (recursive? #t)))
               (sha256
                (base32
-                "12r7lsqdmcbs9864a6dpblvifqvmfxhvxippyhfnnm2ai5ra80nc"))))
+                "12r7lsqdmcbs9864a6dpblvifqvmfxhvxippyhfnnm2ai5ra80nc"))
+              (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags '("-DBUILD_TESTING=FALSE"
@@ -409,8 +415,7 @@ functionality such as HTML output.")
      `(("clang" ,clang)
        ("llvm" ,llvm)
        ("bash-completion" ,bash-completion)))
-    (home-page "http://www.rtags.net/")
-    (synopsis "Indexer for the c language family with Emacs integration")
+    (synopsis "Indexer for the C language family with Emacs integration")
     (description
      "RTags is a client/server application that indexes C/C++ code and keeps a
 persistent file-based database of references, declarations, definitions,

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

end of thread, other threads:[~2018-01-08  9:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-27 14:06 [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
2017-12-27 14:22 ` [bug#29864] Patch format is ruined Fis Trivial
2017-12-27 15:49   ` Clément Lassieur
2017-12-28  8:55     ` Fis Trivial
2017-12-27 14:32 ` [bug#29864] [PATCH] gnu: Add rtags-2.16 Fis Trivial
2018-01-02 14:00   ` Catonano
2018-01-08  9:19   ` bug#29864: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).