Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 671478
Collapse All | Expand All

(-)libreoffice-6.1.3.2.ebuild-Original (-26 / +2 lines)
Lines 420-427 Link Here
420
		--with-x
420
		--with-x
421
		--without-fonts
421
		--without-fonts
422
		--without-myspell-dicts
422
		--without-myspell-dicts
423
		--without-help
423
		--with-help="html"
424
		--with-helppack-integration
424
		--without-helppack-integration
425
		--with-system-gpgmepp
425
		--with-system-gpgmepp
426
		--without-system-sane
426
		--without-system-sane
427
		$(use_enable bluetooth sdremote-bluetooth)
427
		$(use_enable bluetooth sdremote-bluetooth)
Lines 493-516 Link Here
493
	addpredict /dev/ati
493
	addpredict /dev/ati
494
	addpredict /dev/nvidiactl
494
	addpredict /dev/nvidiactl
495
495
496
	# hack for offlinehelp, this needs fixing upstream at some point
497
	# it is broken because we send --without-help
498
	# https://bugs.freedesktop.org/show_bug.cgi?id=46506
499
	(
500
		grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
501
		source "${T}/config_host.mk" 2&> /dev/null
502
503
		local path="${WORKDIR}/helpcontent2/source/auxiliary/"
504
		mkdir -p "${path}" || die
505
506
		echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=helpcontent2/source/media/helpimg > \"${path}/helpimg.ilst\""
507
		perl "${S}/helpcontent2/helpers/create_ilst.pl" \
508
			-dir=helpcontent2/source/media/helpimg \
509
			> "${path}/helpimg.ilst"
510
		[[ -s "${path}/helpimg.ilst" ]] || \
511
			ewarn "The help images list is empty, something is fishy, report a bug."
512
	)
513
514
	local target
496
	local target
515
	use test && target="build" || target="build-nocheck"
497
	use test && target="build" || target="build-nocheck"
516
498
Lines 545-556 Link Here
545
		echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
527
		echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
546
	fi
528
	fi
547
529
548
	# Hack for offlinehelp, this needs fixing upstream at some point.
549
	# It is broken because we send --without-help
550
	# https://bugs.freedesktop.org/show_bug.cgi?id=46506
551
	insinto /usr/$(get_libdir)/libreoffice/help
552
	doins xmlhelp/util/*.xsl
553
554
	pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
530
	pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
555
	pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
531
	pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
556
}
532
}

Return to bug 671478