Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 533138 | Differences between
and this patch

Collapse All | Expand All

(-)libreoffice-9999-r2.ebuild (-18 / +17 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2015 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/libreoffice-9999-r2.ebuild,v 1.236 2014/12/29 20:05:21 dilfridge Exp $
3
# $Header: $
4
4
5
EAPI=5
5
EAPI=5
6
6
Lines 27-33 Link Here
27
# PATCHSET="${P}-patchset-01.tar.xz"
27
# PATCHSET="${P}-patchset-01.tar.xz"
28
28
29
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
29
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
30
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
30
inherit base multiprocessing autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic ${SCM_ECLASS}
31
unset SCM_ECLASS
31
unset SCM_ECLASS
32
32
33
DESCRIPTION="LibreOffice, a full office productivity suite"
33
DESCRIPTION="LibreOffice, a full office productivity suite"
Lines 74-80 Link Here
74
unset ADDONS_SRC
74
unset ADDONS_SRC
75
75
76
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
76
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer
77
+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test vlc"
77
+gtk gtk3 jemalloc kde mysql odk postgres telepathy test vlc"
78
78
79
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
79
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
80
# Unpackaged separate extensions:
80
# Unpackaged separate extensions:
Lines 107-122 Link Here
107
	>=app-text/libetonyek-0.1.1
107
	>=app-text/libetonyek-0.1.1
108
	app-text/liblangtag
108
	app-text/liblangtag
109
	>=app-text/libmspub-0.1.0
109
	>=app-text/libmspub-0.1.0
110
	>=app-text/libmwaw-0.3.1
110
	>=app-text/libmwaw-0.3.4
111
	>=app-text/libodfgen-0.1.0
111
	>=app-text/libodfgen-0.1.0
112
	app-text/libwpd:0.10[tools]
112
	app-text/libwpd:0.10[tools]
113
	app-text/libwpg:0.3
113
	app-text/libwpg:0.3
114
	>=app-text/libwps-0.3.0
114
	>=app-text/libwps-0.3.0
115
	>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
115
	>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
116
	>=dev-cpp/clucene-2.3.3.4-r2
116
	>=dev-cpp/clucene-2.3.3.4-r2
117
	dev-cpp/libcmis:0.4
117
	dev-cpp/libcmis:0.5
118
	dev-db/unixODBC
118
	dev-db/unixODBC
119
	>=dev-libs/boost-1.46:=
119
	>=dev-libs/boost-1.47:=
120
	dev-libs/expat
120
	dev-libs/expat
121
	>=dev-libs/hyphen-2.7.1
121
	>=dev-libs/hyphen-2.7.1
122
	>=dev-libs/icu-4.8.1.1:=
122
	>=dev-libs/icu-4.8.1.1:=
Lines 136-141 Link Here
136
	>=media-libs/libpng-1.4
136
	>=media-libs/libpng-1.4
137
	>=media-libs/libcdr-0.1.0
137
	>=media-libs/libcdr-0.1.0
138
	>=media-libs/libfreehand-0.1.0
138
	>=media-libs/libfreehand-0.1.0
139
	media-libs/libpagemaker
139
	>=media-libs/libvisio-0.1.0
140
	>=media-libs/libvisio-0.1.0
140
	>=net-misc/curl-7.21.4
141
	>=net-misc/curl-7.21.4
141
	net-libs/neon
142
	net-libs/neon
Lines 146-151 Link Here
146
	x11-libs/libXinerama
147
	x11-libs/libXinerama
147
	x11-libs/libXrandr
148
	x11-libs/libXrandr
148
	x11-libs/libXrender
149
	x11-libs/libXrender
150
	virtual/glu
151
	virtual/opengl
149
	bluetooth? ( net-wireless/bluez )
152
	bluetooth? ( net-wireless/bluez )
150
	coinmp? ( sci-libs/coinor-mp )
153
	coinmp? ( sci-libs/coinor-mp )
151
	cups? ( net-print/cups )
154
	cups? ( net-print/cups )
Lines 174-183 Link Here
174
		dev-java/tomcat-servlet-api:3.0
177
		dev-java/tomcat-servlet-api:3.0
175
	)
