pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mate-media mate-media: amend patch-configur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/754309f2c35f
branches:  trunk
changeset: 396401:754309f2c35f
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri May 31 04:45:20 2019 +0000

description:
mate-media: amend patch-configure (NFC)

While preparing to send patch-configure upstream, I noticed there were
more issues present. None would affect how the package builds as we've
defined it, but I'm aligning this patch with what I've sent upstream,
for consistency. (pkgsrc's check-portability.awk doesn't catch
incorrect expressions of test[1] if they're [unnecessarily] enclosed
in parentheses, so some of this didn't get automatically flagged when I
originally updated the package.)

diffstat:

 multimedia/mate-media/distinfo                |   4 +-
 multimedia/mate-media/patches/patch-configure |  50 +++++++++++++++++++++++++-
 2 files changed, 50 insertions(+), 4 deletions(-)

diffs (73 lines):

diff -r b06361d5e746 -r 754309f2c35f multimedia/mate-media/distinfo
--- a/multimedia/mate-media/distinfo    Thu May 30 20:05:51 2019 +0000
+++ b/multimedia/mate-media/distinfo    Fri May 31 04:45:20 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2019/04/07 01:02:35 gutteridge Exp $
+$NetBSD: distinfo,v 1.7 2019/05/31 04:45:20 gutteridge Exp $
 
 SHA1 (mate-media-1.22.1.tar.xz) = 53516e2615c40097dcbde4ced00a6dcb8900d60f
 RMD160 (mate-media-1.22.1.tar.xz) = 9a1aef67db76b707c0c7a95690bbb9ae40583f83
 SHA512 (mate-media-1.22.1.tar.xz) = e7bce9128bc6e551cd918af669d52a7ca238a280a4ca09d15822f4d5b52fd9925b647278a39067a1f2a5dd0facfad4988385233939abbdf4aefecc21d2e089d9
 Size (mate-media-1.22.1.tar.xz) = 486664 bytes
-SHA1 (patch-configure) = 6deed33abaea7fa2f356ae20d9766f701326a912
+SHA1 (patch-configure) = 932b9744e936df213d75dfe0d5b3cf2f9d821d3e
diff -r b06361d5e746 -r 754309f2c35f multimedia/mate-media/patches/patch-configure
--- a/multimedia/mate-media/patches/patch-configure     Thu May 30 20:05:51 2019 +0000
+++ b/multimedia/mate-media/patches/patch-configure     Fri May 31 04:45:20 2019 +0000
@@ -1,8 +1,54 @@
-$NetBSD: patch-configure,v 1.1 2019/04/07 01:02:35 gutteridge Exp $
+$NetBSD: patch-configure,v 1.2 2019/05/31 04:45:20 gutteridge Exp $
+
+Fix non-portable uses of test, typos in variable names, etc.
 
 --- configure.orig     2019-04-01 10:25:27.200097504 +0000
 +++ configure
-@@ -14708,7 +14708,7 @@ fi
+@@ -14654,9 +14654,11 @@ fi
+ # Check whether --enable-statusicon was given.
+ if test "${enable_statusicon+set}" = set; then :
+   enableval=$enable_statusicon;
++else
++  enable_statusicon=yes
+ fi
+ 
+-if (test "${enable-statusicon}" == "no"); then
++if test "x$enable_statusicon" = "xno"; then
+ 
+ $as_echo "#define ENABLE_STATUSICON 0" >>confdefs.h
+ 
+@@ -14666,7 +14668,7 @@ else
+ $as_echo "#define ENABLE_STATUSICON 1" >>confdefs.h
+ 
+ fi
+- if test "${enable_statusicon}" != "no"; then
++ if test "x$enable_statusicon" != "xno"; then
+   ENABLE_STATUSICON_TRUE=
+   ENABLE_STATUSICON_FALSE='#'
+ else
+@@ -14684,9 +14686,11 @@ fi
+ # Check whether --enable-panelapplet was given.
+ if test "${enable_panelapplet+set}" = set; then :
+   enableval=$enable_panelapplet;
++else
++  enable_panelapplet=yes
+ fi
+ 
+-if (test "${enable-panelapplet}" == "no"); then
++if test "x$enable_panelapplet" = "xno"; then
+ 
+ $as_echo "#define ENABLE_PANELAPPLET 0" >>confdefs.h
+ 
+@@ -14695,7 +14699,7 @@ else
+ $as_echo "#define ENABLE_PANELAPPLET 1" >>confdefs.h
+ 
+ fi
+- if test "${enable_panelapplet}" != "no"; then
++ if test "x$enable_panelapplet" != "xno"; then
+   ENABLE_PANELAPPLET_TRUE=
+   ENABLE_PANELAPPLET_FALSE='#'
+ else
+@@ -14708,7 +14712,7 @@ fi
  # Sanity check: must build either status icon or panel applet
  #============================================================================
  



Home | Main Index | Thread Index | Old Index