Cenkron [Fri, 12 Jan 2018 19:05:29 +0000 (13:05 -0600)]
mxe/msys2: Use -DCMAKE_BUILD_TYPE in favor of a patch.
Direct cmake to apply the -mwindows linker switch based on a cmake
command line argument rather than by using a patch file. The command
line argument is -DCMAKE_BUILD_TYPE=xxxxx and applies the linker switch
only to WIN32 builds that are not Debug.
Uwe Hermann [Thu, 11 Jan 2018 22:53:08 +0000 (23:53 +0100)]
sigrok-native-msys2: Have libsigrok Python bindings use Python 3.
We're installing Python 3 versions of setuptools and numpy using this
script's "prepare" option, so force the build to use those (otherwise
it'll search for the Python 2 versions and won't find them).
Note: The Python bindings build still remains off (--disable-python)
since there are issues there that need to be investigated.
Uwe Hermann [Fri, 17 Nov 2017 19:16:47 +0000 (20:16 +0100)]
sigrok-fwextract-dreamsourcelab-dslogic: Revert to v0.97 firmware.
The v0.98 firmware seems to require quite a few changes in libsigrok
since the protocol changed upstream. Until someone implements support
for the v0.98 firmware, we'll stay at v0.97 which is known to work on
all DSLogic devices with the current libsigrok driver.
Gerhard Sittig [Thu, 17 Aug 2017 19:11:49 +0000 (21:11 +0200)]
macosx: Refine pulseview executable invocation in wrapper script.
Cope with whitespace in e.g. pathnames that get passed to the script and
then forwarded to the executable. Prefix the invocation of the external
binary with 'exec' as there is no need to return to the script after the
last line finished executing.
Uwe Hermann [Tue, 15 Aug 2017 20:52:54 +0000 (22:52 +0200)]
macosx: Set $SIGROK_FIRMWARE_DIR environment variable.
This allows the .app/DMG to properly find its firmware files.
In addition to the files it ships with, libsigrok will still search all
the usual paths for firmware files (if needed). I.e., the user can place
additional firmware files in local paths (see libsigrok's README.devices).
Gerhard Sittig [Sat, 19 Nov 2016 16:54:47 +0000 (17:54 +0100)]
sigrok-cross-linux: run configure under scan-build, too
http://clang-analyzer.llvm.org/scan-build.html#recommended_autoconf
suggests that autotools generated configure scripts shall be run under
scan-build, too. Adjust the cross build script accordingly (N.B. the
initial cmake invocation at configure time already did so).
Gerhard Sittig [Sun, 21 May 2017 16:18:43 +0000 (18:18 +0200)]
new-driver: do accept multiple command line words for driver name
The README specifies that driver names consist of multiple words
(typically vendor and model). Adjust the args parser configuration such
that more than one word gets accepted (the previous implementation did
insist on a single word).
Uwe Hermann [Fri, 17 Feb 2017 08:20:42 +0000 (09:20 +0100)]
sigrok-cross-mingw: Lower Python version to 3.4 (Win XP support).
The last Python version to officially support Windows XP was 3.4.x.
We'll keep the Windows installers at that version for the time being,
until Windows XP support is no longer feasible (e.g. because important
sigrok requirements such as Qt, glib, or libusb drop XP suppport).
Uwe Hermann [Sun, 29 Jan 2017 18:03:41 +0000 (19:03 +0100)]
sigrok-cross-android: Set "android:versionName" to a timestamp.
Use the current date-/timestamp when building as the versionName
Android field.
This "version" basically means "git HEAD of everything as of the
build time of the APK", which includes every piece of software that
the sigrok-cross-android script grabs and builds, as well as the
pre-installed Android NDK + SDK components.
Marcus Comstedt [Sun, 27 Nov 2016 15:05:01 +0000 (16:05 +0100)]
sigrok-cross-android: Patch libusb to use Java helpers for enumeration
In newer Android versions, the native enumeration code used by
libusb does not work anymore due to the necessary virtual file
system nodes not being available to user processes. Therefore,
Java helper code is now needed for enumeration as well.
David Douard [Mon, 30 May 2016 20:00:46 +0000 (22:00 +0200)]
new-driver: refactoring
- use argparse and add several cmdline options
- prevent global vars
- allow to be run from other directory than sigrok-util/source
- use plain python .format() for templating
This patch in libsigrok removes the drivers.c completely, so new-driver
should not try to modify it any more. It has been replaced by a register
mechanism to add driver pointer in a new special section.
So drv-api.c must be modified to include a call to SR_REGISTER_DEV_DRIVER
Uwe Hermann [Sun, 15 May 2016 14:17:41 +0000 (16:17 +0200)]
sigrok-cross-android: Use http transport for config.git.
Savannah is currently suffering some networking issues which cause the
git clone via git:// to fail. It seems that cloning via http:// works
fine though, so use that for now.
Uwe Hermann [Tue, 9 Feb 2016 07:42:14 +0000 (08:42 +0100)]
sigrok-cross-android: Revert back to older glib(mm).
Bumping the glib(mm) versions to 2.47.x seems to have caused a
regression, the Android app would fail to start with a segfault
related to g_match_info_unref() apparently.