]> sigrok.org Git - sigrok-util.git/log
sigrok-util.git
6 years agoeevblog-121gw: introduce BLE to UART gateway (EEVBlog 121GW comm helper)
Gerhard Sittig [Tue, 9 Oct 2018 17:27:06 +0000 (19:27 +0200)]
eevblog-121gw: introduce BLE to UART gateway (EEVBlog 121GW comm helper)

Introduce a Python script which relays data which is received via BLE
communication to a UART. This enables immediate use of the serial-dmm
device driver for the EEVBlog 121GW multimeter, until sigrok's serial
communication layer grows (better) support for this physical layer.

Prefer the bluepy(3) Python module over the external gatttool(1) process
since this enables automatic scan for the device's address, and graceful
handling of lost communication, including re-connecting to the device.

6 years agosigrok-native-appimage: Add bugfix patch for AppImageKit.
Uwe Hermann [Thu, 11 Oct 2018 19:28:40 +0000 (21:28 +0200)]
sigrok-native-appimage: Add bugfix patch for AppImageKit.

The problem was that relative paths would not work, since AppRun
(part of the AppImage) would chdir() into the AppImage mount point
(/tmp/.mount_xxxxx/usr), which would make glib's g_get_current_dir() return
that path, so all glib functions calling that would do the wrong thing.

For now, we fix this by patching away the chdir() in AppRun.

Details:
https://github.com/AppImage/AppImageKit/issues/172#issuecomment-229993161

This fixes bug #1300.

6 years agosigrok-native-appimage: Update README.
Uwe Hermann [Thu, 11 Oct 2018 18:58:28 +0000 (20:58 +0200)]
sigrok-native-appimage: Update README.

6 years agosigrok-native-appimage: Update APPIMAGEKIT_OUTDIR for current paths.
Uwe Hermann [Thu, 11 Oct 2018 18:46:30 +0000 (20:46 +0200)]
sigrok-native-appimage: Update APPIMAGEKIT_OUTDIR for current paths.

6 years agosigrok-native-appimage: Bump upstream files in contrib/.
Uwe Hermann [Thu, 11 Oct 2018 18:44:32 +0000 (20:44 +0200)]
sigrok-native-appimage: Bump upstream files in contrib/.

6 years agosigrok-cross-mingw: Patch MXE's glib to fix compiler warnings.
Uwe Hermann [Wed, 3 Oct 2018 15:03:58 +0000 (17:03 +0200)]
sigrok-cross-mingw: Patch MXE's glib to fix compiler warnings.

This fixes parts of bug #986.

This seems to have been fixed upstream recently:
https://gitlab.gnome.org/GNOME/glib/commit/3d7cde654c4c6f3bdad32f5521f28f5802a7c377

Until MXE uses a recent enough glib, we're applying a similar (ported) patch.

