pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/libreoffice Try to build internal PDFium with X11...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/664465139b47
branches:  trunk
changeset: 344113:664465139b47
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Nov 15 13:26:02 2019 +0000

description:
Try to build internal PDFium with X11_TYPE=modular's FreeType 2.10.0

diffstat:

 misc/libreoffice/Makefile                                     |  9 ++++++++-
 misc/libreoffice/distinfo                                     |  4 ++--
 misc/libreoffice/patches/patch-external_pdfium_pkgsrc.patch.1 |  6 +++---
 3 files changed, 13 insertions(+), 6 deletions(-)

diffs (68 lines):

diff -r 6fa6e56bda71 -r 664465139b47 misc/libreoffice/Makefile
--- a/misc/libreoffice/Makefile Fri Nov 15 11:10:59 2019 +0000
+++ b/misc/libreoffice/Makefile Fri Nov 15 13:26:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.212 2019/11/09 20:01:14 jperkin Exp $
+# $NetBSD: Makefile,v 1.213 2019/11/15 13:26:02 ryoon Exp $
 
 VERREL=                6.3.3
 VERRC=         2
@@ -33,6 +33,13 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if !empty(USE_BUILTIN.freetype2:M[Yy][Ee][Ss]) && \
+       !empty(BUILTIN_VERSION.freetype2:M2.10.0)
+CFLAGS+=                       -D_FT_CONST=
+.else
+CFLAGS+=                       -D_FT_CONST=const
+.endif
+
 .if !empty(MACHINE_PLATFORM:MNetBSD*)
 pre-build:
        cd ${WRKSRC} && ${BUILD_MAKE_CMD} Executable_gengal && ${TOOLS_PLATFORM.paxctl} +m instdir/program/gengal.bin
diff -r 6fa6e56bda71 -r 664465139b47 misc/libreoffice/distinfo
--- a/misc/libreoffice/distinfo Fri Nov 15 11:10:59 2019 +0000
+++ b/misc/libreoffice/distinfo Fri Nov 15 13:26:02 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.89 2019/11/05 17:20:22 ryoon Exp $
+$NetBSD: distinfo,v 1.90 2019/11/15 13:26:02 ryoon Exp $
 
 SHA1 (libreoffice/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz) = 452eba922e4f41603539c9dc39947d2271e47093
 RMD160 (libreoffice/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz) = dbeb7a7f8c89961ca2e544b810345d025561866b
@@ -228,7 +228,7 @@
 SHA1 (patch-external_mariadb-connector-c_UnpackedTarball__mariadb-connector-c.mk) = 01798842e3f573f627be31660195edbac802df89
 SHA1 (patch-external_mariadb-connector-c_netbsd.patch) = e20e0cc58153b865551a8dd2819fb141f20fcb8d
 SHA1 (patch-external_pdfium_UnpackedTarball__pdfium.mk) = e82cdef5c7636ca3340589cf1e258cc4555c8346
-SHA1 (patch-external_pdfium_pkgsrc.patch.1) = a6cc25ff3e8b584c9f79024e2cdbd1315c308ec1
+SHA1 (patch-external_pdfium_pkgsrc.patch.1) = 717498751eaec46dce39e50c4a41b13f6d423885
 SHA1 (patch-external_postgresql_ExternalProject__postgresql.mk) = 48e68ff43b971996f81985ee79d71f7b83cce428
 SHA1 (patch-i18npool_source_breakiterator_breakiterator_unicode.cxx) = 0a784bced0874b3ef7cc3b6ff19a865e0d64ce49
 SHA1 (patch-i18npool_source_collator_collator_unicode.cxx) = 853367cf9a4be70c5d0de44a82e6fadc70e40ea6
diff -r 6fa6e56bda71 -r 664465139b47 misc/libreoffice/patches/patch-external_pdfium_pkgsrc.patch.1
--- a/misc/libreoffice/patches/patch-external_pdfium_pkgsrc.patch.1     Fri Nov 15 11:10:59 2019 +0000
+++ b/misc/libreoffice/patches/patch-external_pdfium_pkgsrc.patch.1     Fri Nov 15 13:26:02 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-external_pdfium_pkgsrc.patch.1,v 1.2 2019/11/05 17:20:22 ryoon Exp $
+$NetBSD: patch-external_pdfium_pkgsrc.patch.1,v 1.3 2019/11/15 13:26:02 ryoon Exp $
 
 * Support NetBSD
 * Do no conflict with FreeType 2.10.1 from pkgsrc
@@ -25,7 +25,7 @@
 +   FT_EXPORT_DEF( FT_UInt )
 +   FT_Get_Name_Index( FT_Face     face,
 +-                     FT_String*  glyph_name )
-++                     const FT_String*  glyph_name )
+++                     _FT_CONST FT_String*  glyph_name )
 +   {
 +     FT_UInt  result = 0;
 + 
@@ -36,7 +36,7 @@
 +   FT_EXPORT( FT_UInt )
 +   FT_Get_Name_Index( FT_Face     face,
 +-                     FT_String*  glyph_name );
-++                     const FT_String*  glyph_name );
+++                     _FT_CONST FT_String*  glyph_name );
 + 
 + 
 +   /**************************************************************************



Home | Main Index | Thread Index | Old Index