[packages/mupdf] up to 1.23.10
atler
atler at pld-linux.org
Wed Feb 7 02:35:21 CET 2024
commit e69355d2c8cd9059a5adbca2380f613887589863
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Feb 7 00:38:14 2024 +0100
up to 1.23.10
mupdf adds SO_VERSION to library name _if_ LINUX_OR_OPENBSD was set to
"yes" during build (not autodetected) but there's still no SONAME and
SO_VERSION consists of MINOR and PATCH (no MAJOR) so it does not seem
very useful.
mupdf-soname.patch | 8 ++++----
mupdf.spec | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/mupdf.spec b/mupdf.spec
index 6e4b08f..3956149 100644
--- a/mupdf.spec
+++ b/mupdf.spec
@@ -5,12 +5,12 @@
Summary: MuPDF - lightweight PDF, XPS and CBZ viewer and parser/rendering library
Summary(pl.UTF-8): MuPDF - lekka przeglądarka PDF, XPS, CBZ
Name: mupdf
-Version: 1.23.7
+Version: 1.23.10
Release: 1
License: AGPL v3+
Group: Applications/Text
Source0: https://www.mupdf.com/downloads/archive/%{name}-%{version}-source.tar.lz
-# Source0-md5: a90256a0e31e3096ce249a0fc7ecfb9e
+# Source0-md5: 01388f28be12c2f449c777c361262a4c
Patch0: %{name}-soname.patch
Patch1: %{name}-flags.patch
URL: https://www.mupdf.com/
diff --git a/mupdf-soname.patch b/mupdf-soname.patch
index f36aeb0..0dbe6e9 100644
--- a/mupdf-soname.patch
+++ b/mupdf-soname.patch
@@ -3,9 +3,9 @@
@@ -76,7 +76,7 @@
$(LINK_CMD)
- $(OUT)/%.$(SO):
+ $(OUT)/%.$(SO)$(SO_VERSION):
- $(LINK_CMD) $(LIB_LDFLAGS) $(THIRD_LIBS) $(LIBCRYPTO_LIBS)
+ $(LINK_CMD) $(LIB_LDFLAGS) $(THIRD_LIBS) $(LIBCRYPTO_LIBS) -Wl,-soname,$(shell basename $@)
-
- $(OUT)/%.def: $(OUT)/%.$(SO)
- $(GENDEF_CMD)
+ ifneq ($(SO_VERSION),)
+ ln -sf $(notdir $@) $(patsubst %$(SO_VERSION), %, $@)
+ endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mupdf.git/commitdiff/e69355d2c8cd9059a5adbca2380f613887589863
More information about the pld-cvs-commit
mailing list