pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/fluxbox fluxbox: useful default volume control for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a26544b5ec7
branches:  trunk
changeset: 439678:3a26544b5ec7
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Sep 25 12:25:10 2020 +0000

description:
fluxbox: useful default volume control for NetBSD

diffstat:

 wm/fluxbox/Makefile                |   4 ++--
 wm/fluxbox/distinfo                |   3 ++-
 wm/fluxbox/patches/patch-data_keys |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 1f10789ffa2e -r 3a26544b5ec7 wm/fluxbox/Makefile
--- a/wm/fluxbox/Makefile       Fri Sep 25 12:21:02 2020 +0000
+++ b/wm/fluxbox/Makefile       Fri Sep 25 12:25:10 2020 +0000
@@ -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 -r 1f10789ffa2e -r 3a26544b5ec7 wm/fluxbox/distinfo
--- a/wm/fluxbox/distinfo       Fri Sep 25 12:21:02 2020 +0000
+++ b/wm/fluxbox/distinfo       Fri Sep 25 12:25:10 2020 +0000
@@ -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-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 -r 1f10789ffa2e -r 3a26544b5ec7 wm/fluxbox/patches/patch-data_keys
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/fluxbox/patches/patch-data_keys        Fri Sep 25 12:25:10 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index