Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/higan-purify/files/, games-util/higan-purify/, profiles/
Date: Tue, 01 Feb 2022 21:28:51
Message-Id: 1643750722.4332d5f7a26c38065adeb1f752473789895bea41.jsmolic@gentoo
1 commit: 4332d5f7a26c38065adeb1f752473789895bea41
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 21:25:12 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 21:25:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4332d5f7
7
8 games-util/higan-purify: treeclean
9
10 Closes: https://bugs.gentoo.org/821121
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 games-util/higan-purify/Manifest | 1 -
14 .../higan-purify/files/higan-purify-03-QA.patch | 42 ------------------
15 .../files/higan-purify-03-respect-CXX.patch | 28 ------------
16 games-util/higan-purify/higan-purify-03.ebuild | 50 ----------------------
17 games-util/higan-purify/metadata.xml | 8 ----
18 profiles/package.mask | 8 ----
19 6 files changed, 137 deletions(-)
20
21 diff --git a/games-util/higan-purify/Manifest b/games-util/higan-purify/Manifest
22 deleted file mode 100644
23 index 2ebd9ee81d45..000000000000
24 --- a/games-util/higan-purify/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST purify_v03-source.tar.xz 196924 BLAKE2B f4d22ccc34d1c345a2dee20c14bab2614b71b0df2660f3f0883df1b56b5e5fc7fc99872f73ebe674faca8bb455f1a90e5bf79ce9b893f980e99b94546bbcf400 SHA512 095b62013f5a33e720b87c48f32c41239d8cef4c6ddc2b6d119d15b3f8b92bc15d744afa0b2bc8d7a49ef53f8f3fa7f2247be490499a9b194863534f9c1a4b3d
28
29 diff --git a/games-util/higan-purify/files/higan-purify-03-QA.patch b/games-util/higan-purify/files/higan-purify-03-QA.patch
30 deleted file mode 100644
31 index 5b2d1e6c3d3a..000000000000
32 --- a/games-util/higan-purify/files/higan-purify-03-QA.patch
33 +++ /dev/null
34 @@ -1,42 +0,0 @@
35 ---- a/Makefile
36 -+++ b/Makefile
37 -@@ -2,8 +2,8 @@
38 - include phoenix/Makefile
39 -
40 - path := /usr/local/bin
41 --flags := -I. -O3 -fomit-frame-pointer
42 --link := -s
43 -+flags := -I. $(CXXFLAGS)
44 -+link := $(LDFLAGS)
45 - objects := obj/phoenix.o obj/purify.o
46 -
47 - ifeq ($(platform),x)
48 -@@ -22,7 +22,7 @@
49 -
50 - build: $(objects)
51 - ifeq ($(platform),x)
52 -- $(cpp) -pthread $(link) -o purify $(objects) $(phoenixlink)
53 -+ $(cpp) $(flags) -pthread $(link) -o purify $(objects) $(phoenixlink)
54 - else ifeq ($(platform),win)
55 - windres phoenix/windows/phoenix.rc obj/phoenix-resource.o
56 - $(cpp) -shared -o phoenix.dll obj/phoenix.o $(phoenixlink)
57 ---- a/phoenix/Makefile
58 -+++ b/phoenix/Makefile
59 -@@ -4,13 +4,13 @@
60 - endif
61 -
62 - ifeq ($(phoenix),gtk)
63 -- phoenixflags := -DPHOENIX_GTK `pkg-config --cflags gtk+-2.0`
64 -- phoenixlink := `pkg-config --libs gtk+-2.0`
65 -+ phoenixflags := -DPHOENIX_GTK `${PKG_CONFIG} --cflags gtk+-2.0 x11`
66 -+ phoenixlink := `${PKG_CONFIG} --libs gtk+-2.0 x11` -ldl
67 - endif
68 -
69 - ifeq ($(phoenix),qt)
70 -- phoenixflags := -DPHOENIX_QT `pkg-config --cflags QtCore QtGui`
71 -- phoenixlink := `pkg-config --libs QtCore QtGui`
72 -+ phoenixflags := -DPHOENIX_QT `${PKG_CONFIG} --cflags QtCore QtGui x11`
73 -+ phoenixlink := `${PKG_CONFIG} --libs QtCore QtGui x11` -ldl
74 - endif
75 - else ifeq ($(platform),win)
76 - phoenixflags := -DPHOENIX_WINDOWS
77
78 diff --git a/games-util/higan-purify/files/higan-purify-03-respect-CXX.patch b/games-util/higan-purify/files/higan-purify-03-respect-CXX.patch
79 deleted file mode 100644
80 index 00a6a1e4c69b..000000000000
81 --- a/games-util/higan-purify/files/higan-purify-03-respect-CXX.patch
82 +++ /dev/null
83 @@ -1,28 +0,0 @@
84 -diff --git a/Makefile b/Makefile
85 -index 2a56366..59a3795 100755
86 ---- a/Makefile
87 -+++ b/Makefile
88 -@@ -15,18 +15,18 @@ endif
89 - all: build;
90 -
91 - obj/phoenix.o: phoenix/phoenix.cpp
92 -- $(cpp) $(flags) -o obj/phoenix.o -c phoenix/phoenix.cpp $(phoenixflags)
93 -+ $(CXX) $(flags) -o obj/phoenix.o -c phoenix/phoenix.cpp $(phoenixflags)
94 -
95 - obj/purify.o: purify.cpp
96 -- $(cpp) $(flags) -o obj/purify.o -c purify.cpp
97 -+ $(CXX) $(flags) -o obj/purify.o -c purify.cpp
98 -
99 - build: $(objects)
100 - ifeq ($(platform),x)
101 -- $(cpp) $(flags) -pthread $(link) -o purify $(objects) $(phoenixlink)
102 -+ $(CXX) $(flags) -pthread $(link) -o purify $(objects) $(phoenixlink)
103 - else ifeq ($(platform),win)
104 - windres phoenix/windows/phoenix.rc obj/phoenix-resource.o
105 -- $(cpp) -shared -o phoenix.dll obj/phoenix.o $(phoenixlink)
106 -- $(cpp) -o purify obj/purify.o obj/phoenix-resource.o $(link) -L. -lphoenix
107 -+ $(CXX) -shared -o phoenix.dll obj/phoenix.o $(phoenixlink)
108 -+ $(CXX) -o purify obj/purify.o obj/phoenix-resource.o $(link) -L. -lphoenix
109 - endif
110 -
111 - resource: force
112
113 diff --git a/games-util/higan-purify/higan-purify-03.ebuild b/games-util/higan-purify/higan-purify-03.ebuild
114 deleted file mode 100644
115 index 7f5fcaa1f834..000000000000
116 --- a/games-util/higan-purify/higan-purify-03.ebuild
117 +++ /dev/null
118 @@ -1,50 +0,0 @@
119 -# Copyright 1999-2021 Gentoo Authors
120 -# Distributed under the terms of the GNU General Public License v2
121 -
122 -EAPI=7
123 -
124 -inherit toolchain-funcs
125 -
126 -MY_P=purify_v${PV}-source
127 -DESCRIPTION="Rom purifier for higan"
128 -HOMEPAGE="http://byuu.org/higan/"
129 -SRC_URI="https://higan.googlecode.com/files/${MY_P}.tar.xz"
130 -S="${WORKDIR}"/${MY_P}/purify
131 -
132 -LICENSE="GPL-3"
133 -SLOT="0"
134 -KEYWORDS="~amd64 ~x86"
135 -
136 -RDEPEND="
137 - dev-games/higan-ananke
138 - x11-libs/gtk+:2
139 - x11-libs/libX11"
140 -DEPEND="${RDEPEND}"
141 -BDEPEND="virtual/pkgconfig"
142 -
143 -PATCHES=(
144 - "${FILESDIR}"/${P}-QA.patch
145 - "${FILESDIR}"/${PN}-03-respect-CXX.patch
146 -)
147 -
148 -src_prepare() {
149 - default
150 -
151 - sed -i \
152 - -e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
153 - nall/dl.hpp || die
154 -}
155 -
156 -src_compile() {
157 - tc-export CXX
158 -
159 - emake \
160 - PKG_CONFIG="$(tc-getPKG_CONFIG)"
161 - platform="x" \
162 - compiler="$(tc-getCXX)" \
163 - phoenix="gtk"
164 -}
165 -
166 -src_install() {
167 - dobin purify
168 -}
169
170 diff --git a/games-util/higan-purify/metadata.xml b/games-util/higan-purify/metadata.xml
171 deleted file mode 100644
172 index 7c730d47817a..000000000000
173 --- a/games-util/higan-purify/metadata.xml
174 +++ /dev/null
175 @@ -1,8 +0,0 @@
176 -<?xml version="1.0" encoding="UTF-8"?>
177 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
178 -<pkgmetadata>
179 - <maintainer type="project">
180 - <email>games@g.o</email>
181 - <name>Gentoo Games Project</name>
182 - </maintainer>
183 -</pkgmetadata>
184
185 diff --git a/profiles/package.mask b/profiles/package.mask
186 index db98abe28bc5..1d3e187d3501 100644
187 --- a/profiles/package.mask
188 +++ b/profiles/package.mask
189 @@ -353,14 +353,6 @@ sys-cluster/onesis
190 # Removal after 2022-02-04. Bug #830588.
191 games-util/springlobby
192
193 -# Ionen Wolkens <ionen@g.o> (2022-01-03)
194 -# Obsolete, higan-purify is now provided by games-emulation/higan
195 -# as the icarus utility (bug #821121) and dev-games/higan-ananke
196 -# has no known uses without higan-purify (bug #821124). Further
197 -# stuck on gtk2 with dead HOMEPAGE / SRC_URI.
198 -# Removal after 2022-02-02.
199 -games-util/higan-purify
200 -
201 # Florian Schmaus <flow@g.o> (2022-01-02)
202 # Unmaintained, upstream gone, only packaged by
203 # Gentoo, and the whole idea to unlock based on