e93b187468
Changelog: 6.3.4.2 List of fixed bugs Bugs fixed compared to 6.3.4 rc1: rhbz#1775544 [abrt] libreoffice-core: (anonymous namespace)::signalHandlerFunction(): soffice.bin killed by SIGABRT [Caolán McNamara] tdf#99711 Sidebar Position and Size displays incorrect width and height when units in mm [Caolán McNamara] tdf#124513 Calc: Unable to reference cells in another workbook using mouse from Function Wizard [Caolán McNamara] tdf#127403 BASIC editor: black code after select [Jan-Marek Glogowski] tdf#128499 FILESAVE: DOC: Formatting in TOC is lost after RT [László Németh] tdf#128598 FILEOPEN: Certain syntax of opening file from samba share results in Document in Use dialog [Stephan Bergmann] tdf#128659 Cannot add AutoCorrect entries once the user/autocorr/acor_xx-XX.dat file is created [Noel Grandin] tdf#128698 MySQL/MariaDB direct Connection: time-values not written to table [Julien Nabet] tdf#128748 Endless loop with query parameter on wrong input [Caolán McNamara] tdf#128845 EDITING: cannot modify a bibliography entry after creating it [Noel Grandin] tdf#128862 CRASH: Unable to open tables in HSQLDB odb-files with apostrophe " ' " character in table name [Julien Nabet] tdf#128898 import text from file with text-decode failed [Noel Grandin] tdf#128985 FILESAVE, FILEOPEN: Style text directionss revert to RTL on save and re-open [Tamás Zolnai] tdf#129027 The Manage Names dialog is no longer resizable in LibreOffice 6.3.3 [Caolán McNamara, Xisco Fauli] tdf#129107 Objects in Array and Other Variables Disappear After Redimensioning [Noel Grandin] tdf#129191 FORMATTING: Default font for headers/footers in CSV-like file changed from 6.3.3 and up [Caolán McNamara] 6.3.4.1 List of fixed bugs Bugs fixed compared to 6.3.3 (rc2): ofz#14989 Z_NEED_DICT related infinite loop [Caolán McNamara] ofz#18454 bad-cast to SwDrawContact from SwFlyDrawContact [Caolán McNamara] ofz#18467 check against end of buffer [Caolán McNamara] ofz#18646 ensure we are inside valid range [Caolán McNamara] ofz#18683 NotifyFreeObj override is not helpful [Caolán McNamara] ofz#19010 wrong start of range [Caolán McNamara] rhbz#1766990 [abrt] libreoffice-core: (anonymous namespace)::signalHandlerFunction(): soffice.bin killed by SIGABRT [Caolán McNamara] rhbz#1773525 The number of saved searches in the Find & Replace dialog does not change from default of 10 when edited. [Caolán McNamara] tdf#42112 EMF+ Fileopen: Embedded grouped diagram from particular DOC still doesn't preview arrows correctly (diagram opens fine if extracted from MSO) [Bartosz Kosiorek] tdf#42316 Creating a new document from a template removes the signature from all Macros [Jan-Marek Glogowski] tdf#49813 Enhanced autofilter popup window (Data > Filter > Auto Filter) should be resizeable (too narrow) (width too small) [Caolán McNamara] tdf#79007 FILEOPEN PPTX Shapes with washout mode are not displayed [Xisco Fauli] tdf#93300 Style formatting overrides direct formatting when using conditional formatting [Eike Rathke] tdf#97038 FILEOPEN DOCX Image aligned to page instead of table [Xisco Fauli] tdf#99115 SVG Insert: Styles defined globally (with *) aren't handle correctly [Xisco Fauli] tdf#103092 FILESAVE: Calc: wrong position for rotated pictures to 270 degree after save [Regina Henschel] tdf#104017 FILESAVE: DOC: New rows are displayed on table after RT [Miklos Vajna] tdf#108350 DOCX files must use C-fonts on IMPORT by default [Justin Luth] tdf#108452 UI: the curve tool pointer is invisible on a black background (GTK3) [Caolán McNamara] tdf#109219 Mailmerge: cannot use CSV with space in the file name as Address List with MM Wizard [Michael Weghorn] tdf#115967 Distorted formulas on printing to PDF or exporting to PDF for RTL text [Xisco Fauli] tdf#116071 FILESAVE: .doc style is lost after saving file as .odt [Justin Luth] tdf#117658 equations appear twice in pptx import [Miklos Vajna] tdf#117715 Settings from Conditional formatting should overwrite direct formatting (only number formatting remained in Comment 4) [Eike Rathke] tdf#118036 FILEOPEN: horizontal line in background is missing [Luke Deller] tdf#120315 FILEOPEN DOCX: Incorrect merged cells in writer table [Bakos Attila] tdf#121661 FILESAVE DOCX Hyphenation zone created with Word resets default value [Samuel Mehrbrodt] tdf#121963 button flashing - mouse wheel zooming breaks [Armin Le Grand] tdf#122232 UI: Pressing Enter in a protected sheet doesn't jump to next row in every case [Eike Rathke] tdf#122570 Doesn't work Enter key in Autofilter window in Calc [Jim Raykowski] tdf#123266 Improve the cursor/pointer images [Rizal Muttaqin] tdf#123851 Crash on start with KDE integration installed [Jan-Marek Glogowski] tdf#123926 Clip-path elements of imported/inserted SVG images aren't displayed correctly [Xisco Fauli] tdf#124267 User interface toolbar: shortcut key not rendered for Save as button enabled in toolbar [Caolán McNamara] tdf#124270 Editing: Err:522 on copying of rows with "Calc: threaded" enabled ( steps in comment 6 ) [Dennis Francis] tdf#124367 FILEOPEN DOCX table cell content flow changes [Bakos Attila] tdf#124708 CRASH: Selecting all and deleting [Muhammet Kara] tdf#124729 Impress reliably crashes on THIS PowerPoint document in Linux [Caolán McNamara] tdf#124770 FILEOPEN DOCX: Wrong horizontal spacing [Miklos Vajna] tdf#124986 FILEOPEN DOCX: "text:variable-set" field has trailing quotation marks in "office:string-value" [brinzing] tdf#125038 specific DOCX: additional entries from MERGEFIELD not visible in Word are shown in LO Writer [Miklos Vajna] tdf#125449 Changing percent gradient or color changes chart wall gradient color to black and white [Gabor Kelemen, Katarina Behrens] tdf#125778 FILESAVE DOCX Page break before TOC disappears [Justin Luth] tdf#125917 calc freezes when using data validity [Caolán McNamara] tdf#126021 Calc - the time required to save some files (in xls or xlsx format) is up to 20x longer in 6.2.4 versus 6.1.6 [Noel Grandin] tdf#126060 PPTX: FILEOPEN: Vertical text shown horizontally [GülÅah Köse] tdf#126293 Save icon changes size when document gets modified [Michael Meeks] tdf#126324 PPTX: FILEOPEN: what's shown as a past year in MSO is shown as today's date in LO [Tamas Bunth] tdf#126767 Autofill doesn't overwrite data in continuously filled cells [Eike Rathke] tdf#126942 Headings in Navigator Flicker [Jim Raykowski] tdf#126994 When I make any modification in a .docx file from Microsoft Office 2013, the page break is lost [Justin Luth] tdf#127129 FILEOPEN PPTX: font highlight is lost in table cells [Xisco Fauli] tdf#127164 Undo list is populated wrongly with "Delete slides" actions [Mike Kaganski] tdf#127317 Make text of tips of the day selectable [Heiko Tietze] tdf#127411 Broken mouse status in Impress status bar [Noel Grandin] tdf#127412 FILEOPEN: ODT: z-order of shapes is interpredactDoc uno command [Rizal Muttaqin] tdf#127645 LibreOffice Crashes or Freezes, if an Update of an Extension is Available [Caolán McNamara] tdf#127741 FILEOPEN DOCX Hyperlink made in Word does not change color when clicked on in Writer [Tünde TÃter Slides and Close, as it used to, but returns to 1 during presentation [Samuel Mehrbrodt] tdf#127961 Auto-correction append/prepend NNBS (U+202F) to « » for correct typography of French language double quotation use [Eike Rathke] tdf#127964 Fit used to work as in Excel previously [Eike Rathke] tdf#127993 Correct word in spell check is greyed out in 6.3.2.2. making it difficult to read [Caolán McNamara] tdf#127994 Tip of the day dialog get resized horizontally on every tip (gtk3) [Heiko Tietze] tdf#128010 'JRE Required' message pops up when assigning BASIC Macro to customized menu. [Mike Kaganski] tdf#128016 FILEOPEN DOCX: Category labels are duplicated. [Balazs Varga] tdf#128077 Always reproducible complete crash/lock of all LibreOffice windows - data loss! [Noel Grandin] tdf#128096 FILESAVE: PPTX: Highlight not saved [Xisco Fauli] tdf#128104 macOS: Spell checker dialog in Writer does not accept non-US keyboard entries, e.g., äöü [Caolán McNamara] tdf#128111 pg_attrdef.adrsrc doesn't exist anymore from postgresql 12 [Julien Nabet] tdf#128130 UI: shortcuts missing for sections Options and Source and Destination in dialog Pivot Table Layout [Caolán McNamara] tdf#128137 UI: Editing the field "Range or formula expression" of dialog Manage Names is broken: cursor jumps to start and more... [Caolán McNamara] tdf#128148 Mail merge: Fields in headers not correctly replaced if header only from page 2 on [Michael Weghorn] tdf#128218 FunctionAccess.callFunction returns object type where 'Double' result is expected. [Eike Rathke] tdf#128230 Disabling of password protected change tracking is possible [Gabor Kelemen] tdf#128313 LibreOffice Calc Editing Find&replace results in Failure to respond - Program hangs [Caolán McNamara] tdf#128318 [l10n] Not translatable button label in paragraph style dialog [Caolán McNamara] tdf#128335 CRASH: cutting textboxes [Miklos Vajna] tdf#128359 Assertion failure when inserting column after the last one [Eike Rathke] tdf#128393 gtk3: insert -> fields -> more fields crashes [Caolán McNamara] tdf#128399 FILEOPEN DOCX: Can't select text in table with rotated text [Miklos Vajna] tdf#128431 Synchronize padding in header borders it is not working [Jim Raykowski] tdf#128434 Memory leak when converting many documents from *.docx to *.pdf [Jan-Marek Glogowski] tdf#128441 Crash in: mergedlo.dll (nvidia with device 0x2182 + Win10) [Julien Nabet] tdf#128447 XLSX: comment is displayed by default even without the <x:Visible/> tag [Justin Luth] tdf#128454 There is no easy way to delete a table in impress on iOS [Tor Lillqvist] tdf#128460 Exported Writer input fields are not imported correctly from docx [Jan-Marek Glogowski] tdf#128476 Active Window drop-down in Navigation View Hogs Screen [Caolán McNamara] tdf#128495 Print dialog box in Writer is too tall for screen so the button is off the bottom [Caolán McNamara] tdf#128504 FILESAVE: ODT: Text becomes an hyperlink after RT [Tünde Tóth] tdf#128530 (Korean Version Only) Two icons have reversed each other. [Julien Nabet] tdf#128538 Restart in safe mode: Open containig folder doesn't work and Show user profile gets a error message [Stephan Bergmann] tdf#128603 CRASH: Cutting a textbox in a reopened document [Miklos Vajna] tdf#128608 FILEOPEN: DOC: Row in table has incorrect background color [Justin Luth] tdf#128625 UI Multiple radio buttons selected in Error Bars dialog (non-gtk3) [Gabor Kelemen, Caolán McNamara] tdf#128631 GTK3: No mouse interaction with security warning dialog in embedded file [Caolán McNamara] tdf#128632 FILEOPEN: Image in embedded file not displayed at import time [Miklos Vajna] tdf#128649 FILESAVE: XLSX: Calc save to xlsx flawed [Eike Rathke] tdf#128679 Missing 32px*32px (Extra Large) Colibre Korean Icon [Rizal Muttaqin] tdf#128689 Request to Localize More Formatting Icons into Korean UI [Rizal Muttaqin] tdf#128700 Fileopen DOC: table content from header not shown due to table width [Justin Luth] tdf#128710 Extension hangs under VCLPLUGIN=kf5 [Jan-Marek Glogowski] tdf#128748 Endless loop with query parameter on wrong input [Caolán McNamara] tdf#128758 Scrollbar in Extension Manager doesn't appear at first [Caolán McNamara] tdf#128802 customize toolbar with drag and drop causes crash [Caolán McNamara] tdf#128811 Alignment option "Distributed" not working in calc. [Caolán McNamara] tdf#128812 LibreOffice - calc - specific xlsx document (almost) any operation (FILEOPEN, FORMATTING) takes about 1 min [Noel Grandin]
419 lines
15 KiB
Makefile
419 lines
15 KiB
Makefile
# $NetBSD: Makefile,v 1.216 2019/12/28 23:31:47 ryoon Exp $
|
|
|
|
VERREL= 6.3.4
|
|
VERRC= 2
|
|
VER= ${VERREL}.${VERRC}
|
|
DISTNAME= libreoffice-${VER}
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${VERREL}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://www.libreoffice.org/
|
|
COMMENT= Office productivity suite from The Document Foundation
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
USE_LANGUAGES= c gnu++11
|
|
|
|
SUBST_CLASSES+= use-bash
|
|
SUBST_STAGE.use-bash= pre-configure
|
|
SUBST_MESSAGE.use-bash= Using bash for configure script
|
|
SUBST_FILES.use-bash+= autogen.sh
|
|
SUBST_FILES.use-bash+= configure.ac
|
|
SUBST_VARS.use-bash+= BASH
|
|
SUBST_VARS.use-bash+= PREFIX
|
|
|
|
SUBST_CLASSES+= font-path
|
|
SUBST_STAGE.font-path= pre-configure
|
|
SUBST_MESSAGE.font-path= Use pkgsrc fonts for PDF import
|
|
SUBST_FILES.font-path+= external/pdfium/pkgsrc.patch.1
|
|
SUBST_VARS.font-path+= X11BASE
|
|
|
|
GCC_REQD+= 7
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
CHECK_BUILTIN.freetype2:= yes
|
|
.include "../../graphics/freetype2/builtin.mk"
|
|
CHECK_BUILTIN.freetype2:= no
|
|
.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
|
|
.endif
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
|
|
|
|
CHECK_SHLIBS_SUPPORTED= no
|
|
# configure will be regenerated.
|
|
CHECK_PORTABILITY_SKIP= configure
|
|
|
|
NOT_PAX_MPROTECT_SAFE+= ${PKGNAME_NOREV}/lib/libreoffice/program/soffice.bin
|
|
|
|
DIST_SUBDIR= libreoffice
|
|
|
|
LO_BOOTSTRAP= ${DISTNAME}
|
|
LO_COMPONENTS= dictionaries help translations
|
|
|
|
DISTFILES+= ${LO_BOOTSTRAP}${EXTRACT_SUFX}
|
|
EXTRACT_ONLY= ${LO_BOOTSTRAP}${EXTRACT_SUFX}
|
|
|
|
.for component in ${LO_COMPONENTS}
|
|
DISTFILES+= libreoffice-${component}-${VER}.tar.xz
|
|
EXTRACT_ONLY+= libreoffice-${component}-${VER}.tar.xz
|
|
.endfor
|
|
|
|
MORE_DISTFILES= \
|
|
breakpad.zip \
|
|
0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz \
|
|
liberation-narrow-fonts-ttf-1.07.6.tar.gz \
|
|
liberation-fonts-ttf-2.00.4.tar.gz \
|
|
907d6e99f241876695c19ff3db0b8923-source-code-pro-2.030R-ro-1.050R-it.tar.gz \
|
|
edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz \
|
|
source-serif-pro-3.000R.tar.gz \
|
|
xmlsec1-1.2.28.tar.gz \
|
|
3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip \
|
|
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip \
|
|
39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip \
|
|
3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip \
|
|
commons-logging-1.2-src.tar.gz \
|
|
a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz \
|
|
8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip \
|
|
97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip \
|
|
a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip \
|
|
ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip \
|
|
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip \
|
|
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip \
|
|
d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip \
|
|
beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip \
|
|
e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip \
|
|
eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip \
|
|
33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip \
|
|
f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip \
|
|
b63e6340a02ff1cacfeadb2c42286161-JLanguageTool-1.7.0.tar.bz2 \
|
|
a233181e03d3c307668b4c722d881661-mariadb_client-2.0.0-src.tar.gz \
|
|
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip \
|
|
368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz \
|
|
language-subtag-registry-2018-04-23.tar.bz2 \
|
|
libeot-0.01.tar.bz2 \
|
|
postgresql-9.2.24.tar.bz2 \
|
|
graphite2-minimal-1.3.10.tgz \
|
|
1725634df4bb3dcb1b2c91a6175f8789-GentiumBasic_1102.zip \
|
|
EmojiOneColor-SVGinOT-1.3.tar.gz \
|
|
libjpeg-turbo-1.5.3.tar.gz \
|
|
alef-1.001.tar.gz \
|
|
c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz \
|
|
culmus-0.131.tar.gz \
|
|
ttf-kacst_2.01+mry.tar.gz \
|
|
libre-hebrew-1.0.tar.gz \
|
|
noto-fonts-20171024.tar.gz \
|
|
Scheherazade-2.100.zip \
|
|
lxml-4.1.1.tgz \
|
|
Amiri-0.111.zip \
|
|
ReemKufi-0.7.zip \
|
|
pdfium-3794.tar.bz2
|
|
|
|
.for md in ${MORE_DISTFILES}
|
|
DISTFILES+= ${md}
|
|
SITES.${md}= https://dev-www.libreoffice.org/src/
|
|
.endfor
|
|
|
|
MORE_DISTFILES2+= 884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf
|
|
SITES.884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf= https://dev-www.libreoffice.org/extern/
|
|
|
|
.include "../../graphics/librsvg/available.mk"
|
|
.if ${LIBRSVG_TYPE} == "c" || make(distinfo) || make(mdi)
|
|
MORE_DISTFILES2+= harfbuzz-2.6.4.tar.xz
|
|
SITES.harfbuzz-2.6.4.tar.xz= https://www.freedesktop.org/software/harfbuzz/release/
|
|
.endif
|
|
|
|
.for md2 in ${MORE_DISTFILES2}
|
|
DISTFILES+= ${md2}
|
|
.endfor
|
|
|
|
.include "options.mk"
|
|
|
|
# tar: Invalid header, starting valid header search.
|
|
EXTRACT_USING= gtar
|
|
|
|
WRKSRC= ${WRKDIR}/${LO_BOOTSTRAP}
|
|
|
|
BUILD_DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
|
|
# dmake scripts use relative path with -rpath-link ld arguments, which
|
|
# is a no-go with normal pkgsrc wrappers.
|
|
# dmake is slowly beeing removed from the LibreOffice build process
|
|
# and this option will hopefully become unneeded in the future
|
|
WRAPPER_SKIP_TRANSFORM= yes
|
|
|
|
LDFLAGS+= -lboost_system
|
|
|
|
USE_LIBTOOL= yes
|
|
# Use GNU find from findutils.
|
|
TOOLS_PLATFORM.find= # empty
|
|
# GUN tar is really needed. Some Makefiles depends on GNUTAR.
|
|
USE_TOOLS+= automake bash bison gmake gtar
|
|
USE_TOOLS+= msgfmt perl pkg-config unzip zip
|
|
PTHREAD_OPTS+= require
|
|
|
|
HAS_CONFIGURE= yes
|
|
#GNU_CONFIGURE= yes
|
|
|
|
CXXFLAGS.NetBSD+= -DNO_CPLUSPLUS_ALLOCA
|
|
|
|
# Do not use /tmp, outside of WRKSRC.
|
|
CONFIGURE_ENV+= TMPDIR=${WRKSRC}/tmp
|
|
CONFIGURE_ENV+= ANT_LIB=${LOCALBASE}/lib/java/ant
|
|
|
|
MAKE_JOBS_SAFE= no # --with-parallelism conficts with -jN
|
|
.if !empty(MAKE_JOBS)
|
|
CONFIGURE_ARGS+= --with-parallelism=${MAKE_JOBS}
|
|
.else
|
|
CONFIGURE_ARGS+= --with-parallelism=1
|
|
.endif
|
|
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}/${PKGNAME_NOREV}
|
|
CONFIGURE_ARGS+= --disable-ccache
|
|
CONFIGURE_ARGS+= --enable-dbus
|
|
CONFIGURE_ARGS+= --disable-epm
|
|
CONFIGURE_ARGS+= --disable-fetch-external
|
|
CONFIGURE_ARGS+= --disable-firebird-sdbc
|
|
CONFIGURE_ARGS+= --disable-odk
|
|
CONFIGURE_ARGS+= --disable-sdremote-bluetooth
|
|
# Enabling GIO causes error. losessioninstall.component not found.
|
|
CONFIGURE_ARGS+= --disable-gio
|
|
# Use PDFium instead of poppler for PDF import since 6.3.2.2nb1
|
|
CONFIGURE_ARGS+= --enable-pdfium --disable-poppler
|
|
CONFIGURE_ARGS+= --enable-gstreamer-1-0
|
|
CONFIGURE_ARGS+= --enable-python=system
|
|
#CONFIGURE_ARGS+= --enable-release-build
|
|
CONFIGURE_ARGS+= --enable-ext-wiki-publisher
|
|
CONFIGURE_ARGS+= --enable-ext-nlpsolver
|
|
CONFIGURE_ARGS+= --with-system-gpgmepp
|
|
CONFIGURE_ARGS+= --without-system-jpeg
|
|
CONFIGURE_ARGS+= --without-system-postgresql
|
|
CONFIGURE_ARGS+= --without-system-xmlsec
|
|
CONFIGURE_ARGS+= --with-compat-oowrappers
|
|
CONFIGURE_ARGS+= --with-external-tar=${WRKSRC}/src
|
|
CONFIGURE_ARGS+= --with-fonts
|
|
CONFIGURE_ARGS+= --with-lang="ALL"
|
|
CONFIGURE_ARGS+= --with-myspell-dicts
|
|
CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}/lib
|
|
CONFIGURE_ARGS+= --with-system-libs
|
|
CONFIGURE_ARGS+= --with-system-dicts
|
|
CONFIGURE_ARGS+= --with-vendor="pkgsrc"
|
|
CONFIGURE_ARGS+= --with-tls="nss"
|
|
CONFIGURE_ARGS+= --without-doxygen
|
|
CONFIGURE_ARGS+= --without-junit
|
|
CONFIGURE_ARGS+= --without-krb5
|
|
CONFIGURE_ARGS+= --without-gssapi
|
|
CONFIGURE_ARGS+= --without-system-apache-commons
|
|
CONFIGURE_ARGS+= --with-system-cppunit
|
|
# gengal.bin segfault, in runtime same problem causes application error.
|
|
#CONFIGURE_ARGS+= --without-galleries
|
|
# internal sane should be used because only header files are used.
|
|
CONFIGURE_ARGS+= --without-system-sane
|
|
# Use internal harfbuzz because fonts/harfbuzz has no graphite2 support.
|
|
.if ${LIBRSVG_TYPE} == "rust"
|
|
CONFIGURE_ARGS+= --with-system-harfbuzz
|
|
CONFIGURE_ARGS+= --with-system-graphite
|
|
.else
|
|
CONFIGURE_ARGS+= --without-system-harfbuzz
|
|
CONFIGURE_ARGS+= --without-system-graphite
|
|
.endif
|
|
# sbin might not be in PATH
|
|
CONFIGURE_ARGS+= ac_cv_path_SYSTEM_GENCCODE=${BUILDLINK_PREFIX.icu}/sbin/genccode
|
|
CONFIGURE_ARGS+= ac_cv_path_SYSTEM_GENCMN=${BUILDLINK_PREFIX.icu}/sbin/gencmn
|
|
|
|
# more REPLACE_PERL are needed.
|
|
REPLACE_PERL= sd/res/webview/editpic.pl
|
|
REPLACE_PERL+= sd/res/webview/poll.pl
|
|
REPLACE_PERL+= sd/res/webview/savepic.pl
|
|
REPLACE_PERL+= sd/res/webview/show.pl
|
|
REPLACE_PERL+= sd/res/webview/webcast.pl
|
|
|
|
LO_PROGRAMS= libreoffice lobase localc lodraw loffice
|
|
LO_PROGRAMS+= lofromtemplate loimpress lomath loweb lowriter
|
|
# Base depends on java, we don't install the icon
|
|
LO_DESKTOP_FILES= calc.desktop draw.desktop impress.desktop math.desktop \
|
|
startcenter.desktop writer.desktop
|
|
|
|
#OBJDIR= pkgsrcbuild
|
|
#CONFIGURE_DIRS= ${OBJDIR}
|
|
CONFIGURE_SCRIPT= ${WRKSRC}/autogen.sh
|
|
|
|
#LD_LIBRARY_PATH+= ${WRKSRC}/instdir/sdk/lib:${WRKSRC}/instdir/ure/lib:${WRKSRC}/instdir/program
|
|
|
|
MAKE_ENV+= ROOT_USER=${ROOT_USER}
|
|
MAKE_ENV+= ROOT_GROUP=${ROOT_GROUP}
|
|
MAKE_ENV+= SHELL=${BASH}
|
|
#MAKE_ENV+= LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
|
|
BUILD_MAKE_FLAGS+= VERBOSE=true
|
|
#BUILD_MAKE_FLAGS+= GMAKE_OPTIONS+=-p
|
|
|
|
.if ${OPSYS} != "Linux"
|
|
BUILDLINK_TRANSFORM+= rm:-ldl
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin share/applications
|
|
|
|
.PHONY: debugrun
|
|
# For debugging
|
|
debugrun:
|
|
cd ${WRKSRC} && gmake debugrun
|
|
|
|
post-extract:
|
|
${MKDIR} -p ${WRKSRC}/src
|
|
.for md in ${MORE_DISTFILES} ${MORE_DISTFILES2}
|
|
${LN} -s ${DISTDIR}/${DIST_SUBDIR}/${md} ${WRKSRC}/src/${md}
|
|
.endfor
|
|
mkdir ${WRKSRC}/tmp
|
|
# mkdir ${WRKSRC}/${OBJDIR}
|
|
|
|
pre-configure: provide-python3
|
|
|
|
.PHONY: provide-python3
|
|
provide-python3:
|
|
# install phase uses python3 command
|
|
[ -h "${BUILDLINK_DIR}/bin/python3" ] || ${LN} -s ${PYTHONBIN} "${BUILDLINK_DIR}/bin/python3"
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && make DESTDIR="${DESTDIR}" PREFIXDIR="${PREFIX}" distro-pack-install
|
|
# make install cleans ${DESTDIR}${PREFIX}/*, so bin etc. are removed.
|
|
.for d in ${INSTALLATION_DIRS}
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
${MKDIR} ${d}
|
|
.endfor
|
|
|
|
UNO_PATH= ${PREFIX}/${PKGNAME}/lib/libreoffice/program
|
|
|
|
BUILD_DEFS+= UNO_PATH
|
|
BUILD_DEFS+= PYTHONBIN
|
|
|
|
post-install:
|
|
.for f in ${LO_PROGRAMS}
|
|
cd ${DESTDIR}${PREFIX}/bin && ${LN} -s ../${PKGNAME_NOREV}/bin/${f}
|
|
.endfor
|
|
# ${LN} -s ${DESTDIR}${PREFIX}/bin/soffice ${DESTDIR}${PREFIX}/bin/libreoffice
|
|
#.for f in ${LO_DESKTOP_FILES}
|
|
# cd ${DESTDIR}${PREFIX}/share/applications && ${LN} -s ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}/share/xdg/${f}
|
|
#.endfor
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../converters/libabw/buildlink3.mk"
|
|
.include "../../converters/libcdr/buildlink3.mk"
|
|
.include "../../converters/libe-book/buildlink3.mk"
|
|
.include "../../converters/libepubgen/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libetonyek+= libetonyek>=0.1.2
|
|
.include "../../converters/libetonyek/buildlink3.mk"
|
|
.include "../../converters/libfreehand/buildlink3.mk"
|
|
.include "../../converters/librevenge/buildlink3.mk"
|
|
.include "../../converters/libmspub/buildlink3.mk"
|
|
.include "../../converters/libpagemaker/buildlink3.mk"
|
|
.include "../../converters/libqxp/buildlink3.mk"
|
|
.include "../../converters/libstaroffice/buildlink3.mk"
|
|
.include "../../converters/libvisio/buildlink3.mk"
|
|
.include "../../converters/libwpd/buildlink3.mk"
|
|
.include "../../converters/libwpg/buildlink3.mk"
|
|
.include "../../converters/libwps/buildlink3.mk"
|
|
.include "../../converters/libmwaw/buildlink3.mk"
|
|
.include "../../converters/libzmf/buildlink3.mk"
|
|
.include "../../converters/orcus/buildlink3.mk"
|
|
.include "../../databases/db4/buildlink3.mk"
|
|
.include "../../databases/mysql57-client/buildlink3.mk"
|
|
.include "../../databases/openldap-client/buildlink3.mk"
|
|
.include "../../databases/shared-mime-info/buildlink3.mk"
|
|
.include "../../databases/unixodbc/buildlink3.mk"
|
|
.include "../../devel/apr-util/buildlink3.mk"
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
|
.include "../../devel/cppunit/buildlink3.mk"
|
|
.include "../../devel/gperf/buildlink3.mk"
|
|
.include "../../devel/libexecinfo/buildlink3.mk"
|
|
.include "../../devel/liblangtag/buildlink3.mk"
|
|
.include "../../devel/mdds/buildlink3.mk"
|
|
.include "../../devel/nss/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
# hardbuzz with graphite2 support is required.
|
|
.if ${LIBRSVG_TYPE} == "rust"
|
|
#BUILDLINK_API_DEPENDS.harfbuzz+= harfbuzz>=1.4.2
|
|
.include "../../fonts/harfbuzz/buildlink3.mk"
|
|
.include "../../graphics/graphite2/buildlink3.mk"
|
|
.endif
|
|
# Requires JCS_EXT_BGRA
|
|
#.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/gdk-pixbuf2-xlib/buildlink3.mk"
|
|
.include "../../graphics/glew/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/glm/buildlink3.mk"
|
|
.include "../../graphics/lcms2/buildlink3.mk"
|
|
.include "../../graphics/libepoxy/buildlink3.mk"
|
|
.include "../../graphics/librsvg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
#.include "../../graphics/sane-backends/buildlink3.mk"
|
|
#.include "../../graphics/vigra/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/tool.mk"
|
|
.include "../../math/coinmp/buildlink3.mk"
|
|
.include "../../math/libnumbertext/buildlink3.mk"
|
|
.include "../../math/lp_solve/buildlink3.mk"
|
|
.include "../../multimedia/gstreamer1/buildlink3.mk"
|
|
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
|
|
.include "../../net/libcmis/buildlink3.mk"
|
|
.include "../../net/mDNSResponder/buildlink3.mk"
|
|
.if !empty(PKG_OPTIONS:Mcups)
|
|
.include "../../print/cups-base/buildlink3.mk"
|
|
.endif
|
|
# Use PDFium instead of poppler for PDF import since 6.3.2.2nb1
|
|
#.include "../../print/poppler-cpp/buildlink3.mk"
|
|
#.include "../../print/poppler-includes/buildlink3.mk"
|
|
.include "../../security/gpgme/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../textproc/hunspell/buildlink3.mk"
|
|
.include "../../textproc/hyphen/buildlink3.mk"
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
.include "../../textproc/libclucene/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.libodfgen+= libodfgen>=0.1.4
|
|
.include "../../textproc/libodfgen/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../textproc/redland/buildlink3.mk"
|
|
.include "../../textproc/libexttextcat/buildlink3.mk"
|
|
.include "../../textproc/mythes/buildlink3.mk"
|
|
.include "../../textproc/raptor2/buildlink3.mk"
|
|
.include "../../textproc/rasqal/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../www/neon/buildlink3.mk"
|
|
.include "../../www/serf/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXfixes/buildlink3.mk"
|
|
.include "../../x11/libXi/buildlink3.mk"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/pixman/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|