summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2018-10-28 17:08:35 +0100
committerMuflone2018-10-28 17:08:35 +0100
commit140988252b576927a332fd0cfd638ead7424a902 (patch)
tree98667471ec2066f7a2ca5bb0d31ade12ca5690ea
parent5a6bd3d9b8e9847631f35e331775f5b043f8be61 (diff)
downloadaur-140988252b576927a332fd0cfd638ead7424a902.tar.gz
Updated package foxitreader 2.4.4.0911-1
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
-rw-r--r--foxitreader.patch21
3 files changed, 38 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a393adc7c04..ce08b660400 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
# Generated by mksrcinfo v8
-# Sun Feb 4 17:36:52 UTC 2018
+# Sun Oct 28 16:07:30 UTC 2018
pkgbase = foxitreader
pkgdesc = A fast, secure and complete PDF viewer
- pkgver = 2.4.1.0609
- pkgrel = 10
+ pkgver = 2.4.4.0911
+ pkgrel = 1
url = https://www.foxitsoftware.com/products/pdf-reader/
arch = x86_64
license = custom:EULA
makedepends = p7zip
+ makedepends = chrpath
depends = libsecret
depends = libxslt
depends = libxcomposite
@@ -19,14 +20,15 @@ pkgbase = foxitreader
depends = fontconfig
depends = dbus
depends = openssl-1.0
+ depends = desktop-file-utils
optdepends = gtk2: use GTK+ dialogs under GTK+ based desktop environments
- source = http://cdn09.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader2.4.1.0609_Server_x64_enu_Setup.run.tar.gz
+ source = http://cdn09.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/2.4/en_us/FoxitReader.enu.setup.2.4.4.0911.x64.run.tar.gz
source = https://www.foxitsoftware.com/products/pdf-reader/eula.html
source = foxitreader.patch
source = foxitreader-excluded_files
- sha256sums = d8093dd3b3aeb4e788cbdff5f9d05d7557eb440810f6da6bdc4e23447d3a27ba
- sha256sums = c1485614de2b8087d14ab2d7b10e51faaaaf83a96f8bce6a0e1791effadf6079
- sha256sums = d85bfa4b293927975182aa6b1582ac064c5732711e5678d5f1ec35e65c78e6d1
+ sha256sums = 6b579bd4ecdf86f7e70a009886c511da0b5085b831b0d6afc42442cabc249b90
+ sha256sums = 7814e03ea944f5ee5ff791e97c13446a5274989a1679758a92af0405d0fc7dce
+ sha256sums = ee0f65819d00fea89f40112c769c704c7b663ff852e9d1d6e36d1b6d054d9c05
sha256sums = e558529c6dbea047eee744b011ffcc214547c503896b14211ebf5f6309ef4e9f
pkgname = foxitreader
diff --git a/PKGBUILD b/PKGBUILD
index 5a30067eb04..988814c4940 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,24 @@
# Contributor: TDY <tdy@archlinux.info>
pkgname=foxitreader
-pkgver=2.4.1.0609
-_foxitrevision=r08f07f8
-pkgrel=10
+pkgver=2.4.4.0911
+_foxitrevision=r057d814
+pkgrel=1
pkgdesc="A fast, secure and complete PDF viewer"
arch=('x86_64')
url="https://www.foxitsoftware.com/products/pdf-reader/"
license=('custom:EULA')
depends=('libsecret' 'libxslt' 'libxcomposite' 'libgl' 'libxrender' 'gstreamer0.10-base'
- 'libxi' 'libsm' 'fontconfig' 'dbus' 'openssl-1.0')
-makedepends=('p7zip')
+ 'libxi' 'libsm' 'fontconfig' 'dbus' 'openssl-1.0' 'desktop-file-utils')
+makedepends=('p7zip' 'chrpath')
optdepends=('gtk2: use GTK+ dialogs under GTK+ based desktop environments')
-source=("http://cdn09.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/${pkgver%.*.*}/en_us/FoxitReader${pkgver}_Server_x64_enu_Setup.run.tar.gz"
+source=("http://cdn09.foxitsoftware.com/pub/foxit/reader/desktop/linux/2.x/${pkgver%.*.*}/en_us/FoxitReader.enu.setup.${pkgver}.x64.run.tar.gz"
"https://www.foxitsoftware.com/products/pdf-reader/eula.html"
"${pkgname}.patch"
"${pkgname}-excluded_files")
-sha256sums=('d8093dd3b3aeb4e788cbdff5f9d05d7557eb440810f6da6bdc4e23447d3a27ba'
- 'c1485614de2b8087d14ab2d7b10e51faaaaf83a96f8bce6a0e1791effadf6079'
- 'd85bfa4b293927975182aa6b1582ac064c5732711e5678d5f1ec35e65c78e6d1'
+sha256sums=('6b579bd4ecdf86f7e70a009886c511da0b5085b831b0d6afc42442cabc249b90'
+ '7814e03ea944f5ee5ff791e97c13446a5274989a1679758a92af0405d0fc7dce'
+ 'ee0f65819d00fea89f40112c769c704c7b663ff852e9d1d6e36d1b6d054d9c05'
'e558529c6dbea047eee744b011ffcc214547c503896b14211ebf5f6309ef4e9f')
build() {
@@ -57,7 +57,16 @@ build() {
done
# Apply final patches
cd "${srcdir}/${pkgname}-build"
- patch -p4 --no-backup-if-mismatch -i "${srcdir}/${pkgname}.patch"
+ patch -p1 --no-backup-if-mismatch -i "${srcdir}/${pkgname}.patch"
+ # Remove insecure RPATH
+ for _file in "lib/libFcitxQt5DBusAddons.so.1.0" \
+ "lib/libQt5PrintSupport.so.5.3.2" \
+ "platforminputcontexts/libfcitxplatforminputcontextplugin.so" \
+ "printsupport/libcupsprintersupport.so"
+ do
+ echo " -> Removing insecure RPATH from ${_file}"
+ chrpath --delete "${_file}"
+ done
# Remove unneeded files
rm "Activation" "Activation.desktop" "Activation.sh" \
"countinstalltion" "countinstalltion.sh" \
diff --git a/foxitreader.patch b/foxitreader.patch
index d9b57d545e7..8fea57cb3e7 100644
--- a/foxitreader.patch
+++ b/foxitreader.patch
@@ -1,25 +1,24 @@
-diff -Naur foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop foxitreader/usr/lib/foxitreader/FoxitReader.desktop
---- foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop 2017-02-28 02:59:33.000000000 +0100
-+++ foxitreader/usr/lib/foxitreader/FoxitReader.desktop 2017-04-21 01:46:30.036707144 +0200
-@@ -1,10 +1,11 @@
+diff -Naur foxitreader.orig/FoxitReader.desktop foxitreader/FoxitReader.desktop
+--- foxitreader.orig/FoxitReader.desktop 2018-02-13 18:54:39.000000000 +0100
++++ foxitreader/FoxitReader.desktop 2018-10-28 16:55:01.954090619 +0100
+@@ -1,10 +1,12 @@
[Desktop Entry]
Name=Foxit Reader
-Comment=View pdf documents
--Keywords=pdf;octet-stream;
+Comment=View PDF documents
-+Keywords=pdf;
+ Keywords=pdf;ppdf;
StartupNotify=true
Terminal=false
Type=Application
Categories=Application;Office;Viewer;X-Red-Hat-Base;
--MimeType=application/pdf;application/octet-stream;
+ MimeType=application/pdf;application/ppdf;
-Icon=FoxitReader
-+MimeType=application/pdf;
+Icon=foxitreader
+Exec=foxitreader %F
-diff -Naur foxitreader.orig/usr/lib/foxitreader/FoxitReader.sh foxitreader/usr/lib/foxitreader/FoxitReader.sh
---- foxitreader.orig/usr/lib/foxitreader/FoxitReader.sh 2017-02-28 02:58:36.000000000 +0100
-+++ foxitreader/usr/lib/foxitreader/FoxitReader.sh 2017-04-21 01:46:01.919583196 +0200
++
+diff -Naur foxitreader.orig/FoxitReader.sh foxitreader/FoxitReader.sh
+--- foxitreader.orig/FoxitReader.sh 2018-02-13 16:57:48.000000000 +0100
++++ foxitreader/FoxitReader.sh 2018-10-28 16:54:35.792773802 +0100
@@ -1,3 +1,5 @@
#!/bin/sh
- appname="FoxitReader"