Good job @temhelk!
@stek: I created a patch for you to apply so this package builds again. It's co-authored by @temhelk and credited as such. You could also add me as co-maintainer, and I can take care of updating this package. I maintain a bunch at ankylosaurus.
From d19e0fa02e3c7500dc2bb9da8f13f01e7b1bf8bc Mon Sep 17 00:00:00 2001
From: txtsd <code@ihavea.quest>
Date: Fri, 10 Nov 2023 22:52:56 +0530
Subject: [PATCH] upgpkg: llpp 41-4
Add patch to allow building
Co-authored-by: temhelk <temhelk@gmail.com>
Signed-off-by: txtsd <code@ihavea.quest>
---
.SRCINFO | 4 +++-
0001-fix-Allow-building-again.patch | 30 +++++++++++++++++++++++++++++
PKGBUILD | 14 +++++++++++---
3 files changed, 44 insertions(+), 4 deletions(-)
create mode 100644 0001-fix-Allow-building-again.patch
diff --git a/.SRCINFO b/.SRCINFO
index 81bebe3..a84e0ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = llpp
pkgdesc = opengl accelerated pdf viewer based on mupdf
pkgver = 41
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/criticic/llpp
arch = x86_64
license = GPL3
@@ -24,6 +24,8 @@ pkgbase = llpp
optdepends = unoconv: for llppac office conversion
options = !strip
source = git+https://github.com/criticic/llpp#branch=latest
+ source = 0001-fix-Allow-building-again.patch
b2sums = SKIP
+ b2sums = 3d74eea6f6ac29ecae5a3055b70205b1e2601027f1f4473dadab595170d9f57a3d5948d6d6f9897ef5d60417998ef788d8242ea18612e8bd0e921520b2fc93df
pkgname = llpp
diff --git a/0001-fix-Allow-building-again.patch b/0001-fix-Allow-building-again.patch
new file mode 100644
index 0000000..518126b
--- /dev/null
+++ b/0001-fix-Allow-building-again.patch
@@ -0,0 +1,30 @@
+From f12488495f8d562d63a745c036e9ae4c757f7bf1 Mon Sep 17 00:00:00 2001
+From: txtsd <code@ihavea.quest>
+Date: Fri, 10 Nov 2023 22:45:59 +0530
+Subject: [PATCH] fix: Allow building again
+
+Signed-off-by: txtsd <code@ihavea.quest>
+---
+ build.bash | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/build.bash b/build.bash
+index 0db5fbb..7830f6c 100755
+--- a/build.bash
++++ b/build.bash
+@@ -37,7 +37,11 @@ mudeps=('freetype2' 'gumbo' 'harfbuzz' 'libjpeg' 'libopenjp2' 'x11' 'zlib')
+
+ mkdir -p $outd/{$wsid,lablGL}
+
+-isfresh() { test "$(<$1.past)" = "$2"; } 2>/dev/null
++isfresh() {
++ test -f "$1.past" || return 1
++ test "$(<$1.past)" = "$2"
++} 2>/dev/null
++
+
+ mbt=${mbt:-release}
+ test -n "${gmk:-}" && gmk=false || gmk=true
+--
+2.42.1
+
diff --git a/PKGBUILD b/PKGBUILD
index bd28248..7d8fb1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Florian Stecker <oss@florianstecker.net>
+# Contributor: txtsd <aur.archlinux@ihavea.quest>
# Contributor: Sagnik Mandal <criticic>
# Contributor: Daniel M. Capella <polyzen@archlinux.org>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
@@ -6,7 +7,7 @@
pkgname=llpp
pkgver=41
-pkgrel=3
+pkgrel=4
pkgdesc='opengl accelerated pdf viewer based on mupdf'
arch=('x86_64')
url=https://github.com/criticic/llpp
@@ -21,8 +22,15 @@ optdepends=('djvulibre: for llppac djvu conversion'
'librsvg: for llppac svg conversion'
'unoconv: for llppac office conversion')
options=('!strip')
-source=("git+$cloneurl#branch=latest")
-b2sums=('SKIP')
+source=("git+$cloneurl#branch=latest"
+ "0001-fix-Allow-building-again.patch")
+b2sums=('SKIP'
+ '3d74eea6f6ac29ecae5a3055b70205b1e2601027f1f4473dadab595170d9f57a3d5948d6d6f9897ef5d60417998ef788d8242ea18612e8bd0e921520b2fc93df')
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i "../0001-fix-Allow-building-again.patch"
+}
build() {
cd $pkgname
--
2.42.1
Pinned Comments
cynik commented on 2022-11-10 19:17 (UTC)
it has been fixed: https://github.com/criticic/llpp/compare/fix-2
cynik commented on 2022-11-10 18:22 (UTC) (edited on 2022-11-10 18:42 (UTC) by cynik)
hmmm, i cannot reproduce @urldog 's problem, it seems to be using basically as much as it did before.
as far as the other issue goes, i remember mupdf updated last week, so maybe something changed again...
EDIT: yeah the API changed again: https://github.com/ArtifexSoftware/mupdf/commit/8aca9504370b68836da4fdae4de299df71945774
cynik commented on 2022-09-18 07:05 (UTC)
I have updated it to my fork at: https://github.com/criticic/llpp