178
	)
176
	mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
179
	mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
177
	opengl? (
178
		virtual/glu
179
		virtual/opengl
180
	)
181
	postgres? ( >=dev-db/postgresql-9.0[kerberos] )
180
	postgres? ( >=dev-db/postgresql-9.0[kerberos] )
182
	telepathy? (
181
	telepathy? (
183
		dev-libs/glib:2
182
		dev-libs/glib:2
Lines 245-251 Link Here
245
244
246
PATCHES=(
245
PATCHES=(
247
	# not upstreamable stuff
246
	# not upstreamable stuff
248
	"${FILESDIR}/${PN}-3.7-system-pyuno.patch"
247
	"${FILESDIR}/${PN}-4.4-system-pyuno.patch"
249
)
248
)
250
249
251
REQUIRED_USE="
250
REQUIRED_USE="
Lines 359-365 Link Here
359
		-e "s:%eprefix%:${EPREFIX}:g" \
358
		-e "s:%eprefix%:${EPREFIX}:g" \
360
		-e "s:%libdir%:$(get_libdir):g" \
359
		-e "s:%libdir%:$(get_libdir):g" \
361
		-i pyuno/source/module/uno.py \
360
		-i pyuno/source/module/uno.py \
362
		-i scripting/source/pyprov/officehelper.py || die
361
		-i pyuno/source/officehelper.py || die
363
	# sed in the tests
362
	# sed in the tests
364
	sed -i \
363
	sed -i \
365
		-e 's#all : build unitcheck#all : build#g' \
364
		-e 's#all : build unitcheck#all : build#g' \
Lines 499-511 Link Here
499
		$(use_enable gnome gconf) \
498
		$(use_enable gnome gconf) \
500
		$(use_enable gnome gio) \
499
		$(use_enable gnome gio) \
501
		$(use_enable gnome lockdown) \
500
		$(use_enable gnome lockdown) \
502
		$(use_enable gstreamer) \
501
		$(use_enable gstreamer gstreamer-1-0) \
503
		$(use_enable gtk) \
502
		$(use_enable gtk) \
504
		$(use_enable gtk3) \
503
		$(use_enable gtk3) \
505
		$(use_enable kde kde4) \
504
		$(use_enable kde kde4) \
506
		$(use_enable mysql ext-mariadb-connector) \
505
		$(use_enable mysql ext-mariadb-connector) \
507
		$(use_enable odk) \
506
		$(use_enable odk) \
508
		$(use_enable opengl) \
509
		$(use_enable postgres postgresql-sdbc) \
507
		$(use_enable postgres postgresql-sdbc) \
510
		$(use_enable telepathy) \
508
		$(use_enable telepathy) \
511
		$(use_enable vlc) \
509
		$(use_enable vlc) \
Lines 567-575 Link Here
567
		echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
565
		echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
568
	fi
566
	fi
569
567
570
	# symlink the nsplugin to proper location
571
	# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
572
573
	# Hack for offlinehelp, this needs fixing upstream at some point.
568
	# Hack for offlinehelp, this needs fixing upstream at some point.
574
	# It is broken because we send --without-help
569
	# It is broken because we send --without-help
575
	# https://bugs.freedesktop.org/show_bug.cgi?id=46506
570
	# https://bugs.freedesktop.org/show_bug.cgi?id=46506
Lines 579-584 Link Here
579
	# Remove desktop files for support to old installs that can't parse mime
574
	# Remove desktop files for support to old installs that can't parse mime
580
	rm -rf "${ED}"/usr/share/mimelnk/
575
	rm -rf "${ED}"/usr/share/mimelnk/
581
576
577
	# FIXME: Hack add missing file
578
	insinto /usr/$(get_libdir)/${PN}/program
579
	doins "${S}"/instdir/program/libsaxlo.so
580
582
	pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
581
	pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
583
	pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
582
	pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
584
}
583
}

Return to bug 533138