pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/ximaging
Module Name: pkgsrc
Committed By: vins
Date: Tue Dec 6 13:05:00 UTC 2022
Added Files:
pkgsrc/graphics/ximaging: DESCR Makefile PLIST distinfo
pkgsrc/graphics/ximaging/patches: patch-mf_Makefile.Linux
patch-mf_Makefile.Tribblix
Log Message:
graphics/ximaging: import package from wip.
+Ximaging is a lightweight, multithreaded, open source image viewer for
+FreeBSD, Linux and other Unix like platforms running X11.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/ximaging/DESCR \
pkgsrc/graphics/ximaging/Makefile pkgsrc/graphics/ximaging/PLIST \
pkgsrc/graphics/ximaging/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Linux \
pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Tribblix
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/ximaging/DESCR
diff -u /dev/null pkgsrc/graphics/ximaging/DESCR:1.1
--- /dev/null Tue Dec 6 13:05:00 2022
+++ pkgsrc/graphics/ximaging/DESCR Tue Dec 6 13:04:59 2022
@@ -0,0 +1,11 @@
+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.
+
+It 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.
Index: pkgsrc/graphics/ximaging/Makefile
diff -u /dev/null pkgsrc/graphics/ximaging/Makefile:1.1
--- /dev/null Tue Dec 6 13:05:00 2022
+++ pkgsrc/graphics/ximaging/Makefile Tue Dec 6 13:04:59 2022
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2022/12/06 13:04:59 vins Exp $
+
+DISTNAME= ximaging-src-1.6
+PKGNAME= ${DISTNAME:S,-src,,}
+CATEGORIES= graphics
+MASTER_SITES= https://fastestcode.org/dl/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= vins%retrobsd.ddns.net@localhost
+HOMEPAGE= https://fastestcode.org/emwm.html
+COMMENT= Image browser and viewer for Unix - X/Motif
+LICENSE= mit
+
+MAKE_FLAGS+= CC?=${CC:Q}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= CFLAGS+="-fopenmp -DENABLE_OMP"
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS+="-fopenmp -pthread"
+MAKE_FLAGS+= PNG_LIBS=-lpng16
+MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+= APPLRESDIR=${PREFIX}/lib/X11/app-defaults
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS+= lib/X11/app-defaults
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ximaging ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/src/ximaging.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/XImaging.ad \
+ ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XImaging
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/ximaging/PLIST
diff -u /dev/null pkgsrc/graphics/ximaging/PLIST:1.1
--- /dev/null Tue Dec 6 13:05:00 2022
+++ pkgsrc/graphics/ximaging/PLIST Tue Dec 6 13:04:59 2022
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/06 13:04:59 vins Exp $
+bin/ximaging
+lib/X11/app-defaults/XImaging
+man/man1/ximaging.1
Index: pkgsrc/graphics/ximaging/distinfo
diff -u /dev/null pkgsrc/graphics/ximaging/distinfo:1.1
--- /dev/null Tue Dec 6 13:05:00 2022
+++ pkgsrc/graphics/ximaging/distinfo Tue Dec 6 13:04:59 2022
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2022/12/06 13:04:59 vins Exp $
+
+BLAKE2s (ximaging-src-1.6.tar.xz) = 8733d6719dc05ccacf28b84da77e2fdf17a539a7d1f3b917a35dd22ccffa923c
+SHA512 (ximaging-src-1.6.tar.xz) = a9625bc5262641ec38e5d0248154caf78c724e6050820af1efa2cade15fea871e852338dcf0274d8407200ced74dd9800599773e932724c87ca2f06e78c03277
+Size (ximaging-src-1.6.tar.xz) = 99064 bytes
+SHA1 (patch-mf_Makefile.Linux) = 0b7fcd2f55f111258f099f5667611d2253e51169
+SHA1 (patch-mf_Makefile.Tribblix) = 23abe40fea1f0131bd972d40c36d41047ad02398
Index: pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Linux
diff -u /dev/null pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Linux:1.1
--- /dev/null Tue Dec 6 13:05:00 2022
+++ pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Linux Tue Dec 6 13:04:59 2022
@@ -0,0 +1,37 @@
+$NetBSD: patch-mf_Makefile.Linux,v 1.1 2022/12/06 13:04:59 vins Exp $
+
+Portability fixes for bmake.
+
+--- mf/Makefile.Linux.orig 2022-07-31 15:43:05.000000000 +0000
++++ mf/Makefile.Linux
+@@ -15,24 +15,22 @@ CFLAGS = -O2 -Wall $(INCDIRS)
+ LDFLAGS = -pthread
+
+ # OpenMP loop optimizations
+-ifdef ENABLE_OMP
++.ifdef ENABLE_OMP
+ CFLAGS += -fopenmp -DENABLE_OMP
+ LDFLAGS += -fopenmp
+-endif
++.endif
+
+ # Common Desktop Environment support
+-ifdef ENABLE_CDE
++.ifdef ENABLE_CDE
+ CFLAGS += -DENABLE_CDE
+ IPC_OBJS = tooltalk.o
+ CDE_LIBS = -lDtHelp -lDtSvc -ltt
+ INCDIRS += -I/usr/dt/include
+ LIBDIRS += -L/usr/dt/lib
+-else
++.else
+ IPC_OBJS = xipc.o
+-endif
++.endif
+
+-include common.mf
++.include "common.mf"
+
+ install: common_install
+-
+--include .depend
Index: pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Tribblix
diff -u /dev/null pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Tribblix:1.1
--- /dev/null Tue Dec 6 13:05:00 2022
+++ pkgsrc/graphics/ximaging/patches/patch-mf_Makefile.Tribblix Tue Dec 6 13:04:59 2022
@@ -0,0 +1,22 @@
+$NetBSD: patch-mf_Makefile.Tribblix,v 1.1 2022/12/06 13:04:59 vins Exp $
+
+Portability fix for bmake.
+Do not assume Motif to be packaged without Xft.
+
+--- mf/Makefile.Tribblix.orig 2022-07-31 15:43:05.000000000 +0000
++++ mf/Makefile.Tribblix
+@@ -14,12 +14,6 @@ CFLAGS = -O2 -Wall $(INCDIRS)
+ LDFLAGS = -pthread
+ IPC_OBJS = xipc.o
+
+-include common.mf
++.include "common.mf"
+
+-install:
+- install -m 775 -f $(PREFIX)/bin ximaging
+- install -m 664 -f $(MANDIR)/man1 ximaging.1
+- # While Tribblix packages Motif with no Xft
+- sed '/renderTable/d' XImaging.ad > XImaging
+- install -m 664 -f $(APPLRESDIR) XImaging
+- rm XImaging
++install: common_install
Home |
Main Index |
Thread Index |
Old Index