Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, app-eselect/eselect-opencl/
Date: Sat, 12 Sep 2020 20:40:21
Message-Id: 1599943073.09c9e4c4aea392ff81b97d7922894d7522f2ee44.slashbeast@gentoo
1 commit: 09c9e4c4aea392ff81b97d7922894d7522f2ee44
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 12 20:37:53 2020 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 12 20:37:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09c9e4c4
7
8 app-eselect/eselect-opencl: tree clean.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 app-eselect/eselect-opencl/Manifest | 7 ---
13 .../eselect-opencl/eselect-opencl-1.1.0-r4.ebuild | 70 ----------------------
14 app-eselect/eselect-opencl/metadata.xml | 13 ----
15 profiles/package.mask | 5 --
16 4 files changed, 95 deletions(-)
17
18 diff --git a/app-eselect/eselect-opencl/Manifest b/app-eselect/eselect-opencl/Manifest
19 deleted file mode 100644
20 index 18e92fa2ba9..00000000000
21 --- a/app-eselect/eselect-opencl/Manifest
22 +++ /dev/null
23 @@ -1,7 +0,0 @@
24 -DIST eselect-opencl-1.1.0-r1.tar.xz 3276 BLAKE2B d1475ebedbe29cbb0de054d170d7de62000445954006a46946fa58a7c75e9445fe6bc67c7da204a0e0364d6b3df043c42ab8bc29b2d50d4fe392f3c37d4e87f8 SHA512 b2be1e2035fda4e119f03e9ef84fbf1f09fc0bd5475d3fe30d2330dac76180930451d78dbb9e158c34dee9ce524076434254757b594e84dea96341e52ef13c14
25 -DIST opencl-cpp-headers.tar 716800 BLAKE2B 591bf2e36c8940a6a73da028ac74df4f64737ebce4686b961e6cc13336547590e91c05e6e24c0aab9000d2ab90261885571f3bf85e1797110865532738565586 SHA512 b04c653f213b3cc99f0bbe3c589cf8b2f8f6144d61a85a284a60de92fd5148ff3d45204b4c6a08c205fc307300743bcf4654be2b8b18dd970b5d645ac2eec2f5
26 -DIST opencl10.zip 21701 BLAKE2B 7b4e2fe1985e3e6374aa628ae34884b2d130bdd57c5e3af2d6849c32f72ef69b50471b3f8ecb6dc0e75ffc828a692cb84a8d99f0e8721dab8d2100f9380ce27e SHA512 ce3ad95d7314df4b55284d48c54fb7dfca0a218d0e36a732414b53dc7bdcc53199167b6810a3e3ebdd8abf91a4904acd471733b9130e3a38ec0b3e9ba918b691
27 -DIST opencl11.zip 25496 BLAKE2B abd8aefddb31408e71e36b8610cde7b568debca99e99f310e5b30de73778a18520e52c535d52f63596edf80f7dcda4f9fc6f7c300b4c560f5d79a3b851dcf88a SHA512 c66664e940a51ceb951a78895df87a5dc3139e76b3f847af43c54400d37f243a390b94aab290d32044e19bdba63d0ee8af94955af9a83326c7ab353242496fcc
28 -DIST opencl12.zip 33311 BLAKE2B 0f0c62856162ec1cfd42c1b53979079e0f8fd389fd2b3e05676e029705c29a65e3b84d6bc822aaedd9d15959bc07adfbd444aafb827f09f12b4dd625e868c902 SHA512 af7bb5865372a900a5b79086a54709abc99f6a3afe105adb6fdd276e30ef5c5be576421c206768e0b19e82f83e33727b6f246dfc71a0ee1d847e52d6db6130a8
29 -DIST opencl20.zip 34892 BLAKE2B a71a00a99825ebdde2ddba0c23de3af8880fb44ac235f399ed58936c9193ae79429219661daccac2d7d6daeb87c514308ec6b782db33899e60a2ae912d0876f7 SHA512 e4c6f68db91e0946de5a0f2aecd8fbc152f316350088a386cad9de37b377b6e8c362e93e3c2b09b3dce5f4659c753764ec8906b50a86a5107d2c29e6ffcfe71f
30 -DIST opencl21.zip 35514 BLAKE2B 21d23d9104712df47f7734b3c3b6f1669c88b5c75ca21fe6ad2ef21db83620c0585cc0b8d567d9fd7a755d579e7d291cf20577d025f857339ad191a1d65ee461 SHA512 2b6eafc26ff522407f06509197f5eefbb321806ac3f65bb881db4532da6c0e00b9c397468d55881578b116a1c8d05a0599f9f5727f62eb545394a2cecf5d95c0
31
32 diff --git a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild b/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild
33 deleted file mode 100644
34 index 22999728643..00000000000
35 --- a/app-eselect/eselect-opencl/eselect-opencl-1.1.0-r4.ebuild
36 +++ /dev/null
37 @@ -1,70 +0,0 @@
38 -# Copyright 1999-2020 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=5
42 -
43 -inherit multilib
44 -
45 -DESCRIPTION="Utility to change the OpenCL implementation being used"
46 -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
47 -
48 -# Source:
49 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h
50 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h
51 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h
52 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h
53 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h
54 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h
55 -# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp
56 -
57 -# Using copy by Mario Kicherer #496418
58 -
59 -SRC_URI="
60 - https://dev.gentoo.org/~xarthisius/distfiles/${P}-r1.tar.xz
61 - https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl10.zip
62 - https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl11.zip
63 - https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl12.zip
64 - https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl20.zip
65 - https://github.com/KhronosGroup/OpenCL-Headers/archive/opencl21.zip
66 - http://packages.gentooexperimental.org/opencl-cpp-headers.tar
67 - "
68 -LICENSE="GPL-2"
69 -SLOT="0"
70 -KEYWORDS="amd64 ~arm64 x86"
71 -IUSE=""
72 -
73 -DEPEND="
74 - app-arch/unzip
75 - app-arch/xz-utils"
76 -RDEPEND=">=app-admin/eselect-1.2.4"
77 -
78 -pkg_postinst() {
79 - local impl="$(eselect opencl show)"
80 - if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
81 - eselect opencl set "${impl}"
82 - fi
83 -}
84 -
85 -src_install() {
86 - insinto /usr/share/eselect/modules
87 - doins opencl.eselect
88 - #doman opencl.eselect.5
89 -
90 - local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl_egl.h )
91 -
92 - # We install all versions of OpenCL headers
93 - for CL_ABI in 1.0 1.1 1.2 2.0 2.1; do
94 - mkdir -p "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}"
95 - for f in ${headers[@]}; do
96 - cp "${WORKDIR}"/OpenCL-Headers-opencl${CL_ABI/./}/${f} "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/${f}" > /dev/null
97 - done
98 - done
99 -
100 - for i in 1.1 1.2 2.1; do
101 - cp "${WORKDIR}"/$i/cl.hpp "${ED}/usr/$(get_libdir)/OpenCL/global/include/CL-${CL_ABI}/"
102 - done
103 - # Create symlinks to newest. Maybe this should be switchable?
104 - for f in ${headers[@]}; do
105 - dosym "../../$(get_libdir)/OpenCL/global/include/CL-1.2/${f}" "/usr/include/CL/${f}"
106 - done
107 -}
108
109 diff --git a/app-eselect/eselect-opencl/metadata.xml b/app-eselect/eselect-opencl/metadata.xml
110 deleted file mode 100644
111 index c52f3dd3933..00000000000
112 --- a/app-eselect/eselect-opencl/metadata.xml
113 +++ /dev/null
114 @@ -1,13 +0,0 @@
115 -<?xml version="1.0" encoding="UTF-8"?>
116 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
117 -<pkgmetadata>
118 - <maintainer type="person">
119 - <email>patrick@g.o</email>
120 - </maintainer>
121 - <longdescription>
122 - Utility to switch OpenCL implementations between various providers.
123 - </longdescription>
124 - <upstream>
125 - <remote-id type="github">anyc/opencl-headers</remote-id>
126 - </upstream>
127 -</pkgmetadata>
128
129 diff --git a/profiles/package.mask b/profiles/package.mask
130 index 7ed200cd3db..d23e5d89f26 100644
131 --- a/profiles/package.mask
132 +++ b/profiles/package.mask
133 @@ -642,11 +642,6 @@ dev-tex/crosstex
134 # Bug #629272
135 app-admin/apg
136
137 -# Matt Turner <mattst88@g.o> (2020-08-11)
138 -# No longer needed with virtual/opencl-3
139 -# Masked for removal in 30 days. Bug #728284
140 -app-eselect/eselect-opencl
141 -
142 # Matt Turner <mattst88@g.o> (2020-08-11)
143 # Replaced by media-libs/libglvnd.
144 # Masked for removal in 30 days. Bug #728286