pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/pluma Port pluma to use enchant2, bump revision.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60ab4b7ebb01
branches:  trunk
changeset: 387406:60ab4b7ebb01
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Nov 16 19:01:25 2018 +0000

description:
Port pluma to use enchant2, bump revision.

diffstat:

 editors/pluma/Makefile                |   4 +-
 editors/pluma/distinfo                |   3 +-
 editors/pluma/options.mk              |   4 +-
 editors/pluma/patches/patch-configure |  59 +++++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 5 deletions(-)

diffs (114 lines):

diff -r 9c56042acac5 -r 60ab4b7ebb01 editors/pluma/Makefile
--- a/editors/pluma/Makefile    Fri Nov 16 16:00:18 2018 +0000
+++ b/editors/pluma/Makefile    Fri Nov 16 19:01:25 2018 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.15 2018/11/14 22:21:24 kleink Exp $
+# $NetBSD: Makefile,v 1.16 2018/11/16 19:01:25 bsiegert Exp $
 
 # XXX: meta-pkgs/mate/Makefile.common includes pyversion.mk which sets the
 # python version too early and clashes with PYTHON_VERSIONS_INCOMPATIBLE
 # from libpeas bl3, so we include it early to ensure a valid version is
 # chosen.  This is not ideal, please fix it properly at some point.
-PKGREVISION= 2
 .include "../../devel/libpeas/buildlink3.mk"
 .include "../../meta-pkgs/mate/Makefile.common"
 
 DISTNAME=      pluma-${VERSION:R}.1
 CATEGORIES=    editors
+PKGREVISION=   3
 
 COMMENT=       Small and lightweight UTF-8 text editor for the MATE
 
diff -r 9c56042acac5 -r 60ab4b7ebb01 editors/pluma/distinfo
--- a/editors/pluma/distinfo    Fri Nov 16 16:00:18 2018 +0000
+++ b/editors/pluma/distinfo    Fri Nov 16 19:01:25 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/05/14 13:23:50 youri Exp $
+$NetBSD: distinfo,v 1.4 2018/11/16 19:01:25 bsiegert Exp $
 
 SHA1 (pluma-1.20.1.tar.xz) = 88bf75cff72fc99e179abd1c9e61b31e0ec44bfb
 RMD160 (pluma-1.20.1.tar.xz) = 85523e93007675c7e46bea5fd856b1ba43dd8b06
 SHA512 (pluma-1.20.1.tar.xz) = 7782fd227524e524b4e97eb196f01085d5bd5dd0d3d91bae21742ba4da6496fe13c2669606265932c323a34ea007d0c0164f79783d5bb5dde049ce40fc1b2b1d
 Size (pluma-1.20.1.tar.xz) = 3414916 bytes
+SHA1 (patch-configure) = 9fc23946abf5197603ce28bef2c0e54b5be96c86
diff -r 9c56042acac5 -r 60ab4b7ebb01 editors/pluma/options.mk
--- a/editors/pluma/options.mk  Fri Nov 16 16:00:18 2018 +0000
+++ b/editors/pluma/options.mk  Fri Nov 16 19:01:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2018/07/03 05:03:15 adam Exp $
+# $NetBSD: options.mk,v 1.8 2018/11/16 19:01:25 bsiegert Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.pluma
 PKG_SUPPORTED_OPTIONS= enchant
@@ -9,7 +9,7 @@
 PLIST_VARS+=   enchant python
 
 .if !empty(PKG_OPTIONS:Menchant)
-.include "../../textproc/enchant/buildlink3.mk"
+.include "../../textproc/enchant2/buildlink3.mk"
 .include "../../textproc/iso-codes/buildlink3.mk"
 CONFIGURE_ARGS+=       --enable-spell
 PLIST.enchant= yes
diff -r 9c56042acac5 -r 60ab4b7ebb01 editors/pluma/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/pluma/patches/patch-configure     Fri Nov 16 19:01:25 2018 +0000
@@ -0,0 +1,59 @@
+$NetBSD: patch-configure,v 1.1 2018/11/16 19:01:25 bsiegert Exp $
+
+Allow use of enchant-2.
+
+--- configure.orig     2018-03-25 08:39:40.000000000 +0000
++++ configure
+@@ -14382,7 +14382,7 @@ $as_echo "#define ENABLE_GVFS_METADATA 1
+ fi
+ 
+ 
+-ENCHANT_REQUIRED=1.2.0
++ENCHANT_REQUIRED=2.0.0
+ ISO_CODES_REQUIRED=0.35
+ 
+ # Check whether --enable-spell was given.
+@@ -14404,12 +14404,12 @@ if test -n "$ENCHANT_CFLAGS"; then
+     pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2 >= \$ENCHANT_REQUIRED\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "enchant-2 >= $ENCHANT_REQUIRED") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
++  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant-2 >= $ENCHANT_REQUIRED" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -14421,12 +14421,12 @@ if test -n "$ENCHANT_LIBS"; then
+     pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant-2 >= \$ENCHANT_REQUIRED\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "enchant-2 >= $ENCHANT_REQUIRED") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
++  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant-2 >= $ENCHANT_REQUIRED" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -14447,9 +14447,9 @@ else
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant >= $ENCHANT_REQUIRED" 2>&1`
++              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "enchant-2 >= $ENCHANT_REQUIRED" 2>&1`
+         else
+-              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant >= $ENCHANT_REQUIRED" 2>&1`
++              ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "enchant-2 >= $ENCHANT_REQUIRED" 2>&1`
+         fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$ENCHANT_PKG_ERRORS" >&5



Home | Main Index | Thread Index | Old Index