Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kig/files/, kde-base/kig/
Date: Thu, 31 Jan 2013 16:18:58
Message-Id: 1359649115.7c124771e71d9f3abc8159b6354161c4e6e516d7.kensington@gentoo
1 commit: 7c124771e71d9f3abc8159b6354161c4e6e516d7
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 31 16:18:35 2013 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 31 16:18:35 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7c124771
7
8 [kde-base/kig] Remove unused patch. Tidy metadata.
9
10 Package-Manager: portage-2.1.11.50
11
12 ---
13 kde-base/kig/files/kig-4.9.0-boostpython.patch | 448 ------------------------
14 kde-base/kig/metadata.xml | 8 +-
15 2 files changed, 4 insertions(+), 452 deletions(-)
16
17 diff --git a/kde-base/kig/files/kig-4.9.0-boostpython.patch b/kde-base/kig/files/kig-4.9.0-boostpython.patch
18 deleted file mode 100644
19 index c2035b1..0000000
20 --- a/kde-base/kig/files/kig-4.9.0-boostpython.patch
21 +++ /dev/null
22 @@ -1,448 +0,0 @@
23 -From 0eb0768a4c66543b4ce716869eea744cb09b55ad Mon Sep 17 00:00:00 2001
24 -From: Johannes Huber <johu@g.o>
25 -Date: Thu, 30 Aug 2012 14:02:44 +0200
26 -Subject: [PATCH] Use standard cmake module to find boost python.
27 -
28 ----
29 - CMakeLists.txt | 34 ++++----
30 - KigConfigureChecks.cmake | 4 +-
31 - cmake/COPYING-CMAKE-SCRIPTS | 22 ------
32 - cmake/FindBoostPython.cmake | 153 ------------------------------------
33 - cmake/modules/FindBoostPython.cmake | 134 -------------------------------
34 - 5 Dateien geändert, 20 Zeilen hinzugefügt(+), 327 Zeilen entfernt(-)
35 - delete mode 100644 cmake/COPYING-CMAKE-SCRIPTS
36 - delete mode 100644 cmake/FindBoostPython.cmake
37 - delete mode 100644 cmake/modules/FindBoostPython.cmake
38 -
39 -diff --git a/CMakeLists.txt b/CMakeLists.txt
40 -index ba3e377..092fde3 100644
41 ---- a/CMakeLists.txt
42 -+++ b/CMakeLists.txt
43 -@@ -1,9 +1,6 @@
44 - project(kig)
45 -
46 --#
47 --# taken from kdeedu/CMakeList.txt
48 --# from here...
49 --set(CMAKE_MODULE_PATH ${kig_SOURCE_DIR}/cmake )
50 -+option(WITH_SCRIPTING "Enable python scripting support" ON)
51 -
52 - # search packages used by KDE
53 - find_package(KDE4 4.3.80 REQUIRED)
54 -@@ -30,7 +27,14 @@ include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_D
55 -
56 - # ...to here
57 -
58 --find_package(BoostPython)
59 -+if(WITH_SCRIPTING)
60 -+ find_package(PythonLibs)
61 -+ find_package(Boost COMPONENTS python)
62 -+endif(WITH_SCRIPTING)
63 -+
64 -+if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
65 -+ set(KIG_ENABLE_PYTHON_SCRIPTING 1)
66 -+endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
67 -
68 - kde4_no_enable_final(kig)
69 -
70 -@@ -45,14 +49,14 @@ add_subdirectory( macros )
71 - #add_subdirectory( kfile )
72 - add_subdirectory( data )
73 - add_subdirectory( pykig )
74 --if(BOOST_PYTHON_FOUND)
75 -+if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
76 - add_subdirectory( scripting )
77 --endif(BOOST_PYTHON_FOUND)
78 -+endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
79 -
80 - include_directories( ${CMAKE_SOURCE_DIR}/modes )
81 --if(BOOST_PYTHON_FOUND)
82 -- include_directories(${BOOST_PYTHON_INCLUDES})
83 --endif(BOOST_PYTHON_FOUND)
84 -+if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
85 -+ include_directories(${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
86 -+endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
87 -
88 - # kigpart
89 -
90 -@@ -173,7 +177,7 @@ kde4_add_ui_files(kigpart_PART_SRCS
91 - misc/kigcoordinateprecisiondialog.ui
92 - )
93 -
94 --if(BOOST_PYTHON_FOUND)
95 -+if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
96 - set(kigpart_PART_SRCS ${kigpart_PART_SRCS}
97 - scripting/newscriptwizard.cc
98 - scripting/python_scripter.cc
99 -@@ -183,15 +187,15 @@ if(BOOST_PYTHON_FOUND)
100 - )
101 -
102 - set_source_files_properties(scripting/python_scripter.cc PROPERTIES COMPILE_FLAGS "${KDE4_ENABLE_EXCEPTIONS}")
103 --endif(BOOST_PYTHON_FOUND)
104 -+endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
105 -
106 -
107 - kde4_add_plugin(kigpart ${kigpart_PART_SRCS})
108 -
109 - target_link_libraries(kigpart ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} )
110 --if(BOOST_PYTHON_FOUND)
111 -- target_link_libraries(kigpart ${BOOST_PYTHON_LIBS} ${KDE4_KTEXTEDITOR_LIBS})
112 --endif(BOOST_PYTHON_FOUND)
113 -+if(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
114 -+ target_link_libraries(kigpart ${Boost_PYTHON_LIBRARY} ${PYTHON_LIBRARIES} ${KDE4_KTEXTEDITOR_LIBS})
115 -+endif(Boost_PYTHON_FOUND AND PYTHONLIBS_FOUND)
116 -
117 - install(TARGETS kigpart DESTINATION ${PLUGIN_INSTALL_DIR})
118 -
119 -diff --git a/KigConfigureChecks.cmake b/KigConfigureChecks.cmake
120 -index fed38b3..a53ea73 100644
121 ---- a/KigConfigureChecks.cmake
122 -+++ b/KigConfigureChecks.cmake
123 -@@ -9,8 +9,6 @@ check_function_exists(trunc HAVE_TRUNC)
124 - set(CMAKE_REQUIRED_INCLUDES)
125 - set(CMAKE_REQUIRED_LIBRARIES)
126 -
127 --macro_optional_find_package(BoostPython)
128 --
129 - # at the end, output the configuration
130 - configure_file(
131 - ${CMAKE_CURRENT_SOURCE_DIR}/config-kig.h.cmake
132 -@@ -18,7 +16,7 @@ configure_file(
133 - )
134 -
135 - macro_log_feature(
136 -- BOOST_PYTHON_FOUND
137 -+ Boost_PYTHON_FOUND
138 - "Boost.Python"
139 - "Kig can optionally use Boost.Python for Python scripting"
140 - "http://www.boost.org/"
141 -diff --git a/cmake/COPYING-CMAKE-SCRIPTS b/cmake/COPYING-CMAKE-SCRIPTS
142 -deleted file mode 100644
143 -index 4b41776..0000000
144 ---- a/cmake/COPYING-CMAKE-SCRIPTS
145 -+++ /dev/null
146 -@@ -1,22 +0,0 @@
147 --Redistribution and use in source and binary forms, with or without
148 --modification, are permitted provided that the following conditions
149 --are met:
150 --
151 --1. Redistributions of source code must retain the copyright
152 -- notice, this list of conditions and the following disclaimer.
153 --2. Redistributions in binary form must reproduce the copyright
154 -- notice, this list of conditions and the following disclaimer in the
155 -- documentation and/or other materials provided with the distribution.
156 --3. The name of the author may not be used to endorse or promote products
157 -- derived from this software without specific prior written permission.
158 --
159 --THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
160 --IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
161 --OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
162 --IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
163 --INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
164 --NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
165 --DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
166 --THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
167 --(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
168 --THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
169 -diff --git a/cmake/FindBoostPython.cmake b/cmake/FindBoostPython.cmake
170 -deleted file mode 100644
171 -index 6d5f05e..0000000
172 ---- a/cmake/FindBoostPython.cmake
173 -+++ /dev/null
174 -@@ -1,153 +0,0 @@
175 --# - Try to find the a valid boost+python combination
176 --# Once done this will define
177 --#
178 --# BOOST_PYTHON_FOUND - system has a valid boost+python combination
179 --# BOOST_PYTHON_INCLUDES - the include directory for boost+python
180 --# BOOST_PYTHON_LIBS - the needed libs for boost+python
181 --
182 --# Copyright (c) 2006, Pino Toscano, <toscano.pino@×××××××.it>
183 --#
184 --# Redistribution and use is allowed according to the terms of the BSD license.
185 --# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
186 --
187 --if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
188 -- # Already in cache, be silent
189 -- set(BOOST_PYTHON_FIND_QUIETLY TRUE)
190 --endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
191 --
192 --# some needed includes
193 --include(CheckCXXSourceCompiles)
194 --include(CheckIncludeFileCXX)
195 --include(CheckLibraryExists)
196 --
197 --find_package(PkgConfig)
198 --
199 --# reset vars
200 --set(BOOST_PYTHON_INCLUDES)
201 --set(BOOST_PYTHON_LIBS)
202 --
203 --# handy arrays
204 --set(PYTHON_VERSIONS "python;python2.7;python2.6;python2.5;python2.4;python2.3;python2.2")
205 --set(PYTHON_INCLUDE_DIRS "/usr/include/$pyver;/usr/local/include/$pyver;/usr/$pyver/include;/usr/local/$pyver/include;$prefix/include/$pyver;$prefix/$pyver/include")
206 --set(PYTHON_LIBRARY_DIRS "/usr/lib${LIB_SUFFIX};/usr/local/lib${LIB_SUFFIX};/usr/lib${LIB_SUFFIX}/$pyver/config")
207 --set(PYTHON_LIBS "boost_python-gcc-mt;boost_python-mt;boost_python-gcc-mt-1_33;boost_python-gcc-mt-1_33_1;boost_python;boost_python-gcc-mt-1_32;boost_python")
208 --
209 --# 1st: check for boost/shared_ptr.hpp
210 --check_include_file_cxx(boost/shared_ptr.hpp HAVE_BOOST_SHARED_PTR_HPP)
211 --
212 --if(HAVE_BOOST_SHARED_PTR_HPP)
213 --
214 -- # try pkg-config next
215 -- set(_found FALSE)
216 -- foreach(_pyver ${PYTHON_VERSIONS})
217 -- if(NOT _found)
218 -- pkg_check_modules(_python QUIET ${_pyver})
219 -- if (_python_FOUND)
220 -- find_package(Boost 1.33 COMPONENTS python)
221 -- if (Boost_PYTHON_FOUND)
222 -- set(_found TRUE)
223 -- set(BOOST_PYTHON_INCLUDES "${_python_INCLUDE_DIRS};${Boost_INCLUDE_DIRS}")
224 -- set(BOOST_PYTHON_LIBS "${_python_LDFLAGS} ${Boost_PYTHON_LIBRARY}")
225 -- endif(Boost_PYTHON_FOUND)
226 -- endif(_python_FOUND)
227 -- endif(NOT _found)
228 -- endforeach(_pyver ${PYTHON_VERSIONS})
229 --
230 --endif(HAVE_BOOST_SHARED_PTR_HPP)
231 --
232 --if(HAVE_BOOST_SHARED_PTR_HPP AND NOT _found)
233 -- # save the old flags and setting the new ones
234 -- set(_save_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
235 -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
236 --
237 -- foreach(_pyver ${PYTHON_VERSIONS})
238 -- if(NOT _found)
239 -- foreach(_pydir ${PYTHON_INCLUDE_DIRS})
240 --
241 -- if(NOT _found)
242 -- string(REPLACE "$pyver" "${_pyver}" _pydir ${_pydir})
243 -- string(REPLACE "$prefix" "${CMAKE_INSTALL_PREFIX}" _pydir ${_pydir})
244 --
245 -- if(EXISTS ${_pydir})
246 -- if(EXISTS ${_pydir}/Python.h)
247 --
248 -- foreach(_pylibdir ${PYTHON_LIBRARY_DIRS})
249 --
250 -- if(NOT _found)
251 -- string(REPLACE "$pyver" ${_pyver} _pylibdir ${_pylibdir})
252 --
253 -- foreach(_pblib ${PYTHON_LIBS})
254 --
255 -- if(NOT _found)
256 --
257 -- set(CMAKE_REQUIRED_FLAGS "-L${_pylibdir}")
258 -- set(CMAKE_REQUIRED_INCLUDES ${_pydir})
259 -- set(CMAKE_REQUIRED_LIBRARIES ${_pblib} ${_pyver})
260 --
261 -- check_cxx_source_compiles("
262 --#include <boost/python.hpp>
263 --const char* greet() { return \"Hello world!\"; }
264 --BOOST_PYTHON_MODULE(hello) { boost::python::def(\"greet\", greet); }
265 --
266 --int main() { return 0; }
267 --
268 --// some vars, in case of the compilation fail...
269 --// python include dir: ${_pydir}
270 --// python lib dir: ${_pylibdir}
271 --// boost python lib: ${_pblib}
272 --
273 --" boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile )
274 --
275 -- set(CMAKE_REQUIRED_FLAGS)
276 -- set(CMAKE_REQUIRED_INCLUDES)
277 -- set(CMAKE_REQUIRED_LIBRARIES)
278 --
279 -- if(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
280 --
281 -- set(_found TRUE)
282 --
283 -- set(BOOST_PYTHON_INCLUDES ${_pydir})
284 -- set(BOOST_PYTHON_LIBS "-l${_pyver} -L${_pylibdir} -l${_pblib}")
285 --
286 -- endif(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
287 --
288 -- endif(NOT _found)
289 --
290 -- endforeach(_pblib ${PYTHON_LIBS})
291 --
292 -- endif(NOT _found)
293 --
294 -- endforeach(_pylibdir ${PYTHON_LIBRARY_DIRS})
295 --
296 -- endif(EXISTS ${_pydir}/Python.h)
297 -- endif(EXISTS ${_pydir})
298 --
299 -- endif(NOT _found)
300 --
301 -- endforeach(_pydir ${PYTHON_INCLUDE_DIRS})
302 --
303 -- endif(NOT _found)
304 --
305 -- endforeach(_pyver ${PYTHON_VERSIONS})
306 --
307 -- set(CMAKE_CXX_FLAGS ${_save_CMAKE_CXX_FLAGS})
308 --
309 --endif(HAVE_BOOST_SHARED_PTR_HPP AND NOT _found)
310 --
311 --if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
312 -- set(BOOST_PYTHON_FOUND TRUE)
313 --endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
314 --
315 --if(BOOST_PYTHON_FOUND)
316 -- if(NOT BoostPython_FIND_QUIETLY)
317 -- message(STATUS "Found Boost+Python: libs ${BOOST_PYTHON_LIBS}, headers ${BOOST_PYTHON_INCLUDES}")
318 -- endif(NOT BoostPython_FIND_QUIETLY)
319 -- set(KIG_ENABLE_PYTHON_SCRIPTING 1)
320 --else (BOOST_PYTHON_FOUND)
321 -- if (BoostPython_FIND_REQUIRED)
322 -- message(FATAL_ERROR "Could NOT find Boost+Python")
323 -- endif(BoostPython_FIND_REQUIRED)
324 -- set(KIG_ENABLE_PYTHON_SCRIPTING 0)
325 --endif(BOOST_PYTHON_FOUND)
326 --
327 --mark_as_advanced(BOOST_PYTHON_INCLUDES BOOST_PYTHON_LIBS)
328 -diff --git a/cmake/modules/FindBoostPython.cmake b/cmake/modules/FindBoostPython.cmake
329 -deleted file mode 100644
330 -index 72aae54..0000000
331 ---- a/cmake/modules/FindBoostPython.cmake
332 -+++ /dev/null
333 -@@ -1,134 +0,0 @@
334 --# - Try to find the a valid boost+python combination
335 --# Once done this will define
336 --#
337 --# BOOST_PYTHON_FOUND - system has a valid boost+python combination
338 --# BOOST_PYTHON_INCLUDES - the include directory for boost+python
339 --# BOOST_PYTHON_LIBS - the needed libs for boost+python
340 --
341 --# Copyright (c) 2006, Pino Toscano, <toscano.pino@×××××××.it>
342 --#
343 --# Redistribution and use is allowed according to the terms of the BSD license.
344 --# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
345 --
346 --if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
347 -- # Already in cache, be silent
348 -- set(BOOST_PYTHON_FIND_QUIETLY TRUE)
349 --endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
350 --
351 --# some needed includes
352 --include(CheckCXXSourceCompiles)
353 --include(CheckIncludeFileCXX)
354 --include(CheckLibraryExists)
355 --
356 --# reset vars
357 --set(BOOST_PYTHON_INCLUDES)
358 --set(BOOST_PYTHON_LIBS)
359 --
360 --# handy arrays
361 --set(PYTHON_VERSIONS "python;python2.7;python2.6;python2.5;python2.4;python2.3;python2.2")
362 --set(PYTHON_INCLUDE_DIRS "/usr/include/$pyver;/usr/local/include/$pyver;/usr/$pyver/include;/usr/local/$pyver/include;$prefix/include/$pyver;$prefix/$pyver/include")
363 --set(PYTHON_LIBRARY_DIRS "/usr/lib${LIB_SUFFIX};/usr/local/lib${LIB_SUFFIX};/usr/lib${LIB_SUFFIX}/$pyver/config")
364 --set(PYTHON_LIBS "boost_python-gcc-mt;boost_python-mt;boost_python-gcc-mt-1_33;boost_python-gcc-mt-1_33_1;boost_python;boost_python-gcc-mt-1_32;boost_python")
365 --
366 --# 1st: check for boost/shared_ptr.hpp
367 --check_include_file_cxx(boost/shared_ptr.hpp HAVE_BOOST_SHARED_PTR_HPP)
368 --
369 --if(HAVE_BOOST_SHARED_PTR_HPP)
370 --
371 -- set(_found FALSE)
372 --
373 -- # save the old flags and setting the new ones
374 -- set(_save_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
375 -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
376 --
377 -- foreach(_pyver ${PYTHON_VERSIONS})
378 -- if(NOT _found)
379 -- foreach(_pydir ${PYTHON_INCLUDE_DIRS})
380 --
381 -- if(NOT _found)
382 -- string(REPLACE "$pyver" "${_pyver}" _pydir ${_pydir})
383 -- string(REPLACE "$prefix" "${CMAKE_INSTALL_PREFIX}" _pydir ${_pydir})
384 --
385 -- if(EXISTS ${_pydir})
386 -- if(EXISTS ${_pydir}/Python.h)
387 --
388 -- foreach(_pylibdir ${PYTHON_LIBRARY_DIRS})
389 --
390 -- if(NOT _found)
391 -- string(REPLACE "$pyver" ${_pyver} _pylibdir ${_pylibdir})
392 --
393 -- foreach(_pblib ${PYTHON_LIBS})
394 --
395 -- if(NOT _found)
396 --
397 -- set(CMAKE_REQUIRED_FLAGS "-L${_pylibdir}")
398 -- set(CMAKE_REQUIRED_INCLUDES ${_pydir})
399 -- set(CMAKE_REQUIRED_LIBRARIES ${_pblib} ${_pyver})
400 --
401 -- check_cxx_source_compiles("
402 --#include <boost/python.hpp>
403 --const char* greet() { return \"Hello world!\"; }
404 --BOOST_PYTHON_MODULE(hello) { boost::python::def(\"greet\", greet); }
405 --
406 --int main() { return 0; }
407 --
408 --// some vars, in case of the compilation fail...
409 --// python include dir: ${_pydir}
410 --// python lib dir: ${_pylibdir}
411 --// boost python lib: ${_pblib}
412 --
413 --" boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile )
414 --
415 -- set(CMAKE_REQUIRED_FLAGS)
416 -- set(CMAKE_REQUIRED_INCLUDES)
417 -- set(CMAKE_REQUIRED_LIBRARIES)
418 --
419 -- if(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
420 --
421 -- set(_found TRUE)
422 --
423 -- set(BOOST_PYTHON_INCLUDES ${_pydir})
424 -- set(BOOST_PYTHON_LIBS "-l${_pyver} -L${_pylibdir} -l${_pblib}")
425 --
426 -- endif(boost_python_${_pylibdir}_${_pydir}_${_pblib}_compile)
427 --
428 -- endif(NOT _found)
429 --
430 -- endforeach(_pblib ${PYTHON_LIBS})
431 --
432 -- endif(NOT _found)
433 --
434 -- endforeach(_pylibdir ${PYTHON_LIBRARY_DIRS})
435 --
436 -- endif(EXISTS ${_pydir}/Python.h)
437 -- endif(EXISTS ${_pydir})
438 --
439 -- endif(NOT _found)
440 --
441 -- endforeach(_pydir ${PYTHON_INCLUDE_DIRS})
442 --
443 -- endif(NOT _found)
444 --
445 -- endforeach(_pyver ${PYTHON_VERSIONS})
446 --
447 -- set(CMAKE_CXX_FLAGS ${_save_CMAKE_CXX_FLAGS})
448 --
449 --endif(HAVE_BOOST_SHARED_PTR_HPP)
450 --
451 --if(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
452 -- set(BOOST_PYTHON_FOUND TRUE)
453 --endif(BOOST_PYTHON_INCLUDES AND BOOST_PYTHON_LIBS)
454 --
455 --if(BOOST_PYTHON_FOUND)
456 -- if(NOT BoostPython_FIND_QUIETLY)
457 -- message(STATUS "Found Boost+Python: ${BOOST_PYTHON_LIBS}")
458 -- endif(NOT BoostPython_FIND_QUIETLY)
459 -- set(KIG_ENABLE_PYTHON_SCRIPTING 1)
460 --else (BOOST_PYTHON_FOUND)
461 -- if (BoostPython_FIND_REQUIRED)
462 -- message(FATAL_ERROR "Could NOT find Boost+Python")
463 -- endif(BoostPython_FIND_REQUIRED)
464 -- set(KIG_ENABLE_PYTHON_SCRIPTING 0)
465 --endif(BOOST_PYTHON_FOUND)
466 --
467 --mark_as_advanced(BOOST_PYTHON_INCLUDES BOOST_PYTHON_LIBS)
468 ---
469 -1.7.12
470 -
471
472 diff --git a/kde-base/kig/metadata.xml b/kde-base/kig/metadata.xml
473 index dc23118..76914c7 100644
474 --- a/kde-base/kig/metadata.xml
475 +++ b/kde-base/kig/metadata.xml
476 @@ -1,8 +1,8 @@
477 <?xml version="1.0" encoding="UTF-8"?>
478 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
479 <pkgmetadata>
480 -<use>
481 - <flag name="scripting">Support Python scripting</flag>
482 -</use>
483 -<herd>kde</herd>
484 + <use>
485 + <flag name="scripting">Support Python scripting</flag>
486 + </use>
487 + <herd>kde</herd>
488 </pkgmetadata>