diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-21 13:19:48 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-21 17:24:50 +0100 |
commit | 12c019aeb89427b34cb79e86184719cc1c6031dc (patch) | |
tree | 17561ba6daa2627b217e1f780e31836393fd7f0d /kde-apps/kitinerary | |
parent | profiles: Last-rite kde-apps/dolphin-plugins (diff) | |
download | gentoo-12c019aeb89427b34cb79e86184719cc1c6031dc.tar.gz gentoo-12c019aeb89427b34cb79e86184719cc1c6031dc.tar.bz2 gentoo-12c019aeb89427b34cb79e86184719cc1c6031dc.zip |
kde-apps: Drop KDE Applications 18.08.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'kde-apps/kitinerary')
-rw-r--r-- | kde-apps/kitinerary/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kitinerary/files/kitinerary-18.08.3-poppler-0.72.patch | 68 | ||||
-rw-r--r-- | kde-apps/kitinerary/kitinerary-18.08.3.ebuild | 40 |
3 files changed, 0 insertions, 109 deletions
diff --git a/kde-apps/kitinerary/Manifest b/kde-apps/kitinerary/Manifest index cd09dafa54de..8bab291d44cd 100644 --- a/kde-apps/kitinerary/Manifest +++ b/kde-apps/kitinerary/Manifest @@ -1,2 +1 @@ -DIST kitinerary-18.08.3.tar.xz 622380 BLAKE2B 55213b5897abd8a8cbe763116cfddb3a498e8cbe1edc4a50fe073da193d97fe6a872c3dc5843e3b15e0d23cba5aa57be4118c2ec554a1b2f43c2bb3b8b121bc1 SHA512 d2fec91f292a143f96096a6642764599198a6055c44f63b3706bbb6428bab919c507ab6a4a2211faf6e57480ed8d6e6ff3643b612d295ff32d415a79509d25fa DIST kitinerary-18.12.3.tar.xz 652220 BLAKE2B 3de86b30f9a9a430fbd88d35cdb90202ce7b67493ec3e47e4bb6ed7274c42f37a6aef4c6bacb727ffc5564abb85d7aa383ae3cd6954d7e5cbe09edf4b759bb51 SHA512 b2a91dec7e58c4d5a8ac6ec10b9521fe817d61e1234500ec29bff6a3be9987efde7d851c2e2cc37ba64f7029e38416e171a80c127bd3534d16ca96e1d674fe6e diff --git a/kde-apps/kitinerary/files/kitinerary-18.08.3-poppler-0.72.patch b/kde-apps/kitinerary/files/kitinerary-18.08.3-poppler-0.72.patch deleted file mode 100644 index 904e7b231914..000000000000 --- a/kde-apps/kitinerary/files/kitinerary-18.08.3-poppler-0.72.patch +++ /dev/null @@ -1,68 +0,0 @@ -From f2dee911572a6ec93c63b9b4e376f841bb91e306 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> -Date: Fri, 22 Feb 2019 19:13:11 +0100 -Subject: [PATCH] Fix build against poppler-0.72 - ---- - CMakeLists.txt | 3 +++ - src/config-kitinerary.h.cmake | 1 + - src/pdfdocument.cpp | 8 ++++++++ - 3 files changed, 12 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index bdc2e2b..b970de7 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -42,6 +42,9 @@ if(TARGET Poppler::Core) - if (${Poppler_VERSION} VERSION_GREATER 0.57) - set(HAVE_POPPLER_0_58 ON) - endif() -+ if (${Poppler_VERSION} VERSION_GREATER 0.71) -+ set(HAVE_POPPLER_0_72 ON) -+ endif() - endif() - if (TARGET zxing::libzxing) - set(HAVE_ZXING ON) -diff --git a/src/config-kitinerary.h.cmake b/src/config-kitinerary.h.cmake -index 4576266..0dc8969 100644 ---- a/src/config-kitinerary.h.cmake -+++ b/src/config-kitinerary.h.cmake -@@ -22,6 +22,7 @@ - - #cmakedefine HAVE_POPPLER - #cmakedefine HAVE_POPPLER_0_58 -+#cmakedefine HAVE_POPPLER_0_72 - #cmakedefine HAVE_ZXING - #cmakedefine HAVE_KCAL - #cmakedefine HAVE_KCONTACTS -diff --git a/src/pdfdocument.cpp b/src/pdfdocument.cpp -index fb4b98b..9f23645 100644 ---- a/src/pdfdocument.cpp -+++ b/src/pdfdocument.cpp -@@ -306,7 +306,11 @@ QString PdfPage::textInRect(double left, double top, double right, double bottom - const auto pageRect = d->m_doc->m_popplerDoc->getPage(d->m_pageNum + 1)->getCropBox(); - std::unique_ptr<GooString> s(device->getText(ratio(pageRect->x1, pageRect->x2, left), ratio(pageRect->y1, pageRect->y2, top), - ratio(pageRect->x1, pageRect->x2, right), ratio(pageRect->y1, pageRect->y2, bottom))); -+#ifdef HAVE_POPPLER_0_58 -+ return QString::fromUtf8(s->c_str()); -+#else - return QString::fromUtf8(s->getCString()); -+#endif - #else - Q_UNUSED(left); - Q_UNUSED(top); -@@ -440,7 +444,11 @@ PdfDocument* PdfDocument::fromData(const QByteArray &data, QObject *parent) - PdfPage page; - page.d->m_pageNum = i; - page.d->m_doc = doc->d.get(); -+#ifdef HAVE_POPPLER_0_72 -+ page.d->m_text = QString::fromUtf8(s->c_str()); -+#else - page.d->m_text = QString::fromUtf8(s->getCString()); -+#endif - page.d->m_images = std::move(device->m_images); - for (auto it = page.d->m_images.begin(); it != page.d->m_images.end(); ++it) { - (*it).d->m_page = page.d.data(); --- -2.19.2 - diff --git a/kde-apps/kitinerary/kitinerary-18.08.3.ebuild b/kde-apps/kitinerary/kitinerary-18.08.3.ebuild deleted file mode 100644 index bcf656b17131..000000000000 --- a/kde-apps/kitinerary/kitinerary-18.08.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KDE_TEST="forceoptional" -VIRTUALX_REQUIRED="test" -inherit kde5 - -DESCRIPTION="Data Model and Extraction System for Travel Reservation information" -HOMEPAGE="https://www.kde.org/applications/office/kontact/" - -LICENSE="LGPL-2.1+" -KEYWORDS="amd64 x86" -IUSE="pdf" - -DEPEND=" - $(add_frameworks_dep karchive) - $(add_frameworks_dep ki18n) - $(add_kdeapps_dep kcalcore) - $(add_kdeapps_dep kcontacts) - $(add_kdeapps_dep kmime) - $(add_kdeapps_dep kpkpass) - $(add_qt_dep qtdeclarative) - $(add_qt_dep qtgui) - sys-libs/zlib - pdf? ( app-text/poppler:=[qt5] ) -" -RDEPEND="${DEPEND} - !<kde-apps/kdepim-addons-18.07.80 -" - -PATCHES=( "${FILESDIR}/${P}-poppler-0.72.patch" ) - -src_configure() { - local mycmakeargs=( - $(cmake-utils_use_find_package pdf Poppler) - ) - kde5_src_configure -} |