diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-05-13 06:34:48 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-05-13 06:34:48 +0000 |
commit | 8768cf059630ddc81fb3a87e9e9320f9ba3ec2a6 (patch) | |
tree | c855b778fedd5b285756c6c440dc84fb7c702595 /user/okular | |
parent | 3414b29fd004f414436615878c67169c0a475d69 (diff) | |
download | packages-8768cf059630ddc81fb3a87e9e9320f9ba3ec2a6.tar.gz packages-8768cf059630ddc81fb3a87e9e9320f9ba3ec2a6.tar.bz2 packages-8768cf059630ddc81fb3a87e9e9320f9ba3ec2a6.tar.xz packages-8768cf059630ddc81fb3a87e9e9320f9ba3ec2a6.zip |
user/*: KDE Applications 19.04.1
Diffstat (limited to 'user/okular')
-rw-r--r-- | user/okular/0001-Ensure-compatibility-with-Qt.patch | 36 | ||||
-rw-r--r-- | user/okular/APKBUILD | 8 | ||||
-rw-r--r-- | user/okular/es-doc-fix.patch | 11 |
3 files changed, 15 insertions, 40 deletions
diff --git a/user/okular/0001-Ensure-compatibility-with-Qt.patch b/user/okular/0001-Ensure-compatibility-with-Qt.patch deleted file mode 100644 index dfd2daa75..000000000 --- a/user/okular/0001-Ensure-compatibility-with-Qt.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 00f76c2df98c44722b05f7c350cf6b3241c2128f Mon Sep 17 00:00:00 2001 -From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> -Date: Thu, 18 Apr 2019 18:17:32 -0500 -Subject: [PATCH] Ensure compatibility with Qt <5.10 - -Qt::AA_CompressTabletEvents was added in Qt 5.10. Use preprocessor check -to avoid build failures on 5.9 LTS or 5.8 (the minimum version). ---- - shell/main.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/shell/main.cpp b/shell/main.cpp -index 17b58c610..dbdebf1a4 100644 ---- a/shell/main.cpp -+++ b/shell/main.cpp -@@ -19,6 +19,7 @@ - #include <QTextStream> - #include <kwindowsystem.h> - #include <QApplication> -+#include <QtGlobal> - #include <KAboutData> - #include <KCrash> - #include <KMessageBox> -@@ -31,7 +32,9 @@ - int main(int argc, char** argv) - { - QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); -+#if QT_VERSION >= 0x051000 - QCoreApplication::setAttribute(Qt::AA_CompressTabletEvents); -+#endif - - QApplication app(argc, argv); - KLocalizedString::setApplicationDomain("okular"); --- -2.21.0 - diff --git a/user/okular/APKBUILD b/user/okular/APKBUILD index 7a8fa0fa6..a4d7cacc3 100644 --- a/user/okular/APKBUILD +++ b/user/okular/APKBUILD @@ -1,7 +1,7 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=okular -pkgver=19.04.0 +pkgver=19.04.1 pkgrel=0 pkgdesc="Universal document reader developed by KDE" url="https://okular.kde.org/" @@ -17,7 +17,7 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev libspectre-dev ebook-tools-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://download.kde.org/stable/applications/$pkgver/src/okular-$pkgver.tar.xz - 0001-Ensure-compatibility-with-Qt.patch + es-doc-fix.patch " build() { @@ -47,5 +47,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="8a28f0cafb9b4ae8f5b3720958ccf511b9c40bbbe9b725fac11e103b1ebbb4a8a7cf84917cbe355bae7bd279584902e14907eafed2c5145b3c83d80d0a5ae25f okular-19.04.0.tar.xz -cdaae2b04abaa4663e6a9f1e95dc3659c756ad1f159dc85bad52b6d55b37aef9aa7e52e773687f6295b248f6df0518e59d9da45d5819354f9eea407037a6959c 0001-Ensure-compatibility-with-Qt.patch" +sha512sums="01be68692d106a4cc830361e9653f477e6ed204905950cf4db366b20c2665abc7914d6fca0504fc5ea2064f2f1e28dc8662deef3a73a52b32f3cdfafffed3007 okular-19.04.1.tar.xz +d82dd9de666a28ef605d8a81e74851f265be4ccaeaa39a1cdee9eb1db830fcd0d581d01d6e89a1d36b8ea5c9c8113f1016090dc0e9f17070d388166d9e967458 es-doc-fix.patch" diff --git a/user/okular/es-doc-fix.patch b/user/okular/es-doc-fix.patch new file mode 100644 index 000000000..05967d736 --- /dev/null +++ b/user/okular/es-doc-fix.patch @@ -0,0 +1,11 @@ +--- okular-19.04.1/po/es/docs/okular/index.docbook.old 2019-05-07 00:14:57.000000000 +0000 ++++ okular-19.04.1/po/es/docs/okular/index.docbook 2019-05-12 03:14:04.511177243 +0000 +@@ -1090,7 +1090,7 @@ + <para + >Para eliminar una anotación, pulse sobre ella con el &RMB; y seleccione <guimenuitem + >Borrar</guimenuitem +-> o seleccione una anotación usando el &LMB; y pulse la tecla ∇. </para> ++> o seleccione una anotación usando el &LMB; y pulse la tecla Delete. </para> + <para + >Al borrar una anotación, su ventana se cerrará si estuviera abierta. </para> + <note> |