pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jan 11 15:18:46 UTC 2020

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/imv: DESCR Makefile PLIST distinfo options.mk

Log Message:
graphics: Add imv.

imv is a command line image viewer intended for use with tiling
window managers.

Features
--------

* Native Wayland and X11 support
* Support for dozens of image formats including:
  * PNG
  * JPEG
  * Animated GIFs
  * SVG
  * TIFF
  * Various RAW formats
  * Photoshop PSD files
* Configurable key bindings and behaviour
* Highly scriptable with IPC via imv-msg


To generate a diff of this commit:
cvs rdiff -u -r1.874 -r1.875 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/imv/DESCR pkgsrc/graphics/imv/Makefile \
    pkgsrc/graphics/imv/PLIST pkgsrc/graphics/imv/distinfo \
    pkgsrc/graphics/imv/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.874 pkgsrc/graphics/Makefile:1.875
--- pkgsrc/graphics/Makefile:1.874      Sat Jan 11 13:37:15 2020
+++ pkgsrc/graphics/Makefile    Sat Jan 11 15:18:46 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.874 2020/01/11 13:37:15 nia Exp $
+# $NetBSD: Makefile,v 1.875 2020/01/11 15:18:46 nia Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -250,6 +250,7 @@ SUBDIR+=    imlib
 SUBDIR+=       imlib-gtk
 SUBDIR+=       imlib2
 SUBDIR+=       impress
+SUBDIR+=       imv
 SUBDIR+=       inkscape
 SUBDIR+=       ipe
 SUBDIR+=       irrlicht

Added files:

Index: pkgsrc/graphics/imv/DESCR
diff -u /dev/null pkgsrc/graphics/imv/DESCR:1.1
--- /dev/null   Sat Jan 11 15:18:46 2020
+++ pkgsrc/graphics/imv/DESCR   Sat Jan 11 15:18:46 2020
@@ -0,0 +1,17 @@
+imv is a command line image viewer intended for use with tiling
+window managers.
+
+Features
+--------
+
+* Native Wayland and X11 support
+* Support for dozens of image formats including:
+  * PNG
+  * JPEG
+  * Animated GIFs
+  * SVG
+  * TIFF
+  * Various RAW formats
+  * Photoshop PSD files
+* Configurable key bindings and behaviour
+* Highly scriptable with IPC via imv-msg
Index: pkgsrc/graphics/imv/Makefile
diff -u /dev/null pkgsrc/graphics/imv/Makefile:1.1
--- /dev/null   Sat Jan 11 15:18:46 2020
+++ pkgsrc/graphics/imv/Makefile        Sat Jan 11 15:18:46 2020
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2020/01/11 15:18:46 nia Exp $
+
+DISTNAME=      imv-4.1.0
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=eXeC64/}
+GITHUB_PROJECT=        imv
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/eXeC64/imv
+COMMENT=       Image viewer for X11/Wayland
+LICENSE=       mit
+
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+
+USE_TOOLS+=    gmake pkg-config
+USE_LANGUAGES= c99
+
+MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
+
+MAKE_FLAGS+=   BACKEND_LIBTIFF="yes"
+MAKE_FLAGS+=   BACKEND_LIBPNG="yes"
+
+.include "options.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/freeimage/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/imv/PLIST
diff -u /dev/null pkgsrc/graphics/imv/PLIST:1.1
--- /dev/null   Sat Jan 11 15:18:46 2020
+++ pkgsrc/graphics/imv/PLIST   Sat Jan 11 15:18:46 2020
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/11 15:18:46 nia Exp $
+bin/imv
+bin/imv-msg
+${PLIST.all}bin/imv-wayland
+${PLIST.all}bin/imv-x11
+man/man1/imv-msg.1
+man/man1/imv.1
+man/man5/imv.5
+share/applications/imv.desktop
Index: pkgsrc/graphics/imv/distinfo
diff -u /dev/null pkgsrc/graphics/imv/distinfo:1.1
--- /dev/null   Sat Jan 11 15:18:46 2020
+++ pkgsrc/graphics/imv/distinfo        Sat Jan 11 15:18:46 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/11 15:18:46 nia Exp $
+
+SHA1 (imv-4.1.0.tar.gz) = 2c2bc59aab63e237178cc1cbac6d9f0d386f9b69
+RMD160 (imv-4.1.0.tar.gz) = b33143fa7595f81dbe16a3e15f4d114b40568d8c
+SHA512 (imv-4.1.0.tar.gz) = 92d7551bda55185b29724e90230dac608a82f4a45cd3cb9c7a5d261f65eede6dcdde78f5c16eecfc1242533ec8e155204189fab3cacf31ddc088707af5131b2a
+Size (imv-4.1.0.tar.gz) = 77341 bytes
Index: pkgsrc/graphics/imv/options.mk
diff -u /dev/null pkgsrc/graphics/imv/options.mk:1.1
--- /dev/null   Sat Jan 11 15:18:46 2020
+++ pkgsrc/graphics/imv/options.mk      Sat Jan 11 15:18:46 2020
@@ -0,0 +1,42 @@
+# $NetBSD: options.mk,v 1.1 2020/01/11 15:18:46 nia Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.imv
+PKG_SUPPORTED_OPTIONS= svg wayland x11
+
+.include "../../devel/wayland/platform.mk"
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS= svg wayland x11
+.else
+PKG_SUGGESTED_OPTIONS= svg x11
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msvg)
+.  include "../../graphics/librsvg/buildlink3.mk"
+MAKE_FLAGS+=           BACKEND_LIBRSVG="yes"
+.else
+MAKE_FLAGS+=           BACKEND_LIBRSVG="no"
+.endif
+
+PLIST_VARS+=           all
+.if !empty(PKG_OPTIONS:Mwayland) && !empty(PKG_OPTIONS:Mx11)
+PLIST.all=             yes
+MAKE_FLAGS+=           WINDOWS="all"
+.elif !empty(PKG_OPTIONS:Mwayland)
+MAKE_FLAGS+=           WINDOWS="wayland"
+.elif !empty(PKG_OPTIONS:Mx11)
+MAKE_FLAGS+=           WINDOWS="x11"
+.else
+PKG_FAIL_REASON+=      "Must select at least one windowing system"
+.endif
+
+.if !empty(PKG_OPTIONS:Mwayland)
+.  include "../../devel/wayland/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mx11)
+.  include "../../graphics/glu/buildlink3.mk"
+.  include "../../x11/libxcb/buildlink3.mk"
+.  include "../../x11/libX11/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index