diff options
author | tabthorpe <tabthorpe@FreeBSD.org> | 2008-09-12 11:08:07 +0800 |
---|---|---|
committer | tabthorpe <tabthorpe@FreeBSD.org> | 2008-09-12 11:08:07 +0800 |
commit | 19d568eab7d7f4743f7619a5e0cad6a3f3c757f4 (patch) | |
tree | 08f74d2073e0a76032013e13f78b1215bbfdba25 /misc | |
parent | fe18db6b391bc1adf9ff8851d677a0b70483ac10 (diff) | |
download | freebsd-ports-gnome-19d568eab7d7f4743f7619a5e0cad6a3f3c757f4.tar.gz freebsd-ports-gnome-19d568eab7d7f4743f7619a5e0cad6a3f3c757f4.tar.zst freebsd-ports-gnome-19d568eab7d7f4743f7619a5e0cad6a3f3c757f4.zip |
- Unbreak
Approved by: portmgr (marcus)
Obtained from: BibleTime svn
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bibletime-devel/Makefile | 2 | ||||
-rw-r--r-- | misc/bibletime-devel/files/patch-CMakeLists.txt | 132 | ||||
-rw-r--r-- | misc/bibletime-kde4/Makefile | 2 | ||||
-rw-r--r-- | misc/bibletime-kde4/files/patch-CMakeLists.txt | 132 |
4 files changed, 264 insertions, 4 deletions
diff --git a/misc/bibletime-devel/Makefile b/misc/bibletime-devel/Makefile index 4d1226bf4077..5b4577ddd4bd 100644 --- a/misc/bibletime-devel/Makefile +++ b/misc/bibletime-devel/Makefile @@ -28,8 +28,6 @@ USE_CMAKE= yes USE_QT_VER= 4 QT_COMPONENTS= corelib dbus gui xml -BROKEN= Does not install; developers are working on a solution - post-extract: ${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${MKDIR} ${WRKSRC} diff --git a/misc/bibletime-devel/files/patch-CMakeLists.txt b/misc/bibletime-devel/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..50c8630ff992 --- /dev/null +++ b/misc/bibletime-devel/files/patch-CMakeLists.txt @@ -0,0 +1,132 @@ +--- ../CMakeLists.txt.orig 2008-08-27 15:01:48.000000000 -0400 ++++ ../CMakeLists.txt 2008-09-11 15:57:29.000000000 -0400 +@@ -6,8 +6,8 @@ + + #Non-English locales to be processed and installed for UI, handbook and howto + LIST(APPEND MESSAGE_LOCALE_LANGS af bg cs da de en_GB es et fi fr hu it ko nl nn_NO no pl pt_br ro ru sk sv ua zh_CN zh_TW) +-#WARNING: If you modify HANDBOOK_LOCALE_LANGS or HOWTO_LOCALE_LANGS, +-#also modify the po4a conf files in cmake/docs/ to make sure all languages are processed. ++#WARNING: If you modify HANDBOOK_LOCALE_LANGS or HOWTO_LOCALE_LANGS, ++#also modify the po4a conf files in cmake/docs/ to make sure all languages are processed. + LIST(APPEND HANDBOOK_LOCALE_LANGS de fi fr nl) + LIST(APPEND HOWTO_LOCALE_LANGS bg cs de fi fr it ko nl pt-br ru) + +@@ -75,7 +75,7 @@ + IF (CMAKE_BUILD_TYPE STREQUAL "Release") + KDE4_ADD_EXECUTABLE(bibletime ${bibletime_SOURCES}) + SET_TARGET_PROPERTIES(bibletime +- PROPERTIES ++ PROPERTIES + COMPILE_FLAGS "-fexceptions" #Enable exception handling + ) + TARGET_LINK_LIBRARIES(bibletime +@@ -92,7 +92,7 @@ + ELSE (CMAKE_BUILD_TYPE STREQUAL "Release") + KDE4_ADD_EXECUTABLE(bibletime ${bibletime_SOURCES} ${bibletime_test_SOURCES}) + SET_TARGET_PROPERTIES(bibletime +- PROPERTIES ++ PROPERTIES + COMPILE_FLAGS "-fexceptions -DBT_ENABLE_TESTING" #Enable exception handling and Testing + ) + TARGET_LINK_LIBRARIES(bibletime +@@ -122,87 +122,66 @@ + SET(CMAKE_INSTALL_PREFIX "install/") #install to ./build/install, allow override + ENDIF (NOT CMAKE_INSTALL_PREFIX) + +-SET(CMAKE_CXX_FLAGS_RELEASE "-W -O2") +-SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -pedantic-errors -O0 -g") +- +-SET(CMAKE_CXX_FLAGS_DEBUG_BINONLY ${CMAKE_CXX_FLAGS_DEBUG}) +-SET(CMAKE_C_FLAGS_DEBUG_BINONLY ${CMAKE_C_FLAGS_DEBUG}) +-SET(CMAKE_EXE_LINKER_FLAGS_DEBUG_BINONLY ${CMAKE_EXE_LINKER_FLAGS_DEBUG}) +-SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG_BINONLY ${CMAKE_SHARED_LINKER_FLAGS_DEBUG}) +-MARK_AS_ADVANCED( +- CMAKE_CXX_FLAGS_DEBUG_BINONLY +- CMAKE_C_FLAGS_DEBUG_BINONLY +- CMAKE_EXE_LINKER_FLAGS_DEBUG_BINONLY +- CMAKE_SHARED_LINKER_FLAGS_DEBUG_BINONLY +-) +- ++SET(CMAKE_CXX_FLAGS "-W -O2") ++SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -O0 -g") #-pedantic-errors ++SET(CMAKE_CXX_FLAGS_DEBUGFULL "-Wall -Werror -O0 -g") #-pedantic-errors + + ###################################################### + # Install files + # + # main binary +-INSTALL(TARGETS "bibletime" ++INSTALL(TARGETS "bibletime" + DESTINATION "bin/" +- CONFIGURATIONS Debug Release Debug_Binonly + ) + # compiled catalogs + FOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS}) +- INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui_${MESSAGE_LOCALE_LANG}.qm" ++ INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui_${MESSAGE_LOCALE_LANG}.qm" + DESTINATION "share/bibletime/locale/" +- CONFIGURATIONS Debug Release + ) + ENDFOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS}) + # icons + FILE(GLOB INSTALL_ICONS_LIST "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/*.svg") +-INSTALL(FILES ${INSTALL_ICONS_LIST} ++INSTALL(FILES ${INSTALL_ICONS_LIST} + DESTINATION "share/bibletime/icons/" +- CONFIGURATIONS Debug Release + ) + # display templates + FILE(GLOB INSTALL_DISPLAY_TEMPLATES_LIST ${CMAKE_CURRENT_SOURCE_DIR}/src/display-templates/*.tmpl) +-INSTALL(FILES ${INSTALL_DISPLAY_TEMPLATES_LIST} ++INSTALL(FILES ${INSTALL_DISPLAY_TEMPLATES_LIST} + DESTINATION "share/bibletime/display-templates/" +- CONFIGURATIONS Debug Release + ) + # splash screen +-INSTALL(FILES "pics/startuplogo.png" ++INSTALL(FILES "pics/startuplogo.png" + DESTINATION "share/bibletime/pics/" +- CONFIGURATIONS Debug Release + ) + #handbook (install images from en/ to all languages) + FILE(GLOB INSTALL_HANDBOOK_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/en/html/*.png") + FOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en") + FILE(GLOB INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG} "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/${HANDBOOK_LOCALE_LANG}/html/*.html") +- INSTALL(FILES ${INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG}} ++ INSTALL(FILES ${INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG}} + DESTINATION "share/bibletime/docs/handbook/${HANDBOOK_LOCALE_LANG}/" +- CONFIGURATIONS Debug Release + ) +- INSTALL(FILES ${INSTALL_HANDBOOK_IMAGES} ++ INSTALL(FILES ${INSTALL_HANDBOOK_IMAGES} + DESTINATION "share/bibletime/docs/handbook/${HANDBOOK_LOCALE_LANG}/" +- CONFIGURATIONS Debug Release + ) + ENDFOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en") + #howto (does not have images) + FOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en") + FILE(GLOB INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG} "${CMAKE_CURRENT_SOURCE_DIR}/docs/howto/${HOWTO_LOCALE_LANG}/html/*.html") +- INSTALL(FILES ${INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG}} ++ INSTALL(FILES ${INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG}} + DESTINATION "share/bibletime/docs/howto/${HOWTO_LOCALE_LANG}/" +- CONFIGURATIONS Debug Release + ) + ENDFOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en") + # + # Platform specific installation + # + # LINUX: application icon +-INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/bibletime.svg" ++INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/bibletime.svg" + DESTINATION "share/icons/" +- CONFIGURATIONS Debug Release + ) + # LINUX: desktop file + CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/linux/bibletime.desktop.cmake" "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop") +-INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop" ++INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop" + DESTINATION "share/applications/" +- CONFIGURATIONS Debug Release + ) + ###################################################### + diff --git a/misc/bibletime-kde4/Makefile b/misc/bibletime-kde4/Makefile index 4d1226bf4077..5b4577ddd4bd 100644 --- a/misc/bibletime-kde4/Makefile +++ b/misc/bibletime-kde4/Makefile @@ -28,8 +28,6 @@ USE_CMAKE= yes USE_QT_VER= 4 QT_COMPONENTS= corelib dbus gui xml -BROKEN= Does not install; developers are working on a solution - post-extract: ${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME}-${PORTVERSION} ${MKDIR} ${WRKSRC} diff --git a/misc/bibletime-kde4/files/patch-CMakeLists.txt b/misc/bibletime-kde4/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..50c8630ff992 --- /dev/null +++ b/misc/bibletime-kde4/files/patch-CMakeLists.txt @@ -0,0 +1,132 @@ +--- ../CMakeLists.txt.orig 2008-08-27 15:01:48.000000000 -0400 ++++ ../CMakeLists.txt 2008-09-11 15:57:29.000000000 -0400 +@@ -6,8 +6,8 @@ + + #Non-English locales to be processed and installed for UI, handbook and howto + LIST(APPEND MESSAGE_LOCALE_LANGS af bg cs da de en_GB es et fi fr hu it ko nl nn_NO no pl pt_br ro ru sk sv ua zh_CN zh_TW) +-#WARNING: If you modify HANDBOOK_LOCALE_LANGS or HOWTO_LOCALE_LANGS, +-#also modify the po4a conf files in cmake/docs/ to make sure all languages are processed. ++#WARNING: If you modify HANDBOOK_LOCALE_LANGS or HOWTO_LOCALE_LANGS, ++#also modify the po4a conf files in cmake/docs/ to make sure all languages are processed. + LIST(APPEND HANDBOOK_LOCALE_LANGS de fi fr nl) + LIST(APPEND HOWTO_LOCALE_LANGS bg cs de fi fr it ko nl pt-br ru) + +@@ -75,7 +75,7 @@ + IF (CMAKE_BUILD_TYPE STREQUAL "Release") + KDE4_ADD_EXECUTABLE(bibletime ${bibletime_SOURCES}) + SET_TARGET_PROPERTIES(bibletime +- PROPERTIES ++ PROPERTIES + COMPILE_FLAGS "-fexceptions" #Enable exception handling + ) + TARGET_LINK_LIBRARIES(bibletime +@@ -92,7 +92,7 @@ + ELSE (CMAKE_BUILD_TYPE STREQUAL "Release") + KDE4_ADD_EXECUTABLE(bibletime ${bibletime_SOURCES} ${bibletime_test_SOURCES}) + SET_TARGET_PROPERTIES(bibletime +- PROPERTIES ++ PROPERTIES + COMPILE_FLAGS "-fexceptions -DBT_ENABLE_TESTING" #Enable exception handling and Testing + ) + TARGET_LINK_LIBRARIES(bibletime +@@ -122,87 +122,66 @@ + SET(CMAKE_INSTALL_PREFIX "install/") #install to ./build/install, allow override + ENDIF (NOT CMAKE_INSTALL_PREFIX) + +-SET(CMAKE_CXX_FLAGS_RELEASE "-W -O2") +-SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -pedantic-errors -O0 -g") +- +-SET(CMAKE_CXX_FLAGS_DEBUG_BINONLY ${CMAKE_CXX_FLAGS_DEBUG}) +-SET(CMAKE_C_FLAGS_DEBUG_BINONLY ${CMAKE_C_FLAGS_DEBUG}) +-SET(CMAKE_EXE_LINKER_FLAGS_DEBUG_BINONLY ${CMAKE_EXE_LINKER_FLAGS_DEBUG}) +-SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG_BINONLY ${CMAKE_SHARED_LINKER_FLAGS_DEBUG}) +-MARK_AS_ADVANCED( +- CMAKE_CXX_FLAGS_DEBUG_BINONLY +- CMAKE_C_FLAGS_DEBUG_BINONLY +- CMAKE_EXE_LINKER_FLAGS_DEBUG_BINONLY +- CMAKE_SHARED_LINKER_FLAGS_DEBUG_BINONLY +-) +- ++SET(CMAKE_CXX_FLAGS "-W -O2") ++SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -O0 -g") #-pedantic-errors ++SET(CMAKE_CXX_FLAGS_DEBUGFULL "-Wall -Werror -O0 -g") #-pedantic-errors + + ###################################################### + # Install files + # + # main binary +-INSTALL(TARGETS "bibletime" ++INSTALL(TARGETS "bibletime" + DESTINATION "bin/" +- CONFIGURATIONS Debug Release Debug_Binonly + ) + # compiled catalogs + FOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS}) +- INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui_${MESSAGE_LOCALE_LANG}.qm" ++ INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui_${MESSAGE_LOCALE_LANG}.qm" + DESTINATION "share/bibletime/locale/" +- CONFIGURATIONS Debug Release + ) + ENDFOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS}) + # icons + FILE(GLOB INSTALL_ICONS_LIST "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/*.svg") +-INSTALL(FILES ${INSTALL_ICONS_LIST} ++INSTALL(FILES ${INSTALL_ICONS_LIST} + DESTINATION "share/bibletime/icons/" +- CONFIGURATIONS Debug Release + ) + # display templates + FILE(GLOB INSTALL_DISPLAY_TEMPLATES_LIST ${CMAKE_CURRENT_SOURCE_DIR}/src/display-templates/*.tmpl) +-INSTALL(FILES ${INSTALL_DISPLAY_TEMPLATES_LIST} ++INSTALL(FILES ${INSTALL_DISPLAY_TEMPLATES_LIST} + DESTINATION "share/bibletime/display-templates/" +- CONFIGURATIONS Debug Release + ) + # splash screen +-INSTALL(FILES "pics/startuplogo.png" ++INSTALL(FILES "pics/startuplogo.png" + DESTINATION "share/bibletime/pics/" +- CONFIGURATIONS Debug Release + ) + #handbook (install images from en/ to all languages) + FILE(GLOB INSTALL_HANDBOOK_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/en/html/*.png") + FOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en") + FILE(GLOB INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG} "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/${HANDBOOK_LOCALE_LANG}/html/*.html") +- INSTALL(FILES ${INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG}} ++ INSTALL(FILES ${INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG}} + DESTINATION "share/bibletime/docs/handbook/${HANDBOOK_LOCALE_LANG}/" +- CONFIGURATIONS Debug Release + ) +- INSTALL(FILES ${INSTALL_HANDBOOK_IMAGES} ++ INSTALL(FILES ${INSTALL_HANDBOOK_IMAGES} + DESTINATION "share/bibletime/docs/handbook/${HANDBOOK_LOCALE_LANG}/" +- CONFIGURATIONS Debug Release + ) + ENDFOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en") + #howto (does not have images) + FOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en") + FILE(GLOB INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG} "${CMAKE_CURRENT_SOURCE_DIR}/docs/howto/${HOWTO_LOCALE_LANG}/html/*.html") +- INSTALL(FILES ${INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG}} ++ INSTALL(FILES ${INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG}} + DESTINATION "share/bibletime/docs/howto/${HOWTO_LOCALE_LANG}/" +- CONFIGURATIONS Debug Release + ) + ENDFOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en") + # + # Platform specific installation + # + # LINUX: application icon +-INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/bibletime.svg" ++INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/bibletime.svg" + DESTINATION "share/icons/" +- CONFIGURATIONS Debug Release + ) + # LINUX: desktop file + CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/linux/bibletime.desktop.cmake" "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop") +-INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop" ++INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop" + DESTINATION "share/applications/" +- CONFIGURATIONS Debug Release + ) + ###################################################### + |