Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice/files/
Date: Sun, 18 Oct 2020 16:24:01
Message-Id: 1603038224.6a41f1fea474953d8ce4084237b5fc39e3310c01.asturm@gentoo
1 commit: 6a41f1fea474953d8ce4084237b5fc39e3310c01
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 18 16:23:36 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 18 16:23:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a41f1fe
7
8 app-office/libreoffice: Drop unused patches
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../files/libreoffice-5.4-system-pyuno.patch | 42 ----------------------
14 .../files/libreoffice-6.4.2.2-poppler-0.86.patch | 15 --------
15 2 files changed, 57 deletions(-)
16
17 diff --git a/app-office/libreoffice/files/libreoffice-5.4-system-pyuno.patch b/app-office/libreoffice/files/libreoffice-5.4-system-pyuno.patch
18 deleted file mode 100644
19 index 83b56d1a192..00000000000
20 --- a/app-office/libreoffice/files/libreoffice-5.4-system-pyuno.patch
21 +++ /dev/null
22 @@ -1,42 +0,0 @@
23 ---- a/desktop/scripts/soffice.sh
24 -+++ a/desktop/scripts/soffice.sh
25 -@@ -147,6 +147,9 @@ if echo "$checks" | grep -q "cc" ; then
26 - exit 1;
27 - fi
28 -
29 -+PYTHONPATH=$sd_prog${PYTHONPATH+:$PYTHONPATH}
30 -+export PYTHONPATH
31 -+
32 - case "$(uname -s)" in
33 - NetBSD|OpenBSD|DragonFly)
34 - # this is a temporary hack until we can live with the default search paths
35 ---- a/pyuno/source/module/uno.py
36 -+++ a/pyuno/source/module/uno.py
37 -@@ -16,11 +16,16 @@
38 - # except in compliance with the License. You may obtain a copy of
39 - # the License at http://www.apache.org/licenses/LICENSE-2.0 .
40 - #
41 -+import os
42 - import pyuno
43 - import sys
44 - import traceback
45 - import warnings
46 -
47 -+sys.path.append('%eprefix%/usr/%libdir%/libreoffice/program')
48 -+if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
49 -+ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:%eprefix%/usr/%libdir%/libreoffice/program/fundamentalrc"
50 -+
51 - # since on Windows sal3.dll no longer calls WSAStartup
52 - import socket
53 -
54 ---- a/pyuno/source/officehelper.py
55 -+++ a/pyuno/source/officehelper.py
56 -@@ -45,7 +45,7 @@ def bootstrap():
57 - if "UNO_PATH" in os.environ:
58 - sOffice = os.environ["UNO_PATH"]
59 - else:
60 -- sOffice = "" # lets hope for the best
61 -+ sOffice = "%eprefix%/usr/%libdir%/libreoffice/program"
62 - sOffice = os.path.join(sOffice, "soffice")
63 - if platform.startswith("win"):
64 - sOffice += ".exe"
65
66 diff --git a/app-office/libreoffice/files/libreoffice-6.4.2.2-poppler-0.86.patch b/app-office/libreoffice/files/libreoffice-6.4.2.2-poppler-0.86.patch
67 deleted file mode 100644
68 index c56ba89ade5..00000000000
69 --- a/app-office/libreoffice/files/libreoffice-6.4.2.2-poppler-0.86.patch
70 +++ /dev/null
71 @@ -1,15 +0,0 @@
72 -diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
73 -index e9c2a407c279..16ad04bf660a 100644
74 ---- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
75 -+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
76 -@@ -563,7 +563,9 @@ void PDFOutDev::processLink(Link* link, Catalog*)
77 - if (!(pAction && pAction->getKind() == actionURI))
78 - return;
79 -
80 --#if POPPLER_CHECK_VERSION(0, 72, 0)
81 -+#if POPPLER_CHECK_VERSION(0, 86, 0)
82 -+ const char* pURI = static_cast<LinkURI*>(pAction)->getURI().c_str();
83 -+#elif POPPLER_CHECK_VERSION(0, 72, 0)
84 - const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->c_str();
85 - #else
86 - const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString();