Commit 2129c9b0 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated mupdf to 1.17.0

parent 45a4b83e
all: all:
tar xf mupdf-1.16.1-source.tar.gz tar xf mupdf-1.17.0-source.tar.gz
# rm -rf mupdf-1.16.1-source/thirdparty/curl # rm -rf mupdf-1.17.0-source/thirdparty/curl
# rm -rf mupdf-1.16.1-source/thirdparty/freeglut # rm -rf mupdf-1.17.0-source/thirdparty/freeglut
# rm -rf mupdf-1.16.1-source/thirdparty/freetype # rm -rf mupdf-1.17.0-source/thirdparty/freetype
# rm -rf mupdf-1.16.1-source/thirdparty/harfbuzz # rm -rf mupdf-1.17.0-source/thirdparty/harfbuzz
# rm -rf mupdf-1.16.1-source/thirdparty/jpeg # rm -rf mupdf-1.17.0-source/thirdparty/jpeg
# rm -rf mupdf-1.16.1-source/thirdparty/lcms2 # rm -rf mupdf-1.17.0-source/thirdparty/lcms2
# rm -rf mupdf-1.16.1-source/thirdparty/libjpeg # rm -rf mupdf-1.17.0-source/thirdparty/libjpeg
# rm -rf mupdf-1.16.1-source/thirdparty/openjpeg # rm -rf mupdf-1.17.0-source/thirdparty/openjpeg
# rm -rf mupdf-1.16.1-source/thirdparty/zlib # rm -rf mupdf-1.17.0-source/thirdparty/zlib
patch -Np1 -d mupdf-1.16.1-source < mupdf-1.16.1-shared_libs-1.patch patch -Np1 -d mupdf-1.17.0-source < mupdf-1.17.0-shared_libs-1.patch
USE_SYSTEM_LIBS=yes $(MAKE) -C mupdf-1.16.1-source build=release USE_SYSTEM_LIBS=yes $(MAKE) -C mupdf-1.17.0-source build=release
USE_SYSTEM_LIBS=yes $(MAKE) -C mupdf-1.16.1-source prefix=/usr build=release docdir=/usr/share/doc/mupdf-1.16.1 install USE_SYSTEM_LIBS=yes $(MAKE) -C mupdf-1.17.0-source prefix=/usr build=release docdir=/usr/share/doc/mupdf-1.17.0 install
ln -sfv mupdf-x11 /usr/bin/mupdf ln -sfv mupdf-x11 /usr/bin/mupdf
rm -rf mupdf-1.16.1-source rm -rf mupdf-1.17.0-source
Submitted By: Bruce Dubbs <bdubbs at linuxfromscratch dot org> diff -uNr mupdf-1.17.0/Makefile mupdf-1.17.0-shared_libs-1/Makefile
Date: 2018-04-21 --- mupdf-1.17.0/Makefile 2020-05-05 20:59:09.000000000 +0930
Initial Package Version: 1.13 +++ mupdf-1.17.0-shared_libs-1/Makefile 2021-07-29 11:23:04.802231128 +0930
Upstream Status: Not submitted
Origin: Self
Description: Change static libraries to shared libraries
Rediffed for Version 1.14 2018-10-07
Rediffed for Version 1.16 2018-10-07
diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile
--- mupdf-1.14.0-source.orig/Makefile 2018-10-04 04:19:28.000000000 -0500
+++ mupdf-1.14.0-source/Makefile 2018-10-07 15:13:52.617926593 -0500
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
# Do not specify CFLAGS or LIBS on the make invocation line - specify # Do not specify CFLAGS or LIBS on the make invocation line - specify
# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that # XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
...@@ -20,7 +10,7 @@ diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile ...@@ -20,7 +10,7 @@ diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile
LIBS += $(XLIBS) -lm LIBS += $(XLIBS) -lm
ifneq ($(threading),no) ifneq ($(threading),no)
@@ -190,17 +190,21 @@ @@ -189,17 +189,21 @@
# --- Library --- # --- Library ---
...@@ -48,8 +38,9 @@ diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile ...@@ -48,8 +38,9 @@ diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile
# --- Main tools and viewers --- # --- Main tools and viewers ---
--- a/Makethird.orig 2018-10-08 00:01:36.527172802 -0500 diff -uNr mupdf-1.17.0/Makethird mupdf-1.17.0-shared_libs-1/Makethird
+++ b/Makethird 2018-10-08 00:02:27.443126830 -0500 --- mupdf-1.17.0/Makethird 2020-05-05 20:59:09.000000000 +0930
+++ mupdf-1.17.0-shared_libs-1/Makethird 2021-07-29 11:23:04.802231128 +0930
@@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
ifeq ($(USE_SYSTEM_LIBS),yes) ifeq ($(USE_SYSTEM_LIBS),yes)
USE_SYSTEM_FREETYPE := yes USE_SYSTEM_FREETYPE := yes
...@@ -62,4 +53,3 @@ diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile ...@@ -62,4 +53,3 @@ diff -Naur mupdf-1.14.0-source.orig/Makefile mupdf-1.14.0-source/Makefile
USE_SYSTEM_LIBJPEG := yes USE_SYSTEM_LIBJPEG := yes
USE_SYSTEM_MUJS := no # not available USE_SYSTEM_MUJS := no # not available
USE_SYSTEM_OPENJPEG := yes USE_SYSTEM_OPENJPEG := yes
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment