f5c2428
From 0571c25e9a0994f71686227257123b17b21b5c8e Mon Sep 17 00:00:00 2001
d0c0791
From: David Tardon <dtardon@redhat.com>
1a5ee85
Date: Thu, 21 Aug 2014 16:10:51 +0200
d0c0791
Subject: [PATCH] disable libe-book support
d0c0791
1a5ee85
Change-Id: Ie915a9bd2acf7f3aeb8b0933252da33c17043bc4
d0c0791
---
f5c2428
 configure.ac                                             |  5 -----
f5c2428
 external/Module_external.mk                              |  1 -
f5c2428
 filter/Configuration_filter.mk                           | 14 --------------
f5c2428
 writerperfect/Library_wpftwriter.mk                      |  2 --
f5c2428
 writerperfect/qa/unit/WpftWriterFilterTest.cxx           |  1 -
f5c2428
 writerperfect/source/writer/wpftwriter_genericfilter.cxx |  4 ----
f5c2428
 6 files changed, 27 deletions(-)
d0c0791
d0c0791
diff --git a/configure.ac b/configure.ac
1a5ee85
index 2f19999..bde14a8 100644
d0c0791
--- a/configure.ac
d0c0791
+++ b/configure.ac
1a5ee85
@@ -7757,11 +7757,6 @@ AS_IF([test "$COM" = "MSC"],
1a5ee85
 libo_CHECK_SYSTEM_MODULE([librevenge],[REVENGE],[librevenge-0.0 >= 0.0.1],["-I${WORKDIR}/UnpackedTarball/librevenge/inc"],["-L${librevenge_libdir} -lrevenge-0.0"])
d0c0791
 
d0c0791
 dnl ===================================================================
d0c0791
-dnl Check for system libe-book
d0c0791
-dnl ===================================================================
1a5ee85
-libo_CHECK_SYSTEM_MODULE([libebook],[EBOOK],[libe-book-0.1 >= 0.1.1])
d0c0791
-
d0c0791
-dnl ===================================================================
d0c0791
 dnl Check for system libetonyek
d0c0791
 dnl ===================================================================
1a5ee85
 libo_CHECK_SYSTEM_MODULE([libetonyek],[ETONYEK],[libetonyek-0.1 >= 0.1.1])
1a5ee85
diff --git a/external/Module_external.mk b/external/Module_external.mk
1a5ee85
index 7049278..0e7fd60 100644
1a5ee85
--- a/external/Module_external.mk
1a5ee85
+++ b/external/Module_external.mk
1a5ee85
@@ -35,7 +35,6 @@ $(eval $(call gb_Module_add_moduledirs,external,\
1a5ee85
 	$(call gb_Helper_optional,CPPUNIT,cppunit) \
1a5ee85
 	$(call gb_Helper_optional,CT2N,ct2n) \
1a5ee85
 	$(call gb_Helper_optional,CURL,curl) \
1a5ee85
-	$(call gb_Helper_optional,EBOOK,libebook) \
1a5ee85
 	$(call gb_Helper_optional,EPM,epm) \
1a5ee85
 	$(call gb_Helper_optional,ETONYEK,libetonyek) \
1a5ee85
 	$(call gb_Helper_optional,EXPAT,expat) \
f5c2428
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
f5c2428
index 57d6940..fe77479 100644
f5c2428
--- a/filter/Configuration_filter.mk
f5c2428
+++ b/filter/Configuration_filter.mk
f5c2428
@@ -362,13 +362,6 @@ $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu,filter
f5c2428
 	writer_OOXML \
f5c2428
 	writer_OOXML_Template \
f5c2428
 	writer_layout_dump_xml \
f5c2428
-	writer_BroadBand_eBook \
f5c2428
-	writer_eReader_eBook \
f5c2428
-	writer_FictionBook_2 \
f5c2428
-	writer_PalmDoc \
f5c2428
-	writer_Plucker_eBook \
f5c2428
-	writer_TealDoc \
f5c2428
-	writer_zTXT \
4497e33
 ))
f5c2428
 
4497e33
 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,filter/source/config/fragments/filters,\
f5c2428
@@ -423,13 +416,6 @@ $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,fi
f5c2428
 	OOXML_Text \
f5c2428
 	OOXML_Text_Template \
f5c2428
 	writer_layout_dump \
f5c2428
-	BroadBand_eBook \
f5c2428
-	eReader_eBook \
f5c2428
-	FictionBook_2 \
f5c2428
-	PalmDoc \
f5c2428
-	Plucker_eBook \
f5c2428
-	TealDoc \
f5c2428
-	zTXT \
4497e33
 ))
