summaryrefslogtreecommitdiff
path: root/kde-apps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
commit09351e78166b5e864197c4456ebae3f89dd0bed9 (patch)
tree41a96399f56ed3aa399006871bfce4430db84aa2 /kde-apps
parentc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff)
gentoo resync : 22.01.2019
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/Manifest.gzbin39313 -> 39320 bytes
-rw-r--r--kde-apps/gwenview/Manifest1
-rw-r--r--kde-apps/gwenview/files/gwenview-18.12.0-exiv2-0.27.patch216
-rw-r--r--kde-apps/kalzium/Manifest3
-rw-r--r--kde-apps/kalzium/files/kalzium-18.12.1-deps.patch79
-rw-r--r--kde-apps/kalzium/kalzium-18.12.1-r1.ebuild (renamed from kde-apps/kalzium/kalzium-18.12.1.ebuild)4
6 files changed, 84 insertions, 219 deletions
diff --git a/kde-apps/Manifest.gz b/kde-apps/Manifest.gz
index 412ae8cf2806..68ae880ef1f9 100644
--- a/kde-apps/Manifest.gz
+++ b/kde-apps/Manifest.gz
Binary files differ
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest
index 73fa445b979f..b75df413339b 100644
--- a/kde-apps/gwenview/Manifest
+++ b/kde-apps/gwenview/Manifest
@@ -1,5 +1,4 @@
AUX gwenview-18.07.90-activities-optional.patch 5078 BLAKE2B 692a743c319a9498de88af97b113e123ec445322f55513fcae58d4c556b29c23f0b2586e292900fb8e233c5cd2b33a7f76cf759b0c0ad119efb7daa7c290263c SHA512 2afd6fe89d1b455723d15f38866a476f8872e45d0548c36432f4b08d6404d02c4c03f78bfa60ec7dbddad022fef32283155b3ce27a9a8b16c4b753246b301106
-AUX gwenview-18.12.0-exiv2-0.27.patch 6552 BLAKE2B b57836867fe29e0d099d24b1b935ab4899909d94484a3c060e5a1ee97a2cf297c4fe444cc4b6a85d4f9727b68344013ed2292260a7e217b24d85b4debcacea13 SHA512 526fb77137cd504eb72a5bc6ba74a71efab7842f9ada3e4d7f0465284aa5d50cb6619fb54a555b8d959be3d305a302bf8d1b75162b60970523c628b09b04ca6e
AUX gwenview-18.12.1-exiv2-0.27.patch 15804 BLAKE2B cabf4b2d042a2b5133ff22100fc2cd7d8e06df3b166574add355b13b7bb2e1b6a482c9bbc64a357738b0460765b3eab3303e39bc00dae2cdfb96ccb931c2e85a SHA512 238f40b55008c2de700cad637db09a824dac1cbd01d6997c4d25c4cf864b858c43b2768990eddb096086b7e549762b6d8b47ec09418e1917fa6c09ebee821043
DIST gwenview-18.08.3.tar.xz 6178192 BLAKE2B 0b25bdd64398f7ef1310598daad07374ca56383578fd67a8e36e348e78e1d818335fe4d630cc733e7a1eb13eaafca268426aea5afbb44195106742c50587c74d SHA512 0889b3388311b8c2b5a2ff98eea55dbae69ec6a27b5f27defc884077d937006d184c08a9daf31df0d9fb096b1a53fc70e844d46c4e3577d21e8f6ab83cca06ce
DIST gwenview-18.12.1.tar.xz 5714244 BLAKE2B f4330290cd3230e40acc8427205c62dc99ddfe65165e03409efb8eee0a54303cf02de4a3fb308bc55d96314ed21aaf9783cd67d9a1e4aec08a2360f5e0ff7b03 SHA512 609c670bc7ff8007fbc96d1fb4de9a0686e8e8c1171c396ae00b1c96fb531855a3881c57bcdf578e1c6c29670fda58ef6eaab407d60ad7f7f419e7c92d5a4d8d
diff --git a/kde-apps/gwenview/files/gwenview-18.12.0-exiv2-0.27.patch b/kde-apps/gwenview/files/gwenview-18.12.0-exiv2-0.27.patch
deleted file mode 100644
index fa0d62d84b74..000000000000
--- a/kde-apps/gwenview/files/gwenview-18.12.0-exiv2-0.27.patch
+++ /dev/null
@@ -1,216 +0,0 @@
-From 7e4cd5e91d7434448b7227ee8cf3307435cc7d00 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sun, 30 Dec 2018 12:59:05 +0100
-Subject: [PATCH 1/2] Include exiv2.hpp instead of individual headers
-
-Headers are subject to refactoring upstream, using exiv2.hpp per recommendation.
----
- lib/cms/cmsprofile.h | 2 +-
- lib/document/document.h | 2 +-
- lib/exiv2imageloader.cpp | 4 ----
- lib/exiv2imageloader.h | 2 +-
- lib/imagemetainfomodel.cpp | 4 +---
- lib/jpegcontent.cpp | 4 ----
- lib/timeutils.cpp | 4 ----
- tests/auto/documenttest.cpp | 2 --
- tests/auto/imagemetainfomodeltest.cpp | 2 --
- 9 files changed, 4 insertions(+), 22 deletions(-)
-
-diff --git a/lib/cms/cmsprofile.h b/lib/cms/cmsprofile.h
-index a2a38a87..bc378ff9 100644
---- a/lib/cms/cmsprofile.h
-+++ b/lib/cms/cmsprofile.h
-@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
- #include <QSharedData>
-
- // Exiv2
--#include <exiv2/image.hpp>
-+#include <exiv2/exiv2.hpp>
-
- class QByteArray;
- class QString;
-diff --git a/lib/document/document.h b/lib/document/document.h
-index c0bb454b..8e32c044 100644
---- a/lib/document/document.h
-+++ b/lib/document/document.h
-@@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- #include <lib/gwenviewlib_export.h>
-
- #include <string.h>
--#include <exiv2/image.hpp>
-+#include <exiv2/exiv2.hpp>
-
- // Qt
- #include <QObject>
-diff --git a/lib/exiv2imageloader.cpp b/lib/exiv2imageloader.cpp
-index f2830f81..f12b7383 100644
---- a/lib/exiv2imageloader.cpp
-+++ b/lib/exiv2imageloader.cpp
-@@ -28,10 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
- // KDE
-
--// Exiv2
--#include <exiv2/error.hpp>
--#include <exiv2/types.hpp>
--
- // Local
-
- namespace Gwenview
-diff --git a/lib/exiv2imageloader.h b/lib/exiv2imageloader.h
-index 57ef24d2..866e7fac 100644
---- a/lib/exiv2imageloader.h
-+++ b/lib/exiv2imageloader.h
-@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
- // Exiv2
- #include <string.h>
--#include <exiv2/image.hpp>
-+#include <exiv2/exiv2.hpp>
-
- // Local
-
-diff --git a/lib/imagemetainfomodel.cpp b/lib/imagemetainfomodel.cpp
-index d7b89ab2..58f1c13d 100644
---- a/lib/imagemetainfomodel.cpp
-+++ b/lib/imagemetainfomodel.cpp
-@@ -33,9 +33,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- #include <KFormat>
-
- // Exiv2
--#include <exiv2/exif.hpp>
--#include <exiv2/image.hpp>
--#include <exiv2/iptc.hpp>
-+#include <exiv2/exiv2.hpp>
-
- // Local
- #ifdef HAVE_FITS
-diff --git a/lib/jpegcontent.cpp b/lib/jpegcontent.cpp
-index bb810dd4..a628e8a8 100644
---- a/lib/jpegcontent.cpp
-+++ b/lib/jpegcontent.cpp
-@@ -41,10 +41,6 @@ extern "C" {
- // KDE
- #include <KLocalizedString>
-
--// Exiv2
--#include <exiv2/exif.hpp>
--#include <exiv2/image.hpp>
--
- // Local
- #include "jpegerrormanager.h"
- #include "iodevicejpegsourcemanager.h"
-diff --git a/lib/timeutils.cpp b/lib/timeutils.cpp
-index 9e8836a9..19befff5 100644
---- a/lib/timeutils.cpp
-+++ b/lib/timeutils.cpp
-@@ -29,10 +29,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
- // KDE
- #include <KFileItem>
-
--// Exiv2
--#include <exiv2/exif.hpp>
--#include <exiv2/image.hpp>
--
- // Local
- #include <lib/exiv2imageloader.h>
- #include <lib/urlutils.h>
-diff --git a/tests/auto/documenttest.cpp b/tests/auto/documenttest.cpp
-index 9373641f..496346f0 100644
---- a/tests/auto/documenttest.cpp
-+++ b/tests/auto/documenttest.cpp
-@@ -39,8 +39,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- #include "../lib/transformimageoperation.h"
- #include "testutils.h"
-
--#include <exiv2/exif.hpp>
--
- #include "documenttest.h"
-
- QTEST_MAIN(DocumentTest)
-diff --git a/tests/auto/imagemetainfomodeltest.cpp b/tests/auto/imagemetainfomodeltest.cpp
-index e3ec8d30..c4467a73 100644
---- a/tests/auto/imagemetainfomodeltest.cpp
-+++ b/tests/auto/imagemetainfomodeltest.cpp
-@@ -28,8 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- #include "../lib/imagemetainfomodel.h"
- #include "testutils.h"
-
--#include <exiv2/exif.hpp>
--
- #include "imagemetainfomodeltest.h"
-
- QTEST_MAIN(ImageMetaInfoModelTest)
---
-2.20.1
-
-
-From 7d6c5d95cf4e4d7c857f5d659a58f82bdc46259c Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sun, 30 Dec 2018 11:31:20 +0100
-Subject: [PATCH 2/2] Fix build with exiv2-0.27
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Summary:
-Include exiv2.hpp instead of individual headers
-
-Headers are subject to refactoring upstream, using exiv2.hpp per recommendation.
-
-Enable exceptions globally - otherwise, lots of the following error:
-
-In file included from /usr/include/exiv2/types.hpp:34,
- from /usr/include/exiv2/image.hpp:28,
- from gwenview-18.12.0/lib/cms/cmsprofile.h:33,
- from gwenview-18.12.0/lib/cms/cmsprofile.cpp:22:
-/usr/include/exiv2/slice.hpp: In constructor ‘Exiv2::Internal::SliceBase::SliceBase(size_t, size_t)’:
-/usr/include/exiv2/slice.hpp:99:77: error: exception handling disabled, use -fexceptions to enable
- throw std::out_of_range("Begin must be smaller than end");
- ^
-
-Test Plan: Built fine with exiv2-0.27
-
-Reviewers: #gwenview, cgiboudeaux
-
-Tags: #gwenview
-
-Differential Revision: https://phabricator.kde.org/D17869
----
- CMakeLists.txt | 2 ++
- lib/CMakeLists.txt | 6 ------
- 2 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index f44f9afc..b85ba4bc 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -126,6 +126,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
-
- add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
-
-+kde_enable_exceptions()
-+
- ## dirs to build
- add_subdirectory(lib)
- add_subdirectory(app)
-diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
-index 169df3c6..f7e9f71f 100644
---- a/lib/CMakeLists.txt
-+++ b/lib/CMakeLists.txt
-@@ -220,12 +220,6 @@ if (GWENVIEW_SEMANTICINFO_BACKEND_BALOO)
- )
- endif()
-
--kde_source_files_enable_exceptions(
-- exiv2imageloader.cpp
-- imagemetainfomodel.cpp
-- timeutils.cpp
-- )
--
- ki18n_wrap_ui(gwenviewlib_SRCS
- crop/cropwidget.ui
- documentview/messageview.ui
---
-2.20.1
-
diff --git a/kde-apps/kalzium/Manifest b/kde-apps/kalzium/Manifest
index 90486a7d28d3..dd2f8b1234cb 100644
--- a/kde-apps/kalzium/Manifest
+++ b/kde-apps/kalzium/Manifest
@@ -1,5 +1,6 @@
+AUX kalzium-18.12.1-deps.patch 2589 BLAKE2B 4ad2efb6ed0db05c82faf6f6851e8ef1fe549cedf25c79c67c5c350d9bdf58fcf1d921cbee6334bf971aba22a52b58c016d48bf2d60efe8591ce6f69c4360441 SHA512 a8619cdcda7080726460da58b8fbfc196712ead98db2e56d563cb82c9e76bcc2daebf4377d1d32e6c0280c39fd9887bc4224b3936357864a73d773636a7a22db
DIST kalzium-18.08.3.tar.xz 24377636 BLAKE2B 094167e7014afe89a17d2be3331e546c2079793b3a76e3262f5f390a13e9c0bbfdde094bcbde0b61e95b28582f76d7bc870709968d5ac1c9846151474d27fa5c SHA512 844fccca678b7909675cee73a76dc0b38e901b3dbae42884fe803f773bdf678b2aa9957caebb9aac50ddc58e177169e284de9303ad40886f16f5c51c72347d32
DIST kalzium-18.12.1.tar.xz 26573788 BLAKE2B 567441e1e397ea25246157db11a31a4b148ae280bdf5afde2ad9f04f85c333dd5f6f08815c50babbf66466db0e6e9787abe846ae21562b6bc46ed6fbe5b2d05b SHA512 6f9e7c16e64b8c690200440e80be8f036ef6254c9e367cf1fc369250c47bebec47b7918d1fdd1194efbda65685ac03f2e3191c7f6d6380aa678b197dc28d6b97
EBUILD kalzium-18.08.3.ebuild 1585 BLAKE2B ad0493cd738cf48edae09e0937014782aff796d1c0449df3b7276f9cb2573ebdfaf0e154906a054a4a8efb65762acff2a17723332de474f54133c9fa77f5f53d SHA512 efda0462b109b2f01402351d2c0b84366e834f7515099cf61e841f791b3e21a16877948d28f249493e53ffb8587bf9b7b0e612ebd0487333c08a52e879dffdfc
-EBUILD kalzium-18.12.1.ebuild 1587 BLAKE2B bd1a97edba9423ede6e2cc290e616e815f9e6683a9b9656a94f24215cae8082c41b66e24436e1ca863ee0ca55649a9a3bca3cee2c799fbc0f80cbe4598cdc36a SHA512 3fc243be6d83dcd4bb9d4ee2a0f59126349a015ad6a93d7f0319d9d87bd1c342adeb446d7eff7a47f621378fca5312fb2c4f9afcb0cfae1a193feabbbd491947
+EBUILD kalzium-18.12.1-r1.ebuild 1631 BLAKE2B c16de2ce1b9d9f29b5d99712fb0d49391c3d61cae24e5e6b584a01ddb1bf996023b588ab2bd28a95343455e7d8f14332e96a6f19b449ea57cd45cbfca9337f3f SHA512 ee1456a8f3eec26bd1a86f7242f79674050374efe22d4f22e9660b4dd4512e83a8f6401c678773fe10a23c8bbffdb0abc0d2d3ebd4256afc49163d5a182f9434
MISC metadata.xml 392 BLAKE2B d3bb6dbac8507afd2fc52a1e0725c36ed612987649dd16c63a631db35f7e8be5e08bac163d8be7b0705b247d9d219d096497adc066dbeb0bd5674f79849c5001 SHA512 424599782ee8fb9703d159dab7551f94785dceaae5e0a7e09b3b0bc8488b8b278f378d0041da0742f45812b3e0bbacf06db8e10447c2ec28b1393b1f8d6894c9
diff --git a/kde-apps/kalzium/files/kalzium-18.12.1-deps.patch b/kde-apps/kalzium/files/kalzium-18.12.1-deps.patch
new file mode 100644
index 000000000000..f0a1a834bc55
--- /dev/null
+++ b/kde-apps/kalzium/files/kalzium-18.12.1-deps.patch
@@ -0,0 +1,79 @@
+From dd38aba1dfbc18c8e094fce2f8b167d0e12e93fb Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Thu, 17 Jan 2019 10:45:42 +0100
+Subject: [PATCH] Qt5OpenGL is only required in optional compoundviewer
+
+Add missing search for Qt5Xml
+Add missing Qt5Widgets to compoundviewer target_link_libraries
+Remove Qt5OpenGL from libscience target_link_libraries, not used
+---
+ CMakeLists.txt | 7 ++++---
+ compoundviewer/CMakeLists.txt | 3 ++-
+ libscience/CMakeLists.txt | 2 +-
+ 3 files changed, 7 insertions(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a48c9046..9c55aafe 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -42,12 +42,12 @@ configure_file(
+ include_directories(${AvogadroLibs_INCLUDE_DIRS})
+
+ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS
+- Widgets
+- Script
+ Core
+ Gui
+- OpenGL
++ Script
+ Svg
++ Widgets
++ Xml
+ )
+
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+@@ -92,6 +92,7 @@ add_definitions(-DUSING_DYNAMIC_LIBS)
+ endif(MSVC)
+
+ if (OPENBABEL2_FOUND AND AvogadroLibs_FOUND AND EIGEN3_FOUND)
++ find_package(Qt5OpenGL ${QT_MIN_VERSION} REQUIRED)
+ find_package(KF5NewStuff REQUIRED)
+ # avoid compilerwarnings about redefinitions
+ # todo: use check_function_exits() ?
+diff --git a/compoundviewer/CMakeLists.txt b/compoundviewer/CMakeLists.txt
+index d6f6f4ab..54734a02 100644
+--- a/compoundviewer/CMakeLists.txt
++++ b/compoundviewer/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}/..
+ ${EIGEN3_INCLUDE_DIR}
+- ${OPENBABEL2_INCLUDE_DIR} ${OPENGL_INCLUDE_DIRS}
++ ${OPENBABEL2_INCLUDE_DIR}
+ ${AvogadroLibs_INCLUDE_DIRS}
+ ${PROJECT_SOURCE_DIR}/compoundviewer
+ )
+@@ -21,6 +21,7 @@ target_link_libraries(compoundviewer
+ KF5::CoreAddons
+ Qt5::OpenGL
+ Qt5::Gui
++ Qt5::Widgets
+ ${OPENBABEL2_LIBRARIES}
+ AvogadroQtGui
+ AvogadroQtOpenGL
+diff --git a/libscience/CMakeLists.txt b/libscience/CMakeLists.txt
+index f25e4090..4d4d6979 100644
+--- a/libscience/CMakeLists.txt
++++ b/libscience/CMakeLists.txt
+@@ -16,7 +16,7 @@ set(science_LIB_SRCS
+
+ add_library(science SHARED ${science_LIB_SRCS})
+
+-target_link_libraries(science Qt5::OpenGL Qt5::Xml KF5::UnitConversion KF5::WidgetsAddons KF5::KDELibs4Support)
++target_link_libraries(science Qt5::Xml KF5::UnitConversion KF5::WidgetsAddons KF5::KDELibs4Support)
+ set_target_properties(science PROPERTIES VERSION ${KALZIUMLIB_VERSION} SOVERSION ${KALZIUMLIB_SOVERSION} )
+ install(TARGETS science ${INSTALL_TARGETS_DEFAULT_ARGS})
+
+--
+2.20.1
+
diff --git a/kde-apps/kalzium/kalzium-18.12.1.ebuild b/kde-apps/kalzium/kalzium-18.12.1-r1.ebuild
index 6d9fd5d6f8c3..aac0fcfa4ccc 100644
--- a/kde-apps/kalzium/kalzium-18.12.1.ebuild
+++ b/kde-apps/kalzium/kalzium-18.12.1-r1.ebuild
@@ -44,7 +44,9 @@ RDEPEND="${DEPEND}
sci-chemistry/chemical-mime-data
"
-src_configure(){
+PATCHES=( "${FILESDIR}/${P}-deps.patch" )
+
+src_configure() {
# Fix missing finite()
[[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H