From 1292a733148819e9eaae314d500b879c02d5d0b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 30 Jan 2009 14:43:43 +0000 Subject: [PATCH] Move the videorect effect out, as it reportedly doesn't work very well and keeps confusing people. Go with 'recordmydesktop --full-shots' or something until this is fixed. svn path=/trunk/KDE/kdebase/workspace/; revision=918699 --- effects/CMakeLists.txt | 20 ------------------- effects/test/CMakeLists.txt | 17 ++++++++++++++++ effects/{ => test}/videorecord.cpp | 0 effects/{ => test}/videorecord.desktop | 0 effects/{ => test}/videorecord.h | 0 effects/{ => test}/videorecord_config.cpp | 0 effects/{ => test}/videorecord_config.desktop | 0 effects/{ => test}/videorecord_config.h | 0 8 files changed, 17 insertions(+), 20 deletions(-) rename effects/{ => test}/videorecord.cpp (100%) rename effects/{ => test}/videorecord.desktop (100%) rename effects/{ => test}/videorecord.h (100%) rename effects/{ => test}/videorecord_config.cpp (100%) rename effects/{ => test}/videorecord_config.desktop (100%) rename effects/{ => test}/videorecord_config.h (100%) diff --git a/effects/CMakeLists.txt b/effects/CMakeLists.txt index c1417d262e..ed96f501c7 100644 --- a/effects/CMakeLists.txt +++ b/effects/CMakeLists.txt @@ -231,23 +231,3 @@ if (KWIN_HAVE_XRENDER_COMPOSITING) target_link_libraries(kwin4_effect_builtins ${X11_Xrender_LIB} ${X11_LIBRARIES} kephal) endif (KWIN_HAVE_XRENDER_COMPOSITING) - - - -### videocapture plugin -include(UsePkgConfig) -PKGCONFIG(libcaptury CAPTURY_INCLUDES CAPTURY_LINK_DIR CAPTURY_LDFLAGS CAPTURY_CFLAGS) -if( CAPTURY_LDFLAGS ) - SET( CAPTURY_FOUND TRUE ) -endif( CAPTURY_LDFLAGS ) - -macro_log_feature(CAPTURY_FOUND "Captury framework library" "Realtime video capturing framework e.g. screen casts" "http://gitorious.org/projects/libcaptury" FALSE "0.3.0" "Provides for video recording desktop effects.") - -macro_bool_to_01( CAPTURY_FOUND HAVE_CAPTURY ) -if( CAPTURY_FOUND ) - KWIN4_ADD_EFFECT(videorecord videorecord.cpp) - KWIN4_ADD_EFFECT_CONFIG(videorecord videorecord_config.cpp) - target_link_libraries(kwin4_effect_videorecord ${KDE4_KIO_LIBS} ${CAPTURY_LDFLAGS}) - install( FILES videorecord.desktop videorecord_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kwin ) -endif( CAPTURY_FOUND ) - diff --git a/effects/test/CMakeLists.txt b/effects/test/CMakeLists.txt index a165df9202..c15841966d 100644 --- a/effects/test/CMakeLists.txt +++ b/effects/test/CMakeLists.txt @@ -61,3 +61,20 @@ endif(OPENGL_FOUND) # add the plugin KWIN4_ADD_EFFECT(tests ${kwin4_effect_tests_sources}) + +### videocapture plugin +include(UsePkgConfig) +PKGCONFIG(libcaptury CAPTURY_INCLUDES CAPTURY_LINK_DIR CAPTURY_LDFLAGS CAPTURY_CFLAGS) +if( CAPTURY_LDFLAGS ) + SET( CAPTURY_FOUND TRUE ) +endif( CAPTURY_LDFLAGS ) + +macro_log_feature(CAPTURY_FOUND "Captury framework library" "Realtime video capturing framework e.g. screen casts" "http://gitorious.org/projects/libcaptury" FALSE "0.3.0" "Provides for video recording desktop effects.") + +macro_bool_to_01( CAPTURY_FOUND HAVE_CAPTURY ) +if( CAPTURY_FOUND ) + KWIN4_ADD_EFFECT(videorecord videorecord.cpp) + KWIN4_ADD_EFFECT_CONFIG(videorecord videorecord_config.cpp) + target_link_libraries(kwin4_effect_videorecord ${KDE4_KIO_LIBS} ${CAPTURY_LDFLAGS}) + install( FILES videorecord.desktop videorecord_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kwin ) +endif( CAPTURY_FOUND ) diff --git a/effects/videorecord.cpp b/effects/test/videorecord.cpp similarity index 100% rename from effects/videorecord.cpp rename to effects/test/videorecord.cpp diff --git a/effects/videorecord.desktop b/effects/test/videorecord.desktop similarity index 100% rename from effects/videorecord.desktop rename to effects/test/videorecord.desktop diff --git a/effects/videorecord.h b/effects/test/videorecord.h similarity index 100% rename from effects/videorecord.h rename to effects/test/videorecord.h diff --git a/effects/videorecord_config.cpp b/effects/test/videorecord_config.cpp similarity index 100% rename from effects/videorecord_config.cpp rename to effects/test/videorecord_config.cpp diff --git a/effects/videorecord_config.desktop b/effects/test/videorecord_config.desktop similarity index 100% rename from effects/videorecord_config.desktop rename to effects/test/videorecord_config.desktop diff --git a/effects/videorecord_config.h b/effects/test/videorecord_config.h similarity index 100% rename from effects/videorecord_config.h rename to effects/test/videorecord_config.h