pkgsrc-WIP-changes archive

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

fim: Add 0.6rc2



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <sjmulder%NetBSD.org@localhost>
Pushed By:	sjmulder
Date:		Mon Feb 5 23:34:17 2024 +0100
Changeset:	5cd097b90de44e42847eed3da2ef0c1fc05e9894

Modified Files:
	Makefile
Added Files:
	fim/COMMIT_MSG
	fim/DESCR
	fim/Makefile
	fim/PLIST
	fim/distinfo
	fim/patches/patch-configure.ac

Log Message:
fim: Add 0.6rc2

Lightweight universal image viewer, aiming to be a highly customizable
and scriptable for users who are comfortable with software vim and mutt.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5cd097b90de44e42847eed3da2ef0c1fc05e9894

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

diffstat:
 Makefile                       |  1 +
 fim/COMMIT_MSG                 |  4 ++++
 fim/DESCR                      |  2 ++
 fim/Makefile                   | 39 +++++++++++++++++++++++++++++++++++++++
 fim/PLIST                      | 23 +++++++++++++++++++++++
 fim/distinfo                   |  6 ++++++
 fim/patches/patch-configure.ac | 16 ++++++++++++++++
 7 files changed, 91 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e95447c546..b4578bb365 100644
--- a/Makefile
+++ b/Makefile
@@ -888,6 +888,7 @@ SUBDIR+=	fidocrypt-git
 SUBDIR+=	filepp
 SUBDIR+=	filerunner
 SUBDIR+=	filevercmp
+SUBDIR+=	fim
 SUBDIR+=	findugendev
 SUBDIR+=	firebird
 SUBDIR+=	fireflysung-ttf
diff --git a/fim/COMMIT_MSG b/fim/COMMIT_MSG
new file mode 100644
index 0000000000..406e655bc7
--- /dev/null
+++ b/fim/COMMIT_MSG
@@ -0,0 +1,4 @@
+graphics/fim: Import fim-0.6rc2 from wip
+
+Lightweight universal image viewer, aiming to be a highly customizable
+and scriptable for users who are comfortable with software vim and mutt.
diff --git a/fim/DESCR b/fim/DESCR
new file mode 100644
index 0000000000..2bcef54f64
--- /dev/null
+++ b/fim/DESCR
@@ -0,0 +1,2 @@
+Lightweight universal image viewer, aiming to be a highly customizable
+and scriptable for users who are comfortable with software vim and mutt.
diff --git a/fim/Makefile b/fim/Makefile
new file mode 100644
index 0000000000..d8d5091c89
--- /dev/null
+++ b/fim/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+DISTNAME=	fim-0.6-rc2
+PKGNAME=	${DISTNAME:S/-rc/rc/}
+CATEGORIES=	graphics
+MASTER_SITES=	http://download.savannah.nongnu.org/releases/fbi-improved/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	sjmulder%NetBSD.org@localhost
+HOMEPAGE=	https://www.nongnu.org/fbi-improved/
+COMMENT=	Lightweight universal image viewer
+LICENSE=	gnu-gpl-v2
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	gmake flex bison	# won't work with other
+USE_TOOLS+=	perl bash:run
+# for patched configure.ac, remove when upstreamed
+USE_TOOLS+=	aclocal autoheader autoconf automake
+USE_LANGUAGES=	c c++
+
+REPLACE_PERL+=	doc/vim2html.pl
+REPLACE_BASH+=	src/fimgs
+
+TEST_TARGET=	tests
+
+# for patched configure.ac, remove when upstreamed
+pre-configure:
+	cd ${WRKSRC} && ${SH} autogen.sh
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"	# needs GNU
+.include "../../graphics/aalib/buildlink3.mk"
+.include "../../graphics/giflib/buildlink3.mk"
+.include "../../graphics/libcaca/buildlink3.mk"
+.include "../../graphics/libexif/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fim/PLIST b/fim/PLIST
new file mode 100644
index 0000000000..4ffbca8fa2
--- /dev/null
+++ b/fim/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD$
+bin/fim
+bin/fimgs
+man/man1/fim.1
+man/man1/fimgs.1
+man/man5/fimrc.5
+share/doc/fim/AUTHORS
+share/doc/fim/BUGS
+share/doc/fim/ChangeLog
+share/doc/fim/FAQ.TXT
+share/doc/fim/FIM.TXT
+share/doc/fim/FIM.html
+share/doc/fim/NEWS
+share/doc/fim/NEWS.in
+share/doc/fim/README
+share/doc/fim/README.FIRST
+share/doc/fim/README.md
+share/doc/fim/TODO
+share/doc/fim/VERSION
+share/doc/fim/fim.man.html
+share/doc/fim/fimgs.man.html
+share/doc/fim/fimrc
+share/doc/fim/fimrc.man.html
diff --git a/fim/distinfo b/fim/distinfo
new file mode 100644
index 0000000000..dee76bc4a5
--- /dev/null
+++ b/fim/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (fim-0.6-rc2.tar.bz2) = b5086e241df1d9afd083ea1bd59756fbce3da658bd490e58feb4ced959c4c339
+SHA512 (fim-0.6-rc2.tar.bz2) = 0bf14b1f31f5fce8df0f31b6b72d63df9186b92b94c0f4787945f4750b4e100b2af55adc860e8d427e90026aedf6dd15fc7a373d718cf029b671c7887191ee7e
+Size (fim-0.6-rc2.tar.bz2) = 718903 bytes
+SHA1 (patch-configure.ac) = c7197d5c9900ed9dda357448008d67ae7d48a050
diff --git a/fim/patches/patch-configure.ac b/fim/patches/patch-configure.ac
new file mode 100644
index 0000000000..34452f7ce8
--- /dev/null
+++ b/fim/patches/patch-configure.ac
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Fix SDL 2 detection on some platforms with more portable test(1)
+invocation.
+
+--- configure.ac.orig	2024-02-04 22:00:47.864879289 +0000
++++ configure.ac
+@@ -1219,7 +1219,7 @@ if test x$fim_handle_sdl != xno; then
+                 LIBS="$LIBS `$LIBSDL_CONFIG $LIBSDL_CONFIG_FLAGS`"
+ 		# finish this !
+                 #FIM_LIB_OBJECTS="$FIM_LIB_OBJECTS SDLDevice.o"
+-		if test x`$LIBSDL_CONFIG --version | head -c 1` == x2; then
++		if test x`$LIBSDL_CONFIG --version | head -c 1` = x2; then
+ 			AC_DEFINE(FIM_WITH_LIBSDL, 2, [Defined if libsdl support is enabled, and set to 1 or 2.])
+ 		else
+ 			AC_DEFINE(FIM_WITH_LIBSDL, 1, [Defined if libsdl support is enabled, and set to 1 or 2.])


Home | Main Index | Thread Index | Old Index