From d63b775aa4496f79fab24312102578fd08c3597b Mon Sep 17 00:00:00 2001 From: Johannes Huber Date: Tue, 25 Aug 2015 13:07:32 +0200 Subject: [PATCH] x11-misc/xdg-utils: Snapshot bump Fixes xdg-open quotation issues. Gentoo-Bug: 555272 Reported-by: Peter Volkov Gentoo-Bug: 549286 Reported-by: Livid Package-Manager: portage-2.2.20.1 --- x11-misc/xdg-utils/Manifest | 1 + .../xdg-utils-1.1.0_rc3_p20150825.ebuild | 70 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 x11-misc/xdg-utils/xdg-utils-1.1.0_rc3_p20150825.ebuild diff --git a/x11-misc/xdg-utils/Manifest b/x11-misc/xdg-utils/Manifest index afce9591f920..d22f5cbd1651 100644 --- a/x11-misc/xdg-utils/Manifest +++ b/x11-misc/xdg-utils/Manifest @@ -1,3 +1,4 @@ DIST xdg-utils-1.1.0-rc2.tar.gz 307013 SHA256 bbe95ec4e7d54827981598622dafda8fd20ca2a2fddc8a940dd741215baff1ec SHA512 41ba836ba5e882a28247739b7b9dee667cfee35b5b53bbfbd756752dab240b4a394dfbbe1d218a92a2dcc264e999d10e5e9dec4cf8674d266b0f93a259a4ddc1 WHIRLPOOL 123860d87ff00dd4221375c93eb9f4c7ee61e9af259cd5f671176d527dd1e8f0e61939b5ef9d92da0730803eab71e67eb68d51360865ae4110e7228fc460d7dc DIST xdg-utils-1.1.0_rc2-patchset-1.tar.xz 20164 SHA256 0c7f3c39c28d43e049ea32f4b29f768c91a1c190d4ea736940370b40ee4d2cb8 SHA512 3f90bd778fe1aaf50a05f6d0e4ae51ab251037bde57a7f21a66b66681f05b811a832dadfde909938240ee4bbf4060e471faf0105a5f0e832af7e0436b4206bef WHIRLPOOL 883cb5efead1df84425252860577610dad5ae7ce14673d5c96a432c44de215252349ac0d07b7bfb071da38b70235f8b7c9c2fea8ffba5c1443f28078842a3930 DIST xdg-utils-1.1.0_rc3_p20150119.tar.xz 262380 SHA256 6db91e0f6a4bb2698abde9dc578d61d1a9375c417adbe61e4c4364bbcbe6a4d9 SHA512 a83903f3d367e1deaf9355727e024606a4df90869629862c5ac55ca5f35b47ab2992863a9aec91413606e1ebc26905c1aef03c3f7f35a68db048059921658089 WHIRLPOOL d04f0bab8aefd9fb4d6c8805bf66aaeb5a79e1ecbe5866624f1f1d1da77115cc5c64d563aa75540ffef4eaeb610d879657422635b7548a0184138eb7319efedd +DIST xdg-utils-1.1.0_rc3_p20150825.tar.xz 263016 SHA256 c3aa384e7bf31cda8901269e46056344dc03b4d62488faf47c342afecac93f11 SHA512 ac83266f355394815581d7b13b1618c80d4c1d84c1717665ade98584d989e910575c748361f8b3a545a0c978c06fb7a1ed6ca26c5a5b70cc366f70dc41806049 WHIRLPOOL 5d84ce4218726c92fa7822ad33cd1b953095a78857ba156df7ce1cc0030e6f73e4736314a41bc8a581a1b3b0262be15a8ce117e5ecc994dea1e9fb44a85bc899 diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.0_rc3_p20150825.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.0_rc3_p20150825.ebuild new file mode 100644 index 000000000000..6df912c3022a --- /dev/null +++ b/x11-misc/xdg-utils/xdg-utils-1.1.0_rc3_p20150825.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +#MY_P=${P/_/-} + +DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability" +HOMEPAGE="http://portland.freedesktop.org/" +SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz" +#SRC_URI="http://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz +# https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz" +#SRC_URI="http://portland.freedesktop.org/download/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc +perl" + +RDEPEND="dev-util/desktop-file-utils + x11-misc/shared-mime-info + x11-apps/xprop + x11-apps/xset + perl? ( dev-perl/File-MimeInfo )" +DEPEND="app-text/xmlto + || ( www-client/links www-client/lynx virtual/w3m )" + +DOCS="README RELEASE_NOTES TODO" # ChangeLog is bogus, see git instead + +RESTRICT="test" # Disabled because of sandbox violation(s) + +#S=${WORKDIR}/${MY_P} + +src_prepare() { + # If you choose to do git snapshot instead of patchset, you need to remember + # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh + # all the files + if [[ -d ${WORKDIR}/patch ]]; then + EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch + fi + eautoreconf + pushd scripts && make scripts-clean && popd +} + +src_configure() { + export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166 + default +} + +src_install() { + default + + newdoc scripts/xsl/README README.xsl + use doc && dohtml -r scripts/html + + # Install default XDG_DATA_DIRS, bug #264647 + echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local + echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local + doenvd 30xdg-data-local + + echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base + echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base + doenvd 90xdg-data-base +} + +pkg_postinst() { + [[ -x $(type -P gtk-update-icon-cache) ]] || elog "Install x11-libs/gtk+:2 for the gtk-update-icon-cache command." +} -- 2.26.2