Package Details: sioyek-devel r1906.cbd6809-1

Git Clone URL: https://aur.archlinux.org/sioyek-devel.git (read-only, click to copy)
Package Base: sioyek-devel
Description: A PDF viewer designed for reading research papers and technical books.
Upstream URL: https://github.com/ahrm/sioyek
Keywords: pdf,pdf-viewer,document,epub
Licenses: GPL3
Conflicts: sioyek, sioyek-git
Provides: sioyek
Submitter: korigamik
Maintainer: korigamik
Last Packager: korigamik
Votes: 2
Popularity: 0.84
First Submitted: 2024-12-29 21:53 (UTC)
Last Updated: 2025-04-03 18:20 (UTC)

Latest Comments

1 2 Next › Last »

korigamik commented on 2025-04-03 18:31 (UTC)

This is what I see on a fresh install-

I see, this package however still uses CMake builds without any hacks over the base package. which I find to be more reproducible You're however free to use the one whichever.

iamkroot commented on 2025-03-22 16:51 (UTC)

sioyek-git packages the binary as a self-contained appimage instead.

Are you sure about that part?

This is what I see on a fresh install-

~ ❯ pacman -Ql sioyek-git
sioyek-git /etc/
sioyek-git /etc/sioyek/
sioyek-git /etc/sioyek/keys.config
sioyek-git /etc/sioyek/prefs.config
sioyek-git /usr/
sioyek-git /usr/bin/
sioyek-git /usr/bin/sioyek
sioyek-git /usr/etc/
sioyek-git /usr/etc/sioyek/
sioyek-git /usr/etc/sioyek/keys.config
sioyek-git /usr/etc/sioyek/prefs.config
sioyek-git /usr/share/
sioyek-git /usr/share/applications/
sioyek-git /usr/share/applications/sioyek.desktop
sioyek-git /usr/share/man/
sioyek-git /usr/share/man/man1/
sioyek-git /usr/share/man/man1/sioyek.1.gz
sioyek-git /usr/share/pixmaps/
sioyek-git /usr/share/pixmaps/sioyek-icon-linux.png
sioyek-git /usr/share/sioyek/
sioyek-git /usr/share/sioyek/shaders/
sioyek-git /usr/share/sioyek/shaders/compiled_drawing.vertex
sioyek-git /usr/share/sioyek/shaders/compiled_line.fragment
sioyek-git /usr/share/sioyek/shaders/custom_colors.fragment
sioyek-git /usr/share/sioyek/shaders/dark_mode.fragment
sioyek-git /usr/share/sioyek/shaders/debug.fragment
sioyek-git /usr/share/sioyek/shaders/dot.fragment
sioyek-git /usr/share/sioyek/shaders/dot.vertex
sioyek-git /usr/share/sioyek/shaders/highlight.fragment
sioyek-git /usr/share/sioyek/shaders/line.fragment
sioyek-git /usr/share/sioyek/shaders/line.vertex
sioyek-git /usr/share/sioyek/shaders/separator.fragment
sioyek-git /usr/share/sioyek/shaders/simple.fragment
sioyek-git /usr/share/sioyek/shaders/simple.vertex
sioyek-git /usr/share/sioyek/shaders/simple_transparent.fragment
sioyek-git /usr/share/sioyek/shaders/stencil.fragment
sioyek-git /usr/share/sioyek/shaders/stencil.vertex
sioyek-git /usr/share/sioyek/shaders/undendered_page.fragment
sioyek-git /usr/share/sioyek/shaders/unrendered_page.fragment
sioyek-git /usr/share/sioyek/shaders/vertical_bar.fragment
sioyek-git /usr/share/sioyek/shaders/vertical_bar_dark.fragment
sioyek-git /usr/share/sioyek/tutorial.pdf

And, /usr/bin/sioyek is a good-old ELF file in this case.

iamkroot commented on 2025-03-04 22:21 (UTC)

Sorry, my mistake. I do indeed have /usr/lib/cmake/Qt6/ and the qt6-base package already installed (broot betrayed me when searching for the Qt6 dir.) I double checked, and the error still happens if I have Qt5 in the find_packages line. As soon as I remove that, it finds qt6 just fine.

