[libreoffice/f17] plan B

Caolán McNamara caolanm at fedoraproject.org
Wed Aug 1 12:58:55 UTC 2012


commit 14862cb7d6982ad14acf7040e2e0137cf06b932b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Aug 1 13:58:49 2012 +0100

    plan B

 .gitignore                |    1 +
 libreoffice-gcc-4.7.patch |  137 ---------------------------------------------
 libreoffice.spec          |   10 ++-
 sources                   |    1 +
 4 files changed, 8 insertions(+), 141 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5bf0427..7813063 100644
--- a/.gitignore
+++ b/.gitignore
@@ -101,3 +101,4 @@
 /libreoffice-core-3.5.5.3.tar.xz
 /libreoffice-help-3.5.5.3.tar.xz
 /libreoffice-translations-3.5.5.3.tar.xz
+/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2
diff --git a/libreoffice.spec b/libreoffice.spec
index b15284f..1d7698f 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -69,9 +69,12 @@ Source21:       http://dev-www.libreoffice.org/src/ca66e26082cab8bb817185a116db8
 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
+#https://svn.boost.org/trac/boost/ticket/6167 means we need c++11, but gcc 4.7.[01]'s c++11x is
+#abi incompatible with c++03
+Source24:       http://dev-www.libreoffice.org/src/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2
 
 BuildRequires:  zip, findutils, autoconf, flex, bison, icu, gperf, gcc-c++
-BuildRequires:  binutils, java-devel, boost-devel
+BuildRequires:  binutils, java-devel
 BuildRequires:  python-devel, expat-devel, libxml2-devel, libxslt-devel, bc
 BuildRequires:  neon-devel, libcurl-devel, libidn-devel, pam-devel, cups-devel
 BuildRequires:  libXext-devel, libXt-devel, libICE-devel, libjpeg-devel, make
@@ -148,7 +151,6 @@ Patch33: 0001-Resolves-rhbz-838368-view-ignored-while-view-accepte.patch
 Patch34: 0001-resolved-rhbz-838248-init-filter-criteria-string.patch
 Patch35: 0001-Resolves-rhbz-836937-insanely-slow-with-Zemberek-ins.patch
 Patch36: 0001-rhbz-842552-always-create-text-content.patch
-Patch37: libreoffice-gcc-4.7.patch
 
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %define instdir %{_libdir}
@@ -1015,7 +1017,6 @@ mv -f redhat.soc extras/source/palettes/standard.soc
 %patch34 -p1 -b .rhbz-838248-init-filter-criteria-string.patch
 %patch35 -p1 -b .rhbz-836937-insanely-slow-with-Zemberek-ins.patch
 %patch36 -p1 -b .rhbz-842552-always-create-text-content.patch
-%patch37 -p1 -b .libreoffice-gcc-4.7.patch
 
 # TODO: check this
 # these are horribly incomplete--empty translations and copied english
@@ -1083,7 +1084,7 @@ autoconf
  --without-myspell-dicts --without-fonts --without-ppds --without-afms \
  %{with_lang} --with-poor-help-localizations="$POORHELPS" \
  --with-external-tar=`pwd`/ext_sources --with-java-target-version=1.5 \
- --without-system-sampleicc \
+ --without-system-sampleicc --without-system-boost \
  %{distrooptions} %{?with_binfilter:--enable-binfilter}
 
 mkdir -p ext_sources
@@ -1107,6 +1108,7 @@ cp %{SOURCE21} ext_sources
 cp %{SOURCE22} ext_sources
 cp %{SOURCE23} ext_sources
 %endif
+cp %{SOURCE24} ext_sources
 touch src.downloaded
 
 # rhbz#832603 abi problems with c++11
diff --git a/sources b/sources
index 29bfe46..01a9b96 100644
--- a/sources
+++ b/sources
@@ -13,3 +13,4 @@ db1e3be0172d2819e5256d6cb9289e07  libreoffice-binfilter-3.5.5.3.tar.xz
 ccb80344ae1ac546b3a6b6d85f3ae26a  libreoffice-core-3.5.5.3.tar.xz
 09153713133bddc49af99bd76129e929  libreoffice-help-3.5.5.3.tar.xz
 c2e66522b8adf0b3fb5789e295129ba9  libreoffice-translations-3.5.5.3.tar.xz
+f02578f5218f217a9f20e9c30e119c6a  f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2


More information about the scm-commits mailing list