git: e67c2017f6fe - main - graphics/ximaging: New port: Image Viewer and Browser for Unix/X11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Aug 2024 13:22:25 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e67c2017f6fe368918062b1be695768f4da119f1 commit e67c2017f6fe368918062b1be695768f4da119f1 Author: Cédric Orlat <corlat@ermaion.com> AuthorDate: 2024-08-12 13:17:39 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-08-12 13:17:39 +0000 graphics/ximaging: New port: Image Viewer and Browser for Unix/X11 This port is an image viewer/browser that use the Motif toolkit, it is developed by the same developer of x11-wm/emwm, therefore it is well integrated with it but work great in any graphical environment. The compatibility with others architectures than amd64 is probable but not tested - written in C ANSI. PR: 280734 --- graphics/Makefile | 1 + graphics/ximaging/Makefile | 31 +++++++++++++++++++++++++++++++ graphics/ximaging/distinfo | 3 +++ graphics/ximaging/pkg-descr | 14 ++++++++++++++ 4 files changed, 49 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 56658a317ded..948a511fa582 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1236,6 +1236,7 @@ SUBDIR += xfractint SUBDIR += xglurbules SUBDIR += xgrasp + SUBDIR += ximaging SUBDIR += xli SUBDIR += xmedcon SUBDIR += xmlgraphics-commons diff --git a/graphics/ximaging/Makefile b/graphics/ximaging/Makefile new file mode 100644 index 000000000000..fda1f56198af --- /dev/null +++ b/graphics/ximaging/Makefile @@ -0,0 +1,31 @@ +PORTNAME= ximaging +DISTVERSIONPREFIX= src- +DISTVERSION= 1.8 +CATEGORIES= graphics +MASTER_SITES= https://fastestcode.org/dl/ + +MAINTAINER= corlat@ermaion.com +COMMENT= Image Viewer and Browser for Unix/X11 +WWW= https://fastestcode.org/ximaging.html + +LICENSE= MIT + +LIB_DEPENDS= libpng16.so:graphics/png \ + libtiff.so:graphics/tiff + +USES= jpeg motif tar:xz +USE_XORG= x11 xinerama xt + +PLIST_FILES= bin/ximaging \ + etc/X11/app-defaults/XImaging \ + share/man/man1/ximaging.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1 + ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/app-defaults + ${INSTALL_DATA} ${WRKSRC}/src/XImaging.ad \ + ${STAGEDIR}${PREFIX}/etc/X11/app-defaults/XImaging + +.include <bsd.port.mk> diff --git a/graphics/ximaging/distinfo b/graphics/ximaging/distinfo new file mode 100644 index 000000000000..701b23cbf2ce --- /dev/null +++ b/graphics/ximaging/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723053176 +SHA256 (ximaging-src-1.8.tar.xz) = 2de967c72bd9ff100970fb48bff9bf5200fa36c9a58f17afa9449bbd215bd010 +SIZE (ximaging-src-1.8.tar.xz) = 111180 diff --git a/graphics/ximaging/pkg-descr b/graphics/ximaging/pkg-descr new file mode 100644 index 000000000000..666c45e81705 --- /dev/null +++ b/graphics/ximaging/pkg-descr @@ -0,0 +1,14 @@ +XImaging is a lightweight, multithreaded, open source image viewer for FreeBSD, +Linux and other Unix like platforms running X11. The application can be run in +viewer or browser mode. The viewer displays full size images and provides +zooming, panning, rotation and other useful functions. The browser searches a +directory for known image file types and displays them as thumbnails. +Additionally both modes provide basic file management routines. A custom tool +may be specified for opening selected files in another application for editing. + +Most common raster image types are suppported directly, while filters (any +program that can write PNM/PAM data to the stdout) may be used to add support +for other kinds of image data. + +The program is written in C, and uses the Motif widget toolkit. The source code +may be modified and distributed under the terms of the X/MIT license.