mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libreoffice-still to 7.2.5-5
This commit is contained in:
parent
1ceb7ac17e
commit
7fa18b1ac1
2 changed files with 33 additions and 1 deletions
|
@ -19,7 +19,7 @@ pkgbase=libreoffice-still
|
||||||
pkgname=('libreoffice-still-sdk' 'libreoffice-still')
|
pkgname=('libreoffice-still-sdk' 'libreoffice-still')
|
||||||
_LOver=7.2.5.2
|
_LOver=7.2.5.2
|
||||||
pkgver=7.2.5
|
pkgver=7.2.5
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('LGPL3')
|
license=('LGPL3')
|
||||||
url="https://www.libreoffice.org/"
|
url="https://www.libreoffice.org/"
|
||||||
|
@ -65,6 +65,7 @@ source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
|
||||||
${_additional_source_url2}/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar # for test suite
|
${_additional_source_url2}/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar # for test suite
|
||||||
${_additional_source_url2}/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
|
${_additional_source_url2}/f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf
|
||||||
${_additional_source_url2}/185d60944ea767075d27247c3162b3bc-unowinreg.dll
|
${_additional_source_url2}/185d60944ea767075d27247c3162b3bc-unowinreg.dll
|
||||||
|
poppler-22.03.0.patch
|
||||||
make-pyuno-work-with-system-wide-module-install.diff
|
make-pyuno-work-with-system-wide-module-install.diff
|
||||||
mdds-2.0-and-orcus-0.17.diff
|
mdds-2.0-and-orcus-0.17.diff
|
||||||
0001_drop_the_SolarMutex_before_QApplication.patch
|
0001_drop_the_SolarMutex_before_QApplication.patch
|
||||||
|
@ -116,6 +117,7 @@ sha256sums=('67c1bfb059d433286b0252a915627b33af63bb5f4b6ec9509d13b9dd475512a7'
|
||||||
'984f2a479df79e27e7b01a5815ac53ae64e07746b882262d8a64566494515504'
|
'984f2a479df79e27e7b01a5815ac53ae64e07746b882262d8a64566494515504'
|
||||||
'f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140'
|
'f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140'
|
||||||
'eafde646a7dbe46d20c291685b0beac2382174d78d66ee990e229a1bf6e6cec6'
|
'eafde646a7dbe46d20c291685b0beac2382174d78d66ee990e229a1bf6e6cec6'
|
||||||
|
'e61e2a266c7a4374377475254a2f095c1ce2376980b301955a4e5a0d32d3c25b'
|
||||||
'c463654a73ecfbc242ff109726fb4faecdbfb3d91affafe919b24bea65afb563'
|
'c463654a73ecfbc242ff109726fb4faecdbfb3d91affafe919b24bea65afb563'
|
||||||
'fd73edaa09a48e2b2c4f4f32af68f1ef01cc181d49a5dfc1f65a5ad4883d7db8'
|
'fd73edaa09a48e2b2c4f4f32af68f1ef01cc181d49a5dfc1f65a5ad4883d7db8'
|
||||||
'81a8551aaea0ab1750d36fb8bfbd04340a43eaab349a43c1384d21ef6504ab47'
|
'81a8551aaea0ab1750d36fb8bfbd04340a43eaab349a43c1384d21ef6504ab47'
|
||||||
|
@ -140,6 +142,8 @@ prepare() {
|
||||||
rm "${srcdir}"/ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll
|
rm "${srcdir}"/ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll
|
||||||
cp -f "${srcdir}"/185d60944ea767075d27247c3162b3bc-unowinreg.dll "${srcdir}"/ext_sources
|
cp -f "${srcdir}"/185d60944ea767075d27247c3162b3bc-unowinreg.dll "${srcdir}"/ext_sources
|
||||||
|
|
||||||
|
patch -Np1 -i "${srcdir}"/poppler-22.03.0.patch
|
||||||
|
|
||||||
# fix not upstreamable pyuno paths - FS#54250
|
# fix not upstreamable pyuno paths - FS#54250
|
||||||
patch -Np1 -i "${srcdir}"/make-pyuno-work-with-system-wide-module-install.diff
|
patch -Np1 -i "${srcdir}"/make-pyuno-work-with-system-wide-module-install.diff
|
||||||
|
|
||||||
|
|
28
extra/libreoffice-still/poppler-22.03.0.patch
Normal file
28
extra/libreoffice-still/poppler-22.03.0.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
diff --git a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
|
||||||
|
index ad6320139..e5f6d9c68 100644
|
||||||
|
--- a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
|
||||||
|
+++ b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
|
||||||
|
@@ -138,6 +138,15 @@ int main(int argc, char **argv)
|
||||||
|
_setmode( _fileno( g_binary_out ), _O_BINARY );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if POPPLER_CHECK_VERSION(22, 3, 0)
|
||||||
|
+ PDFDoc aDoc( std::make_unique<GooString>(pFileName),
|
||||||
|
+ GooString(pOwnerPasswordStr),
|
||||||
|
+ GooString(pUserPasswordStr) );
|
||||||
|
+
|
||||||
|
+ PDFDoc aErrDoc( std::make_unique<GooString>(pErrFileName),
|
||||||
|
+ GooString(pOwnerPasswordStr),
|
||||||
|
+ GooString(pUserPasswordStr) );
|
||||||
|
+#else
|
||||||
|
PDFDoc aDoc( pFileName,
|
||||||
|
pOwnerPasswordStr,
|
||||||
|
pUserPasswordStr );
|
||||||
|
@@ -145,6 +154,7 @@ int main(int argc, char **argv)
|
||||||
|
PDFDoc aErrDoc( pErrFileName,
|
||||||
|
pOwnerPasswordStr,
|
||||||
|
pUserPasswordStr );
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
// Check various permissions for aDoc.
|
||||||
|
PDFDoc &rDoc = aDoc.isOk()? aDoc: aErrDoc;
|
Loading…
Reference in a new issue