Note that I have the qt5-base package installed too, which provides /usr/lib/cmake/Qt5/Qt5Config.cmake. This looks like a cmake brainfart.

korigamik commented on 2025-03-04 22:16 (UTC)

for me it's owned by qt6-base. perhaps you're missing this?

$ pacman -Qo /usr/lib/cmake/Qt6/QtSetup.cmake
/usr/lib/cmake/Qt6/QtSetup.cmake is owned by qt6-base 6.8.2-3

iamkroot commented on 2025-03-04 22:12 (UTC)

Interesting, removing Qt5 from the find_packages line in CMakeLists.txt fixes the issue. My system has /usr/lib/cmake/Qt6Core/ and /usr/lib/cmake/Qt5/ but not /usr/lib/cmake/Qt6/.

My hunch is that cmake tries to look for exact matches to Qt6 and Qt5 configs before looking for Qt6Core, etc. and so ends up selecting QT5.

Maybe a sed should fix the issue.

korigamik commented on 2025-03-04 22:10 (UTC)

Aah, the ldd paths you share are probably also from an older version installed through sioyek-devel. sioyek-git packages the binary as a self-contained appimage instead.

korigamik commented on 2025-03-04 22:05 (UTC) (edited on 2025-03-04 22:06 (UTC) by korigamik)

yeah, it's because that uses qmake6 to avoid the fallback. however, this builds using qt6 and i also have qt5-based installed on my machine. perhaps you are missing essential qt6 packages?

iamkroot commented on 2025-03-04 21:57 (UTC)

Well, that makes sense. But not sure why cmake is picking QT5. sioyek-git builds perfectly fine and it uses QT6.

> ldd /usr/bin/sioyek
        linux-vdso.so.1 (0x00007f6316097000)
        libmupdf.so.25.4 => /usr/lib/libmupdf.so.25.4 (0x00007f6312a00000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f6316078000)
        libQt6QuickWidgets.so.6 => /usr/lib/libQt6QuickWidgets.so.6 (0x00007f631605b000)
        libQt6Quick.so.6 => /usr/lib/libQt6Quick.so.6 (0x00007f6312200000)
        libQt6OpenGLWidgets.so.6 => /usr/lib/libQt6OpenGLWidgets.so.6 (0x00007f631604d000)
        libQt6Widgets.so.6 => /usr/lib/libQt6Widgets.so.6 (0x00007f6311a00000)
        libQt6TextToSpeech.so.6 => /usr/lib/libQt6TextToSpeech.so.6 (0x00007f631602d000)
        libQt6Gui.so.6 => /usr/lib/libQt6Gui.so.6 (0x00007f6311000000)
        libOpenGL.so.0 => /usr/lib/libOpenGL.so.0 (0x00007f6316002000)
        libQt6Qml.so.6 => /usr/lib/libQt6Qml.so.6 (0x00007f6310a00000)
        libQt6Network.so.6 => /usr/lib/libQt6Network.so.6 (0x00007f6310822000)
        libQt6Core.so.6 => /usr/lib/libQt6Core.so.6 (0x00007f6310200000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f630fe00000)
...

korigamik commented on 2025-03-04 21:46 (UTC)

Qt5 support has been deprecated and you should be building with Qt6 instead (as we include qt6-speech as a dependency).

Perhaps explicitly adding the Qt6 dependency should force that but I'm not exactly sure since it's already a necessary dependency for qt6-speech...

iamkroot commented on 2025-03-04 21:35 (UTC)

Getting a build error, likely from a missing dep-

CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5TextToSpeech"
  with any of the following names:

    Qt5TextToSpeechConfig.cmake
    qt5texttospeech-config.cmake

  Add the installation prefix of "Qt5TextToSpeech" to CMAKE_PREFIX_PATH or
  set "Qt5TextToSpeech_DIR" to a directory containing one of the above files.
  If "Qt5TextToSpeech" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:21 (find_package)


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