summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-03-01 07:18:33 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-03-01 07:18:33 +0000
commitc98af525791c8acf9319d76ddfdf5f8939aab586 (patch)
tree32d9a5dabc33960409b8ba4718d84277a109b8ff /media-gfx/digikam/files
parentVersion bump for stable channel release. (diff)
downloadgentoo-2-c98af525791c8acf9319d76ddfdf5f8939aab586.tar.gz
gentoo-2-c98af525791c8acf9319d76ddfdf5f8939aab586.tar.bz2
gentoo-2-c98af525791c8acf9319d76ddfdf5f8939aab586.zip
Version bump
(Portage version: 2.1.9.41/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/digikam/files')
-rw-r--r--media-gfx/digikam/files/digikam-1.9.0-docs.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/media-gfx/digikam/files/digikam-1.9.0-docs.patch b/media-gfx/digikam/files/digikam-1.9.0-docs.patch
new file mode 100644
index 000000000000..588cfb907031
--- /dev/null
+++ b/media-gfx/digikam/files/digikam-1.9.0-docs.patch
@@ -0,0 +1,50 @@
+diff -ruN digikam-1.9.0-vanilla/CMakeLists.txt digikam-1.9.0/CMakeLists.txt
+--- digikam-1.9.0-vanilla/CMakeLists.txt 2011-02-27 21:16:18.000000000 +0100
++++ digikam-1.9.0/CMakeLists.txt 2011-02-28 18:56:39.000000000 +0100
+@@ -1421,8 +1421,15 @@
+ # ==================================================================================================
+ # API documentation generation
+
++# Checks if user ask to build documentation.
++IF(BUILD_DOC)
++
+ IF(DOXYGEN_FOUND)
+
++ MESSAGE(STATUS "")
++ MESSAGE(STATUS "API documentation will be installed")
++ MESSAGE(STATUS "")
++
+ SET(API_DIR ${CMAKE_BINARY_DIR}/api)
+ SET(SOURCE_DIR ${CMAKE_SOURCE_DIR})
+ SET(DOXYFILE ${CMAKE_BINARY_DIR}/Doxyfile)
+@@ -1430,10 +1437,29 @@
+
+ CONFIGURE_FILE(Doxyfile.cmake ${DOXYFILE})
+
+- ADD_CUSTOM_TARGET(doc ${DOXYGEN_EXECUTABLE} ${DOXYFILE}
++ ADD_CUSTOM_TARGET(doc ALL ${DOXYGEN_EXECUTABLE} ${DOXYFILE}
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
++
++ELSE(DOXYGEN_FOUND)
++
++ MESSAGE(FATAL_ERROR "API documentation requested but doxygen not found")
++
+ ENDIF(DOXYGEN_FOUND)
++
++ELSE(BUILD_DOC)
++
++ MESSAGE(STATUS "")
++ MESSAGE(STATUS "Documentation will NOT be installed")
++ MESSAGE(STATUS "Because the option -DBUILD_DOC=ON wasn't passed to cmake")
++ MESSAGE(STATUS "")
++
++ENDIF(BUILD_DOC)
++
+ find_package(Msgfmt REQUIRED)
+ find_package(Gettext REQUIRED)
+ add_subdirectory( po )
+
++# Build the handbook
++add_subdirectory( doc )
++
++