~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] community/mupdf: rebuild against the provided FreeGLUT

Details
Message ID
<20210925083747.3684-1-sbb@tuxfamily.org>
DKIM signature
missing
Download raw message
Patch: +3 -4
Otherwise mupdf-gl issues this warning:
  warning: This version of MuPDF has been built WITHOUT clipboard or unicode input support!
  warning: Please file a complaint with your friendly local distribution manager.

Upstream introduced this to alert their own special FreeGLUT must be used:
  https://git.ghostscript.com/?p=mupdf.git;a=commit;h=06c999fec01863a90824ba2f9f3ce98ea1a967d3
---
 community/mupdf/APKBUILD | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/community/mupdf/APKBUILD b/community/mupdf/APKBUILD
index ccb3cc961f..31b01c0104 100644
--- a/community/mupdf/APKBUILD
+++ b/community/mupdf/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=mupdf
pkgver=1.18.0
pkgrel=1
pkgrel=2
pkgdesc="Lightweight PDF and XPS viewer"
url="https://mupdf.com"
arch="all"
@@ -14,7 +14,6 @@ makedepends="freetype-dev
	jpeg-dev
	openjpeg-dev
	readline-dev
	freeglut-dev
	zlib-dev
	libx11-dev
	libxext-dev
@@ -60,14 +59,14 @@ prepare() {
	default_prepare

	local library=
	for library in curl freeglut freetype harfbuzz jbig2dec \
	for library in curl freetype harfbuzz jbig2dec \
			libjpeg openjpeg zlib; do
		rm -r thirdparty/"$library"
	done
}

build() {
	make USE_SYSTEM_LIBS=yes USE_SYSTEM_GUMBO=no prefix=/usr CURL_LIBS='-lcurl -lpthread' build=release libs apps
	make USE_SYSTEM_LIBS=yes USE_SYSTEM_GUMBO=no USE_SYSTEM_GLUT=no prefix=/usr CURL_LIBS='-lcurl -lpthread' build=release libs apps
}

package() {
-- 
2.32.0
Details
Message ID
<163256312692.6885.15381009650902726690.gitlab.25739.f6f29a1678f1525f963876f4fb126101a6cc3f91@listserv.local>
In-Reply-To
<20210925083747.3684-1-sbb@tuxfamily.org> (view parent)
DKIM signature
missing
Download raw message
This fixes #12397

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/25739#note_181811
Reply to thread Export thread (mbox)