Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-base/kdelibs/, kde-base/kdelibs/files/
Date: Wed, 27 Jul 2016 15:55:59
Message-Id: 1469634939.bac2b5875708523b5317bb1588d8edb437d92832.kensington@gentoo
1 commit: bac2b5875708523b5317bb1588d8edb437d92832
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Thu Jul 21 19:57:51 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 27 15:55:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac2b587
7
8 kde-base/kdelibs: Patch to use WEBKIT_REQUIRED=optional
9
10 Add WEBKIT_REQUIRED="always" to <4.14.22 - these were not patched.
11
12 Package-Manager: portage-2.2.28
13
14 .../kdelibs/files/kdelibs-4.14.22-webkit.patch | 85 ++++++++++++++++++++++
15 kde-base/kdelibs/kdelibs-4.14.20-r2.ebuild | 3 +-
16 kde-base/kdelibs/kdelibs-4.14.21.ebuild | 3 +-
17 kde-base/kdelibs/kdelibs-4.14.22.ebuild | 5 +-
18 4 files changed, 93 insertions(+), 3 deletions(-)
19
20 diff --git a/kde-base/kdelibs/files/kdelibs-4.14.22-webkit.patch b/kde-base/kdelibs/files/kdelibs-4.14.22-webkit.patch
21 new file mode 100644
22 index 0000000..dcbb565
23 --- /dev/null
24 +++ b/kde-base/kdelibs/files/kdelibs-4.14.22-webkit.patch
25 @@ -0,0 +1,85 @@
26 +--- a/CMakeLists.txt 2016-07-06 12:18:35.000000000 +0200
27 ++++ b/CMakeLists.txt 2016-07-21 21:40:26.080328514 +0200
28 +@@ -45,6 +45,9 @@
29 + ############### Give the user the option to build the deprecated WMI solid backend instead of the new win backend ###############
30 + option(WITH_SOLID_WMI "Enables the deprecated WMI backend on Windows")
31 +
32 ++############### Give the user the option to build without qtwebkit dependency ###############
33 ++option(WITH_KDEWEBKIT "Enables the deprecated kdewebkit and kdewebkit-widgets" "ON")
34 ++
35 + ############### Load the CTest options ###############
36 + # CTestCustom.cmake has to be in the CTEST_BINARY_DIR.
37 + # in the KDE build system, this is the same as CMAKE_BINARY_DIR.
38 +@@ -363,7 +366,9 @@
39 + add_subdirectory( plasma )
40 + endif(NOT WINCE)
41 + add_subdirectory( kunitconversion )
42 ++if(WITH_KDEWEBKIT)
43 + add_subdirectory( kdewebkit )
44 ++endif(WITH_KDEWEBKIT)
45 + add_subdirectory( includes )
46 +
47 + add_subdirectory( experimental )
48 +--- a/kdewidgets/CMakeLists.txt 2016-07-06 12:18:35.000000000 +0200
49 ++++ b/kdewidgets/CMakeLists.txt 2016-07-21 21:39:54.031052674 +0200
50 +@@ -90,6 +90,7 @@
51 +
52 +
53 + # kdewebkit widgets
54 ++ if(WITH_KDEWEBKIT)
55 + include_directories(
56 + ${CMAKE_SOURCE_DIR}/kdewebkit
57 + )
58 +@@ -121,7 +122,7 @@
59 + endif(NOT WIN32)
60 +
61 + install(TARGETS kdewebkitwidgets DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer )
62 +-
63 ++ endif(WITH_KDEWEBKIT)
64 +
65 + if (QT_QT3SUPPORT_FOUND)
66 +
67 +--- a/plasma/CMakeLists.txt 2016-07-22 01:26:52.992198945 +0200
68 ++++ b/plasma/CMakeLists.txt 2016-07-22 01:28:10.487904045 +0200
69 +@@ -10,6 +10,10 @@
70 + set(PLASMA_NO_GLOBAL_SHORTCUTS TRUE)
71 + endif(KDE_PLATFORM_FEATURE_BINARY_COMPATIBLE_FEATURE_REDUCTION)
72 +
73 ++if(NOT WITH_KDEWEBKIT)
74 ++ set(PLASMA_NO_KDEWEBKIT TRUE)
75 ++endif(NOT WITH_KDEWEBKIT)
76 ++
77 + set(PLASMA_NO_PACKAGEKIT TRUE)
78 +
79 + include_directories(${CMAKE_CURRENT_SOURCE_DIR}
80 +@@ -121,7 +125,6 @@
81 + framesvg.cpp
82 + plasma.cpp
83 + popupapplet.cpp
84 +- private/animablegraphicswebview.cpp
85 + private/applethandle.cpp
86 + private/associatedapplicationmanager.cpp
87 + private/componentinstaller.cpp
88 +@@ -211,7 +214,6 @@
89 + widgets/textbrowser.cpp
90 + widgets/treeview.cpp
91 + widgets/textedit.cpp
92 +- widgets/webview.cpp
93 +
94 + #Temporary QtJolie branch
95 + private/qtjolie-branch/qtjolie/abstractadaptor.cpp
96 +@@ -245,6 +247,14 @@
97 + )
98 + endif(NOT KDE_NO_DEPRECATED)
99 +
100 ++if(NOT PLASMA_NO_KDEWEBKIT)
101 ++ set(plasma_LIB_SRCS
102 ++ ${plasma_LIB_SRCS}
103 ++ private/animablegraphicswebview.cpp
104 ++ widgets/webview.cpp
105 ++ )
106 ++endif(NOT PLASMA_NO_KDEWEBKIT)
107 ++
108 + kde4_add_kcfg_files(plasma_LIB_SRCS data/kconfigxt/libplasma-theme-global.kcfgc)
109 +
110 + kde4_add_ui_files(plasma_LIB_SRCS
111
112 diff --git a/kde-base/kdelibs/kdelibs-4.14.20-r2.ebuild b/kde-base/kdelibs/kdelibs-4.14.20-r2.ebuild
113 index 6692c97..3b2df45 100644
114 --- a/kde-base/kdelibs/kdelibs-4.14.20-r2.ebuild
115 +++ b/kde-base/kdelibs/kdelibs-4.14.20-r2.ebuild
116 @@ -7,8 +7,9 @@ EAPI=6
117 CMAKE_MIN_VERSION="3.3.1-r1"
118 CPPUNIT_REQUIRED="optional"
119 DECLARATIVE_REQUIRED="always"
120 -OPENGL_REQUIRED="optional"
121 KDE_HANDBOOK="optional"
122 +OPENGL_REQUIRED="optional"
123 +WEBKIT_REQUIRED="always"
124 inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
125
126 EGIT_BRANCH="KDE/4.14"
127
128 diff --git a/kde-base/kdelibs/kdelibs-4.14.21.ebuild b/kde-base/kdelibs/kdelibs-4.14.21.ebuild
129 index c3273ba..92f0b61 100644
130 --- a/kde-base/kdelibs/kdelibs-4.14.21.ebuild
131 +++ b/kde-base/kdelibs/kdelibs-4.14.21.ebuild
132 @@ -7,8 +7,9 @@ EAPI=6
133 CMAKE_MIN_VERSION="3.3.1-r1"
134 CPPUNIT_REQUIRED="optional"
135 DECLARATIVE_REQUIRED="always"
136 -OPENGL_REQUIRED="optional"
137 KDE_HANDBOOK="optional"
138 +OPENGL_REQUIRED="optional"
139 +WEBKIT_REQUIRED="always"
140 inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
141
142 EGIT_BRANCH="KDE/4.14"
143
144 diff --git a/kde-base/kdelibs/kdelibs-4.14.22.ebuild b/kde-base/kdelibs/kdelibs-4.14.22.ebuild
145 index c47f63c..c2c1f1c 100644
146 --- a/kde-base/kdelibs/kdelibs-4.14.22.ebuild
147 +++ b/kde-base/kdelibs/kdelibs-4.14.22.ebuild
148 @@ -7,8 +7,9 @@ EAPI=6
149 CMAKE_MIN_VERSION="3.3.1-r1"
150 CPPUNIT_REQUIRED="optional"
151 DECLARATIVE_REQUIRED="always"
152 -OPENGL_REQUIRED="optional"
153 KDE_HANDBOOK="optional"
154 +OPENGL_REQUIRED="optional"
155 +WEBKIT_REQUIRED="optional"
156 inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
157
158 APPS_VERSION="16.04.3" # Don't forget to bump this
159 @@ -133,6 +134,7 @@ PATCHES=(
160 "${FILESDIR}/${PN}-4.10.0-udisks.patch"
161 "${FILESDIR}/${PN}-4.14.20-FindQt4.patch"
162 "${FILESDIR}/${PN}-4.14.20-strigi-optional.patch"
163 + "${FILESDIR}/${PN}-4.14.22-webkit.patch"
164 )
165
166 pkg_pretend() {
167 @@ -214,6 +216,7 @@ src_configure() {
168 -DWITH_UDev=$(usex udev)
169 -DWITH_SOLID_UDISKS2=$(usex udisks)
170 -DWITH_Avahi=$(usex zeroconf)
171 + -DWITH_KDEWEBKIT=$(usex webkit)
172 )
173
174 kde4-base_src_configure