From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: [PATCH] add fbida Date: Sat, 15 Oct 2016 14:59:14 +0200 Message-ID: <20161015145914.020916c3@polymos.lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/sAcgqBDk6=TzSQ54ZMoC58R" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvOXV-0001mo-2k for guix-devel@gnu.org; Sat, 15 Oct 2016 08:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvOXQ-0002DU-1S for guix-devel@gnu.org; Sat, 15 Oct 2016 08:58:12 -0400 Received: from dau94-h03-89-91-205-84.dsl.sta.abo.bbox.fr ([89.91.205.84]:33458 helo=skaro.lepiller.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvOXP-00024k-F6 for guix-devel@gnu.org; Sat, 15 Oct 2016 08:58:07 -0400 Received: from localhost (localhost [127.0.0.1]) by skaro.lepiller.eu (Postfix) with ESMTP id 0A34181714 for ; Sat, 15 Oct 2016 14:56:22 +0200 (CEST) Received: from skaro.lepiller.eu ([127.0.0.1]) by localhost (skaro.lepiller.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g1RThOVg8RYL for ; Sat, 15 Oct 2016 14:56:16 +0200 (CEST) Received: from polymos.lepiller.eu (89-93-157-164.hfc.dyn.abo.bbox.fr [89.93.157.164]) by skaro.lepiller.eu (Postfix) with ESMTPSA id A38947FD3F for ; Sat, 15 Oct 2016 14:56:15 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --MP_/sAcgqBDk6=TzSQ54ZMoC58R Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I attached a patch to add fbida, a frame-buffer based image and pdf viewer. I created a new file, since I didn't find an existing one where it could go. Let me know if you prefer it in an existing file. --MP_/sAcgqBDk6=TzSQ54ZMoC58R Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-fbida.patch =46rom 0867f891e7ceecde3e307fa88b572622a2ad416e Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 15 Oct 2016 14:40:30 +0200 Subject: [PATCH] gnu: Add fbida * gnu/packages/fbida.scm: New file. * gnu/local.mk (GNU_SYSTEM_MOULES): Add it. --- gnu/local.mk | 1 + gnu/packages/fbida.scm | 85 ++++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 86 insertions(+) create mode 100644 gnu/packages/fbida.scm diff --git a/gnu/local.mk b/gnu/local.mk index a9343f0..91dc42a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -117,6 +117,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/enlightenment.scm \ %D%/packages/entr.scm \ %D%/packages/erlang.scm \ + %D%/packages/fbida.scm \ %D%/packages/fcitx.scm \ %D%/packages/feh.scm \ %D%/packages/figlet.scm \ diff --git a/gnu/packages/fbida.scm b/gnu/packages/fbida.scm new file mode 100644 index 0000000..a5efdc7 --- /dev/null +++ b/gnu/packages/fbida.scm @@ -0,0 +1,85 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2014 Ian Denhardt +;;; Copyright =C2=A9 2016 Efraim Flashner +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages fbida) + #:use-module (gnu packages) + #:use-module (gnu packages curl) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages gl) + #:use-module (gnu packages glib) + #:use-module (gnu packages gtk) + #:use-module (gnu packages image) + #:use-module (gnu packages imagemagick) + #:use-module (gnu packages linux) + #:use-module (gnu packages pdf) + #:use-module (gnu packages photo) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages xdisorg) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:)) + +(define-public fbida + (package + (name "fbida") + (version "2.12") + (home-page "https://www.kraxel.org/blog/linux/fbida/") + (source (origin + (method url-fetch) + (uri (string-append "https://www.kraxel.org/releases/fbida/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0bw224vb7jh0lrqaf4jgxk48xglvxs674qcpj5y0axyfbh896cfk")))) + (build-system gnu-build-system) + (arguments + '(#:phases (alist-cons-after + 'unpack 'patch-ldconfig + (lambda _ + (substitute* "mk/Autoconf.mk" + (("/sbin/ldconfig -p") "echo lib")) #t) + (alist-delete 'configure %standard-phases)) + #:tests? #f + #:make-flags (list "CC=3Dgcc" + (string-append "prefix=3D" (assoc-ref %outputs = "out"))))) + (inputs `(("libjpeg" ,libjpeg) + ("curl" ,curl) + ("libtiff" ,libtiff) + ("libudev" ,eudev) + ("libwebp" ,libwebp) + ("libdrm" ,libdrm) + ("imagemagick" ,imagemagick) + ("giflib" ,giflib) + ("glib" ,glib) + ("cairo-xcb" ,cairo-xcb) + ("freetype" ,freetype) + ("fontconfig" ,fontconfig) + ("libexif" ,libexif) + ("mesa" ,mesa) + ("libepoxy" ,libepoxy) + ("libpng" ,libpng) + ("poppler" ,poppler))) + (native-inputs `(("pkg-config" ,pkg-config))) + (synopsis "Framebuffer and drm-based image viewer") + (description + "fbida contains a few applications for viewing and editing images on +the framebuffer.") + + (license license:gpl2+))) --=20 2.9.2 --MP_/sAcgqBDk6=TzSQ54ZMoC58R--