/[gentoo-x86]/app-office/libreoffice/libreoffice-3.6.9999.ebuild
Gentoo

Diff of /app-office/libreoffice/libreoffice-3.6.9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.27
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/Attic/libreoffice-3.6.9999.ebuild,v 1.12 2012/08/08 12:01:15 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/Attic/libreoffice-3.6.9999.ebuild,v 1.27 2012/09/17 13:17:52 scarabeus Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7KDE_REQUIRED="optional" 7KDE_REQUIRED="optional"
8QT_MINIMAL="4.7.4" 8QT_MINIMAL="4.7.4"
57 57
58# Really required addons 58# Really required addons
59# These are bundles that can't be removed for now due to huge patchsets. 59# These are bundles that can't be removed for now due to huge patchsets.
60# If you want them gone, patches are welcome. 60# If you want them gone, patches are welcome.
61ADDONS_SRC+=" ${ADDONS_URI}/ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz" 61ADDONS_SRC+=" ${ADDONS_URI}/ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz"
62ADDONS_SRC+=" xmlsec? ( ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz )" # modifies source code 62ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
63ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" 63ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
64ADDONS_SRC+=" java? ( ${ADDONS_URI}/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip )" 64ADDONS_SRC+=" java? ( ${ADDONS_URI}/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip )"
65ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it? 65ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
66ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
67ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
66ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable 68ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
67SRC_URI+=" ${ADDONS_SRC}" 69SRC_URI+=" ${ADDONS_SRC}"
68 70
69unset ADDONS_URI 71unset ADDONS_URI
70unset EXT_URI 72unset EXT_URI
71unset ADDONS_SRC 73unset ADDONS_SRC
72 74
73IUSE="binfilter binfilterdebug +branding +cups dbus eds gnome +graphite 75IUSE="binfilter binfilterdebug +branding +cups dbus eds gnome gstreamer +gtk
74gstreamer +gtk jemalloc kde mysql odk opengl postgres svg test +vba 76jemalloc kde mysql odk opengl postgres svg test +vba +webdav"
75+webdav +xmlsec"
76 77
77LO_EXTS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher" 78LO_EXTS="nlpsolver pdfimport presenter-console presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher"
78# Unpackaged separate extensions: 79# Unpackaged separate extensions:
79# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf? 80# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
80# hunart: only on ooo extensions -> fubared download path somewhere on sf 81# hunart: only on ooo extensions -> fubared download path somewhere on sf
89 90
90LICENSE="|| ( LGPL-3 MPL-1.1 )" 91LICENSE="|| ( LGPL-3 MPL-1.1 )"
91SLOT="0" 92SLOT="0"
92[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" 93[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
93 94
94NSS_DEPEND="
95 >=dev-libs/nspr-4.8.8
96 >=dev-libs/nss-3.12.9
97"
98COMMON_DEPEND=" 95COMMON_DEPEND="
99 app-arch/zip 96 app-arch/zip
100 app-arch/unzip 97 app-arch/unzip
101 >=app-text/hunspell-1.3.2-r3 98 >=app-text/hunspell-1.3.2-r3
102 app-text/mythes 99 app-text/mythes
103 >=app-text/libexttextcat-3.2 100 >=app-text/libexttextcat-3.2
104 app-text/libwpd:0.9[tools] 101 app-text/libwpd:0.9[tools]
105 app-text/libwpg:0.2 102 app-text/libwpg:0.2
106 >=app-text/libwps-0.2.2 103 >=app-text/libwps-0.2.2
107 >=dev-cpp/clucene-2.3.3.4-r2 104 >=dev-cpp/clucene-2.3.3.4-r2
108 >=dev-cpp/libcmis-0.2 105 >=dev-cpp/libcmis-0.2:0.2
109 dev-db/unixODBC 106 dev-db/unixODBC
110 dev-libs/expat 107 dev-libs/expat
111 >=dev-libs/glib-2.28 108 >=dev-libs/glib-2.28
112 >=dev-libs/hyphen-2.7.1 109 >=dev-libs/hyphen-2.7.1
113 >=dev-libs/icu-4.8.1.1 110 >=dev-libs/icu-4.8.1.1
111 >=dev-libs/nspr-4.8.8
112 >=dev-libs/nss-3.12.9
114 >=dev-lang/perl-5.0 113 >=dev-lang/perl-5.0
115 >=dev-libs/openssl-1.0.0d 114 >=dev-libs/openssl-1.0.0d
116 >=dev-libs/redland-1.0.14[ssl] 115 >=dev-libs/redland-1.0.14[ssl]
116 media-gfx/graphite2
117 >=media-libs/fontconfig-2.8.0 117 >=media-libs/fontconfig-2.8.0
118 media-libs/freetype:2 118 media-libs/freetype:2
119 media-libs/lcms:2 119 media-libs/lcms:2
120 >=media-libs/libpng-1.4 120 >=media-libs/libpng-1.4
121 >=media-libs/libcdr-0.0.5 121 >=media-libs/libcdr-0.0.5
134 gnome? ( gnome-base/gconf:2 ) 134 gnome? ( gnome-base/gconf:2 )
135 gtk? ( 135 gtk? (
136 x11-libs/gdk-pixbuf[X] 136 x11-libs/gdk-pixbuf[X]
137 >=x11-libs/gtk+-2.24:2 137 >=x11-libs/gtk+-2.24:2
138 ) 138 )
139 graphite? ( media-gfx/graphite2 )
140 gstreamer? ( 139 gstreamer? (
141 >=media-libs/gstreamer-0.10 140 >=media-libs/gstreamer-0.10
142 >=media-libs/gst-plugins-base-0.10 141 >=media-libs/gst-plugins-base-0.10
143 ) 142 )
144 jemalloc? ( dev-libs/jemalloc ) 143 jemalloc? ( dev-libs/jemalloc )
145 libreoffice_extensions_pdfimport? ( >=app-text/poppler-0.16[xpdf-headers,cxx] ) 144 libreoffice_extensions_pdfimport? ( >=app-text/poppler-0.16[xpdf-headers(+),cxx] )
146 libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 ) 145 libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
147 libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) 146 libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
148 libreoffice_extensions_wiki-publisher? ( 147 libreoffice_extensions_wiki-publisher? (
149 dev-java/commons-codec:0 148 dev-java/commons-codec:0
150 dev-java/commons-httpclient:3 149 dev-java/commons-httpclient:3
151 dev-java/commons-lang:2.1 150 dev-java/commons-lang:2.1
152 dev-java/commons-logging:0 151 dev-java/commons-logging:0
153 dev-java/tomcat-servlet-api:3.0 152 dev-java/tomcat-servlet-api:3.0
154 ) 153 )
155 mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) 154 mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
156 opengl? ( virtual/opengl ) 155 opengl? (
156 virtual/glu
157 virtual/opengl
158 )
157 postgres? ( >=dev-db/postgresql-base-8.4.0[kerberos] ) 159 postgres? ( >=dev-db/postgresql-base-9.0[kerberos] )
158 svg? ( gnome-base/librsvg ) 160 svg? ( gnome-base/librsvg )
159 webdav? ( net-libs/neon ) 161 webdav? ( net-libs/neon )
160 xmlsec? ( ${NSS_DEPEND} )
161" 162"
162 163
163RDEPEND="${COMMON_DEPEND} 164RDEPEND="${COMMON_DEPEND}
164 !app-office/libreoffice-bin 165 !app-office/libreoffice-bin
165 !app-office/libreoffice-bin-debug 166 !app-office/libreoffice-bin-debug
166 !app-office/openoffice-bin 167 !<app-openoffice/openoffice-bin-3.4.0-r1
167 !app-office/openoffice 168 !app-office/openoffice
168 media-fonts/libertine-ttf 169 media-fonts/libertine-ttf
169 media-fonts/liberation-fonts 170 media-fonts/liberation-fonts
170 media-fonts/urw-fonts 171 media-fonts/urw-fonts
171 java? ( >=virtual/jre-1.6 ) 172 java? ( >=virtual/jre-1.6 )
172" 173"
173 174
174PDEPEND=" 175PDEPEND="
175 >=app-office/libreoffice-l10n-3.6 176 =app-office/libreoffice-l10n-3.6*
176" 177"
177 178
178# FIXME: cppunit should be moved to test conditional 179# FIXME: cppunit should be moved to test conditional
179# after everything upstream is under gbuild 180# after everything upstream is under gbuild
180# as dmake execute tests right away 181# as dmake execute tests right away
205 java? ( 206 java? (
206 >=virtual/jdk-1.6 207 >=virtual/jdk-1.6
207 >=dev-java/ant-core-1.7 208 >=dev-java/ant-core-1.7
208 test? ( dev-java/junit:4 ) 209 test? ( dev-java/junit:4 )
209 ) 210 )
211 odk? ( app-doc/doxygen )
210 test? ( dev-util/cppunit ) 212 test? ( dev-util/cppunit )
211" 213"
212 214
213PATCHES=( 215PATCHES=(
214 # not upstreamable stuff 216 # not upstreamable stuff
221 libreoffice_extensions_nlpsolver? ( java ) 223 libreoffice_extensions_nlpsolver? ( java )
222 libreoffice_extensions_scripting-beanshell? ( java ) 224 libreoffice_extensions_scripting-beanshell? ( java )
223 libreoffice_extensions_scripting-javascript? ( java ) 225 libreoffice_extensions_scripting-javascript? ( java )
224 libreoffice_extensions_wiki-publisher? ( java ) 226 libreoffice_extensions_wiki-publisher? ( java )
225" 227"
228
229RESTRICT="test"
226 230
227S="${WORKDIR}/${PN}-core-${PV}" 231S="${WORKDIR}/${PN}-core-${PV}"
228 232
229CHECKREQS_MEMORY="512M" 233CHECKREQS_MEMORY="512M"
230CHECKREQS_DISK_BUILD="6G" 234CHECKREQS_DISK_BUILD="6G"
434 --docdir="${EPREFIX}/usr/share/doc/${PF}/" \ 438 --docdir="${EPREFIX}/usr/share/doc/${PF}/" \
435 --with-system-headers \ 439 --with-system-headers \
436 --with-system-libs \ 440 --with-system-libs \
437 --with-system-jars \ 441 --with-system-jars \
438 --with-system-dicts \ 442 --with-system-dicts \
443 --enable-graphite \
439 --enable-cairo-canvas \ 444 --enable-cairo-canvas \
440 --enable-largefile \ 445 --enable-largefile \
441 --enable-mergelibs \ 446 --enable-mergelibs \
442 --enable-python=system \ 447 --enable-python=system \
443 --enable-randr \ 448 --enable-randr \
444 --enable-randr-link \ 449 --enable-randr-link \
445 --enable-release-build \ 450 --enable-release-build \
446 --enable-unix-qstart-libpng \ 451 --enable-unix-qstart-libpng \
452 --enable-xmlsec \
447 --disable-ccache \ 453 --disable-ccache \
448 --disable-crashdump \ 454 --disable-crashdump \
449 --disable-dependency-tracking \ 455 --disable-dependency-tracking \
450 --disable-epm \ 456 --disable-epm \
451 --disable-fetch-external \ 457 --disable-fetch-external \
488 $(use_enable dbus) \ 494 $(use_enable dbus) \
489 $(use_enable eds evolution2) \ 495 $(use_enable eds evolution2) \
490 $(use_enable gnome gconf) \ 496 $(use_enable gnome gconf) \
491 $(use_enable gnome gio) \ 497 $(use_enable gnome gio) \
492 $(use_enable gnome lockdown) \ 498 $(use_enable gnome lockdown) \
493 $(use_enable graphite) \
494 $(use_enable gstreamer) \ 499 $(use_enable gstreamer) \
495 $(use_enable gtk) \ 500 $(use_enable gtk) \
496 $(use_enable kde kde4) \ 501 $(use_enable kde kde4) \
497 $(use_enable mysql ext-mysql-connector) \ 502 $(use_enable mysql ext-mysql-connector) \
498 $(use_enable odk) \ 503 $(use_enable odk) \
500 $(use_enable postgres postgresql-sdbc) \ 505 $(use_enable postgres postgresql-sdbc) \
501 $(use_enable svg librsvg system) \ 506 $(use_enable svg librsvg system) \
502 $(use_enable test linkoo) \ 507 $(use_enable test linkoo) \
503 $(use_enable vba) \ 508 $(use_enable vba) \
504 $(use_enable webdav neon) \ 509 $(use_enable webdav neon) \
505 $(use_enable xmlsec) \
506 $(use_with java) \ 510 $(use_with java) \
507 $(use_with mysql system-mysql-cppconn) \ 511 $(use_with mysql system-mysql-cppconn) \
512 $(use_with odk doxygen) \
508 ${internal_libs} \ 513 ${internal_libs} \
509 ${java_opts} \ 514 ${java_opts} \
510 ${ext_opts} 515 ${ext_opts}
511} 516}
512 517
552 # Hack for offlinehelp, this needs fixing upstream at some point. 557 # Hack for offlinehelp, this needs fixing upstream at some point.
553 # It is broken because we send --without-help 558 # It is broken because we send --without-help
554 # https://bugs.freedesktop.org/show_bug.cgi?id=46506 559 # https://bugs.freedesktop.org/show_bug.cgi?id=46506
555 insinto /usr/$(get_libdir)/libreoffice/help 560 insinto /usr/$(get_libdir)/libreoffice/help
556 doins xmlhelp/util/*.xsl 561 doins xmlhelp/util/*.xsl
562
563 # Remove desktop files for support to old installs that can't parse mime
564 rm -rf "${ED}"/usr/share/mimelnk/
557} 565}
558 566
559pkg_preinst() { 567pkg_preinst() {
560 # Cache updates - all handled by kde eclass for all environments 568 # Cache updates - all handled by kde eclass for all environments
561 kde4-base_pkg_preinst 569 kde4-base_pkg_preinst

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20