summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-21 14:03:02 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-21 15:30:54 -0400
commit249e84943e628458d2c59c79a19cb9fb3acb068f (patch)
tree3e2641bd4c8e6f67a7aaed16b38c813f94baf9ee
parentb61f7602bf2174750dd85434d1a0f3a2dc6376bc (diff)
downloadguix-249e84943e628458d2c59c79a19cb9fb3acb068f.tar.gz
gnu: openboardview: Update to 8.95.2.
* gnu/packages/electronics.scm (openboardview): Update to 8.95.2.
[source]: Update snippet comment.
[phases]{remove-timestamps}: Delete phase.
-rw-r--r--gnu/packages/electronics.scm19
1 files changed, 3 insertions, 16 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index 24bb4b03b1..3631d08519 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -251,7 +251,7 @@ supported devices, as well as input/output file format support.")
 (define-public openboardview
   (package
     (name "openboardview")
-    (version "8.95.1")
+    (version "8.95.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -264,9 +264,7 @@ supported devices, as well as input/output file format support.")
                          (guix build utils)))
               (snippet
                '(with-directory-excursion "src"
-                  ;; Keep the bundled ImGui for now, as in the current version
-                  ;; (~1.79), it requires the glad loader generated at build
-                  ;; time as an input.
+                  ;; TODO: Unbundle ImGui.
                   (define keep (list "." ".." "imgui" "openboardview"))
                   (for-each (lambda (f)
                               (when (eq? 'directory (stat:type (lstat f)))
@@ -276,7 +274,7 @@ supported devices, as well as input/output file format support.")
                (search-patches "openboardview-use-system-utf8.patch"))
               (sha256
                (base32
-                "16mrs7bimwp8a8lb2wqhfisy6j0hl9574l4h9yb66v46aglvmd3h"))))
+                "1n2yfi8wpky0y231kq2zdgwn7f7kff8m53m904hxi5ppmwhx1d6q"))))
     (build-system cmake-build-system)
     (arguments
      (list
@@ -288,17 +286,6 @@ supported devices, as well as input/output file format support.")
                   ((guix build glib-or-gtk-build-system) #:prefix gtk:))
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'remove-timestamps
-            (lambda _
-              ;; The __TIMESTAMP__ CPP macro does apparently not honor
-              ;; SOURCE_EPOCH_DATE.  Patch it to use __DATE__ instead, which
-              ;; does (see:
-              ;; https://github.com/OpenBoardView/OpenBoardView/issues/229 and
-              ;; https://issues.guix.gnu.org/53647).
-              (substitute* '("src/openboardview/BoardView.cpp"
-                             "src/openboardview/main_opengl.cpp")
-                (("__TIMESTAMP__")
-                 "__DATE__"))))
           (add-before 'configure 'configure-glad
             (lambda* (#:key inputs #:allow-other-keys)
               (substitute* "src/CMakeLists.txt"