update patch

f41
David Tardon 10 years ago
parent cda97a11e4
commit a7b857d176

@ -1,4 +1,4 @@
From c938bee66b52dd9d72fd0fe8eb4ebda0b6dafd25 Mon Sep 17 00:00:00 2001 From e7836800ed8edc25284ac690acee2ce0819d5de1 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com> From: David Tardon <dtardon@redhat.com>
Date: Thu, 21 Aug 2014 16:10:51 +0200 Date: Thu, 21 Aug 2014 16:10:51 +0200
Subject: [PATCH] disable libe-book support Subject: [PATCH] disable libe-book support
@ -15,10 +15,10 @@ Change-Id: Ie915a9bd2acf7f3aeb8b0933252da33c17043bc4
7 files changed, 33 deletions(-) 7 files changed, 33 deletions(-)
diff --git a/configure.ac b/configure.ac diff --git a/configure.ac b/configure.ac
index 8b8cc34..22a5c3c 100644 index ed71d8f..32fa8ae 100644
--- a/configure.ac --- a/configure.ac
+++ b/configure.ac +++ b/configure.ac
@@ -7573,11 +7573,6 @@ AS_IF([test "$COM" = "MSC"], @@ -7583,11 +7583,6 @@ AS_IF([test "$COM" = "MSC"],
libo_CHECK_SYSTEM_MODULE([librevenge],[REVENGE],[librevenge-0.0 >= 0.0.1],["-I${WORKDIR}/UnpackedTarball/librevenge/inc"],["-L${librevenge_libdir} -lrevenge-0.0"]) libo_CHECK_SYSTEM_MODULE([librevenge],[REVENGE],[librevenge-0.0 >= 0.0.1],["-I${WORKDIR}/UnpackedTarball/librevenge/inc"],["-L${librevenge_libdir} -lrevenge-0.0"])
dnl =================================================================== dnl ===================================================================
@ -29,7 +29,7 @@ index 8b8cc34..22a5c3c 100644
-dnl =================================================================== -dnl ===================================================================
dnl Check for system libetonyek dnl Check for system libetonyek
dnl =================================================================== dnl ===================================================================
libo_CHECK_SYSTEM_MODULE([libetonyek],[ETONYEK],[libetonyek-0.1 >= 0.1.1]) libo_CHECK_SYSTEM_MODULE([libetonyek],[ETONYEK],[libetonyek-0.1 >= 0.1.2])
diff --git a/external/Module_external.mk b/external/Module_external.mk diff --git a/external/Module_external.mk b/external/Module_external.mk
index 6d38fd5..25cb2d9 100644 index 6d38fd5..25cb2d9 100644
--- a/external/Module_external.mk --- a/external/Module_external.mk
@ -43,7 +43,7 @@ index 6d38fd5..25cb2d9 100644
$(call gb_Helper_optional,ETONYEK,libetonyek) \ $(call gb_Helper_optional,ETONYEK,libetonyek) \
$(call gb_Helper_optional,EXPAT,expat) \ $(call gb_Helper_optional,EXPAT,expat) \
diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
index d791909..42a8245 100644 index 29e672b..213e981 100644
--- a/filter/Configuration_filter.mk --- a/filter/Configuration_filter.mk
+++ b/filter/Configuration_filter.mk +++ b/filter/Configuration_filter.mk
@@ -362,13 +362,6 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu @@ -362,13 +362,6 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu
@ -57,10 +57,10 @@ index d791909..42a8245 100644
- writer_Plucker_eBook \ - writer_Plucker_eBook \
- writer_TealDoc \ - writer_TealDoc \
- writer_zTXT \ - writer_zTXT \
writer_ApplePages \
)) ))
$(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,filter/source/config/fragments/filters,\ @@ -425,13 +418,6 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters
@@ -424,13 +417,6 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters
OOXML_Text \ OOXML_Text \
OOXML_Text_Template \ OOXML_Text_Template \
writer_layout_dump \ writer_layout_dump \
@ -71,31 +71,31 @@ index d791909..42a8245 100644
- Plucker_eBook \ - Plucker_eBook \
- TealDoc \ - TealDoc \
- zTXT \ - zTXT \
ApplePages \
)) ))
# fcfg_web
diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk
index b47c271..75bdc9e 100644 index 8557991..288c929 100644
--- a/writerperfect/Library_wpftwriter.mk --- a/writerperfect/Library_wpftwriter.mk
+++ b/writerperfect/Library_wpftwriter.mk +++ b/writerperfect/Library_wpftwriter.mk
@@ -47,7 +47,6 @@ $(eval $(call gb_Library_use_libraries,wpftwriter,\ @@ -49,7 +49,6 @@ $(eval $(call gb_Library_use_libraries,wpftwriter,\
$(eval $(call gb_Library_use_externals,wpftwriter,\ $(eval $(call gb_Library_use_externals,wpftwriter,\
abw \ abw \
boost_headers \ boost_headers \
- ebook \ - ebook \
etonyek \
icui18n \ icui18n \
icuuc \ icuuc \
libxml2 \ @@ -65,7 +64,6 @@ $(eval $(call gb_Library_use_externals,wpftwriter,\
@@ -62,7 +61,6 @@ $(eval $(call gb_Library_use_externals,wpftwriter,\
$(eval $(call gb_Library_add_exception_objects,wpftwriter,\ $(eval $(call gb_Library_add_exception_objects,wpftwriter,\
writerperfect/source/writer/AbiWordImportFilter \ writerperfect/source/writer/AbiWordImportFilter \
- writerperfect/source/writer/EBookImportFilter \ - writerperfect/source/writer/EBookImportFilter \
writerperfect/source/writer/MSWorksImportFilter \ writerperfect/source/writer/MSWorksImportFilter \
writerperfect/source/writer/MWAWImportFilter \ writerperfect/source/writer/MWAWImportFilter \
writerperfect/source/writer/WordPerfectImportFilter \ writerperfect/source/writer/PagesImportFilter \
diff --git a/writerperfect/qa/unit/WpftWriterFilterTest.cxx b/writerperfect/qa/unit/WpftWriterFilterTest.cxx diff --git a/writerperfect/qa/unit/WpftWriterFilterTest.cxx b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
index 904daab..fb44878 100644 index f8f9f85..d928f52 100644
--- a/writerperfect/qa/unit/WpftWriterFilterTest.cxx --- a/writerperfect/qa/unit/WpftWriterFilterTest.cxx
+++ b/writerperfect/qa/unit/WpftWriterFilterTest.cxx +++ b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
@@ -32,7 +32,6 @@ WpftWriterFilterTest::WpftWriterFilterTest() @@ -32,7 +32,6 @@ WpftWriterFilterTest::WpftWriterFilterTest()
@ -105,12 +105,12 @@ index 904daab..fb44878 100644
- doTest("org.libreoffice.comp.Writer.EBookImportFilter", "/writerperfect/qa/unit/data/writer/libe-book/"); - 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.MSWorksImportFilter", "/writerperfect/qa/unit/data/writer/libwps/");
doTest("com.sun.star.comp.Writer.MWAWImportFilter", "/writerperfect/qa/unit/data/writer/libmwaw/"); doTest("com.sun.star.comp.Writer.MWAWImportFilter", "/writerperfect/qa/unit/data/writer/libmwaw/");
doTest("com.sun.star.comp.Writer.WordPerfectImportFilter", "/writerperfect/qa/unit/data/writer/libwpd/"); doTest("org.libreoffice.comp.Writer.PagesImportFilter", "/writerperfect/qa/unit/data/writer/libetonyek/");
diff --git a/writerperfect/source/writer/wpftwriter.component b/writerperfect/source/writer/wpftwriter.component diff --git a/writerperfect/source/writer/wpftwriter.component b/writerperfect/source/writer/wpftwriter.component
index 8a204ec..8966bac 100644 index eaf751a..4b8efbf 100644
--- a/writerperfect/source/writer/wpftwriter.component --- a/writerperfect/source/writer/wpftwriter.component
+++ b/writerperfect/source/writer/wpftwriter.component +++ b/writerperfect/source/writer/wpftwriter.component
@@ -34,8 +34,4 @@ @@ -34,10 +34,6 @@
<service name="com.sun.star.document.ExtendedTypeDetection"/> <service name="com.sun.star.document.ExtendedTypeDetection"/>
<service name="com.sun.star.document.ImportFilter"/> <service name="com.sun.star.document.ImportFilter"/>
</implementation> </implementation>
@ -118,9 +118,11 @@ index 8a204ec..8966bac 100644
- <service name="com.sun.star.document.ExtendedTypeDetection"/> - <service name="com.sun.star.document.ExtendedTypeDetection"/>
- <service name="com.sun.star.document.ImportFilter"/> - <service name="com.sun.star.document.ImportFilter"/>
- </implementation> - </implementation>
</component> <implementation name="org.libreoffice.comp.Writer.PagesImportFilter">
<service name="com.sun.star.document.ExtendedTypeDetection"/>
<service name="com.sun.star.document.ImportFilter"/>
diff --git a/writerperfect/source/writer/wpftwriter_genericfilter.cxx b/writerperfect/source/writer/wpftwriter_genericfilter.cxx diff --git a/writerperfect/source/writer/wpftwriter_genericfilter.cxx b/writerperfect/source/writer/wpftwriter_genericfilter.cxx
index cd60fe2..fa2202f 100644 index 3f508c4..7e10b9e 100644
--- a/writerperfect/source/writer/wpftwriter_genericfilter.cxx --- a/writerperfect/source/writer/wpftwriter_genericfilter.cxx
+++ b/writerperfect/source/writer/wpftwriter_genericfilter.cxx +++ b/writerperfect/source/writer/wpftwriter_genericfilter.cxx
@@ -32,7 +32,6 @@ @@ -32,7 +32,6 @@
@ -131,18 +133,18 @@ index cd60fe2..fa2202f 100644
#include "WordPerfectImportFilter.hxx" #include "WordPerfectImportFilter.hxx"
#include "MSWorksImportFilter.hxx" #include "MSWorksImportFilter.hxx"
#include "MWAWImportFilter.hxx" #include "MWAWImportFilter.hxx"
@@ -62,11 +61,6 @@ static cppu::ImplementationEntry const services[] = @@ -64,11 +63,6 @@ static cppu::ImplementationEntry const services[] =
&MWAWImportFilter_getSupportedServiceNames,
&cppu::createSingleComponentFactory, 0, 0 &cppu::createSingleComponentFactory, 0, 0
}, },
- { {
- &EBookImportFilter_createInstance, &EBookImportFilter_getImplementationName, - &EBookImportFilter_createInstance, &EBookImportFilter_getImplementationName,
- &EBookImportFilter_getSupportedServiceNames, - &EBookImportFilter_getSupportedServiceNames,
- &cppu::createSingleComponentFactory, 0, 0 - &cppu::createSingleComponentFactory, 0, 0
- }, - },
{ 0, 0, 0, 0, 0, 0 } - {
}; &PagesImportFilter_createInstance, &PagesImportFilter_getImplementationName,
&PagesImportFilter_getSupportedServiceNames,
&cppu::createSingleComponentFactory, 0, 0
-- --
1.8.3.1 2.4.2

Loading…
Cancel
Save