OpalKelly 5.2.8 → 5.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,29 +1,29 @@
1
- /* ----------------------------------------------------------------------------
2
- * This file was automatically generated by SWIG (http://www.swig.org).
3
- * Version 4.0.2
4
- *
5
- * This file is not intended to be easily readable and contains a number of
6
- * coding conventions designed to improve portability and efficiency. Do not make
7
- * changes to this file unless you know what you are doing--modify the SWIG
8
- * interface file instead.
9
- * ----------------------------------------------------------------------------- */
10
-
11
- #ifndef SWIG_OpalKelly_WRAP_H_
12
- #define SWIG_OpalKelly_WRAP_H_
13
-
14
- namespace Swig {
15
- class Director;
16
- }
17
-
18
-
19
- class SwigDirector_FrontPanelManager : public OpalKelly::FrontPanelManager, public Swig::Director {
20
-
21
- public:
22
- SwigDirector_FrontPanelManager(VALUE self, std::string const &realm = std::string());
23
- virtual ~SwigDirector_FrontPanelManager();
24
- virtual void OnDeviceAdded(char const *serial);
25
- virtual void OnDeviceRemoved(char const *serial);
26
- };
27
-
28
-
29
- #endif
1
+ /* ----------------------------------------------------------------------------
2
+ * This file was automatically generated by SWIG (http://www.swig.org).
3
+ * Version 4.0.2
4
+ *
5
+ * This file is not intended to be easily readable and contains a number of
6
+ * coding conventions designed to improve portability and efficiency. Do not make
7
+ * changes to this file unless you know what you are doing--modify the SWIG
8
+ * interface file instead.
9
+ * ----------------------------------------------------------------------------- */
10
+
11
+ #ifndef SWIG_OpalKelly_WRAP_H_
12
+ #define SWIG_OpalKelly_WRAP_H_
13
+
14
+ namespace Swig {
15
+ class Director;
16
+ }
17
+
18
+
19
+ class SwigDirector_FrontPanelManager : public OpalKelly::FrontPanelManager, public Swig::Director {
20
+
21
+ public:
22
+ SwigDirector_FrontPanelManager(VALUE self, std::string const &realm = std::string());
23
+ virtual ~SwigDirector_FrontPanelManager();
24
+ virtual void OnDeviceAdded(char const *serial);
25
+ virtual void OnDeviceRemoved(char const *serial);
26
+ };
27
+
28
+
29
+ #endif
@@ -1,51 +1,51 @@
1
- require 'mkmf'
2
- require 'rbconfig'
3
-
4
- sdk_include_dir = ENV['okFP_SDK_INCLUDE']
5
- sdk_lib_dir = ENV['okFP_SDK_LIBS']
6
- sdk_dir = ENV['okFP_SDK'] || '..'
7
-
8
- include_dirs = []
9
- if sdk_include_dir
10
- include_dirs << sdk_include_dir
11
- end
12
-
13
- lib_dirs = []
14
- if sdk_lib_dir
15
- lib_dirs << sdk_lib_dir
16
- end
17
-
18
- case RbConfig::CONFIG['arch']
19
- when 'x64-mingw32'
20
- include_dirs << "#{sdk_dir}/include"
21
- lib_dirs << "#{sdk_dir}/lib/x64"
22
-
23
- when 'i386-mingw32'
24
- include_dirs << "#{sdk_dir}/include"
25
- lib_dirs << "#{sdk_dir}/lib/Win32"
26
-
27
- else
28
- # Assume Unix-like system, where subdirectories are not used.
29
- include_dirs << "#{sdk_dir}"
30
- lib_dirs << "#{sdk_dir}"
31
- end
32
-
33
- dir_config('frontpanel', include_dirs, lib_dirs)
34
-
35
- unless have_header('okFrontPanel.h')
36
- abort 'Required header "okFrontPanel.h" not found, use --with-frontpanel-include=<dir> to specify its location.'
37
- end
38
-
39
- unless have_library('okFrontPanel', 'okFrontPanel_CheckAPIVersion', 'okFrontPanel.h')
40
- abort 'Required okFrontPanel library not found, use --with-frontpanel-lib=<dir> to specify its location.'
41
- end
42
-
43
- # Avoid multiple warnings about std::auto_ptr<> being deprecated.
44
- #
45
- # Note that we intentionally don't us append_cppflags() here because it's not
46
- # available in Ruby 2.0, which we still support (used under e.g. CentOS 7),
47
- # while -Wno-deprecated-declarations option is understood by all versions of
48
- # gcc is still in use.
49
- $CPPFLAGS << ' -Wno-deprecated-declarations'
50
-
51
- create_makefile('OpalKelly')
1
+ require 'mkmf'
2
+ require 'rbconfig'
3
+
4
+ sdk_include_dir = ENV['okFP_SDK_INCLUDE']
5
+ sdk_lib_dir = ENV['okFP_SDK_LIBS']
6
+ sdk_dir = ENV['okFP_SDK'] || '..'
7
+
8
+ include_dirs = []
9
+ if sdk_include_dir
10
+ include_dirs << sdk_include_dir
11
+ end
12
+
13
+ lib_dirs = []
14
+ if sdk_lib_dir
15
+ lib_dirs << sdk_lib_dir
16
+ end
17
+
18
+ case RbConfig::CONFIG['arch']
19
+ when 'x64-mingw32'
20
+ include_dirs << "#{sdk_dir}/include"
21
+ lib_dirs << "#{sdk_dir}/lib/x64"
22
+
23
+ when 'i386-mingw32'
24
+ include_dirs << "#{sdk_dir}/include"
25
+ lib_dirs << "#{sdk_dir}/lib/Win32"
26
+
27
+ else
28
+ # Assume Unix-like system, where subdirectories are not used.
29
+ include_dirs << "#{sdk_dir}"
30
+ lib_dirs << "#{sdk_dir}"
31
+ end
32
+
33
+ dir_config('frontpanel', include_dirs, lib_dirs)
34
+
35
+ unless have_header('okFrontPanel.h')
36
+ abort 'Required header "okFrontPanel.h" not found, use --with-frontpanel-include=<dir> to specify its location.'
37
+ end
38
+
39
+ unless have_library('okFrontPanel', 'okFrontPanel_CheckAPIVersion', 'okFrontPanel.h')
40
+ abort 'Required okFrontPanel library not found, use --with-frontpanel-lib=<dir> to specify its location.'
41
+ end
42
+
43
+ # Avoid multiple warnings about std::auto_ptr<> being deprecated.
44
+ #
45
+ # Note that we intentionally don't us append_cppflags() here because it's not
46
+ # available in Ruby 2.0, which we still support (used under e.g. CentOS 7),
47
+ # while -Wno-deprecated-declarations option is understood by all versions of
48
+ # gcc is still in use.
49
+ $CPPFLAGS << ' -Wno-deprecated-declarations'
50
+
51
+ create_makefile('OpalKelly')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: OpalKelly
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.8
4
+ version: 5.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opal Kelly Incorporated
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-20 00:00:00.000000000 Z
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides access to FrontPanel devices.
14
14
  email: tech+rubygems@opalkelly.com
@@ -26,7 +26,7 @@ homepage: https://docs.opalkelly.com/display/FPSDK/Programming+Languages#Program
26
26
  licenses:
27
27
  - MIT
28
28
  metadata: {}
29
- post_install_message:
29
+ post_install_message:
30
30
  rdoc_options: []
31
31
  require_paths:
32
32
  - lib
@@ -41,8 +41,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  requirements: []
44
- rubygems_version: 3.3.7
45
- signing_key:
44
+ rubygems_version: 3.3.5
45
+ signing_key:
46
46
  specification_version: 4
47
47
  summary: OpalKelly FrontPanel API
48
48
  test_files: []