Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/qmmp audio/qmmp: fix shell portability



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f5f4ace74c6
branches:  trunk
changeset: 432631:1f5f4ace74c6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 23 20:11:23 2020 +0000

description:
audio/qmmp: fix shell portability

diffstat:

 audio/qmmp/Makefile                                             |   4 +-
 audio/qmmp/distinfo                                             |   3 +-
 audio/qmmp/patches/patch-src_plugins_Ui_skinned_scripts_kwin_sh |  20 ++++++++++
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r f4ca062fc502 -r 1f5f4ace74c6 audio/qmmp/Makefile
--- a/audio/qmmp/Makefile       Sat May 23 20:07:07 2020 +0000
+++ b/audio/qmmp/Makefile       Sat May 23 20:11:23 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2020/05/22 10:55:56 adam Exp $
+# $NetBSD: Makefile,v 1.12 2020/05/23 20:11:23 rillig Exp $
 
 DISTNAME=      qmmp-1.4.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    audio
 MASTER_SITES=  http://qmmp.ylsoftware.com/files/
 EXTRACT_SUFX=  .tar.bz2
diff -r f4ca062fc502 -r 1f5f4ace74c6 audio/qmmp/distinfo
--- a/audio/qmmp/distinfo       Sat May 23 20:07:07 2020 +0000
+++ b/audio/qmmp/distinfo       Sat May 23 20:11:23 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2020/05/16 18:51:46 nia Exp $
+$NetBSD: distinfo,v 1.4 2020/05/23 20:11:23 rillig Exp $
 
 SHA1 (qmmp-1.4.0.tar.bz2) = a82bf6818eb7fe14bbbcdca24b25b814ea7418ca
 RMD160 (qmmp-1.4.0.tar.bz2) = 5749a728a1a0e00c42f796aabb5ba5a3846968c6
 SHA512 (qmmp-1.4.0.tar.bz2) = b4ae764c223e1ce28477e86493ba409429e191ff51ef11d9b7c4fa356f90e5ff7e390bc8d1dcaf7779b231d59bf668d64000ea196b4020a7255eeb009706643d
 Size (qmmp-1.4.0.tar.bz2) = 1293438 bytes
+SHA1 (patch-src_plugins_Ui_skinned_scripts_kwin_sh) = 18be957905c4a6247791673b7e40e631036c6618
 SHA1 (patch-src_plugins_Ui_skinned_symboldisplay.cpp) = d172068a4215c6dafb5b5c921bfabe71060be16f
diff -r f4ca062fc502 -r 1f5f4ace74c6 audio/qmmp/patches/patch-src_plugins_Ui_skinned_scripts_kwin_sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/qmmp/patches/patch-src_plugins_Ui_skinned_scripts_kwin_sh   Sat May 23 20:11:23 2020 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_plugins_Ui_skinned_scripts_kwin_sh,v 1.1 2020/05/23 20:11:23 rillig Exp $
+
+Fix shell portability.
+
+--- src/plugins/Ui/skinned/scripts/kwin.sh.orig        2020-01-14 17:06:24.000000000 +0000
++++ src/plugins/Ui/skinned/scripts/kwin.sh     2020-05-15 05:39:14.852611863 +0000
+@@ -19,10 +19,11 @@
+ do
+       # find qmmp window rule in KWin
+     match=`kreadconfig5 --file kwinrulesrc --group $i --key wmclass`
+-    if [[ "${match,,}" = *"qmmp"* ]]; then
++    case $match in
++    *[Qq][Mm][Mm][Pp]*)
+         found=$i
+         break
+-    fi
++    esac
+     i=$((i+1))
+ done
+ 



Home | Main Index | Thread Index | Old Index