diff options
author | nia <nia@pkgsrc.org> | 2019-12-11 21:19:29 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-12-11 21:19:29 +0000 |
commit | 80d56f334655f8fd2a0bb37e4bc5a8e5bd059f57 (patch) | |
tree | affdb906d3bb0facdbc0b3d8ff10b3f16779b309 /wm | |
parent | 436a76a3213e81edd203cc64b93abafd492cd3ad (diff) | |
download | pkgsrc-80d56f334655f8fd2a0bb37e4bc5a8e5bd059f57.tar.gz |
wm: Add velox.
velox is a tiling window manager based on the Simple Wayland Compositor
library.
It is inspired by dwm and xmonad.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/Makefile | 3 | ||||
-rw-r--r-- | wm/velox/DESCR | 4 | ||||
-rw-r--r-- | wm/velox/MESSAGE | 20 | ||||
-rw-r--r-- | wm/velox/Makefile | 41 | ||||
-rw-r--r-- | wm/velox/PLIST | 6 | ||||
-rw-r--r-- | wm/velox/buildlink3.mk | 14 | ||||
-rw-r--r-- | wm/velox/distinfo | 7 | ||||
-rw-r--r-- | wm/velox/patches/patch-velox.conf.sample | 35 |
8 files changed, 129 insertions, 1 deletions
diff --git a/wm/Makefile b/wm/Makefile index d16a1640d89..ff9b696eaf6 100644 --- a/wm/Makefile +++ b/wm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.141 2019/12/11 21:18:05 nia Exp $ +# $NetBSD: Makefile,v 1.142 2019/12/11 21:19:29 nia Exp $ # COMMENT= X11 window managers, configuration tools, and themes @@ -83,6 +83,7 @@ SUBDIR+= trayer SUBDIR+= tvtwm SUBDIR+= twm SUBDIR+= uwm +SUBDIR+= velox SUBDIR+= vtwm SUBDIR+= w9wm SUBDIR+= waimea diff --git a/wm/velox/DESCR b/wm/velox/DESCR new file mode 100644 index 00000000000..b02a10e62c3 --- /dev/null +++ b/wm/velox/DESCR @@ -0,0 +1,4 @@ +velox is a tiling window manager based on the Simple Wayland Compositor +library. + +It is inspired by dwm and xmonad. diff --git a/wm/velox/MESSAGE b/wm/velox/MESSAGE new file mode 100644 index 00000000000..5542a5b4f85 --- /dev/null +++ b/wm/velox/MESSAGE @@ -0,0 +1,20 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2019/12/11 21:19:29 nia Exp $ + +To edit the configuration file, copy it into place: + +$ cp ${PREFIX}/share/examples/velox.conf ~/.velox.conf + +Most packages in pkgsrc will need wayland support enabled explicitly, +velox currently does not support X11 applications. + +To launch velox, use swc-launch: + +$ mkdir /tmp/$(whoami)-runtime +$ export XDG_RUNTIME_DIR=/tmp/$(whoami)-runtime +$ swc-launch velox + +You may find information in this repository useful: +https://github.com/niacat/pkgsrc-wayland + +=========================================================================== diff --git a/wm/velox/Makefile b/wm/velox/Makefile new file mode 100644 index 00000000000..0162c06d63a --- /dev/null +++ b/wm/velox/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1 2019/12/11 21:19:29 nia Exp $ + +DISTNAME= velox-0.0.3.20191211 +CATEGORIES= wm +MASTER_SITES= ${MASTER_SITE_GITHUB:=niacat/} +GITHUB_PROJECT= velox +GITHUB_TAG= 0c8f9cf8f46bdafff54cac5ae659c33904996a43 + +MAINTAINER= nia@NetBSD.org +HOMEPAGE= https://github.com/niacat/velox +COMMENT= Simple Wayland tiling window manager +LICENSE= mit + +# Used by the panel, you get poor font rendering otherwise. +DEPENDS+= terminus-font-[0-9]*:../../fonts/terminus-font + +USE_TOOLS+= gmake pkg-config + +MAKE_FLAGS+= CC=${CC:Q} +MAKE_FLAGS+= CFLAGS=${CFLAGS:Q} + +EGDIR= ${PREFIX}/share/examples/velox + +CONF_FILES+= ${EGDIR}/velox.conf ${PKG_SYSCONFDIR}/velox.conf + +SUBST_CLASSES+= conf +SUBST_STAGE.conf= pre-configure +SUBST_MESSAGE.conf= Correcting the path to the configuration file. +SUBST_FILES.conf+= config.c +SUBST_SED.conf+= -e 's|/etc/velox.conf|${PKG_SYSCONFDIR}/velox.conf|g' + +PKGCONFIG_OVERRIDE+= velox.pc.in + +INSTALLATION_DIRS+= ${EGDIR} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/velox.conf.sample \ + ${DESTDIR}${EGDIR}/velox.conf + +.include "../../wm/swc/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/velox/PLIST b/wm/velox/PLIST new file mode 100644 index 00000000000..7b23d74ccf8 --- /dev/null +++ b/wm/velox/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2019/12/11 21:19:29 nia Exp $ +bin/velox +lib/pkgconfig/velox.pc +libexec/velox/status_bar +share/examples/velox/velox.conf +share/velox/velox.xml diff --git a/wm/velox/buildlink3.mk b/wm/velox/buildlink3.mk new file mode 100644 index 00000000000..22f19d0a35f --- /dev/null +++ b/wm/velox/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/12/11 21:19:29 nia Exp $ + +BUILDLINK_TREE+= velox + +.if !defined(VELOX_BUILDLINK3_MK) +VELOX_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.velox+= velox>=0.0.3.20191211 +BUILDLINK_PKGSRCDIR.velox?= ../../wm/velox + +.include "../../wm/swc/buildlink3.mk" +.endif # VELOX_BUILDLINK3_MK + +BUILDLINK_TREE+= -velox diff --git a/wm/velox/distinfo b/wm/velox/distinfo new file mode 100644 index 00000000000..0257b6f0c2f --- /dev/null +++ b/wm/velox/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2019/12/11 21:19:29 nia Exp $ + +SHA1 (velox-0.0.3.20191211-0c8f9cf8f46bdafff54cac5ae659c33904996a43.tar.gz) = 7029774ea7e033e411c1ead8a74bebbe25fcacca +RMD160 (velox-0.0.3.20191211-0c8f9cf8f46bdafff54cac5ae659c33904996a43.tar.gz) = a4509879d23b5cd767efe1dc44028ba61e01d836 +SHA512 (velox-0.0.3.20191211-0c8f9cf8f46bdafff54cac5ae659c33904996a43.tar.gz) = 5c85dc89d37796abc35ea8b5a2c7fb5386df27da7008511edc81d28cfa5557503df22e15d3b2d580de58ecb537c0d12bd3af67d192e1057de99d090a28d73ba2 +Size (velox-0.0.3.20191211-0c8f9cf8f46bdafff54cac5ae659c33904996a43.tar.gz) = 22786 bytes +SHA1 (patch-velox.conf.sample) = e3e6cf139d084c4bf245c08393cdc7dee7e6ba79 diff --git a/wm/velox/patches/patch-velox.conf.sample b/wm/velox/patches/patch-velox.conf.sample new file mode 100644 index 00000000000..881e7c62cc1 --- /dev/null +++ b/wm/velox/patches/patch-velox.conf.sample @@ -0,0 +1,35 @@ +$NetBSD: patch-velox.conf.sample,v 1.1 2019/12/11 21:19:29 nia Exp $ + +Make the defaults a bit more sensible for pkgsrc. + +--- velox.conf.sample.orig 2019-12-11 20:17:59.532009260 +0000 ++++ velox.conf.sample +@@ -1,7 +1,7 @@ + # velox.conf + + # property value +-set mod logo ++set mod alt + set window.border_color_active 0xff338833 + set window.border_color_inactive 0xff888888 + set window.border_width 2 +@@ -19,9 +19,8 @@ set tag.8.name 8 + set tag.9.name 9 + + # name type arguments +-action spawn_terminal spawn exec st +-action spawn_run spawn exec dmenu_run -b +-action spawn_browser spawn exec netsurf ++action spawn_terminal spawn exec sakura ++action spawn_browser spawn exec netsurf-gtk3 + + # key modifiers action + key j mod focus_next +@@ -42,7 +41,6 @@ key h mod,ctrl tall + key l mod,ctrl tall.decrease_num_columns + + key Return mod,shift spawn_terminal +-key r mod spawn_run + key b mod spawn_browser + + key 1 mod tag.1.activate |