[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#29392] [PATCH 04/11] gnu: gpick: Use scons-build-system.
From: |
Arun Isaac |
Subject: |
[bug#29392] [PATCH 04/11] gnu: gpick: Use scons-build-system. |
Date: |
Wed, 22 Nov 2017 15:05:00 +0530 |
* gnu/packages/image.scm (gpick): Switch to scons-build-system.
---
gnu/packages/image.scm | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index cb8e387f6..eabd4653f 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Tobias Geerinckx-Rice <address@hidden>
;;; Copyright © 2016 Eric Bavier <address@hidden>
-;;; Copyright © 2016 Arun Isaac <address@hidden>
+;;; Copyright © 2016, 2017 Arun Isaac <address@hidden>
;;; Copyright © 2016, 2017 Kei Kebreau <address@hidden>
;;; Copyright © 2017 ng0 <address@hidden>
;;; Copyright © 2017 Hartmut Goebel <address@hidden>
@@ -67,6 +67,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
#:use-module (guix build-system r)
+ #:use-module (guix build-system scons)
#:use-module (srfi srfi-1))
(define-public libpng
@@ -1202,33 +1203,25 @@ medical image data, e.g. magnetic resonance image (MRI)
and functional MRI
(sha256
(base32
"0mxvxk15xhk2i5vfavjhnkk4j3bnii0gpf8di14rlbpq070hd5rs"))))
- (build-system python-build-system)
+ (build-system scons-build-system)
(native-inputs
`(("boost" ,boost)
("gettext" ,gnu-gettext)
- ("pkg-config" ,pkg-config)
- ("scons" ,scons)))
+ ("pkg-config" ,pkg-config)))
(inputs
`(("expat" ,expat)
("gtk2" ,gtk+-2)
("lua" ,lua-5.2)))
(arguments
`(#:tests? #f
+ #:scons-flags (list (string-append "DESTDIR=" %output))
#:phases
(modify-phases %standard-phases
(add-before 'build 'fix-lua-reference
(lambda _
(substitute* "SConscript"
(("lua5.2") "lua-5.2"))
- #t))
- (replace 'build
- (lambda _
- (zero? (system* "scons"))))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((dest (assoc-ref outputs "out")))
- (zero? (system* "scons" "install"
- (string-append "DESTDIR=" dest)))))))))
+ #t)))))
(home-page "http://www.gpick.org/")
(synopsis "Color picker")
(description "Gpick is an advanced color picker and palette editing tool.")
--
2.15.0
- [bug#29392] [PATCH 00/11] New scons build system, Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 01/11] gnu: scons: Update to 3.0.1., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 04/11] gnu: gpick: Use scons-build-system.,
Arun Isaac <=
- [bug#29392] [PATCH 11/11] gnu: pingus: Use HTTPS for home page., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 05/11] gnu: serf: Use scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 10/11] gnu: mongodb: Use scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 02/11] build-system: Add scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 06/11] gnu: metabat: Use scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 08/11] gnu: pingus: Use scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 07/11] gnu: godot: Use scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 03/11] gnu: linuxdcpp: Use scons-build-system., Arun Isaac, 2017/11/22
- [bug#29392] [PATCH 09/11] gnu: klick: Use scons-build-system., Arun Isaac, 2017/11/22