Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xdg-utils/files/, x11-misc/xdg-utils/
Date: Tue, 07 Sep 2021 14:08:50
Message-Id: 1631023721.7a6270d5aa31639e7a9c7defa608d76f4268fd95.pacho@gentoo
1 commit: 7a6270d5aa31639e7a9c7defa608d76f4268fd95
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 7 14:07:46 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 7 14:08:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6270d5
7
8 x11-misc/xdg-utils: Drop old
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 x11-misc/xdg-utils/Manifest | 1 -
14 .../files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch | 21 ------
15 x11-misc/xdg-utils/xdg-utils-1.1.3-r3.ebuild | 81 ----------------------
16 .../xdg-utils/xdg-utils-1.1.3_p20200220-r4.ebuild | 73 -------------------
17 4 files changed, 176 deletions(-)
18
19 diff --git a/x11-misc/xdg-utils/Manifest b/x11-misc/xdg-utils/Manifest
20 index 267f0faf07d..5dc536bc22f 100644
21 --- a/x11-misc/xdg-utils/Manifest
22 +++ b/x11-misc/xdg-utils/Manifest
23 @@ -1,2 +1 @@
24 -DIST xdg-utils-1.1.3.tar.gz 297170 BLAKE2B bd281df73d8c966d11b502dd7ec88d96dbc9683503f54b043ae4842f146b6847bd3dd6902cf993771848d9fcb55d26d67f032af2b8aa0795a6d9855535e57d5b SHA512 d1f819a211eb4104a90dfdc6fedcb640fd46b15ccfc8762266f8f538c49d74cb00027b8c1af991fb2a200acb4379986ae375700e06a2aa08fb41a38f883acb3e
25 DIST xdg-utils-1.1.3_p20200220.tar.bz2 287080 BLAKE2B eb9067527d5073f290d10ad36bcda24d4b813f3c98776b57955a7f254956795c26f1536c858ac104259f68f755746976d2cfc3aeccb9b9b35eaca5ea5eb89806 SHA512 8445109e87fb9e92edeebbf6b07a41b79344bc5016eb7224f5f2b7e599c6d075363337c81dd2ddf8f3007c633debba7f814631188c02db3ae002f622b4c323ec
26
27 diff --git a/x11-misc/xdg-utils/files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch b/x11-misc/xdg-utils/files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch
28 deleted file mode 100644
29 index 1f6cc29ab05..00000000000
30 --- a/x11-misc/xdg-utils/files/xdg-utils-1.1.3-xdg-open-pcmanfm.patch
31 +++ /dev/null
32 @@ -1,21 +0,0 @@
33 -From 31525d3855f876ddf2e29091b2e8d376f923e09e Mon Sep 17 00:00:00 2001
34 -From: Rex Dieter <rdieter@×××××.com>
35 -Date: Thu, 24 May 2018 14:40:53 -0500
36 -Subject: xdg-open: better pcmanfm check (BR106636,BR106161)
37 -
38 -diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
39 -index 630e63e..bf9da4c 100644
40 ---- a/scripts/xdg-open.in
41 -+++ b/scripts/xdg-open.in
42 -@@ -451,7 +451,7 @@ open_lxde()
43 - {
44 -
45 - # pcmanfm only knows how to handle file:// urls and filepaths, it seems.
46 -- if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then
47 -+ if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then
48 - local file="$(file_url_to_path "$1")"
49 -
50 - # handle relative paths
51 ---
52 -cgit v1.1
53 -
54
55 diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.3-r3.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.3-r3.ebuild
56 deleted file mode 100644
57 index 7409d598280..00000000000
58 --- a/x11-misc/xdg-utils/xdg-utils-1.1.3-r3.ebuild
59 +++ /dev/null
60 @@ -1,81 +0,0 @@
61 -# Copyright 1999-2021 Gentoo Authors
62 -# Distributed under the terms of the GNU General Public License v2
63 -
64 -EAPI=6
65 -inherit autotools
66 -
67 -MY_P="${P/_/-}"
68 -
69 -DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
70 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
71 -#SRC_URI="https://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
72 -#SRC_URI="https://people.freedesktop.org/~rdieter/${PN}/${MY_P}.tar.gz
73 -# https://dev.gentoo.org/~ssuominen/${P}-patchset-1.tar.xz"
74 -SRC_URI="https://portland.freedesktop.org/download/${MY_P}.tar.gz"
75 -
76 -LICENSE="MIT"
77 -SLOT="0"
78 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
79 -IUSE="doc"
80 -
81 -RDEPEND="
82 - dev-util/desktop-file-utils
83 - dev-perl/File-MimeInfo
84 - dev-perl/Net-DBus
85 - dev-perl/X11-Protocol
86 - sys-apps/dbus
87 - x11-misc/shared-mime-info
88 - x11-apps/xprop
89 - x11-apps/xset
90 -"
91 -DEPEND="
92 - >=app-text/xmlto-0.0.28-r3[text(+)]
93 - virtual/awk
94 -"
95 -
96 -DOCS=( ChangeLog README RELEASE_NOTES TODO )
97 -
98 -RESTRICT="test" # Disabled because of sandbox violation(s)
99 -
100 -PATCHES=(
101 - "${FILESDIR}"/xdg-utils-1.1.3-xdg-open-pcmanfm.patch
102 -)
103 -
104 -#S=${WORKDIR}/${MY_P}
105 -
106 -src_prepare() {
107 - default
108 - # If you choose to do git snapshot instead of patchset, you need to remember
109 - # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh
110 - # all the files
111 - if [[ -d "${WORKDIR}/patch" ]]; then
112 - eapply "${WORKDIR}/patch"
113 - fi
114 - eautoreconf
115 -}
116 -
117 -src_configure() {
118 - export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166
119 - default
120 -}
121 -
122 -src_install() {
123 - default
124 -
125 - newdoc scripts/xsl/README README.xsl
126 - use doc && dodoc -r scripts/html
127 -
128 - # Install default XDG_DATA_DIRS, bug #264647
129 - echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local
130 - echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
131 - doenvd 30xdg-data-local
132 -
133 - echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base
134 - echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base
135 - doenvd 90xdg-data-base
136 -}
137 -
138 -pkg_postinst() {
139 - [[ -x $(type -P gtk-update-icon-cache) ]] \
140 - || elog "Install dev-util/gtk-update-icon-cache for the gtk-update-icon-cache command."
141 -}
142
143 diff --git a/x11-misc/xdg-utils/xdg-utils-1.1.3_p20200220-r4.ebuild b/x11-misc/xdg-utils/xdg-utils-1.1.3_p20200220-r4.ebuild
144 deleted file mode 100644
145 index 66d98814bdd..00000000000
146 --- a/x11-misc/xdg-utils/xdg-utils-1.1.3_p20200220-r4.ebuild
147 +++ /dev/null
148 @@ -1,73 +0,0 @@
149 -# Copyright 1999-2021 Gentoo Authors
150 -# Distributed under the terms of the GNU General Public License v2
151 -
152 -EAPI=7
153 -inherit autotools
154 -
155 -EGIT_COMMIT="9816ebb3e6fd9f23e993b8b7fcbd56f92d9c9197"
156 -DESCRIPTION="Portland utils for cross-platform/cross-toolkit/cross-desktop interoperability"
157 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
158 -SRC_URI="
159 - https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/${EGIT_COMMIT}/${P}.tar.bz2"
160 -S=${WORKDIR}/xdg-utils-${EGIT_COMMIT}
161 -
162 -LICENSE="MIT"
163 -SLOT="0"
164 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
165 -IUSE="doc"
166 -
167 -RDEPEND="
168 - dev-util/desktop-file-utils
169 - dev-perl/File-MimeInfo
170 - dev-perl/Net-DBus
171 - dev-perl/X11-Protocol
172 - sys-apps/dbus
173 - x11-misc/shared-mime-info
174 - x11-apps/xprop
175 - x11-apps/xset
176 -"
177 -BDEPEND="
178 - >=app-text/xmlto-0.0.28-r3[text(+)]
179 - virtual/awk
180 -"
181 -
182 -DOCS=( ChangeLog README RELEASE_NOTES TODO )
183 -
184 -# Tests run random system programs, including interactive programs
185 -# that block forever
186 -RESTRICT="test"
187 -
188 -src_prepare() {
189 - default
190 - # If you choose to do git snapshot instead of patchset, you need to remember
191 - # to run `autoconf` in ./ and `make scripts-clean` in ./scripts/ to refresh
192 - # all the files
193 - eautoreconf
194 -}
195 -
196 -src_configure() {
197 - export ac_cv_path_XMLTO="$(type -P xmlto) --skip-validation" #502166
198 - default
199 - emake -C scripts scripts-clean
200 -}
201 -
202 -src_install() {
203 - default
204 -
205 - newdoc scripts/xsl/README README.xsl
206 - use doc && dodoc -r scripts/html
207 -
208 - # Install default XDG_DATA_DIRS, bug #264647
209 - echo XDG_DATA_DIRS=\"${EPREFIX}/usr/local/share\" > 30xdg-data-local
210 - echo 'COLON_SEPARATED="XDG_DATA_DIRS XDG_CONFIG_DIRS"' >> 30xdg-data-local
211 - doenvd 30xdg-data-local
212 -
213 - echo XDG_DATA_DIRS=\"${EPREFIX}/usr/share\" > 90xdg-data-base
214 - echo XDG_CONFIG_DIRS=\"${EPREFIX}/etc/xdg\" >> 90xdg-data-base
215 - doenvd 90xdg-data-base
216 -}
217 -
218 -pkg_postinst() {
219 - [[ -x $(type -P gtk-update-icon-cache) ]] \
220 - || elog "Install dev-util/gtk-update-icon-cache for the gtk-update-icon-cache command."
221 -}