This fixes the following compiler warnings:

  src/usb.c: In function 'usb_pollfd_removed':
  src/usb.c:34:20: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
   #define LOG_PREFIX "usb"
                      ^
  src/libsigrok-internal.h:764:41: note: in expansion of macro 'LOG_PREFIX'
   #define sr_err(...) sr_log(SR_LOG_ERR,  LOG_PREFIX ": " __VA_ARGS__)
                                           ^
  src/usb.c:222:2: note: in expansion of macro 'sr_err'
    sr_err("FD to be removed (%" G_GINTPTR_FORMAT
    ^

  src/input/input.c: In function 'sr_input_free':
  src/input/input.c:29:20: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'gsize {aka long long unsigned int}' [-Wformat=]
   #define LOG_PREFIX "input"
                      ^
  ./src/libsigrok-internal.h:763:42: note: in expansion of macro 'LOG_PREFIX'
   #define sr_warn(...) sr_log(SR_LOG_WARN, LOG_PREFIX ": " __VA_ARGS__)
                                            ^
  src/input/input.c:686:3: note: in expansion of macro 'sr_warn'
     sr_warn("Found %" G_GSIZE_FORMAT
     ^

  src/output/analog.c: In function 'receive':
  src/output/analog.c:118:34: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'guint64 {aka long long unsigned int}' [-Wformat=]
       g_string_append_printf(*out, "%"
                                    ^

  src/scpi/scpi.c: In function 'sr_scpi_get_string':
  src/scpi/scpi.c:28:20: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'gsize {aka long long unsigned int}' [-Wformat=]
   #define LOG_PREFIX "scpi"
                      ^
  ./src/libsigrok-internal.h:760:42: note: in expansion of macro 'LOG_PREFIX'
   #define sr_spew(...) sr_log(SR_LOG_SPEW, LOG_PREFIX ": " __VA_ARGS__)
                                            ^
  src/scpi/scpi.c:623:2: note: in expansion of macro 'sr_spew'
    sr_spew("Got response: '%.70s', length %" G_GSIZE_FORMAT ".",
    ^

  In file included from session.c:22:0:
  session.c: In function 'srd_session_metadata_set':
  session.c:190:10: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'guint64 {aka long long unsigned int}' [-Wformat=]
    srd_dbg("Setting session %d samplerate to %"G_GUINT64_FORMAT".",
            ^
  libsigrokdecode-internal.h:101:44: note: in definition of macro 'srd_dbg'
   #define srd_dbg(...) srd_log(SRD_LOG_DBG,  __VA_ARGS__)
                                              ^

6 years agosigrok-cross-mingw: Drop apparently obsolete libzip patch.
Uwe Hermann [Wed, 3 Oct 2018 14:15:24 +0000 (16:15 +0200)]
sigrok-cross-mingw: Drop apparently obsolete libzip patch.

Initial tests with MinGW 5.0.4 and libzip 1.5.1 from recent MXE suggest
that this issue is no longer reproducible. It was probably fixed in
either of the packages in the mean time.

6 years agosigrok-cross-mingw: Update README.
Uwe Hermann [Wed, 3 Oct 2018 14:14:39 +0000 (16:14 +0200)]
sigrok-cross-mingw: Update README.

6 years agosigrok-native-msys2: Update README.
Uwe Hermann [Tue, 2 Oct 2018 20:19:24 +0000 (22:19 +0200)]
sigrok-native-msys2: Update README.

6 years agosigrok-cross-mingw: Fix broken Windows 64bit decoding (bug #1195).
Uwe Hermann [Sat, 29 Sep 2018 16:55:20 +0000 (18:55 +0200)]
sigrok-cross-mingw: Fix broken Windows 64bit decoding (bug #1195).

6 years agomacosx: Hardcode the Qt version to 5.5 for now.
Uwe Hermann [Sun, 19 Aug 2018 16:59:01 +0000 (18:59 +0200)]
macosx: Hardcode the Qt version to 5.5 for now.

The latest Qt version available in Homebrew is 5.11.x currently, but
this version no longer supports older Mac OS X versions:

  https://doc.qt.io/qt-5/supported-platforms-and-configurations.html

In order for the DMG build to remain compatible with some more older
Mac OS X versions, we hardcode the scripts to use Qt 5.5 for now.

This requires the following on the build box:

 $ brew install qt@5.5
 $ brew unlink qt
 $ brew link --force qt@5.5

With this change the DMG should work on at least Mac OS X 10.8, 10.9,
and 10.10 according to Qt docs (only tested on 10.11.6 / El Capitan).

The DMG also currently uses Python 3.7, which should work fine for
Mac OS X 10.9 (Mavericks) and later, according to Python docs
(again, only tested on 10.11.6 / El Capitan).

6 years agomacosx: Fix another instance that needs the Python 3.6 -> 3.7 bump.
Uwe Hermann [Sun, 19 Aug 2018 16:48:37 +0000 (18:48 +0200)]
macosx: Fix another instance that needs the Python 3.6 -> 3.7 bump.

6 years agocreate_dmg: Bump PYVER to 3.7 to match current Homebrew.
Uwe Hermann [Sun, 12 Aug 2018 19:58:52 +0000 (21:58 +0200)]
create_dmg: Bump PYVER to 3.7 to match current Homebrew.

6 years agosigrok-cross-mingw: Revert to glib 2.44.1 for now (fixes bug #1232).
Uwe Hermann [Fri, 20 Jul 2018 18:06:13 +0000 (20:06 +0200)]
sigrok-cross-mingw: Revert to glib 2.44.1 for now (fixes bug #1232).

6 years agosigrok-cross-mingw: Add required libusb patch for MXE.
Uwe Hermann [Sat, 16 Jun 2018 14:01:34 +0000 (16:01 +0200)]
sigrok-cross-mingw: Add required libusb patch for MXE.

6 years agoREADME: Fix incorrect content.
Uwe Hermann [Wed, 30 May 2018 21:43:35 +0000 (23:43 +0200)]
README: Fix incorrect content.

6 years agosigrok-native-macosx: Fix incorrect Python 3.6 install_name.
Uwe Hermann [Fri, 11 May 2018 13:42:41 +0000 (15:42 +0200)]
sigrok-native-macosx: Fix incorrect Python 3.6 install_name.

This fixes bug #1192.

6 years agosigrok-native-msys2: Don't override PKG_CONFIG_PATH.
Uwe Hermann [Sat, 7 Apr 2018 17:53:50 +0000 (19:53 +0200)]
sigrok-native-msys2: Don't override PKG_CONFIG_PATH.

Instead, prepend to it. Otherwise certain pkg-config files might
not be found correctly.

6 years agosigrok-native-appimage: Don't add the glibc version to the filename.
Uwe Hermann [Sat, 7 Apr 2018 17:44:14 +0000 (19:44 +0200)]
sigrok-native-appimage: Don't add the glibc version to the filename.

This is not really needed or useful in most cases, also not sure whether
it's actually even correct in all cases.

6 years agosigrok-native-appimage: Support building a sigrok-cli AppImage.
Uwe Hermann [Sat, 7 Apr 2018 17:36:04 +0000 (19:36 +0200)]
sigrok-native-appimage: Support building a sigrok-cli AppImage.

6 years agoREADME: Update to current AppImage status.
Uwe Hermann [Sat, 7 Apr 2018 16:39:26 +0000 (18:39 +0200)]
README: Update to current AppImage status.

6 years agosigrok-cross-android: Set CMAKE_MAKE_PROGRAM to fix libftdi build.
Uwe Hermann [Fri, 23 Mar 2018 08:24:02 +0000 (09:24 +0100)]
sigrok-cross-android: Set CMAKE_MAKE_PROGRAM to fix libftdi build.

The libftdi build was failing (for quite a while now) like this:

  CMake Error: CMake was unable to find a build program corresponding
  to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need
  to select a different build tool.

Explicitly setting CMAKE_MAKE_PROGRAM seems to fix this.

6 years agoDisable the host PYTHONPATH environment variable to avoid build confusion.
Cenkron [Sun, 18 Feb 2018 20:38:54 +0000 (14:38 -0600)]
Disable the host PYTHONPATH environment variable to avoid build confusion.

6 years agosigrok-native-msys2: Fix a typo.
Uwe Hermann [Sat, 10 Feb 2018 19:07:25 +0000 (20:07 +0100)]
sigrok-native-msys2: Fix a typo.

6 years agosigrok-native-msys2: Abort if run in an "MSYS2 MSYS" shell.
Uwe Hermann [Sat, 10 Feb 2018 17:46:32 +0000 (18:46 +0100)]
sigrok-native-msys2: Abort if run in an "MSYS2 MSYS" shell.

6 years agosigrok-cross-android: Bump VER_SIGROK_FIRMWARE_FX2LAFW to 0.1.6.
Uwe Hermann [Sat, 10 Feb 2018 17:42:17 +0000 (18:42 +0100)]
sigrok-cross-android: Bump VER_SIGROK_FIRMWARE_FX2LAFW to 0.1.6.

6 years agosigrok-native-msys2: Bump VER_SIGROK_FIRMWARE_FX2LAFW to 0.1.6.
Uwe Hermann [Sun, 28 Jan 2018 17:22:32 +0000 (18:22 +0100)]
sigrok-native-msys2: Bump VER_SIGROK_FIRMWARE_FX2LAFW to 0.1.6.

6 years agosigrok-cross-mingw: Drop obsolete/unused SF_MIRROR variable.
Uwe Hermann [Tue, 16 Jan 2018 22:37:54 +0000 (23:37 +0100)]
sigrok-cross-mingw: Drop obsolete/unused SF_MIRROR variable.

6 years agosigrok-native-msys2: Bump fx2lafw tarball version to 0.1.5.
Uwe Hermann [Tue, 16 Jan 2018 22:37:19 +0000 (23:37 +0100)]
sigrok-native-msys2: Bump fx2lafw tarball version to 0.1.5.

6 years agomingw/msys2: Make build directory names reflect debug/release and 32/64
Cenkron [Tue, 16 Jan 2018 21:35:26 +0000 (15:35 -0600)]
mingw/msys2: Make build directory names reflect debug/release and 32/64

For mingw and msys2 builds, both the install and build directory names
now reflect the build characteristics.
This makes it possible to do debug and release builds simultaneously.

6 years agosigrok-native-msys2: Fix a typo in the "prepare" target.
Uwe Hermann [Sat, 13 Jan 2018 17:13:24 +0000 (18:13 +0100)]
sigrok-native-msys2: Fix a typo in the "prepare" target.

6 years agomxe/msys2: Use -DCMAKE_BUILD_TYPE in favor of a patch.
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.

6 years agosigrok-native-msys2: Have libsigrok Python bindings use Python 3.
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.

6 years agosigrok-native-msys2: Add autoconf-archive, libftdi, nsis.
Uwe Hermann [Thu, 11 Jan 2018 20:37:18 +0000 (21:37 +0100)]
sigrok-native-msys2: Add autoconf-archive, libftdi, nsis.

These packages are now available in MSYS2 (weren't in the past).

6 years agomsys2: Update README.
Uwe Hermann [Thu, 11 Jan 2018 20:10:55 +0000 (21:10 +0100)]
msys2: Update README.

6 years agosigrok-cross-mingw: Drop obsolete -DHOME parameter for makensis.
Uwe Hermann [Sun, 10 Dec 2017 14:28:13 +0000 (15:28 +0100)]
sigrok-cross-mingw: Drop obsolete -DHOME parameter for makensis.

6 years agosigrok-cross-mingw: 64bit: Generate missing libpython34.a.
Uwe Hermann [Sat, 9 Dec 2017 22:38:20 +0000 (23:38 +0100)]
sigrok-cross-mingw: 64bit: Generate missing libpython34.a.

This might fix (parts of) bug #1069, but tests so far have shown
issues, so this might need more work. It's a start, though.

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Update manpage.
Uwe Hermann [Tue, 21 Nov 2017 18:21:06 +0000 (19:21 +0100)]
sigrok-fwextract-dreamsourcelab-dslogic: Update manpage.

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Revert to v0.97 firmware.
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.

This fixes bug #1049.

7 years agosigrok-cross-mingw: README: Freeze Qt5 to 5.7.x for Windows XP support.
Uwe Hermann [Tue, 3 Oct 2017 22:13:22 +0000 (00:13 +0200)]
sigrok-cross-mingw: README: Freeze Qt5 to 5.7.x for Windows XP support.

7 years agosigrok-cross-mingw: README: Reduce Qt5 dependencies.
Uwe Hermann [Tue, 3 Oct 2017 22:09:58 +0000 (00:09 +0200)]
sigrok-cross-mingw: README: Reduce Qt5 dependencies.

Don't build all of Qt5, only the parts we actually currently use.

This saves some (one-off) MXE build time.

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Update comment.
Uwe Hermann [Mon, 18 Sep 2017 23:21:32 +0000 (01:21 +0200)]
sigrok-fwextract-dreamsourcelab-dslogic: Update comment.

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Download v0.98 firmware
Joel Holdsworth [Sun, 17 Sep 2017 23:46:01 +0000 (17:46 -0600)]
sigrok-fwextract-dreamsourcelab-dslogic: Download v0.98 firmware

Includes two firmware changes:
  - firmware/hdl updated, fix initialization issue and improve stability
  - fix resume issue @ oscilloscope auto(roll) mode

7 years agosigrok-cross-android: Qt: Use -no-warnings-are-errors.
Uwe Hermann [Mon, 28 Aug 2017 22:29:34 +0000 (00:29 +0200)]
sigrok-cross-android: Qt: Use -no-warnings-are-errors.

This avoids some warnings/errors with recent compilers.

7 years agosigrok-native-appimage: Bump upstream files in contrib/.
Uwe Hermann [Mon, 21 Aug 2017 14:58:12 +0000 (16:58 +0200)]
sigrok-native-appimage: Bump upstream files in contrib/.

7 years agosigrok-native-appimage: Drop hardcoded values, add i386 support.
Uwe Hermann [Mon, 21 Aug 2017 00:17:35 +0000 (02:17 +0200)]
sigrok-native-appimage: Drop hardcoded values, add i386 support.

7 years agosigrok-native-appimage: Drop some unneeded local files.
Uwe Hermann [Sun, 20 Aug 2017 14:11:41 +0000 (16:11 +0200)]
sigrok-native-appimage: Drop some unneeded local files.

These files are now available in PulseView itself.

7 years agomacosx: Refine pulseview executable invocation in wrapper script.
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.

7 years agomacosx: create_dmg: Fix comment.
Uwe Hermann [Wed, 16 Aug 2017 20:47:44 +0000 (22:47 +0200)]
macosx: create_dmg: Fix comment.

7 years agomacosx: Pass on arguments to the pulseview wrapper script.
Uwe Hermann [Tue, 15 Aug 2017 21:00:04 +0000 (23:00 +0200)]
macosx: Pass on arguments to the pulseview wrapper script.

This allows calling the wrapper script with parameters, e.g. -l 5.

7 years agomacosx: Set $SIGROK_FIRMWARE_DIR environment variable.
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).

7 years agomacosx: Add a script that creates a self-contained DMG.
Uwe Hermann [Tue, 1 Aug 2017 21:03:56 +0000 (23:03 +0200)]
macosx: Add a script that creates a self-contained DMG.

7 years agonew-driver: Update to current state of the code-base.
Uwe Hermann [Wed, 19 Jul 2017 19:41:05 +0000 (21:41 +0200)]
new-driver: Update to current state of the code-base.

7 years agosigrok-cross-linux: run configure under scan-build, too
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).

7 years agosaleae-logicpro16: Decode more commands and registers
Jan Luebbe [Tue, 11 Jul 2017 19:23:00 +0000 (21:23 +0200)]
saleae-logicpro16: Decode more commands and registers

7 years agosigrok-fwextract-saleae-logic16: Add extraction of Logic Pro firmware
Jan Luebbe [Tue, 11 Jul 2017 19:20:47 +0000 (21:20 +0200)]
sigrok-fwextract-saleae-logic16: Add extraction of Logic Pro firmware

This was tested with vendor software version 1.2.10.

7 years agonewdriver: Drop obsolete checks and code chunks.
Uwe Hermann [Thu, 6 Jul 2017 18:30:09 +0000 (20:30 +0200)]
newdriver: Drop obsolete checks and code chunks.

This is now handled via wrappers that the whole code-base uses.

7 years agosaleae-logicpro16: Add wireshark dissector
Jan Luebbe [Sun, 25 Jun 2017 19:25:49 +0000 (21:25 +0200)]
saleae-logicpro16: Add wireshark dissector

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Fix comment.
Uwe Hermann [Wed, 21 Jun 2017 06:21:50 +0000 (08:21 +0200)]
sigrok-fwextract-dreamsourcelab-dslogic: Fix comment.

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Download v0.97 firmware
Joel Holdsworth [Sat, 10 Jun 2017 00:33:52 +0000 (18:33 -0600)]
sigrok-fwextract-dreamsourcelab-dslogic: Download v0.97 firmware

7 years agosigrok-cross-mingw: Add and use FileAssociation.nsh.
Uwe Hermann [Sat, 3 Jun 2017 20:56:00 +0000 (22:56 +0200)]
sigrok-cross-mingw: Add and use FileAssociation.nsh.

This is required for ${registerExtension} and ${unregisterExtension}.

Taken from:
http://nsis.sourceforge.net/File_Association

7 years agosigrok-cross-android: Enable the Python struct module.
Uwe Hermann [Tue, 23 May 2017 22:00:39 +0000 (00:00 +0200)]
sigrok-cross-android: Enable the Python struct module.

This fixes bug #751.

7 years agonew-driver: do accept multiple command line words for driver name
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).

7 years agonew-driver: minor whitespace nit
Gerhard Sittig [Sun, 21 May 2017 16:20:38 +0000 (18:20 +0200)]
new-driver: minor whitespace nit

7 years agosigrok-cross-android: Drop boost-thread.
Uwe Hermann [Fri, 31 Mar 2017 17:30:20 +0000 (19:30 +0200)]
sigrok-cross-android: Drop boost-thread.

This is no longer needed, PV uses pure C++11 threading now.

7 years agosigrok-cross-linux: PV: Add -DCMAKE_EXPORT_COMPILE_COMMANDS=y.
Uwe Hermann [Mon, 20 Mar 2017 23:43:23 +0000 (00:43 +0100)]
sigrok-cross-linux: PV: Add -DCMAKE_EXPORT_COMPILE_COMMANDS=y.

This creates a compilation database which can be used with e.g. clang-tidy.

7 years agosigrok-native-appimage: Add missing Qt5 dependencies.
Uwe Hermann [Sun, 19 Mar 2017 23:54:01 +0000 (00:54 +0100)]
sigrok-native-appimage: Add missing Qt5 dependencies.

7 years agosigrok-native-appimage: Add Python 3 files.
Uwe Hermann [Sun, 19 Mar 2017 23:53:30 +0000 (00:53 +0100)]
sigrok-native-appimage: Add Python 3 files.

7 years agosigrok-native-appimage: Fix order of delete_blacklisted() call.
Uwe Hermann [Sun, 19 Mar 2017 23:46:12 +0000 (00:46 +0100)]
sigrok-native-appimage: Fix order of delete_blacklisted() call.

This was being called too early, resulting in not all files being
deleted that should be deleted.

7 years agosigrok-native-appimage: Include all relevant Qt5 plugins.
Uwe Hermann [Sun, 19 Mar 2017 20:09:29 +0000 (21:09 +0100)]
sigrok-native-appimage: Include all relevant Qt5 plugins.

7 years agosigrok-native-appimage: Use $STATIC_FILES.
Uwe Hermann [Wed, 1 Mar 2017 18:01:57 +0000 (19:01 +0100)]
sigrok-native-appimage: Use $STATIC_FILES.

7 years agosigrok-native-appimage: Add local copy of 'excludelist'.
Uwe Hermann [Wed, 1 Mar 2017 17:59:25 +0000 (18:59 +0100)]
sigrok-native-appimage: Add local copy of 'excludelist'.

This avoids having to depend on or trust external sites.

7 years agosigrok-native-appimage: Inline patch_usr().
Uwe Hermann [Wed, 1 Mar 2017 17:43:22 +0000 (18:43 +0100)]
sigrok-native-appimage: Inline patch_usr().

7 years agosigrok-native-appimage: Replace obsolete generate_appimage().
Uwe Hermann [Wed, 1 Mar 2017 17:29:36 +0000 (18:29 +0100)]
sigrok-native-appimage: Replace obsolete generate_appimage().

7 years agosigrok-native-appimage: Add $APPIMAGEKIT_OUTDIR.
Uwe Hermann [Wed, 1 Mar 2017 00:22:35 +0000 (01:22 +0100)]
sigrok-native-appimage: Add $APPIMAGEKIT_OUTDIR.

The script now uses a locally built AppImageKit from $APPIMAGEKIT_OUTDIR.

This avoids having to depend on or trust external sites.

7 years agosigrok-native-appimage: Use local copy of AppImage's functions.sh.
Uwe Hermann [Tue, 28 Feb 2017 23:56:31 +0000 (00:56 +0100)]
sigrok-native-appimage: Use local copy of AppImage's functions.sh.

This avoids having to depend on or trust external sites.

7 years agosigrok-native-appimage: Use local copies of .depktop and icon.
Uwe Hermann [Tue, 28 Feb 2017 23:55:14 +0000 (00:55 +0100)]
sigrok-native-appimage: Use local copies of .depktop and icon.

7 years agosigrok-native-appimage: Rewrite to use local build products.
Uwe Hermann [Tue, 28 Feb 2017 23:45:20 +0000 (00:45 +0100)]
sigrok-native-appimage: Rewrite to use local build products.

The script now assumes that $HOME/sr contains a full build of all sigrok
components, as performed by e.g. the sigrok-cross-linux script.

Use "NIGHTLY" as version indicator in the filename.

7 years agosigrok-cross-msys2: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 22:08:15 +0000 (23:08 +0100)]
sigrok-cross-msys2: Factor out $REPO_BASE.

7 years agosigrok-cross-mingw: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 20:09:03 +0000 (21:09 +0100)]
sigrok-cross-mingw: Factor out $REPO_BASE.

7 years agosigrok-cross-macosx: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 20:05:59 +0000 (21:05 +0100)]
sigrok-cross-macosx: Factor out $REPO_BASE.

7 years agosigrok-cross-android: Factor out $REPO_BASE.
Uwe Hermann [Tue, 28 Feb 2017 19:47:51 +0000 (20:47 +0100)]
sigrok-cross-android: Factor out $REPO_BASE.

7 years agosigrok-cross-linux: Factor out $REPO_BASE.
Uwe Hermann [Mon, 27 Feb 2017 20:01:30 +0000 (21:01 +0100)]
sigrok-cross-linux: Factor out $REPO_BASE.

7 years agosigrok-fwextract-dreamsourcelab-dslogic: Hardcode known-good firmware.
Uwe Hermann [Sun, 26 Feb 2017 22:23:41 +0000 (23:23 +0100)]
sigrok-fwextract-dreamsourcelab-dslogic: Hardcode known-good firmware.

Use the last known-working firmware/bitstream set. Newer versions have
incompatible changes that cause issues that need to be investigated.

This fixes bug #886.

7 years agosigrok-native-macosx: Drop Qt4 references/comments.
Uwe Hermann [Sun, 19 Feb 2017 22:01:59 +0000 (23:01 +0100)]
sigrok-native-macosx: Drop Qt4 references/comments.

We only need to support Qt5; Qt4 support will be phased out eventually.

7 years agosigrok-native-macosx: Autodetect cask-only library locations and cpu count.
Piotr Esden-Tempski [Sun, 19 Feb 2017 17:18:08 +0000 (09:18 -0800)]
sigrok-native-macosx: Autodetect cask-only library locations and cpu count.

7 years agosigrok-cross-mingw: Lower Python version to 3.4 (Win XP support).
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).

7 years agosigrok-cross-mingw: Bump Python version to 3.6.0.
Uwe Hermann [Thu, 2 Feb 2017 21:38:04 +0000 (22:38 +0100)]
sigrok-cross-mingw: Bump Python version to 3.6.0.

7 years agosigrok-cross-mingw: Use libpython32.a in fake python3.pc.
Uwe Hermann [Sun, 29 Jan 2017 18:28:05 +0000 (19:28 +0100)]
sigrok-cross-mingw: Use libpython32.a in fake python3.pc.

This avoids a libbz2 linking issue later on in the PulseView build.

Details:
https://github.com/mxe/mxe/issues/1642

Thanks to Tony Theodore for the help!

7 years agosigrok-cross-mingw: Switch to Qt5.
Uwe Hermann [Sun, 29 Jan 2017 17:56:18 +0000 (18:56 +0100)]
sigrok-cross-mingw: Switch to Qt5.

Also, drop an obsolete Qt(4) related patch.

7 years agosigrok-cross-mingw: Use MXE's cmake instead of -DCMAKE_TOOLCHAIN_FILE.
Uwe Hermann [Sun, 29 Jan 2017 17:18:17 +0000 (18:18 +0100)]
sigrok-cross-mingw: Use MXE's cmake instead of -DCMAKE_TOOLCHAIN_FILE.

Instead of supplying the MXE specific mxe-conf.cmake file to cmake via
-DCMAKE_TOOLCHAIN_FILE, use the MXE- and target-specific cmake wrapper.

7 years agosigrok-cross-android: Set "android:versionName" to a timestamp.
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.

7 years agosigrok-cross-android: Fix broken pcre URL.
Uwe Hermann [Sun, 22 Jan 2017 17:43:45 +0000 (18:43 +0100)]
sigrok-cross-android: Fix broken pcre URL.

7 years agosigrok-cross-android: Bump zlib to 1.2.11.
Uwe Hermann [Sat, 21 Jan 2017 18:30:01 +0000 (19:30 +0100)]
sigrok-cross-android: Bump zlib to 1.2.11.

The old 1.2.8 tarball yielded a 404 error and thus caused the build to fail.

7 years agolicense: remove FSF postal address from boiler plate license text
Gerhard Sittig [Thu, 20 Oct 2016 07:43:56 +0000 (09:43 +0200)]
license: remove FSF postal address from boiler plate license text

Remove the FSF postal address as it might change (it did in the past).
Reference the gnu.org website instead which is more stable.

7 years agosigrok-cross-android: Default to the prebuilt toolchains.
Uwe Hermann [Sat, 17 Dec 2016 15:57:26 +0000 (16:57 +0100)]
sigrok-cross-android: Default to the prebuilt toolchains.

This fixes the last part of bug #701.

7 years agosigrok-cross-android: Force Java 1.6 when building the bindings
Marcus Comstedt [Wed, 7 Dec 2016 20:07:57 +0000 (21:07 +0100)]
sigrok-cross-android: Force Java 1.6 when building the bindings

7 years agosigrok-cross-android: Patch Boost to remove dependencies on libc wchar stuff
Marcus Comstedt [Sat, 3 Dec 2016 14:11:12 +0000 (15:11 +0100)]
sigrok-cross-android: Patch Boost to remove dependencies on libc wchar stuff

This avoids issues like these:

  libboost_serialization.so: error: undefined reference to 'mbtowc'

  E/dalvikvm(28980): dlopen("/data/app-lib/org.sigrok.pulseview-1/
    libboost_serialization.so") failed: dlopen failed: cannot locate
    symbol "mbtowc" referenced by "libboost_serialization.so"

7 years agosigrok-cross-android: Patch libusb to use Java helpers for enumeration
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.

This fixes parts of bug #701.

8 years agosigrok-cross-android: Link pulseview against gnustl_shared
Marcus Comstedt [Sun, 27 Nov 2016 15:03:28 +0000 (16:03 +0100)]
sigrok-cross-android: Link pulseview against gnustl_shared

This fixes parts of bug #701.