diff options
author | nia <nia@pkgsrc.org> | 2020-09-25 12:25:10 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-09-25 12:25:10 +0000 |
commit | 9f994116f3233c024f5deab459882d84cc63b89a (patch) | |
tree | def2976e41b1aa47d235fbb417ebe02c8967f029 /wm | |
parent | 89ee011f096cf06282877b73fa0c2caecad28a39 (diff) | |
download | pkgsrc-9f994116f3233c024f5deab459882d84cc63b89a.tar.gz |
fluxbox: useful default volume control for NetBSD
Diffstat (limited to 'wm')
-rw-r--r-- | wm/fluxbox/Makefile | 4 | ||||
-rw-r--r-- | wm/fluxbox/distinfo | 3 | ||||
-rw-r--r-- | wm/fluxbox/patches/patch-data_keys | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/wm/fluxbox/Makefile b/wm/fluxbox/Makefile index 52623b15405..a1cb41a8ecc 100644 --- a/wm/fluxbox/Makefile +++ b/wm/fluxbox/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.71 2020/09/20 13:30:45 nia Exp $ +# $NetBSD: Makefile,v 1.72 2020/09/25 12:25:10 nia Exp $ DISTNAME= fluxbox-1.3.7 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= wm x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fluxbox/} EXTRACT_SUFX= .tar.bz2 diff --git a/wm/fluxbox/distinfo b/wm/fluxbox/distinfo index fb540bb4225..a92e0f62bc4 100644 --- a/wm/fluxbox/distinfo +++ b/wm/fluxbox/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.35 2017/03/07 13:22:27 joerg Exp $ +$NetBSD: distinfo,v 1.36 2020/09/25 12:25:10 nia Exp $ SHA1 (fluxbox-1.3.7.tar.bz2) = f8939f43b4c353ebef5fec2b95e8cbfd3cd5ac4d RMD160 (fluxbox-1.3.7.tar.bz2) = efb8d458edf2b429fb2999eb184ab3aed6a54f7a @@ -12,5 +12,6 @@ SHA1 (patch-bf) = 7da25f4e9a0e738da7c24264a91e6ab036d5acf2 SHA1 (patch-bg) = 8f4decdb2ff611dcc1af64145801fac35f83e25a SHA1 (patch-bj) = 9b0ac35028644b142073a498bc3d59324c51d349 SHA1 (patch-bk) = ae0c9857dd0cd203c8ae3f4bf5a0c7126cf48c92 +SHA1 (patch-data_keys) = 79820ca4fd89227e24ae71bb1278f49b3930af85 SHA1 (patch-src_fluxbox.cc) = a652d685cd80896b45bfa7b2dfd5e98b2561e326 SHA1 (patch-util_fluxbox-remote.cc) = fa2389ad36f41a6080a43ad1755cd5ad904a27cf diff --git a/wm/fluxbox/patches/patch-data_keys b/wm/fluxbox/patches/patch-data_keys new file mode 100644 index 00000000000..8fa718e8afd --- /dev/null +++ b/wm/fluxbox/patches/patch-data_keys @@ -0,0 +1,24 @@ +$NetBSD: patch-data_keys,v 1.1 2020/09/25 12:25:10 nia Exp $ + +Make volume binds useful for NetBSD. + +--- data/keys.orig 2015-02-08 10:44:45.333187008 +0000 ++++ data/keys +@@ -65,9 +65,14 @@ Mod1 F2 :Exec fbrun + + # volume settings, using common keycodes + # if these don't work, use xev to find out your real keycodes +-176 :Exec amixer sset Master,0 1+ +-174 :Exec amixer sset Master,0 1- +-160 :Exec amixer sset Master,0 toggle ++# NetBSD ++176 :Exec mixerctl -w outputs.master+=5 ++174 :Exec mixerctl -w outputs.master-=5 ++160 :Exec mixerctl -w outputs.master=0 ++# Linux ALSA ++#176 :Exec amixer sset Master,0 1+ ++#174 :Exec amixer sset Master,0 1- ++#160 :Exec amixer sset Master,0 toggle + + # current window commands + Mod1 F4 :Close |