Package Details: sioyek-git 2.0.0.r959.g7637caa-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: 0.87
First Submitted: 2021-09-05 20:20 (UTC)
Last Updated: 2024-12-09 11:35 (UTC)

Latest Comments

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

hrdl commented on 2023-09-05 06:58 (UTC)

I've modified said patch and have been testing it since yesterday: https://paste.debian.net/1290973/

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