@LFdev thanks for the tip! I went ahead and installed dsnote-git instead, seems to be working fine :)
Search Criteria
Package Details: dsnote 4.7.1-2
Package Actions
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: | 1.77 |
First Submitted: | 2023-11-13 18:20 (UTC) |
Last Updated: | 2025-02-22 17:07 (UTC) |
Dependencies (44)
- boost-libs
- fmt (fmt-gitAUR)
- glslang (glslang-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- kconfigwidgets5
- kdbusaddons5
- kiconthemes5
- kirigami2 (kirigami2-gitAUR)
- libarchive (libarchive-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libxinerama (libxinerama-randr-gitAUR)
- libxtst
- ocl-icd (khronos-ocl-icd-gitAUR, opencl-icd-loaderAUR)
- openblas (openblas-lapackAUR)
- perl (perl-gitAUR)
- python (python37AUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- qt5-declarative (qt5-declarative-gitAUR)
- qt5-multimedia
- qt5-quickcontrols2 (qt5-quickcontrols2-gitAUR)
- Show 24 more dependencies...
Required by (0)
Sources (1)
murchu27 commented on 2025-05-28 19:54 (UTC)
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:
- Downgrade cmake (I do not know which is the minimum version that supports lower than 3.5, perhaps latest 3.x);
- 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);
- The git version seems to be working fine now, at least with FULL_BUILD=false;
- Use the Flatpak version;
- 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!
LFdev commented on 2025-02-25 22:39 (UTC) (edited on 2025-02-25 22:42 (UTC) by LFdev)
@Arctirus Please see my previous message about build error tips. The build with CUDA support worked fine here earlier today, after a full update and a reboot. Some source is downloaded from others projects upstream during build, so it may be a temporary glitch. If it still fails after clearing the build cache and trying to build again, please post the full log, or at least the part with the actual error, in an online pastebin and share the link to it here.
Arctirus commented on 2025-02-25 20:18 (UTC)
The build fails
[100%] Linking CXX shared library libbergamot_api.so
[100%] Built target bergamot_api
[ 31%] Performing install step for 'bergamot'
[ 0%] Built target marian_version
[ 1%] Built target ssplit
[ 1%] Built target 3rd_party_installs
[ 6%] Built target sentencepiece_train-static
[ 8%] Built target SQLiteCpp
[ 15%] Built target zlib
[ 19%] Built target faiss
[ 20%] Built target intgemm
[ 23%] Built target pathie-cpp
[ 37%] Built target libyaml-cpp
[ 55%] Built target sentencepiece-static
[ 91%] Built target marian
[ 98%] Built target bergamot-translator
[100%] Built target bergamot_api
Install the project...
-- Install configuration: "Release"
-- Installing: /media/home/Завантажене/make/dsnote/src/dsnote-4.7.1/build/external/lib/libbergamot_api.so
-- Set non-toolchain portion of runtime path of "/media/home/Завантажене/make/dsnote/src/dsnote-4.7.1/build/external/lib/libbergamot_api.so" to "/usr/share/dsnote/lib"
-- Installing: /media/home/Завантажене/make/dsnote/src/dsnote-4.7.1/build/external/include/bergamot_api.h
[ 31%] Completed 'bergamot'
[ 31%] Built target bergamot
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
ww998 commented on 2025-02-25 02:08 (UTC) (edited on 2025-02-25 02:08 (UTC) by ww998)
@LFdev Thank you for answering so quickly! I checked my CUDA installation and saw that I somehow installed the CUDA-package from AUR.
I removed the AUR package and installed the Arch package cuda/extra. After that I deleted the build cache in yay and rebuilt. Everything works now, cuda12.0 from AUR caused the problems - no idea when and why I installed it.
And of course you are right with the pastebin - next time.
LFdev commented on 2025-02-24 23:51 (UTC)
@ww998 I assume you are just running makepkg
or using an AUR helper with the stock PKGBUILD and have cuda
package installed, right? I have just updated my system, rebooted, started a build and it worked just fine here. I am sorry, but the only tips I could give are:
1. make sure you restart the system if you have just installed cuda
2. clear the build cache and try building again (sometimes I have problems with paru
that simply cleaning its cache fixes the problem
3. If you are using a helper, try a manual build
4. Last but not least, I would recommend using something like an online pastebin when sharing logs so it keeps the formatting and get easier to read.
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).