all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brett Gilio <brettg@gnu.org>
To: 44896@debbugs.gnu.org
Subject: [bug#44896] Help with Bear
Date: Thu, 26 Nov 2020 17:27:21 -0600	[thread overview]
Message-ID: <87a6v3r95y.fsf@debian> (raw)
In-Reply-To: <87ft4vvgyy.fsf@debian>

[-- Attachment #1: 0001-gnu-bear-Update-to-3.0.3.patch --]
[-- Type: text/plain, Size: 4371 bytes --]

From ad64b3febdcd3c98796bb8c5d2ab99add30b9198 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@gnu.org>
Date: Thu, 26 Nov 2020 17:12:10 -0600
Subject: [PATCH 1/1] gnu: bear: Update to 3.0.3.

* gnu/packages/build-tools.scm (bear): Update to 3.0.3.

INCOMPLETE
---
 gnu/packages/build-tools.scm | 51 +++++++++++++++++++++++++++++++-----
 1 file changed, 45 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 3f140efdb3..316e992f70 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -38,16 +38,23 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
+  #:use-module (gnu packages gcc)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages logging)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages package-management)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages pretty-print)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-crypto)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages rpc)
   #:use-module (gnu packages sqlite)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages ninja)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python))
@@ -90,7 +97,7 @@ makes a few sacrifices to acquire fast full and incremental build times.")
 (define-public bear
   (package
     (name "bear")
-    (version "2.4.4")
+    (version "3.0.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -99,16 +106,48 @@ makes a few sacrifices to acquire fast full and incremental build times.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "184dqjcpxiwcfziyi67zzran2c4fal1r3j8nhjdjadcmfxf4389d"))))
+                "1abx5h6xy0h3mz29ial5si8smkmjzla050d130pcc6dzr4ic642w"))))
     (build-system cmake-build-system)
+    (arguments
+     `(#:configure-flags
+       (list "-DCMAKE_CXX_FLAGS=-lspdlog -lstdc++fs"
+             "-DCMAKE_CXX_STANDARD=17")
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-headers
+           (lambda _
+             (substitute*
+                 (list "source/libsys/include/libsys/Os.h"
+                       "source/libsys/include/libsys/Path.h"
+                       "source/libsys/include/libsys/Process.h"
+                       "source/intercept/include/intercept/output/Report.h"
+                       "source/libsys/source/Process.cc"
+                       "source/citnames/source/Configuration.h"
+                       "source/citnames/source/Output.h"
+                       "source/citnames/source/semantic/Semantic.h"
+                       "source/citnames/source/semantic/Tool.h"
+                       "source/bear/main.cc"
+                       "source/citnames/source/Application.cc"
+                       "source/citnames/source/semantic/Tool.cc")
+               (("<filesystem>") "<experimental/filesystem>")
+               (("std::filesystem") "std::experimental::filesystem"))
+             #t)))))
     (inputs
-     `(("python" ,python-wrapper)))
+     `(("fmt" ,fmt)
+       ("grpc" ,grpc)
+       ("json-modern-cxx" ,json-modern-cxx)
+       ("protobuf" ,protobuf)
+       ("spdlog" ,spdlog)))
+    (native-inputs
+     `(("googletest" ,googletest)
+       ("openssl" ,openssl)
+       ("pkg-config" ,pkg-config)))
     (home-page "https://github.com/rizsotto/Bear")
     (synopsis "Tool for generating a compilation database")
     (description "A JSON compilation database is used in the Clang project to
-provide information on how a given compilation unit is processed.  With this,
-it is easy to re-run the compilation with alternate programs.  Bear is used to
-generate such a compilation database.")
+provide information on how a given compilation unit is processed . With this,
+it is easy to re-run the compilation with alternate programs     . Bear is used to
+generate such a compilation database                             . ")
     (license license:gpl3+)))
 
 (define-public gn
-- 
2.29.2





  reply	other threads:[~2020-11-26 23:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 23:25 [bug#44896] Help with Bear Brett Gilio
2020-11-26 23:27 ` Brett Gilio [this message]
2020-12-06  9:08 ` 宋文武

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6v3r95y.fsf@debian \
    --to=brettg@gnu.org \
    --cc=44896@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.