f5c2428
 
4497e33
 $(eval $(call filter_Configuration_add_ui_filters,fcfg_langpack,filter/source/config/fragments/filters,\
d0c0791
diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk
1a5ee85
index db6afdf..e6ea0f5 100644
d0c0791
--- a/writerperfect/Library_wpftwriter.mk
d0c0791
+++ b/writerperfect/Library_wpftwriter.mk
1a5ee85
@@ -42,7 +42,6 @@ $(eval $(call gb_Library_use_libraries,wpftwriter,\
d0c0791
 $(eval $(call gb_Library_use_externals,wpftwriter,\
d0c0791
 	abw \
d0c0791
 	boost_headers \
d0c0791
-	ebook \
d0c0791
 	icui18n \
1a5ee85
 	icuuc \
1a5ee85
 	libxml2 \
1a5ee85
@@ -57,7 +56,6 @@ $(eval $(call gb_Library_use_externals,wpftwriter,\
d0c0791
 
d0c0791
 $(eval $(call gb_Library_add_exception_objects,wpftwriter,\
d0c0791
 	writerperfect/source/writer/AbiWordImportFilter \
d0c0791
-	writerperfect/source/writer/EBookImportFilter \
d0c0791
 	writerperfect/source/writer/MSWorksImportFilter \
d0c0791
 	writerperfect/source/writer/MWAWImportFilter \
82bb8b3
 	writerperfect/source/writer/WordPerfectImportFilter \
f5c2428
diff --git a/writerperfect/qa/unit/WpftWriterFilterTest.cxx b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
f5c2428
index 904daab..fb44878 100644
f5c2428
--- a/writerperfect/qa/unit/WpftWriterFilterTest.cxx
f5c2428
+++ b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
f5c2428
@@ -32,7 +32,6 @@ WpftWriterFilterTest::WpftWriterFilterTest()
f5c2428
 void WpftWriterFilterTest::test()
f5c2428
 {
f5c2428
     doTest("com.sun.star.comp.Writer.AbiWordImportFilter", "/writerperfect/qa/unit/data/writer/libabw/");
f5c2428
-    doTest("org.libreoffice.comp.Writer.EBookImportFilter", "/writerperfect/qa/unit/data/writer/libe-book/");
f5c2428
     doTest("com.sun.star.comp.Writer.MSWorksImportFilter", "/writerperfect/qa/unit/data/writer/libwps/");
f5c2428
     doTest("com.sun.star.comp.Writer.MWAWImportFilter", "/writerperfect/qa/unit/data/writer/libmwaw/");
f5c2428
     doTest("com.sun.star.comp.Writer.WordPerfectImportFilter", "/writerperfect/qa/unit/data/writer/libwpd/");
d0c0791
diff --git a/writerperfect/source/writer/wpftwriter_genericfilter.cxx b/writerperfect/source/writer/wpftwriter_genericfilter.cxx
d0c0791
index 05f6542..831bc38 100644
d0c0791
--- a/writerperfect/source/writer/wpftwriter_genericfilter.cxx
d0c0791
+++ b/writerperfect/source/writer/wpftwriter_genericfilter.cxx
d0c0791
@@ -32,7 +32,6 @@
d0c0791
 #include "sal/types.h"
d0c0791
 
d0c0791
 #include "AbiWordImportFilter.hxx"
d0c0791
-#include "EBookImportFilter.hxx"
d0c0791
 #include "WordPerfectImportFilter.hxx"
d0c0791
 #include "MSWorksImportFilter.hxx"
d0c0791
 #include "MWAWImportFilter.hxx"
82bb8b3
@@ -52,11 +51,6 @@ static cppu::ImplementationEntry const services[] = {
82bb8b3
         &MWAWImportFilter_getSupportedServiceNames,
82bb8b3
         &cppu::createSingleComponentFactory, 0, 0
82bb8b3
     },
82bb8b3
-    {
82bb8b3
-        &EBookImportFilter_createInstance, &EBookImportFilter_getImplementationName,
82bb8b3
-        &EBookImportFilter_getSupportedServiceNames,
82bb8b3
-        &cppu::createSingleComponentFactory, 0, 0
82bb8b3
-    },
82bb8b3
     { 0, 0, 0, 0, 0, 0 }
82bb8b3
 };
d0c0791
 
d0c0791
-- 
d0c0791
1.9.3
d0c0791