remove graphics/sxiv, ok kn (MAINTAINER) and sthen. it has been

replaced by graphics/nsxiv
This commit is contained in:
op 2022-02-06 17:21:24 +00:00
parent f4a9ed7d57
commit 61e7355e6e
5 changed files with 0 additions and 86 deletions

View File

@ -1,48 +0,0 @@
# $OpenBSD: Makefile,v 1.20 2021/10/17 13:06:59 kn Exp $
COMMENT = simple X Image Viewer
GH_PROJECT = sxiv
GH_ACCOUNT = muennich
GH_TAGNAME = v26
REVISION = 1
CATEGORIES = graphics x11
MAINTAINER = Klemens Nanni <kn@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += Imlib2 X11 Xft c exif fontconfig gif lib/inotify/inotify
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
LIB_DEPENDS = devel/libinotify \
graphics/imlib2 \
graphics/libexif
MAKE_FLAGS = CC="${CC}" \
V=1 \
PREFIX=${PREFIX} \
MANPREFIX=${PREFIX}/man \
CFLAGS="${CFLAGS} -I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${LOCALBASE}/include -I${LOCALBASE}/include/inotify" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath ${LOCALBASE}/lib/inotify"
NO_TEST = Yes
post-patch:
${SUBST_CMD} ${WRKSRC}/sxiv.1
# Git errors break version.h build; this makes it fall back to a hardcoded value
pre-build:
ln -sf /usr/bin/true ${WRKDIR}/bin/git
post-install:
${MAKE_PROGRAM} -C ${WRKSRC}/icon/ DESTDIR='' ${FAKE_TARGET}
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/sxiv.desktop ${PREFIX}/share/applications
rm -f -- ${PREFIX}/share/sxiv/exec/*${PATCHORIG}
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (sxiv-26.tar.gz) = o4KtV3NCQ4GOgouhYfwDV7SNjzp/jCnKwYNJK0a1iUk=
SIZE (sxiv-26.tar.gz) = 48569

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-sxiv_1,v 1.5 2021/10/03 22:01:54 kn Exp $
Substitute paths (this port handles PREFIX and VERSION itself).
Index: sxiv.1
--- sxiv.1.orig
+++ sxiv.1
@@ -412,7 +412,7 @@ have been modified and reloads them.
The key combo argument has the following form: "[C-][M-][S-]KEY",
where C/M/S indicate Ctrl/Meta(Alt)/Shift modifier states and KEY is the X
-keysym as listed in /usr/include/X11/keysymdef.h without the "XK_" prefix.
+keysym as listed in ${X11BASE}/include/X11/keysymdef.h without the "XK_" prefix.
There is also an example script installed together with sxiv as
.IR PREFIX/share/sxiv/exec/key-handler .

View File

@ -1,5 +0,0 @@
The primary goal of sxiv is to create an image viewer which only has the most
basic features required for fast image viewing (the ones I want). It has vi key
bindings and works nicely with tiling window managers. Its code base should be
kept small and clean to make it easy for you to dig into it and customize it for
your needs.

View File

@ -1,15 +0,0 @@
@comment $OpenBSD: PLIST,v 1.7 2019/10/03 10:29:32 kn Exp $
@bin bin/sxiv
@man man/man1/sxiv.1
share/applications/sxiv.desktop
share/icons/hicolor/128x128/apps/sxiv.png
share/icons/hicolor/16x16/apps/sxiv.png
share/icons/hicolor/32x32/apps/sxiv.png
share/icons/hicolor/48x48/apps/sxiv.png
share/icons/hicolor/64x64/apps/sxiv.png
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor
share/sxiv/
share/sxiv/exec/
share/sxiv/exec/image-info
share/sxiv/exec/key-handler