[Kde-bindings] KDE/kdebindings/ruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Jun 2 19:43:06 UTC 2009
SVN commit 976841 by rdale:
* When build Ruby extensions on Mac OS X, create sym links from foo.so to foo.bundle. Thanks to rfichoke
on irc for finding the problem in the qtuitools extension
CCMAIL: kde-bindings at kde.org
M +5 -0 akonadi/CMakeLists.txt
M +4 -0 kdevplatform/CMakeLists.txt
M +4 -0 khtml/CMakeLists.txt
M +5 -0 korundum/src/CMakeLists.txt
M +4 -0 ktexteditor/CMakeLists.txt
M +5 -0 nepomuk/CMakeLists.txt
M +5 -0 okular/CMakeLists.txt
M +4 -0 phonon/CMakeLists.txt
M +5 -0 plasma/src/CMakeLists.txt
M +6 -0 qscintilla/CMakeLists.txt
M +5 -0 qtscript/CMakeLists.txt
M +5 -0 qttest/CMakeLists.txt
M +4 -0 qtuitools/CMakeLists.txt
M +4 -0 qtwebkit/CMakeLists.txt
M +5 -0 qwt/CMakeLists.txt
M +4 -0 solid/CMakeLists.txt
M +5 -0 soprano/CMakeLists.txt
--- trunk/KDE/kdebindings/ruby/akonadi/CMakeLists.txt #976840:976841
@@ -17,3 +17,8 @@
set_target_properties(rubyakonadi PROPERTIES PREFIX "" OUTPUT_NAME akonadi)
install(TARGETS rubyakonadi DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES akonadi.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/akonadi)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/akonadi.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/akonadi.bundle\" )" )
+endif (Q_WS_MAC)
+
--- trunk/KDE/kdebindings/ruby/kdevplatform/CMakeLists.txt #976840:976841
@@ -28,3 +28,7 @@
set_target_properties(rubykdevplatform PROPERTIES PREFIX "" OUTPUT_NAME kdevplatform)
install(TARGETS rubykdevplatform DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES kdevplatform.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/kdevplatform)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/kdevplatform.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/kdevplatform.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/khtml/CMakeLists.txt #976840:976841
@@ -6,3 +6,7 @@
set_target_properties(rubykhtml PROPERTIES PREFIX "" OUTPUT_NAME khtml)
install(TARGETS rubykhtml DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES khtml.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/khtml)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/khtml.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/khtml.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/korundum/src/CMakeLists.txt #976840:976841
@@ -53,4 +53,9 @@
install(TARGETS krubypluginfactory DESTINATION ${PLUGIN_INSTALL_DIR})
install(TARGETS krubyapplication DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/korundum4.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/korundum4.bundle\" )" )
+endif (Q_WS_MAC)
+
+
--- trunk/KDE/kdebindings/ruby/ktexteditor/CMakeLists.txt #976840:976841
@@ -14,3 +14,7 @@
set_target_properties(rubyktexteditor PROPERTIES PREFIX "" OUTPUT_NAME ktexteditor)
install(TARGETS rubyktexteditor DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES ktexteditor.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/ktexteditor)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/ktexteditor.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/ktexteditor.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/nepomuk/CMakeLists.txt #976840:976841
@@ -15,3 +15,8 @@
set_target_properties(rubynepomuk PROPERTIES PREFIX "" OUTPUT_NAME nepomuk)
install(TARGETS rubynepomuk DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES nepomuk.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/nepomuk)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/nepomuk.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/nepomuk.bundle\" )" )
+endif (Q_WS_MAC)
+
--- trunk/KDE/kdebindings/ruby/okular/CMakeLists.txt #976840:976841
@@ -15,3 +15,8 @@
set_target_properties(rubyokular PROPERTIES PREFIX "" OUTPUT_NAME okular)
install(TARGETS rubyokular DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES okular.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/okular)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/okular.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/okular.bundle\" )" )
+endif (Q_WS_MAC)
+
--- trunk/KDE/kdebindings/ruby/phonon/CMakeLists.txt #976840:976841
@@ -6,3 +6,7 @@
set_target_properties(rubyphonon PROPERTIES PREFIX "" OUTPUT_NAME phonon)
install(TARGETS rubyphonon DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES phonon.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/phonon)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/phonon.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/phonon.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/plasma/src/CMakeLists.txt #976840:976841
@@ -17,3 +17,8 @@
set_target_properties(plasma_applet PROPERTIES PREFIX "")
install(TARGETS plasma_applet DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/plasma_applet.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/plasma_applet.bundle\" )" )
+endif (Q_WS_MAC)
+
+
--- trunk/KDE/kdebindings/ruby/qscintilla/CMakeLists.txt #976840:976841
@@ -7,3 +7,9 @@
set_target_properties(rubyqscintilla PROPERTIES PREFIX "" OUTPUT_NAME qscintilla)
install(TARGETS rubyqscintilla DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qscintilla.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qscintilla)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qscintilla.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qscintilla.bundle\" )" )
+endif (Q_WS_MAC)
+
+
--- trunk/KDE/kdebindings/ruby/qtscript/CMakeLists.txt #976840:976841
@@ -8,3 +8,8 @@
set_target_properties(qtscript PROPERTIES PREFIX "")
install(TARGETS qtscript DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qtscript.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtscript)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qtscript.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qtscript.bundle\" )" )
+endif (Q_WS_MAC)
+
--- trunk/KDE/kdebindings/ruby/qttest/CMakeLists.txt #976840:976841
@@ -8,3 +8,8 @@
set_target_properties(qttest PROPERTIES PREFIX "")
install(TARGETS qttest DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qttest.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qttest)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qttest.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qttest.bundle\" )" )
+endif (Q_WS_MAC)
+
--- trunk/KDE/kdebindings/ruby/qtuitools/CMakeLists.txt #976840:976841
@@ -7,3 +7,7 @@
set_target_properties(rubyqtuitools PROPERTIES PREFIX "" OUTPUT_NAME qtuitools)
install(TARGETS rubyqtuitools DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qtuitools.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtuitools)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qtuitools.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qtuitools.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/qtwebkit/CMakeLists.txt #976840:976841
@@ -7,3 +7,7 @@
set_target_properties(rubyqtwebkit PROPERTIES PREFIX "" OUTPUT_NAME qtwebkit)
install(TARGETS rubyqtwebkit DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qtwebkit.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtwebkit)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qtwebkit.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qtwebkit.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/qwt/CMakeLists.txt #976840:976841
@@ -7,3 +7,8 @@
set_target_properties(rubyqwt PROPERTIES PREFIX "" OUTPUT_NAME qwt)
install(TARGETS rubyqwt DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qwt.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qwt)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qwt.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/qwt.bundle\" )" )
+endif (Q_WS_MAC)
+
--- trunk/KDE/kdebindings/ruby/solid/CMakeLists.txt #976840:976841
@@ -14,3 +14,7 @@
set_target_properties(rubysolid PROPERTIES PREFIX "" OUTPUT_NAME solid)
install(TARGETS rubysolid DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES solid.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/solid)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/solid.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/solid.bundle\" )" )
+endif (Q_WS_MAC)
--- trunk/KDE/kdebindings/ruby/soprano/CMakeLists.txt #976840:976841
@@ -7,3 +7,8 @@
set_target_properties(rubysoprano PROPERTIES PREFIX "" OUTPUT_NAME soprano)
install(TARGETS rubysoprano DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES soprano.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/soprano)
+
+if (Q_WS_MAC)
+ install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${CUSTOM_RUBY_SITE_ARCH_DIR}/soprano.so\" \"${CUSTOM_RUBY_SITE_ARCH_DIR}/soprano.bundle\" )" )
+endif (Q_WS_MAC)
+
More information about the Kde-bindings
mailing list