unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39378] [PATCH] gnu: Add FIM.
@ 2020-01-31 22:51 Leo Famulari
  2020-01-31 23:27 ` Jonathan Brielmaier
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Leo Famulari @ 2020-01-31 22:51 UTC (permalink / raw)
  To: 39378

* gnu/packages/image-viewers.scm (fim): New variable.
---
 gnu/packages/image-viewers.scm | 41 ++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 85d3a153e7..51f584dfbb 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@gmail.com>
 ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu@riseup.net>
+;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,11 +41,13 @@
   #:use-module (guix build-system python)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages algebra)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
@@ -56,6 +59,7 @@
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check)
@@ -63,7 +67,10 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages readline)
+  #:use-module (gnu packages sdl)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages))
@@ -596,3 +603,37 @@ with tiling window managers.  Features include:
 @end itemize\n")
     (home-page "https://github.com/eXeC64/imv")
     (license license:expat)))
+
+(define-public fim
+  (package
+    (name "fim")
+    (version "0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://download.savannah.nongnu.org/releases/"
+                                  "fbi-improved/fim-" version "-trunk.tar.gz"))
+              (sha256
+               (base32
+                "124b7c4flx5ygmy5sqq0gpvxqzafnknbcj6f45ddnbdxik9lazzp"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("flex" ,flex)
+       ("bison" ,bison)
+       ("perl" ,perl)))
+    (inputs
+     `(("aalib" ,aalib)
+       ("alsa-lib" ,alsa-lib)
+       ("giflib" ,giflib)
+       ("libexif" ,libexif)
+       ("libjpeg" ,libjpeg-8)
+       ("libpng" ,libpng)
+       ("libtiff" ,libtiff)
+       ("libxrandr" ,libxrandr)
+       ("libxrender" ,libxrender)
+       ("readline" ,readline)
+       ("sdl" ,sdl)))
+    (synopsis "Image viewer with framebuffer support")
+    (description "FIM is an image viewer that supports both X and the Linux
+framebuffer.")
+    (home-page "https://www.nongnu.org/fbi-improved/")
+    (license license:gpl2+)))
-- 
2.25.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#39378] [PATCH] gnu: Add FIM.
  2020-01-31 22:51 [bug#39378] [PATCH] gnu: Add FIM Leo Famulari
@ 2020-01-31 23:27 ` Jonathan Brielmaier
  2020-02-02  6:05   ` Leo Famulari
  2020-07-10 21:38 ` Jakub Kądziołka
  2021-12-29 19:40 ` bug#39378: " Leo Famulari
  2 siblings, 1 reply; 5+ messages in thread
From: Jonathan Brielmaier @ 2020-01-31 23:27 UTC (permalink / raw)
  To: Leo Famulari, 39378


----- Ursprüngliche Mitteilung -----
> * gnu/packages/image-viewers.scm (fim): New variable.
> ---
>   gnu/packages/image-viewers.scm | 41 ++++++++++++++++++++++++++++++++++
>   1 file changed, 41 insertions(+)
>
> diff --git a/gnu/packages/image-viewers.scm
> b/gnu/packages/image-viewers.scm index 85d3a153e7..51f584dfbb 100644
> --- a/gnu/packages/image-viewers.scm
> +++ b/gnu/packages/image-viewers.scm
> @@ -13,6 +13,7 @@
>   ;;; Copyright © 2019 Guy Fleury Iteriteka <hoonandon@gmail.com>
>   ;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
>   ;;; Copyright © 2020 Peng Mei Yu <pengmeiyu@riseup.net>
> +;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
>   ;;;
>   ;;; This file is part of GNU Guix.
>   ;;;
> @@ -40,11 +41,13 @@
>       #:use-module (guix build-system python)
>       #:use-module (gnu packages autotools)
>       #:use-module (gnu packages algebra)
> +   #:use-module (gnu packages bison)
>       #:use-module (gnu packages boost)
>       #:use-module (gnu packages check)
>       #:use-module (gnu packages compression)
>       #:use-module (gnu packages curl)
>       #:use-module (gnu packages documentation)
> +   #:use-module (gnu packages flex)
>       #:use-module (gnu packages fontutils)
>       #:use-module (gnu packages freedesktop)
>       #:use-module (gnu packages gettext)
> @@ -56,6 +59,7 @@
>       #:use-module (gnu packages graphics)
>       #:use-module (gnu packages image)
>       #:use-module (gnu packages imagemagick)
> +   #:use-module (gnu packages linux)
>       #:use-module (gnu packages maths)
>       #:use-module (gnu packages perl)
>       #:use-module (gnu packages perl-check)
> @@ -63,7 +67,10 @@
>       #:use-module (gnu packages pkg-config)
>       #:use-module (gnu packages python)
>       #:use-module (gnu packages python-xyz)
> +   #:use-module (gnu packages readline)
> +   #:use-module (gnu packages sdl)
>       #:use-module (gnu packages qt)
> +   #:use-module (gnu packages video)
>       #:use-module (gnu packages xdisorg)
>       #:use-module (gnu packages xorg)
>       #:use-module (gnu packages))
> @@ -596,3 +603,37 @@ with tiling window managers.   Features include:
>   @end itemize\n")
>           (home-page "https://github.com/eXeC64/imv")
>           (license license:expat)))
> +
> +(define-public fim
> +   (package
> +       (name "fim")
> +       (version "0.6")
> +       (source (origin
> +                           (method url-fetch)
> +                           (uri (string-append
> "http://download.savannah.nongnu.org/releases/" +                                           
>                     "fbi-improved/fim-" version "-trunk.tar.gz")) +                       
> (sha256 +                             (base32
> +                           
> "124b7c4flx5ygmy5sqq0gpvxqzafnknbcj6f45ddnbdxik9lazzp")))) +   
> (build-system gnu-build-system) +       (native-inputs
> +         `(("flex" ,flex)
> +             ("bison" ,bison)
> +             ("perl" ,perl)))
> +       (inputs
> +         `(("aalib" ,aalib)
> +             ("alsa-lib" ,alsa-lib)
> +             ("giflib" ,giflib)
> +             ("libexif" ,libexif)
> +             ("libjpeg" ,libjpeg-8)
> +             ("libpng" ,libpng)
> +             ("libtiff" ,libtiff)
> +             ("libxrandr" ,libxrandr)
> +             ("libxrender" ,libxrender)
> +             ("readline" ,readline)
> +             ("sdl" ,sdl)))
> +       (synopsis "Image viewer with framebuffer support")
> +       (description "FIM is an image viewer that supports both X and the
> Linux +framebuffer.")

Maybe add to the description that it's quite leightweight still supporting many image formats.

> +       (home-page "https://www.nongnu.org/fbi-improved/")
> +       (license license:gpl2+)))
> --
> 2.25.0
>
>
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#39378] [PATCH] gnu: Add FIM.
  2020-01-31 23:27 ` Jonathan Brielmaier
@ 2020-02-02  6:05   ` Leo Famulari
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2020-02-02  6:05 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 39378

On Sat, Feb 01, 2020 at 12:27:09AM +0100, Jonathan Brielmaier wrote:
> > +       (synopsis "Image viewer with framebuffer support")
> > +       (description "FIM is an image viewer that supports both X and the
> > Linux +framebuffer.")
> 
> Maybe add to the description that it's quite leightweight still supporting many image formats.

Perhaps, but I measured some of the image viewers int the same module,
and FIM is in the middle of the pack in terms of being lightweight.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#39378] [PATCH] gnu: Add FIM.
  2020-01-31 22:51 [bug#39378] [PATCH] gnu: Add FIM Leo Famulari
  2020-01-31 23:27 ` Jonathan Brielmaier
@ 2020-07-10 21:38 ` Jakub Kądziołka
  2021-12-29 19:40 ` bug#39378: " Leo Famulari
  2 siblings, 0 replies; 5+ messages in thread
From: Jakub Kądziołka @ 2020-07-10 21:38 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 39378

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

On Fri, Jan 31, 2020 at 05:51:51PM -0500, Leo Famulari wrote:
> * gnu/packages/image-viewers.scm (fim): New variable.
> ---
>  gnu/packages/image-viewers.scm | 41 ++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)

Thanks!

> +    (inputs
> +     `(("aalib" ,aalib)
> +       ("alsa-lib" ,alsa-lib)
> +       ("giflib" ,giflib)
> +       ("libexif" ,libexif)
> +       ("libjpeg" ,libjpeg-8)

libjpeg-8 doesn't exist anymore. The package builds fine when this is
replaced by libjpeg-turbo, and it seems to work, too, in my limited
testing. Is such a change reasonable in your opinion?

From the build log:

|         use 'inkscape' for SVG files        : no
|         use 'fig2dev' for FIG files         : no
|         JP2 (JPEG-2K) file support (JasPer) : no

Is there a specific reason we don't want support for these formats?

Regards,
Jakub Kądziołka

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#39378: [PATCH] gnu: Add FIM.
  2020-01-31 22:51 [bug#39378] [PATCH] gnu: Add FIM Leo Famulari
  2020-01-31 23:27 ` Jonathan Brielmaier
  2020-07-10 21:38 ` Jakub Kądziołka
@ 2021-12-29 19:40 ` Leo Famulari
  2 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2021-12-29 19:40 UTC (permalink / raw)
  To: 39378-done

I decided not to continue with this patch, so I'm closing this ticket.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-29 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31 22:51 [bug#39378] [PATCH] gnu: Add FIM Leo Famulari
2020-01-31 23:27 ` Jonathan Brielmaier
2020-02-02  6:05   ` Leo Famulari
2020-07-10 21:38 ` Jakub Kądziołka
2021-12-29 19:40 ` bug#39378: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).