pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jan 11 16:18:15 UTC 2020

Modified Files:
        pkgsrc/sysutils: Makefile
        pkgsrc/wm/velox: Makefile distinfo
        pkgsrc/wm/velox/patches: patch-velox.conf.sample
Added Files:
        pkgsrc/sysutils/dmenu-wld: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/dmenu-wld/patches: patch-config.mk patch-dmenu__run

Log Message:
sysutils: Add dmenu-wld

dmenu is an efficient dynamic menu for Wayland.

Note: this is a fork of the X11 version, which lives in x11/dmenu.


To generate a diff of this commit:
cvs rdiff -u -r1.850 -r1.851 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dmenu-wld/DESCR \
    pkgsrc/sysutils/dmenu-wld/Makefile pkgsrc/sysutils/dmenu-wld/PLIST \
    pkgsrc/sysutils/dmenu-wld/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dmenu-wld/patches/patch-config.mk \
    pkgsrc/sysutils/dmenu-wld/patches/patch-dmenu__run
cvs rdiff -u -r1.1 -r1.2 pkgsrc/wm/velox/Makefile pkgsrc/wm/velox/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/wm/velox/patches/patch-velox.conf.sample

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

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.850 pkgsrc/sysutils/Makefile:1.851
--- pkgsrc/sysutils/Makefile:1.850      Tue Dec 31 11:16:49 2019
+++ pkgsrc/sysutils/Makefile    Sat Jan 11 16:18:15 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.850 2019/12/31 11:16:49 ng0 Exp $
+# $NetBSD: Makefile,v 1.851 2020/01/11 16:18:15 nia Exp $
 #
 
 COMMENT=       System utilities
@@ -137,6 +137,7 @@ SUBDIR+=    dirvish
 SUBDIR+=       disk-filltest
 SUBDIR+=       diskscrub
 SUBDIR+=       dmassage
+SUBDIR+=       dmenu-wld
 SUBDIR+=       dmesg2gif
 SUBDIR+=       dmg2img
 SUBDIR+=       dmidecode

Index: pkgsrc/wm/velox/Makefile
diff -u pkgsrc/wm/velox/Makefile:1.1 pkgsrc/wm/velox/Makefile:1.2
--- pkgsrc/wm/velox/Makefile:1.1        Wed Dec 11 21:19:29 2019
+++ pkgsrc/wm/velox/Makefile    Sat Jan 11 16:18:15 2020
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2019/12/11 21:19:29 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/11 16:18:15 nia Exp $
 
 DISTNAME=      velox-0.0.3.20191211
+PKGREVISION=   1
 CATEGORIES=    wm
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=niacat/}
 GITHUB_PROJECT=        velox
@@ -13,6 +14,8 @@ LICENSE=      mit
 
 # Used by the panel, you get poor font rendering otherwise.
 DEPENDS+=      terminus-font-[0-9]*:../../fonts/terminus-font
+# Used for launching software.
+DEPENDS+=      dmenu-wld-[0-9]*:../../sysutils/dmenu-wld
 
 USE_TOOLS+=    gmake pkg-config
 
Index: pkgsrc/wm/velox/distinfo
diff -u pkgsrc/wm/velox/distinfo:1.1 pkgsrc/wm/velox/distinfo:1.2
--- pkgsrc/wm/velox/distinfo:1.1        Wed Dec 11 21:19:29 2019
+++ pkgsrc/wm/velox/distinfo    Sat Jan 11 16:18:15 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2019/12/11 21:19:29 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/01/11 16:18:15 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
+SHA1 (patch-velox.conf.sample) = 3654921b8ff4ef66d1b1d4a388f35218dc6cd468

Index: pkgsrc/wm/velox/patches/patch-velox.conf.sample
diff -u pkgsrc/wm/velox/patches/patch-velox.conf.sample:1.1 pkgsrc/wm/velox/patches/patch-velox.conf.sample:1.2
--- pkgsrc/wm/velox/patches/patch-velox.conf.sample:1.1 Wed Dec 11 21:19:29 2019
+++ pkgsrc/wm/velox/patches/patch-velox.conf.sample     Sat Jan 11 16:18:15 2020
@@ -1,8 +1,8 @@
-$NetBSD: patch-velox.conf.sample,v 1.1 2019/12/11 21:19:29 nia Exp $
+$NetBSD: patch-velox.conf.sample,v 1.2 2020/01/11 16:18:15 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.orig     2019-12-11 19:08:40.000000000 +0000
 +++ velox.conf.sample
 @@ -1,7 +1,7 @@
  # velox.conf
@@ -13,7 +13,7 @@ Make the defaults a bit more sensible fo
  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
+@@ -19,9 +19,9 @@ set tag.8.name                      8
  set tag.9.name                      9
  
  #      name             type    arguments
@@ -21,15 +21,8 @@ Make the defaults a bit more sensible fo
 -action spawn_run        spawn   exec dmenu_run -b
 -action spawn_browser    spawn   exec netsurf
 +action spawn_terminal   spawn   exec sakura
++action spawn_run      spawn   exec dmenu-wld_run -fn Terminus:pixelsize=14 -nf '#999999' -nb '#1a1a1a' -sf '#ffffff' -sb '#338833'
 +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

Added files:

