1 |
commit: c9a5516ba23eeb3a1d31f318d014af75c61f76ff |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 07:27:29 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 07:38:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a5516b |
7 |
|
8 |
sci-visualization/nonolith-connect: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735558 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 1 - |
14 |
sci-visualization/nonolith-connect/Manifest | 1 - |
15 |
.../files/1.1-cflags-respect.patch | 70 ---------------------- |
16 |
.../nonolith-connect/files/1.1-gcc6.patch | 14 ----- |
17 |
.../nonolith-connect/files/nonolith-connect.initd | 17 ------ |
18 |
sci-visualization/nonolith-connect/metadata.xml | 12 ---- |
19 |
.../nonolith-connect/nonolith-connect-1.1.ebuild | 53 ---------------- |
20 |
7 files changed, 168 deletions(-) |
21 |
|
22 |
diff --git a/profiles/package.mask b/profiles/package.mask |
23 |
index 3609048310e..565e3dce965 100644 |
24 |
--- a/profiles/package.mask |
25 |
+++ b/profiles/package.mask |
26 |
@@ -267,7 +267,6 @@ games-strategy/endless-sky |
27 |
games-strategy/glob2 |
28 |
net-vpn/freelan |
29 |
sci-geosciences/mapnik |
30 |
-sci-visualization/nonolith-connect |
31 |
|
32 |
# Michał Górny <mgorny@g.o> (2020-09-25) |
33 |
# PyPy3.7 alpha. Known to break a few packages. Masked until it |
34 |
|
35 |
diff --git a/sci-visualization/nonolith-connect/Manifest b/sci-visualization/nonolith-connect/Manifest |
36 |
deleted file mode 100644 |
37 |
index 63e8816a468..00000000000 |
38 |
--- a/sci-visualization/nonolith-connect/Manifest |
39 |
+++ /dev/null |
40 |
@@ -1 +0,0 @@ |
41 |
-DIST nonolith-connect-1.1.tar.bz2 559686 BLAKE2B 5a5a0ee7671e20661d182eaa448b96d3f259773618f473cacd94097b80bfcaa0c28d991271bb587ae2efa425f4ce14938dff56eaeb4164dd6aa98ba24a2def8e SHA512 41fe49a21a2f773c04c8054f322d17958b3eadac82e7013c50ff73c13dc31baa4905d52c02b5270d636fbb5348aff7ca8b064a30a81e970083abd6e69f93aff9 |
42 |
|
43 |
diff --git a/sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch b/sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch |
44 |
deleted file mode 100644 |
45 |
index c6b04c5fe33..00000000000 |
46 |
--- a/sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch |
47 |
+++ /dev/null |
48 |
@@ -1,70 +0,0 @@ |
49 |
-diff -uNr nonolith-connect-1.1.ORIG/SConstruct nonolith-connect-1.1/SConstruct |
50 |
---- nonolith-connect-1.1.ORIG/SConstruct 2012-03-22 10:02:11.398944187 +0000 |
51 |
-+++ nonolith-connect-1.1/SConstruct 2012-03-22 10:05:23.149936839 +0000 |
52 |
-@@ -1,7 +1,21 @@ |
53 |
- import sys, os, shutil |
54 |
-+import SCons.Util |
55 |
- |
56 |
- env = Environment() |
57 |
- |
58 |
-+if os.environ.has_key('CC'): |
59 |
-+ env['CC'] = os.environ['CC'] |
60 |
-+if os.environ.has_key('CFLAGS'): |
61 |
-+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) |
62 |
-+if os.environ.has_key('CXX'): |
63 |
-+ env['CXX'] = os.environ['CXX'] |
64 |
-+if os.environ.has_key('CXXFLAGS'): |
65 |
-+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) |
66 |
-+if os.environ.has_key('LDFLAGS'): |
67 |
-+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) |
68 |
-+if "$CCFLAGS" in env['CXXCOM']: |
69 |
-+ env['CXXCOM'] = env['CXXCOM'].replace("$CCFLAGS","") |
70 |
-+ |
71 |
- opts = Variables() |
72 |
- opts.Add(BoolVariable("mingwcross", "Cross-compile with mingw for Win32", 0)) |
73 |
- opts.Add(BoolVariable("boost_static", "Statically link against Boost", 0)) |
74 |
-@@ -95,8 +109,7 @@ |
75 |
- sources = Glob('*.cpp') + Glob('streaming_device/*.cpp') + ['cee/cee.cpp', 'bootloader/bootloader.cpp'] |
76 |
- |
77 |
- json = env.Library('json', |
78 |
-- Glob('libjson/Source/*.cpp'), |
79 |
-- CCFLAGS = "-c -O3 -ffast-math -fexpensive-optimizations".split() |
80 |
-+ Glob('libjson/Source/*.cpp') |
81 |
- ) |
82 |
- |
83 |
- websocketpp = env.Library('websocketpp', ['websocketpp/src/'+i for i in [ |
84 |
-@@ -107,7 +120,7 @@ |
85 |
- 'websocket_session.cpp', |
86 |
- 'sha1/sha1.cpp', |
87 |
- 'base64/base64.cpp' |
88 |
-- ]], CCFLAGS=['-g', '-O3']) |
89 |
-+ ]]) |
90 |
- |
91 |
- |
92 |
- libusb_cflags = [] |
93 |
-@@ -121,14 +134,22 @@ |
94 |
- libusb_os = ['os/poll_windows.c', 'os/windows_usb.c', 'os/threads_windows.c'] |
95 |
- libusb_cflags += ['-D OS_WINDOWS', '-DPOLL_NFDS_TYPE=unsigned int', '-D WINVER=0x0501'] |
96 |
- |
97 |
--libusb = env.Library('libusb_nonolith', ['libusb/libusb/'+i for i in [ |
98 |
-+env_libusb = env.Clone() |
99 |
-+env_libusb.Append(CPPFLAGS=libusb_cflags) |
100 |
-+env_libusb.Append(CFLAGS=['-Ilibusb', '-Ilibusb/libusb']) |
101 |
-+ |
102 |
-+libusb = env_libusb.Library('libusb_nonolith', ['libusb/libusb/'+i for i in [ |
103 |
- 'core.c', |
104 |
- 'descriptor.c', |
105 |
- 'io.c', |
106 |
- 'sync.c', |
107 |
-- ]+libusb_os], CFLAGS=['-g', '-O3', '-Ilibusb', '-Ilibusb/libusb']+libusb_cflags) |
108 |
-+ ]+libusb_os]) |
109 |
- |
110 |
- |
111 |
- libs += boostlibs |
112 |
- |
113 |
--env.Program('nonolith-connect', sources, LIBS=libs, CCFLAGS=['-Wall', '-g', '-O3', '-Ilibusb', '-Iwebsocketpp/src', '-shared'], FRAMEWORKS=frameworks) |
114 |
-+env_main = env.Clone() |
115 |
-+env_main.Append(CXXFLAGS=['-Ilibusb', '-Iwebsocketpp/src', '-Wall']) |
116 |
-+#env_main.Append(LINKFLAGS=['-shared']) |
117 |
-+env_main.Program('nonolith-connect', sources, LIBS=libs, FRAMEWORKS=frameworks) |
118 |
-+ |
119 |
|
120 |
diff --git a/sci-visualization/nonolith-connect/files/1.1-gcc6.patch b/sci-visualization/nonolith-connect/files/1.1-gcc6.patch |
121 |
deleted file mode 100644 |
122 |
index 815c3ca866c..00000000000 |
123 |
--- a/sci-visualization/nonolith-connect/files/1.1-gcc6.patch |
124 |
+++ /dev/null |
125 |
@@ -1,14 +0,0 @@ |
126 |
---- nonolith-connect-1.1/websocketpp/src/websocket_server_session.cpp.old 2016-09-25 18:13:31.820474134 -0400 |
127 |
-+++ nonolith-connect-1.1/websocketpp/src/websocket_server_session.cpp 2016-09-25 18:38:52.654567787 -0400 |
128 |
-@@ -41,8 +41,11 @@ |
129 |
- #include <iostream> |
130 |
- #include <sstream> |
131 |
- #include <string> |
132 |
-+ |
133 |
-+#if __cplusplus < 201103L |
134 |
- #include <ext/algorithm> |
135 |
- using __gnu_cxx::copy_n; |
136 |
-+#endif |
137 |
- |
138 |
- using websocketpp::server_session; |
139 |
- |
140 |
|
141 |
diff --git a/sci-visualization/nonolith-connect/files/nonolith-connect.initd b/sci-visualization/nonolith-connect/files/nonolith-connect.initd |
142 |
deleted file mode 100644 |
143 |
index c8a6bd1d041..00000000000 |
144 |
--- a/sci-visualization/nonolith-connect/files/nonolith-connect.initd |
145 |
+++ /dev/null |
146 |
@@ -1,17 +0,0 @@ |
147 |
-#!/sbin/openrc-run |
148 |
- |
149 |
-depend() { |
150 |
- after logger |
151 |
-} |
152 |
- |
153 |
-start() { |
154 |
- ebegin "Starting nonolith-connect" |
155 |
- start-stop-daemon --start --quiet -b -m -p /var/run/nonolith-connect.pid -u nonolithd:usb --exec /usr/bin/nonolith-connect |
156 |
- eend $? |
157 |
-} |
158 |
- |
159 |
-stop() { |
160 |
- ebegin "Stopping nonolith-connect" |
161 |
- start-stop-daemon --stop --quiet -p /var/run/nonolith-connect.pid |
162 |
- eend $? |
163 |
-} |
164 |
|
165 |
diff --git a/sci-visualization/nonolith-connect/metadata.xml b/sci-visualization/nonolith-connect/metadata.xml |
166 |
deleted file mode 100644 |
167 |
index 119bc942807..00000000000 |
168 |
--- a/sci-visualization/nonolith-connect/metadata.xml |
169 |
+++ /dev/null |
170 |
@@ -1,12 +0,0 @@ |
171 |
-<?xml version="1.0" encoding="UTF-8"?> |
172 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
173 |
-<pkgmetadata> |
174 |
- <maintainer type="person"> |
175 |
- <email>chainsaw@g.o</email> |
176 |
- <name>Tony Vroon</name> |
177 |
- </maintainer> |
178 |
-<maintainer type="project"> |
179 |
- <email>sci@g.o</email> |
180 |
- <name>Gentoo Science Project</name> |
181 |
- </maintainer> |
182 |
-</pkgmetadata> |
183 |
|
184 |
diff --git a/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild b/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild |
185 |
deleted file mode 100644 |
186 |
index 955e544fbc6..00000000000 |
187 |
--- a/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild |
188 |
+++ /dev/null |
189 |
@@ -1,53 +0,0 @@ |
190 |
-# Copyright 1999-2017 Gentoo Foundation |
191 |
-# Distributed under the terms of the GNU General Public License v2 |
192 |
- |
193 |
-EAPI=6 |
194 |
- |
195 |
-inherit scons-utils toolchain-funcs user |
196 |
- |
197 |
-DESCRIPTION="CEE (Control - Experiment - Explore) analog multitool" |
198 |
-HOMEPAGE="http://www.nonolithlabs.com/cee/" |
199 |
-SRC_URI="http://apps.nonolithlabs.com/download/source/${P}.tar.bz2" |
200 |
- |
201 |
-LICENSE="GPL-3" |
202 |
-SLOT="0" |
203 |
-KEYWORDS="~amd64" |
204 |
-IUSE="" |
205 |
- |
206 |
-RDEPEND=" |
207 |
- dev-libs/boost |
208 |
- virtual/udev |
209 |
-" |
210 |
-DEPEND="${RDEPEND}" |
211 |
- |
212 |
-PATCHES=( |
213 |
- "${FILESDIR}/${PV}-cflags-respect.patch" |
214 |
- "${FILESDIR}/${PV}-gcc6.patch" |
215 |
-) |
216 |
- |
217 |
-pkg_setup() { |
218 |
- tc-export CC CXX |
219 |
- enewuser nonolithd -1 -1 /dev/null usb |
220 |
-} |
221 |
- |
222 |
-src_configure() { |
223 |
- myesconsargs=( |
224 |
- boost_static=0 |
225 |
- ) |
226 |
-} |
227 |
- |
228 |
-src_compile() { |
229 |
- escons |
230 |
-} |
231 |
- |
232 |
-src_install() { |
233 |
- dobin nonolith-connect |
234 |
- newinitd "${FILESDIR}"/nonolith-connect.initd nonolith-connect |
235 |
-} |
236 |
- |
237 |
-pkg_postinst() { |
238 |
- einfo "Consider adding nonolith-connect to the default runlevel." |
239 |
- einfo "Please connect your CEE hardware, start nonolith-connect " |
240 |
- einfo "using the init script provided and then visit:" |
241 |
- einfo "http://apps.nonolithlabs.com/setup" |
242 |
-} |