[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/17: gnu: Add libparserutils.
From: |
Eric Bavier |
Subject: |
04/17: gnu: Add libparserutils. |
Date: |
Mon, 13 Feb 2017 23:37:16 -0500 (EST) |
bavier pushed a commit to branch master
in repository guix.
commit ef61177dddcedaf773e83aa99feef113537e5d92
Author: Eric Bavier <address@hidden>
Date: Sat Feb 11 21:21:50 2017 -0600
gnu: Add libparserutils.
* gnu/packages/web.scm (netsurf-buildsystem)
(netsurf-buildsystem-arguments, libparserutils): New variables.
---
gnu/packages/web.scm | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 65 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index d26a208..37ea4e8 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <address@hidden>
;;; Copyright © 2015, 2016 Ricardo Wurmus <address@hidden>
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <address@hidden>
-;;; Copyright © 2015, 2016 Eric Bavier <address@hidden>
+;;; Copyright © 2015, 2016, 2017 Eric Bavier <address@hidden>
;;; Copyright © 2015 Eric Dvorsak <address@hidden>
;;; Copyright © 2016 Sou Bunnbu <address@hidden>
;;; Copyright © 2016 Jelle Licht <address@hidden>
@@ -3727,6 +3727,70 @@ can easily be invoked on a single file. Your partner
can access the file with
tools they trust (e.g. wget).")
(license l:gpl2+)))
+(define netsurf-buildsystem
+ (package
+ (name "netsurf-buildsystem")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
+ "buildsystem-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
+ (build-system gnu-build-system)
+ (inputs `(("perl" ,perl)))
+ (arguments
+ '(#:make-flags (list (string-append "PREFIX=" %output))
+ #:tests? #f ;no tests
+ #:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build))))
+ (home-page "http://www.netsurf-browser.org")
+ (synopsis "Build system for the Netsurf project")
+ (description
+ "This package provides the shared build system for Netsurf project
+libraries.")
+ (license l:expat)))
+
+(define netsurf-buildsystem-arguments
+ `(#:make-flags `("COMPONENT_TYPE=lib-shared"
+ "CC=gcc" "BUILD_CC=gcc"
+ ,(string-append "PREFIX=" %output)
+ ,(string-append "NSSHARED="
+ (assoc-ref %build-inputs
+ "netsurf-buildsystem")
+ "/share/netsurf-buildsystem"))
+ #:test-target "test"
+ #:phases (modify-phases %standard-phases
+ (delete 'configure))))
+
+(define-public libparserutils
+ (package
+ (name "libparserutils")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
+ name "-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("netsurf-buildsystem" ,netsurf-buildsystem)
+ ("pkg-config" ,pkg-config)
+ ("perl" ,perl))) ;for test harness
+ (arguments netsurf-buildsystem-arguments)
+ (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
+ (synopsis "Parser building library")
+ (description
+ "LibParserUtils is a library for building efficient parsers, written in
+C. It is developed as part of the NetSurf project.")
+ (license l:expat)))
+
(define-public netsurf
(package
(name "netsurf")
- branch master updated (faa9ba4 -> 4fc282b), Eric Bavier, 2017/02/13
- 02/17: gnu: utf8proc: Upgrade to 2.1.0., Eric Bavier, 2017/02/13
- 03/17: gnu: utf8proc: Enable tests., Eric Bavier, 2017/02/13
- 09/17: gnu: Add LibDOM., Eric Bavier, 2017/02/13
- 08/17: gnu: Add perl-switch., Eric Bavier, 2017/02/13
- 06/17: gnu: Add LibWapcaplet., Eric Bavier, 2017/02/13
- 04/17: gnu: Add libparserutils.,
Eric Bavier <=
- 12/17: gnu: Add libnsgif., Eric Bavier, 2017/02/13
- 07/17: gnu: Add libcss., Eric Bavier, 2017/02/13
- 14/17: gnu: Add libnspsl., Eric Bavier, 2017/02/13
- 10/17: gnu: Add libsvgtiny., Eric Bavier, 2017/02/13
- 01/17: gnu: netsurf: Upgrade to 3.6., Eric Bavier, 2017/02/13
- 15/17: gnu: Add nsgenbind., Eric Bavier, 2017/02/13
- 05/17: gnu: Add hubbub., Eric Bavier, 2017/02/13
- 17/17: gnu: netsurf: Enable tests., Eric Bavier, 2017/02/13
- 11/17: gnu: Add libnsbmp., Eric Bavier, 2017/02/13
- 13/17: gnu: Add libnsutils., Eric Bavier, 2017/02/13