]> git.sesse.net Git - vlc/commitdiff
Remove unmaintained cmake support
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 22 Jul 2013 16:41:04 +0000 (19:41 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 22 Jul 2013 16:41:26 +0000 (19:41 +0300)
30 files changed:
.gitignore
extras/buildsystem/cmake/CMakeLists/libs_loaders_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/CMakeLists/modules_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/CMakeLists/qt4_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/CMakeLists/test_CMakeLists.txt [deleted file]
extras/buildsystem/cmake/README [deleted file]
extras/buildsystem/cmake/cmake_uninstall.cmake.in [deleted file]
extras/buildsystem/cmake/config.h.cmake [deleted file]
extras/buildsystem/cmake/include/FindDlopen.cmake [deleted file]
extras/buildsystem/cmake/include/FindDvbpsi.cmake [deleted file]
extras/buildsystem/cmake/include/FindFFmpeg.cmake [deleted file]
extras/buildsystem/cmake/include/FindLive555.cmake [deleted file]
extras/buildsystem/cmake/include/FindLua.cmake [deleted file]
extras/buildsystem/cmake/include/FindMatroska.cmake [deleted file]
extras/buildsystem/cmake/include/FindMpeg2.cmake [deleted file]
extras/buildsystem/cmake/include/FindTaglib.cmake [deleted file]
extras/buildsystem/cmake/include/config.cmake [deleted file]
extras/buildsystem/cmake/include/pkg_check_modules.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_add_compile_flag.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_check_functions_exist.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_check_include_files.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_check_type.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_find_frameworks.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_module_funcs.cmake [deleted file]
extras/buildsystem/cmake/include/vlc_test_inline.cmake [deleted file]
extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh [deleted file]
extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh [deleted file]

index 01dcbc874a660c67567dc59632040002339eba34..a9d0c6219ef3d875bba89eb4c696efb70018727e 100644 (file)
@@ -45,16 +45,6 @@ vlc_install_dir/*
 plugins.dat
 patches/*
 
-# Ignore CMake Stuff
-cmake
-CMakeFiles
-CTestTestfile.cmake
-cmake_install.cmake
-cmake_uninstall.cmake
-CMakeCache.txt
-CPackConfig.cmake
-CPackSourceConfig.cmake
-
 include/vlc/libvlc_version.h
 
 # Ignore build dirs
diff --git a/extras/buildsystem/cmake/CMakeLists/libs_loaders_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/libs_loaders_CMakeLists.txt
deleted file mode 100644 (file)
index 560bf6f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-if(ENABLE_LOADER)
-
-set(SOURCES_libloader ldt_keeper.c pe_image.c module.c ext.c win32.c
-    driver.c pe_resource.c resource.c registry.c afl.c vfl.c
-    wrapper.S stubs.s kludge.c)
-
-add_library(loader STATIC ${SOURCES_libloader})
-
-set_target_properties(loader PROPERTIES COMPILE_FLAGS
-       "-D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 -DWIN32_PATH=\\\"\\\" -DTRACE\\\(...\\\)=\\\(void\\\)0 -fno-PIC -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
-
-target_link_libraries(loader pthread)
-
-endif(ENABLE_LOADER)
diff --git a/extras/buildsystem/cmake/CMakeLists/modules_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/modules_CMakeLists.txt
deleted file mode 100644 (file)
index 76564ea..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-
-set( SUBMODULES
-  access access_filter access_output audio_filter
-  audio_mixer audio_output codec control demux
-  gui meta_engine misc mux packetizer
-  services_discovery stream_out video_chroma
-  video_filter video_output visualization )
-
-foreach( submodule ${SUBMODULES} )
-  add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/${submodule} )
-endforeach( submodule )
diff --git a/extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt
deleted file mode 100644 (file)
index 950f047..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#TODO:
-# disable NLS on demand
-# installation
-# update-po
-# rebuild *.po if vlc.pot has changed (include POTFILES.in)
-
-
-#FIXME: detection ?
-find_program( GMSGFMT            msgfmt )
-find_program( MSGFMT             msgfmt )
-find_program( XGETTEXT           xgettext )
-find_program( MSGMERGE_UPDATE    msgmerge --update )
-find_program( MSGINIT            msginit )
-find_program( MSGCONV            msgconv )
-find_program( MSGFILTER          msgfilter )
-
-set( POFILES
-    af
-       ar
-       bn
-       ca
-       co
-       cs
-       da
-       de
-       el
-       en_GB
-       es
-       eu
-       fa
-       fi
-       fr
-       fur
-       gl
-       he
-       hi
-       hu
-       it
-       ja
-       ka
-       ko
-       lt
-       lv
-       ms
-       my
-       ne
-       nl
-       no
-       oc
-       pa
-       pl
-       ps
-       pt_BR
-       pt_PT
-       ro
-       ru
-       sk
-       sl
-       sq
-       sv
-       tet
-       th
-       tl
-       tr
-       zh_CN
-       zh_TW
-)
-
-FOREACH( pofile ${POFILES} )
-    set( po-target ${po-target} ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo )
-ENDFOREACH( pofile)
-
-ADD_CUSTOM_TARGET( all-po ALL
-    DEPENDS ${po-target}
-)
-
-foreach( pofile ${POFILES} )
-    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
-        COMMAND rm -f ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
-        COMMAND ${GMSGFMT} -c --statistics -o ${CMAKE_CURRENT_BINARY_DIR}/t-${pofile}.gmo ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po
-        COMMAND mv ${CMAKE_CURRENT_BINARY_DIR}/t-${pofile}.gmo ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
-        DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po
-    )
-endforeach( pofile )
diff --git a/extras/buildsystem/cmake/CMakeLists/qt4_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/qt4_CMakeLists.txt
deleted file mode 100644 (file)
index 7ba4019..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-set(qt4_SOURCES qt4.cpp menus.cpp main_interface.cpp dialogs_provider.cpp input_manager.cpp recents.cpp dialogs/playlist.cpp dialogs/bookmarks.cpp dialogs/preferences.cpp dialogs/mediainfo.cpp dialogs/extended.cpp dialogs/messages.cpp dialogs/errors.cpp dialogs/interaction.cpp dialogs/sout.cpp dialogs/help.cpp dialogs/gototime.cpp dialogs/open.cpp dialogs/vlm.cpp dialogs/podcast_configuration.cpp components/extended_panels.cpp components/info_panels.cpp components/preferences_widgets.cpp components/complete_preferences.cpp components/simple_preferences.cpp components/open_panels.cpp components/interface_widgets.cpp components/playlist/playlist_model.cpp components/playlist/playlist_item.cpp components/playlist/standardpanel.cpp components/playlist/playlist.cpp components/playlist/selector.cpp util/input_slider.cpp util/customwidgets.cpp util/registry.cpp )
-set(qt4_UIS ui/equalizer.ui ui/v4l2.ui ui/video_effects.ui ui/open_file.ui ui/open_disk.ui ui/open_net.ui ui/open_capture.ui ui/open.ui ui/podcast_configuration.ui ui/sprefs_audio.ui ui/sprefs_input.ui ui/sprefs_interface.ui ui/sprefs_subtitles.ui ui/sprefs_video.ui ui/streampanel.ui ui/sout.ui ui/vlm.ui ) 
-set(qt4_HEADERS
-    components/complete_preferences.hpp
-    components/extended_panels.hpp
-    components/info_panels.hpp
-    components/interface_widgets.hpp
-    components/open_panels.hpp
-    components/playlist/panels.hpp
-    components/playlist/playlist.hpp
-    components/playlist/playlist_item.hpp
-    components/playlist/playlist_model.hpp
-    components/playlist/selector.hpp
-    components/preferences_widgets.hpp
-    components/simple_preferences.hpp
-    dialogs/bookmarks.hpp
-    dialogs/errors.hpp
-    dialogs/extended.hpp
-    dialogs/gototime.hpp
-    dialogs/help.hpp
-    dialogs/interaction.hpp
-    dialogs/mediainfo.hpp
-    dialogs/messages.hpp
-    dialogs/open.hpp
-    dialogs/playlist.hpp
-    dialogs/podcast_configuration.hpp
-    dialogs/preferences.hpp
-    dialogs/sout.hpp
-    dialogs/vlm.hpp
-    dialogs_provider.hpp
-    input_manager.hpp
-    main_interface.hpp
-    menus.hpp
-    qt4.hpp
-    recents.hpp
-    util/customwidgets.hpp
-    util/input_slider.hpp
-    util/qvlcframe.hpp
-    util/registry.hpp
-)
-if(QT4_FOUND)
-    include_directories(${CMAKE_CURRENT_BINARY_DIR})
-    vlc_get_module_compile_flags( MOC_FLAGS qt4 )
-    set(MOC_FLAGS "-DHAVE_CONFIG_H ${MOC_FLAGS}")
-    vlc_qt4_generate_moc(qt4_MOCS ${MOC_FLAGS} ${qt4_HEADERS})
-    vlc_qt4_wrap_ui(qt4_UIS_H ${qt4_UIS})
-    qt4_add_resources(qt4_SRCS vlc.qrc)
-endif(QT4_FOUND)
-
-vlc_add_module(qt4 ${qt4_SOURCES} ${qt4_SRCS} ${qt4_MOCS} ${qt4_UIS})
-
diff --git a/extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
deleted file mode 100644 (file)
index 337192b..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-PROJECT(vlc)
-
-cmake_policy(VERSION 2.6)
-cmake_minimum_required(VERSION 2.6)
-
-ENABLE_TESTING()
-
-# Set the module path
-set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
-
-# Our own include
-include( vlc_module_funcs )
-
-# Our config
-include( config )
-
-# Global definitions
-add_definitions(-DHAVE_CONFIG_H)
-add_definitions(-D__LIBVLC__)
-# Large file support for Solaris and Linux:
-add_definitions(-D_FILE_OFFSET_BITS=64 -D__USE_UNIX98)
-# Thread safety:
-add_definitions(-D_REENTRANT -D_THREAD_SAFE)
-
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-# Needed for glibc:
-add_definitions(-D_GNU_SOURCE)
-
-# Our main include directories
-include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
-
-# our sources:
-add_subdirectory(libs/loader)
-add_subdirectory(src)
-add_subdirectory(modules)
-if(ENABLE_NLS)
-  add_subdirectory(po)
-endif(ENABLE_NLS)
-add_subdirectory(test)
-
-# Enable uninstall
-configure_file(
-  "${CMAKE_CURRENT_SOURCE_DIR}/extras/buildsystem/cmake/cmake_uninstall.cmake.in"
-  "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
-  IMMEDIATE @ONLY)
-
-add_custom_target(uninstall
-  "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
-
-# Target to reinstall the CMake files (until cmake gets defaulted)
-add_custom_target(recmake
-COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && sh "${CMAKE_CURRENT_SOURCE_DIR}/extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh")
-
-# Enable CPack: Automatic package creation
-
-set(README "${CMAKE_CURRENT_SOURCE_DIR}/README")
-set(LICENCE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
-
-if(APPLE)
-set(README "${CMAKE_CURRENT_SOURCE_DIR}/extras/package/macosx/README.MacOSX.rtf")
-set(LICENCE "") # FIXME: Mac OS X's Package Maker doesn't allow non .*
-endif(APPLE)
-
-set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "VLC Media Player")
-set(CPACK_PACKAGE_VENDOR "VideoLAN Team")
-set(CPACK_PACKAGE_DESCRIPTION_FILE ${README})
-set(CPACK_RESOURCE_FILE_LICENSE ${LICENCE})
-set(CPACK_PACKAGE_VERSION_MAJOR "${VLC_VERSION_MAJOR}")
-set(CPACK_PACKAGE_VERSION_MINOR "${VLC_VERSION_MINOR}")
-set(CPACK_PACKAGE_VERSION_PATCH "${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA}")
-
-include(CPack)
diff --git a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
deleted file mode 100644 (file)
index ac7b06e..0000000
+++ /dev/null
@@ -1,309 +0,0 @@
-
-add_definitions(-Dasm=__asm__ -D_INTL_REDIRECT_MACROS)
-add_definitions(-DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale")
-add_definitions(-DPLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/lib/vlc")
-add_definitions(-DDATA_PATH="${CMAKE_INSTALL_PREFIX}/share/vlc")
-
-# vlc
-if(SYS_WIN32)
-  add_executable(vlc winvlc.c)
-else(SYS_WIN32)
-  add_executable(vlc vlc.c)
-endif(SYS_WIN32)
-target_link_libraries(vlc libvlccore libvlc)
-
-# libvlccore
-
-set( SOURCES_libvlccore_beos misc/beos_specific.cpp )
-set( SOURCES_libvlccore_darwin misc/darwin_specific.c )
-set( SOURCES_libvlccore_win32 misc/win32_specific.c )
-set( SOURCES_libvlccore_linux misc/linux_specific.c )
-set( SOURCES_libvlccore_other misc/not_specific.c )
-set( SOURCES_libvlccore_dirent extras/dirent.c )
-set( SOURCES_libvlccore_getopt misc/getopt.c misc/getopt.h misc/getopt1.c )
-set( SOURCES_libvlccore_common
-    libvlc.c
-    libvlc.h
-    libvlc-module.c
-    interface/interface.c
-    interface/intf_eject.c
-    interface/interaction.c
-    playlist/playlist_internal.h
-    playlist/thread.c
-    playlist/control.c
-    playlist/engine.c
-    playlist/sort.c
-    playlist/loadsave.c
-    playlist/tree.c
-    playlist/item.c
-    playlist/search.c
-    playlist/services_discovery.c
-    input/item.c
-    input/access.c
-    input/clock.c
-    input/control.c
-    input/decoder.c
-    input/decoder_synchro.c
-    input/demux.c
-    input/es_out.c
-    input/input.c
-    input/meta.c
-    input/input_internal.h
-    input/vlm_internal.h
-    input/stream.c
-    input/mem_stream.c
-    input/subtitles.c
-    input/var.c
-    video_output/video_output.c
-    video_output/vout_pictures.c
-    video_output/vout_pictures.h
-    video_output/video_text.c
-    video_output/video_widgets.c
-    video_output/vout_subpictures.c
-    video_output/vout_intf.c
-    audio_output/aout_internal.h
-    audio_output/common.c
-    audio_output/dec.c
-    audio_output/filters.c
-    audio_output/input.c
-    audio_output/mixer.c
-    audio_output/output.c
-    audio_output/intf.c
-    stream_output/stream_output.c
-    stream_output/stream_output.h
-    stream_output/announce.c
-    stream_output/profiles.c
-    stream_output/sap.c
-    stream_output/sdp.c
-    osd/osd.c
-    osd/osd_text.c
-    osd/osd_widgets.c
-    network/acl.c
-    network/getaddrinfo.c
-    network/io.c
-    network/tcp.c
-    network/udp.c
-    network/httpd.c
-    network/rootwrap.c
-    network/tls.c
-    network/poll.c
-    text/charset.c
-    text/strings.c
-    text/unicode.c
-    text/wincp.c
-    text/iso_lang.c
-    text/iso-639_def.h
-    misc/action.c
-    misc/md5.c
-    misc/rand.c
-    misc/mtime.c
-    misc/block.c
-    ${CMAKE_BINARY_DIR}/src/modules/builtin.h
-    modules/modules.h
-    modules/modules.c
-    modules/cache.c
-    modules/entry.c
-    modules/os.c
-    misc/threads.c
-    misc/stats.c
-    misc/cpu.c
-    config/configuration.h
-    config/core.c
-    config/dirs.c
-    config/chain.c
-    config/file.c
-    config/intf.c
-    config/cmdline.c
-    misc/events.c
-    misc/image.c
-    misc/messages.c
-    misc/mime.c
-    misc/objects.c
-    misc/variables.h
-    misc/variables.c
-    misc/error.c
-    misc/update.h
-    misc/update.c
-    ${CMAKE_BINARY_DIR}/src/misc/revision.c
-    input/vlm.c
-    input/vlmshell.c
-    misc/xml.c
-    misc/devices.c
-    version.c
-    extras/libc.c
-    ${CMAKE_BINARY_DIR}/include/vlc_about.h )
-
-set( SOURCES_libvlccore ${SOURCES_libvlccore_common} )
-
-if(SYS_DARWIN)
-    set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_darwin} )
-elseif(SYS_BEOS)
-    set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_beos} )
-elseif(SYS_WIN32)
-    set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_win32} )
-elseif(SYS_LINUX)
-    set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_linux} )
-else(SYS_DARWIN)
-    set( SOURCES_libvlccore ${SOURCES_libvlccore} ${SOURCES_libvlccore_other} )
-endif(SYS_DARWIN)
-
-
-add_library(libvlccore SHARED ${SOURCES_libvlccore})
-
-set_target_properties(libvlccore PROPERTIES
-        OUTPUT_NAME vlccore
-        SOVERSION 0 VERSION 0.0.0)
-
-if(UPDATE_CHECK)
-target_link_libraries(libvlccore ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES} "-lgcrypt")
-else(UPDATE_CHECK)
-target_link_libraries(libvlccore ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES})
-endif(UPDATE_CHECK)
-
-# libvlc
-set( SOURCES_libvlc
-     control/libvlc_internal.h
-     control/core.c
-     control/log.c
-     control/playlist.c
-     control/vlm.c
-     control/video.c
-     control/audio.c
-     control/event.c
-     control/flat_media_list_view.c
-     control/hierarchical_media_list_view.c
-     control/hierarchical_node_media_list_view.c
-     control/media.c
-     control/media_player.c
-     control/media_list.c
-     control/media_list_path.h
-     control/media_list_player.c
-     control/media_list_view.c
-     control/media_library.c
-     control/mediacontrol_internal.h
-     control/mediacontrol_core.c
-     control/mediacontrol_util.c
-     control/mediacontrol_audio_video.c
-     control/media_discoverer.c )
-
-add_library(libvlc SHARED ${SOURCES_libvlc})
-
-set_target_properties(libvlc PROPERTIES OUTPUT_NAME vlc)
-set_target_properties(libvlc PROPERTIES SOVERSION 2)
-set_target_properties(libvlccore PROPERTIES VERSION 0.0.0)
-
-set_source_files_properties(${SOURCES_libvlc} PROPERTIES COMPILE_FLAGS -DMODULE_STRING=\\"control\\")
-set_source_files_properties(${SOURCES_libvlccore} PROPERTIES COMPILE_FLAGS -DMODULE_STRING=\\"main\\")
-
-target_link_libraries(libvlc libvlccore)
-
-##########################################################
-# Install
-
-install(TARGETS libvlccore libvlc DESTINATION lib)
-install(TARGETS vlc DESTINATION bin)
-
-##########################################################
-# Libraries
-
-# Carbon
-if(APPLE)
-  find_library(CARBON_FRAMEWORK Carbon)
-  target_link_libraries(libvlccore ${CARBON_FRAMEWORK})
-endif(APPLE)
-
-##########################################################
-# revision.c
-
-set(rev "${CMAKE_BINARY_DIR}/src/misc/revision.c")
-exec_program(dirname ARGS ${rev} OUTPUT_VARIABLE rev_dir)
-
-add_custom_command(
-OUTPUT ${rev}
-COMMAND    rm -f ${rev} ${rev}.tmp
-COMMAND    mkdir -p ${rev_dir}
-COMMAND    sh -c "echo '/* AUTOGENERATED FILE - DO NOT EDIT */' > ${rev}.tmp"
-COMMAND    sh -c "printf 'const char psz_vlc_changeset[] = \"' >> ${rev}.tmp"
-COMMAND    sh -c "printf `LANG=C git --git-dir=${CMAKE_SOURCE_DIR}/.git show-ref -s HEAD 2>/dev/null || printf exported` >> ${rev}.tmp"
-COMMAND    sh -c "echo '\";' >> ${rev}.tmp"
-COMMAND    mv -f ${rev}.tmp ${rev}
-VERBATIM
-)
-set(rev)
-
-##########################################################
-# builtin.h
-# No real use for this one, we just used to need it.
-# We should really remove that.
-set(builtin "${CMAKE_BINARY_DIR}/src/modules/builtin.h")
-exec_program(dirname ARGS ${builtin} OUTPUT_VARIABLE builtin_dir)
-
-add_custom_command(
-OUTPUT ${builtin}
-COMMAND    mkdir -p ${builtin_dir}
-COMMAND    sh -c "echo '/* Auto generated by ${CMAKE_CURRENT_BUILD_DIR}/CMakeLists.txt */' > ${builtin}"
-COMMAND    sh -c "echo 'int vlc_entry__main( module_t* );' >> ${builtin}"
-COMMAND    sh -c "echo '#define ALLOCATE_ALL_BUILTINS() do {} while(0)' >> ${builtin}"
-VERBATIM
-)
-set(should)
-
-##########################################################
-# vlc_about.h
-set(about "${CMAKE_BINARY_DIR}/include/vlc_about.h")
-exec_program(dirname ARGS ${about} OUTPUT_VARIABLE about_dir)
-
-add_custom_command(
-OUTPUT ${about}
-COMMAND rm -f "${about}.tmp"
-COMMAND mkdir -p ${about_dir}
-COMMAND sh -c "echo '/* Automatically generated file - DO NOT EDIT */' > ${about}.tmp"
-COMMAND sh -c "echo 'static const char psz_license[] =' >> ${about}.tmp"
-COMMAND sh -c "cat ${CMAKE_SOURCE_DIR}/COPYING | sed s/\\\"/''/g | awk '{ print \"\\\"\"$0\"\\\\n\\\"\" }' >> ${about}.tmp"
-COMMAND sh -c "echo ';' >> ${about}.tmp"
-COMMAND sh -c "echo 'static const char psz_thanks[] =' >> ${about}.tmp"
-COMMAND sh -c "grep -v '$$Id:'  ${CMAKE_SOURCE_DIR}/THANKS | sed 's/\"/''/g' | awk '{ print  \"\\\"\"$0\"\\\\n\\\"\" }'|sed 's/\"<.*.> \"//' >> ${about}.tmp"
-COMMAND sh -c "echo ';' >> ${about}.tmp"
-COMMAND sh -c "echo 'static const char psz_authors[] =' >> ${about}.tmp"
-COMMAND sh -c "grep N: ${CMAKE_SOURCE_DIR}/AUTHORS | cut -d '\ ' -f 2- | sed 's/\"/''/g' | awk '{ print  \"\\\"\"$0\"\\\\n\\\"\" }' >> ${about}.tmp"
-COMMAND sh -c "echo ';' >> ${about}.tmp"
-COMMAND sh -c "mv -f -- ${about}.tmp ${about}"
-DEPENDS ${CMAKE_SOURCE_DIR}/AUTHORS ${CMAKE_SOURCE_DIR}/THANKS ${CMAKE_SOURCE_DIR}/COPYING
-VERBATIM
-)
-set(about)
-
-
-##########################################################
-# SET_TARGET_PROPERTIES
-
-# FIXME: Should probably be autodetected in configure?
-# FIXME: This breaks on FreeBSD also
-#if(NOT APPLE)
-#   set(LINK_FLAGS "-z defs --as-needed")
-#endif(NOT APPLE)
-
-target_link_libraries(libvlccore "${CMAKE_THREAD_LIBS_INIT}")
-target_link_libraries(libvlc "${CMAKE_THREAD_LIBS_INIT}")
-
-set_target_properties(libvlccore libvlc vlc PROPERTIES COMPILE_FLAGS
-    "-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -I${CMAKE_BINARY_DIR}/src -I${CMAKE_BINARY_DIR}/include" )
-
-##########################################################
-# Tests
-
-add_executable(test_i18n_atof  test/i18n_atof.c)
-add_executable(test_url        test/url.c)
-add_executable(test_utf8       test/utf8.c)
-add_executable(test_dictionary test/dictionary.c)
-
-target_link_libraries(test_i18n_atof  libvlccore)
-target_link_libraries(test_url        libvlccore)
-target_link_libraries(test_utf8       libvlccore)
-target_link_libraries(test_dictionary libvlccore)
-
-add_test(test_i18n_atof  ${CMAKE_CURRENT_BINARY_DIR}/test_i18n_atof)
-add_test(test_url        ${CMAKE_CURRENT_BINARY_DIR}/test_url)
-add_test(test_utf8       ${CMAKE_CURRENT_BINARY_DIR}/test_utf8)
-add_test(test_dictionary ${CMAKE_CURRENT_BINARY_DIR}/test_dictionary)
-
diff --git a/extras/buildsystem/cmake/CMakeLists/test_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/test_CMakeLists.txt
deleted file mode 100644 (file)
index fcb9c85..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-
-add_executable(test_libvlc_core              libvlc/core.c)
-add_executable(test_libvlc_events            libvlc/events.c)
-#add_executable(test_libvlc_media_player      libvlc/media_player.c
-#                                             samples/test.sample)
-add_executable(test_libvlc_media_list        libvlc/media_list.c)
-#add_executable(test_libvlc_media_list_player libvlc/media_list_player.c
-#                                             samples/test.sample)
-#add_executable(test_libvlc_meta              libvlc/meta.c
-#                                             samples/meta.sample)
-
-target_link_libraries(test_libvlc_core               libvlc)
-target_link_libraries(test_libvlc_events             libvlc)
-#target_link_libraries(test_libvlc_media_player       libvlc)
-target_link_libraries(test_libvlc_media_list         libvlc)
-#target_link_libraries(test_libvlc_media_list_player  libvlc)
-#target_link_libraries(test_libvlc_meta               libvlc)
-
-set(SAMPLES_SERVER http://streams.videolan.org/streams-videolan/reference)
-
-MACRO(download_sample sample dest)
-  add_custom_command(
-   OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${dest}
-   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/samples
-   COMMAND curl -L ${SAMPLES_SERVER}/${sample} > ${CMAKE_CURRENT_BINARY_DIR}/${dest}
-  )
-ENDMACRO(download_sample)
-
-#download_sample(avi/Hero-Div3.avi samples/test.sample)
-#download_sample(metadata/id3tag/Wesh-Bonneville.mp3 samples/meta.sample)
-
-add_test(test_libvlc_core
-    ${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_core)
-add_test(test_libvlc_events
-    ${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_events)
-add_test(test_libvlc_media_player
-    ${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_media_player)
-add_test(test_libvlc_media_list
-    ${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_media_list)
-add_test(test_libvlc_media_list_player
-    ${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_media_list_player)
-add_test(test_libvlc_meta
-    ${CMAKE_CURRENT_BINARY_DIR}/test_libvlc_meta)
-
diff --git a/extras/buildsystem/cmake/README b/extras/buildsystem/cmake/README
deleted file mode 100644 (file)
index 58d107d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-To use CMake:
-First, as CMake isn't the default on vlc populate its CMakeLists files:
-$ cd vlc && sh ./extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh
-
-WARNING: You are strongly encouraged to use cmake-2.5 (cvs version)
-
-Now you can use CMake as usual:
-$ cd vlc && mkdir build && cd build && cmake .. (or ccmake .. if you want a graphical view of the settings)
-(This will create a build directory)
-$ make [VERBOSE=1 if you want more details]
-$ make install
-
diff --git a/extras/buildsystem/cmake/cmake_uninstall.cmake.in b/extras/buildsystem/cmake/cmake_uninstall.cmake.in
deleted file mode 100644 (file)
index df95fb9..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
-  MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
-ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
-
-FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
-STRING(REGEX REPLACE "\n" ";" files "${files}")
-FOREACH(file ${files})
-  MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
-  IF(EXISTS "$ENV{DESTDIR}${file}")
-    EXEC_PROGRAM(
-      "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
-      OUTPUT_VARIABLE rm_out
-      RETURN_VALUE rm_retval
-      )
-    IF(NOT "${rm_retval}" STREQUAL 0)
-      MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
-    ENDIF(NOT "${rm_retval}" STREQUAL 0)
-  ELSE(EXISTS "$ENV{DESTDIR}${file}")
-    MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
-  ENDIF(EXISTS "$ENV{DESTDIR}${file}")
-ENDFOREACH(file)
diff --git a/extras/buildsystem/cmake/config.h.cmake b/extras/buildsystem/cmake/config.h.cmake
deleted file mode 100644 (file)
index f337e8a..0000000
+++ /dev/null
@@ -1,422 +0,0 @@
-#ifndef TEST_CONFIG_H
-#define TEST_CONFIG_H
-
-#cmakedefine ATTRIBUTE_ALIGNED_MAX
-#cmakedefine CACA_EVENT_OPAQUE
-#cmakedefine CAN_COMPILE_3DNOW
-#cmakedefine CAN_COMPILE_ALTIVEC
-#cmakedefine CAN_COMPILE_C_ALTIVEC
-#cmakedefine CAN_COMPILE_MMX
-#cmakedefine CAN_COMPILE_MMXEXT
-#cmakedefine CAN_COMPILE_SSE
-#cmakedefine CAN_COMPILE_SSE2
-#cmakedefine CONFIGURE_LINE "${CONFIGURE_LINE}"
-#cmakedefine COPYRIGHT_MESSAGE "${COPYRIGHT_MESSAGE}"
-#cmakedefine COPYRIGHT_YEARS "${COPYRIGHT_YEARS}"
-#cmakedefine CRAY_STACKSEG_END
-#cmakedefine C_ALLOCA
-#cmakedefine DPMSINFO_IN_DPMS_H
-#cmakedefine ENABLE_HTTPD
-#cmakedefine ENABLE_NLS
-#cmakedefine ENABLE_SOUT
-#cmakedefine ENABLE_VLM
-#cmakedefine HAVE_A52DEC_A52_H
-#cmakedefine HAVE_ADDRINFO
-#cmakedefine HAVE_ALLOCA
-#cmakedefine HAVE_ALLOCA_H
-#cmakedefine HAVE_ALSA
-#cmakedefine HAVE_ALSA_NEW_API
-#cmakedefine HAVE_ALTIVEC_H
-#cmakedefine HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H
-#cmakedefine HAVE_ARGZ_COUNT
-#cmakedefine HAVE_ARGZ_H
-#cmakedefine HAVE_ARGZ_NEXT
-#cmakedefine HAVE_ARGZ_STRINGIFY
-#cmakedefine HAVE_ARPA_INET_H
-#cmakedefine HAVE_ASPRINTF
-#cmakedefine HAVE_ATOF
-#cmakedefine HAVE_ATOLL
-#cmakedefine HAVE_ATTRIBUTE_FORMAT
-#cmakedefine HAVE_ATTRIBUTE_PACKED
-#cmakedefine HAVE_ATTRIBUTE_VISIBILITY
-#cmakedefine HAVE_AVAHI_06
-#cmakedefine HAVE_AVAHI_CLIENT
-#cmakedefine HAVE_BSEARCH
-#cmakedefine HAVE_BUILTIN_EXPECT
-#cmakedefine HAVE_CARBON_CARBON_H
-#cmakedefine HAVE_CASCADE_GRAPHICS_CASCADEBITMAP_H
-#cmakedefine HAVE_CASCADE_GRAPHICS_CASCADESCREEN_H
-#cmakedefine HAVE_CDDAX
-#cmakedefine HAVE_CFLOCALECOPYCURRENT
-#cmakedefine HAVE_CFPREFERENCESCOPYAPPVALUE
-#cmakedefine HAVE_CLOCK_NANOSLEEP
-#cmakedefine HAVE_CONNECT
-#cmakedefine HAVE_COREAUDIO_COREAUDIO_H
-#cmakedefine HAVE_CTIME_R
-#cmakedefine HAVE_CYBERGARAGE_UPNP_MEDIASERVER_H
-#cmakedefine HAVE_D3D9_H
-#cmakedefine HAVE_DAEMON
-#cmakedefine HAVE_DBUS
-#cmakedefine HAVE_DCGETTEXT
-#cmakedefine HAVE_DDRAW_H
-#cmakedefine HAVE_DECL_FEOF_UNLOCKED
-#cmakedefine HAVE_DECL_FGETS_UNLOCKED
-#cmakedefine HAVE_DECL_GETC_UNLOCKED
-#cmakedefine HAVE_DECL_NANOSLEEP
-#cmakedefine HAVE_DECL__SNPRINTF
-#cmakedefine HAVE_DECL__SNWPRINTF
-#cmakedefine HAVE_DESCHUTES_LIBRARIES_HDMACHINEX225_PCMAUDIOPLAYER_H
-#cmakedefine HAVE_DIRENT_H
-#cmakedefine HAVE_DLFCN_H
-#cmakedefine HAVE_DL_BEOS
-#cmakedefine HAVE_DL_DLD_LINK
-#cmakedefine HAVE_DL_DLOPEN
-#cmakedefine HAVE_DL_DYLD
-#cmakedefine HAVE_DL_H
-#cmakedefine HAVE_DL_SHL_LOAD
-#cmakedefine HAVE_DL_WINDOWS
-#cmakedefine HAVE_DSHOW_H
-#cmakedefine HAVE_DVBPSI_DR_H
-#cmakedefine HAVE_DVDREAD_DVD_READER_H
-#cmakedefine HAVE_DYNAMIC_PLUGINS
-#cmakedefine HAVE_EBML_EBMLVERSION_H
-#cmakedefine HAVE_ERRNO_H
-#cmakedefine HAVE_FAAD_H
-#cmakedefine HAVE_FCNTL_H
-#cmakedefine HAVE_FFMPEG_AVCODEC_H
-#cmakedefine HAVE_FFMPEG_AVFORMAT_H
-#cmakedefine HAVE_FFMPEG_AVUTIL_H
-#cmakedefine HAVE_FFMPEG_SWSCALE_H
-#cmakedefine HAVE_LIBAVCODEC_AVCODEC_H
-#cmakedefine HAVE_LIBAVFORMAT_AVFORMAT_H
-#cmakedefine HAVE_LIBAVUTIL_AVUTIL_H
-#cmakedefine HAVE_LIBSWSCALE_SWSCALE_H
-#cmakedefine HAVE_FLAC_STREAM_DECODER_H
-#cmakedefine HAVE_FONTCONFIG_FONTCONFIG_H
-#cmakedefine HAVE_FORK
-#cmakedefine HAVE_FWPRINTF
-#cmakedefine HAVE_GAI_STRERROR
-#cmakedefine HAVE_GCRYPT_H
-#cmakedefine HAVE_GETADDRINFO
-#cmakedefine HAVE_GETCWD
-#cmakedefine HAVE_GETEGID
-#cmakedefine HAVE_GETENV
-#cmakedefine HAVE_GETEUID
-#cmakedefine HAVE_GETGID
-#cmakedefine HAVE_GETHOSTBYNAME
-#cmakedefine HAVE_GETNAMEINFO
-#cmakedefine HAVE_GETOPT_H
-#cmakedefine HAVE_GETOPT_LONG
-#cmakedefine HAVE_GETPAGESIZE
-#cmakedefine HAVE_GETPWUID
-#cmakedefine HAVE_GETTEXT
-#cmakedefine HAVE_GETTIMEOFDAY
-#cmakedefine HAVE_GETUID
-#cmakedefine HAVE_GL_GLU_H
-#cmakedefine HAVE_GL_GLX_H
-#cmakedefine HAVE_GL_GL_H
-#cmakedefine HAVE_GMTIME_R
-#cmakedefine HAVE_GOOM_GOOM_H
-#cmakedefine HAVE_HAL
-#cmakedefine HAVE_ICONV
-#cmakedefine HAVE_ID3TAG_H
-#cmakedefine HAVE_IF_NAMETOINDEX
-#cmakedefine HAVE_IMAGE_H
-#cmakedefine HAVE_INCLUDED_GETTEXT
-#cmakedefine HAVE_INET_ATON
-#cmakedefine HAVE_INET_NTOP
-#cmakedefine HAVE_INET_PTON
-#cmakedefine HAVE_INTMAX_T
-#cmakedefine HAVE_INTTYPES_H
-#cmakedefine HAVE_INTTYPES_H_WITH_UINTMAX
-#cmakedefine HAVE_IOC_TOC_HEADER_IN_SYS_CDIO_H
-#cmakedefine HAVE_ISATTY
-#cmakedefine HAVE_JACK_JACK_H
-#cmakedefine HAVE_JPEGLIB_H
-#cmakedefine HAVE_KERNEL_OS_H
-#cmakedefine HAVE_KERNEL_SCHEDULER_H
-#cmakedefine HAVE_LANGINFO_CODESET
-#cmakedefine HAVE_LANGINFO_H
-#cmakedefine HAVE_LAUXLIB_H
-#cmakedefine HAVE_LC_MESSAGES
-#cmakedefine HAVE_LIBAVC1394_AVC1394_H
-#cmakedefine HAVE_LIBAVFORMAT_TREE
-#cmakedefine HAVE_LIBCDDB
-#cmakedefine HAVE_LIBCDIO
-#cmakedefine HAVE_LIBDC1394_DC1394_CONTROL_H
-#cmakedefine HAVE_LIBMINGW32
-#cmakedefine HAVE_LIBMODPLUG_MODPLUG_H
-#cmakedefine HAVE_LIBPNG
-#cmakedefine HAVE_LIBRAW1394_RAW1394_H
-#cmakedefine HAVE_LIBSMBCLIENT_H
-#cmakedefine HAVE_LIBSWSCALE_TREE
-#cmakedefine HAVE_LIBTAR_H
-#cmakedefine HAVE_LIMITS_H
-#cmakedefine HAVE_LINUX_DCCP_H
-#cmakedefine HAVE_LINUX_DVB_FRONTEND_H
-#cmakedefine HAVE_LINUX_DVB_VERSION_H
-#cmakedefine HAVE_LINUX_FB_H
-#cmakedefine HAVE_LINUX_VERSION_H
-#cmakedefine HAVE_LINUX_VIDEODEV2_H
-#cmakedefine HAVE_LINUX_VIDEODEV_H
-#cmakedefine HAVE_LIVEMEDIA_HH
-#cmakedefine HAVE_LLDIV
-#cmakedefine HAVE_LOAD_ADD_ON
-#cmakedefine HAVE_LOCALE_H
-#cmakedefine HAVE_LOCALTIME_R
-#cmakedefine HAVE_LONG_DOUBLE
-#cmakedefine HAVE_LONG_LONG_INT
-#cmakedefine HAVE_LRINTF
-#cmakedefine HAVE_LSTAT
-#cmakedefine HAVE_LUA
-#cmakedefine HAVE_LUALIB_H
-#cmakedefine HAVE_LUA_H
-#cmakedefine HAVE_MACHINE_PARAM_H
-#cmakedefine HAVE_MACHINE_SOUNDCARD_H
-#cmakedefine HAVE_MACH_O_DYLD_H
-#cmakedefine HAVE_MAD_H
-#cmakedefine HAVE_MATROSKA_KAXATTACHMENTS_H
-#cmakedefine HAVE_MATROSKA_KAXVERSION_H
-#cmakedefine HAVE_MEMALIGN
-#cmakedefine HAVE_MEMORY_H
-#cmakedefine HAVE_MEMPCPY
-#cmakedefine HAVE_MMAP
-#cmakedefine HAVE_MMX_INTRINSICS
-#cmakedefine HAVE_MOZILLA_CONFIG_H
-#cmakedefine HAVE_MPCDEC_MPCDEC_H
-#cmakedefine HAVE_MPEG2DEC_MPEG2_H
-#cmakedefine HAVE_MUNMAP
-#cmakedefine HAVE_NANOSLEEP
-#cmakedefine HAVE_NETINET_IN_H
-#cmakedefine HAVE_NETINET_UDPLITE_H
-#cmakedefine HAVE_NET_IF_H
-#cmakedefine HAVE_NEW_LINUX_VIDEODEV2_H
-#cmakedefine HAVE_NL_LANGINFO
-#cmakedefine HAVE_NL_LOCALE_NAME
-#cmakedefine HAVE_NPAPI_H
-#cmakedefine HAVE_NPRUNTIME_H
-#cmakedefine HAVE_NSLINKMODULE
-#cmakedefine HAVE_OBJSAFE_H
-#cmakedefine HAVE_OGG_OGG_H
-#cmakedefine HAVE_OLE2_H
-#cmakedefine HAVE_OLECTL_H
-#cmakedefine HAVE_PH_H
-#cmakedefine HAVE_PNG_H
-#cmakedefine HAVE_POLL
-#cmakedefine HAVE_POSIX_MEMALIGN
-#cmakedefine HAVE_POSIX_PRINTF
-#cmakedefine HAVE_POSTPROC_POSTPROCESS_H
-#cmakedefine HAVE_PTHREAD_H
-#cmakedefine HAVE_PTHREAD_MUTEX_LOCK
-#cmakedefine HAVE_PTHREAD_MUTEX_RECURSIVE
-#cmakedefine HAVE_PTHREAD_RWLOCK
-#cmakedefine HAVE_PUTENV
-#cmakedefine HAVE_QT4
-#cmakedefine HAVE_QT_H
-#cmakedefine HAVE_QUICKTIME_QUICKTIME_H
-#cmakedefine HAVE_SCANDIR
-#cmakedefine HAVE_SCSIREQ_IN_SYS_SCSIIO_H
-#cmakedefine HAVE_SDL_H
-#cmakedefine HAVE_SDL_IMAGE_H
-#cmakedefine HAVE_SEND
-#cmakedefine HAVE_SETENV
-#cmakedefine HAVE_SETLOCALE
-#cmakedefine HAVE_SHOUT
-#cmakedefine HAVE_SIGNAL_H
-#cmakedefine HAVE_SIGRELSE
-#cmakedefine HAVE_SNPRINTF
-#cmakedefine HAVE_SOUNDCARD_H
-#cmakedefine HAVE_SPEEX_SPEEX_H
-#cmakedefine HAVE_SSE2_INTRINSICS
-#cmakedefine HAVE_STDBOOL_H
-#cmakedefine HAVE_STDDEF_H
-#cmakedefine HAVE_STDINT_H
-#cmakedefine HAVE_STDINT_H_WITH_UINTMAX
-#cmakedefine HAVE_STDLIB_H
-#cmakedefine HAVE_STPCPY
-#cmakedefine HAVE_STRCASECMP
-#cmakedefine HAVE_STRCASESTR
-#cmakedefine HAVE_STRDUP
-#cmakedefine HAVE_STRICMP
-#cmakedefine HAVE_STRINGS_H
-#cmakedefine HAVE_STRING_H
-#cmakedefine HAVE_STRISTR
-#cmakedefine HAVE_STRLCPY
-#cmakedefine HAVE_STRNDUP
-#cmakedefine HAVE_STRNICMP
-#cmakedefine HAVE_STRNLEN
-#cmakedefine HAVE_STRSEP
-#cmakedefine HAVE_STRTOD
-#cmakedefine HAVE_STRTOF
-#cmakedefine HAVE_STRTOL
-#cmakedefine HAVE_STRTOLL
-#cmakedefine HAVE_STRTOUL
-#cmakedefine HAVE_STRTOULL
-#cmakedefine HAVE_STRUCT_ADDRINFO
-#cmakedefine HAVE_STRUCT_TIMESPEC
-#cmakedefine HAVE_SWAB
-#cmakedefine HAVE_SYSFS_LIBSYSFS_H
-#cmakedefine HAVE_SYSLOG_H
-#cmakedefine HAVE_SYS_DL_H
-#cmakedefine HAVE_SYS_INT_TYPES_H
-#cmakedefine HAVE_SYS_IOCTL_H
-#cmakedefine HAVE_SYS_PARAM_H
-#cmakedefine HAVE_SYS_SHM_H
-#cmakedefine HAVE_SYS_SOCKIO_H
-#cmakedefine HAVE_SYS_SOUNDCARD_H
-#cmakedefine HAVE_SYS_STAT_H
-#cmakedefine HAVE_SYS_TIMES_H
-#cmakedefine HAVE_SYS_TIME_H
-#cmakedefine HAVE_SYS_TYPES_H
-#cmakedefine HAVE_TAGLIB
-#cmakedefine HAVE_TEE
-#cmakedefine HAVE_THEORA_THEORA_H
-#cmakedefine HAVE_TIME_H
-#cmakedefine HAVE_TREMOR_IVORBISCODEC_H
-#cmakedefine HAVE_TSEARCH
-#cmakedefine HAVE_TWOLAME_H
-#cmakedefine HAVE_UINTMAX_T
-#cmakedefine HAVE_UNISTD_H
-#cmakedefine HAVE_UNSIGNED_LONG_LONG
-#cmakedefine HAVE_UNSIGNED_LONG_LONG_INT
-#cmakedefine HAVE_USELOCALE
-#cmakedefine HAVE_VASPRINTF
-#cmakedefine HAVE_VA_COPY
-#cmakedefine HAVE_VCDINFO
-#cmakedefine HAVE_VCDX
-#cmakedefine HAVE_VISIBILITY
-#cmakedefine HAVE_VORBIS_CODEC_H
-#cmakedefine HAVE_VORBIS_VORBISENC_H
-#cmakedefine HAVE_WCHAR_H
-#cmakedefine HAVE_WCHAR_T
-#cmakedefine HAVE_WCSLEN
-#cmakedefine HAVE_WINT_T
-#cmakedefine HAVE_WX
-#cmakedefine HAVE_WX_WXPREC_H
-#cmakedefine HAVE_X11_EXTENSIONS_DPMS_H
-#cmakedefine HAVE_X11_EXTENSIONS_VLDXVMC_H
-#cmakedefine HAVE_X11_EXTENSIONS_XF86VMODE_H
-#cmakedefine HAVE_X11_EXTENSIONS_XINERAMA_H
-#cmakedefine HAVE_X11_EXTENSIONS_XV_H
-#cmakedefine HAVE_X11_XLIB_H
-#cmakedefine HAVE_X11_XPM_H
-#cmakedefine HAVE_X264_H
-#cmakedefine HAVE_XF86VIDMODE
-#cmakedefine HAVE_XINERAMA
-#cmakedefine HAVE_XOSD_VERSION_0
-#cmakedefine HAVE_XOSD_VERSION_1
-#cmakedefine HAVE_XOSD_VERSION_2
-#cmakedefine HAVE_ZLIB_H
-#cmakedefine HAVE__SMBCCTX_CLOSE_FN
-#cmakedefine HAVE___FSETLOCKING
-#cmakedefine HAVE___VA_COPY
-#cmakedefine ICONV_CONST ${ICONV_CONST}
-#ifndef ICONV_CONST
-# define ICONV_CONST
-#endif
-#cmakedefine INTDIV0_RAISES_SIGFPE
-#cmakedefine LIBEXT "${LIBEXT}"
-#cmakedefine NDEBUG
-#cmakedefine NO_MINUS_C_MINUS_O
-#cmakedefine NTOHL_IN_SYS_PARAM_H
-#cmakedefine OPTIMIZE_MEMORY
-#cmakedefine PACKAGE "${PACKAGE}"
-#cmakedefine PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
-#cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
-#cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
-#cmakedefine PACKAGE_TARNAME "${PACKAGE_TARNAME}"
-#cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
-#cmakedefine PACKAGE_VERSION_EXTRA "${PACKAGE_VERSION_EXTRA}"
-#define PACKAGE_VERSION_MAJOR "@PACKAGE_VERSION_MAJOR@"
-#define PACKAGE_VERSION_MINOR "@PACKAGE_VERSION_MINOR@"
-#define PACKAGE_VERSION_REVISION "@PACKAGE_VERSION_REVISION@"
-#cmakedefine PRI_MACROS_BROKEN
-#cmakedefine RETSIGTYPE
-#cmakedefine SDL_IMAGE_INCLUDE_FILE
-#cmakedefine SDL_INCLUDE_FILE
-#cmakedefine SIZE_MAX
-#cmakedefine STACK_DIRECTION
-#cmakedefine STDC_HEADERS
-#cmakedefine STRNCASECMP_IN_STRINGS_H
-#cmakedefine TIME_WITH_SYS_TIME
-#cmakedefine UPDATE_CHECK
-#cmakedefine USE_POSIX_THREADS
-#cmakedefine USE_POSIX_THREADS_WEAK
-#cmakedefine USE_PTH_THREADS
-#cmakedefine USE_PTH_THREADS_WEAK
-#cmakedefine USE_SOLARIS_THREADS
-#cmakedefine USE_SOLARIS_THREADS_WEAK
-#cmakedefine USE_WIN32_THREADS
-#cmakedefine VERSION
-#cmakedefine VERSION_MESSAGE "${VERSION_MESSAGE}"
-#cmakedefine VIDEODEV2_H_FILE
-#cmakedefine VLC_COMPILER "${VLC_COMPILER}"
-#cmakedefine VLC_COMPILE_BY "${VLC_COMPILE_BY}"
-#cmakedefine VLC_COMPILE_DOMAIN "${VLC_COMPILE_DOMAIN}"
-#cmakedefine VLC_COMPILE_HOST "${VLC_COMPILE_HOST}"
-#cmakedefine WORDS_BIGENDIAN
-#cmakedefine X_DISPLAY_MISSING
-#cmakedefine ZVBI_COMPILED
-#ifndef _ALL_SOURCE
-#cmakedefine _ALL_SOURCE
-#endif
-#cmakedefine _FORTIFY_SOURCE
-#ifndef _GNU_SOURCE
-#cmakedefine _GNU_SOURCE
-#endif
-#cmakedefine _MINIX
-#cmakedefine _POSIX_1_SOURCE
-#cmakedefine _POSIX_SOURCE
-#ifndef __EXTENSIONS__
-#cmakedefine __EXTENSIONS__
-#endif
-#ifndef _POSIX_PTHREAD_SEMANTICS
-#cmakedefine _POSIX_PTHREAD_SEMANTICS
-#endif
-#ifndef _TANDEM_SOURCE
-#cmakedefine _TANDEM_SOURCE
-#endif
-#cmakedefine const
-#ifndef __cplusplus
-#cmakedefine inline
-#endif
-#cmakedefine ptrdiff_t
-#cmakedefine restrict
-#cmakedefine size_t
-#cmakedefine sockaddr_storage
-#cmakedefine socklen_t
-#cmakedefine ss_family
-#cmakedefine ssize_t
-#cmakedefine uintmax_t
-#cmakedefine __libc_lock_t                   gl_lock_t
-#cmakedefine __libc_lock_define              gl_lock_define
-#cmakedefine __libc_lock_define_initialized  gl_lock_define_initialized
-#cmakedefine __libc_lock_init                gl_lock_init
-#cmakedefine __libc_lock_lock                gl_lock_lock
-#cmakedefine __libc_lock_unlock              gl_lock_unlock
-#cmakedefine __libc_lock_recursive_t                   gl_recursive_lock_t
-#cmakedefine __libc_lock_define_recursive              gl_recursive_lock_define
-#cmakedefine __libc_lock_define_initialized_recursive  gl_recursive_lock_define_initialized
-#cmakedefine __libc_lock_init_recursive                gl_recursive_lock_init
-#cmakedefine __libc_lock_lock_recursive                gl_recursive_lock_lock
-#cmakedefine __libc_lock_unlock_recursive              gl_recursive_lock_unlock
-#cmakedefine glthread_in_use  libintl_thread_in_use
-#cmakedefine glthread_lock_init     libintl_lock_init
-#cmakedefine glthread_lock_lock     libintl_lock_lock
-#cmakedefine glthread_lock_unlock   libintl_lock_unlock
-#cmakedefine glthread_lock_destroy  libintl_lock_destroy
-#cmakedefine glthread_rwlock_init     libintl_rwlock_init
-#cmakedefine glthread_rwlock_rdlock   libintl_rwlock_rdlock
-#cmakedefine glthread_rwlock_wrlock   libintl_rwlock_wrlock
-#cmakedefine glthread_rwlock_unlock   libintl_rwlock_unlock
-#cmakedefine glthread_rwlock_destroy  libintl_rwlock_destroy
-#cmakedefine glthread_recursive_lock_init     libintl_recursive_lock_init
-#cmakedefine glthread_recursive_lock_lock     libintl_recursive_lock_lock
-#cmakedefine glthread_recursive_lock_unlock   libintl_recursive_lock_unlock
-#cmakedefine glthread_recursive_lock_destroy  libintl_recursive_lock_destroy
-#cmakedefine glthread_once                 libintl_once
-#cmakedefine glthread_once_call            libintl_once_call
-#cmakedefine glthread_once_singlethreaded  libintl_once_singlethreaded
-#include <vlc_fixups.h>
-#endif
-
diff --git a/extras/buildsystem/cmake/include/FindDlopen.cmake b/extras/buildsystem/cmake/include/FindDlopen.cmake
deleted file mode 100644 (file)
index 689e64d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-# From licq www.licq.org (GPL)
-# - Find library containing dlopen()
-# The following variables are set if dlopen is found. If dlopen is not
-# found, Dlopen_FOUND is set to false.
-#  Dlopen_FOUND     - System has dlopen.
-#  Dlopen_LIBRARIES - Link these to use dlopen.
-#
-# Copyright (c) 2007 Erik Johansson <erik@ejohansson.se>
-# Redistribution and use is allowed according to the terms of the BSD license.
-
-
-if (NOT Dlopen_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Dlopen_SEARCHED TRUE CACHE INTERNAL "")
-    set(Dlopen_FOUND FALSE CACHE INTERNAL "")
-
-    foreach (library c c_r dl)
-      if (NOT Dlopen_FOUND)
-        check_library_exists(${library} dlopen "" Dlopen_IN_${library})
-
-        if (Dlopen_IN_${library})
-          set(Dlopen_LIBRARIES ${library} CACHE STRING "Library containing dlopen")
-          set(Dlopen_FOUND TRUE CACHE INTERNAL "")
-        endif (Dlopen_IN_${library})
-
-      endif (NOT Dlopen_FOUND)
-    endforeach (library)
-
-    if (Dlopen_FOUND)
-      if (NOT Dlopen_FIND_QUIETLY)
-        message(STATUS "Found dlopen in: ${Dlopen_LIBRARIES}")
-      endif (NOT Dlopen_FIND_QUIETLY)
-    else (Dlopen_FOUND)
-      if (Dlopen_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing dlopen")
-      endif (Dlopen_FIND_REQUIRED)
-    endif (Dlopen_FOUND)
-
-    mark_as_advanced(Dlopen_LIBRARIES)
-endif(NOT Dlopen_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindDvbpsi.cmake b/extras/buildsystem/cmake/include/FindDvbpsi.cmake
deleted file mode 100644 (file)
index 42365e9..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# - Find library containing Dvbpsi()
-# The following variables are set if Dvbpsi is found. If Dvbpsi is not
-# found, Dvbpsi_FOUND is set to false.
-#  Dvbpsi_FOUND     - System has Dvbpsi.
-#  Dvbpsi_LIBRARIES - Link these to use Dvbpsi.
-#  Dvbpsi_CFLAGS - Link these to use Dvbpsi.
-
-
-if (NOT Dvbpsi_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Dvbpsi_SEARCHED TRUE CACHE INTERNAL "")
-    set(Dvbpsi_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(Dvbpsi dvbpsi)
-
-    if (NOT Dvbpsi_FOUND)
-        find_library(Dvbpsi_LIBRARY NAMES dvbpsi)
-        if (Dvbpsi_LIBRARY)
-              set(Dvbpsi_LIBRARIES "${Dvbpsi_LIBRARY}" CACHE INTERNAL "")
-              set(Dvbpsi_FOUND TRUE CACHE INTERNAL "")
-        endif (Dvbpsi_LIBRARY)
-    endif (NOT Dvbpsi_FOUND)
-
-    if (Dvbpsi_FOUND)
-      if (NOT Dvbpsi_FIND_QUIETLY)
-        message(STATUS "Found Dvbpsi in: ${Dvbpsi_LIBRARIES}")
-      endif (NOT Dvbpsi_FIND_QUIETLY)
-    else (Dvbpsi_FOUND)
-      if (Dvbpsi_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing Dvbpsi")
-      endif (Dvbpsi_FIND_REQUIRED)
-    endif (Dvbpsi_FOUND)
-
-    mark_as_advanced(Dvbpsi_LIBRARIES)
-endif(NOT Dvbpsi_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindFFmpeg.cmake b/extras/buildsystem/cmake/include/FindFFmpeg.cmake
deleted file mode 100644 (file)
index 8329478..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-# - Find library containing FFmpeg()
-# The following variables are set if FFmpeg is found. If FFmpeg is not
-# found, FFmpeg_FOUND is set to false.
-#  FFmpeg_FOUND     - System has FFmpeg.
-#  FFmpeg_LIBRARIES - Link these to use FFmpeg.
-#  FFmpeg_CFLAGS - Link these to use FFmpeg.
-
-if (NOT FFmpeg_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(FFmpeg_SEARCHED TRUE CACHE INTERNAL "")
-    set(FFmpeg_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(FFmpeg libffmpeg)
-
-    if (NOT FFmpeg_FOUND)
-        set(FFmpeg_LIBRARIES "")
-        foreach (library ffmpeg avcodec avformat avutil postproc swscale)
-            find_library( ${library}_LIBRARY ${library} )
-            if (${library}_LIBRARY)
-                pkg_check_modules(${library}_LIBRARY lib${library})
-                set(FFmpeg_LIBRARIES "${library};${FFmpeg_LIBRARIES}")
-
-                if (${library}_LIBRARY_CFLAGS)
-                    set(FFmpeg_CFLAGS ${FFmpeg_CFLAGS} ${${library}_LIBRARY_CFLAGS})
-                endif (${library}_LIBRARY_CFLAGS)
-                set(FFmpeg_FOUND TRUE CACHE INTERNAL "")
-            endif (${library}_LIBRARY)
-        endforeach (library)
-        foreach (library a52 faac lame z png mp3lame twolame)
-            find_library( ${library}_LIBRARY ${library} )
-            if (${library}_LIBRARY)
-                pkg_check_modules(${library}_LIBRARY lib${library})
-                set(FFmpeg_LIBRARIES "${library};${FFmpeg_LIBRARIES}")
-
-                if (${library}_LIBRARY_CFLAGS)
-                    set(FFmpeg_CFLAGS ${FFmpeg_CFLAGS} ${${library}_LIBRARY_CFLAGS})
-                endif (${library}_LIBRARY_CFLAGS)
-            endif (${library}_LIBRARY)
-        endforeach (library)
-        set(FFmpeg_LIBRARIES "${FFmpeg_LIBRARIES}" CACHE INTERNAL STRING)
-    endif (NOT FFmpeg_FOUND)
-
-    if (FFmpeg_FOUND)
-        if (NOT FFmpeg_FIND_QUIETLY)
-            message(STATUS "Found FFmpeg in: ${FFmpeg_LIBRARIES}")
-        endif (NOT FFmpeg_FIND_QUIETLY)
-    else (FFmpeg_FOUND)
-        if (FFmpeg_FIND_REQUIRED)
-            message(FATAL_ERROR "Could not find the library containing FFmpeg")
-        endif (FFmpeg_FIND_REQUIRED)
-    endif (FFmpeg_FOUND)
-
-    mark_as_advanced(FFmpeg_LIBRARIES)
-endif(NOT FFmpeg_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindLive555.cmake b/extras/buildsystem/cmake/include/FindLive555.cmake
deleted file mode 100644 (file)
index 9e72baf..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-# - Find library containing Live555()
-# The following variables are set if Live555 is found. If Live555 is not
-# found, Live555_FOUND is set to false.
-#  Live555_FOUND     - System has Live555.
-#  Live555_LIBRARIES - Link these to use Live555.
-#  Live555_CFLAGS - Link these to use Live555.
-
-
-if (NOT Live555_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Live555_SEARCHED TRUE CACHE INTERNAL "")
-    set(Live555_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(Live555 libLive555)
-
-    if (NOT Live555_FOUND)
-        set(Live555_LIBRARIES "")
-        foreach (library livemedia livemedia_pic)
-            find_library( ${library}_LIBRARY ${library} )
-            if (${library}_LIBRARY)
-              set(Live555_LIBRARIES "${library};${Live555_LIBRARIES}")
-              set(Live555_FOUND TRUE CACHE INTERNAL "")
-            endif (${library}_LIBRARY)
-        endforeach (library)
-        foreach (library groupsock_pic groupsock BasicUsageEnvironment_pic BasicUsageEnvironment UsageEnvironment_pic UsageEnvironment)
-            find_library( ${library}_LIBRARY ${library} )
-            if (${library}_LIBRARY)
-              set(Live555_LIBRARIES "${library};${Live555_LIBRARIES}")
-            endif (${library}_LIBRARY)
-        endforeach (library)
-        set(Live555_LIBRARIES "${Live555_LIBRARIES}" CACHE INTERNAL STRING)
-    endif (NOT Live555_FOUND)
-
-    if (Live555_FOUND)
-      if (NOT Live555_FIND_QUIETLY)
-        message(STATUS "Found Live555 in: ${Live555_LIBRARIES}")
-      endif (NOT Live555_FIND_QUIETLY)
-    else (Live555_FOUND)
-      if (Live555_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing Live555")
-      endif (Live555_FIND_REQUIRED)
-    endif (Live555_FOUND)
-
-    mark_as_advanced(Live555_LIBRARIES)
-endif(NOT Live555_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindLua.cmake b/extras/buildsystem/cmake/include/FindLua.cmake
deleted file mode 100644 (file)
index 8b49e7b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# - Find library containing Lua()
-# The following variables are set if Lua is found. If Lua is not
-# found, Lua_FOUND is set to false.
-#  Lua_FOUND     - System has Lua.
-#  Lua_LIBRARIES - Link these to use Lua.
-#  Lua_CFLAGS - Link these to use Lua.
-
-
-if (NOT Lua_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Lua_SEARCHED TRUE CACHE INTERNAL "")
-    set(Lua_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(Lua lua>=5.1)
-    if (NOT Lua_FOUND)
-        pkg_check_modules(Lua lua5.1)
-    endif (NOT Lua_FOUND)
-
-    if (NOT Lua_FOUND)
-        find_library( Lua_LIBRARY NAMES lua5.1 lua51 lua)
-        if (Lua_LIBRARY)
-              set(Lua_LIBRARIES "${Lua_LIBRARY}" CACHE INTERNAL "")
-              set(Lua_FOUND TRUE CACHE INTERNAL "")
-        endif (Lua_LIBRARY)
-    endif (NOT Lua_FOUND)
-
-    if (Lua_FOUND)
-      if (NOT Lua_FIND_QUIETLY)
-        message(STATUS "Found Lua in: ${Lua_LIBRARIES}")
-      endif (NOT Lua_FIND_QUIETLY)
-    else (Lua_FOUND)
-      if (Lua_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing Lua")
-      endif (Lua_FIND_REQUIRED)
-    endif (Lua_FOUND)
-
-    mark_as_advanced(Lua_LIBRARIES)
-endif(NOT Lua_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindMatroska.cmake b/extras/buildsystem/cmake/include/FindMatroska.cmake
deleted file mode 100644 (file)
index 5c9c447..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# - Find library containing Matroska()
-# The following variables are set if Matroska is found. If Matroska is not
-# found, Matroska_FOUND is set to false.
-#  Matroska_FOUND     - System has Matroska.
-#  Matroska_LIBRARIES - Link these to use Matroska.
-#  Matroska_CFLAGS - Link these to use Matroska.
-
-
-if (NOT Matroska_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Matroska_SEARCHED TRUE CACHE INTERNAL "")
-    set(Matroska_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(matroska libmatroska)
-
-    if (NOT Matroska_FOUND)
-        set(Matroska_LIBRARIES "")
-        find_library( matroska_LIBRARY matroska )
-        if (matroska_LIBRARY)
-              set(Matroska_LIBRARIES "${matroska_LIBRARY}")
-              set(Matroska_FOUND TRUE CACHE INTERNAL "")
-        endif (matroska_LIBRARY)
-        foreach (library ebml ebml_pic)
-            find_library( ${library}_LIBRARY ${library} )
-            if (${library}_LIBRARY)
-              set(Matroska_LIBRARIES "${library};${Matroska_LIBRARIES}")
-            endif (${library}_LIBRARY)
-        endforeach (library)
-        set(Matroska_LIBRARIES "${Matroska_LIBRARIES}" CACHE INTERNAL STRING)
-    endif (NOT Matroska_FOUND)
-
-    if (Matroska_FOUND)
-      if (NOT Matroska_FIND_QUIETLY)
-        message(STATUS "Found Matroska in: ${Matroska_LIBRARIES}")
-      endif (NOT Matroska_FIND_QUIETLY)
-    else (Matroska_FOUND)
-      if (Matroska_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing Matroska")
-      endif (Matroska_FIND_REQUIRED)
-    endif (Matroska_FOUND)
-
-    mark_as_advanced(Matroska_LIBRARIES)
-endif(NOT Matroska_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindMpeg2.cmake b/extras/buildsystem/cmake/include/FindMpeg2.cmake
deleted file mode 100644 (file)
index 1e349c8..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# - Find library containing Mpeg2()
-# The following variables are set if Mpeg2 is found. If Mpeg2 is not
-# found, Mpeg2_FOUND is set to false.
-#  Mpeg2_FOUND     - System has Mpeg2.
-#  Mpeg2_LIBRARIES - Link these to use Mpeg2.
-#  Mpeg2_CFLAGS - Link these to use Mpeg2.
-
-
-if (NOT Mpeg2_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Mpeg2_SEARCHED TRUE CACHE INTERNAL "")
-    set(Mpeg2_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(Mpeg2 mpeg2)
-
-    if (NOT Mpeg2_FOUND)
-        find_library(Mpeg2_LIBRARY NAMES mpeg2)
-        if (Mpeg2_LIBRARY)
-              set(Mpeg2_LIBRARIES "${Mpeg2_LIBRARY}" CACHE INTERNAL "")
-              set(Mpeg2_FOUND TRUE CACHE INTERNAL "")
-        endif (Mpeg2_LIBRARY)
-    endif (NOT Mpeg2_FOUND)
-
-    if (Mpeg2_FOUND)
-      if (NOT Mpeg2_FIND_QUIETLY)
-        message(STATUS "Found Mpeg2 in: ${Mpeg2_LIBRARIES}")
-      endif (NOT Mpeg2_FIND_QUIETLY)
-    else (Mpeg2_FOUND)
-      if (Mpeg2_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing Mpeg2")
-      endif (Mpeg2_FIND_REQUIRED)
-    endif (Mpeg2_FOUND)
-
-    mark_as_advanced(Mpeg2_LIBRARIES)
-endif(NOT Mpeg2_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/FindTaglib.cmake b/extras/buildsystem/cmake/include/FindTaglib.cmake
deleted file mode 100644 (file)
index c219e00..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# - Find library containing Taglib()
-# The following variables are set if Taglib is found. If Taglib is not
-# found, Taglib_FOUND is set to false.
-#  Taglib_FOUND     - System has Taglib.
-#  Taglib_LIBRARIES - Link these to use Taglib.
-#  Taglib_CFLAGS - Link these to use Taglib.
-
-
-if (NOT Taglib_SEARCHED)
-    include(CheckLibraryExists)
-
-    set(Taglib_SEARCHED TRUE CACHE INTERNAL "")
-    set(Taglib_FOUND FALSE CACHE INTERNAL "")
-
-    pkg_check_modules(Taglib taglib)
-
-    if (Taglib_FOUND)
-      if (NOT Taglib_FIND_QUIETLY)
-        message(STATUS "Found Taglib in: ${Taglib_LIBRARIES}")
-      endif (NOT Taglib_FIND_QUIETLY)
-    else (Taglib_FOUND)
-      if (Taglib_FIND_REQUIRED)
-        message(FATAL_ERROR "Could not find the library containing Taglib")
-      endif (Taglib_FIND_REQUIRED)
-    endif (Taglib_FOUND)
-
-    mark_as_advanced(Taglib_LIBRARIES)
-endif(NOT Taglib_SEARCHED)
diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake
deleted file mode 100644 (file)
index 0b626a1..0000000
+++ /dev/null
@@ -1,651 +0,0 @@
-###########################################################
-# System Includes
-###########################################################
-include( CheckIncludeFile )
-include (CheckTypeSize)
-include (CheckCSourceCompiles)
-include (CheckSymbolExists)
-include (CheckLibraryExists)
-
-###########################################################
-# Options
-###########################################################
-# Options moved before the custom macro includes because those macros need path values, if the ENABLE_CONTRIB
-# has been set.
-
-OPTION( ENABLE_HTTPD           "Enable httpd server" ON )
-OPTION( ENABLE_STREAM_OUT      "Enable stream output plugins" ON )
-OPTION( ENABLE_VLM             "Enable vlm" ON )
-OPTION( ENABLE_DYNAMIC_PLUGINS "Enable dynamic plugin" ON )
-OPTION( UPDATE_CHECK           "Enable automatic new version checking" OFF )
-OPTION( ENABLE_NO_SYMBOL_CHECK "Don't check symbols of modules against libvlc. (Enabling this option speeds up compilation)" OFF )
-OPTION( ENABLE_CONTRIB         "Attempt to use VLC contrib system to get the third-party libraries" ON )
-OPTION( ENABLE_LOADER          "Enable the win32 codec loader" OFF )
-OPTION( ENABLE_NLS             "Enable translation of the program's messages" ON)
-
-if(ENABLE_CONTRIB)
-
-  set( CONTRIB_INCLUDE ${CMAKE_SOURCE_DIR}/extras/contrib/include)
-  set( CONTRIB_LIB ${CMAKE_SOURCE_DIR}/extras/contrib/lib)
-  set( CONTRIB_PROGRAM ${CMAKE_SOURCE_DIR}/extras/contrib/bin)
-  set( CMAKE_LIBRARY_PATH ${CONTRIB_LIB} ${CMAKE_LIBRARY_PATH} )
-  set( CMAKE_PROGRAM_PATH ${CONTRIB_PROGRAM} ${CMAKE_PROGRAM_PATH} )
-  set( CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${CONTRIB_LIB}" )
-  set( CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -L${CONTRIB_LIB}" )
-  set( CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -L${CONTRIB_LIB}" )
-  set( CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS "${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS} -L${CONTRIB_LIB}" )
-  set( CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -L${CONTRIB_LIB}" )
-  set( CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -L${CONTRIB_LIB}" )
-
-  # include extras/contrib/include in the header search pathes
-  include_directories(${CONTRIB_INCLUDE})
-  set( CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${CONTRIB_INCLUDE} )
-  
-  # include the extras/contrib/bin to the search path, otherwise, when finding programs it will automatically
-  # default to system applications (e.g. we should favor the extras/contrib/bin/pkg-config over the system defined
-  # one).
-  if(WIN32)
-    set( ENV{PATH} "${CONTRIB_PROGRAM};$ENV{PATH}" )
-  else(WIN32)
-    set( ENV{PATH} "${CONTRIB_PROGRAM}:$ENV{PATH}" )
-  endif(WIN32)
-endif(ENABLE_CONTRIB)
-
-###########################################################
-# Custom Macro Includes
-###########################################################
-
-include( ${CMAKE_SOURCE_DIR}/cmake/vlc_check_include_files.cmake )
-include( ${CMAKE_SOURCE_DIR}/cmake/vlc_check_functions_exist.cmake )
-include( ${CMAKE_SOURCE_DIR}/cmake/vlc_add_compile_flag.cmake )
-include( ${CMAKE_SOURCE_DIR}/cmake/vlc_check_type.cmake )
-include( ${CMAKE_SOURCE_DIR}/cmake/pkg_check_modules.cmake )
-
-###########################################################
-# Versioning
-###########################################################
-
-set(VLC_VERSION_MAJOR "0")
-set(VLC_VERSION_MINOR "9")
-set(VLC_VERSION_PATCH "0")
-set(VLC_VERSION_EXTRA "-svn")
-set(VLC_VERSION ${VLC_VERSION_MAJOR}.${VLC_VERSION_MINOR}.${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA})
-
-set(PACKAGE "vlc")
-set(PACKAGE_NAME "vlc") #for gettext
-set(PACKAGE_VERSION "${VLC_VERSION}")
-set(PACKAGE_STRING "vlc")
-set(VERSION_MESSAGE "vlc-${VLC_VERSION}")
-set(COPYRIGHT_MESSAGE "Copyright © the VideoLAN team")
-set(COPYRIGHT_YEARS "2001-2008")
-set(PACKAGE_VERSION_EXTRA "${VLC_VERSION_EXTRA}")
-set(PACKAGE_VERSION_MAJOR "${VLC_VERSION_MAJOR}")
-set(PACKAGE_VERSION_MINOR "${VLC_VERSION_MINOR}")
-set(PACKAGE_VERSION_REVISION "${VLC_VERSION_PATCH}")
-
-###########################################################
-# Preflight Checks
-###########################################################
-
-IF (NOT CMAKE_BUILD_TYPE)
-    set(CMAKE_BUILD_TYPE "Debug" CACHE STRING  "build type determining compiler flags" FORCE )
-endif(NOT CMAKE_BUILD_TYPE )
-
-if(CMAKE_BUILD_TYPE STREQUAL "Debug")
-    set(DEBUG ON)
-    add_definitions(-DDEBUG=1)
-    set(NDEBUG OFF)
-endif(CMAKE_BUILD_TYPE STREQUAL "Debug")
-
-set( HAVE_DYNAMIC_PLUGINS ${ENABLE_DYNAMIC_PLUGINS})
-set( LIBEXT ${CMAKE_SHARED_MODULE_SUFFIX})
-
-check_c_source_compiles(
-    "struct __attribute__((__packed__)) foo { int a; } b; int main(){return 0;}"
-    HAVE_ATTRIBUTE_PACKED)
-
-###########################################################
-# Headers checks
-###########################################################
-
-vlc_check_include_files (malloc.h stdbool.h locale.h)
-vlc_check_include_files (stddef.h stdlib.h sys/stat.h)
-vlc_check_include_files (stdio.h stdint.h inttypes.h)
-vlc_check_include_files (signal.h unistd.h dirent.h)
-vlc_check_include_files (netinet/in.h netinet/udplite.h)
-vlc_check_include_files (arpa/inet.h net/if.h)
-vlc_check_include_files (netdb.h fcntl.h sys/time.h poll.h)
-vlc_check_include_files (errno.h time.h alloca.h)
-vlc_check_include_files (limits.h)
-
-vlc_check_include_files (string.h strings.h getopt.h)
-
-vlc_check_include_files (dlfcn.h dl.h)
-
-vlc_check_include_files (kernel/OS.h)
-vlc_check_include_files (memory.h)
-vlc_check_include_files (mach-o/dyld.h)
-
-vlc_check_include_files (pthread.h)
-
-find_package (Threads)
-
-###########################################################
-# Functions/structures checks
-###########################################################
-
-set(CMAKE_REQUIRED_LIBRARIES c)
-set(CMAKE_EXTRA_INCLUDE_FILES string.h)
-vlc_check_functions_exist(strcpy strcasecmp strncasecmp)
-vlc_check_functions_exist(strcasestr stristr strdup)
-vlc_check_functions_exist(strndup stricmp strnicmp)
-vlc_check_functions_exist(atof strtoll atoll lldiv)
-vlc_check_functions_exist(strlcpy stristr strnlen strsep)
-vlc_check_functions_exist(strtod strtof strtol stroul)
-vlc_check_functions_exist(stroull)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES stdio.h)
-vlc_check_functions_exist(vasprintf)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES libc.h)
-vlc_check_functions_exist(fork)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES stdlib.h)
-vlc_check_functions_exist(putenv getenv setenv)
-vlc_check_functions_exist(putenv getenv setenv)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES stdio.h)
-vlc_check_functions_exist(snprintf asprintf)
-vlc_check_functions_exist(putenv getenv setenv)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES unistd.h)
-vlc_check_functions_exist(isatty getcwd getuid swab)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES sys/stat.h)
-vlc_check_functions_exist(lstat fstat stat)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES arpa/inet.h)
-vlc_check_functions_exist(inet_aton inet_ntop inet_pton)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES sys/mman.h)
-vlc_check_functions_exist(mmap)
-if(HAVE_MMAP)
-  vlc_enable_modules(access_mmap)
-endif(HAVE_MMAP)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_EXTRA_INCLUDE_FILES locale.h)
-vlc_check_functions_exist(uselocale)
-set(CMAKE_EXTRA_INCLUDE_FILES)
-
-set(CMAKE_REQUIRED_LIBRARIES)
-
-check_library_exists(poll poll "" HAVE_POLL)
-
-check_c_source_compiles(
-"#include <langinfo.h>
-int main() { char* cs = nl_langinfo(CODESET); }"
-HAVE_LANGINFO_CODESET)
-
-vlc_check_type("struct addrinfo" "sys/socket.h;netdb.h")
-if(HAVE_STRUCT_ADDRINFO)
-  set(HAVE_ADDRINFO ON)
-endif(HAVE_STRUCT_ADDRINFO)
-vlc_check_type("struct timespec" "time.h")
-
-check_c_source_compiles (
-"#include <stdint.h> \n #ifdef UINTMAX \n #error no uintmax
- #endif
- int main() { return 0;}" HAVE_STDINT_H_WITH_UINTMAX)
-
-check_symbol_exists(ntohl "sys/param.h"  NTOHL_IN_SYS_PARAM_H)
-check_symbol_exists(scandir "dirent.h"   HAVE_SCANDIR)
-check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)
-check_symbol_exists(alloca "alloca.h"    HAVE_ALLOCA)
-
-check_symbol_exists(va_copy "stdarg.h"   HAVE_VACOPY)
-check_symbol_exists(__va_copy "stdarg.h" HAVE___VA_COPY)
-
-
-check_symbol_exists(getnameinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETNAMEINFO)
-check_symbol_exists(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO)
-if(NOT HAVE_GETADDRINFO)
-    check_library_exists(getaddrinfo nsl "" HAVE_GETADDRINFO)
-endif(NOT HAVE_GETADDRINFO)
-
-vlc_check_functions_exist(iconv)
-if(NOT HAVE_ICONV)
-    set(LIBICONV "iconv")
-    check_library_exists(iconv iconv "" HAVE_ICONV)
-endif(NOT HAVE_ICONV)
-set(CMAKE_REQUIRED_LIBRARIES ${LIBICONV})
-CHECK_C_SOURCE_COMPILES(" #include <iconv.h>
- int main() { return iconv(0, (char **)0, 0, (char**)0, 0); }" ICONV_NO_CONST)
-if( ICONV_NO_CONST )
-  set( ICONV_CONST "const" )
-else( ICONV_NO_CONST )
-  set( ICONV_CONST " ")
-endif( ICONV_NO_CONST )
-set(CMAKE_REQUIRED_LIBRARIES)
-
-check_library_exists(rt clock_nanosleep "" HAVE_CLOCK_NANOSLEEP)
-if (HAVE_CLOCK_NANOSLEEP)
-    set(LIBRT "rt")
-endif (HAVE_CLOCK_NANOSLEEP)
-
-check_library_exists(m pow "" HAVE_LIBM)
-if (HAVE_LIBM)
-    set (LIBM "m")
-endif (HAVE_LIBM)
-
-check_symbol_exists(connect "sys/types.h;sys/socket.h" HAVE_CONNECT)
-if(NOT HAVE_CONNECT)
-    check_library_exists(connect socket "" HAVE_CONNECT)
-    if(NOT HAVE_CONNECT)
-        vlc_module_add_link_libraries(libvlc connect)
-        vlc_module_add_link_libraries(cdda   connect)
-        vlc_module_add_link_libraries(cddax  connect)
-    endif(NOT HAVE_CONNECT)
-endif(NOT HAVE_CONNECT)
-
-###########################################################
-# Other check
-###########################################################
-
-include( ${CMAKE_SOURCE_DIR}/cmake/vlc_test_inline.cmake )
-
-###########################################################
-# Platform check
-###########################################################
-
-if(APPLE)
-    include( ${CMAKE_SOURCE_DIR}/cmake/vlc_find_frameworks.cmake )
-
-    # Mac OS X (10.4 and 10.5)  can't poll a tty properly
-    # So we deactivate its uses
-    set(HAVE_POLL OFF)
-
-    if(ENABLE_NO_SYMBOL_CHECK)
-        set(DYNAMIC_LOOKUP "-undefined dynamic_lookup")
-    else(ENABLE_NO_SYMBOL_CHECK)
-        set(DYNAMIC_LOOKUP)
-    endif(ENABLE_NO_SYMBOL_CHECK)
-    set(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS
-     "${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS} ${DYNAMIC_LOOKUP}")
-    set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
-     "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} ${DYNAMIC_LOOKUP}")
-
-    # For pre-10.5
-    set( CMAKE_SHARED_LIBRARY_C_FLAGS "${CMAKE_C_FLAGS} -fno-common")
-
-    set(SYS_DARWIN 1)
-    add_definitions(-std=gnu99) # Hack for obj-c files to be compiled with gnu99
-    vlc_enable_modules(macosx minimal_macosx opengllayer
-                       access_eyetv quartztext auhal)
-
-    # On Pre-10.5
-    vlc_module_add_link_flags (ffmpeg "-read_only_relocs warning")
-
-   # vlc_check_include_files (ApplicationServices/ApplicationServices.h)
-   # vlc_check_include_files (Carbon/Carbon.h)
-   # vlc_check_include_files (CoreAudio/CoreAudio.h)
-
-   # check_symbol_exists (CFLocaleCopyCurrent "CoreFoundation/CoreFoundation.h" "" HAVE_CFLOCALECOPYCURRENT)
-   # check_symbol_exists (CFPreferencesCopyAppValue "CoreFoundation/CoreFoundation.h" "" HAVE_CFPREFERENCESCOPYAPPVALUE)
-
-    vlc_find_frameworks(Cocoa Carbon OpenGL AGL IOKit Quicktime
-                        WebKit QuartzCore Foundation ApplicationServices
-                        CoreAudio AudioUnit AudioToolbox)
-    vlc_module_add_link_libraries(macosx
-        ${Cocoa_FRAMEWORKS}
-        ${IOKit_FRAMEWORKS}
-        ${OpenGL_FRAMEWORKS}
-        ${AGL_FRAMEWORKS}
-        ${Quicktime_FRAMEWORKS}
-        ${WebKit_FRAMEWORKS})
-    vlc_module_add_link_libraries(minimal_macosx
-        ${Cocoa_FRAMEWORKS}
-        ${Carbon_FRAMEWORKS}
-        ${OpenGL_FRAMEWORKS}
-        ${AGL_FRAMEWORKS})
-    vlc_module_add_link_libraries(access_eyetv
-        ${Foundation_FRAMEWORKS})
-    vlc_module_add_link_libraries(opengllayer
-         ${Cocoa_FRAMEWORKS}
-         ${QuartzCore_FRAMEWORKS}
-         ${OpenGL_FRAMEWORKS} )
-    vlc_module_add_link_libraries(quartztext
-         ${Carbon_FRAMEWORKS}
-         ${ApplicationServices_FRAMEWORKS} )
-    vlc_module_add_link_libraries(auhal
-         ${Carbon_FRAMEWORKS}
-         ${CoreAudio_FRAMEWORKS}
-         ${AudioUnit_FRAMEWORKS}
-         ${AudioToolbox_FRAMEWORKS} )
-    vlc_module_add_link_libraries(mp4 ${IOKit_FRAMEWORKS} )
-    vlc_module_add_link_libraries(mkv ${IOKit_FRAMEWORKS} )
-
-    add_executable(VLC MACOSX_BUNDLE src/vlc.c)
-    target_link_libraries(VLC libvlc)
-    set( MacOS ${CMAKE_CURRENT_BINARY_DIR}/VLC.app/Contents/MacOS )
-    add_custom_command(
-        TARGET VLC
-        POST_BUILD
-        COMMAND rm -Rf ${CMAKE_CURRENT_BINARY_DIR}/tmp
-        COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/tmp/modules/gui/macosx
-        COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/tmp/extras/package/macosx
-        COMMAND for i in vlc.xcodeproj Resources README.MacOSX.rtf\; do cp -R ${CMAKE_CURRENT_SOURCE_DIR}/extras/package/macosx/$$i ${CMAKE_CURRENT_BINARY_DIR}/tmp/extras/package/macosx\; done
-        COMMAND for i in AUTHORS COPYING THANKS\;do cp ${CMAKE_CURRENT_SOURCE_DIR}/$$i ${CMAKE_CURRENT_BINARY_DIR}/tmp\; done
-        COMMAND for i in AppleRemote.h AppleRemote.m about.h about.m applescript.h applescript.m controls.h controls.m equalizer.h equalizer.m intf.h intf.m macosx.m misc.h misc.m open.h open.m output.h output.m playlist.h playlist.m playlistinfo.h playlistinfo.m prefs_widgets.h prefs_widgets.m prefs.h prefs.m vout.h voutqt.m voutgl.m wizard.h wizard.m extended.h extended.m bookmarks.h bookmarks.m sfilters.h sfilters.m update.h update.m interaction.h interaction.m embeddedwindow.h embeddedwindow.m fspanel.h fspanel.m vout.m\; do cp ${CMAKE_CURRENT_SOURCE_DIR}/modules/gui/macosx/$$i ${CMAKE_CURRENT_BINARY_DIR}/tmp/modules/gui/macosx\; done
-        COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/tmp/extras/package/macosx && xcodebuild -target vlc | grep -vE '^\([ \\t]|$$\)' && cd ../../../../ && cp ${CMAKE_CURRENT_BINARY_DIR}/tmp/extras/package/macosx/build/Default/VLC.bundle/Contents/Info.plist ${CMAKE_CURRENT_BINARY_DIR}/VLC.app/Contents && cp -R ${CMAKE_CURRENT_BINARY_DIR}/tmp/extras/package/macosx/build/Default/VLC.bundle/Contents/Resources/English.lproj ${CMAKE_CURRENT_BINARY_DIR}/VLC.app/Contents/Resources
-        COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/extras/package/macosx/Resources ${CMAKE_CURRENT_BINARY_DIR}/VLC.app/Contents
-        COMMAND find -d ${CMAKE_CURRENT_BINARY_DIR}/VLC.app/Contents/Resources -type d -name \\.svn -exec rm -rf {} "\;"
-        COMMAND rm -rf ${MacOS}/modules ${MacOS}/locale ${MacOS}/share
-        COMMAND ln -s ${CMAKE_CURRENT_SOURCE_DIR}/share ${MacOS}/share
-        COMMAND ln -s ${CMAKE_CURRENT_BINARY_DIR}/modules ${MacOS}/modules
-        COMMAND find ${CMAKE_BINARY_DIR}/po -name *.gmo -exec sh -c \"mkdir -p ${MacOS}/locale/\\`basename {}|sed s/\\.gmo//\\`/LC_MESSAGES\; ln -s {} ${MacOS}/locale/\\`basename {}|sed s/\\.gmo//\\`/LC_MESSAGES/vlc.mo\" "\;"
-        COMMAND ln -sf VLC ${MacOS}/clivlc #useless?
-        COMMAND printf "APPLVLC#" > ${CMAKE_CURRENT_BINARY_DIR}/VLC.app/Contents/PkgInfo
-        COMMAND rm -Rf ${CMAKE_CURRENT_BINARY_DIR}/tmp
-    )
-    set( MacOS )
-
-endif(APPLE)
-
-###########################################################
-# info
-###########################################################
-
-macro(command_to_configvar command var)
- execute_process(
-  COMMAND sh -c "${command}"
-  OUTPUT_VARIABLE ${var}
-  OUTPUT_STRIP_TRAILING_WHITESPACE)
- string( REPLACE "\n" "\\n" ${var} "${${var}}")
-endmacro(command_to_configvar)
-
-command_to_configvar( "whoami" VLC_COMPILE_BY )
-command_to_configvar( "hostname" VLC_COMPILE_HOST )
-command_to_configvar( "hostname" VLC_COMPILE_DOMAIN )
-command_to_configvar( "${CMAKE_C_COMPILER} --version" VLC_COMPILER )
-# FIXME: WTF? this is not the configure line!
-command_to_configvar( "${CMAKE_C_COMPILER} --version" CONFIGURE_LINE )
-set( VLC_COMPILER "${CMAKE_C_COMPILER}" )
-
-###########################################################
-# Modules: Following are all listed in options
-###########################################################
-
-# This modules are enabled by default but can still be disabled manually
-vlc_enable_modules(dummy logger memcpy)
-vlc_enable_modules(mpgv mpga m4v m4a h264 vc1 demux_cdg cdg ps pva avi mp4 rawdv rawvid nsv real aiff mjpeg demuxdump flacsys tta)
-vlc_enable_modules(cvdsub svcdsub spudec subsdec subsusf t140 dvbsub cc mpeg_audio lpcm a52 dts cinepak flac)
-vlc_enable_modules(deinterlace invert adjust transform wave ripple psychedelic gradient motionblur rv32 rotate noise grain extract sharpen)
-vlc_enable_modules(converter_fixed mono)
-vlc_enable_modules(trivial_resampler ugly_resampler)
-vlc_enable_modules(trivial_channel_mixer trivial_mixer)
-vlc_enable_modules(playlist export nsc xtag)
-vlc_enable_modules(i420_rgb grey_yuv rawvideo blend scale image logo magnify puzzle colorthres)
-vlc_enable_modules(wav araw subtitle vobsub adpcm a52sys dtssys au ty voc xa nuv smf)
-vlc_enable_modules(access_directory access_file access_udp access_tcp)
-vlc_enable_modules(access_http access_mms access_ftp)
-vlc_enable_modules(access_filter_bandwidth)
-vlc_enable_modules(packetizer_mpegvideo packetizer_h264)
-vlc_enable_modules(packetizer_mpeg4video packetizer_mpeg4audio)
-vlc_enable_modules(packetizer_vc1)
-vlc_enable_modules(spatializer atmo blendbench croppadd)
-vlc_enable_modules(asf cmml)
-vlc_enable_modules(vmem visual growl_udp)
-
-set(enabled ${ENABLE_STREAM_OUT})
-vlc_register_modules(${enabled} access_output_dummy access_output_udp access_output_file access_output_http)
-vlc_register_modules(${enabled} mux_ps mux_avi mux_mp4 mux_asf mux_dummy mux_wav mux_mpjpeg)
-vlc_register_modules(${enabled} packetizer_copy)
-
-vlc_register_modules(${enabled} stream_out_dummy stream_out_standard stream_out_es stream_out_rtp stream_out_description vod_rtsp)
-vlc_register_modules(${enabled} stream_out_duplicate stream_out_display stream_out_transcode stream_out_bridge stream_out_mosaic_bridge stream_out_autodel)
-vlc_register_modules(${enabled} stream_out_gather)
-# vlc_register_modules(${enabled} stream_out_transrate)
-# vlc_register_modules(${enabled} rtcp)
-vlc_register_modules(${enabled} profile_parser)
-
-if(NOT mingwce)
-   set(enabled ON)
-endif(NOT mingwce)
-vlc_register_modules(${enabled} access_fake access_filter_timeshift access_filter_record access_filter_dump)
-vlc_register_modules(${enabled} gestures rc telnet hotkeys showintf marq podcast shout sap fake folder)
-vlc_register_modules(${enabled} rss mosaic wall motiondetect clone crop erase bluescreen alphamask gaussianblur)
-vlc_register_modules(${enabled} i420_yuy2 i422_yuy2 i420_ymga i422_i420 yuy2_i422 yuy2_i420 chroma_chain)
-vlc_register_modules(${enabled} aout_file linear_resampler bandlimited_resampler)
-vlc_register_modules(${enabled} float32_mixer spdif_mixer simple_channel_mixer)
-vlc_register_modules(${enabled} dolby_surround_decoder headphone_channel_mixer normvol equalizer param_eq)
-vlc_register_modules(${enabled} converter_float a52tospdif dtstospdif audio_format)
-set(enabled)
-
-if(NOT WIN32)
-   vlc_enable_modules(screensaver signals dynamicoverlay) #motion
-endif(NOT WIN32)
-
-# This module is disabled because the CMakeList.txt which
-# is generated isn't correct. We'll put that back
-# when cmake will be accepted as default build system
-vlc_disable_modules(motion)
-
-###########################################################
-# libraries
-###########################################################
-
-include_directories(${CONTRIB_INCLUDE})
-
-#fixme: use find_package(cddb 0.9.5)
-pkg_check_modules(LIBCDDB libcddb>=0.9.5)
-if(${LIBCDDB_FOUND})
-  vlc_module_add_link_libraries(cdda ${LIBCDDB_LIBRARIES})
-  vlc_add_module_compile_flag(cdda ${LIBCDDB_CFLAGS} )
-endif(${LIBCDDB_FOUND})
-
-find_package(Dlopen)
-set(HAVE_DL_DLOPEN ${Dlopen_FOUND})
-
-# Advanced Linux Sound Architecture (ALSA)
-pkg_check_modules(ALSA alsa>=1.0.0-rc4)
-if (${ALSA_FOUND})
-  set (HAVE_ALSA_NEW_API "1")
-else (${ALSA_FOUND})
-  pkg_check_modules(ALSA alsa)
-endif (${ALSA_FOUND})
-
-if (${ALSA_FOUND})
-  set (HAVE_ALSA "1")
-  vlc_enable_modules(alsa)
-  vlc_add_module_compile_flag(alsa ${ALSA_CFLAGS})
-  vlc_module_add_link_libraries(alsa ${ALSA_LIBRARIES})
-endif (${ALSA_FOUND})
-
-# Open Sound System (OSS)
-# TODO
-
-find_package(FFmpeg)
-if(FFmpeg_FOUND)
-  string(REPLACE ";" " " FFmpeg_CFLAGS "${FFmpeg_CFLAGS}")
-  set( CMAKE_REQUIRED_FLAGS_saved ${CMAKE_REQUIRED_FLAGS} )
-  set( CMAKE_REQUIRED_FLAGS ${FFmpeg_CFLAGS} )
-
-  vlc_check_include_files (ffmpeg/avcodec.h libavcodec/avcodec.h)
-  vlc_check_include_files (ffmpeg/avutil.h libavutil/avutil.h)
-  vlc_check_include_files (ffmpeg/swscale.h libswscale/swscale.h)
-  check_c_source_compiles( "#include <stdint.h>\n#include <postproc/postprocess.h>\nint main(){return 0;}" HAVE_POSTPROC_POSTPROCESS_H )
-  vlc_check_include_files (libpostproc/postprocess.h)
-  
-  message( STATUS "avcodec found ${HAVE_FFMPEG_AVCODEC_H} || ${HAVE_LIBAVCODEC_AVCODEC_H}")
-  message( STATUS "avutil found ${HAVE_FFMPEG_AVUTIL_H} || ${HAVE_LIBAVUTIL_AVUTIL_H}")
-  message( STATUS "swscale found ${HAVE_FFMPEG_SWSCALE_H} || ${HAVE_LIBSWSCALE_SWSCALE_H}")
-  message( STATUS "postprocess found ${HAVE_POSTPROC_POSTPROCESS_H} || ${HAVE_LIBPOSTPROC_POSTPROCESS_H}")
-
-  vlc_enable_modules(ffmpeg)
-  vlc_add_module_compile_flag(ffmpeg ${FFmpeg_CFLAGS})
-  vlc_module_add_link_libraries(ffmpeg ${FFmpeg_LIBRARIES})
-  
-  set( CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_saved} )
-  set( CMAKE_REQUIRED_FLAGS_saved )
-endif(FFmpeg_FOUND)
-
-find_package(Lua)
-if(Lua_FOUND)
-  set(HAVE_LUA TRUE)
-  vlc_enable_modules(lua)
-  vlc_check_include_files (lua.h lualib.h)
-  vlc_add_module_compile_flag(lua ${Lua_CFLAGS} )
-  vlc_module_add_link_libraries(lua ${Lua_LIBRARIES})
-endif(Lua_FOUND)
-
-find_package(Qt4)
-if(QT4_FOUND)
-  set(HAVE_QT4 TRUE)
-  include_directories(${QT_INCLUDES})
-  vlc_check_include_files (qt.h)
-  vlc_enable_modules(qt4)
-  #execute_process leaves the trailing newline appended to the variable, unlike exec_program
-  #execute_process( COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix QtCore OUTPUT_VARIABLE QT4LOCALEDIR)
-  exec_program( ${PKG_CONFIG_EXECUTABLE} ARGS --variable=prefix QtCore OUTPUT_VARIABLE QT4LOCALEDIR)
-  set(QT4LOCALEDIR ${QT4LOCALEDIR}/share/qt4/translations )
-  vlc_add_module_compile_flag(qt4 ${QT_CFLAGS})
-  vlc_add_module_compile_flag(qt4 -DQT4LOCALEDIR=\\\\"${QT4LOCALEDIR}\\\\" )
-  vlc_module_add_link_libraries(qt4 ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
-
-  # Define our own qt4_wrap_ui macro to match wanted behaviour
-  MACRO (VLC_QT4_WRAP_UI outfiles )
-    FOREACH (it ${ARGN})
-     string(REPLACE ".ui" ".h" outfile "${it}")
-      GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
-      SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfile})
-      ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-        COMMAND mkdir -p `dirname ${outfile}`
-        COMMAND ${QT_UIC_EXECUTABLE}
-        ARGS -o ${outfile} ${infile}
-        MAIN_DEPENDENCY ${infile})
-      SET(${outfiles} ${${outfiles}} ${outfile})
-    ENDFOREACH (it)
-  ENDMACRO (VLC_QT4_WRAP_UI)
-
-  MACRO (VLC_QT4_GENERATE_MOC outfiles flags )
-    string(REGEX MATCHALL "[^\\ ]+" flags_list ${flags})
-    FOREACH (it ${ARGN})
-      string(REPLACE ".hpp" ".moc.cpp" outfile "${it}")
-      GET_FILENAME_COMPONENT(infile ${it} ABSOLUTE)
-      SET(outfile ${CMAKE_CURRENT_BINARY_DIR}/${outfile})
-      ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
-        COMMAND mkdir -p `dirname ${outfile}`
-        COMMAND ${QT_MOC_EXECUTABLE} 
-        ARGS ${flags_list}
-        ARGS -I ${CMAKE_BINARY_DIR}/include
-        ARGS -o ${outfile} ${infile}
-        MAIN_DEPENDENCY ${it}
-        )
-      SET(${outfiles} ${${outfiles}} ${outfile})
-    ENDFOREACH (it)
-  ENDMACRO (VLC_QT4_GENERATE_MOC)
-
-
-endif(QT4_FOUND)
-
-find_package(OpenGL)
-if(OPENGL_FOUND)
-  vlc_enable_modules(opengl)
-  vlc_check_include_files (gl/gl.h)
-  vlc_check_include_files (gl/glu.h)
-  vlc_check_include_files (gl/glx.h)
-  vlc_add_module_compile_flag(opengl ${OPENGL_CFLAGS})
-  vlc_module_add_link_libraries(opengl ${OPENGL_LIBRARIES})
-endif(OPENGL_FOUND)
-
-find_package(Matroska 0.7.7)
-if(Matroska_FOUND)
-  vlc_enable_modules(mkv)
-  vlc_check_include_files (matroska/KaxAttachments.h)
-  vlc_check_include_files (matroska/KaxVersion.h)
-  vlc_module_add_link_libraries(mkv ${Matroska_LIBRARIES})
-endif(Matroska_FOUND)
-
-find_package(Live555)
-if(Live555_FOUND)
-  vlc_enable_modules(live555)
-  vlc_add_module_compile_flag(live555 ${Live555_CFLAGS})
-  vlc_module_add_link_libraries(live555 ${Live555_LIBRARIES})
-endif(Live555_FOUND)
-
-set(CURSES_NEED_NCURSES TRUE)
-find_package(Curses)
-if(CURSES_LIBRARIES)
-  vlc_enable_modules(ncurses)
-  vlc_module_add_link_libraries(ncurses ${CURSES_LIBRARIES})
-endif(CURSES_LIBRARIES)
-
-find_package(X11)
-if(X11_FOUND)
-  vlc_enable_modules(x11 panoramix)
-  vlc_check_include_files (X11/Xlib.h)
-  vlc_module_add_link_libraries(x11       ${X11_LIBRARIES})
-  vlc_module_add_link_libraries(panoramix ${X11_LIBRARIES})
-endif(X11_FOUND)
-
-vlc_check_include_files (linux/fb.h)
-if(HAVE_LINUX_FB_H)
-  vlc_enable_modules(fb)
-endif(HAVE_LINUX_FB_H)
-
-find_package(Mpeg2)
-if(Mpeg2_FOUND)
-  vlc_enable_modules(libmpeg2)
-  check_include_files ("stdint.h;mpeg2dec/mpeg2.h" HAVE_MPEG2DEC_MPEG2_H)
-  vlc_module_add_link_libraries(libmpeg2 ${Mpeg2_LIBRARIES})
-endif(Mpeg2_FOUND)
-
-find_package(Dvbpsi)
-if(Dvbpsi_FOUND)
-  vlc_register_modules(${ENABLE_STREAM_OUT} mux_ts)
-  vlc_enable_modules(ts)
-  check_include_files ("stdint.h;dvbpsi/dvbpsi.h;dvbpsi/demux.h;dvbpsi/descriptor.h;dvbpsi/pat.h;dvbpsi/pmt.h;dvbpsi/sdt.h;dvbpsi/dr.h" HAVE_DVBPSI_DR_H)
-  vlc_module_add_link_libraries(ts      ${Dvbpsi_LIBRARIES})
-  vlc_module_add_link_libraries(mux_ts  ${Dvbpsi_LIBRARIES})
-  vlc_module_add_link_libraries(dvb     ${Dvbpsi_LIBRARIES})
-endif(Dvbpsi_FOUND)
-
-vlc_check_include_files (id3tag.h zlib.h)
-if(HAVE_ID3TAG_H AND HAVE_ZLIB_H)
-  vlc_enable_modules(id3tag)
-  vlc_module_add_link_libraries(id3tag  "id3tag;z")
-endif(HAVE_ID3TAG_H AND HAVE_ZLIB_H)
-
-find_package(Taglib)
-if(Taglib_FOUND)
-  set(HAVE_TAGLIB 1)
-  vlc_enable_modules(taglib)
-  vlc_module_add_link_libraries(taglib "${Taglib_LIBRARIES};z")
-  vlc_add_module_compile_flag(taglib "${Taglib_CFLAGS}")
-endif(Taglib_FOUND)
-
-vlc_check_include_files (zlib.h)
-if(HAVE_ZLIB_H)
-  vlc_module_add_link_libraries(access_http z)
-  vlc_module_add_link_libraries(mkv z)
-  vlc_module_add_link_libraries(mp4 z)
-  vlc_module_add_link_libraries(stream_out_bridge z)
-  vlc_module_add_link_libraries(sap z)
-endif(HAVE_ZLIB_H)
-
-set(CMAKE_REQUIRED_INCLUDES)
-
-###########################################################
-# Final configuration
-###########################################################
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/include/config.h)
diff --git a/extras/buildsystem/cmake/include/pkg_check_modules.cmake b/extras/buildsystem/cmake/include/pkg_check_modules.cmake
deleted file mode 100644 (file)
index ea72491..0000000
+++ /dev/null
@@ -1,360 +0,0 @@
-# - a pkg-config module for CMake
-#
-# Usage:
-#   pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
-#     checks for all the given modules
-#
-#   pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
-#     checks for given modules and uses the first working one
-#
-# When the 'REQUIRED' argument was set, macros will fail with an error
-# when module(s) could not be found
-#
-# It sets the following variables:
-#   PKG_CONFIG_FOUND         ... true if pkg-config works on the system
-#   PKG_CONFIG_EXECUTABLE    ... pathname of the pkg-config program
-#   <PREFIX>_FOUND           ... set to 1 if module(s) exist
-#
-# For the following variables two sets of values exist; first one is the
-# common one and has the given PREFIX. The second set contains flags
-# which are given out when pkgconfig was called with the '--static'
-# option.
-#   <XPREFIX>_LIBRARIES      ... only the libraries (w/o the '-l')
-#   <XPREFIX>_LIBRARY_DIRS   ... the paths of the libraries (w/o the '-L')
-#   <XPREFIX>_LDFLAGS        ... all required linker flags
-#   <XPREFIX>_LDFLAGS_OTHER  ... all other linker flags
-#   <XPREFIX>_INCLUDE_DIRS   ... the '-I' preprocessor flags (w/o the '-I')
-#   <XPREFIX>_CFLAGS         ... all required cflags
-#   <XPREFIX>_CFLAGS_OTHER   ... the other compiler flags
-#
-#   <XPREFIX> = <PREFIX>        for common case
-#   <XPREFIX> = <PREFIX>_STATIC for static linking
-#
-# There are some special variables whose prefix depends on the count
-# of given modules. When there is only one module, <PREFIX> stays
-# unchanged. When there are multiple modules, the prefix will be
-# changed to <PREFIX>_<MODNAME>:
-#   <XPREFIX>_VERSION    ... version of the module
-#   <XPREFIX>_PREFIX     ... prefix-directory of the module
-#   <XPREFIX>_INCLUDEDIR ... include-dir of the module
-#   <XPREFIX>_LIBDIR     ... lib-dir of the module
-#
-#   <XPREFIX> = <PREFIX>  when |MODULES| == 1, else
-#   <XPREFIX> = <PREFIX>_<MODNAME>
-#
-# A <MODULE> parameter can have the following formats:
-#   {MODNAME}            ... matches any version
-#   {MODNAME}>={VERSION} ... at least version <VERSION> is required
-#   {MODNAME}={VERSION}  ... exactly version <VERSION> is required
-#   {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
-#
-# Examples
-#   pkg_check_modules (GLIB2   glib-2.0)
-#
-#   pkg_check_modules (GLIB2   glib-2.0>=2.10)
-#     requires at least version 2.10 of glib2 and defines e.g.
-#       GLIB2_VERSION=2.10.3
-#
-#   pkg_check_modules (FOO     glib-2.0>=2.10 gtk+-2.0)
-#     requires both glib2 and gtk2, and defines e.g.
-#       FOO_glib-2.0_VERSION=2.10.3
-#       FOO_gtk+-2.0_VERSION=2.8.20
-#
-#   pkg_check_modules (XRENDER REQUIRED xrender)
-#     defines e.g.:
-#       XRENDER_LIBRARIES=Xrender;X11
-#       XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
-#
-#   pkg_search_module (BAR     libxml-2.0 libxml2 libxml>=2)
-
-
-# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
-#
-# Redistribution and use, with or without modification, are permitted
-# provided that the following conditions are met:
-# 
-#    1. Redistributions must retain the above copyright notice, this
-#       list of conditions and the following disclaimer.
-#    2. The name of the author may not be used to endorse or promote
-#       products derived from this software without specific prior
-#       written permission.
-# 
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-### Common stuff ####
-set(PKG_CONFIG_VERSION 1)
-set(PKG_CONFIG_FOUND   0)
-
-find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable")
-mark_as_advanced(PKG_CONFIG_EXECUTABLE)
-
-if(PKG_CONFIG_EXECUTABLE)
-  set(PKG_CONFIG_FOUND 1)
-endif(PKG_CONFIG_EXECUTABLE)
-
-
-# Unsets the given variables
-macro(_pkgconfig_unset var)
-  set(${var} "" CACHE INTERNAL "")
-endmacro(_pkgconfig_unset)
-
-macro(_pkgconfig_set var value)
-  set(${var} ${value} CACHE INTERNAL "")
-endmacro(_pkgconfig_set)
-
-# Invokes pkgconfig, cleans up the result and sets variables
-macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
-  set(_pkgconfig_invoke_result)
-
-  execute_process(
-    COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist}
-    OUTPUT_VARIABLE _pkgconfig_invoke_result
-    RESULT_VARIABLE _pkgconfig_failed)
-
-  if (_pkgconfig_failed)
-    set(_pkgconfig_${_varname} "")
-    _pkgconfig_unset(${_prefix}_${_varname})
-  else(_pkgconfig_failed)
-    string(REGEX REPLACE "[\r\n]"                  " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
-    string(REGEX REPLACE " +$"                     ""  _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
-
-    if (NOT ${_regexp} STREQUAL "")
-      string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
-    endif(NOT ${_regexp} STREQUAL "")
-
-    separate_arguments(_pkgconfig_invoke_result)
-
-    #message(STATUS "  ${_varname} ... ${_pkgconfig_invoke_result}")
-    set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result})
-    _pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}")
-  endif(_pkgconfig_failed)
-endmacro(_pkgconfig_invoke)
-
-# Invokes pkgconfig two times; once without '--static' and once with
-# '--static'
-macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp)
-  _pkgconfig_invoke("${_pkglist}" ${_prefix}        ${_varname} "${cleanup_regexp}" ${ARGN})
-  _pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static  ${ARGN})
-endmacro(_pkgconfig_invoke_dyn)
-
-# Splits given arguments into options and a package list
-macro(_pkgconfig_parse_options _result _is_req)
-  set(${_is_req} 0)
-  
-  foreach(_pkg ${ARGN})
-    if (_pkg STREQUAL "REQUIRED")
-      set(${_is_req} 1)
-    endif (_pkg STREQUAL "REQUIRED")
-  endforeach(_pkg ${ARGN})
-
-  set(${_result} ${ARGN})
-  list(REMOVE_ITEM ${_result} "REQUIRED")
-endmacro(_pkgconfig_parse_options)
-
-###
-macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
-  _pkgconfig_unset(${_prefix}_FOUND)
-  _pkgconfig_unset(${_prefix}_VERSION)
-  _pkgconfig_unset(${_prefix}_PREFIX)
-  _pkgconfig_unset(${_prefix}_INCLUDEDIR)
-  _pkgconfig_unset(${_prefix}_LIBDIR)
-  _pkgconfig_unset(${_prefix}_LIBS)
-  _pkgconfig_unset(${_prefix}_LIBS_L)
-  _pkgconfig_unset(${_prefix}_LIBS_PATHS)
-  _pkgconfig_unset(${_prefix}_LIBS_OTHER)
-  _pkgconfig_unset(${_prefix}_CFLAGS)
-  _pkgconfig_unset(${_prefix}_CFLAGS_I)
-  _pkgconfig_unset(${_prefix}_CFLAGS_OTHER)
-  _pkgconfig_unset(${_prefix}_STATIC_LIBDIR)
-  _pkgconfig_unset(${_prefix}_STATIC_LIBS)
-  _pkgconfig_unset(${_prefix}_STATIC_LIBS_L)
-  _pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS)
-  _pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER)
-  _pkgconfig_unset(${_prefix}_STATIC_CFLAGS)
-  _pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I)
-  _pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER)
-
-  # create a better addressable variable of the modules and calculate its size
-  set(_pkg_check_modules_list ${ARGN})
-  list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt)
-
-  if(PKG_CONFIG_EXECUTABLE)
-    # give out status message telling checked module
-    if (NOT ${_is_silent})
-      if (_pkg_check_modules_cnt EQUAL 1)
-        message(STATUS "checking for module '${_pkg_check_modules_list}'")
-      else(_pkg_check_modules_cnt EQUAL 1)
-        message(STATUS "checking for modules '${_pkg_check_modules_list}'")
-      endif(_pkg_check_modules_cnt EQUAL 1)
-    endif(NOT ${_is_silent})
-    
-    set(_pkg_check_modules_packages)
-    set(_pkg_check_modules_failed)
-
-    # iterate through module list and check whether they exist and match the required version
-    foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list})
-      set(_pkg_check_modules_exist_query)
-
-      # check whether version is given
-      if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
-        string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
-        string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op   "${_pkg_check_modules_pkg}")
-        string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver  "${_pkg_check_modules_pkg}")
-      else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
-        set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
-        set(_pkg_check_modules_pkg_op)
-        set(_pkg_check_modules_pkg_ver)
-      endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
-
-      # handle the operands
-      if (_pkg_check_modules_pkg_op STREQUAL ">=")
-        list(APPEND _pkg_check_modules_exist_query --atleast-version)
-      endif(_pkg_check_modules_pkg_op STREQUAL ">=")
-
-      if (_pkg_check_modules_pkg_op STREQUAL "=")
-        list(APPEND _pkg_check_modules_exist_query --exact-version)
-      endif(_pkg_check_modules_pkg_op STREQUAL "=")
-      
-      if (_pkg_check_modules_pkg_op STREQUAL "<=")
-        list(APPEND _pkg_check_modules_exist_query --max-version)
-      endif(_pkg_check_modules_pkg_op STREQUAL "<=")
-
-      # create the final query which is of the format:
-      # * --atleast-version <version> <pkg-name>
-      # * --exact-version <version> <pkg-name>      
-      # * --max-version <version> <pkg-name>
-      # * --exists <pkg-name>
-      if (_pkg_check_modules_pkg_op)
-        list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}")
-      else(_pkg_check_modules_pkg_op)
-        list(APPEND _pkg_check_modules_exist_query --exists)
-      endif(_pkg_check_modules_pkg_op)
-
-      _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION)
-      _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX)
-      _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR)
-      _pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR)
-
-      list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
-      list(APPEND _pkg_check_modules_packages    "${_pkg_check_modules_pkg_name}")
-
-      # execute the query
-      execute_process(
-        COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query}
-        RESULT_VARIABLE _pkgconfig_retval)
-
-      # evaluate result and tell failures
-      if (_pkgconfig_retval)
-        if(NOT ${_is_silent})
-          message(STATUS "  package '${_pkg_check_modules_pkg}' not found")
-        endif(NOT ${_is_silent})
-
-        set(_pkg_check_modules_failed 1)
-      endif(_pkgconfig_retval)
-    endforeach(_pkg_check_modules_pkg)
-
-    if(_pkg_check_modules_failed)
-      # fail when requested
-      if (${_is_required})
-        message(SEND_ERROR "A required package was not found")
-      endif (${_is_required})
-    else(_pkg_check_modules_failed)
-      # when we are here, we checked whether requested modules
-      # exist. Now, go through them and set variables
-      
-      _pkgconfig_set(${_prefix}_FOUND 1)
-      list(LENGTH _pkg_check_modules_packages pkg_count)
-
-      # iterate through all modules again and set individual variables
-      foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages})
-        # handle case when there is only one package required
-        if (pkg_count EQUAL 1)
-          set(_pkg_check_prefix "${_prefix}")
-        else(pkg_count EQUAL 1)
-          set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}")
-        endif(pkg_count EQUAL 1)
-        
-        _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION    ""   --modversion )
-        _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX     ""   --variable=prefix )
-        _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR ""   --variable=includedir )
-        _pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR     ""   --variable=libdir )
-
-        message(STATUS "  found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
-      endforeach(_pkg_check_modules_pkg)
-
-      # set variables which are combined for multiple modules
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES           "(^| )-l" --libs-only-l )
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS        "(^| )-L" --libs-only-L )
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS             ""        --libs )
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER       ""        --libs-only-other )
-
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS        "(^| )-I" --cflags-only-I )
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS              ""        --cflags )
-      _pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER        ""        --cflags-only-other )
-    endif(_pkg_check_modules_failed)
-  else(PKG_CONFIG_EXECUTABLE)
-    if (${_is_required})
-      message(SEND_ERROR "pkg-config tool not found")
-    endif (${_is_required})
-  endif(PKG_CONFIG_EXECUTABLE)
-endmacro(_pkg_check_modules_internal)
-
-###
-### User visible macros start here
-###
-
-###
-macro(pkg_check_modules _prefix _module0)
-  # check cached value
-  if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
-    _pkgconfig_parse_options   (_pkg_modules _pkg_is_required "${_module0}" ${ARGN})
-    _pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules})
-
-    _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
-  endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
-endmacro(pkg_check_modules)
-
-###
-macro(pkg_search_module _prefix _module0)
-  # check cached value
-  if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
-    set(_pkg_modules_found 0)
-    _pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN})
-
-    message(STATUS "checking for one of the modules '${_pkg_modules_alt}'")
-
-    # iterate through all modules and stop at the first working one.
-    foreach(_pkg_alt ${_pkg_modules_alt})
-      if(NOT _pkg_modules_found)
-        _pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}")
-      endif(NOT _pkg_modules_found)
-
-      if (${_prefix}_FOUND)
-        set(_pkg_modules_found 1)
-      endif(${_prefix}_FOUND)
-    endforeach(_pkg_alt)
-
-    if (NOT ${_prefix}_FOUND)
-      if(${_pkg_is_required})
-        message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found")
-      endif(${_pkg_is_required})
-    endif(NOT ${_prefix}_FOUND)
-    
-    _pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
-  endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)  
-endmacro(pkg_search_module)
-
-### Local Variables:
-### mode: cmake
-### End:
diff --git a/extras/buildsystem/cmake/include/vlc_add_compile_flag.cmake b/extras/buildsystem/cmake/include/vlc_add_compile_flag.cmake
deleted file mode 100644 (file)
index 77e3952..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# - vlc_add_compile_flag(<_target> "flags...")
-# From KDELibs
-# Copyright (c) 2006, Oswald Buddenhagen, <ossi@kde.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-
-MACRO (vlc_add_compile_flag _target _flg)
-
-   GET_TARGET_PROPERTY(_flags ${_target} COMPILE_FLAGS)
-   if (_flags)
-      set(_flags "${_flags} ${_flg}")
-   else (_flags)
-      set(_flags "${_flg}")
-   endif (_flags)
-   SET_TARGET_PROPERTIES(${_target} PROPERTIES COMPILE_FLAGS "${_flags}")
-
-ENDMACRO (vlc_add_compile_flag)
diff --git a/extras/buildsystem/cmake/include/vlc_check_functions_exist.cmake b/extras/buildsystem/cmake/include/vlc_check_functions_exist.cmake
deleted file mode 100644 (file)
index f7e8488..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-include (CheckFunctionExists)
-
-MACRO(vlc_check_functions_exist functions)
-    foreach(function ${ARGV})
-        # Construct the HAVE_ var
-        string(REGEX REPLACE "[-./:;,?=+\\]" "_" function_escaped ${function})
-        string(TOUPPER ${function_escaped} function_escaped)
-        check_function_exists( ${function} HAVE_${function_escaped} )
-    endforeach(function)
-ENDMACRO(vlc_check_functions_exist)
diff --git a/extras/buildsystem/cmake/include/vlc_check_include_files.cmake b/extras/buildsystem/cmake/include/vlc_check_include_files.cmake
deleted file mode 100644 (file)
index d055498..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-include (CheckIncludeFiles)
-
-MACRO(vlc_check_include_files files)
-    foreach(filepath ${ARGV})
-        # Construct the HAVE_ var
-        string(REGEX REPLACE "[-./:;,?=+\\]" "_" filepath_escaped ${filepath})
-        string(TOUPPER ${filepath_escaped} filepath_escaped)
-        check_include_files( ${filepath} HAVE_${filepath_escaped} )
-    endforeach(filepath)
-ENDMACRO(vlc_check_include_files)
diff --git a/extras/buildsystem/cmake/include/vlc_check_type.cmake b/extras/buildsystem/cmake/include/vlc_check_type.cmake
deleted file mode 100644 (file)
index 179acb0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-include (CheckTypeSize)
-
-MACRO(vlc_check_type type header)
-    # Construct the HAVE_ var
-    string(REGEX REPLACE "[ -./:;,?=+\\]" "_" type_escaped ${type})
-    string(TOUPPER ${type_escaped} type_escaped)
-    set(CMAKE_EXTRA_INCLUDE_FILES ${header})
-    check_type_size( ${type} HAVE_${type_escaped} )
-    set(CMAKE_EXTRA_INCLUDE_FILES)
-ENDMACRO(vlc_check_type)
diff --git a/extras/buildsystem/cmake/include/vlc_find_frameworks.cmake b/extras/buildsystem/cmake/include/vlc_find_frameworks.cmake
deleted file mode 100644 (file)
index d803cc8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-include(CMakeFindFrameworks)
-
-MACRO(vlc_find_frameworks frameworks)
-    foreach(framework ${ARGV})
-        cmake_find_frameworks(${framework})
-    endforeach(framework)
-ENDMACRO(vlc_find_frameworks)
\ No newline at end of file
diff --git a/extras/buildsystem/cmake/include/vlc_module_funcs.cmake b/extras/buildsystem/cmake/include/vlc_module_funcs.cmake
deleted file mode 100644 (file)
index 5598bc7..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-include( ${CMAKE_SOURCE_DIR}/cmake/vlc_add_compile_flag.cmake )
-
-MACRO(vlc_add_module module_name)
-    if(ENABLE_VLC_MODULE_${module_name})
-        add_library( ${module_name}_plugin MODULE ${ARGN} )
-        if( NOT ${ENABLE_NO_SYMBOL_CHECK} )
-            vlc_module_add_link_libraries( ${module_name} libvlc )
-        endif( NOT ${ENABLE_NO_SYMBOL_CHECK} )
-        vlc_get_module_compile_flags(compile_flags ${module_name})
-        set_target_properties( ${module_name}_plugin PROPERTIES COMPILE_FLAGS
-                 "${compile_flags}" )
-        set_target_properties( ${module_name}_plugin PROPERTIES LINK_FLAGS "${VLC_${module_name}_LINK_FLAGS}" )
-        if (VLC_${module_name}_LINK_LIBRARIES)
-            target_link_libraries( ${module_name}_plugin ${VLC_${module_name}_LINK_LIBRARIES})
-        endif (VLC_${module_name}_LINK_LIBRARIES)
-        install_targets(/modules ${module_name}_plugin)
-    endif(ENABLE_VLC_MODULE_${module_name})
-ENDMACRO(vlc_add_module)
-
-MACRO(vlc_get_module_compile_flags var module_name)
-    set(${var} "-D__PLUGIN__ -DMODULE_STRING=\\\"${module_name}\\\" -DMODULE_NAME_IS_${module_name} -I${CMAKE_CURRENT_SOURCE_DIR} ${VLC_${module_name}_COMPILE_FLAG}")
-ENDMACRO(vlc_get_module_compile_flags)
-
-MACRO(vlc_register_modules module_state)
-    foreach( module_name ${ARGN} )
-        set( STATE module_state)
-        if(STATE)
-            set(VLC_ENABLED_MODULES_LIST ${VLC_ENABLED_MODULES_LIST} ${module_name}_plugin)
-        else(STATE)
-        endif(STATE)
-        OPTION( ENABLE_VLC_MODULE_${module_name} "Enable the ${module_name} module" ${module_state} )
-    endforeach( module_name )
-ENDMACRO(vlc_register_modules)
-
-MACRO(vlc_enable_modules module_names)
-    vlc_register_modules( ON ${ARGV} )
-ENDMACRO(vlc_enable_modules)
-
-MACRO(vlc_disable_modules module_names)
-    vlc_register_modules( OFF ${ARGV} )
-ENDMACRO(vlc_disable_modules)
-
-MACRO(vlc_set_module_properties module_name)
-    set_target_properties(${module_name}_plugin ${ARGN})
-ENDMACRO(vlc_set_module_properties)
-
-MACRO(vlc_module_add_link_flags module_name)
-    set(VLC_${module_name}_LINK_FLAGS ${VLC_${module_name}_LINK_FLAGS} ${ARGN})
-ENDMACRO(vlc_module_add_link_flags)
-
-MACRO(vlc_module_add_link_libraries module_name)
-    set(VLC_${module_name}_LINK_LIBRARIES ${VLC_${module_name}_LINK_LIBRARIES} ${ARGN})
-ENDMACRO(vlc_module_add_link_libraries)
-
-MACRO(vlc_add_module_compile_flag module_name)
-    set(VLC_${module_name}_COMPILE_FLAG ${VLC_${module_name}_COMPILE_FLAG} ${ARGN})
-ENDMACRO(vlc_add_module_compile_flag)
-
diff --git a/extras/buildsystem/cmake/include/vlc_test_inline.cmake b/extras/buildsystem/cmake/include/vlc_test_inline.cmake
deleted file mode 100644 (file)
index 7939720..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# This handy test is from Jack Kelly on the cmake email list.
-# Here is a minimal working example. It tests the inline keyword,
-# then __inline__ and then __inline. When it finds one that works,
-# it will ADD_DEFINITIONS(-Dinline=${KEYWORD}) and if none work, it
-# will ADD_DEFINITIONS(-Dinline=).
-
-# Inspired from /usr/share/autoconf/autoconf/c.m4
-include (CheckCSourceCompiles)
-FOREACH(KEYWORD "inline" "__inline__" "__inline")
-   IF(NOT DEFINED C_INLINE)
-     check_c_source_compiles(
-       "typedef int foo_t; static inline foo_t static_foo(){return 0;}
-        foo_t foo(){return 0;} int main(int argc, char *argv[]){return 0;}"
-        C_HAS_${KEYWORD})
-     IF(C_HAS_${KEYWORD})
-       SET(C_INLINE TRUE)
-       ADD_DEFINITIONS("-Dinline=${KEYWORD}")
-     ENDIF(C_HAS_${KEYWORD})
-   ENDIF(NOT DEFINED C_INLINE)
-ENDFOREACH(KEYWORD)
-IF(NOT DEFINED C_INLINE)
-   ADD_DEFINITIONS("-Dinline=")
-ENDIF(NOT DEFINED C_INLINE)
diff --git a/extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh b/extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
deleted file mode 100755 (executable)
index 5918419..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-echo "Searching $1"
-for file in `find $1 -name "Modules.am"`; do
-     cmake_file=`dirname $file`/CMakeLists.txt
-     echo "Creating $cmake_file"
-     cat $file | perl -ne 's/\\\n/ /g; print' | sed -n -e "s/^SOURCES_\([^\ ]*\)[ ]*=\(.*\)$/vlc_add_module( \1 \2 )/p" | tr '\t' ' '  | sed 's/  */ /g'  | sed 's/\$(NULL)//g' > $cmake_file
-     dir=`dirname $file`
-     echo "" >> $cmake_file
-     for subdirfile in `find $dir -name "Modules.am"`; do
-        if [ "$subdirfile" != "$file" ]; then
-          subdir=`echo \`dirname $subdirfile\` | sed -e "s:$dir::" | sed -e "s:^/::"`
-          echo "add_subdirectory( $subdir )" >> $cmake_file
-        fi
-     done
-done
diff --git a/extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh b/extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh
deleted file mode 100755 (executable)
index f8abd9a..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-cmake_dir=extras/buildsystem/cmake
-
-if ! test -e configure.ac
-then
-   echo "***"
-   echo "*** Error: You must run that script from the root vlc source tree"
-   echo "***"
-   exit -1
-fi
-
-echo "Installing CMakeLists.txt"
-rm -f CMakeLists.txt
-ln -sf $cmake_dir/CMakeLists/root_CMakeLists.txt CMakeLists.txt
-
-echo "Installing src/CMakeLists.txt"
-rm -f src/CMakeLists.txt
-ln -sf ../$cmake_dir/CMakeLists/src_CMakeLists.txt src/CMakeLists.txt
-
-echo "Removing old modules/gui/qt4/CMakeLists.txt"
-rm -f modules/gui/qt4/CMakeLists.txt
-
-echo "Installing libs/loader/CMakeLists.txt"
-rm -f libs/loader/CMakeLists.txt
-ln -s ../../$cmake_dir/CMakeLists/libs_loaders_CMakeLists.txt libs/loader/CMakeLists.txt
-
-echo "Installing modules/CMakeLists.txt"
-rm -f modules/CMakeLists.txt
-ln -s ../$cmake_dir/CMakeLists/modules_CMakeLists.txt modules/CMakeLists.txt
-
-echo "Installing po/CMakeLists.txt"
-rm -f po/CMakeLists.txt
-ln -s ../$cmake_dir/CMakeLists/po_CMakeLists.txt po/CMakeLists.txt
-
-echo "installing test/CMakeLists.txt"
-rm -f test/CMakeLists.txt
-ln -sf ../$cmake_dir/CMakeLists/test_CMakeLists.txt test/CMakeLists.txt
-
-echo "installing include/config.h.cmake"
-rm -f include/config.h.cmake
-ln -sf ../$cmake_dir/config.h.cmake include/config.h.cmake
-
-echo "Installing cmake/"
-rm -f cmake
-ln -sf $cmake_dir/include cmake
-
-echo "Generating CMakeLists for modules/"
-sh $cmake_dir/scripts/convert_modules_to_cmake.sh modules
-
-echo "Installing modules/gui/qt4/CMakeLists.txt"
-rm -f modules/gui/qt4/CMakeLists.txt
-ln -sf ../../../$cmake_dir/CMakeLists/qt4_CMakeLists.txt modules/gui/qt4/CMakeLists.txt
-