summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap')
-rw-r--r--source/xap/xpdf/lang/xpdf-chinese-simplified.diff6
-rw-r--r--source/xap/xpdf/lang/xpdf-chinese-traditional.diff6
-rw-r--r--source/xap/xpdf/lang/xpdf-japanese.diff6
-rw-r--r--source/xap/xpdf/lang/xpdf-korean.diff9
-rwxr-xr-xsource/xap/xpdf/xpdf.SlackBuild6
-rw-r--r--source/xap/xpdf/xpdf.url1
6 files changed, 17 insertions, 17 deletions
diff --git a/source/xap/xpdf/lang/xpdf-chinese-simplified.diff b/source/xap/xpdf/lang/xpdf-chinese-simplified.diff
index bec5e25b..adcb5cd3 100644
--- a/source/xap/xpdf/lang/xpdf-chinese-simplified.diff
+++ b/source/xap/xpdf/lang/xpdf-chinese-simplified.diff
@@ -1,5 +1,5 @@
---- ./add-to-xpdfrc.orig 2011-09-02 17:24:44.000000000 -0500
-+++ ./add-to-xpdfrc 2013-03-28 15:45:42.020412765 -0500
+--- ./add-to-xpdfrc.orig 2019-10-03 13:51:29.655084567 -0500
++++ ./add-to-xpdfrc 2019-10-03 13:53:02.916076850 -0500
@@ -1,9 +1,9 @@
#----- begin Chinese Simplified support package (2011-sep-02)
-cidToUnicode Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
@@ -8,7 +8,7 @@
-unicodeMap GBK /usr/local/share/xpdf/chinese-simplified/GBK.unicodeMap
-cMapDir Adobe-GB1 /usr/local/share/xpdf/chinese-simplified/CMap
-toUnicodeDir /usr/local/share/xpdf/chinese-simplified/CMap
--#fontFileCC Adobe-GB1 /usr/..../gkai00mp.ttf
+-#fontFileCC Adobe-GB1 /usr/..../NotoSansCJKsc-Regular.otf
+cidToUnicode Adobe-GB1 /usr/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
+unicodeMap ISO-2022-CN /usr/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
+unicodeMap EUC-CN /usr/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
diff --git a/source/xap/xpdf/lang/xpdf-chinese-traditional.diff b/source/xap/xpdf/lang/xpdf-chinese-traditional.diff
index 24857f46..ead03e98 100644
--- a/source/xap/xpdf/lang/xpdf-chinese-traditional.diff
+++ b/source/xap/xpdf/lang/xpdf-chinese-traditional.diff
@@ -1,5 +1,5 @@
---- ./add-to-xpdfrc.orig 2011-09-02 17:24:44.000000000 -0500
-+++ ./add-to-xpdfrc 2013-03-28 15:46:03.285412085 -0500
+--- ./add-to-xpdfrc.orig 2019-10-03 13:51:29.775084557 -0500
++++ ./add-to-xpdfrc 2019-10-03 13:59:15.404046027 -0500
@@ -1,8 +1,8 @@
#----- begin Chinese Traditional support package (2011-sep-02)
-cidToUnicode Adobe-CNS1 /usr/local/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
@@ -7,7 +7,7 @@
-unicodeMap Big5ascii /usr/local/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
-cMapDir Adobe-CNS1 /usr/local/share/xpdf/chinese-traditional/CMap
-toUnicodeDir /usr/local/share/xpdf/chinese-traditional/CMap
--#fontFileCC Adobe-CNS1 /usr/..../bkai00mp.ttf
+-#fontFileCC Adobe-CNS1 /usr/..../NotoSansCJKtc-Regular.otf"
+cidToUnicode Adobe-CNS1 /usr/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
+unicodeMap Big5 /usr/share/xpdf/chinese-traditional/Big5.unicodeMap
+unicodeMap Big5ascii /usr/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
diff --git a/source/xap/xpdf/lang/xpdf-japanese.diff b/source/xap/xpdf/lang/xpdf-japanese.diff
index ff0c6e98..5a5f7ae7 100644
--- a/source/xap/xpdf/lang/xpdf-japanese.diff
+++ b/source/xap/xpdf/lang/xpdf-japanese.diff
@@ -1,5 +1,5 @@
---- ./add-to-xpdfrc.orig 2013-03-29 14:49:00.000000000 +0900
-+++ ./add-to-xpdfrc 2013-03-29 15:00:17.000000000 +0900
+--- ./add-to-xpdfrc.orig 2019-10-03 13:51:30.098084530 -0500
++++ ./add-to-xpdfrc 2019-10-03 13:55:28.494064804 -0500
@@ -1,9 +1,45 @@
#----- begin Japanese support package (2011-sep-02)
-cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
@@ -8,7 +8,7 @@
-unicodeMap Shift-JIS /usr/local/share/xpdf/japanese/Shift-JIS.unicodeMap
-cMapDir Adobe-Japan1 /usr/local/share/xpdf/japanese/CMap
-toUnicodeDir /usr/local/share/xpdf/japanese/CMap
--#fontFileCC Adobe-Japan1 /usr/..../kochi-mincho.ttf
+-#fontFileCC Adobe-Japan1 /usr/..../NotoSansCJKjp-Regular.otf
+cidToUnicode Adobe-Japan1 /usr/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
+unicodeMap ISO-2022-JP /usr/share/xpdf/japanese/ISO-2022-JP.unicodeMap
+unicodeMap EUC-JP /usr/share/xpdf/japanese/EUC-JP.unicodeMap
diff --git a/source/xap/xpdf/lang/xpdf-korean.diff b/source/xap/xpdf/lang/xpdf-korean.diff
index 531ad629..63ffde77 100644
--- a/source/xap/xpdf/lang/xpdf-korean.diff
+++ b/source/xap/xpdf/lang/xpdf-korean.diff
@@ -1,6 +1,6 @@
---- ./add-to-xpdfrc.orig 2011-09-02 17:24:45.000000000 -0500
-+++ ./add-to-xpdfrc 2013-03-28 15:43:21.119417269 -0500
-@@ -1,8 +1,8 @@
+--- ./add-to-xpdfrc.orig 2019-10-03 13:51:30.196084522 -0500
++++ ./add-to-xpdfrc 2019-10-03 13:57:24.517055203 -0500
+@@ -1,7 +1,7 @@
#----- begin Korean support package (2011-sep-02)
-cidToUnicode Adobe-Korea1 /usr/local/share/xpdf/korean/Adobe-Korea1.cidToUnicode
-unicodeMap ISO-2022-KR /usr/local/share/xpdf/korean/ISO-2022-KR.unicodeMap
@@ -10,6 +10,5 @@
+unicodeMap ISO-2022-KR /usr/share/xpdf/korean/ISO-2022-KR.unicodeMap
+cMapDir Adobe-Korea1 /usr/share/xpdf/korean/CMap
+toUnicodeDir /usr/share/xpdf/korean/CMap
- #fontFileCC Adobe-Korea1 /usr/..../batang.ttf"
- #fontFileCC Unidocs-Korea1 /usr/..../batang.ttf"
+ #fontFileCC Adobe-Korea1 /usr/..../NotoSansCJKkr-Regular.otf
#----- end Korean support package
diff --git a/source/xap/xpdf/xpdf.SlackBuild b/source/xap/xpdf/xpdf.SlackBuild
index 51f4ceb9..d0d119d0 100755
--- a/source/xap/xpdf/xpdf.SlackBuild
+++ b/source/xap/xpdf/xpdf.SlackBuild
@@ -23,9 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=xpdf
-VERSION=4.00
+VERSION=4.02
PATCHLEVEL=
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -88,7 +88,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
-DXPDFWIDGET_PRINTING=1 \
-DSYSTEM_XPDFRC="/etc/xpdfrc" \
diff --git a/source/xap/xpdf/xpdf.url b/source/xap/xpdf/xpdf.url
new file mode 100644
index 00000000..5600d90f
--- /dev/null
+++ b/source/xap/xpdf/xpdf.url
@@ -0,0 +1 @@
+https://www.xpdfreader.com