Skip to content

Commit

Permalink
app-office/libreoffice: Use xdg-utils.eclass to cleanup XDG_* env
Browse files Browse the repository at this point in the history
...causing sandbox violation.

Gentoo-bug: 588158

Package-Manager: portage-2.2.28
  • Loading branch information
a17r authored and akhuettel committed Sep 17, 2016
1 parent 7ff8652 commit fb45cae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app-office/libreoffice/libreoffice-5.1.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
# PATCHSET="${P}-patchset-01.tar.xz"

[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
inherit 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 versionator ${SCM_ECLASS}
inherit 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 versionator xdg-utils ${SCM_ECLASS}
unset SCM_ECLASS

DESCRIPTION="A full office productivity suite"
Expand Down Expand Up @@ -290,6 +290,7 @@ pkg_setup() {
java-pkg-opt-2_pkg_setup
kde4-base_pkg_setup
python-single-r1_pkg_setup
xdg_environment_reset

[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
}
Expand Down
3 changes: 2 additions & 1 deletion app-office/libreoffice/libreoffice-5.2.9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
# PATCHSET="${P}-patchset-01.tar.xz"

[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
inherit 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 versionator ${SCM_ECLASS}
inherit 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 versionator xdg-utils ${SCM_ECLASS}
unset SCM_ECLASS

DESCRIPTION="A full office productivity suite"
Expand Down Expand Up @@ -284,6 +284,7 @@ pkg_setup() {
java-pkg-opt-2_pkg_setup
kde4-base_pkg_setup
python-single-r1_pkg_setup
xdg_environment_reset

[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
}
Expand Down
3 changes: 2 additions & 1 deletion app-office/libreoffice/libreoffice-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
# PATCHSET="${P}-patchset-01.tar.xz"

[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
inherit 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 versionator ${SCM_ECLASS}
inherit 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 versionator xdg-utils ${SCM_ECLASS}
unset SCM_ECLASS

DESCRIPTION="A full office productivity suite"
Expand Down Expand Up @@ -284,6 +284,7 @@ pkg_setup() {
java-pkg-opt-2_pkg_setup
kde4-base_pkg_setup
python-single-r1_pkg_setup
xdg_environment_reset

[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
}
Expand Down

0 comments on commit fb45cae

Please sign in to comment.