Index: pkgsrc/sysutils/dmenu-wld/DESCR
diff -u /dev/null pkgsrc/sysutils/dmenu-wld/DESCR:1.1
--- /dev/null   Sat Jan 11 16:18:15 2020
+++ pkgsrc/sysutils/dmenu-wld/DESCR     Sat Jan 11 16:18:15 2020
@@ -0,0 +1,3 @@
+dmenu is an efficient dynamic menu for Wayland.
+
+Note: this is a fork of the X11 version, which lives in x11/dmenu.
Index: pkgsrc/sysutils/dmenu-wld/Makefile
diff -u /dev/null pkgsrc/sysutils/dmenu-wld/Makefile:1.1
--- /dev/null   Sat Jan 11 16:18:15 2020
+++ pkgsrc/sysutils/dmenu-wld/Makefile  Sat Jan 11 16:18:15 2020
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2020/01/11 16:18:15 nia Exp $
+
+DISTNAME=      dmenu-wld-4.6.0.20191014
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=michaelforney/}
+GITHUB_PROJECT=        dmenu
+GITHUB_TAG=    f385d9d18813071b4b4257bf8d4d572daeda0e70
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/michaelforney/dmenu
+COMMENT=       Dynamic menu for Wayland
+LICENSE=       mit
+
+DEPENDS+=      dmenu-[0-9]*:../../x11/dmenu
+
+USE_TOOLS+=    gmake pkg-config
+
+MAKE_FLAGS+=   CC=${CC:Q}
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=   PIXMANINC=${BUILDLINK_DIR}/include/pixman-1
+MAKE_FLAGS+=   SWCPROTO=${PREFIX}/share/swc/swc.xml
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/dmenu ${DESTDIR}${PREFIX}/bin/dmenu-wld
+       ${MV} ${DESTDIR}${PREFIX}/bin/dmenu_run ${DESTDIR}${PREFIX}/bin/dmenu-wld_run
+       ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmenu.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dmenu-wld.1
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/dmenu_path
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/stest
+       ${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/stest.1
+
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../graphics/wld/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../wm/swc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/dmenu-wld/PLIST
diff -u /dev/null pkgsrc/sysutils/dmenu-wld/PLIST:1.1
--- /dev/null   Sat Jan 11 16:18:15 2020
+++ pkgsrc/sysutils/dmenu-wld/PLIST     Sat Jan 11 16:18:15 2020
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/11 16:18:15 nia Exp $
+bin/dmenu-wld
+bin/dmenu-wld_run
+man/man1/dmenu-wld.1
Index: pkgsrc/sysutils/dmenu-wld/distinfo
diff -u /dev/null pkgsrc/sysutils/dmenu-wld/distinfo:1.1
--- /dev/null   Sat Jan 11 16:18:15 2020
+++ pkgsrc/sysutils/dmenu-wld/distinfo  Sat Jan 11 16:18:15 2020
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/01/11 16:18:15 nia Exp $
+
+SHA1 (dmenu-wld-4.6.0.20191014-f385d9d18813071b4b4257bf8d4d572daeda0e70.tar.gz) = 246dde33fd7ae0f8e65d27a619ba8f483b457e18
+RMD160 (dmenu-wld-4.6.0.20191014-f385d9d18813071b4b4257bf8d4d572daeda0e70.tar.gz) = 2c9ed055f9b5f89583e7dcb8d7f7ff6df67c4405
+SHA512 (dmenu-wld-4.6.0.20191014-f385d9d18813071b4b4257bf8d4d572daeda0e70.tar.gz) = 
3c249ade9e02c81c162a83f65423864bd2cab20812b1f482cfd417bfe11dea13ec991c1645c0a95214f36298ccd83a5f24b06ae6b4015cfc5fc082d213a5cfd9
+Size (dmenu-wld-4.6.0.20191014-f385d9d18813071b4b4257bf8d4d572daeda0e70.tar.gz) = 15225 bytes
+SHA1 (patch-config.mk) = 29c628dd48ebc31cab5da7daa949e43984ca2298
+SHA1 (patch-dmenu__run) = f553dfb7e2b961ba7e31353d9ff0b611ffaee752

Index: pkgsrc/sysutils/dmenu-wld/patches/patch-config.mk
diff -u /dev/null pkgsrc/sysutils/dmenu-wld/patches/patch-config.mk:1.1
--- /dev/null   Sat Jan 11 16:18:15 2020
+++ pkgsrc/sysutils/dmenu-wld/patches/patch-config.mk   Sat Jan 11 16:18:15 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-config.mk,v 1.1 2020/01/11 16:18:15 nia Exp $
+
+Append instead of setting variables
+
+--- config.mk.orig     2017-04-16 16:28:50.000000000 +0000
++++ config.mk
+@@ -13,9 +13,9 @@ INCS = -I${PIXMANINC}
+ LIBS = -lwayland-client -lxkbcommon -lwld -lfontconfig
+ 
+ # flags
+-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\"
+-CFLAGS   = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS  = -s ${LIBS}
++CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\"
++CFLAGS   += -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
++LDFLAGS  += -s ${LIBS}
+ 
+ # compiler and linker
+ CC = cc
Index: pkgsrc/sysutils/dmenu-wld/patches/patch-dmenu__run
diff -u /dev/null pkgsrc/sysutils/dmenu-wld/patches/patch-dmenu__run:1.1
--- /dev/null   Sat Jan 11 16:18:15 2020
+++ pkgsrc/sysutils/dmenu-wld/patches/patch-dmenu__run  Sat Jan 11 16:18:15 2020
@@ -0,0 +1,10 @@
+$NetBSD: patch-dmenu__run,v 1.1 2020/01/11 16:18:15 nia Exp $
+
+Avoid conflicts.
+
+--- dmenu_run.orig     2017-04-16 16:28:50.000000000 +0000
++++ dmenu_run
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &
++dmenu_path | dmenu-wld "$@" | ${SHELL:-"/bin/sh"} &



Home | Main Index | Thread Index | Old Index