public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/nonolith-connect/files/
@ 2017-01-29 20:10 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-01-29 20:10 UTC (permalink / raw
  To: gentoo-commits

commit:     4d8fb5a3e08fb3e6d6b8161a1e94243bb5fbed14
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jan 29 09:23:25 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 20:09:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8fb5a3

sci-visualization/nonolith-connect: remove unused patche/file

Closes: https://github.com/gentoo/gentoo/pull/3709

 .../files/1.0.1-cflags-respect.patch               | 69 ----------------------
 .../files/60-nonolith-connect.rules                |  3 -
 2 files changed, 72 deletions(-)

diff --git a/sci-visualization/nonolith-connect/files/1.0.1-cflags-respect.patch b/sci-visualization/nonolith-connect/files/1.0.1-cflags-respect.patch
deleted file mode 100644
index 46e0aed..00000000
--- a/sci-visualization/nonolith-connect/files/1.0.1-cflags-respect.patch
+++ /dev/null
@@ -1,69 +0,0 @@
---- SConstruct
-+++ SConstruct
-@@ -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))
-@@ -101,8 +115,7 @@
- sources = Glob('*.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 [
-@@ -113,7 +126,7 @@
-                 'websocket_session.cpp',
-                 'sha1/sha1.cpp',
-                 'base64/base64.cpp'
--            ]], CCFLAGS=['-g', '-O3'])
-+            ]])
- 
- 
- libusb_cflags = []
-@@ -127,14 +140,21 @@
- 	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', "-DVERSION='%s'"%version], FRAMEWORKS=frameworks)
-+env_main = env.Clone()
-+env_main.Append(CPPFLAGS=["-DVERSION='%s'"%version])
-+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/60-nonolith-connect.rules b/sci-visualization/nonolith-connect/files/60-nonolith-connect.rules
deleted file mode 100644
index 63d44d0..00000000
--- a/sci-visualization/nonolith-connect/files/60-nonolith-connect.rules
+++ /dev/null
@@ -1,3 +0,0 @@
-SUBSYSTEM=="usb", ATTR{idVendor}=="59e3", ATTR{idProduct}=="cee1", GROUP:="nonolithd", MODE="0666"
-SUBSYSTEM=="usb", ATTR{idVendor}=="59e3", ATTR{idProduct}=="b003", GROUP:="nonolithd", MODE="0666"
-SUBSYSTEM=="usb", ATTR{idVendor}=="59e3", ATTR{idProduct}=="bbbb", GROUP:="nonolithd", MODE="0666"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-29 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-29 20:10 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/nonolith-connect/files/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox