pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/pluma pluma: fix builds with latest itstool & ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bc6647d182b
branches:  trunk
changeset: 453889:6bc6647d182b
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Jun 03 16:31:13 2021 +0000

description:
pluma: fix builds with latest itstool & py-libxml2 combination

A (hopefully temporary) workaround to fix a regression where itstool
with py-libxml2 2.9.12 ends up causing a Python segfault. (This did not
occur with py-libxml2 2.9.10.) For now, disable the help file target
that triggers the issue. Addresses PR pkg/56229 from Andrius V.

diffstat:

 editors/pluma/Makefile                       |   4 ++--
 editors/pluma/PLIST                          |   6 +-----
 editors/pluma/distinfo                       |   3 ++-
 editors/pluma/patches/patch-help_Makefile.in |  15 +++++++++++++++
 4 files changed, 20 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r fd73d136d168 -r 6bc6647d182b editors/pluma/Makefile
--- a/editors/pluma/Makefile    Thu Jun 03 15:48:01 2021 +0000
+++ b/editors/pluma/Makefile    Thu Jun 03 16:31:13 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2021/05/24 19:52:08 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2021/06/03 16:31:13 gutteridge Exp $
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PKGREVISION= 1
+PKGREVISION= 2
 .include "../../meta-pkgs/mate/Makefile.common"
 
 DISTNAME=      pluma-${VERSION:R}.2
diff -r fd73d136d168 -r 6bc6647d182b editors/pluma/PLIST
--- a/editors/pluma/PLIST       Thu Jun 03 15:48:01 2021 +0000
+++ b/editors/pluma/PLIST       Thu Jun 03 16:31:13 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2020/11/10 00:53:30 gutteridge Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/06/03 16:31:13 gutteridge Exp $
 bin/pluma
 include/pluma/pluma-app.h
 include/pluma/pluma-commands.h
@@ -514,10 +514,6 @@
 share/help/xh/pluma/figures/pluma_window.png
 share/help/xh/pluma/index.docbook
 share/help/xh/pluma/legal.xml
-share/help/zh_CN/pluma/figures/pluma_recent_files_menu_icon.png
-share/help/zh_CN/pluma/figures/pluma_window.png
-share/help/zh_CN/pluma/index.docbook
-share/help/zh_CN/pluma/legal.xml
 share/help/zh_HK/pluma/figures/pluma_recent_files_menu_icon.png
 share/help/zh_HK/pluma/figures/pluma_window.png
 share/help/zh_HK/pluma/index.docbook
diff -r fd73d136d168 -r 6bc6647d182b editors/pluma/distinfo
--- a/editors/pluma/distinfo    Thu Jun 03 15:48:01 2021 +0000
+++ b/editors/pluma/distinfo    Thu Jun 03 16:31:13 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2021/05/05 00:47:21 gutteridge Exp $
+$NetBSD: distinfo,v 1.12 2021/06/03 16:31:13 gutteridge Exp $
 
 SHA1 (pluma-1.24.2.tar.xz) = 92b7e2d8ac4f5ac25b1d91b5eb9ec7be2fc3f538
 RMD160 (pluma-1.24.2.tar.xz) = 5bf0fe427f525c614765b07b2c24e5f669dd5d1f
 SHA512 (pluma-1.24.2.tar.xz) = 588640744f8a0bec08d0c51c0309380a57cb6319c98124885e30d05e7dd8488ba7bd5acec1bf21fb0d6832626ae8925b24cd241202265af1a631a91313cdad2b
 Size (pluma-1.24.2.tar.xz) = 3745160 bytes
 SHA1 (patch-configure) = c2f4aef21c7b23bafeb0c6d3f751e7d21e0a618e
+SHA1 (patch-help_Makefile.in) = 530dee5e63b49452fd2f397e6572bc2482ba5286
diff -r fd73d136d168 -r 6bc6647d182b editors/pluma/patches/patch-help_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/pluma/patches/patch-help_Makefile.in      Thu Jun 03 16:31:13 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-help_Makefile.in,v 1.1 2021/06/03 16:31:13 gutteridge Exp $
+
+Disable zh_CN, as it causes a segfault in itstool.
+
+--- help/Makefile.in.orig      2021-03-27 21:54:03.000000000 +0000
++++ help/Makefile.in
+@@ -329,7 +329,7 @@ HELP_MEDIA = \
+ 
+ 
+ # Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr
+-IGNORE_HELP_LINGUAS = 
++IGNORE_HELP_LINGUAS = zh_CN
+ HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \
+       $(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \
+       $(subst /,,$(dir $(wildcard */*.po))) )



Home | Main Index | Thread Index | Old Index