2015-06-11 13:29:36 +00:00
|
|
|
From e7836800ed8edc25284ac690acee2ce0819d5de1 Mon Sep 17 00:00:00 2001
|
2014-08-21 12:52:13 +00:00
|
|
|
From: David Tardon <dtardon@redhat.com>
|
2014-08-21 14:11:58 +00:00
|
|
|
Date: Thu, 21 Aug 2014 16:10:51 +0200
|
2014-08-21 12:52:13 +00:00
|
|
|
Subject: [PATCH] disable libe-book support
|
|
|
|
|
2014-08-21 14:11:58 +00:00
|
|
|
Change-Id: Ie915a9bd2acf7f3aeb8b0933252da33c17043bc4
|
2014-08-21 12:52:13 +00:00
|
|
|
---
|
2014-08-22 08:05:18 +00:00
|
|
|
configure.ac | 5 -----
|
|
|
|
external/Module_external.mk | 1 -
|
|
|
|
filter/Configuration_filter.mk | 14 --------------
|
|
|
|
writerperfect/Library_wpftwriter.mk | 2 --
|
|
|
|
writerperfect/qa/unit/WpftWriterFilterTest.cxx | 1 -
|
2015-04-23 21:36:02 +00:00
|
|
|
writerperfect/source/writer/wpftwriter.component | 4 ----
|
2015-04-21 08:39:14 +00:00
|
|
|
writerperfect/source/writer/wpftwriter_genericfilter.cxx | 6 ------
|
2015-04-23 21:36:02 +00:00
|
|
|
7 files changed, 33 deletions(-)
|
2014-08-21 12:52:13 +00:00
|
|
|
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
2015-06-11 13:29:36 +00:00
|
|
|
index ed71d8f..32fa8ae 100644
|
2014-08-21 12:52:13 +00:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2015-06-11 13:29:36 +00:00
|
|
|
@@ -7583,11 +7583,6 @@ AS_IF([test "$COM" = "MSC"],
|
2014-08-21 14:11:58 +00:00
|
|
|
libo_CHECK_SYSTEM_MODULE([librevenge],[REVENGE],[librevenge-0.0 >= 0.0.1],["-I${WORKDIR}/UnpackedTarball/librevenge/inc"],["-L${librevenge_libdir} -lrevenge-0.0"])
|
2014-08-21 12:52:13 +00:00
|
|
|
|
|
|
|
dnl ===================================================================
|
|
|
|
-dnl Check for system libe-book
|
|
|
|
-dnl ===================================================================
|
2014-08-21 14:11:58 +00:00
|
|
|
-libo_CHECK_SYSTEM_MODULE([libebook],[EBOOK],[libe-book-0.1 >= 0.1.1])
|
2014-08-21 12:52:13 +00:00
|
|
|
-
|
|
|
|
-dnl ===================================================================
|
|
|
|
dnl Check for system libetonyek
|
|
|
|
dnl ===================================================================
|
2015-12-07 09:07:28 +00:00
|
|
|
libo_CHECK_SYSTEM_MODULE([libetonyek],[ETONYEK],[libetonyek-0.1 >= 0.1.4])
|
2014-08-21 14:11:58 +00:00
|
|
|
diff --git a/external/Module_external.mk b/external/Module_external.mk
|
2015-04-21 08:39:14 +00:00
|
|
|
index 6d38fd5..25cb2d9 100644
|
2014-08-21 14:11:58 +00:00
|
|
|
--- a/external/Module_external.mk
|
|
|
|
+++ b/external/Module_external.mk
|
2015-04-21 08:39:14 +00:00
|
|
|
@@ -34,7 +34,6 @@ $(eval $(call gb_Module_add_moduledirs,external,\
|
2014-08-21 14:11:58 +00:00
|
|
|
$(call gb_Helper_optional,CPPUNIT,cppunit) \
|
|
|
|
$(call gb_Helper_optional,CT2N,ct2n) \
|
|
|
|
$(call gb_Helper_optional,CURL,curl) \
|
|
|
|
- $(call gb_Helper_optional,EBOOK,libebook) \
|
|
|
|
$(call gb_Helper_optional,EPM,epm) \
|
|
|
|
$(call gb_Helper_optional,ETONYEK,libetonyek) \
|
|
|
|
$(call gb_Helper_optional,EXPAT,expat) \
|
2014-08-22 08:05:18 +00:00
|
|
|
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
|
2015-06-11 13:29:36 +00:00
|
|
|
index 29e672b..213e981 100644
|
2014-08-22 08:05:18 +00:00
|
|
|
--- a/filter/Configuration_filter.mk
|
|
|
|
+++ b/filter/Configuration_filter.mk
|
2015-04-21 08:39:14 +00:00
|
|
|
@@ -362,13 +362,6 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu
|
2014-08-22 08:05:18 +00:00
|
|
|
writer_OOXML \
|
|
|
|
writer_OOXML_Template \
|
|
|
|
writer_layout_dump_xml \
|
|
|
|
- writer_BroadBand_eBook \
|
|
|
|
- writer_eReader_eBook \
|
|
|
|
- writer_FictionBook_2 \
|
|
|
|
- writer_PalmDoc \
|
|
|
|
- writer_Plucker_eBook \
|
|
|
|
- writer_TealDoc \
|
|
|
|
- writer_zTXT \
|
2015-06-11 13:29:36 +00:00
|
|
|
writer_ApplePages \
|
2015-03-03 15:49:01 +00:00
|
|
|
))
|
2014-08-22 08:05:18 +00:00
|
|
|
|
2015-06-11 13:29:36 +00:00
|
|
|
@@ -425,13 +418,6 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters
|
2014-08-22 08:05:18 +00:00
|
|
|
OOXML_Text \
|
|
|
|
OOXML_Text_Template \
|
|
|
|
writer_layout_dump \
|
|
|
|
- BroadBand_eBook \
|
|
|
|
- eReader_eBook \
|
|
|
|
- FictionBook_2 \
|
|
|
|
- PalmDoc \
|
|
|
|
- Plucker_eBook \
|
|
|
|
- TealDoc \
|
|
|
|
- zTXT \
|
2015-06-11 13:29:36 +00:00
|
|
|
ApplePages \
|
2015-03-03 15:49:01 +00:00
|
|
|
))
|
2014-08-22 08:05:18 +00:00
|
|
|
|
2014-08-21 12:52:13 +00:00
|
|
|
diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk
|
2015-06-11 13:29:36 +00:00
|
|
|
index 8557991..288c929 100644
|
2014-08-21 12:52:13 +00:00
|
|
|
--- a/writerperfect/Library_wpftwriter.mk
|
|
|
|
+++ b/writerperfect/Library_wpftwriter.mk
|
2015-06-11 13:29:36 +00:00
|
|
|
@@ -49,7 +49,6 @@ $(eval $(call gb_Library_use_libraries,wpftwriter,\
|
2014-08-21 12:52:13 +00:00
|
|
|
$(eval $(call gb_Library_use_externals,wpftwriter,\
|
|
|
|
abw \
|
|
|
|
boost_headers \
|
|
|
|
- ebook \
|
2015-06-11 13:29:36 +00:00
|
|
|
etonyek \
|
2014-08-21 12:52:13 +00:00
|
|
|
icui18n \
|
2014-08-21 14:11:58 +00:00
|
|
|
icuuc \
|
2015-06-11 13:29:36 +00:00
|
|
|
@@ -65,7 +64,6 @@ $(eval $(call gb_Library_use_externals,wpftwriter,\
|
2014-08-21 12:52:13 +00:00
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,wpftwriter,\
|
|
|
|
writerperfect/source/writer/AbiWordImportFilter \
|
|
|
|
- writerperfect/source/writer/EBookImportFilter \
|
|
|
|
writerperfect/source/writer/MSWorksImportFilter \
|
|
|
|
writerperfect/source/writer/MWAWImportFilter \
|
2015-06-11 13:29:36 +00:00
|
|
|
writerperfect/source/writer/PagesImportFilter \
|
2014-08-22 08:05:18 +00:00
|
|
|
diff --git a/writerperfect/qa/unit/WpftWriterFilterTest.cxx b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
|
2015-06-11 13:29:36 +00:00
|
|
|
index f8f9f85..d928f52 100644
|
2014-08-22 08:05:18 +00:00
|
|
|
--- a/writerperfect/qa/unit/WpftWriterFilterTest.cxx
|
|
|
|
+++ b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
|
|
|
|
@@ -32,7 +32,6 @@ WpftWriterFilterTest::WpftWriterFilterTest()
|
|
|
|
void WpftWriterFilterTest::test()
|
|
|
|
{
|
|
|
|
doTest("com.sun.star.comp.Writer.AbiWordImportFilter", "/writerperfect/qa/unit/data/writer/libabw/");
|
|
|
|
- doTest("org.libreoffice.comp.Writer.EBookImportFilter", "/writerperfect/qa/unit/data/writer/libe-book/");
|
|
|
|
doTest("com.sun.star.comp.Writer.MSWorksImportFilter", "/writerperfect/qa/unit/data/writer/libwps/");
|
|
|
|
doTest("com.sun.star.comp.Writer.MWAWImportFilter", "/writerperfect/qa/unit/data/writer/libmwaw/");
|
2015-06-11 13:29:36 +00:00
|
|
|
doTest("org.libreoffice.comp.Writer.PagesImportFilter", "/writerperfect/qa/unit/data/writer/libetonyek/");
|
2015-04-23 21:36:02 +00:00
|
|
|
diff --git a/writerperfect/source/writer/wpftwriter.component b/writerperfect/source/writer/wpftwriter.component
|
2015-06-11 13:29:36 +00:00
|
|
|
index eaf751a..4b8efbf 100644
|
2015-04-23 21:36:02 +00:00
|
|
|
--- a/writerperfect/source/writer/wpftwriter.component
|
|
|
|
+++ b/writerperfect/source/writer/wpftwriter.component
|
2015-06-11 13:29:36 +00:00
|
|
|
@@ -34,10 +34,6 @@
|
2015-04-23 21:36:02 +00:00
|
|
|
<service name="com.sun.star.document.ExtendedTypeDetection"/>
|
|
|
|
<service name="com.sun.star.document.ImportFilter"/>
|
|
|
|
</implementation>
|
|
|
|
- <implementation name="org.libreoffice.comp.Writer.EBookImportFilter">
|
|
|
|
- <service name="com.sun.star.document.ExtendedTypeDetection"/>
|
|
|
|
- <service name="com.sun.star.document.ImportFilter"/>
|
|
|
|
- </implementation>
|
2015-06-11 13:29:36 +00:00
|
|
|
<implementation name="org.libreoffice.comp.Writer.PagesImportFilter">
|
|
|
|
<service name="com.sun.star.document.ExtendedTypeDetection"/>
|
|
|
|
<service name="com.sun.star.document.ImportFilter"/>
|
2014-08-21 12:52:13 +00:00
|
|
|
diff --git a/writerperfect/source/writer/wpftwriter_genericfilter.cxx b/writerperfect/source/writer/wpftwriter_genericfilter.cxx
|
2015-06-11 13:29:36 +00:00
|
|
|
index 3f508c4..7e10b9e 100644
|
2014-08-21 12:52:13 +00:00
|
|
|
--- a/writerperfect/source/writer/wpftwriter_genericfilter.cxx
|
|
|
|
+++ b/writerperfect/source/writer/wpftwriter_genericfilter.cxx
|
|
|
|
@@ -32,7 +32,6 @@
|
|
|
|
#include "sal/types.h"
|
|
|
|
|
|
|
|
#include "AbiWordImportFilter.hxx"
|
|
|
|
-#include "EBookImportFilter.hxx"
|
|
|
|
#include "WordPerfectImportFilter.hxx"
|
|
|
|
#include "MSWorksImportFilter.hxx"
|
|
|
|
#include "MWAWImportFilter.hxx"
|
2015-06-11 13:29:36 +00:00
|
|
|
@@ -64,11 +63,6 @@ static cppu::ImplementationEntry const services[] =
|
2015-12-07 09:07:28 +00:00
|
|
|
&cppu::createSingleComponentFactory, nullptr, 0
|
2014-11-22 14:56:38 +00:00
|
|
|
},
|
2015-06-11 13:29:36 +00:00
|
|
|
{
|
2014-11-22 14:56:38 +00:00
|
|
|
- &EBookImportFilter_createInstance, &EBookImportFilter_getImplementationName,
|
|
|
|
- &EBookImportFilter_getSupportedServiceNames,
|
2015-12-07 09:07:28 +00:00
|
|
|
- &cppu::createSingleComponentFactory, nullptr, 0
|
2014-11-22 14:56:38 +00:00
|
|
|
- },
|
2015-06-11 13:29:36 +00:00
|
|
|
- {
|
|
|
|
&PagesImportFilter_createInstance, &PagesImportFilter_getImplementationName,
|
|
|
|
&PagesImportFilter_getSupportedServiceNames,
|
2015-12-07 09:07:28 +00:00
|
|
|
&cppu::createSingleComponentFactory, nullptr, 0
|
2014-08-21 12:52:13 +00:00
|
|
|
--
|
2015-06-11 13:29:36 +00:00
|
|
|
2.4.2
|
2014-08-21 12:52:13 +00:00
|
|
|
|