1 |
commit: 24e9c1dd16b659539872f9ac11c765b179d99d0b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 06:28:31 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 06:29:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e9c1dd |
7 |
|
8 |
app-office/libreoffice: Fix testTdf108947 |
9 |
|
10 |
Thanks-to: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
Closes: https://bugs.gentoo.org/656600 |
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
app-office/libreoffice/Manifest | 2 +- |
15 |
.../files/libreoffice-6.0.3.2-testTdf108947.patch | 13 +++++++++++++ |
16 |
app-office/libreoffice/libreoffice-6.0.3.2.ebuild | 1 + |
17 |
app-office/libreoffice/libreoffice-6.0.4.2.ebuild | 1 + |
18 |
app-office/libreoffice/libreoffice-6.0.9999.ebuild | 1 + |
19 |
5 files changed, 17 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest |
22 |
index fd4255c15c3..9001ff98b4c 100644 |
23 |
--- a/app-office/libreoffice/Manifest |
24 |
+++ b/app-office/libreoffice/Manifest |
25 |
@@ -13,4 +13,4 @@ DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 BLAKE2B f03c7ddeb53c5ca3fd234 |
26 |
DIST libreoffice-help-5.4.5.1.tar.xz 2343180 BLAKE2B bd36ecae88313b60e9ad220f8ce47185e070e275d873741e96a98fd6d2dbf546b579fc304c1931775de86734710d2b91542ee9c9749b6036fe8e443cfecb60ed SHA512 b3860dd592207f83b8c6613fdb42962a9e175f6e850282cef6380869add7fe81c7292fdd145f2e2616f8113e2c18f6ed60210d4a182c1be021d7a1db61c9d89d |
27 |
DIST libreoffice-help-5.4.7.2.tar.xz 2343112 BLAKE2B 690c147e8bfdea9d1860131ad8528e2e2eea64da7293c8b7c3a4ad07e771749573b69fb11bed8c8c171b5760ec67a0a3b30eab06e38e5a725ffc11d0959c71c6 SHA512 8abd0bbf70dcfd5cf0ad713c8d34be541ddd27cda98403cbb331b62a4099c08b14be784362b857a41b8b2c756d01e36f043b97bdd5062a2bddeae29b8b70f6a2 |
28 |
DIST libreoffice-help-6.0.3.2.tar.xz 2972952 BLAKE2B 90b62af89bbdec436e8ca5ede3aa8aa57109e22136d454850a108fd4aac1eace166432be8152d623b06ba9e04001a579b3200bbbd20caa1ac6c3b97026319dd3 SHA512 cb538553efd94c7a6f9059b6fb74351adba5449d7f4555558fd0337950528be2bbb7ddf7aaef4992eb18f432c42133d17bf8f0af9d3fe29eddd9d620ab847a40 |
29 |
-DIST libreoffice-help-6.0.4.2.tar.xz 2972636 BLAKE2B 0528ad30fc754269a94a4b2a0c9eab26ecb707b1e9a230686a982a24215fbc91016813fecef687499ee4cfb49228febbfbaaaff7371053d130adefd705a1bb49 SHA512 ebdfc93e8dd5e44b6fc5baa087c86777b91bb18008809dc493dd0ddaf143b26c50349f99cc884678cb6db3f8d60b615c9a816872e73ceddeec8be126d65d2651 |
30 |
+DIST libreoffice-help-6.0.4.2.tar.xz 699430 BLAKE2B b7ddf775f31efa9e5b033d9cd09d944b8104a1781699d87a7e90a83c94812fbc8ce33f588d3ec2bebede114bc69e57b91ecaabdb3f1e6212637f6ca888e46481 SHA512 20fe01479e13a493f264d441830be902534fbf57dcdcde66787512534d15df29519e88bb69da8781a7d95e81a72f9bb2dd94a435fcff9ca7ded346fcd6f1b090 |
31 |
|
32 |
diff --git a/app-office/libreoffice/files/libreoffice-6.0.3.2-testTdf108947.patch b/app-office/libreoffice/files/libreoffice-6.0.3.2-testTdf108947.patch |
33 |
new file mode 100644 |
34 |
index 00000000000..5973b6ae67c |
35 |
--- /dev/null |
36 |
+++ b/app-office/libreoffice/files/libreoffice-6.0.3.2-testTdf108947.patch |
37 |
@@ -0,0 +1,13 @@ |
38 |
+diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx |
39 |
+index 457aedce0acb..4f02cf2b4040 100644 |
40 |
+--- a/sw/qa/extras/rtfimport/rtfimport.cxx |
41 |
++++ b/sw/qa/extras/rtfimport/rtfimport.cxx |
42 |
+@@ -1352,7 +1352,7 @@ DECLARE_RTFIMPORT_TEST(testImportHeaderFooter, "tdf108055.rtf") |
43 |
+ DECLARE_RTFIMPORT_TEST(testTdf108947, "tdf108947.rtf") |
44 |
+ { |
45 |
+ //Check page count |
46 |
+- CPPUNIT_ASSERT_EQUAL(2, getPages()); |
47 |
++ CPPUNIT_ASSERT_EQUAL(1, getPages()); |
48 |
+ |
49 |
+ //Check if Headers/Footers contain what they should in this document |
50 |
+ uno::Reference<text::XText> xHeaderTextRight = getProperty<uno::Reference<text::XText>>( |
51 |
\ No newline at end of file |
52 |
|
53 |
diff --git a/app-office/libreoffice/libreoffice-6.0.3.2.ebuild b/app-office/libreoffice/libreoffice-6.0.3.2.ebuild |
54 |
index f2f3c1674e6..b95fd784f38 100644 |
55 |
--- a/app-office/libreoffice/libreoffice-6.0.3.2.ebuild |
56 |
+++ b/app-office/libreoffice/libreoffice-6.0.3.2.ebuild |
57 |
@@ -249,6 +249,7 @@ PATCHES=( |
58 |
|
59 |
# TODO: upstream |
60 |
"${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch" |
61 |
+ "${FILESDIR}/${PN}-6.0.3.2-testTdf108947.patch" #bug 656600 |
62 |
|
63 |
# gtk3-kde5 vcl plugin backported from master |
64 |
"${WORKDIR}"/${PATCHSET/.tar.xz/} |
65 |
|
66 |
diff --git a/app-office/libreoffice/libreoffice-6.0.4.2.ebuild b/app-office/libreoffice/libreoffice-6.0.4.2.ebuild |
67 |
index c29d9ffa33d..f50cbbd0996 100644 |
68 |
--- a/app-office/libreoffice/libreoffice-6.0.4.2.ebuild |
69 |
+++ b/app-office/libreoffice/libreoffice-6.0.4.2.ebuild |
70 |
@@ -248,6 +248,7 @@ PATCHES=( |
71 |
|
72 |
# TODO: upstream |
73 |
"${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch" |
74 |
+ "${FILESDIR}/${PN}-6.0.3.2-testTdf108947.patch" #bug 656600 |
75 |
|
76 |
# gtk3-kde5 vcl plugin backported from master |
77 |
"${WORKDIR}"/${PATCHSET/.tar.xz/} |
78 |
|
79 |
diff --git a/app-office/libreoffice/libreoffice-6.0.9999.ebuild b/app-office/libreoffice/libreoffice-6.0.9999.ebuild |
80 |
index c29d9ffa33d..f50cbbd0996 100644 |
81 |
--- a/app-office/libreoffice/libreoffice-6.0.9999.ebuild |
82 |
+++ b/app-office/libreoffice/libreoffice-6.0.9999.ebuild |
83 |
@@ -248,6 +248,7 @@ PATCHES=( |
84 |
|
85 |
# TODO: upstream |
86 |
"${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch" |
87 |
+ "${FILESDIR}/${PN}-6.0.3.2-testTdf108947.patch" #bug 656600 |
88 |
|
89 |
# gtk3-kde5 vcl plugin backported from master |
90 |
"${WORKDIR}"/${PATCHSET/.tar.xz/} |