]> git.pld-linux.org Git - packages/libreoffice.git/commitdiff
- AC-branch merge
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 Mar 2007 01:39:35 +0000 (01:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libreoffice.spec -> 1.710

libreoffice.spec

index 8a391916b364c3e12ffb4e6f67d4cea1c76428a9..b67c6c421ef871986c244453f6e00bfe05313672 100644 (file)
 #      - fix locale names and other locale related things
 #       - can't be just i18n-{be,gu,hi,kn,pa,ta} instead of *-{be_BY,*_IN}?
 #   - more system libs todo:
-#      - --with-system-agg + antigrain package (http://www.antigrain.com)
-#      - --with-system-hunspell + hunspell package (http://hunspell.sourceforge.net)
 #      - (SYSTEM_HYPH) bcond system_libhnj doesn't work - needs Debian-patched version of libhnj
-#      - --with-system-myspell + myspell package as in Debian
 #      - --with-system-mythes + mythes package (http://lingucomponent.openoffice.org/thesaurus.html)
 #      - bcond system_xt doesn't work - xt in PLD is too old or broken
 #
@@ -57,6 +54,9 @@
 %bcond_without system_xerces
 %bcond_without system_xml_apis
 %bcond_without system_hsqldb
+%bcond_without system_agg
+%bcond_without system_hunspell
+%bcond_without system_myspell
 %bcond_with    system_xt
 
 %bcond_without xvfb            # using Xvfb in build-galleries script (without xvfb broken)
@@ -132,8 +132,11 @@ Patch104:  %{name}-portaudio_v19.diff
 Patch106:      %{name}-seamonkey.diff
 Patch107:      %{name}-stl-amd64.patch
 Patch108:      %{name}-java6.patch
+Patch109:      %{name}-agg25.patch
 URL:           http://www.openoffice.org/
+BuildRequires: /usr/bin/getopt
 BuildRequires: STLport-devel >= 2:5.0.0
+%{?with_system_agg:BuildRequires:      agg-devel}
 BuildRequires: autoconf >= 2.51
 BuildRequires: automake >= 1:1.9
 %{?with_system_beanshell:BuildRequires:        beanshell}
@@ -144,47 +147,36 @@ BuildRequires:    boost-spirit-devel
 BuildRequires: cairo-devel >= 0.5.2
 BuildRequires: cups-devel
 BuildRequires: curl-devel >= 7.9.8
-%if %{with system_db}
-BuildRequires: db-cxx-devel
-BuildRequires: db-devel
-%endif
-BuildRequires: /usr/bin/getopt
-%if %{with gnomevfs}
-BuildRequires: gnome-vfs2-devel
-%endif
+%{?with_system_db:BuildRequires:       db-cxx-devel}
+%{?with_system_db:BuildRequires:       db-devel}
 BuildRequires: flex
 BuildRequires: fontconfig-devel >= 1.0.1
 BuildRequires: freetype-devel >= 2.1
+%{?with_gnomevfs:BuildRequires:        gnome-vfs2-devel}
 BuildRequires: gstreamer-devel >= 0.10.0
 BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
 BuildRequires: gtk+2-devel
 %{?with_system_hsqldb:BuildRequires:   hsqldb >= 1.8.0}
+%{?with_system_hunspell:BuildRequires: hunspell-devel}
 BuildRequires: icu
-%if %{with kde}
-BuildRequires: kdelibs-devel
-%endif
+%{?with_kde:BuildRequires:     kdelibs-devel}
 BuildRequires: libart_lgpl-devel
-%if %{with system_libhnj}
-BuildRequires: libhnj-devel
-%endif
 BuildRequires: libbonobo-devel >= 2.0
+%{?with_csystem_libhnj:BuildRequires:  libhnj-devel}
 BuildRequires: libicu-devel >= 3.4
 BuildRequires: libjpeg-devel
 BuildRequires: libsndfile-devel
 BuildRequires: libstdc++-devel >= 5:3.2.1
 BuildRequires: libwpd-devel >= 0.8.6
 BuildRequires: libxml2-devel >= 2.0
-%if %{with system_mdbtools}
-BuildRequires: mdbtools-devel >= 0.6
-%endif
-BuildRequires: nspr-devel >= 1:4.6-0.20041030.3
-BuildRequires: nss-devel >= 1:3.10
-%if %{with mono}
-BuildRequires: mono-csharp >= 1.1.8
-BuildRequires: mono-devel >= 1.1.8
-%endif
+%{?with_system_mdbtools:BuildRequires: mdbtools-devel >= 0.6}
+%{?with_mono:BuildRequires:    mono-csharp >= 1.1.8}
+%{?with_mono:BuildRequires:    mono-devel >= 1.1.8}
+%{?with_system_myspell:BuildRequires:  myspell-devel}
 BuildRequires: nas-devel >= 1.7-1
 BuildRequires: neon-devel
+BuildRequires: nspr-devel >= 1:4.6-0.20041030.3
+BuildRequires: nss-devel >= 1:3.10
 BuildRequires: openclipart-png >= 0:0.16
 BuildRequires: openldap-devel
 BuildRequires: pam-devel
@@ -2053,7 +2045,7 @@ done
 
 echo "[ PLDOnly ]" >> patches/src680/apply
 # patches applied by ooo (extension .diff is required)
-for P in %{PATCH102} %{PATCH104} %{PATCH106} %{PATCH108}; do
+for P in %{PATCH102} %{PATCH104} %{PATCH106} %{PATCH108} %{PATCH109}; do
        PATCHNAME=PLD-${P##*/%{name}-}
        PATCHNAME=${PATCHNAME%.patch}.diff
        install $P patches/src680/$PATCHNAME
@@ -2113,46 +2105,48 @@ CONFOPTS="\
 %endif
        --disable-odk \
        --with-ccache-allowed \
-       --with-system-gcc \
+       %{?with_system_agg:--with-system-agg} \
+       %{?with_system_beanshell:--with-system-beanshell} \
+       %{?with_system_db:--with-system-db} \
+       %{?with_system_hsqldb:--with-system-hsqldb} \
+       %{?with_system_hunspell:--with-system-hunspell --without-myspell-dicts} \
        %{?with_system_libhnj:--with-system-altlinuxhyphen} \
-       %{?with_system_xalan:--with-system-xalan} \
-       %{?with_system_xalan:--with-serializer-jar=%{_javadir}/xalan.jar} \
+       %{?with_system_mdbtools:--with-system-mdbtools} \
+       %{?with_system_myspell:--with-system-myspell} \
+       %{?with_system_xalan:--with-system-xalan --with-serializer-jar=%{_javadir}/xalan.jar} \
        %{?with_system_xerces:--with-system-xerces} \
-       %{?with_system_hsqldb:--with-system-hsqldb} \
        %{?with_system_xml_apis:--with-system-xml-apis} \
-       --with-system-zlib \
-       --with-system-jpeg \
-       --with-system-libxml \
-       --with-system-python \
-       --with-system-sane-header \
-       --with-system-x11-extensions-headers \
-       --with-system-odbc-headers \
-       --with-system-stdlibs \
-       %{?with_system_db:--with-system-db} \
+       %{?with_system_xt:--with-system-xt --with-xt-jar=%{_javadir}/classes} \
+       --with-system-boost \
+       --with-system-cairo \
        --with-system-curl \
-       --with-system-freetype \
-       --with-system-nas \
-       --with-system-xrender \
-       --with-system-xrender-headers=yes \
        --with-system-expat \
-       --with-system-sablot \
-       --with-system-boost \
+       --with-system-freetype \
+       --with-system-gcc \
        --with-system-icu \
+       --with-system-jpeg \
        --with-system-libwpd \
-       %{?with_system_mdbtools:--with-system-mdbtools} \
+       --with-system-libxml \
+       --with-system-nas \
        --with-system-neon \
+       --with-system-odbc-headers \
        --with-system-portaudio \
+       --with-system-python \
+       --with-system-sablot \
+       --with-system-sane-header \
        --with-system-sndfile \
-       %{?with_system_xt:--with-system-xt --with-xt-jar=%{_javadir}/classes} \
-       %{?with_system_beanshell:--with-system-beanshell} \
+       --with-system-stdlibs \
+       --with-system-x11-extensions-headers \
        --with-system-xmlsec \
+       --with-system-xrender \
+       --with-system-xrender-headers=yes \
+       --with-system-zlib \
 %if %{with mozilla}
        --with-system-mozilla \
        --with-xulrunner \
 %else
        --disable-mozilla \
 %endif
-       --with-system-cairo \
        --with-dynamic-xinerama \
        --with-intro-bitmaps="\$SRCDIR/openintro_pld.bmp" \
        --with-about-bitmaps="\$SRCDIR/openabout_pld.png" \
This page took 0.189216 seconds and 4 git commands to generate.