[libreoffice] 01/01: install LOs fc_local.conf to instdir before make check and remove ww8export-HAVE_MORE_FONTS.diff again
Rene Engelhard
rene at moszumanska.debian.org
Mon Oct 9 13:46:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch master
in repository libreoffice.
commit 3eb126869552cdfcd29439e9b605dc75d3ee28f6
Author: Rene Engelhard <rene at rene-engelhard.de>
Date: Mon Oct 9 15:18:33 2017 +0200
install LOs fc_local.conf to instdir before make check and remove ww8export-HAVE_MORE_FONTS.diff again
---
changelog | 8 ++++++++
patches/series | 1 -
patches/ww8export-HAVE_MORE_FONTS.diff | 22 ----------------------
rules | 6 ++++++
4 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/changelog b/changelog
index e4d93fe..b8480ec 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,11 @@
+libreoffice (1:5.4.2-2) UNRELEASED; urgency=medium
+
+ * debian/patches/ww8export-HAVE_MORE_FONTS.diff: remove again ...
+ * debian/rules: ... and install LOs fc_local.conf to instdir before make
+ check
+
+ -- Rene Engelhard <rene at debian.org> Mon, 09 Oct 2017 13:45:14 +0200
+
libreoffice (1:5.4.2-1) unstable; urgency=medium
* LibreOffice 5.4.2 final release (identical to rc2)
diff --git a/patches/series b/patches/series
index a78cdf4..58bc856 100644
--- a/patches/series
+++ b/patches/series
@@ -32,4 +32,3 @@ disable-unused-test-programs.diff
gb_SUPPRESS_TESTS.diff
stop-shipping-mimelnk-desktop-files.diff
icu-no-icu-config.diff
-ww8export-HAVE_MORE_FONTS.diff
diff --git a/patches/ww8export-HAVE_MORE_FONTS.diff b/patches/ww8export-HAVE_MORE_FONTS.diff
deleted file mode 100644
index 882d876..0000000
--- a/patches/ww8export-HAVE_MORE_FONTS.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/sw/qa/extras/ww8export/ww8export.cxx 2017-05-09 19:53:51.214105419 +0200
-+++ b/sw/qa/extras/ww8export/ww8export.cxx 2017-10-08 11:36:36.035930560 +0200
-@@ -1274,14 +1274,17 @@
- }
-
- #if !defined(MACOSX)
--#if !TEST_FONTS_MISSING
-+// A build with fonts works...
-+// The intereresting thing is that this file apparently uses the Liberation
-+// fonts which _are_ in Build-Depends, so it should work...
-+/*#if !TEST_FONTS_MISSING
- DECLARE_WW8EXPORT_TEST(testTableKeep, "tdf91083.odt")
- {
- //emulate table "keep with next" -do not split table
- CPPUNIT_ASSERT_EQUAL( OUString("Row 1"), parseDump("/root/page[3]/body/tab[1]/row[2]/cell[1]/txt[1]") );
- CPPUNIT_ASSERT_EQUAL( OUString("Row 1"), parseDump("/root/page[6]/body/tab[1]/row[2]/cell[1]/txt[1]") );
- }
--#endif
-+#endif*/
- #endif
-
- DECLARE_WW8EXPORT_TEST(testTdf76349_textboxMargins, "tdf76349_textboxMargins.doc")
diff --git a/rules b/rules
index ba1a958..4979b57 100755
--- a/rules
+++ b/rules
@@ -2036,6 +2036,12 @@ endif
export gb_SUPPRESS_TESTS=true; \
$(MAKE) check
+ # install font config.
+ # some tests (e.g. ww8exports testTableKeep) somewhow need this...
+ # Shouldn't this be done by by fonts-liberation* itself?
+ cp external/more_fonts/fonts/fc_local.conf \
+ instdir/share/fonts/truetype
+
# and now run them
$(IGNORE_MAKE_CHECK_FAILURES)t=`mktemp -q -d`; \
cd $(SOURCE_TREE) && \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git
More information about the Pkg-openoffice-commits
mailing list