From b1f7db342d5047f47c28598edf338a4677ca8fa8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mar 06 2012 16:29:46 +0000 Subject: Merge branch 'master' into f17 --- diff --git a/0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch b/0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch index bff16d0..a4c5784 100644 --- a/0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch +++ b/0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch @@ -94,7 +94,7 @@ diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain index 76562a3..ed22834 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx -@@ -71,6 +71,10 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() +@@ -63,6 +63,10 @@ desktop::displayVersion(); return EXIT_SUCCESS; } @@ -104,7 +104,7 @@ index 76562a3..ed22834 100644 + } #endif return SVMain(); - #ifdef ANDROID + } -- 1.7.7.6 diff --git a/libreoffice-libwpd08-1.patch b/libreoffice-libwpd08-1.patch index 778a377..a5280b5 100644 --- a/libreoffice-libwpd08-1.patch +++ b/libreoffice-libwpd08-1.patch @@ -107,16 +107,6 @@ else AC_MSG_RESULT([internal]) SYSTEM_LUCENE=NO -@@ -5545,8 +5483,7 @@ - test "$with_system_redland" != "no"; then - AC_MSG_RESULT([external]) - SYSTEM_REDLAND=YES -- dnl versions before 1.0.8 write RDF/XML that is useless for ODF (@xml:base) -- PKG_CHECK_MODULES(REDLAND, redland >= 1.0.8) -+ PKG_CHECK_MODULES( REDLAND, redland ) - else - AC_MSG_RESULT([internal]) - BUILD_TYPE="$BUILD_TYPE REDLAND" diff --git a/writerperfect/util/makefile.mk b/writerperfect/util/makefile.mk index dca29e0..56bdfb2 100644 --- a/writerperfect/util/makefile.mk diff --git a/libreoffice.spec b/libreoffice.spec index b6d364a..467e723 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -65,6 +65,9 @@ Source17: http://dev-www.libreoffice.org/src/0981bda6548a8c8233ffce2b6e4b2 Source18: http://dev-www.libreoffice.org/src/776ad69a63ac1e99abed176e54ce25d9-libvisio-0.0.14.tar.bz2 Source19: http://dev-www.libreoffice.org/src/e1c178b18f130b40494561f02bc1a948-libexttextcat-3.2.0.tar.bz2 Source20: http://dev-www.libreoffice.org/src/7c2549f6b0a8bb604e6c4c729ffdcfe6-libcmis-0.1.0.tar.gz +Source21: http://dev-www.libreoffice.org/src/ca66e26082cab8bb817185a116db809b-redland-1.0.8.tar.gz +Source22: http://dev-www.libreoffice.org/src/284e768eeda0e2898b0d5bf7e26a016e-raptor-1.4.18.tar.gz +Source23: http://dev-www.libreoffice.org/src/fca8706f2c4619e2fa3f8f42f8fc1e9d-rasqal-0.9.16.tar.gz %endif BuildRequires: zip, findutils, autoconf, flex, bison, icu, gperf, gcc-c++ @@ -134,6 +137,7 @@ Patch20: 0001-Related-rhbz-799628-crash-with-chewing-IM-with-g3g.patch Patch21: 0001-silence-SolarMutex-not-locked-spew.patch Patch22: 0001-Resolves-rhbz-799525-put-flat-odf-mimetypes-in-xsltf.patch Patch23: 0001-Resolves-rhbz-800272-complain-about-unknown-command-.patch +Patch24: 0001-Disable-problematic-reading-of-external-entities-in-.patch %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %define instdir %{_libdir} @@ -978,6 +982,7 @@ mv -f redhat.soc extras/source/palettes/standard.soc %patch21 -p1 -b .silence-SolarMutex-not-locked-spew.patch %patch22 -p1 -b .rhbz-799525-put-flat-odf-mimetypes-in-xsltf.patch %patch23 -p1 -b .rhbz-800272-complain-about-unknown-command-.patch +%patch24 -p1 -b .Disable-problematic-reading-of-external-entities-in-.patch # TODO: check this # these are horribly incomplete--empty translations and copied english @@ -1065,6 +1070,9 @@ cp %{SOURCE17} ext_sources cp %{SOURCE18} ext_sources cp %{SOURCE19} ext_sources cp %{SOURCE20} ext_sources +cp %{SOURCE21} ext_sources +cp %{SOURCE22} ext_sources +cp %{SOURCE23} ext_sources %endif touch src.downloaded @@ -1615,6 +1623,11 @@ rm -rf $RPM_BUILD_ROOT %{baseinstdir}/program/libpllo.so %{baseinstdir}/program/libprotocolhandlerlo.so %{baseinstdir}/program/libqstart_gtklo.so +%if %{defined rhel} && 0%{?rhel} < 7 +%{basisinstdir}/program/libraptor.so.1 +%{basisinstdir}/program/librasqal.so.1 +%{basisinstdir}/program/librdf.so.0 +%endif %{baseinstdir}/program/librecentfile.so %{baseinstdir}/program/libreslo.so %{baseinstdir}/program/libsaxlo.so