[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/13: gnu: Add libnsfb.
From: |
guix-commits |
Subject: |
09/13: gnu: Add libnsfb. |
Date: |
Sun, 26 Nov 2023 18:19:25 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 66942d042e28e8d26cfdb70633c8e33280c0b049
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 8 02:00:00 2023 +0200
gnu: Add libnsfb.
* gnu/packages/web.scm (libnsfb): New public variable.
---
gnu/packages/web.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 822f0e7612..7498f22664 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")
- branch master updated (f3173bb901 -> 3778f778c3), guix-commits, 2023/11/26
- 03/13: gnu: Add ani-cli., guix-commits, 2023/11/26
- 01/13: gnu: loksh: Update to 7.4., guix-commits, 2023/11/26
- 04/13: gnu: opensmtpd: Update to 7.4.0p1., guix-commits, 2023/11/26
- 06/13: gnu: dpkg: Update to 1.22.1., guix-commits, 2023/11/26
- 02/13: gnu: openssh: Update to 9.5p1., guix-commits, 2023/11/26
- 05/13: gnu: erofs-utils: Update to 1.7.1., guix-commits, 2023/11/26
- 08/13: gnu: knot: Update to 3.3.2., guix-commits, 2023/11/26
- 13/13: gnu: fio: Update to 3.36., guix-commits, 2023/11/26
- 07/13: gnu: nwipe: Update to 0.35., guix-commits, 2023/11/26
- 09/13: gnu: Add libnsfb.,
guix-commits <=
- 11/13: gnu: bfs: Fix Texinfo typo., guix-commits, 2023/11/26
- 10/13: linux-boot: Don't create /root before it's used., guix-commits, 2023/11/26
- 12/13: gnu: bfs: Update to 3.0.4., guix-commits, 2023/11/26