Package Details: dsnote 4.8.2-1

Git Clone URL: https://aur.archlinux.org/dsnote.git (read-only, click to copy)
Package Base: dsnote
Description: Note taking, reading and translating with offline Speech to Text, Text to Speech and Machine Translation
Upstream URL: https://github.com/mkiol/dsnote
Licenses: MPL2
Conflicts: dsnote-git
Provides: dsnote
Submitter: LFdev
Maintainer: LFdev
Last Packager: LFdev
Votes: 12
Popularity: 0.54
First Submitted: 2023-11-13 18:20 (UTC)
Last Updated: 2025-08-03 13:47 (UTC)

Pinned Comments

LFdev commented on 2025-01-01 13:44 (UTC)

New version was released. From now on, Vulkan support is enabled by default (please remember to install related optional Vulkan drivers for your GPU), ROCm support was removed and CUDA build process was improved, but still experimental. If you do not want to build it with CUDA support, it is possible to edit PKGBUILD before building (check inside notes).

Latest Comments

1 2 3 4 Next › Last »

shayaknyc commented on 2025-08-08 16:11 (UTC) (edited on 2025-08-08 16:11 (UTC) by shayaknyc)

@LFdev - this was compiling just fine up to version 4.8.1, before I modified my path. When I remove the /opt/cuda/bin from my path, it fails with the original error, when I add it, it continues past the original error, but fails elsewhere. Just for fun, I spun up a new arch install on a spare drive, installed cuda, rebooted, even tried compiling the dsnote-git package - got the same error. I don't think the issue is my machine/environment.

What would be the benefit of disabling CUDA support? Wouldn't this hinder the speech-to-text processing?

LFdev commented on 2025-08-08 01:02 (UTC)

@shayaknyc You should not add it to PATH variable. The CUDA package in the main repo already sets CUDA_PATH to the correct directory, it should be enough to build. I’d say there is something wrong in your system environment, there was another error in the configuration step. As I said, I cannot test building it right now. If you have just installed CUDA, you must reboot first, then try a clean build. Your other options are trying the git package, disable CUDA support by editing PKGBUILD (see comments in the file, GPU support should still work via Vulkan), or try the Flatpak version.

shayaknyc commented on 2025-08-07 17:30 (UTC)

@lfdev - confirmed I have the latest cuda and cuda-tools packages installed. Seems like my PATH variable lost the path to /opt/cuda/bin which contains the nvcc executable the compiler is looking for. Once I've updated my PATH variable to include the correct cuda path, the compiler threw a whole slew of new errors, seemingly way "worse" than before (this is just the tail-end):

Call Stack (most recent call first):
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
  /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:139 (CMAKE_DETERMINE_COMPILER_ID)
  ggml/src/CMakeLists.txt:302 (enable_language)


-- Configuring incomplete, errors occurred!
make[2]: *** [CMakeFiles/whispercppcublas.dir/build.make:92: whispercppcublas-prefix/src/whispercppcublas-stamp/whispercppcublas-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:507: CMakeFiles/whispercppcublas.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'dsnote-4.8.2-1':
error: packages failed to build: dsnote-4.8.2-1

Here's a link to the full error output, if it's helpful: https://pastebin.com/HGSekQen

LFdev commented on 2025-08-07 16:39 (UTC) (edited on 2025-08-07 16:41 (UTC) by LFdev)

@shayaknyc Sorry, I am away so I cannot test building right now. Anyway, first make sure you have CUDA and drivers from the main Arch repo. If this is the case for you already, I was experiencing a problem where the system just stop recognizing the CUDA devices, I have to close all browsers and Electron apps, or start fresh after a reboot. Good luck.

shayaknyc commented on 2025-08-07 16:32 (UTC)

Getting a build error when upgrading to v4.8.2-1:

-- Could not find nvcc, please set CUDAToolkit_ROOT.
CMake Warning at ggml/src/CMakeLists.txt:403 (message):
  CUDA not found


-- CUDA host compiler is GNU
CMake Error at ggml/src/CMakeLists.txt:1010 (get_flags):
  get_flags Function invoked with incorrect arguments for function named:
  get_flags


-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- x86 detected
-- Configuring incomplete, errors occurred!
make[2]: *** [CMakeFiles/whispercppcublas.dir/build.make:92: whispercppcublas-prefix/src/whispercppcublas-stamp/whispercppcublas-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:507: CMakeFiles/whispercppcublas.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'dsnote-4.8.2-1':
error: packages failed to build: dsnote-4.8.2-1

Wouldn't know where to even begin troubleshooting this. Any ideas?

murchu27 commented on 2025-05-28 19:54 (UTC)

@LFdev thanks for the tip! I went ahead and installed dsnote-git instead, seems to be working fine :)

LFdev commented on 2025-05-28 17:05 (UTC) (edited on 2025-05-28 17:15 (UTC) by LFdev)

@murchu27 It seems that current cmake version (v.4.0.2-1) has deprecated compatibility with CMake < 3.5, which is required for some files that are build with dsnote. For now, I think you have these options only:

  1. Downgrade cmake (I do not know which is the minimum version that supports lower than 3.5, perhaps latest 3.x);
  2. Edit the CMakeLists.txt in src folder manually for the projects that show this error message and change the minimum version required to 3.5 (the error message shows the project name and line that needs to be changed, like CMakeLists.txt:1 for qhotkey);
  3. The git version seems to be working fine now, at least with FULL_BUILD=false;
  4. Use the Flatpak version;
  5. Wait for the next release (mkiol has already tagged a beta of v4.8.0 but the release may take a while, there is no ETA).

murchu27 commented on 2025-05-28 16:33 (UTC) (edited on 2025-05-28 16:47 (UTC) by murchu27)

Getting build errors, although not sure exactly how much logs to include. Here's the snippets towards the end. This happens even when I set FULL_BUILD=false. Any ideas what I need to do here?

make: *** [Makefile:136: all] Error 2
[  2%] Built target kquickcharts
[  2%] Performing configure step for 'qhotkey'
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
make[2]: *** [CMakeFiles/qhotkey.dir/build.make:92: qhotkey-prefix/src/qhotkey-stamp/qhotkey-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:404: CMakeFiles/qhotkey.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  5%] Built target xdo
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

LFdev commented on 2025-03-03 13:53 (UTC)

@skhilko This package is built with Python support (-DWITH_PY=ON), so you just need make sure "Use Python Libraries" is enabled in Settings > Advanced with the default location and then install FasterWhisper before running dsnote. One option is to install python-faster-whisper from the AUR, and if you also need CUDA support you will need other packages (I have not tested this who), more info can be found in FasterWhisper repo.

skhilko commented on 2025-03-03 02:12 (UTC)

@LFdev, how can FasterWhisper engine be installed? Thank you!