pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/lyx lyx: has been ported to python3 for a whil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38c166919501
branches:  trunk
changeset: 383687:38c166919501
user:      markd <markd%pkgsrc.org@localhost>
date:      Mon Aug 22 08:12:47 2022 +0000

description:
lyx: has been ported to python3 for a while, and build with gcc 12

diffstat:

 editors/lyx/Makefile                                   |   6 +++---
 editors/lyx/distinfo                                   |   4 +++-
 editors/lyx/patches/patch-src_insets_InsetListings.cpp |  14 ++++++++++++++
 editors/lyx/patches/patch-src_lyxfind.cpp              |  14 ++++++++++++++
 4 files changed, 34 insertions(+), 4 deletions(-)

diffs (80 lines):

diff -r c273c105e318 -r 38c166919501 editors/lyx/Makefile
--- a/editors/lyx/Makefile      Mon Aug 22 08:01:15 2022 +0000
+++ b/editors/lyx/Makefile      Mon Aug 22 08:12:47 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.109 2022/08/09 12:08:30 jperkin Exp $
+# $NetBSD: Makefile,v 1.110 2022/08/22 08:12:47 markd Exp $
 
 DISTNAME=              lyx-2.3.6.1
-PKGREVISION=           6
+PKGREVISION=           7
 CATEGORIES=            editors
 MASTER_SITES=          ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/
 MASTER_SITES+=         ftp://ftp.sdsc.edu/pub/other/lyx/stable/2.3.x/
@@ -63,7 +63,6 @@
 USE_TOOLS+=                    gmake perl:run pkg-config xgettext
 USE_LIBTOOL=                   YES
 USE_PKGLOCALEDIR=              YES
-PYTHON_VERSIONS_ACCEPTED=      27 # not yet ported as of 1.6.10
 
 CXXFLAGS.Linux+=       -fpermissive
 
@@ -136,6 +135,7 @@
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"   # for PLIST handling
 .include "../../textproc/aspell/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qtsvg/buildlink3.mk"
diff -r c273c105e318 -r 38c166919501 editors/lyx/distinfo
--- a/editors/lyx/distinfo      Mon Aug 22 08:01:15 2022 +0000
+++ b/editors/lyx/distinfo      Mon Aug 22 08:12:47 2022 +0000
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 10:21:33 nia Exp $
+$NetBSD: distinfo,v 1.22 2022/08/22 08:12:47 markd Exp $
 
 BLAKE2s (lyx-2.3.6.1.tar.xz) = c9f7f2712590d37906e50bab1b05f8c57ac38afdd5c006486173e431990b0373
 SHA512 (lyx-2.3.6.1.tar.xz) = 233f6c54d4a036ad12f33c6705810bfb99747bdbd015550a8a0a9d7b664d3be50a06dc337191b820c42de4407c5f790efa50c706a45fb2260a71f772fb22c872
 Size (lyx-2.3.6.1.tar.xz) = 16242608 bytes
 SHA1 (patch-configure) = d68e3329353f2fa0ffdf9633ff0b31649f0114c7
 SHA1 (patch-development_MacOSX_Makefile.in) = 086dddfcd7b2ca498e87b0d3e90a211aca2f64fe
+SHA1 (patch-src_insets_InsetListings.cpp) = d4ecbcf1621bdf349a7472b05e60dfc66ec3ef05
+SHA1 (patch-src_lyxfind.cpp) = 20e41c1b4e754dd643ff2a7b9f0fa7e506ef383e
 SHA1 (patch-src_support_strfwd.h) = 3ebd71772539d6a2cd327c1127fa9ef66cb15b41
diff -r c273c105e318 -r 38c166919501 editors/lyx/patches/patch-src_insets_InsetListings.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/lyx/patches/patch-src_insets_InsetListings.cpp    Mon Aug 22 08:12:47 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_insets_InsetListings.cpp,v 1.1 2022/08/22 08:12:47 markd Exp $
+
+gcc 12
+
+--- src/insets/InsetListings.cpp.orig  2020-12-29 16:50:45.000000000 +0000
++++ src/insets/InsetListings.cpp
+@@ -45,6 +45,7 @@
+ #include "support/regex.h"
+ 
+ #include <sstream>
++#include <cstring>
+ 
+ using namespace std;
+ using namespace lyx::support;
diff -r c273c105e318 -r 38c166919501 editors/lyx/patches/patch-src_lyxfind.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/lyx/patches/patch-src_lyxfind.cpp Mon Aug 22 08:12:47 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_lyxfind.cpp,v 1.1 2022/08/22 08:12:47 markd Exp $
+
+gcc 12
+
+--- src/lyxfind.cpp.orig       2020-12-29 16:50:45.000000000 +0000
++++ src/lyxfind.cpp
+@@ -13,6 +13,7 @@
+  */
+ 
+ #include <config.h>
++#include <iterator>
+ 
+ #include "lyxfind.h"
+ 



Home | Main Index | Thread Index | Old Index