all the things
This commit is contained in:
parent
f3db1ea486
commit
7a9bbf0168
30
devel/lua-say/Makefile
Normal file
30
devel/lua-say/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2019/07/12 20:44:41 sthen Exp $
|
||||
|
||||
COMMENT= lua string hashing/indexing library
|
||||
CATEGORIES= devel
|
||||
|
||||
GH_ACCOUNT= Olivine-Labs
|
||||
GH_PROJECT= say
|
||||
GH_TAGNAME= v1.3-1
|
||||
|
||||
PKGNAME = lua-say-1.3.1
|
||||
|
||||
MAINTAINER= sh+ports@codevoid.de
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= lang/lua
|
||||
|
||||
FLAVORS = lua52 lua53
|
||||
FLAVOR ?=
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_TEST= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${MODLUA_DATADIR} \
|
||||
${MODLUA_DATADIR}/say
|
||||
${INSTALL_DATA} ${WRKSRC}/src/*.lua ${MODLUA_DATADIR}/say/
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/lua-say/distinfo
Normal file
2
devel/lua-say/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (say-1.3-1.tar.gz) = I+jNN4u0qxaTJ5EAp4WssiRkGONXC33n2ZW1hHs1B8o=
|
||||
SIZE (say-1.3-1.tar.gz) = 3667
|
2
devel/lua-say/pkg/DESCR
Normal file
2
devel/lua-say/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Say is a simple string key/value store for i18n or any other case where
|
||||
you want namespaced strings.
|
3
devel/lua-say/pkg/PLIST
Normal file
3
devel/lua-say/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v$
|
||||
share/lua/${MODLUA_VERSION}/say/
|
||||
share/lua/${MODLUA_VERSION}/say/init.lua
|
41
devel/luassert/Makefile
Normal file
41
devel/luassert/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2019/07/12 20:44:41 sthen Exp $
|
||||
|
||||
COMMENT= assertion library for lua
|
||||
CATEGORIES= devel
|
||||
|
||||
GH_ACCOUNT= Olivine-Labs
|
||||
GH_PROJECT= luassert
|
||||
GH_TAGNAME= v1.7.11
|
||||
|
||||
MAINTAINER= sh+ports@codevoid.de
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
MODULES= lang/lua
|
||||
|
||||
RUN_DEPENDS= devel/lua-say
|
||||
|
||||
FLAVORS = lua52 lua53
|
||||
FLAVOR ?=
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_TEST= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${MODLUA_DATADIR} \
|
||||
${MODLUA_DATADIR}/luassert \
|
||||
${MODLUA_DATADIR}/luassert/formatters \
|
||||
${MODLUA_DATADIR}/luassert/languages \
|
||||
${MODLUA_DATADIR}/luassert/matchers
|
||||
${INSTALL_DATA} ${WRKSRC}/src/*.lua ${MODLUA_DATADIR}/luassert/
|
||||
${INSTALL_DATA} ${WRKSRC}/src/formatters/*.lua \
|
||||
${MODLUA_DATADIR}/luassert/formatters/
|
||||
${INSTALL_DATA} ${WRKSRC}/src/languages/*.lua \
|
||||
${MODLUA_DATADIR}/luassert/languages/
|
||||
${INSTALL_DATA} ${WRKSRC}/src/matchers/*.lua \
|
||||
${MODLUA_DATADIR}/luassert/matchers/
|
||||
${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${MODLUA_DOCDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/luassert/distinfo
Normal file
2
devel/luassert/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (luassert-1.7.11.tar.gz) = ao7Vtq+XbRRNAsmODQgUmT52oUfDBmdp+l6yJDEfmO8=
|
||||
SIZE (luassert-1.7.11.tar.gz) = 38556
|
3
devel/luassert/pkg/DESCR
Normal file
3
devel/luassert/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Luassert extends Lua's built-in assertions to provide additional tests
|
||||
and the ability to create your own. It comes preloaded with argument
|
||||
formatters for common Lua types, but it is easy to roll your own.
|
34
devel/luassert/pkg/PLIST
Normal file
34
devel/luassert/pkg/PLIST
Normal file
@ -0,0 +1,34 @@
|
||||
@comment $OpenBSD: PLIST,v$
|
||||
share/doc/luassert-1.7.11/
|
||||
share/doc/luassert-1.7.11/README.md
|
||||
share/lua/${MODLUA_VERSION}/luassert/
|
||||
share/lua/${MODLUA_VERSION}/luassert/array.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/assert.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/assertions.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/compatibility.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/formatters/
|
||||
share/lua/${MODLUA_VERSION}/luassert/formatters/binarystring.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/formatters/init.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/init.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/ar.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/de.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/en.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/fr.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/ja.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/nl.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/ru.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/ua.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/languages/zh.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/match.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/matchers/
|
||||
share/lua/${MODLUA_VERSION}/luassert/matchers/composite.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/matchers/core.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/matchers/init.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/mock.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/modifiers.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/namespaces.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/spy.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/state.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/stub.lua
|
||||
share/lua/${MODLUA_VERSION}/luassert/util.lua
|
21
graphics/intel-vaapi-driver/Makefile
Executable file
21
graphics/intel-vaapi-driver/Makefile
Executable file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile.template,v 1.85 2019/09/09 19:19:05 kmos Exp $
|
||||
|
||||
COMMENT = VA-API user mode driver for Intel GEN Graphics family
|
||||
|
||||
GH_ACCOUNT = intel
|
||||
GH_PROJECT = intel-vaapi-driver
|
||||
GH_TAGNAME = 2.4.0
|
||||
|
||||
CATEGORIES = graphics multimedia
|
||||
HOMEPAGE = https://github.com/intel/intel-vaapi-driver
|
||||
|
||||
#Generic License inside the COPYING file. Permits all.
|
||||
PERMIT_PACKAGE=Yes
|
||||
|
||||
WANTLIB = drm \
|
||||
drm_intel \
|
||||
m
|
||||
|
||||
MODULES = devel/meson
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/intel-vaapi-driver/distinfo
Normal file
2
graphics/intel-vaapi-driver/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (intel-vaapi-driver-2.4.0.tar.gz) = WFZ9rIghZwIfAxSJBiy7q3a8ZGIUvg7kTV9yTZYLPXY=
|
||||
SIZE (intel-vaapi-driver-2.4.0.tar.gz) = 3962269
|
14
graphics/intel-vaapi-driver/patches/patch-meson_build
Normal file
14
graphics/intel-vaapi-driver/patches/patch-meson_build
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: meson.build
|
||||
--- meson.build.orig
|
||||
+++ meson.build
|
||||
@@ -19,7 +19,7 @@ if version_arr.length() == 4
|
||||
endif
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
-dl_dep = cc.find_library('dl')
|
||||
+#dl_dep = cc.find_library('dl')
|
||||
mathlib_dep = cc.find_library('m', required : false)
|
||||
|
||||
git = find_program('git', required : false)
|
@ -0,0 +1,21 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: src/i965_encoder_utils.c
|
||||
--- src/i965_encoder_utils.c.orig
|
||||
+++ src/i965_encoder_utils.c
|
||||
@@ -82,6 +82,7 @@ struct __avc_bitstream {
|
||||
|
||||
typedef struct __avc_bitstream avc_bitstream;
|
||||
|
||||
+#ifndef __BSD_VISIBLE
|
||||
static unsigned int
|
||||
swap32(unsigned int val)
|
||||
{
|
||||
@@ -92,6 +93,7 @@ swap32(unsigned int val)
|
||||
(pval[2] << 8) |
|
||||
(pval[3] << 0));
|
||||
}
|
||||
+#endif
|
||||
|
||||
static void
|
||||
avc_bitstream_start(avc_bitstream *bs)
|
13
graphics/intel-vaapi-driver/patches/patch-src_meson_build
Normal file
13
graphics/intel-vaapi-driver/patches/patch-src_meson_build
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: src/meson.build
|
||||
--- src/meson.build.orig
|
||||
+++ src/meson.build
|
||||
@@ -215,7 +215,6 @@ if thread_dep.found()
|
||||
endif
|
||||
|
||||
shared_deps = [
|
||||
- dl_dep,
|
||||
mathlib_dep,
|
||||
thread_dep,
|
||||
libdrm_dep,
|
11
graphics/intel-vaapi-driver/pkg/DESCR
Normal file
11
graphics/intel-vaapi-driver/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
VA-API (Video Acceleration API) user mode driver for Intel GEN Graphics family
|
||||
|
||||
VA-API is an open-source library and API specification, which provides access to
|
||||
graphics hardware acceleration capabilities for video processing. It consists of
|
||||
a main library and driver-specific acceleration backends for each supported
|
||||
hardware vendor.
|
||||
|
||||
The current video driver backend provides a bridge to the GEN GPUs through the
|
||||
packaging of buffers and commands to be sent to the i915 driver for exercising
|
||||
both hardware and shader functionality for video decode, encode, and processing.
|
||||
|
3
graphics/intel-vaapi-driver/pkg/PLIST
Normal file
3
graphics/intel-vaapi-driver/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v$
|
||||
lib/dri/
|
||||
lib/dri/i965_drv_video.so
|
24
graphics/libva/Makefile
Normal file
24
graphics/libva/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile.template,v 1.85 2019/09/09 19:19:05 kmos Exp $
|
||||
|
||||
COMMENT = Libva is an implementation for VA-API
|
||||
|
||||
GH_ACCOUNT = intel
|
||||
GH_PROJECT = libva
|
||||
GH_TAGNAME = 2.10.0
|
||||
|
||||
SHARED_LIBS = va 2.1000 \
|
||||
va-drm 2.1000 \
|
||||
va-x11 2.1000 \
|
||||
va-glx 2.1000 \
|
||||
|
||||
CATEGORIES = graphics multimedia
|
||||
HOMEPAGE = https://github.com/intel/libva
|
||||
|
||||
# Generic License inside the COPYING file. Permits all.
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = GL X11 Xext Xfixes drm
|
||||
|
||||
MODULES = devel/meson
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/libva/distinfo
Normal file
2
graphics/libva/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (libva-2.10.0.tar.gz) = 8E1cgp2mAmkPnwmKbZIGVQfsnQyVfBpt896k4t4SBMU=
|
||||
SIZE (libva-2.10.0.tar.gz) = 244125
|
7
graphics/libva/pkg/DESCR
Normal file
7
graphics/libva/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Libva is an implementation for VA-API (Video Acceleration API)
|
||||
|
||||
VA-API is an open-source library and API specification, which provides access to
|
||||
graphics hardware acceleration capabilities for video processing. It consists of
|
||||
a main library and driver-specific acceleration backends for each supported
|
||||
hardware vendor.
|
||||
|
40
graphics/libva/pkg/PLIST
Normal file
40
graphics/libva/pkg/PLIST
Normal file
@ -0,0 +1,40 @@
|
||||
@comment $OpenBSD: PLIST,v$
|
||||
include/va/
|
||||
include/va/va.h
|
||||
include/va/va_backend.h
|
||||
include/va/va_backend_glx.h
|
||||
include/va/va_backend_vpp.h
|
||||
include/va/va_compat.h
|
||||
include/va/va_dec_av1.h
|
||||
include/va/va_dec_hevc.h
|
||||
include/va/va_dec_jpeg.h
|
||||
include/va/va_dec_vp8.h
|
||||
include/va/va_dec_vp9.h
|
||||
include/va/va_dri2.h
|
||||
include/va/va_dricommon.h
|
||||
include/va/va_drm.h
|
||||
include/va/va_drmcommon.h
|
||||
include/va/va_egl.h
|
||||
include/va/va_enc_h264.h
|
||||
include/va/va_enc_hevc.h
|
||||
include/va/va_enc_jpeg.h
|
||||
include/va/va_enc_mpeg2.h
|
||||
include/va/va_enc_vp8.h
|
||||
include/va/va_enc_vp9.h
|
||||
include/va/va_fei.h
|
||||
include/va/va_fei_h264.h
|
||||
include/va/va_fei_hevc.h
|
||||
include/va/va_glx.h
|
||||
include/va/va_str.h
|
||||
include/va/va_tpi.h
|
||||
include/va/va_version.h
|
||||
include/va/va_vpp.h
|
||||
include/va/va_x11.h
|
||||
@lib lib/libva-drm.so.${LIBva-drm_VERSION}
|
||||
@lib lib/libva-glx.so.${LIBva-glx_VERSION}
|
||||
@lib lib/libva-x11.so.${LIBva-x11_VERSION}
|
||||
@lib lib/libva.so.${LIBva_VERSION}
|
||||
lib/pkgconfig/libva-drm.pc
|
||||
lib/pkgconfig/libva-glx.pc
|
||||
lib/pkgconfig/libva-x11.pc
|
||||
lib/pkgconfig/libva.pc
|
4
graphics/nsxiv/CVS/Entries
Normal file
4
graphics/nsxiv/CVS/Entries
Normal file
@ -0,0 +1,4 @@
|
||||
/Makefile/1.4/Fri Jun 24 13:19:20 2022//
|
||||
/distinfo/1.3/Fri Jun 24 13:19:20 2022//
|
||||
D/patches////
|
||||
D/pkg////
|
1
graphics/nsxiv/CVS/Repository
Normal file
1
graphics/nsxiv/CVS/Repository
Normal file
@ -0,0 +1 @@
|
||||
ports/graphics/nsxiv
|
1
graphics/nsxiv/CVS/Root
Normal file
1
graphics/nsxiv/CVS/Root
Normal file
@ -0,0 +1 @@
|
||||
sdk@cvs.openbsd.org:/cvs
|
63
graphics/nsxiv/Makefile
Normal file
63
graphics/nsxiv/Makefile
Normal file
@ -0,0 +1,63 @@
|
||||
COMMENT = neo simple X Image Viewer
|
||||
|
||||
GH_PROJECT = nsxiv
|
||||
GH_ACCOUNT = nsxiv
|
||||
GH_TAGNAME = v30
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = graphics x11
|
||||
|
||||
HOMEPAGE = https://nsxiv.codeberg.page/
|
||||
|
||||
MAINTAINER = Thim Cederlund <thim@cederlund.de>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += Imlib2 X11 Xft c exif fontconfig gif lib/inotify/inotify
|
||||
WANTLIB += webp webpdemux
|
||||
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+3,-guic
|
||||
|
||||
LIB_DEPENDS = devel/libinotify \
|
||||
graphics/imlib2 \
|
||||
graphics/libexif \
|
||||
graphics/libwebp
|
||||
|
||||
CFLAGS += -I${X11BASE}/include \
|
||||
-I${X11BASE}/include/freetype2 \
|
||||
-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/inotify
|
||||
|
||||
LDFLAGS += -L${X11BASE}/lib \
|
||||
-L${X11BASE}/lib/freetype2 \
|
||||
-L${LOCALBASE}/lib \
|
||||
-L${LOCALBASE}/lib/inotify \
|
||||
-linotify -Wl,-rpath ${LOCALBASE}/lib/inotify \
|
||||
-lwebp
|
||||
|
||||
MAKE_FLAGS = CC="${CC}" \
|
||||
V=1 \
|
||||
PREFIX=${PREFIX} \
|
||||
MANPREFIX=${PREFIX}/man \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
|
||||
FAKE_TARGET = install-all
|
||||
NO_TEST = Yes
|
||||
|
||||
post-patch:
|
||||
${SUBST_CMD} ${WRKSRC}/nsxiv.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:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${WRKSRC}/nsxiv.desktop ${PREFIX}/share/applications
|
||||
cd ${PREFIX}/bin && ln -s nsxiv sxiv
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/nsxiv/distinfo
Normal file
2
graphics/nsxiv/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (nsxiv-30.tar.gz) = TmAIxlynGlHVndfqfPDrSFctniB6dA9z8o58h35DTSs=
|
||||
SIZE (nsxiv-30.tar.gz) = 65642
|
3
graphics/nsxiv/patches/CVS/Entries
Normal file
3
graphics/nsxiv/patches/CVS/Entries
Normal file
@ -0,0 +1,3 @@
|
||||
/patch-nsxiv_1/1.3/Fri Jun 24 13:19:20 2022//
|
||||
/patch-config_def_h/0/dummy timestamp//
|
||||
D
|
1
graphics/nsxiv/patches/CVS/Repository
Normal file
1
graphics/nsxiv/patches/CVS/Repository
Normal file
@ -0,0 +1 @@
|
||||
ports/graphics/nsxiv/patches
|
1
graphics/nsxiv/patches/CVS/Root
Normal file
1
graphics/nsxiv/patches/CVS/Root
Normal file
@ -0,0 +1 @@
|
||||
sdk@cvs.openbsd.org:/cvs
|
48
graphics/nsxiv/patches/patch-config_def_h
Normal file
48
graphics/nsxiv/patches/patch-config_def_h
Normal file
@ -0,0 +1,48 @@
|
||||
Allow to zoom in further when using the -t flag.
|
||||
The default is tiny on resolutions higher than FullHD.
|
||||
|
||||
Index: config.def.h
|
||||
--- config.def.h.orig
|
||||
+++ config.def.h
|
||||
@@ -16,7 +16,7 @@ static const char *DEFAULT_BAR_FG = NULL; /* NULL
|
||||
static const char *DEFAULT_FONT = "monospace-8";
|
||||
|
||||
/* if true, statusbar appears on top of the window */
|
||||
-static const bool TOP_STATUSBAR = false;
|
||||
+static const bool TOP_STATUSBAR = true;
|
||||
#endif /* HAVE_LIBFONTS */
|
||||
|
||||
#endif
|
||||
@@ -57,18 +57,18 @@ static const bool ALPHA_LAYER = false;
|
||||
* 0 or less means disable cache.
|
||||
* 100 means use all available memory (but not above CACHE_SIZE_LIMIT).
|
||||
*/
|
||||
-static const int CACHE_SIZE_MEM_PERCENTAGE = 3; /* use 3% of total memory for cache */
|
||||
-static const int CACHE_SIZE_LIMIT = 256 * 1024 * 1024; /* but not above 256MiB */
|
||||
-static const int CACHE_SIZE_FALLBACK = 32 * 1024 * 1024; /* fallback to 32MiB if we can't determine total memory */
|
||||
+static const int CACHE_SIZE_MEM_PERCENTAGE = 10; /* use 10% of total memory for cache */
|
||||
+static const int CACHE_SIZE_LIMIT = 2048 * 1024 * 1024; /* but not above 2GiB */
|
||||
+static const int CACHE_SIZE_FALLBACK = 512 * 1024 * 1024; /* fallback to 512MiB if we can't determine total memory */
|
||||
|
||||
#endif
|
||||
#ifdef _THUMBS_CONFIG
|
||||
|
||||
/* thumbnail sizes in pixels (width == height): */
|
||||
-static const int thumb_sizes[] = { 32, 64, 96, 128, 160 };
|
||||
+static const int thumb_sizes[] = { 128, 160, 240, 320, 460 };
|
||||
|
||||
/* thumbnail size at startup, index into thumb_sizes[]: */
|
||||
-static const int THUMB_SIZE = 3;
|
||||
+static const int THUMB_SIZE = 2;
|
||||
|
||||
#endif
|
||||
#ifdef _MAPPINGS_CONFIG
|
||||
@@ -86,7 +86,7 @@ static const keymap_t keys[] = {
|
||||
{ 0, XK_Return, g_switch_mode, None },
|
||||
{ 0, XK_f, g_toggle_fullscreen, None },
|
||||
{ 0, XK_b, g_toggle_bar, None },
|
||||
- { ControlMask, XK_x, g_prefix_external, None },
|
||||
+ { 0, XK_x, g_prefix_external, None },
|
||||
{ 0, XK_g, g_first, None },
|
||||
{ 0, XK_G, g_n_or_last, None },
|
||||
{ 0, XK_r, g_reload_image, None },
|
28
graphics/nsxiv/patches/patch-config_def_h.orig
Normal file
28
graphics/nsxiv/patches/patch-config_def_h.orig
Normal file
@ -0,0 +1,28 @@
|
||||
Allow to zoom in further when using the -t flag.
|
||||
The default is tiny on resolutions higher than FullHD.
|
||||
|
||||
Index: config.def.h
|
||||
--- config.def.h.orig
|
||||
+++ config.def.h
|
||||
@@ -65,10 +65,10 @@ static const int CACHE_SIZE_FALLBACK = 32 * 1024 * 102
|
||||
#ifdef _THUMBS_CONFIG
|
||||
|
||||
/* thumbnail sizes in pixels (width == height): */
|
||||
-static const int thumb_sizes[] = { 32, 64, 96, 128, 160 };
|
||||
+static const int thumb_sizes[] = { 160, 240, 320, 460, 640 };
|
||||
|
||||
/* thumbnail size at startup, index into thumb_sizes[]: */
|
||||
-static const int THUMB_SIZE = 3;
|
||||
+static const int THUMB_SIZE = 4;
|
||||
|
||||
#endif
|
||||
#ifdef _MAPPINGS_CONFIG
|
||||
@@ -86,7 +86,7 @@ static const keymap_t keys[] = {
|
||||
{ 0, XK_Return, g_switch_mode, None },
|
||||
{ 0, XK_f, g_toggle_fullscreen, None },
|
||||
{ 0, XK_b, g_toggle_bar, None },
|
||||
- { ControlMask, XK_x, g_prefix_external, None },
|
||||
+ { 0, XK_x, g_prefix_external, None },
|
||||
{ 0, XK_g, g_first, None },
|
||||
{ 0, XK_G, g_n_or_last, None },
|
||||
{ 0, XK_r, g_reload_image, None },
|
14
graphics/nsxiv/patches/patch-nsxiv_1
Normal file
14
graphics/nsxiv/patches/patch-nsxiv_1
Normal file
@ -0,0 +1,14 @@
|
||||
Corrects the path of keysymdef.h.
|
||||
|
||||
Index: nsxiv.1
|
||||
--- nsxiv.1.orig
|
||||
+++ nsxiv.1
|
||||
@@ -499,7 +499,7 @@ By default nsxiv(1) will send one image per-line to st
|
||||
|
||||
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.
|
||||
If KEY has an uppercase equivalent, S-KEY is resolved into it. For instance,
|
||||
K replaces S-k and Scedilla replaces S-scedilla, but S-Delete is sent as-is.
|
||||
|
3
graphics/nsxiv/pkg/CVS/Entries
Normal file
3
graphics/nsxiv/pkg/CVS/Entries
Normal file
@ -0,0 +1,3 @@
|
||||
/DESCR/1.1.1.1/Sun Feb 6 17:14:17 2022//
|
||||
/PLIST/1.3/Fri Jun 24 13:19:20 2022//
|
||||
D
|
1
graphics/nsxiv/pkg/CVS/Repository
Normal file
1
graphics/nsxiv/pkg/CVS/Repository
Normal file
@ -0,0 +1 @@
|
||||
ports/graphics/nsxiv/pkg
|
1
graphics/nsxiv/pkg/CVS/Root
Normal file
1
graphics/nsxiv/pkg/CVS/Root
Normal file
@ -0,0 +1 @@
|
||||
sdk@cvs.openbsd.org:/cvs
|
4
graphics/nsxiv/pkg/DESCR
Normal file
4
graphics/nsxiv/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
nsxiv is a fork of now unmaintained sxiv (Simple X Image Viewer) with the
|
||||
purpose of being a drop-in replacement that adds simple, sensible features.
|
||||
Some of nsxiv's key features are auto-reloading images on change, freetype2
|
||||
for the status bar, gif and webp playbacks.
|
19
graphics/nsxiv/pkg/PLIST
Normal file
19
graphics/nsxiv/pkg/PLIST
Normal file
@ -0,0 +1,19 @@
|
||||
@conflict sxiv-*
|
||||
@pkgpath graphics/sxiv
|
||||
@bin bin/nsxiv
|
||||
bin/sxiv
|
||||
@man man/man1/nsxiv.1
|
||||
share/applications/nsxiv.desktop
|
||||
share/doc/nsxiv/
|
||||
share/doc/nsxiv/examples/
|
||||
share/doc/nsxiv/examples/image-info
|
||||
share/doc/nsxiv/examples/key-handler
|
||||
share/doc/nsxiv/examples/thumb-info
|
||||
share/doc/nsxiv/examples/win-title
|
||||
share/icons/hicolor/128x128/apps/nsxiv.png
|
||||
share/icons/hicolor/16x16/apps/nsxiv.png
|
||||
share/icons/hicolor/32x32/apps/nsxiv.png
|
||||
share/icons/hicolor/48x48/apps/nsxiv.png
|
||||
share/icons/hicolor/64x64/apps/nsxiv.png
|
||||
@tag update-desktop-database
|
||||
@tag gtk-update-icon-cache %D/share/icons/hicolor
|
45
graphics/sxiv/Makefile
Normal file
45
graphics/sxiv/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2020/02/12 22:04:32 kn Exp $
|
||||
|
||||
COMMENT = simple X Image Viewer
|
||||
|
||||
GH_PROJECT = sxiv
|
||||
GH_ACCOUNT = muennich
|
||||
GH_TAGNAME = v26
|
||||
|
||||
EPOCH = 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
|
||||
|
||||
# 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
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/sxiv/distinfo
Normal file
2
graphics/sxiv/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (sxiv-26.tar.gz) = o4KtV3NCQ4GOgouhYfwDV7SNjzp/jCnKwYNJK0a1iUk=
|
||||
SIZE (sxiv-26.tar.gz) = 48569
|
29
graphics/sxiv/patches/patch-config_def_h
Normal file
29
graphics/sxiv/patches/patch-config_def_h
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: config.def.h
|
||||
--- config.def.h.orig
|
||||
+++ config.def.h
|
||||
@@ -18,8 +18,8 @@ enum {
|
||||
* (first/last value is used as min/max zoom level)
|
||||
*/
|
||||
static const float zoom_levels[] = {
|
||||
- 12.5, 25.0, 50.0, 75.0,
|
||||
- 100.0, 150.0, 200.0, 400.0, 800.0
|
||||
+ 25.0, 50.0, 100.0, 150.0, 200.0,
|
||||
+ 400.0, 800.0, 1024.0, 1280.0
|
||||
};
|
||||
|
||||
/* default slideshow delay (in sec, overwritten via -S option): */
|
||||
@@ -48,10 +48,10 @@ static const bool ALPHA_LAYER = false;
|
||||
#ifdef _THUMBS_CONFIG
|
||||
|
||||
/* thumbnail sizes in pixels (width == height): */
|
||||
-static const int thumb_sizes[] = { 32, 64, 96, 128, 160 };
|
||||
+static const int thumb_sizes[] = { 128, 160, 240, 360, 480, 640, 800 };
|
||||
|
||||
/* thumbnail size at startup, index into thumb_sizes[]: */
|
||||
-static const int THUMB_SIZE = 3;
|
||||
+static const int THUMB_SIZE = 4;
|
||||
|
||||
#endif
|
||||
#ifdef _MAPPINGS_CONFIG
|
14
graphics/sxiv/patches/patch-exec_key-handler
Normal file
14
graphics/sxiv/patches/patch-exec_key-handler
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-exec_key-handler,v 1.1 2019/10/03 10:29:32 kn Exp $
|
||||
|
||||
Index: exec/key-handler
|
||||
--- exec/key-handler.orig
|
||||
+++ exec/key-handler
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
rotate() {
|
||||
degree="$1"
|
||||
- tr '\n' '\0' | xargs -0 realpath | sort | uniq | while read file; do
|
||||
+ tr '\n' '\0' | xargs -0 readlink -f | sort | uniq | while read file; do
|
||||
case "$(file -b -i "$file")" in
|
||||
image/jpeg*) jpegtran -rotate "$degree" -copy all -outfile "$file" "$file" ;;
|
||||
*) mogrify -rotate "$degree" "$file" ;;
|
29
graphics/sxiv/patches/patch-sxiv_1
Normal file
29
graphics/sxiv/patches/patch-sxiv_1
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-sxiv_1,v 1.4 2020/02/12 22:04:32 kn Exp $
|
||||
|
||||
Substitute paths.
|
||||
|
||||
Index: sxiv.1
|
||||
--- sxiv.1.orig
|
||||
+++ sxiv.1
|
||||
@@ -397,7 +397,7 @@ and the arguments given to it are: 1) path to image fi
|
||||
3) image height.
|
||||
.P
|
||||
There is also an example script installed together with sxiv as
|
||||
-.IR PREFIX/share/sxiv/exec/image-info .
|
||||
+.IR ${PREFIX}/share/sxiv/exec/image-info .
|
||||
.SH EXTERNAL KEY HANDLER
|
||||
Additional external keyboard commands can be defined using a handler program
|
||||
located in
|
||||
@@ -412,10 +412,10 @@ 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 .
|
||||
+.IR {PREFIX}/share/sxiv/exec/key-handler .
|
||||
.SH THUMBNAIL CACHING
|
||||
sxiv stores all thumbnails under
|
||||
.IR $XDG_CACHE_HOME/sxiv/ .
|
5
graphics/sxiv/pkg/DESCR
Normal file
5
graphics/sxiv/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
15
graphics/sxiv/pkg/PLIST
Normal file
15
graphics/sxiv/pkg/PLIST
Normal file
@ -0,0 +1,15 @@
|
||||
@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
|
59
mail/mu/Makefile
Normal file
59
mail/mu/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2020/01/24 10:36:41 sthen Exp $
|
||||
|
||||
COMMENT= maildir indexer and searcher with emacs frontend
|
||||
|
||||
V= 1.4.10
|
||||
|
||||
DISTNAME= mu-$V
|
||||
|
||||
FLAVORS= guile
|
||||
FLAVOR ?=
|
||||
|
||||
CATEGORIES= mail
|
||||
HOMEPAGE= http://www.djcbsoftware.nl/code/mu/
|
||||
|
||||
MAINTAINER= Stefan Hagen <sh+ports@codevoid.de>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} assuan c ffi gio-2.0 glib-2.0 gmime-3.0
|
||||
WANTLIB += gmodule-2.0 gobject-2.0 gpg-error gpgme gthread-2.0
|
||||
WANTLIB += iconv idn2 intl json-glib-1.0 m pcre unistring uuid
|
||||
WANTLIB += xapian z curses readline
|
||||
|
||||
|
||||
MASTER_SITES= https://github.com/djcb/mu/releases/download/${V}/
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
BUILD_DEPENDS= emacs->=24:editors/emacs
|
||||
|
||||
LIB_DEPENDS= databases/xapian-core \
|
||||
devel/glib2 \
|
||||
devel/json-glib \
|
||||
mail/gmime30 \
|
||||
security/gpgme
|
||||
|
||||
# C++14
|
||||
COMPILER= base-clang ports-gcc
|
||||
|
||||
AUTOCONF_VERSION= 2.69
|
||||
AUTOMAKE_VERSION= 1.15
|
||||
CONFIGURE_STYLE= autoreconf
|
||||
|
||||
CONFIGURE_ARGS= --disable-gtk \
|
||||
--disable-webkit
|
||||
|
||||
.if ${FLAVOR} == "guile"
|
||||
WANTLIB += guile-2.2 gc ltdl gmp
|
||||
LIB_DEPENDS += lang/guile2
|
||||
SHARED_LIBS= guile-mu 0.0
|
||||
.else
|
||||
CONFIGURE_ARGS += --disable-guile
|
||||
.endif
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
SEPARATE_BUILD= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
mail/mu/distinfo
Normal file
2
mail/mu/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (mu-1.4.10.tar.xz) = RnXxSkO0hT4Uo+CJIFF4fRuC30jqG9Q3UXKJNnbNfm0=
|
||||
SIZE (mu-1.4.10.tar.xz) = 873328
|
15
mail/mu/patches/patch-configure_ac
Normal file
15
mail/mu/patches/patch-configure_ac
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD$
|
||||
Look for guile-snarf as guile-snarf2.2
|
||||
(lang/guile2 installs it that way)
|
||||
Index: configure.ac
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -230,7 +230,7 @@ AS_IF([test "x$enable_guile" != "xno"],[
|
||||
GUILE_FLAGS
|
||||
AC_DEFINE_UNQUOTED([GUILE_BINARY],"$GUILE",[guile binary])
|
||||
AC_DEFINE(BUILD_GUILE,[1], [Do we support Guile?])
|
||||
- AC_SUBST(GUILE_SNARF, [guile-snarf])
|
||||
+ AC_SUBST(GUILE_SNARF, [guile-snarf2.2])
|
||||
guile_version=$($PKG_CONFIG guile-2.2 --modversion)
|
||||
])
|
||||
])
|
12
mail/mu/patches/patch-guile_scripts_find-dups_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_find-dups_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/find-dups.scm
|
||||
--- guile/scripts/find-dups.scm.orig
|
||||
+++ guile/scripts/find-dups.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2013-2015 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_scripts_msgs-count_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_msgs-count_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/msgs-count.scm
|
||||
--- guile/scripts/msgs-count.scm.orig
|
||||
+++ guile/scripts/msgs-count.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_scripts_msgs-per-day_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_msgs-per-day_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/msgs-per-day.scm
|
||||
--- guile/scripts/msgs-per-day.scm.orig
|
||||
+++ guile/scripts/msgs-per-day.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2012-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_scripts_msgs-per-hour_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_msgs-per-hour_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/msgs-per-hour.scm
|
||||
--- guile/scripts/msgs-per-hour.scm.orig
|
||||
+++ guile/scripts/msgs-per-hour.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2012-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_scripts_msgs-per-month_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_msgs-per-month_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/msgs-per-month.scm
|
||||
--- guile/scripts/msgs-per-month.scm.orig
|
||||
+++ guile/scripts/msgs-per-month.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2012-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_scripts_msgs-per-year-month_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_msgs-per-year-month_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/msgs-per-year-month.scm
|
||||
--- guile/scripts/msgs-per-year-month.scm.orig
|
||||
+++ guile/scripts/msgs-per-year-month.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2012-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_scripts_msgs-per-year_scm
Normal file
12
mail/mu/patches/patch-guile_scripts_msgs-per-year_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/scripts/msgs-per-year.scm
|
||||
--- guile/scripts/msgs-per-year.scm.orig
|
||||
+++ guile/scripts/msgs-per-year.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
;;
|
||||
;; Copyright (C) 2012-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
12
mail/mu/patches/patch-guile_tests_test-mu-guile_scm
Normal file
12
mail/mu/patches/patch-guile_tests_test-mu-guile_scm
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD$
|
||||
look for guile interpreter as guile2.2
|
||||
Index: guile/tests/test-mu-guile.scm
|
||||
--- guile/tests/test-mu-guile.scm.orig
|
||||
+++ guile/tests/test-mu-guile.scm
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-exec guile -e main -s $0 $@
|
||||
+exec guile2.2 -e main -s $0 $@
|
||||
!#
|
||||
|
||||
;; Copyright (C) 2012-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
14
mail/mu/patches/patch-lib_utils_mu-str_c
Normal file
14
mail/mu/patches/patch-lib_utils_mu-str_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
make this function compile correctly under clang
|
||||
Index: lib/utils/mu-str.c
|
||||
--- lib/utils/mu-str.c.orig
|
||||
+++ lib/utils/mu-str.c
|
||||
@@ -49,7 +49,7 @@ mu_str_size_s (size_t s)
|
||||
char*
|
||||
mu_str_size (size_t s)
|
||||
{
|
||||
- return g_strdup (mu_str_size_s(s));
|
||||
+ return g_format_size_for_display ((goffset)s);
|
||||
}
|
||||
|
||||
|
15
mail/mu/patches/patch-lib_utils_mu-utils_cc
Normal file
15
mail/mu/patches/patch-lib_utils_mu-utils_cc
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD$
|
||||
Bring g_vasprintf into scope
|
||||
Index: lib/utils/mu-utils.cc
|
||||
--- lib/utils/mu-utils.cc.orig
|
||||
+++ lib/utils/mu-utils.cc
|
||||
@@ -18,7 +18,8 @@
|
||||
*/
|
||||
|
||||
|
||||
-#define _XOPEN_SOURCE
|
||||
+//#define _XOPEN_SOURCE 500
|
||||
+//#define _POSIX_SOURCE
|
||||
#include <time.h>
|
||||
|
||||
#define GNU_SOURCE
|
14
mail/mu/patches/patch-man_mu_1
Normal file
14
mail/mu/patches/patch-man_mu_1
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
reference mu-script(1) instead of nonexistent mu-guile(1)
|
||||
Index: man/mu.1
|
||||
--- man/mu.1.orig
|
||||
+++ man/mu.1
|
||||
@@ -54,7 +54,7 @@ remove specific messages from the database. See
|
||||
|
||||
.B mu script [options]
|
||||
run a mu (Guile) script. See
|
||||
-.BR mu-guile(1)
|
||||
+.BR mu-script(1)
|
||||
|
||||
.B mu server [options]
|
||||
start a server process (for \fBmu4e\fR-internal use). See
|
4
mail/mu/pkg/DESCR
Normal file
4
mail/mu/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
mu is a tool for dealing with e-mail messages stored in the Maildir-format, on
|
||||
Unix-like systems. mu's main purpose is to help you to find the messages you
|
||||
need, quickly; in addition, it allows you to view messages, extract
|
||||
attachments and create new maildirs.
|
22
mail/mu/pkg/PFRAG.guile
Normal file
22
mail/mu/pkg/PFRAG.guile
Normal file
@ -0,0 +1,22 @@
|
||||
@comment $OpenBSD: PFRAG-guile,v$
|
||||
@info info/mu-guile.info
|
||||
@static-lib lib/libguile-mu.a
|
||||
lib/libguile-mu.la
|
||||
@lib lib/libguile-mu.so.${LIBguile-mu_VERSION}
|
||||
share/guile/
|
||||
share/guile/site/
|
||||
share/guile/site/2.2/
|
||||
share/guile/site/2.2/mu/
|
||||
share/guile/site/2.2/mu.scm
|
||||
share/guile/site/2.2/mu/plot.scm
|
||||
share/guile/site/2.2/mu/script.scm
|
||||
share/guile/site/2.2/mu/stats.scm
|
||||
share/mu/
|
||||
share/mu/scripts/
|
||||
share/mu/scripts/find-dups.scm
|
||||
share/mu/scripts/msgs-count.scm
|
||||
share/mu/scripts/msgs-per-day.scm
|
||||
share/mu/scripts/msgs-per-hour.scm
|
||||
share/mu/scripts/msgs-per-month.scm
|
||||
share/mu/scripts/msgs-per-year-month.scm
|
||||
share/mu/scripts/msgs-per-year.scm
|
71
mail/mu/pkg/PLIST
Normal file
71
mail/mu/pkg/PLIST
Normal file
@ -0,0 +1,71 @@
|
||||
@comment $OpenBSD: PLIST-main,v$
|
||||
@bin bin/mu
|
||||
@info info/mu4e.info
|
||||
@man man/man1/mu-add.1
|
||||
@man man/man1/mu-cfind.1
|
||||
@man man/man1/mu-easy.1
|
||||
@man man/man1/mu-extract.1
|
||||
@man man/man1/mu-find.1
|
||||
@man man/man1/mu-help.1
|
||||
@man man/man1/mu-index.1
|
||||
@man man/man1/mu-info.1
|
||||
@man man/man1/mu-init.1
|
||||
@man man/man1/mu-mkdir.1
|
||||
@man man/man1/mu-remove.1
|
||||
@man man/man1/mu-script.1
|
||||
@man man/man1/mu-server.1
|
||||
@man man/man1/mu-verify.1
|
||||
@man man/man1/mu-view.1
|
||||
@man man/man1/mu.1
|
||||
@man man/man5/mu-bookmarks.5
|
||||
@man man/man7/mu-query.7
|
||||
%%guile%%
|
||||
@comment mu is compiled without gtk
|
||||
@comment man/man1/mug.1
|
||||
share/doc/mu/
|
||||
share/doc/mu/NEWS.org
|
||||
share/doc/mu/mu4e-about.org
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
||||
share/emacs/
|
||||
share/emacs/site-lisp/
|
||||
share/emacs/site-lisp/mu4e/
|
||||
share/emacs/site-lisp/mu4e/mu4e-actions.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-actions.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-compose.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-compose.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-context.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-context.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-contrib.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-contrib.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-draft.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-draft.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-headers.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-headers.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-icalendar.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-icalendar.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-lists.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-lists.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-main.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-main.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-mark.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-mark.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-message.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-message.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-meta.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-meta.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-org.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-org.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-proc.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-proc.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-speedbar.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-speedbar.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-utils.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-utils.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-vars.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-vars.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e-view.el
|
||||
share/emacs/site-lisp/mu4e/mu4e-view.elc
|
||||
share/emacs/site-lisp/mu4e/mu4e.el
|
||||
share/emacs/site-lisp/mu4e/mu4e.elc
|
||||
share/emacs/site-lisp/mu4e/org-mu4e.el
|
||||
share/emacs/site-lisp/mu4e/org-mu4e.elc
|
28
mail/mu/pkg/README
Normal file
28
mail/mu/pkg/README
Normal file
@ -0,0 +1,28 @@
|
||||
Breaking Changes from 1.2. to 1.4.
|
||||
══════════════════════════════════
|
||||
|
||||
A description of all changes and features can be found the release
|
||||
notes (NEWS.org). Breaking changes below:
|
||||
|
||||
mu changes:
|
||||
-----------
|
||||
* Base path has changed from ~/.mu to ~/.cache/mu. You may want to
|
||||
delete the old cache location.
|
||||
* A new command `mu init` needs to be run once to save the maildir
|
||||
location and email adresses in the database.
|
||||
|
||||
mu init --maildir=~/Maildir --my-address=jim@example.com \
|
||||
--my-address=bob@example.com
|
||||
|
||||
mu4e changes:
|
||||
-------------
|
||||
* Variables `mu4e-maildir` and `mu4e-user-mail-address-list`
|
||||
are obsolete. The information is taken from the Xapian database now.
|
||||
Run `mu init` with the appropiate parameters to create these
|
||||
entries.
|
||||
* Contact sorting is done by `mu` now. As a side effect the following
|
||||
variables have been obsoleted:
|
||||
- mu4e-contacts-rewrite-function
|
||||
- mu4e-compose-complete-ignore-address-regexp
|
||||
You can use `mu4e-contact-process-function` instead.
|
||||
|
37
misc/remind-caldav/Makefile
Normal file
37
misc/remind-caldav/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
COMMENT = sync remind with caldav
|
||||
|
||||
GH_ACCOUNT = jspricke
|
||||
GH_PROJECT = remind-caldav
|
||||
GH_TAGNAME = v0.8.0
|
||||
|
||||
CATEGORIES = misc
|
||||
|
||||
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
|
||||
|
||||
# LICENSE
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
MODPI_VERSION = ${MODPY_DEFAULT_VERSION}
|
||||
|
||||
# ?uses pledge()?
|
||||
WANTLIB = ${MODPY_WANTLIB}
|
||||
|
||||
LIB_DEPENDS = ${MODPY_LIB_DEPENDS}
|
||||
|
||||
MODPY_PYBUILD = setuptools
|
||||
|
||||
#RUN_DEPENDS =
|
||||
|
||||
#BUILD_DEPENDS =
|
||||
|
||||
#TEST_DEPENDS =
|
||||
|
||||
#CONFIGURE_STYLE =
|
||||
|
||||
#MAKE_FLAGS =
|
||||
|
||||
#NO_TEST = Yes
|
||||
#TEST_TARGET =
|
||||
|
||||
.include <bsd.port.mk>
|
2
misc/remind-caldav/distinfo
Normal file
2
misc/remind-caldav/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (remind-caldav-0.8.0.tar.gz) = QRHQojpHRW/ZC14kiFvEEuReyo6FlGXODOs1DPcTUsk=
|
||||
SIZE (remind-caldav-0.8.0.tar.gz) = 14878
|
0
misc/remind-caldav/pkg/DESCR
Normal file
0
misc/remind-caldav/pkg/DESCR
Normal file
16
misc/remind-caldav/pkg/PLIST
Normal file
16
misc/remind-caldav/pkg/PLIST
Normal file
@ -0,0 +1,16 @@
|
||||
bin/dav2rem
|
||||
bin/rem2dav
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}dav2rem.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}dav2rem.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}rem2dav.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}rem2dav.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/dav2rem.py
|
||||
lib/python${MODPY_VERSION}/site-packages/rem2dav.py
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/LICENSE
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/METADATA
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/RECORD
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/WHEEL
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/remind_caldav-0.8.0.dist-info/top_level.txt
|
43
multimedia/obs-studio/Makefile
Normal file
43
multimedia/obs-studio/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2020/01/24 10:36:41 sthen Exp $
|
||||
|
||||
COMMENT = open broadcasting software
|
||||
|
||||
GH_PROJECT = obs-studio
|
||||
GH_ACCOUNT = obsproject
|
||||
GH_TAGNAME = 26.0.0
|
||||
|
||||
CATEGORIES = multimedia
|
||||
HOMEPAGE = https://obsproject.com
|
||||
|
||||
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
SHARED_LIBS += obs-frontend-api 0.0 # 0.0
|
||||
SHARED_LIBS += obs-opengl 0.0 # 0.0
|
||||
|
||||
MODULES = devel/cmake \
|
||||
lang/python \
|
||||
x11/qt5
|
||||
|
||||
WANTLIB += Xcomposite Xfixes xcb-randr xcb-shm xcb-xfixes xcb-xinerama
|
||||
WANTLIB += ${COMPILER_LIBCXX} GL ICE Qt5Core Qt5Gui Qt5Widgets
|
||||
WANTLIB += Qt5Xml SM X11 X11-xcb Xext c dbus-1 fontconfig freetype
|
||||
WANTLIB += m xcb xcb-xinput z ${MODPY_WANTLIB}
|
||||
|
||||
RUN_DEPENDS = devel/desktop-file-utils \
|
||||
x11/gtk+3,-guic
|
||||
|
||||
BUILD_DEPENDS = audio/fdk-aac \
|
||||
devel/jansson \
|
||||
devel/ninja \
|
||||
devel/swig \
|
||||
graphics/ffmpeg \
|
||||
lang/luajit \
|
||||
multimedia/x264 \
|
||||
x11/vlc \
|
||||
x11/xcb
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
2
multimedia/obs-studio/distinfo
Normal file
2
multimedia/obs-studio/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (obs-studio-26.0.0.tar.gz) = dJXwgbT2rfQnQmh8G7eTj8szej3iPNJ0A3jpg5KSW3Q=
|
||||
SIZE (obs-studio-26.0.0.tar.gz) = 10326769
|
14
multimedia/obs-studio/patches/patch-UI_obs-app_cpp
Normal file
14
multimedia/obs-studio/patches/patch-UI_obs-app_cpp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: UI/obs-app.cpp
|
||||
--- UI/obs-app.cpp.orig
|
||||
+++ UI/obs-app.cpp
|
||||
@@ -1435,6 +1435,8 @@ string OBSApp::GetVersionString() const
|
||||
ver << "mac)";
|
||||
#elif __FreeBSD__
|
||||
ver << "freebsd)";
|
||||
+#elif __OpenBSD__
|
||||
+ ver << "openbsd)";
|
||||
#else /* assume linux for the time being */
|
||||
ver << "linux)";
|
||||
#endif
|
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: libobs/graphics/graphics.h
|
||||
--- libobs/graphics/graphics.h.orig
|
||||
+++ libobs/graphics/graphics.h
|
||||
@@ -474,7 +474,7 @@ struct gs_window {
|
||||
void *hwnd;
|
||||
#elif defined(__APPLE__)
|
||||
__unsafe_unretained id view;
|
||||
-#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
/* I'm not sure how portable defining id to uint32_t is. */
|
||||
uint32_t id;
|
||||
void *display;
|
32
multimedia/obs-studio/patches/patch-libobs_obs-nix_c
Normal file
32
multimedia/obs-studio/patches/patch-libobs_obs-nix_c
Normal file
@ -0,0 +1,32 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: libobs/obs-nix.c
|
||||
--- libobs/obs-nix.c.orig
|
||||
+++ libobs/obs-nix.c
|
||||
@@ -26,7 +26,9 @@
|
||||
#if defined(__FreeBSD__)
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
+#ifndef __OpenBSD__
|
||||
#include <sys/sysinfo.h>
|
||||
+#endif
|
||||
#include <sys/utsname.h>
|
||||
#include <xcb/xcb.h>
|
||||
#if USE_XINPUT
|
||||
@@ -218,6 +220,8 @@ static void log_processor_info(void)
|
||||
|
||||
static void log_memory_info(void)
|
||||
{
|
||||
+#if defined(__OpenBSD__)
|
||||
+#else
|
||||
struct sysinfo info;
|
||||
if (sysinfo(&info) < 0)
|
||||
return;
|
||||
@@ -227,6 +231,7 @@ static void log_memory_info(void)
|
||||
(uint64_t)info.totalram * info.mem_unit / 1024 / 1024,
|
||||
((uint64_t)info.freeram + (uint64_t)info.bufferram) *
|
||||
info.mem_unit / 1024 / 1024);
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void log_kernel_version(void)
|
14
multimedia/obs-studio/patches/patch-libobs_util_profiler_c
Normal file
14
multimedia/obs-studio/patches/patch-libobs_util_profiler_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: libobs/util/profiler.c
|
||||
--- libobs/util/profiler.c.orig
|
||||
+++ libobs/util/profiler.c
|
||||
@@ -1058,7 +1058,7 @@ bool profiler_snapshot_dump_csv_gz(const profiler_snap
|
||||
|
||||
profiler_snapshot_dump(snap, dump_csv_gzwrite, gz);
|
||||
|
||||
- gzclose_w(gz);
|
||||
+ gzclose(gz);
|
||||
return true;
|
||||
}
|
||||
|
18
multimedia/obs-studio/patches/patch-plugins_CMakeLists_txt
Normal file
18
multimedia/obs-studio/patches/patch-plugins_CMakeLists_txt
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: plugins/CMakeLists.txt
|
||||
--- plugins/CMakeLists.txt.orig
|
||||
+++ plugins/CMakeLists.txt
|
||||
@@ -49,6 +49,12 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD")
|
||||
add_subdirectory(linux-alsa)
|
||||
add_subdirectory(vlc-video)
|
||||
add_subdirectory(oss-audio)
|
||||
+elseif("${CMAKE_SYSTEM_NAME}" MATCHES "OpenBSD")
|
||||
+ add_subdirectory(linux-capture)
|
||||
+ add_subdirectory(linux-pulseaudio)
|
||||
+ add_subdirectory(linux-v4l2)
|
||||
+ add_subdirectory(linux-jack)
|
||||
+ add_subdirectory(vlc-video)
|
||||
endif()
|
||||
|
||||
option(BUILD_BROWSER "Build browser plugin" OFF)
|
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: plugins/obs-outputs/librtmp/rtmp.c
|
||||
--- plugins/obs-outputs/librtmp/rtmp.c.orig
|
||||
+++ plugins/obs-outputs/librtmp/rtmp.c
|
||||
@@ -812,7 +812,7 @@ add_addr_info(struct sockaddr_storage *service, sockle
|
||||
// since we're handling multiple addresses internally, fake the correct error response
|
||||
#ifdef _WIN32
|
||||
*socket_error = WSANO_DATA;
|
||||
-#elif __FreeBSD__
|
||||
+#elif __FreeBSD__ || __OpenBSD__
|
||||
*socket_error = ENOATTR;
|
||||
#else
|
||||
*socket_error = ENODATA;
|
3
multimedia/obs-studio/pkg/DESCR
Normal file
3
multimedia/obs-studio/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
OBS is a free and open source software for video recording and live
|
||||
streaming.
|
||||
|
1168
multimedia/obs-studio/pkg/PLIST
Normal file
1168
multimedia/obs-studio/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
26
net/mbuffer/Makefile
Normal file
26
net/mbuffer/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2020/10/28 18:34:34 sthen Exp $
|
||||
|
||||
|
||||
COMMENT = mbuffer is a tool for buffering data streams
|
||||
|
||||
DISTNAME = mbuffer-20200929
|
||||
EXTRACT_SUFX = .tgz
|
||||
CATEGORIES = net
|
||||
|
||||
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
|
||||
|
||||
HOMEPAGE = http://www.maier-komor.de/mbuffer.html
|
||||
|
||||
MASTER_SITES = http://www.maier-komor.de/software/mbuffer/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += c crypto m pthread
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
USE_GMAKE = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/mbuffer/distinfo
Normal file
2
net/mbuffer/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (mbuffer-20200929.tgz) = U6bjwU6aBJ8YoJhAZT3YTxjn7HVg8tzythwKtfDq1Og=
|
||||
SIZE (mbuffer-20200929.tgz) = 147855
|
14
net/mbuffer/patches/patch-Makefile_in
Normal file
14
net/mbuffer/patches/patch-Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD$
|
||||
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -34,7 +34,7 @@ exec_prefix = @exec_prefix@
|
||||
datarootdir = @datarootdir@
|
||||
bindir = @bindir@
|
||||
mandir = @mandir@/man1
|
||||
-etcdir = @sysconfdir@
|
||||
+etcdir = /usr/local/share/examples/mbuffer
|
||||
|
||||
RM = @RM@
|
||||
INSTALL = @INSTALL@
|
10
net/mbuffer/pkg/DESCR
Normal file
10
net/mbuffer/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
mbuffer is a tool for buffering data streams with unique features:
|
||||
|
||||
- direct support for TCP based network targets (IPv4 and IPv6)
|
||||
- ability to send to multiple targets in parallel (distribution mode)
|
||||
- support for multiple volumes
|
||||
- I/O rate limitation
|
||||
- high/low watermark based restart criteria
|
||||
- configurable buffer size
|
||||
- on the fly MD5 hash calculation
|
||||
- highly efficient, multi-threaded implementation
|
5
net/mbuffer/pkg/PLIST
Normal file
5
net/mbuffer/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v$
|
||||
@bin bin/mbuffer
|
||||
@man man/man1/mbuffer.1
|
||||
share/examples/mbuffer/
|
||||
share/examples/mbuffer/mbuffer.rc
|
27
net/terraform-provider-hcloud/Makefile
Normal file
27
net/terraform-provider-hcloud/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
COMMENT = terraform provider for hetzner cloud
|
||||
|
||||
V = 1.35.2
|
||||
MODGO_MODNAME = github.com/hetznercloud/terraform-provider-hcloud
|
||||
MODGO_VERSION = v${V}
|
||||
|
||||
DISTNAME = terraform-provider-hcloud-${MODGO_VERSION}
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
# MLP 2.0
|
||||
PERMIT_PACKAGE = yes
|
||||
|
||||
WANTLIB = c pthread
|
||||
|
||||
MODULES = lang/go
|
||||
|
||||
.include "modules.inc"
|
||||
|
||||
PLUGIN_PATH = ${WRKINST}/${TRUEPREFIX}/share/terraform/plugins/local/hetznercloud/hcloud/${V}/openbsd_${MACHINE_ARCH}
|
||||
|
||||
post-install:
|
||||
mkdir -p ${PLUGIN_PATH}
|
||||
cp -f ${WRKINST}/${TRUEPREFIX}/bin/terraform-provider-hcloud \
|
||||
${PLUGIN_PATH}/terraform-provider-hcloud_${MODGO_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
1600
net/terraform-provider-hcloud/distinfo
Normal file
1600
net/terraform-provider-hcloud/distinfo
Normal file
File diff suppressed because it is too large
Load Diff
631
net/terraform-provider-hcloud/modules.inc
Normal file
631
net/terraform-provider-hcloud/modules.inc
Normal file
@ -0,0 +1,631 @@
|
||||
MODGO_MODULES = \
|
||||
cloud.google.com/go v0.65.0 \
|
||||
cloud.google.com/go/bigquery v1.8.0 \
|
||||
cloud.google.com/go/datastore v1.1.0 \
|
||||
cloud.google.com/go/pubsub v1.3.1 \
|
||||
cloud.google.com/go/storage v1.10.0 \
|
||||
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9 \
|
||||
github.com/!burnt!sushi/toml v0.3.1 \
|
||||
github.com/!burnt!sushi/xgb v0.0.0-20160522181843-27f122750802 \
|
||||
|