summaryrefslogtreecommitdiff
path: root/sci-visualization/nonolith-connect
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sci-visualization/nonolith-connect
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-visualization/nonolith-connect')
-rw-r--r--sci-visualization/nonolith-connect/Manifest6
-rw-r--r--sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch70
-rw-r--r--sci-visualization/nonolith-connect/files/1.1-gcc6.patch14
-rw-r--r--sci-visualization/nonolith-connect/files/nonolith-connect.initd17
-rw-r--r--sci-visualization/nonolith-connect/metadata.xml12
-rw-r--r--sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild53
6 files changed, 0 insertions, 172 deletions
diff --git a/sci-visualization/nonolith-connect/Manifest b/sci-visualization/nonolith-connect/Manifest
deleted file mode 100644
index e76e34b3bda9..000000000000
--- a/sci-visualization/nonolith-connect/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX 1.1-cflags-respect.patch 2622 BLAKE2B 645d39bac914a7d10563e35f1c34d432f6b018a846c6242135d1cc8f0d4e12b23acb174b40484540bdececaf445bede0b2f8637737069596adad42aee374e00e SHA512 92591f3b70cbcf175f49fa79f0ffc006ff594eb57669e0abdcd2ab940615ba20d73c191fddf8e8546811954ebae1cf3a796e21e7bcbb32708e80a6f4110f59ea
-AUX 1.1-gcc6.patch 424 BLAKE2B fd24205ce5041d6b4b9d015f692713f05a2baa5a23c16dced5ad074ef3079ee23cae9cb5ddc8bb3337da4d5d94af5b6098825b415c9bf7a633f732165a4a462d SHA512 88603392957da2a20c52852b452e62a80a1115a696e91d854529fed8ed8df44c2c4213c4cc39fa738c9ccb4518769363574241bba17597572ad43e603dadb5ea
-AUX nonolith-connect.initd 353 BLAKE2B 2a5fab0951f69549adf610e0ca04dabf8a0f94efaa6c60101855cec8719fd1d393e931d6b814e9b5168b2a9034976b0f42e8e7577d9c76006a6dd26c27b4a562 SHA512 c27852ce9f6529f09b03666dda9416f28cead09e3336ef7cc099e4d84ef65c1449054fc9b72400525db0ebe8ff049db739978010dc4a0dc737786c9bdb9ee23d
-DIST nonolith-connect-1.1.tar.bz2 559686 BLAKE2B 5a5a0ee7671e20661d182eaa448b96d3f259773618f473cacd94097b80bfcaa0c28d991271bb587ae2efa425f4ce14938dff56eaeb4164dd6aa98ba24a2def8e SHA512 41fe49a21a2f773c04c8054f322d17958b3eadac82e7013c50ff73c13dc31baa4905d52c02b5270d636fbb5348aff7ca8b064a30a81e970083abd6e69f93aff9
-EBUILD nonolith-connect-1.1.ebuild 1060 BLAKE2B 90e7b02f46398bb67a1bba7baa4c2481df5d5fe25a901f144a069f2a6d1dccfd05842daebb615394b923a3d16a4184f1b743f0f01c51a81ce65c38bdc7f6dfae SHA512 0b4b1857fa97bc00778129c7a99a08f2eec1d71f4c6bc90b4381bf39031668ca430792475689ca99f149f929a45545306545abfdb2801c8d45cd151131207f70
-MISC metadata.xml 369 BLAKE2B 724eb755ee6ed5d2a6449e643514609cd04460039411064c5d54836ffa9e9114da08044ba2bf9de960fa771b7cd30dd14935ed53d40fd572f12c67b147b2a469 SHA512 b8422b3315767f81b2e038409d54bd3fe9aa9e674e1c9ec46e56056ca421e96dfbd12e35329475310f9dc91369dda6a50382132ee111adc012d746b216b51f08
diff --git a/sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch b/sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch
deleted file mode 100644
index c6b04c5fe339..000000000000
--- a/sci-visualization/nonolith-connect/files/1.1-cflags-respect.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -uNr nonolith-connect-1.1.ORIG/SConstruct nonolith-connect-1.1/SConstruct
---- nonolith-connect-1.1.ORIG/SConstruct 2012-03-22 10:02:11.398944187 +0000
-+++ nonolith-connect-1.1/SConstruct 2012-03-22 10:05:23.149936839 +0000
-@@ -1,7 +1,21 @@
- import sys, os, shutil
-+import SCons.Util
-
- env = Environment()
-
-+if os.environ.has_key('CC'):
-+ env['CC'] = os.environ['CC']
-+if os.environ.has_key('CFLAGS'):
-+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
-+if os.environ.has_key('CXX'):
-+ env['CXX'] = os.environ['CXX']
-+if os.environ.has_key('CXXFLAGS'):
-+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
-+if os.environ.has_key('LDFLAGS'):
-+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
-+if "$CCFLAGS" in env['CXXCOM']:
-+ env['CXXCOM'] = env['CXXCOM'].replace("$CCFLAGS","")
-+
- opts = Variables()
- opts.Add(BoolVariable("mingwcross", "Cross-compile with mingw for Win32", 0))
- opts.Add(BoolVariable("boost_static", "Statically link against Boost", 0))
-@@ -95,8 +109,7 @@
- sources = Glob('*.cpp') + Glob('streaming_device/*.cpp') + ['cee/cee.cpp', 'bootloader/bootloader.cpp']
-
- json = env.Library('json',
-- Glob('libjson/Source/*.cpp'),
-- CCFLAGS = "-c -O3 -ffast-math -fexpensive-optimizations".split()
-+ Glob('libjson/Source/*.cpp')
- )
-
- websocketpp = env.Library('websocketpp', ['websocketpp/src/'+i for i in [
-@@ -107,7 +120,7 @@
- 'websocket_session.cpp',
- 'sha1/sha1.cpp',
- 'base64/base64.cpp'
-- ]], CCFLAGS=['-g', '-O3'])
-+ ]])
-
-
- libusb_cflags = []
-@@ -121,14 +134,22 @@
- libusb_os = ['os/poll_windows.c', 'os/windows_usb.c', 'os/threads_windows.c']
- libusb_cflags += ['-D OS_WINDOWS', '-DPOLL_NFDS_TYPE=unsigned int', '-D WINVER=0x0501']
-
--libusb = env.Library('libusb_nonolith', ['libusb/libusb/'+i for i in [
-+env_libusb = env.Clone()
-+env_libusb.Append(CPPFLAGS=libusb_cflags)
-+env_libusb.Append(CFLAGS=['-Ilibusb', '-Ilibusb/libusb'])
-+
-+libusb = env_libusb.Library('libusb_nonolith', ['libusb/libusb/'+i for i in [
- 'core.c',
- 'descriptor.c',
- 'io.c',
- 'sync.c',
-- ]+libusb_os], CFLAGS=['-g', '-O3', '-Ilibusb', '-Ilibusb/libusb']+libusb_cflags)
-+ ]+libusb_os])
-
-
- libs += boostlibs
-
--env.Program('nonolith-connect', sources, LIBS=libs, CCFLAGS=['-Wall', '-g', '-O3', '-Ilibusb', '-Iwebsocketpp/src', '-shared'], FRAMEWORKS=frameworks)
-+env_main = env.Clone()
-+env_main.Append(CXXFLAGS=['-Ilibusb', '-Iwebsocketpp/src', '-Wall'])
-+#env_main.Append(LINKFLAGS=['-shared'])
-+env_main.Program('nonolith-connect', sources, LIBS=libs, FRAMEWORKS=frameworks)
-+
diff --git a/sci-visualization/nonolith-connect/files/1.1-gcc6.patch b/sci-visualization/nonolith-connect/files/1.1-gcc6.patch
deleted file mode 100644
index 815c3ca866c7..000000000000
--- a/sci-visualization/nonolith-connect/files/1.1-gcc6.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- nonolith-connect-1.1/websocketpp/src/websocket_server_session.cpp.old 2016-09-25 18:13:31.820474134 -0400
-+++ nonolith-connect-1.1/websocketpp/src/websocket_server_session.cpp 2016-09-25 18:38:52.654567787 -0400
-@@ -41,8 +41,11 @@
- #include <iostream>
- #include <sstream>
- #include <string>
-+
-+#if __cplusplus < 201103L
- #include <ext/algorithm>
- using __gnu_cxx::copy_n;
-+#endif
-
- using websocketpp::server_session;
-
diff --git a/sci-visualization/nonolith-connect/files/nonolith-connect.initd b/sci-visualization/nonolith-connect/files/nonolith-connect.initd
deleted file mode 100644
index c8a6bd1d0414..000000000000
--- a/sci-visualization/nonolith-connect/files/nonolith-connect.initd
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- after logger
-}
-
-start() {
- ebegin "Starting nonolith-connect"
- start-stop-daemon --start --quiet -b -m -p /var/run/nonolith-connect.pid -u nonolithd:usb --exec /usr/bin/nonolith-connect
- eend $?
-}
-
-stop() {
- ebegin "Stopping nonolith-connect"
- start-stop-daemon --stop --quiet -p /var/run/nonolith-connect.pid
- eend $?
-}
diff --git a/sci-visualization/nonolith-connect/metadata.xml b/sci-visualization/nonolith-connect/metadata.xml
deleted file mode 100644
index 119bc9428076..000000000000
--- a/sci-visualization/nonolith-connect/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>chainsaw@gentoo.org</email>
- <name>Tony Vroon</name>
- </maintainer>
-<maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild b/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild
deleted file mode 100644
index 955e544fbc61..000000000000
--- a/sci-visualization/nonolith-connect/nonolith-connect-1.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit scons-utils toolchain-funcs user
-
-DESCRIPTION="CEE (Control - Experiment - Explore) analog multitool"
-HOMEPAGE="http://www.nonolithlabs.com/cee/"
-SRC_URI="http://apps.nonolithlabs.com/download/source/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="
- dev-libs/boost
- virtual/udev
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PV}-cflags-respect.patch"
- "${FILESDIR}/${PV}-gcc6.patch"
-)
-
-pkg_setup() {
- tc-export CC CXX
- enewuser nonolithd -1 -1 /dev/null usb
-}
-
-src_configure() {
- myesconsargs=(
- boost_static=0
- )
-}
-
-src_compile() {
- escons
-}
-
-src_install() {
- dobin nonolith-connect
- newinitd "${FILESDIR}"/nonolith-connect.initd nonolith-connect
-}
-
-pkg_postinst() {
- einfo "Consider adding nonolith-connect to the default runlevel."
- einfo "Please connect your CEE hardware, start nonolith-connect "
- einfo "using the init script provided and then visit:"
- einfo "http://apps.nonolithlabs.com/setup"
-}