summaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm43
1 files changed, 40 insertions, 3 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e4a99429cd..67f59ca9f9 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -186,6 +186,7 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages re2c)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages sdl)
#:use-module (gnu packages search)
#:use-module (gnu packages serialization)
#:use-module (gnu packages skribilo)
@@ -5715,6 +5716,39 @@ project.")
written in C. It is developed as part of the NetSurf project.")
(license license:expat)))
+(define-public libnsfb
+ (package
+ (name "libnsfb")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
+ name "-" version "-src.tar.gz"))
+ (sha256
+ (base32 "16m3kv8x8mlic4z73h2s3z8lqmyp0z8i30x95lzr1pslxfinqi5y"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list netsurf-buildsystem pkg-config))
+ (inputs
+ ;; SDL is needed to accept any (keyboard, mouse) input. Don't propagate it
+ ;; to satisfy libnsfb.pc: netsurf is the only user and not worth the pain.
+ (list sdl))
+ (arguments netsurf-buildsystem-arguments)
+ (home-page "https://www.netsurf-browser.org/projects/libnsfb/")
+ (synopsis "Framebuffer display abstraction library")
+ (description
+ "LibNSFB is a framebuffer abstraction library, written in C. It is
+developed as part of the NetSurf project and is intended to be suitable for use
+in other projects too.
+
+The overall idea of the library is to provide a generic abstraction to a linear
+section of memory which corresponds to a visible array of pixel elements on a
+display device. Different colour depths are supported and the library provides
+routines for tasks such as drawing onto the framebuffer and rectangle copy
+operations.")
+ (license license:expat)))
+
(define-public libnsgif
(package
(name "libnsgif")
@@ -6663,7 +6697,10 @@ command-line arguments or read from stdin.")
(("^import re\n" line)
(string-append line "re._pattern_type = re.Pattern\n"))))
(find-files "." "\\.py$"))
- #t))))
+ ;; Mapping got moved to collections.abc
+ (substitute* "internetarchive/utils.py"
+ (("from collections import Mapping")
+ "from collections.abc import Mapping"))))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -8102,7 +8139,7 @@ compressed JSON header blocks.
(define-public hpcguix-web
(package
(name "hpcguix-web")
- (version "0.3.0")
+ (version "0.4.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -8111,7 +8148,7 @@ compressed JSON header blocks.
(file-name (git-file-name name version))
(sha256
(base32
- "1g1sd5d6fhrblqk3rc8hzkk1sxyiilbb45kdgbrfg7ccd1sbic30"))))
+ "19l9gvp2ngn7lc3jynrc16f3il2bgkhq1m8zfaqwxk9vwxiivwrn"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)