From 8768cf059630ddc81fb3a87e9e9320f9ba3ec2a6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 13 May 2019 06:34:48 +0000 Subject: user/*: KDE Applications 19.04.1 --- .../okular/0001-Ensure-compatibility-with-Qt.patch | 36 ---------------------- user/okular/APKBUILD | 8 ++--- user/okular/es-doc-fix.patch | 11 +++++++ 3 files changed, 15 insertions(+), 40 deletions(-) delete mode 100644 user/okular/0001-Ensure-compatibility-with-Qt.patch create mode 100644 user/okular/es-doc-fix.patch (limited to 'user/okular') 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" -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 - #include - #include -+#include - #include - #include - #include -@@ -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 # Maintainer: A. Wilcox 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 eliminar una anotación, pulse sobre ella con el &RMB; y seleccione Borrar o seleccione una anotación usando el &LMB; y pulse la tecla ∇. ++> o seleccione una anotación usando el &LMB; y pulse la tecla Delete. + Al borrar una anotación, su ventana se cerrará si estuviera abierta. + -- cgit v1.2.3-70-g09d2