Package Details: sioyek-git 2.0.0.r945.gb5e6f50-1

Git Clone URL: https://aur.archlinux.org/sioyek-git.git (read-only, click to copy)
Package Base: sioyek-git
Description: PDF viewer for research papers and technical books.
Upstream URL: https://github.com/ahrm/sioyek
Licenses: GPL3
Conflicts: sioyek
Provides: sioyek
Submitter: r4ndom
Maintainer: hrdl
Last Packager: hrdl
Votes: 11
Popularity: 1.13
First Submitted: 2021-09-05 20:20 (UTC)
Last Updated: 2024-11-22 12:12 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

FabioLolix commented on 2023-09-05 05:33 (UTC)

Builds fails and patch mentioned here https://github.com/ahrm/sioyek/issues/804 don't apply

FabioLolix commented on 2022-08-31 21:27 (UTC)

Will pass some more days before I look into this, PR are welcome here https://github.com/FabioLolix/PKGBUILD-AUR_fix/tree/master/s (btw don't bother to use git submodule update --init --recursive on my pkgbuilds) I've read it should support last mupdf

<deleted-account> commented on 2022-08-27 11:52 (UTC)

Hi, thank you for maintaining this package! Could you please consider packaging prefs.config and keys.config to avoid issues mentioned in #385.

hrdl commented on 2022-08-11 12:42 (UTC)

This package used to include a manual page:

install -Dm644 -t "$pkgdir/etc/sioyek" build/keys.config build/prefs.config
install -Dm644 -t "$pkgdir/usr/share/man/man1" resources/sioyek.1
gzip "$pkgdir/usr/share/man/man1/sioyek.1"

milad.a commented on 2022-07-17 13:53 (UTC)

Thanks @p00f that's great! For reference I did raise this issue on the sioyek side: https://github.com/ahrm/sioyek/issues/323

@FabioLolix what do you think about these changes?

p00f commented on 2022-07-17 05:54 (UTC)

@milad.a Fixed your TODO: https://paste.sr.ht/~p00f/06c9c7454cd2c73a1670b169d89c6407bdb01f3c

milad.a commented on 2022-07-12 13:46 (UTC) (edited on 2022-07-12 14:52 (UTC) by milad.a)

I think below works:

pkgname=sioyek-git
pkgver=1.4.0.r12.gbadd7ee
pkgrel=1
epoch=1
pkgdesc="PDF viewer for research papers and technical books."
arch=(x86_64)
license=(GPL3)
url="https://github.com/ahrm/sioyek"
depends=(qt5-base harfbuzz gumbo-parser openjpeg2 jbig2dec libxrandr libjpeg-turbo)
makedepends=(git qt5-3d mujs libxi glu)
provides=(sioyek)
conflicts=(sioyek)
source=("git+https://github.com/ahrm/sioyek.git")
sha256sums=('SKIP')

pkgver() {
    cd "sioyek"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd "sioyek"
    git submodule update --init --recursive
}

build() {
    cd "sioyek/mupdf"
    make USE_SYSTEM_HARFBUZZ=yes
    cd ..

    qmake-qt5 CONFIG+=linux_app_image DEFINES+=LINUX_STANDARD_PATHS pdf_viewer_build_config.pro
    make
}

package() {
    cd "sioyek"
    make INSTALL_ROOT="${pkgdir}/" install
    install -D tutorial.pdf -t "${pkgdir}/usr/share/sioyek"
    install -d "${pkgdir}/usr/share/sioyek/shaders"
    cp -r pdf_viewer/shaders/* "${pkgdir}/usr/share/sioyek/shaders"


    # TODO: I shouldn't need to do this but they are not copied otherwise ¯\_(ツ)_/¯
    mkdir /etc/sioyek
    cp pdf_viewer/prefs.config /etc/sioyek
    cp pdf_viewer/keys.config /etc/sioyek
}

milad.a commented on 2022-07-11 23:01 (UTC)

mupdf repo has its own submodules so you need the --recursive option:

pkgver=1.4.0.r8.g3575a9a
pkgrel=1
epoch=1
pkgdesc="PDF viewer for research papers and technical books."
arch=(x86_64)
license=(GPL3)
url="https://github.com/ahrm/sioyek"
depends=(qt5-base harfbuzz gumbo-parser openjpeg2 jbig2dec libxrandr libjpeg-turbo)
makedepends=(git qt5-3d mujs libxi glu)
provides=(sioyek)
conflicts=(sioyek)
source=("git+https://github.com/ahrm/sioyek.git")
sha256sums=('SKIP')

pkgver() {
    cd "sioyek"
        git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd "sioyek"
    git submodule update --init --recursive
}

I played around with it for a bit and think I managed to get mupdf compiled but I couldn't get sioyek link against the local mupdf.

FabioLolix commented on 2022-07-11 21:03 (UTC)

The pkgbuild is currectly broken as you already know, in the meantime use https://aur.archlinux.org/packages/sioyek-appimage or use directly the appimage

I have some problems with the patches and the mupdf submodule don't build

milad.a commented on 2022-07-11 14:21 (UTC)

I see two ways from here: patch sioyek to be compatible with 1.20 and system's libmupdf or correctly build mupdf 1.19 in this package. The latter is not being built at the moment and its dependencies (git submodules in mupdf/thirdparty) are not taken care of.

The main developer mentioned here that they're not eager to move to 1.20. I think it makes more sense to replicate what sioyek does in its build_linux.sh