Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id A1FA2781994 for ; Sat, 25 Sep 2021 08:47:01 +0000 (UTC) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id 8EFB7DF9D45 for ; Sat, 25 Sep 2021 10:39:16 +0200 (CEST) Received: from mu.home.arpa (unknown [88.124.43.102]) by smtp2-g21.free.fr (Postfix) with ESMTP id 38CD82003CC; Sat, 25 Sep 2021 10:39:14 +0200 (CEST) From: =?UTF-8?q?Carlo=20D=C3=A9?= To: alpine-aports@lists.alpinelinux.org Cc: =?UTF-8?q?Carlo=20D=C3=A9?= Subject: [PATCH] community/mupdf: rebuild against the provided FreeGLUT Date: Sat, 25 Sep 2021 10:37:49 +0200 Message-Id: <20210925083747.3684-1-sbb@tuxfamily.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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