Package Details: dsview 1:1.3.2-2

Git Clone URL: https://aur.archlinux.org/dsview.git (read-only, click to copy)
Package Base: dsview
Description: Client software that supports the DreamSourceLab logic analyzer
Upstream URL: http://www.dreamsourcelab.com/
Licenses: GPL3
Submitter: phragment
Maintainer: codyps (mruslan, Jake, slaesh, imi415, flipmess, Krakonos, moustafine)
Last Packager: Krakonos
Votes: 13
Popularity: 0.161431
First Submitted: 2016-02-02 22:16 (UTC)
Last Updated: 2024-06-09 02:09 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Krakonos commented on 2024-06-09 02:12 (UTC)

This issue is fixed upstream, I included the upstream patch instead ( https://github.com/DreamSourceLab/DSView/pull/772 ). Seems to build without issues.

flipmess commented on 2024-06-06 00:28 (UTC)

compilation fails with:

FAILED: CMakeFiles/DSView.dir/libsigrok4DSL/strutil.c.o
...

patch from imi415 fixes the compilation.

moustafine commented on 2024-05-20 11:20 (UTC)

With this patch the build is not fail for me.

diff --git a/libsigrok4DSL/input/in_wav.c b/libsigrok4DSL/input/in_wav.c
index de16e513..7a130496 100644
--- a/libsigrok4DSL/input/in_wav.c
+++ b/libsigrok4DSL/input/in_wav.c
@@ -24,6 +24,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <string.h>
+#include <strings.h>
 #include "../log.h"
 #include <stdlib.h>

diff --git a/libsigrok4DSL/lib_main.c b/libsigrok4DSL/lib_main.c
index f09fa4e6..6ed06981 100644
--- a/libsigrok4DSL/lib_main.c
+++ b/libsigrok4DSL/lib_main.c
@@ -29,6 +29,7 @@
 #ifdef _WIN32
 #include <windows.h>
 #else
+#define __USE_MISC
 #include <unistd.h>
 #endif

diff --git a/libsigrok4DSL/strutil.c b/libsigrok4DSL/strutil.c
index 52cb01d8..6c02c6df 100644
--- a/libsigrok4DSL/strutil.c
+++ b/libsigrok4DSL/strutil.c
@@ -21,6 +21,7 @@
 #include "libsigrok-internal.h"
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <stdio.h>
 #include "log.h"

Krakonos commented on 2024-05-19 02:12 (UTC)

I can confirm that the patch from imi415 fixes the compilation and dsview runs.

imi415 commented on 2024-05-17 08:00 (UTC)

The new version bundles libsigrok4DSL and seems some compiler flags are missing...

diff --git a/0001-cmake.patch b/0001-cmake.patch
new file mode 100644
index 0000000..cba9acd
--- /dev/null
+++ b/0001-cmake.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt   2024-05-11 11:47:23.000000000 +0800
++++ b/CMakeLists.txt   2024-05-17 15:49:07.951343591 +0800
+@@ -568,7 +568,7 @@
+ 
+ 
+ add_definitions(${QT_DEFINITIONS})
+-add_definitions(-Wall -Wextra -Wno-return-type -Wno-ignored-qualifiers)
++add_definitions(-D_GNU_SOURCE -Wall -Wextra -Wno-return-type -Wno-ignored-qualifiers)
+ 
+ if(NOT DISABLE_WERROR)
+         add_definitions(-Werror)
diff --git a/PKGBUILD b/PKGBUILD
index c0e85e7..1e03b4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,12 +17,19 @@ makedepends=('cmake' 'ninja' 'boost')

 source=(
   "DSView-$pkgver.tar.gz::https://github.com/DreamSourceLab/DSView/archive/v${pkgver}.tar.gz"
+  "0001-cmake.patch"
+)
+sha384sums=(
+  'afd4790c3bef0c0772971f679c6d542edf8c2d8384ae7738f5039f9015e80773bd7e12857252cf88ef4053b97be502ed'
+  'SKIP'
 )
-sha384sums=('afd4790c3bef0c0772971f679c6d542edf8c2d8384ae7738f5039f9015e80773bd7e12857252cf88ef4053b97be502ed')

 prepare() {
   sed -i 's#MODE="0666"#TAG+="uaccess"#' \
     "DSView-${pkgver}/DSView/DreamSourceLab.rules"
+
+  cd "DSView-${pkgver}"
+  patch --forward --strip=1 --input=../0001-cmake.patch
 }

 build() {

Narukara commented on 2024-05-15 14:09 (UTC) (edited on 2024-05-16 06:05 (UTC) by Narukara)

DSView stopped working after I updated Python.

Pacman log:

[2024-05-14T20:40:48+0800] [ALPM] upgraded python (3.11.8-1 -> 3.12.3-1)

When launching DSView from a terminal:

dsview: error while loading shared libraries: libpython3.11.so.1.0: cannot open shared object file: No such file or directory

update: After reinstalling (and building), it works fine

jrhrsmit commented on 2024-02-19 15:41 (UTC)

It seems qt5-svg is a missing dependency. Without qt5-svg the icons won't render, and the interface becomes very hard to use.

tom_archorg commented on 2023-07-24 16:40 (UTC)

Hello,

libusb is missing in the dependencies.

==> Validating source files with sha384sums...
    DSView-1.3.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting DSView-1.3.0.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/sbin/pkg-config (found version "1.8.1") 
-- Checking for one of the modules 'glib-2.0'
--       includes:/usr/include/glib-2.0/usr/lib/glib-2.0/include/usr/include/sysprof-4
--       libraries:/usr/lib/libglib-2.0.*
----- glib-2.0:
--       includes:/usr/include/python3.11
--       libraries:/usr/lib/libpython3.11.so
----- python3:
----- FFTW:
--       includes:/usr/include
--       libraries:/usr/lib/libfftw3.so
CMake Error at CMakeLists.txt:154 (message):
  Please install libusb!

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

Configured and compiled fine after pacman -S libusb.

P.S.: Thank you for maintaining this package :)

zkrx commented on 2022-07-19 21:53 (UTC) (edited on 2022-07-20 21:58 (UTC) by zkrx)

Can't get this package to work here.

==> Making package: dsview 1.12-3 (Tue 19 Jul 2022 11:49:28 PM CEST)
==> Retrieving sources...
  -> Downloading DSView-1.12.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/DreamSourceLab/DSView/archive/v1.12.tar.gz
    Aborting...
error downloading sources: dsview

Also, there's a 1.2.0 release since 13 days ago, time for an upgrade? https://github.com/DreamSourceLab/DSView/releases/tag/v1.2.0

EDIT: thanks for your prompt update. 1.2.0 works like a charm.

Jake commented on 2022-06-26 08:00 (UTC) (edited on 2022-06-26 08:00 (UTC) by Jake)

@djordje: The package is not really out of date, just extra/boost-libs were updated to 1.79.0, so the package must be rebuild after that. Error for reference:

dsview: error while loading shared libraries: libboost_filesystem.so.1.78.0: cannot open shared object file: No such file or directory