pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm wm: Add velox.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cd7fde408fc
branches:  trunk
changeset: 345437:2cd7fde408fc
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Dec 11 21:19:29 2019 +0000

description:
wm: Add velox.

velox is a tiling window manager based on the Simple Wayland Compositor
library.

It is inspired by dwm and xmonad.

diffstat:

 wm/Makefile                              |   3 +-
 wm/velox/DESCR                           |   4 +++
 wm/velox/MESSAGE                         |  20 +++++++++++++++
 wm/velox/Makefile                        |  41 ++++++++++++++++++++++++++++++++
 wm/velox/PLIST                           |   6 ++++
 wm/velox/buildlink3.mk                   |  14 ++++++++++
 wm/velox/distinfo                        |   7 +++++
 wm/velox/patches/patch-velox.conf.sample |  35 +++++++++++++++++++++++++++
 8 files changed, 129 insertions(+), 1 deletions(-)

diffs (172 lines):

diff -r 96d4062907d6 -r 2cd7fde408fc wm/Makefile
--- a/wm/Makefile       Wed Dec 11 21:18:05 2019 +0000
+++ b/wm/Makefile       Wed Dec 11 21:19:29 2019 +0000
@@ -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+=       tvtwm
 SUBDIR+=       twm
 SUBDIR+=       uwm
+SUBDIR+=       velox
 SUBDIR+=       vtwm
 SUBDIR+=       w9wm
 SUBDIR+=       waimea
diff -r 96d4062907d6 -r 2cd7fde408fc wm/velox/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/DESCR    Wed Dec 11 21:19:29 2019 +0000
@@ -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 -r 96d4062907d6 -r 2cd7fde408fc wm/velox/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/MESSAGE  Wed Dec 11 21:19:29 2019 +0000
@@ -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 -r 96d4062907d6 -r 2cd7fde408fc wm/velox/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/Makefile Wed Dec 11 21:19:29 2019 +0000
@@ -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@localhost
+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 -r 96d4062907d6 -r 2cd7fde408fc wm/velox/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/PLIST    Wed Dec 11 21:19:29 2019 +0000
@@ -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 -r 96d4062907d6 -r 2cd7fde408fc wm/velox/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/buildlink3.mk    Wed Dec 11 21:19:29 2019 +0000
@@ -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 -r 96d4062907d6 -r 2cd7fde408fc wm/velox/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/distinfo Wed Dec 11 21:19:29 2019 +0000
@@ -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 -r 96d4062907d6 -r 2cd7fde408fc wm/velox/patches/patch-velox.conf.sample
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/velox/patches/patch-velox.conf.sample  Wed Dec 11 21:19:29 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index