← Back to team overview

cairo-dock-team team mailing list archive

[Merge] lp:~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3 into lp:ubuntu/cairo-dock-plug-ins

 

Matthieu Baerts has proposed merging lp:~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3 into lp:ubuntu/cairo-dock-plug-ins.

Requested reviews:
  Ubuntu Sponsors Team (ubuntu-sponsors)
Related bugs:
  Bug #799774 in cairo-dock-plug-ins (Ubuntu): "Please update Cairo-Dock Plug-Ins to 2.3.0~3 version (bugs fixed only) "
  https://bugs.launchpad.net/ubuntu/+source/cairo-dock-plug-ins/+bug/799774

For more details, see:
https://code.launchpad.net/~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3/+merge/65213

This is a bugs fixed version.

How to reproduce the bugs:
   * Simply drop a file into the Drop to Share (aka DND2Share) applet configured to use UbuntuOne and u1sdtool will crash.
   * If the connection is stopped/slowed down during the download of weather xml files, the dock (version 2.3.0~1 and 2.3.0~2.1) will crash.
   * Translations of Status Notifier applet are not enabled.

Thank you

PS: please don't forget to update the core too (LP: #799773)
-- 
https://code.launchpad.net/~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3/+merge/65213
Your team Cairo-Dock Team is subscribed to branch lp:~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-3.
=== removed directory '.pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch'
=== removed file '.pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/CMakeLists.txt'
--- .pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/CMakeLists.txt	2011-06-06 10:13:07 +0000
+++ .pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/CMakeLists.txt	1970-01-01 00:00:00 +0000
@@ -1,941 +0,0 @@
-########### requirements ###############
-
-cmake_minimum_required (VERSION 2.6)
-find_package (PkgConfig)
-include (CheckLibraryExists)
-include (CheckIncludeFiles)
-include (CheckFunctionExists)
-include (CheckSymbolExists)
-
-########### project ###############
-
-project ("cairo-dock-plugins")
-set (VERSION "2.3.0~2")
-
-add_definitions (-std=c99 -Wstrict-prototypes -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration) #-Wunreachable-code -Wno-unused-parameter -Wall
-if (NOT ${CMAKE_BUILD_TYPE})
-	add_definitions (-O3)
-endif()
-add_definitions (-DGL_GLEXT_PROTOTYPES="1")
-
-############ sources tarball #############
-
-set (CPACK_SOURCE_GENERATOR "TGZ")
-set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}")
-set (CPACK_SOURCE_IGNORE_FILES 
-	"/build/;/.bzr/;bzrignore$;/misc/;~$;${CPACK_SOURCE_IGNORE_FILES}")
-include (CPack)
-
-add_custom_target( dist
-	COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
-add_custom_target(dist-bzr
-	COMMAND bzr export ${CMAKE_PROJECT_NAME}-${VERSION}.tar.gz
-	WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-
-############ uninstall #############
-
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/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")
-
-########### global variables ###############
-
-if( WIN32 )
-	message(FATAL_ERROR "Cairo-Dock requires an air-conditioned room. Please close Windows!")
-endif( WIN32 )
-
-set (PACKAGE ${CMAKE_PROJECT_NAME})
-set (GETTEXT_PACKAGE ${PACKAGE})
-
-# get plug-ins install dir
-execute_process(
-    COMMAND pkg-config cairo-dock --variable=pluginsdir		# /usr/lib/cairo-dock
-    OUTPUT_VARIABLE pluginsdir)
-STRING (REGEX REPLACE "\n" "" pluginsdir ${pluginsdir})  # la commande rajoute un retour chariot ...
-# get plug-ins data dir
-execute_process(
-    COMMAND pkg-config cairo-dock --variable=pluginsdatadir	# /usr/share/cairo-dock/plug-ins
-    OUTPUT_VARIABLE pluginsdatadir)
-STRING (REGEX REPLACE "\n" "" pluginsdatadir ${pluginsdatadir})
-# check that version matches with the core
-execute_process(
-    COMMAND pkg-config --modversion cairo-dock			# 2.2.0-3
-    OUTPUT_VARIABLE dock_version)
-STRING (REGEX REPLACE "\n" "" dock_version ${dock_version})
-if (NOT "${dock_version}" STREQUAL "${VERSION}")		# Version
-	MESSAGE (FATAL_ERROR "warning : version mismatch with the core : " ${VERSION} <> ${dock_version})
-endif()
-
-#if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT "${FORCE_LIB64}" STREQUAL "")  # 64bits and force install in lib64
-#	set (libname "lib64")
-#else()
-#	set (libname "lib${LIB_SUFFIX}")
-#endif()
-#set (libdir "${CMAKE_INSTALL_PREFIX}/${libname}/cairo-dock")	# /usr/lib
-
-# check that installation dir matches with the core
-GET_FILENAME_COMPONENT(libdir "${pluginsdir}/.." ABSOLUTE)  # /usr/lib
-GET_FILENAME_COMPONENT(prefix "${pluginsdir}/../.." ABSOLUTE)  # /usr
-if (NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL "${prefix}")
-	message (STATUS "Warning : plug-ins should be installed in the same directory as the core, that is to say in ${pluginsdir}")
-	set (CMAKE_INSTALL_PREFIX "${prefix}")
-	#set (libdir "${CMAKE_INSTALL_PREFIX}/${libname}/cairo-dock")
-endif()
-
-# set internationalisation
-set (GETTEXT_PLUGINS "cairo-dock-plugins")
-set (localedir "${CMAKE_INSTALL_PREFIX}/share/locale")
-set (gaugesdir "${CMAKE_INSTALL_PREFIX}/share/cairo-dock/gauges")
-
-set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/")  # additionnal FindPackage files
-
-########### dependancies ###############
-
-message ("")
-message (STATUS "=====================")
-message (STATUS "Check dependancies...")
-message (STATUS "=====================")
-message ("")
-
-pkg_check_modules ("PACKAGE" REQUIRED "gtk+-2.0" "gthread-2.0" "cairo" "librsvg-2.0" "dbus-1" "dbus-glib-1" "libxml-2.0" "gtkglext-1.0" "cairo-dock")
-
-#############    GLIB    #################
-pkg_check_modules (GLIB glib-2.0)
-	STRING (REGEX REPLACE "\\..*" "" GLIB_MAJOR "${GLIB_VERSION}") # 2.28.3 => 2
-	STRING (REGEX REPLACE "[0-9]*\\.([^ ]+)" "\\1" GLIB_MINOR "${GLIB_VERSION}")  # 2.28.3 => 2.28
-	STRING (REGEX REPLACE "\\.[0-9]*" "" GLIB_MINOR "${GLIB_MINOR}") # 2.28 => 28
-	STRING (REGEX REPLACE ".*\\." "" GLIB_NANO "${GLIB_VERSION}") # 2.28.3 => 3
-	STRING (REGEX REPLACE "-.*" "" GLIB_NANO "${GLIB_NANO}")
-
-############# ALSA_MIXER #################
-set (with_alsa "no")
-if (NOT "${enable-alsa-mixer}" STREQUAL "no")
-	pkg_check_modules (ALSA_MIXER_PACKAGE alsa)
-	if ("${ALSA_MIXER_PACKAGE_FOUND}" STREQUAL "")
-		message (STATUS "Could not find alsa; Cairo-Dock won't be built with AlsaMixer applet.")
-	else()
-		set (GETTEXT_ALSA_MIXER ${GETTEXT_PLUGINS})
-		set (VERSION_ALSA_MIXER "1.0.12")
-		set (PACKAGE_ALSA_MIXER "cd-AlsaMixer")
-		set (with_alsa "yes")
-		set (alsa_mixerdatadir "${pluginsdatadir}/AlsaMixer")
-		configure_file (${CMAKE_CURRENT_SOURCE_DIR}/alsaMixer/data/AlsaMixer.conf.in ${CMAKE_CURRENT_BINARY_DIR}/alsaMixer/data/AlsaMixer.conf)
-		add_subdirectory ("alsaMixer")
-	endif()
-endif()
-
-############# ANIMATED ICONS #################
-set (GETTEXT_ANIMATED_ICONS ${GETTEXT_PLUGINS})
-set (VERSION_ANIMATED_ICONS "1.0.10")
-set (PACKAGE_ANIMATED_ICONS "cd-Animated-icons")
-set (animated_iconsdatadir "${pluginsdatadir}/Animated-icons")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Animated-icons/data/Animated-icons.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Animated-icons/data/Animated-icons.conf)
-add_subdirectory (Animated-icons)
-
-############# CAIRO_PENGUIN #################
-set (GETTEXT_CAIRO_PENGUIN ${GETTEXT_PLUGINS})
-set (VERSION_CAIRO_PENGUIN "1.1.8")
-set (PACKAGE_CAIRO_PENGUIN "cd-Cairo-Penguin")
-set (cairo_penguinuserdirname "Cairo-Penguin")
-set (cairo_penguindatadir "${pluginsdatadir}/Cairo-Penguin")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Cairo-Penguin/data/Cairo-Penguin.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Cairo-Penguin/data/Cairo-Penguin.conf)
-add_subdirectory (Cairo-Penguin)
-
-############# CLIPPER #################
-set (GETTEXT_CLIPPER ${GETTEXT_PLUGINS})
-set (VERSION_CLIPPER "1.1.4")
-set (PACKAGE_CLIPPER "cd-Clipper")
-set (Clipperdatadir "${pluginsdatadir}/Clipper")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Clipper/data/Clipper.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Clipper/data/Clipper.conf)
-add_subdirectory (Clipper)
-
-############# CLOCK #################
-set (with_ical "yes")
-pkg_check_modules ("LIBICAL_PACKAGE" "libical")
-if ("${LIBICAL_PACKAGE_FOUND}" STREQUAL "")
-	set (with_ical "no")
-	message (STATUS "Could not find libical; Clock plugin won't be built with iCal support.")
-endif()
-set (GETTEXT_CLOCK ${GETTEXT_PLUGINS})
-set (VERSION_CLOCK "2.1.2")
-set (PACKAGE_CLOCK "cd-clock")
-set (clockuserdirname "clock")
-set (clockdatadir "${pluginsdatadir}/clock")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/clock/data/clock.conf.in ${CMAKE_CURRENT_BINARY_DIR}/clock/data/clock.conf)
-add_subdirectory (clock)
-
-############# COMPIZ_ICON #################
-set (GETTEXT_COMPIZ_ICON ${GETTEXT_PLUGINS})
-set (VERSION_COMPIZ_ICON "1.1.6")
-set (PACKAGE_COMPIZ_ICON "cd-compiz-icon")
-set (compiz_icondatadir "${pluginsdatadir}/compiz-icon")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/compiz-icon/data/compiz-icon.conf.in ${CMAKE_CURRENT_BINARY_DIR}/compiz-icon/data/compiz-icon.conf)
-add_subdirectory (compiz-icon)
-
-############# DBUS #################
-find_program (PYTHON_EXECUTABLE python)
-EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "import sys; print sys.version" OUTPUT_VARIABLE PYTHON_VERSION)
-if ("${PYTHON_VERSION}" STREQUAL "") 
-	message (STATUS "Could not find Python, won't install Python interface.") 
-	set (with_python "no") 
-else() 
-	STRING (REGEX REPLACE "\n" "" PYTHON_VERSION ${PYTHON_VERSION})
-	message (STATUS "Python Version: ${PYTHON_VERSION}") 
-	GET_FILENAME_COMPONENT(DEBIAN_VERSION /etc/debian_version ABSOLUTE) 
-	if (EXISTS ${DEBIAN_VERSION}) 
-		message (STATUS "  will use '--install-layout deb' with 'python setup.py install'") 
-		set (DEBIAN_INSTALL_LAYOUT "--install-layout deb")
-	endif()
-	set (PYTHON_FOUND "TRUE")
-	set (with_python "yes") 
-endif()
-
-# find_package(Ruby) found libs of ruby-dev but we only need a directory where we can install ruby libs.
-find_program (RUBY_EXECUTABLE ruby)
-EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['rubylibdir']"
-	OUTPUT_VARIABLE RUBY_LIB_DIR)
-message (STATUS "RUBY_LIBRARY: ${RUBY_LIB_DIR}")
-if ("${RUBY_LIB_DIR}" STREQUAL "" OR "${RUBY_LIB_DIR}" STREQUAL "nil")
-	message (STATUS "Could not find ruby libs, won't install Ruby interface.")
-	set (with_ruby "no")
-else()
-	string (REGEX REPLACE "lib/ruby/[0-9].[0-9]" "" RUBY_LIB_DIR_INSTALL "${RUBY_LIB_DIR}")
-	string (REGEX REPLACE "${RUBY_LIB_DIR_INSTALL}" "" RUBY_LIB_DIR_INSTALL "${RUBY_LIB_DIR}")
-	set (RUBY_LIB_DIR "${CMAKE_INSTALL_PREFIX}/${RUBY_LIB_DIR_INSTALL}")
-	message (STATUS "  will be installed in: ${RUBY_LIB_DIR}")
-	set (RUBY_FOUND "TRUE")
-	set (with_ruby "yes")
-endif()
-
-#find_package (Mono)
-find_program (GMCS_EXECUTABLE gmcs)
-if ("${GMCS_EXECUTABLE}" STREQUAL "" OR NOT EXISTS ${GMCS_EXECUTABLE})
-	message (STATUS "Could not find Mono compiler gmcs, won't build Mono interface.")
-	set (with_mono "no")
-else()
-	pkg_check_modules (MONO_PACKAGE glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0)
-	if ("${MONO_PACKAGE_FOUND}" STREQUAL "")
-		message (STATUS "Could not find glib-sharp-2.0, ndesk-dbus-1.0 or ndesk-dbus-glib-1.0; won't be built Mono interface.")
-		set (with_mono "no")
-	else()
-		set (MONO_FOUND "TRUE")
-		set (with_mono "yes")
-	endif()
-endif()
-
-# Valac is only riquired to convert vala files to C files.
-#  So we can directly use produced files (c, h, vapi) without using valac.
-set (with_vala "yes")
-set (with_valac "no")
-find_program (VALAC_EXE valac)
-message (STATUS "VALAC_EXE: ${VALAC_EXE}")
-
-if ("${WITH_VALA}" STREQUAL "no")
-	set (with_vala "no")
-# >= Glib 2.26
-elseif (${GLIB_MAJOR} LESS 3 AND ${GLIB_MINOR} LESS 26)
-	set (with_vala "no")
-elseif (NOT "${VALAC_EXE}" STREQUAL "VALAC_EXE-NOTFOUND") # now it works with 0.10 and 0.11 (= next 0.12)
-	execute_process(COMMAND ${VALAC_EXE} "--version"
-		OUTPUT_VARIABLE "VALA_VERSION")
-	string(REPLACE "Vala" "" "VALA_VERSION" ${VALA_VERSION})
-	string(STRIP ${VALA_VERSION} "VALA_VERSION")
-	message (STATUS "VALA_VERSION: ${VALA_VERSION}")
-
-	STRING (REGEX REPLACE "\\..*" "" VALA_MAJOR "${VALA_VERSION}")
-	# message (STATUS "VALA_MAJOR : ${VALA_MAJOR}")
-	
-	STRING (REGEX REPLACE "[0-9]*\\.([^ ]+)" "\\1" VALA_MINOR "${VALA_VERSION}")  # 0.1.7 => 1.7
-	STRING (REGEX REPLACE "\\.[0-9]*" "" VALA_MINOR "${VALA_MINOR}")
-	# message (STATUS "VALA_MINOR : ${VALA_MINOR}")
-
-	STRING (REGEX REPLACE ".*\\." "" VALA_NANO "${VALA_VERSION}")
-	STRING (REGEX REPLACE "-.*" "" VALA_NANO "${VALA_NANO}")
-	# message (STATUS "VALA_NANO  : ${VALA_NANO}")
-
-	if (${VALA_MAJOR} GREATER 0 OR ${VALA_MINOR} GREATER 9)  # vala > 0.10
-		message (STATUS " Vala compiler OK (>= 0.10).")
-		set (VALAC_FOUND "TRUE")
-		set (with_valac "yes")
-	else()
-		message (STATUS "Vala compiler is too old (0.10 required), won't build Vala interface.")
-	endif()
-endif()
-
-
-set (GETTEXT_DBUS ${GETTEXT_PLUGINS})
-set (VERSION_DBUS "1.2.1")
-set (PACKAGE_DBUS "cd-Dbus")
-set (dbusdatadir "${pluginsdatadir}/Dbus")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Dbus/data/Dbus.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Dbus/data/Dbus.conf)
-add_subdirectory (Dbus)
-
-############# DESKLET_RENDERING #################
-set (GETTEXT_DESKLET_RENDERING ${GETTEXT_PLUGINS})
-set (VERSION_DESKLET_RENDERING "1.5.6")
-set (PACKAGE_DESKLET_RENDERING "cd-desklet-rendering")
-set (desklet_renderingdatadir "${pluginsdatadir}/desklet-rendering")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/desklet-rendering/data/desklet-rendering.conf.in ${CMAKE_CURRENT_BINARY_DIR}/desklet-rendering/data/desklet-rendering.conf)
-add_subdirectory (desklet-rendering)
-
-############# DIALOG_RENDERING #################
-set (GETTEXT_DIALOG_RENDERING ${GETTEXT_PLUGINS})
-set (VERSION_DIALOG_RENDERING "0.5.1")
-set (PACKAGE_DIALOG_RENDERING "cd-dialog-rendering")
-set (dialog_renderingdatadir "${pluginsdatadir}/dialog-rendering")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/dialog-rendering/data/dialog-rendering.conf.in ${CMAKE_CURRENT_BINARY_DIR}/dialog-rendering/data/dialog-rendering.conf)
-add_subdirectory (dialog-rendering)
-
-############# DISKS #################
-set (with_disks "no")
-if ("${enable-disks}" STREQUAL "yes")
-	set (GETTEXT_DISKS ${GETTEXT_PLUGINS})
-	set (VERSION_DISKS "0.0.2")
-	set (PACKAGE_DISKS "cd-disks")
-	set (with_disks "yes")
-	set (disksdatadir "${pluginsdatadir}/Disks")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Disks/data/Disks.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Disks/data/Disks.conf)
-	add_subdirectory ("Disks")
-endif()
-
-############# DND2SHARE #################
-set (GETTEXT_DND2SHARE ${GETTEXT_PLUGINS})
-set (VERSION_DND2SHARE "1.0.5")
-set (PACKAGE_DND2SHARE "cd-dnd2share")
-set (dnd2sharedatadir "${pluginsdatadir}/dnd2share")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/dnd2share/data/dnd2share.conf.in ${CMAKE_CURRENT_BINARY_DIR}/dnd2share/data/dnd2share.conf)
-add_subdirectory (dnd2share)
-
-############# DOCK RENDERING #################
-set (GETTEXT_RENDERING ${GETTEXT_PLUGINS})
-set (VERSION_RENDERING "1.5.9")
-set (PACKAGE_RENDERING "cd-rendering")
-set (renderingdatadir "${pluginsdatadir}/rendering")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/dock-rendering/data/rendering.conf.in ${CMAKE_CURRENT_BINARY_DIR}/dock-rendering/data/rendering.conf)
-add_subdirectory (dock-rendering)
-
-############# DONCKY #################
-set (with_doncky "no")
-if ("${enable-doncky}" STREQUAL "yes")
-	set (GETTEXT_DONCKY ${GETTEXT_PLUGINS})
-	set (VERSION_DONCKY "0.0.4")
-	set (PACKAGE_DONCKY "cd-doncky")
-	set (with_doncky "yes")
-	set (donckydatadir "${pluginsdatadir}/Doncky")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Doncky/data/Doncky.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Doncky/data/Doncky.conf)
-	add_subdirectory (Doncky)
-endif()
-
-############# DROP INDICATOR #################
-set (GETTEXT_DROP_INDICATOR ${GETTEXT_PLUGINS})
-set (VERSION_DROP_INDICATOR "1.1.4")
-set (PACKAGE_DROP_INDICATOR "cd-drop_indicator")
-set (drop_indicatordatadir "${pluginsdatadir}/drop-indicator")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/drop-indicator/data/drop_indicator.conf.in ${CMAKE_CURRENT_BINARY_DIR}/drop-indicator/data/drop_indicator.conf)
-add_subdirectory (drop-indicator)
-
-############# DUSTBIN #################
-set (GETTEXT_DUSTBIN ${GETTEXT_PLUGINS})
-set (VERSION_DUSTBIN "2.3.1")
-set (PACKAGE_DUSTBIN "cd-dustbin")
-set (dustbinuserdirname "dustbin")
-set (dustbindatadir "${pluginsdatadir}/dustbin")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/dustbin/data/dustbin.conf.in ${CMAKE_CURRENT_BINARY_DIR}/dustbin/data/dustbin.conf)
-add_subdirectory (dustbin)
-
-############# FOLDERS #################
-set (GETTEXT_FOLDERS ${GETTEXT_PLUGINS})
-set (VERSION_FOLDERS "0.2.1")
-set (PACKAGE_FOLDERS "cd-Folders")
-set (foldersdatadir "${pluginsdatadir}/Folders")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Folders/data/Folders.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Folders/data/Folders.conf)
-add_subdirectory (Folders)
-
-############# GMENU #################
-set (with_gmenu "no")
-if (NOT "${enable-gmenu}" STREQUAL "no")
-	pkg_check_modules (GMENU_PACKAGE libgnome-menu)
-	if ("${GMENU_PACKAGE_FOUND}" STREQUAL "")
-		message (STATUS "Could not find libgnome-menu; Cairo-Dock won't be built with GMenu applet.")
-	else()
-		set (GETTEXT_GMENU ${GETTEXT_PLUGINS})
-		set (VERSION_GMENU "1.1.6")
-		set (PACKAGE_GMENU "cd-GMenu")
-		set (with_gmenu "yes")
-		set (gmenudatadir "${pluginsdatadir}/GMenu")
-		configure_file (${CMAKE_CURRENT_SOURCE_DIR}/GMenu/data/GMenu.conf.in ${CMAKE_CURRENT_BINARY_DIR}/GMenu/data/GMenu.conf)
-		add_subdirectory ("GMenu")
-	endif()
-endif()
-
-############# GVFS-INTEGRATION #################
-pkg_check_modules ("LIBGIO" "gio-2.0")
-add_subdirectory (gvfs-integration)
-
-############# GNOME-INTEGRATION #################
-set (with_gnome_integration "no")
-if (NOT "${enable-gnome-integration}" STREQUAL "no")
-	pkg_check_modules (GNOME_INTEGRATION gio-2.0)
-	if ("${GNOME_INTEGRATION_FOUND}" STREQUAL "")
-		message (STATUS "Could not find gio; Cairo-Dock won't be built with Gnome>=2.22 support.")
-	else()
-		set (VERSION_GNOME_INTEGRATION "1.0.3")
-		set (PACKAGE_GNOME_INTEGRATION "cd_gnome-integration")
-		set (with_gnome_integration "yes")
-		set (gnome_integrationdatadir "${pluginsdatadir}/gnome-integration")
-		add_subdirectory ("gnome-integration")
-	endif()
-endif()
-
-############# GNOME-INTEGRATION-OLD #################
-set (with_gnome_integration_old "no")
-if ("${enable-old-gnome-integration}" STREQUAL "yes")
-	pkg_check_modules (OLD_GNOME_INTEGRATION gnome-vfs-2.0 libgnomeui-2.0)
-	if ("${OLD_GNOME_INTEGRATION_FOUND}" STREQUAL "")
-		message (STATUS "Could not find gnome-vfs and/or gnomeui; Cairo-Dock won't be built with Gnome<2.22 support.")
-	else()
-		set (VERSION_GNOME_INTEGRATION_OLD "1.0.4")
-		set (PACKAGE_GNOME_INTEGRATION_OLD "cd_gnome-integration-old")
-		set (with_gnome_integration_old "yes")
-		set (gnome_integration_olddatadir "${pluginsdatadir}/gnome-integration-old")
-		add_subdirectory ("gnome-integration-old")
-	endif()
-endif()
-
-############# ICON EFFECT #################
-set (GETTEXT_ICON_EFFECTS ${GETTEXT_PLUGINS})
-set (VERSION_ICON_EFFECTS "1.2.4")
-set (PACKAGE_ICON_EFFECTS "cd-icon-effect")
-set (icon_effectsdatadir "${pluginsdatadir}/icon-effect")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/icon-effect/data/icon-effect.conf.in ${CMAKE_CURRENT_BINARY_DIR}/icon-effect/data/icon-effect.conf)
-add_subdirectory (icon-effect)
-
-############# INDICATOR-APPLET #################
-# Note: the names of dbusmenu-glib and dbusmenu-gtk have changed...
-pkg_check_modules (DBUSMENU_04 QUIET dbusmenu-glib-0.4)
-pkg_check_modules (DBUSMENU_GTK_04 QUIET dbusmenu-gtk-0.4)
-pkg_check_modules (INDICATOR_APPLET indicator libido-0.1)
-if ("${DBUSMENU_04_FOUND}" STREQUAL "1")
-	pkg_check_modules (DBUSMENU dbusmenu-glib-0.4)
-else()
-	pkg_check_modules (DBUSMENU dbusmenu-glib)
-endif()
-if ("${DBUSMENU_GTK_04_FOUND}" STREQUAL "1")
-	pkg_check_modules (DBUSMENU_GTK dbusmenu-gtk-0.4)
-else()
-	pkg_check_modules (DBUSMENU_GTK dbusmenu-gtk)
-endif()
-if ("${INDICATOR_APPLET_FOUND}" STREQUAL "1" AND "${DBUSMENU_FOUND}" STREQUAL "1" AND "${DBUSMENU_GTK_FOUND}" STREQUAL "1")
-	message (STATUS "DBUSMENU_VERSION : ${DBUSMENU_VERSION}")
-	
-	STRING (REGEX REPLACE "\\..*" "" DBUSMENU_MAJOR "${DBUSMENU_VERSION}")
-	# message (STATUS "DBUSMENU_MAJOR : ${DBUSMENU_MAJOR}")
-	
-	STRING (REGEX REPLACE "[0-9]*\\.([^ ]+)" "\\1" DBUSMENU_MINOR "${DBUSMENU_VERSION}")  # 0.1.7 => 1.7
-	STRING (REGEX REPLACE "\\.[0-9]*" "" DBUSMENU_MINOR "${DBUSMENU_MINOR}")
-	# message (STATUS "DBUSMENU_MINOR : ${DBUSMENU_MINOR}")
-	
-	STRING (REGEX REPLACE ".*\\." "" DBUSMENU_NANO "${DBUSMENU_VERSION}")
-	STRING (REGEX REPLACE "-.*" "" DBUSMENU_NANO "${DBUSMENU_NANO}")
-	# message (STATUS "DBUSMENU_NANO  : ${DBUSMENU_NANO}")
-	
-	execute_process(
-		COMMAND pkg-config --variable=iconsdir indicator
-		OUTPUT_VARIABLE INDICATORICONSDIR)
-	STRING (REGEX REPLACE "\n" "" INDICATORICONSDIR ${INDICATORICONSDIR})  # la commande rajoute un retour chariot ...
-	add_subdirectory (Indicator-applet)
-	set (with_indicator "yes")
-endif()
-
-############# ILLUSION #################
-set (GETTEXT_ILLUSION ${GETTEXT_PLUGINS})
-set (VERSION_ILLUSION "1.0.7")
-set (PACKAGE_ILLUSION "cd-illusion")
-set (illusiondatadir "${pluginsdatadir}/illusion")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/illusion/data/illusion.conf.in ${CMAKE_CURRENT_BINARY_DIR}/illusion/data/illusion.conf)
-add_subdirectory (illusion)
-
-############# KDE-INTEGRATION #################
-set (with_kde_integration "no")
-if (NOT "${enable-kde-integration}" STREQUAL "no")
-	pkg_check_modules (KDE_INTEGRATION gio-2.0)
-	if ("${KDE_INTEGRATION_FOUND}" STREQUAL "")
-		message (STATUS "Could not find kde libs; Cairo-Dock won't be built with KDE support.")
-	else()
-		set (VERSION_KDE_INTEGRATION "0.0.2")
-		set (PACKAGE_KDE_INTEGRATION "cd_kde-integration")
-		set (with_kde_integration "yes")
-		set (kde_integrationdatadir "${pluginsdatadir}/kde-integration")
-		add_subdirectory ("kde-integration")
-	endif()
-endif()
-
-############# KEYBOARD_INDICATOR #################
-set (with_keyboard_indicator "no")
-pkg_check_modules (KEYBOARD_INDICATOR_PACKAGE libxklavier)
-if ("${KEYBOARD_INDICATOR_PACKAGE_FOUND}" STREQUAL "")
-	message (STATUS "Could not find libxklavier; Cairo-Dock won't be built with keyboard-indicator applet.")
-else()
-	set (GETTEXT_KEYBOARD_INDICATOR ${GETTEXT_PLUGINS})
-	set (VERSION_KEYBOARD_INDICATOR "1.1.3")
-	set (PACKAGE_KEYBOARD_INDICATOR "cd-keyboard-indicator")
-	set (with_keyboard_indicator "yes")
-	set (keyboard_indicatordatadir "${pluginsdatadir}/keyboard-indicator")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/keyboard-indicator/data/keyboard-indicator.conf.in ${CMAKE_CURRENT_BINARY_DIR}/keyboard-indicator/data/keyboard-indicator.conf)
-	add_subdirectory ("keyboard-indicator")
-endif()
-
-############# LOGOUT #################
-set (GETTEXT_LOGOUT ${GETTEXT_PLUGINS})
-set (VERSION_LOGOUT "1.2.10")
-set (PACKAGE_LOGOUT "cd-logout")
-set (logoutdatadir "${pluginsdatadir}/logout")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/logout/data/logout.conf.in ${CMAKE_CURRENT_BINARY_DIR}/logout/data/logout.conf)
-add_subdirectory (logout)
-
-############# MAIL #################
-set (with_mail "no")
-# find the compilation flags
-execute_process(
-	COMMAND libetpan-config --cflags
-	OUTPUT_VARIABLE MAIL_PACKAGE_CFLAGS)
-if (NOT "${MAIL_PACKAGE_CFLAGS}" STREQUAL "") # if we don't want to use it, we don't want to have an error
-	STRING (REGEX MATCHALL "-I[^ ]+ " TMP_VARIABLE "${MAIL_PACKAGE_CFLAGS}") # first extract the "-I" options
-	STRING (REGEX REPLACE ";" "" TMP_VARIABLE "${TMP_VARIABLE}")
-	STRING (REGEX REPLACE " $" "" TMP_VARIABLE "${TMP_VARIABLE}")
-	STRING (REGEX REPLACE "-I([^ ]+)" "\\1" MAIL_PACKAGE_INCLUDE_DIRS "${TMP_VARIABLE}")  # then remove the "-I" string
-endif()
-# find the link flags
-execute_process(
-	COMMAND libetpan-config --libs
-	OUTPUT_VARIABLE MAIL_PACKAGE_LIBS)
-if (NOT "${MAIL_PACKAGE_LIBS}" STREQUAL "")
-	#   find the link libraries
-	STRING (REGEX MATCHALL "-l[^ ]+ " TMP_VARIABLE "${MAIL_PACKAGE_LIBS}") # extract the "-l" options
-	STRING (REGEX REPLACE ";" "" TMP_VARIABLE "${TMP_VARIABLE}")
-	STRING (REGEX REPLACE " $" "" MAIL_PACKAGE_LIBRARIES "${TMP_VARIABLE}")
-	#   find the link directories
-	STRING (REGEX MATCHALL "-L[^ ]+ " TMP_VARIABLE "${MAIL_PACKAGE_LIBS}") # extract the "-L" options
-	STRING (REGEX REPLACE ";" "" TMP_VARIABLE "${TMP_VARIABLE}")
-	STRING (REGEX REPLACE " $" "" TMP_VARIABLE "${TMP_VARIABLE}")
-	STRING (REGEX REPLACE "-L([^ ]+)" "\\1" MAIL_PACKAGE_LIBRARY_DIRS "${TMP_VARIABLE}")  # then remove the "-L" string
-endif()
-if ("${MAIL_PACKAGE_LIBS}" STREQUAL "")
-	message (STATUS "warning : Could not find libetpan; Cairo-Dock won't be built with Mail applet.")
-else()
-	message (STATUS "libetpan found. Using the following options:")
-	message (STATUS "  Include directories: ${MAIL_PACKAGE_INCLUDE_DIRS}")
-	message (STATUS "  Link directories: ${MAIL_PACKAGE_LIBRARY_DIRS}")
-	message (STATUS "  Link libraries: ${MAIL_PACKAGE_LIBRARIES}")
-	set (GETTEXT_MAIL ${GETTEXT_PLUGINS})
-	set (VERSION_MAIL "1.0.8")
-	set (PACKAGE_MAIL "cd-mail")
-	set (maildatadir "${pluginsdatadir}/mail")
-	set (with_mail "yes")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/mail/data/mail.conf.in ${CMAKE_CURRENT_BINARY_DIR}/mail/data/mail.conf)
-	add_subdirectory ("mail")
-endif()
-
-############# MEMENU #################
-# We try to detect if the user is on Ubuntu to know which bus we have to use...
-execute_process(
-	COMMAND lsb_release -i
-	OUTPUT_VARIABLE DISTRO_ID)  # -> "Distributor ID:	Ubuntu"
-if (NOT "${DISTRO_ID}" STREQUAL "") # this tool isn't available on all distributions
-	STRING (REGEX REPLACE "\n" "" DISTRO_ID ${DISTRO_ID})  # retour chariot
-	STRING (REGEX REPLACE ".*: *\t*" "" DISTRO_ID ${DISTRO_ID})
-
-	execute_process(
-		COMMAND lsb_release -r
-		OUTPUT_VARIABLE DISTRO_RELEASE)  # -> "Release:	10.10"
-	STRING (REGEX REPLACE "\n" "" DISTRO_RELEASE ${DISTRO_RELEASE})  # retour chariot
-	STRING (REGEX REPLACE ".*: *\t*" "" DISTRO_RELEASE ${DISTRO_RELEASE})
-else()
-	# on Ubuntu deb builders, lsb_release isn't available but we can have a look to /etc/issue.net
-	get_filename_component(ISSUE_NET "/etc/issue.net" ABSOLUTE)
-	if (EXISTS ${ISSUE_NET}) # to not have an error with cat
-		execute_process(
-			COMMAND cat ${ISSUE_NET}
-			OUTPUT_VARIABLE DISTRO_RELEASE)  # -> Ubuntu 10.10 || Ubuntu natty (development branch)
-		if (NOT "${DISTRO_RELEASE}" STREQUAL "")
-			STRING (REGEX REPLACE "\n" "" DISTRO_RELEASE ${DISTRO_RELEASE})  # retour chariot
-			STRING (REGEX REPLACE " (.+)" "" DISTRO_ID ${DISTRO_RELEASE})
-			if ("${DISTRO_ID}" STREQUAL "Ubuntu")
-				STRING (REGEX REPLACE ".[(]development branch[)]" "" DISTRO_RELEASE ${DISTRO_RELEASE})
-				STRING (REGEX REPLACE ".LTS" "" DISTRO_RELEASE ${DISTRO_RELEASE}) # Ubuntu 10.04.1 LTS
-				STRING (REGEX REPLACE "(.+) " "" DISTRO_RELEASE ${DISTRO_RELEASE})
-				if ("${DISTRO_RELEASE}" STREQUAL "natty")
-					set (DISTRO_RELEASE "11.04")
-				elseif ("${DISTRO_RELEASE}" STREQUAL "oneiric")
-					set (DISTRO_RELEASE "11.10")
-				endif()
-			endif()
-		endif()
-	endif()
-endif()
-
-set (INDICATOR_OLD_NAMES 0)
-if (NOT "${DISTRO_ID}" STREQUAL "")
-	message (STATUS "DISTRO_ID: ${DISTRO_ID}, DISTRO_RELEASE: ${DISTRO_RELEASE}")
-endif()
-if ("${DISTRO_ID}" STREQUAL "Ubuntu")
-	STRING (REGEX REPLACE "\\..*" "" DISTRO_RELEASE_MAJOR ${DISTRO_RELEASE})
-	# message (STATUS "DISTRO_RELEASE_MAJOR: ${DISTRO_RELEASE_MAJOR}")
-	if (${DISTRO_RELEASE_MAJOR} LESS 11)  # from 11.04, new names are used.
-		set (INDICATOR_OLD_NAMES 1)
-		message (STATUS "Indicators: use old Ayatana Dbus names")
-	endif()
-endif()
-
-set (with_me_menu "no")
-if ("${with_indicator}" STREQUAL "yes")
-	set (GETTEXT_MEMENU ${GETTEXT_PLUGINS})
-	set (VERSION_MEMENU "1.0.1")
-	set (PACKAGE_MEMENU "cd-MeMenu")
-	set (memenudatadir "${pluginsdatadir}/MeMenu")
-	set (with_me_menu "yes")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/MeMenu/data/MeMenu.conf.in ${CMAKE_CURRENT_BINARY_DIR}/MeMenu/data/MeMenu.conf)
-	add_subdirectory (MeMenu)
-endif()
-
-############# MESSAGING_MENU #################
-set (with_messaging_menu "no")
-if ("${with_indicator}" STREQUAL "yes")
-	set (GETTEXT_MESSAGING_MENU ${GETTEXT_PLUGINS})
-	set (VERSION_MESSAGING_MENU "1.0.1")
-	set (PACKAGE_MESSAGING_MENU "cd-Messaging-Menu")
-	set (with_messaging_menu "yes")
-	set (messaging_menudatadir "${pluginsdatadir}/Messaging-Menu")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Messaging-Menu/data/Messaging-Menu.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Messaging-Menu/data/Messaging-Menu.conf)
-	add_subdirectory (Messaging-Menu)
-endif()
-
-############# MOTION BLUR #################
-set (GETTEXT_MOTION_BLUR ${GETTEXT_PLUGINS})
-set (VERSION_MOTION_BLUR "1.0.4")
-set (PACKAGE_MOTION_BLUR "cd-motion_blur")
-set (motion_blurdatadir "${pluginsdatadir}/motion-blur")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/motion-blur/data/motion_blur.conf.in ${CMAKE_CURRENT_BINARY_DIR}/motion-blur/data/motion_blur.conf)
-add_subdirectory (motion-blur)
-
-############# MUSICPLAYER #################
-set (GETTEXT_MUSICPLAYER ${GETTEXT_PLUGINS})
-set (VERSION_MUSICPLAYER "1.0.7")
-set (PACKAGE_MUSICPLAYER "cd-musicPlayer")
-set (musicplayerdatadir "${pluginsdatadir}/musicPlayer")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/musicPlayer/data/musicPlayer.conf.in ${CMAKE_CURRENT_BINARY_DIR}/musicPlayer/data/musicPlayer.conf)
-add_subdirectory (musicPlayer)
-
-############# NETSPEED #################
-set (GETTEXT_NETSPEED ${GETTEXT_PLUGINS})
-set (VERSION_NETSPEED "1.2.5")
-set (PACKAGE_NETSPEED "cd-netspeed")
-set (netspeeddatadir "${pluginsdatadir}/netspeed")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/netspeed/data/netspeed.conf.in ${CMAKE_CURRENT_BINARY_DIR}/netspeed/data/netspeed.conf)
-add_subdirectory (netspeed)
-
-############# NETWORK_MONITOR #################
-set (with_network_monitor "no")
-if ("${enable-network-monitor}" STREQUAL "yes")
-	set (GETTEXT_NETWORK_MONITOR ${GETTEXT_PLUGINS})
-	set (VERSION_NETWORK_MONITOR "0.2.3")
-	set (PACKAGE_NETWORK_MONITOR "cd-network-monitor")
-	set (with_network_monitor "yes")
-	set (network_monitordatadir "${pluginsdatadir}/Network-Monitor")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Network-Monitor/data/Network-Monitor.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Network-Monitor/data/Network-Monitor.conf)
-	add_subdirectory (Network-Monitor)
-endif()
-
-############# POWERMANAGER #################
-set (GETTEXT_POWERMANAGER ${GETTEXT_PLUGINS})
-set (VERSION_POWERMANAGER "1.3.4")
-set (PACKAGE_POWERMANAGER "cd-powermanager")
-set (powermanagerdatadir "${pluginsdatadir}/powermanager")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/powermanager/data/powermanager.conf.in ${CMAKE_CURRENT_BINARY_DIR}/powermanager/data/powermanager.conf)
-add_subdirectory (powermanager)
-
-############# QUICK BROWSER #################
-set (GETTEXT_QUICK_BROWSER ${GETTEXT_PLUGINS})
-set (VERSION_QUICK_BROWSER "1.0.8")
-set (PACKAGE_QUICK_BROWSER "cd-quick-browser")
-set (quick_browserdatadir "${pluginsdatadir}/quick_browser")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/quick-browser/data/quick-browser.conf.in ${CMAKE_CURRENT_BINARY_DIR}/quick-browser/data/quick-browser.conf)
-add_subdirectory (quick-browser)
-
-############# RECENT-EVENTS #################
-set (with_recent_events "no")
-pkg_check_modules (RECENT_EVENTS zeitgeist-1.0)
-if ("${RECENT_EVENTS_FOUND}" STREQUAL "")
-	message (STATUS "Could not find libzeitgeist; Cairo-Dock won't be built with Zeitgeist support.")
-else()
-	set (GETTEXT_RECENT_EVENTS ${GETTEXT_PLUGINS})
-	set (VERSION_RECENT_EVENTS "0.0.2")
-	set (PACKAGE_RECENT_EVENTS "cd-Recent-Events")
-	set (with_recent_events "yes")
-	set (recent_eventsdatadir "${pluginsdatadir}/Recent-Events")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Recent-Events/data/Recent-Events.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Recent-Events/data/Recent-Events.conf)
-	add_subdirectory ("Recent-Events")
-endif()
-
-############# REMOTE_CONTROL #################
-set (GETTEXT_REMOTE_CONTROL ${GETTEXT_PLUGINS})
-set (VERSION_REMOTE_CONTROL "0.0.2")
-set (PACKAGE_REMOTE_CONTROL "cd-Remote-Control")
-set (remote_controldatadir "${pluginsdatadir}/Remote-Control")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Remote-Control/data/Remote-Control.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Remote-Control/data/Remote-Control.conf)
-add_subdirectory (Remote-Control)
-
-############# RSSREADER #################
-set (GETTEXT_RSS_READER ${GETTEXT_PLUGINS})
-set (VERSION_RSS_READER "1.0.3")
-set (PACKAGE_RSS_READER "cd-rssreader")
-set (rss_readerdatadir "${pluginsdatadir}/RSSreader")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/RSSreader/data/RSSreader.conf.in ${CMAKE_CURRENT_BINARY_DIR}/RSSreader/data/RSSreader.conf)
-add_subdirectory (RSSreader)
-
-############# SCOOBY_DO #################
-set (with_scooby_do "no")
-if ("${enable-scooby-do}" STREQUAL "yes")
-	set (GETTEXT_SCOOBY_DO ${GETTEXT_PLUGINS})
-	set (VERSION_SCOOBY_DO "0.1.1")
-	set (PACKAGE_SCOOBY_DO "cd-scooby-do")
-	set (with_scooby_do "yes")
-	set (scooby_dodatadir "${pluginsdatadir}/Scooby-Do")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Scooby-Do/data/Scooby-Do.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Scooby-Do/data/Scooby-Do.conf)
-	add_subdirectory (Scooby-Do)
-endif()
-
-############# SHORTCUTS #################
-set (GETTEXT_SHORTCUTS ${GETTEXT_PLUGINS})
-set (VERSION_SHORTCUTS "1.3.1")
-set (PACKAGE_SHORTCUTS "cd-shortcuts")
-set (shortcutsdatadir "${pluginsdatadir}/shortcuts")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/shortcuts/data/shortcuts.conf.in ${CMAKE_CURRENT_BINARY_DIR}/shortcuts/data/shortcuts.conf)
-add_subdirectory (shortcuts)
-
-############# SHOW DESKTOP #################
-set (with_xrandr "yes")
-pkg_check_modules (SHOW_DESKTOP_XRANDR xrandr)
-if ("${SHOW_DESKTOP_XRANDR_FOUND}" STREQUAL "")
-	message (STATUS "Could not find xrandr; ShowDesktop won't be built with screen resolution abilities.")
-	set (with_xrandr "no")
-endif()
-set (GETTEXT_SHOW_DESKTOP ${GETTEXT_PLUGINS})
-set (VERSION_SHOW_DESKTOP "1.2.4")
-set (PACKAGE_SHOW_DESKTOP "cd-showDesktop")
-set (show_desktopdatadir "${pluginsdatadir}/showDesktop")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/showDesktop/data/showDesktop.conf.in ${CMAKE_CURRENT_BINARY_DIR}/showDesktop/data/showDesktop.conf)
-add_subdirectory (showDesktop)
-
-############# SHOW MOUSE #################
-set (GETTEXT_SHOW_MOUSE ${GETTEXT_PLUGINS})
-set (VERSION_SHOW_MOUSE "1.0.4")
-set (PACKAGE_SHOW_MOUSE "cd-show_mouse")
-set (show_mousedatadir "${pluginsdatadir}/show_mouse")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/show-mouse/data/show_mouse.conf.in ${CMAKE_CURRENT_BINARY_DIR}/show-mouse/data/show_mouse.conf)
-add_subdirectory (show-mouse)
-
-############# SLIDER #################
-set (with_exif "yes")
-pkg_check_modules (EXIF libexif)
-if ("${EXIF_FOUND}" STREQUAL "")
-	message (STATUS "Could not find libexif; Slider won't be able to rotate the images accordingly to their exif data.")
-	set (with_exif "no")
-endif()
-set (GETTEXT_SLIDER ${GETTEXT_PLUGINS})
-set (VERSION_SLIDER "2.0.8")
-set (PACKAGE_SLIDER "cd-slider")
-set (sliderdatadir "${pluginsdatadir}/slider")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/slider/data/slider.conf.in ${CMAKE_CURRENT_BINARY_DIR}/slider/data/slider.conf)
-add_subdirectory (slider)
-
-############# STACK #################
-set (GETTEXT_STACK ${GETTEXT_PLUGINS})
-set (VERSION_STACK "0.3.1")
-set (PACKAGE_STACK "cd-stack")
-set (stackdatadir "${pluginsdatadir}/stack")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/stack/data/stack.conf.in ${CMAKE_CURRENT_BINARY_DIR}/stack/data/stack.conf)
-add_subdirectory (stack)
-
-############# STATUS NOTIFIER #################
-if ("${DBUSMENU_GTK_FOUND}" STREQUAL "")
-	message (STATUS "Could not find Status-Notifier libs; Cairo-Dock won't be built with Status-Notifier support.")
-else()
-	set (GETTEXT_STATUS_NOTIFIER ${GETTEXT_PLUGINS})
-	set (VERSION_STATUS_NOTIFIER "0.1.3")
-	set (PACKAGE_STATUS_NOTIFIER "cd-status-notifier")
-	set (with_status_notifier "yes")
-	set (status_notifierdatadir "${pluginsdatadir}/Status-Notifier")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Status-Notifier/data/Status-Notifier.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Status-Notifier/data/Status-Notifier.conf)
-	add_subdirectory (Status-Notifier)
-endif()
-
-############# SWITCHER #################
-set (GETTEXT_SWITCHER ${GETTEXT_PLUGINS})
-set (VERSION_SWITCHER "2.1.6")
-set (PACKAGE_SWITCHER "cd-switcher")
-set (switcherdatadir "${pluginsdatadir}/switcher")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/switcher/data/switcher.conf.in ${CMAKE_CURRENT_BINARY_DIR}/switcher/data/switcher.conf)
-add_subdirectory (switcher)
-
-############# SYSTEM MONITOR #################
-set (with_sensors "yes")
-find_package (Sensors)
-if (NOT "${SENSORS_FOUND}" STREQUAL "TRUE")
-	message (STATUS "Could not find libsensors; System-Monitor won't be able to monitor fan speed and CPU temperature.")
-	set (with_sensors "no")
-endif()
-set (GETTEXT_SYSTEM_MONITOR ${GETTEXT_PLUGINS})
-set (VERSION_SYSTEM_MONITOR "1.0.6")
-set (PACKAGE_SYSTEM_MONITOR "cd-system-monitor")
-set (system_monitordatadir "${pluginsdatadir}/System-monitor")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/System-Monitor/data/System-Monitor.conf.in ${CMAKE_CURRENT_BINARY_DIR}/System-Monitor/data/System-Monitor.conf)
-add_subdirectory (System-Monitor)
-
-############# SYSTRAY #################
-set (GETTEXT_SYSTRAY ${GETTEXT_PLUGINS})
-set (VERSION_SYSTRAY "0.2.2")
-set (PACKAGE_SYSTRAY "cd-systray")
-set (systraydatadir "${pluginsdatadir}/systray")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/systray/data/systray.conf.in ${CMAKE_CURRENT_BINARY_DIR}/systray/data/systray.conf)
-add_subdirectory (systray)
-
-############# TERMINAL #################
-pkg_check_modules (TERMINAL_PACKAGE vte)
-if ("${TERMINAL_PACKAGE_FOUND}" STREQUAL "")
-	message (STATUS "Could not find libvte; Cairo-Dock won't be built with terminal applet.")
-	set (with_terminal "no")
-else()
-	set (GETTEXT_TERMINAL ${GETTEXT_PLUGINS})
-	set (VERSION_TERMINAL "1.0.10")
-	set (PACKAGE_TERMINAL "cd-terminal")
-	set (with_terminal "yes")
-	set (terminaldatadir "${pluginsdatadir}/terminal")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/terminal/data/terminal.conf.in ${CMAKE_CURRENT_BINARY_DIR}/terminal/data/terminal.conf)
-	add_subdirectory (terminal)
-endif()
-
-############# TOMBOY #################
-set (GETTEXT_TOMBOY ${GETTEXT_PLUGINS})
-set (VERSION_TOMBOY "1.3.1")
-set (PACKAGE_TOMBOY "cd-tomboy")
-set (tomboydatadir "${pluginsdatadir}/tomboy")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/tomboy/data/tomboy.conf.in ${CMAKE_CURRENT_BINARY_DIR}/tomboy/data/tomboy.conf)
-add_subdirectory (tomboy)
-
-############# TOONS #################
-set (GETTEXT_TOONS ${GETTEXT_PLUGINS})
-set (VERSION_TOONS "1.0.8")
-set (PACKAGE_TOONS "cd-Toons")
-set (toonsdatadir "${pluginsdatadir}/Toons")
-set (toonsuserdirname "Toons")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Toons/data/Toons.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Toons/data/Toons.conf)
-add_subdirectory (Toons)
-
-############# WEATHER #################
-set (GETTEXT_WEATHER ${GETTEXT_PLUGINS})
-set (VERSION_WEATHER "1.2.10")
-set (PACKAGE_WEATHER "cd-weather")
-set (weatherdatadir "${pluginsdatadir}/weather")
-set (weatheruserdirname "weather")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/weather/data/weather.conf.in ${CMAKE_CURRENT_BINARY_DIR}/weather/data/weather.conf)
-add_subdirectory (weather)
-
-############# WEBLETS #################
-set (with_weblets "no")
-if (NOT "${enable-weblets}" STREQUAL "no")
-	pkg_check_modules (WEBKIT webkit-1.0)
-	if ("${WEBKIT_FOUND}" STREQUAL "")
-		message (STATUS "Could not find webkit-1.0; Cairo-Dock won't be built with Weblets applet.")
-	else()
-		set (GETTEXT_WEBLETS ${GETTEXT_PLUGINS})
-		set (VERSION_WEBLETS "0.0.10")
-		set (PACKAGE_WEBLETS "cd-weblets")
-		set (webletsdatadir "${pluginsdatadir}/weblets")
-		set (with_weblets "yes")
-		configure_file (${CMAKE_CURRENT_SOURCE_DIR}/weblets/data/weblets.conf.in ${CMAKE_CURRENT_BINARY_DIR}/weblets/data/weblets.conf)
-		add_subdirectory ("weblets")
-	endif()
-endif()
-
-############# WIFI #################
-set (GETTEXT_WIFI ${GETTEXT_PLUGINS})
-set (VERSION_WIFI "1.2.6")
-set (PACKAGE_WIFI "cd-wifi")
-set (wifidatadir "${pluginsdatadir}/wifi")
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/wifi/data/wifi.conf.in ${CMAKE_CURRENT_BINARY_DIR}/wifi/data/wifi.conf)
-add_subdirectory (wifi)
-
-############# XFCE-INTEGRATION #################
-set (with_xfce_integration "no")
-if (NOT "${enable-xfce-integration}" STREQUAL "no")
-	pkg_check_modules (XFCE_INTEGRATION_THUNAR thunar-vfs-1)
-	pkg_check_modules (XFCE_INTEGRATION_GVFS gio-2.0)
-	if ("${XFCE_INTEGRATION_THUNAR_FOUND}" STREQUAL "" AND "${XFCE_INTEGRATION_GVFS_FOUND}" STREQUAL "")
-		message (STATUS "Could find neither thunar-vfs or libgio-2.0; Cairo-Dock won't be built with XFCE support.")
-	else()
-		set (VERSION_XFCE_INTEGRATION "1.0.3")
-		set (PACKAGE_XFCE_INTEGRATION "cd_xfce-integration")
-		set (with_xfce_integration "yes")
-		set (xfce_integrationdatadir "${pluginsdatadir}/xfce-integration")
-		add_subdirectory ("xfce-integration")
-	endif()
-endif()
-
-############# XGAMMA #################
-pkg_check_modules (XGAMMA_PACKAGE x11 xxf86vm)
-if ("${XGAMMA_PACKAGE_FOUND}" STREQUAL "")
-	message (STATUS "Could not find xxf86vm; Cairo-Dock won't be built with Xgamma applet.")
-	set (with_xgamma "no")
-else()
-	set (GETTEXT_XGAMMA ${GETTEXT_PLUGINS})
-	set (VERSION_XGAMMA "1.2.0")
-	set (PACKAGE_XGAMMA "cd-Xgamma")
-	set (with_xgamma "yes")
-	set (xgammadatadir "${pluginsdatadir}/Xgamma")
-	configure_file (${CMAKE_CURRENT_SOURCE_DIR}/Xgamma/data/Xgamma.conf.in ${CMAKE_CURRENT_BINARY_DIR}/Xgamma/data/Xgamma.conf)
-	add_subdirectory ("Xgamma")
-endif()
-
-message ("")
-message (STATUS "===============")
-message (STATUS "Language build:")
-message (STATUS "===============")
-message ("")
-add_subdirectory (po)
-
-message ("")
-message (STATUS "===============")
-message (STATUS "Plug-ins build:")
-message (STATUS "===============")
-message ("")
-message (STATUS "Stable:")
-message (STATUS " - with Alsa-Mixer applet:         ${with_alsa}")
-message (STATUS " - with iCal support:              ${with_ical}")
-message (STATUS " - with GMenu applet:              ${with_gmenu}")
-message (STATUS " - with Gnome support:             ${with_gnome_integration}")
-message (STATUS " - with KDE support:               ${with_kde_integration}")
-message (STATUS " - with XFCE support:              ${with_xfce_integration}")
-message (STATUS " - with Keyboard-indicator applet: ${with_keyboard_indicator}")
-message (STATUS " - with Mail applet:               ${with_mail}")
-message (STATUS " - with Me-Menu applet:            ${with_me_menu}")
-message (STATUS " - with Messaging-Menu:            ${with_messaging_menu}")
-message (STATUS " - with Screen Resolution support: ${with_xrandr}")
-message (STATUS " - with Status-Notifier applet:    ${with_status_notifier}")
-message (STATUS " - with Sensors support:           ${with_sensors}")
-message (STATUS " - with Terminal applet:           ${with_terminal}")
-message (STATUS " - with Weblets applet:            ${with_weblets}")
-message (STATUS " - with Xgamma applet:             ${with_xgamma}")
-message (STATUS " - with Recent-Events applet:      ${with_recent_events}")
-message (STATUS " - with Python interface:          ${with_python}")
-message (STATUS " - with Ruby interface:            ${with_ruby}")
-message (STATUS " - with Mono interface:            ${with_mono}")
-message (STATUS " - with Vala interface:            ${with_vala}")
-message (STATUS " - with Vala Translator (valac) :  ${with_valac}")
-message (STATUS "Unstable:")
-message (STATUS " - with Disks applet:              ${with_disks}")
-message (STATUS " - with Doncky applet:             ${with_doncky}")
-message (STATUS " - with Network-Monitor applet:    ${with_network_monitor}")
-message (STATUS " - with Scooby-Do applet:          ${with_scooby_do}")
-message (STATUS "Unsupported:")
-message (STATUS " - with old Gnome support:         ${with_gnome_integration_old}")
-message ("")

=== removed directory '.pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/dnd2share'
=== removed directory '.pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/dnd2share/src'
=== removed file '.pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/dnd2share/src/applet-backend-ubuntuone.c'
--- .pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/dnd2share/src/applet-backend-ubuntuone.c	2011-06-06 10:13:07 +0000
+++ .pc/01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch/dnd2share/src/applet-backend-ubuntuone.c	1970-01-01 00:00:00 +0000
@@ -1,95 +0,0 @@
-/**
-* This file is a part of the Cairo-Dock project
-*
-* Copyright : (C) see the 'copyright' file.
-* E-mail    : see the 'copyright' file.
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 3
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-* You should have received a copy of the GNU General Public License
-* along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#define _BSD_SOURCE
-#include <stdlib.h>
-#include <math.h>
-#include <unistd.h>
-#include <glib/gstdio.h>
-#include <string.h>
-
-#include "applet-struct.h"
-#include "applet-dnd2share.h"
-#include "applet-backend-ubuntuone.h"
-
-#define NB_URLS 1
-static const gchar *s_UrlLabels[NB_URLS] = {"DirectLink"};
-
-
-static void upload (const gchar *cFilePath, gchar *cDropboxDir, gboolean bAnonymous, gint iLimitRate, gchar **cResultUrls)
-{
-	// On lance la commande d'upload.
-	gchar *cFileName = g_path_get_basename (cFilePath);
-	gchar *cLocalFilePath;
-	if (cDropboxDir)
-		cLocalFilePath = g_strdup_printf ("%s/%s", cDropboxDir, cFileName);
-	else
-		cLocalFilePath = g_strdup_printf ("/home/%s/Ubuntu One/%s", g_getenv ("USER"), cFileName);
-	g_free (cFileName);
-	
-	gchar *cCommand = g_strdup_printf ("cp \"%s\" \"%s\"", cFilePath, cLocalFilePath);
-	cd_debug ("commande u1 : %s", cCommand);
-	int r = system (cCommand);
-	g_free (cCommand);
-	if (r != 0)
-	{
-		cd_warning ("couldn't copy the file to %s", cLocalFilePath);
-		g_free (cLocalFilePath);
-		return;
-	}
-	
-	// On recupere l'URL (dispo tout de suite, sinon il faudra boucler en testant 'dropbox status' jusqu'a avoir 'Idle').
-	cCommand= g_strdup_printf ("u1sdtool --publish-file \"%s\"", cLocalFilePath);
-	cd_debug ("commande u2 : %s", cCommand);
-	gchar *cResult = cairo_dock_launch_command_sync (cCommand);
-	g_free (cCommand);
-	g_free (cLocalFilePath);
-	if (cResult == NULL || *cResult == '\0')
-	{
-		cd_warning ("is u1sdtool installed?");
-		return ;
-	}
-	
-	if (cResult[strlen(cResult)-1] == '\r')
-		cResult[strlen(cResult)-1] = '\0';
-	if (cResult[strlen(cResult)-1] == '\n')
-		cResult[strlen(cResult)-1] = '\0';
-	
-	// Enfin on remplit la memoire partagee avec nos URLs.
-	gchar *str = strstr (cResult, "http");  // File is published at http://ubuntuone.com/x/y
-	if (! str)
-	{
-		cd_warning ("couldn't publish this file: %s", cResult);
-		g_free (cResult);
-		return ;
-	}
-	cResultUrls[0] = g_strdup (str);
-	g_free (cResult);
-}
-
-
-void cd_dnd2share_register_ubuntuone_backend (void)
-{
-	cd_dnd2share_register_new_backend (CD_TYPE_FILE,
-		"UbuntuOne",
-		NB_URLS,
-		s_UrlLabels,
-		0,
-		upload);
-}

=== removed directory '.pc/02-weather-fix_upstream-version-2.3.0~2.2.patch'
=== removed directory '.pc/02-weather-fix_upstream-version-2.3.0~2.2.patch/weather'
=== removed directory '.pc/02-weather-fix_upstream-version-2.3.0~2.2.patch/weather/src'
=== removed file '.pc/02-weather-fix_upstream-version-2.3.0~2.2.patch/weather/src/applet-read-data.c'
--- .pc/02-weather-fix_upstream-version-2.3.0~2.2.patch/weather/src/applet-read-data.c	2011-06-06 10:13:07 +0000
+++ .pc/02-weather-fix_upstream-version-2.3.0~2.2.patch/weather/src/applet-read-data.c	1970-01-01 00:00:00 +0000
@@ -1,462 +0,0 @@
-/**
-* This file is a part of the Cairo-Dock project
-*
-* Copyright : (C) see the 'copyright' file.
-* E-mail    : see the 'copyright' file.
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 3
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-* You should have received a copy of the GNU General Public License
-* along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#define _BSD_SOURCE
-#include <string.h>
-#include <stdio.h>
-#include <unistd.h>
-
-#include <libxml/tree.h>
-#include <libxml/parser.h>
-#include <glib/gstdio.h>
-
-#include "applet-struct.h"
-#include "applet-load-icons.h"
-#include "applet-read-data.h"
-
-#define CD_WEATHER_BASE_URL "http://xml.weather.com";
-
-
-static xmlDocPtr _cd_weather_open_xml_buffer (const gchar *cData, xmlNodePtr *root_node, const gchar *cRootNodeName, GError **erreur)
-{
-	if (cData == NULL || *cData == '\0')
-	{
-		g_set_error (erreur, 1, 1, "empty data (no connection ?)");
-		return NULL;
-	}
-	int length = strlen (cData);
-	
-	gchar *cRootNode = g_strdup_printf ("<%s ", cRootNodeName);
-	if (g_strstr_len (cData, length, cRootNode) == NULL)  // on intercepte le cas ou une connexion a un hotspot nous renvoie une page meme quand la connexion a weather.com n'a pas pu se faire, car ca fait planter libxml.
-	{
-		g_set_error (erreur, 1, 1, "uncorrect data (no connection ?)");
-		g_free (cRootNode);
-		return NULL;
-	}
-	g_free (cRootNode);
-	xmlInitParser ();
-	
-	xmlDocPtr doc = xmlParseMemory (cData, length);
-	if (doc == NULL)
-	{
-		g_set_error (erreur, 1, 1, "uncorrect data (no connection ?)");
-		return NULL;
-	}
-	
-	xmlNodePtr noeud = xmlDocGetRootElement (doc);
-	if (noeud == NULL || xmlStrcmp (noeud->name, (const xmlChar *) cRootNodeName) != 0)
-	{
-		g_set_error (erreur, 1, 2, "xml data is not well formed (weather.com may have changed its data format)");
-		return doc;
-	}
-	*root_node = noeud;
-	return doc;
-}
-static xmlDocPtr _cd_weather_open_xml_file (const gchar *cDataFilePath, xmlNodePtr *root_node, const gchar *cRootNodeName, GError **erreur)
-{
-	gsize length = 0;
-	gchar *cContent = NULL;
-	g_file_get_contents (cDataFilePath,
-		&cContent,
-		&length,
-		NULL);
-	xmlDocPtr doc = _cd_weather_open_xml_buffer (cContent, root_node, cRootNodeName, erreur);
-	g_free (cContent);
-	return doc;
-}
-static void _cd_weather_close_xml_file (xmlDocPtr doc)
-{
-	if (doc != NULL)
-		xmlFreeDoc (doc);  // pas de xmlCleanupParser, ca fout le boxon.
-}
-
-
-GList *cd_weather_parse_location_data (const gchar *cData, GError **erreur)
-{
-	GError *tmp_erreur = NULL;
-	xmlNodePtr noeud = NULL;
-	xmlDocPtr doc = _cd_weather_open_xml_buffer (cData, &noeud, "search", &tmp_erreur);
-	if (tmp_erreur != NULL)
-	{
-		g_propagate_error (erreur, tmp_erreur);
-		_cd_weather_close_xml_file (doc);
-		return NULL;
-	}
-	
-	GList *cLocationsList = NULL;
-	xmlNodePtr param;
-	for (param = noeud->xmlChildrenNode; param != NULL; param = param->next)
-	{
-		if (xmlStrcmp (param->name, (const xmlChar *) "loc") == 0)
-		{
-			cLocationsList = g_list_prepend (cLocationsList, xmlNodeGetContent (param));
-			cLocationsList = g_list_prepend (cLocationsList,  xmlGetProp (param, (xmlChar *) "id"));
-		}
-	}
-	_cd_weather_close_xml_file (doc);
-	return cLocationsList;
-}
-
-
-static void _cd_weather_parse_data (CDSharedMemory *pSharedMemory, const gchar *cData, gboolean bParseHeader, GError **erreur)
-{
-	GError *tmp_erreur = NULL;
-	xmlNodePtr noeud = NULL;
-	xmlDocPtr doc = _cd_weather_open_xml_buffer (cData, &noeud, "weather", &tmp_erreur);
-	if (tmp_erreur != NULL)
-	{
-		g_propagate_error (erreur, tmp_erreur);
-		_cd_weather_close_xml_file (doc);
-		return ;
-	}
-	
-	xmlNodePtr param, fils, petitfils, arrpetitfils, arrarrpetitfils;
-	gchar *nom, *visible, *name, *defaultsource = NULL, *source, *where;
-	xmlChar *contenu;
-	int i, j;
-	gchar *index_str, *cDayName, *cDate, *str;
-	for (param = noeud->xmlChildrenNode; param != NULL; param = param->next)
-	{
-		if (bParseHeader && xmlStrcmp (param->name, (const xmlChar *) "head") == 0)
-		{
-			for (fils = param->children; fils != NULL; fils = fils->next)
-			{
-				if (xmlStrcmp (fils->name, (const xmlChar *) "ut") == 0)
-				{
-					gchar *degree = xmlNodeGetContent (fils);
-					if (degree == NULL || strncmp (degree, "°", strlen ("°")) != 0)  // prepend ° if not present.
-					{
-						pSharedMemory->wdata.units.cTemp = g_strconcat ("°", degree, NULL);
-						g_free (degree);
-					}
-					else
-						pSharedMemory->wdata.units.cTemp = degree;
-				}
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "ud") == 0)
-					pSharedMemory->wdata.units.cDistance = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "us") == 0)
-					pSharedMemory->wdata.units.cSpeed = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "up") == 0)
-					pSharedMemory->wdata.units.cPressure = xmlNodeGetContent (fils);
-				//else if (xmlStrcmp (fils->name, (const xmlChar *) "ur") == 0)  // ?
-				//	pSharedMemory->wdata.units.cR = xmlNodeGetContent (fils);
-			}
-		}
-		else if (bParseHeader && xmlStrcmp (param->name, (const xmlChar *) "loc") == 0)
-		{
-			for (fils = param->children; fils != NULL; fils = fils->next)
-			{
-				if (xmlStrcmp (fils->name, (const xmlChar *) "dnam") == 0)
-					pSharedMemory->wdata.cLocation = xmlNodeGetContent (fils);
-				/**else if (xmlStrcmp (fils->name, (const xmlChar *) "lat") == 0)
-					pSharedMemory->cLat = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "lon") == 0)
-					pSharedMemory->cLon = xmlNodeGetContent (fils);*/
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "sunr") == 0)
-					pSharedMemory->wdata.currentConditions.cSunRise = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "suns") == 0)
-					pSharedMemory->wdata.currentConditions.cSunSet = xmlNodeGetContent (fils);
-			}
-		}
-		else if (xmlStrcmp (param->name, (const xmlChar *) "cc") == 0)
-		{
-			for (fils = param->children; fils != NULL; fils = fils->next)
-			{
-				if (xmlStrcmp (fils->name, (const xmlChar *) "lsup") == 0)
-					pSharedMemory->wdata.currentConditions.cDataAcquisitionDate = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "obst") == 0)
-					pSharedMemory->wdata.currentConditions.cObservatory = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "tmp") == 0)
-					pSharedMemory->wdata.currentConditions.cTemp = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "flik") == 0)
-					pSharedMemory->wdata.currentConditions.cFeltTemp = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "t") == 0)
-					pSharedMemory->wdata.currentConditions.cWeatherDescription = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "icon") == 0)
-					pSharedMemory->wdata.currentConditions.cIconNumber = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "wind") == 0)
-				{
-					for (petitfils = fils->children; petitfils != NULL; petitfils = petitfils->next)
-					{
-						if (xmlStrcmp (petitfils->name, (const xmlChar *) "s") == 0)
-							pSharedMemory->wdata.currentConditions.cWindSpeed = xmlNodeGetContent (petitfils);
-						else if (xmlStrcmp (petitfils->name, (const xmlChar *) "t") == 0)
-							pSharedMemory->wdata.currentConditions.cWindDirection = xmlNodeGetContent (petitfils);
-					}
-				}
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "bar") == 0)
-				{
-					for (petitfils = fils->children; petitfils != NULL; petitfils = petitfils->next)
-					{
-						if (xmlStrcmp (petitfils->name, (const xmlChar *) "r") == 0)
-							pSharedMemory->wdata.currentConditions.cPressure = xmlNodeGetContent (petitfils);
-					}
-				}
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "hmid") == 0)
-					pSharedMemory->wdata.currentConditions.cHumidity = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "moon") == 0)
-				{
-					for (petitfils = fils->children; petitfils != NULL; petitfils = petitfils->next)
-					{
-						if (xmlStrcmp (petitfils->name, (const xmlChar *) "icon") == 0)
-							pSharedMemory->wdata.currentConditions.cMoonIconNumber = xmlNodeGetContent (petitfils);
-					}
-				}
-			}
-		}
-		else if (xmlStrcmp (param->name, (const xmlChar *) "dayf") == 0)
-		{
-			for (fils = param->children; fils != NULL; fils = fils->next)
-			{
-				if (xmlStrcmp (fils->name, (const xmlChar *) "lsup") == 0)
-					pSharedMemory->wdata.currentConditions.cDataAcquisitionDate = xmlNodeGetContent (fils);
-				else if (xmlStrcmp (fils->name, (const xmlChar *) "day") == 0)
-				{
-					index_str = (gchar *) xmlGetProp (fils, (xmlChar *) "d");
-					if (index_str == NULL)
-						continue;
-					i = atoi (index_str);
-					g_free (index_str);
-					cDayName = (gchar *) xmlGetProp (fils, (xmlChar *) "t");
-					pSharedMemory->wdata.days[i].cName = g_strdup (D_(cDayName));
-					g_free (cDayName);
-					cDate = (gchar *) xmlGetProp (fils, (xmlChar *) "dt");
-					str = strchr (cDate, ' ');
-					if (str != NULL)
-					{
-						*str = '\0';
-						pSharedMemory->wdata.days[i].cDate = g_strconcat (D_(cDate), " ", str+1, NULL);
-						g_free (cDate);
-					}
-					else
-						pSharedMemory->wdata.days[i].cDate = cDate;
-					for (petitfils = fils->children; petitfils != NULL; petitfils = petitfils->next)
-					{
-						if (xmlStrcmp (petitfils->name, (const xmlChar *) "hi") == 0)
-							pSharedMemory->wdata.days[i].cTempMax = xmlNodeGetContent (petitfils);
-						else if (xmlStrcmp (petitfils->name, (const xmlChar *) "low") == 0)
-							pSharedMemory->wdata.days[i].cTempMin = xmlNodeGetContent (petitfils);
-						else if (xmlStrcmp (petitfils->name, (const xmlChar *) "sunr") == 0)
-							pSharedMemory->wdata.days[i].cSunRise = xmlNodeGetContent (petitfils);
-						else if (xmlStrcmp (petitfils->name, (const xmlChar *) "suns") == 0)
-							pSharedMemory->wdata.days[i].cSunSet = xmlNodeGetContent (petitfils);
-						else if (xmlStrcmp (petitfils->name, (const xmlChar *) "part") == 0)
-						{
-							index_str = (gchar *) xmlGetProp (petitfils, (xmlChar *) "p");
-							if (index_str == NULL)
-								continue;
-							j = (*index_str == 'd' ? 0 : 1);  // jour : 0 / nuit : 1.
-							for (arrpetitfils = petitfils->children; arrpetitfils != NULL; arrpetitfils = arrpetitfils->next)
-							{
-								if (xmlStrcmp (arrpetitfils->name, (const xmlChar *) "icon") == 0)
-									pSharedMemory->wdata.days[i].part[j].cIconNumber = xmlNodeGetContent (arrpetitfils);
-								else if (xmlStrcmp (arrpetitfils->name, (const xmlChar *) "t") == 0)
-									pSharedMemory->wdata.days[i].part[j].cWeatherDescription = xmlNodeGetContent (arrpetitfils);
-								else if (xmlStrcmp (arrpetitfils->name, (const xmlChar *) "wind") == 0)
-								{
-									for (arrarrpetitfils = arrpetitfils->children; arrarrpetitfils != NULL; arrarrpetitfils = arrarrpetitfils->next)
-									{
-										if (xmlStrcmp (arrarrpetitfils->name, (const xmlChar *) "s") == 0)
-											pSharedMemory->wdata.days[i].part[j].cWindSpeed = xmlNodeGetContent (arrarrpetitfils);
-										else if (xmlStrcmp (arrarrpetitfils->name, (const xmlChar *) "t") == 0)
-											pSharedMemory->wdata.days[i].part[j].cWindDirection = xmlNodeGetContent (arrarrpetitfils);
-									}
-								}
-								else if (xmlStrcmp (arrpetitfils->name, (const xmlChar *) "hmid") == 0)
-									pSharedMemory->wdata.days[i].part[j].cHumidity = xmlNodeGetContent (arrpetitfils);
-								else if (xmlStrcmp (arrpetitfils->name, (const xmlChar *) "ppcp") == 0)
-									pSharedMemory->wdata.days[i].part[j].cPrecipitationProba = xmlNodeGetContent (arrpetitfils);
-							}
-						}
-					}
-				}  // fin du jour n.
-			}
-		}
-	}
-	_cd_weather_close_xml_file (doc);
-}
-
-
-static void cd_weather_get_distant_data (CDSharedMemory *pSharedMemory)
-{
-	//\____________________ On recupere les conditions courantes sur le serveur.
-	pSharedMemory->bErrorInThread = FALSE;
-	GError *erreur = NULL;
-	gchar *cCommand;
-	gchar *cCCData = NULL;
-	if (pSharedMemory->bCurrentConditions)
-	{
-		gchar *cURL = g_strdup_printf (CD_WEATHER_BASE_URL"/weather/local/%s?cc=*%s", pSharedMemory->cLocationCode, (pSharedMemory->bISUnits ? "&unit=m" : ""));
-		cCCData = cairo_dock_get_url_data (cURL, &erreur);
-		g_free (cURL);
-		if (erreur != NULL)
-		{
-			cd_warning ("while downloading current conditions data:\n%s -> %s", cURL, erreur->message);
-			g_error_free (erreur);
-			erreur = NULL;
-		}
-		if (cCCData == NULL)
-		{
-			pSharedMemory->bErrorInThread = TRUE;
-			return;  // a la 1ere erreur on quitte.
-		}
-	}
-	
-	//\____________________ On recupere les previsions a N jours sur le serveur.
-	gchar *cForecastData = NULL;
-	if (pSharedMemory->iNbDays > 0)
-	{
-		gchar *cURL = g_strdup_printf (CD_WEATHER_BASE_URL"/weather/local/%s?dayf=%d%s", pSharedMemory->cLocationCode, pSharedMemory->iNbDays, (pSharedMemory->bISUnits ? "&unit=m" : ""));
-		cForecastData = cairo_dock_get_url_data (cURL, &erreur);
-		g_free (cURL);
-		if (erreur != NULL)
-		{
-			cd_warning ("while downloading forecast data:\n%s ->  %s", cURL, erreur->message);
-			g_error_free (erreur);
-			erreur = NULL;
-			pSharedMemory->bErrorInThread = TRUE;
-		}
-		if (cForecastData == NULL)
-		{
-			pSharedMemory->bErrorInThread = TRUE;
-		}
-	}
-	
-	//\____________________ On extrait les donnees des conditions courantes.
-	if (cCCData != NULL)
-	{
-		_cd_weather_parse_data (pSharedMemory, cCCData, TRUE, &erreur);
-		if (erreur != NULL)
-		{
-			cd_warning ("weather : %s", erreur->message);
-			g_error_free (erreur);
-			erreur = NULL;
-			pSharedMemory->bErrorInThread = TRUE;
-		}
-		g_free (cCCData);
-	}
-	
-	//\____________________ On extrait les donnees des previsions a N jours.
-	if (cForecastData != NULL)
-	{
-		_cd_weather_parse_data (pSharedMemory, cForecastData, FALSE, &erreur);
-		if (erreur != NULL)
-		{
-			cd_warning ("weather : %s", erreur->message);
-			g_error_free (erreur);
-			erreur = NULL;
-			pSharedMemory->bErrorInThread = TRUE;
-		}
-		g_free (cForecastData);
-	}
-}
-
-
-
-static void _reset_units (Unit *pUnits)
-{
-	xmlFree (pUnits->cTemp);
-	xmlFree (pUnits->cDistance);
-	xmlFree (pUnits->cSpeed);
-	xmlFree (pUnits->cPressure);
-}
-
-static void _reset_current_conditions (CurrentContitions *pCurrentContitions)
-{
-	xmlFree (pCurrentContitions->cSunRise);
-	xmlFree (pCurrentContitions->cSunSet);
-	xmlFree (pCurrentContitions->cDataAcquisitionDate);
-	xmlFree (pCurrentContitions->cObservatory);
-	xmlFree (pCurrentContitions->cTemp);
-	xmlFree (pCurrentContitions->cFeltTemp);
-	xmlFree (pCurrentContitions->cWeatherDescription);
-	xmlFree (pCurrentContitions->cIconNumber);
-	xmlFree (pCurrentContitions->cWindSpeed);
-	xmlFree (pCurrentContitions->cWindDirection);
-	xmlFree (pCurrentContitions->cPressure);
-	xmlFree (pCurrentContitions->cHumidity);
-	xmlFree (pCurrentContitions->cMoonIconNumber);
-}
-
-static void _reset_current_one_day (Day *pDay)
-{
-	xmlFree (pDay->cName);
-	xmlFree (pDay->cDate);
-	xmlFree (pDay->cTempMax);
-	xmlFree (pDay->cTempMin);
-	xmlFree (pDay->cSunRise);
-	xmlFree (pDay->cSunSet);
-	int j;
-	for (j = 0; j < 2; j ++)
-	{
-		xmlFree (pDay->part[j].cIconNumber);
-		xmlFree (pDay->part[j].cWeatherDescription);
-		xmlFree (pDay->part[j].cWindSpeed);
-		xmlFree (pDay->part[j].cWindDirection);
-		xmlFree (pDay->part[j].cHumidity);
-		xmlFree (pDay->part[j].cPrecipitationProba);
-	}
-}
-
-void cd_weather_reset_weather_data (CDWeatherData *pData)
-{
-	/**xmlFree (pData->cLon);
-	xmlFree (pData->cLat);*/
-	xmlFree (pData->cLocation);
-	_reset_units (&pData->units);
-	_reset_current_conditions (&pData->currentConditions);
-	int i;
-	for (i = 0; i < WEATHER_NB_DAYS_MAX; i ++)
-	{
-		_reset_current_one_day (&pData->days[i]);
-	}
-}
-
-void cd_weather_reset_data (CairoDockModuleInstance *myApplet)
-{
-	cd_weather_reset_weather_data (&myData.wdata);
-}
-
-static void _free_shared_memory (CDSharedMemory *pSharedMemory)
-{
-	cd_weather_reset_weather_data (&pSharedMemory->wdata);
-	g_free (pSharedMemory);
-}
-void cd_weather_launch_periodic_task (CairoDockModuleInstance *myApplet)
-{
-	if (myData.pTask != NULL)
-	{
-		cairo_dock_discard_task (myData.pTask);
-		myData.pTask = NULL;
-	}
-	
-	CDSharedMemory *pSharedMemory = g_new0 (CDSharedMemory, 1);
-	pSharedMemory->cLocationCode = g_strdup (myConfig.cLocationCode);
-	pSharedMemory->bISUnits = myConfig.bISUnits;
-	pSharedMemory->bCurrentConditions = myConfig.bCurrentConditions;
-	pSharedMemory->iNbDays = myConfig.iNbDays;
-	pSharedMemory->pApplet = myApplet;
-	
-	myData.pTask = cairo_dock_new_task_full (myConfig.iCheckInterval,
-		(CairoDockGetDataAsyncFunc) cd_weather_get_distant_data,
-		(CairoDockUpdateSyncFunc) cd_weather_update_from_data,
-		(GFreeFunc) _free_shared_memory,
-		pSharedMemory);
-	cairo_dock_launch_task (myData.pTask);
-}

=== removed file '.pc/applied-patches'
--- .pc/applied-patches	2011-06-06 10:13:07 +0000
+++ .pc/applied-patches	1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
-01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch
-02-weather-fix_upstream-version-2.3.0~2.2.patch

=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2011-06-06 10:13:07 +0000
+++ CMakeLists.txt	2011-06-20 15:06:22 +0000
@@ -10,7 +10,7 @@
 ########### project ###############
 
 project ("cairo-dock-plugins")
-set (VERSION "2.3.0~2")
+set (VERSION "2.3.0~3")
 
 add_definitions (-std=c99 -Wstrict-prototypes -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration) #-Wunreachable-code -Wno-unused-parameter -Wall
 if (NOT ${CMAKE_BUILD_TYPE})

=== modified file 'Status-Notifier/src/CMakeLists.txt'
--- Status-Notifier/src/CMakeLists.txt	2011-04-20 20:46:51 +0000
+++ Status-Notifier/src/CMakeLists.txt	2011-06-20 15:06:22 +0000
@@ -18,8 +18,8 @@
 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 add_definitions (-DMY_APPLET_CONF_FILE="Status-Notifier.conf")
 add_definitions (-DMY_APPLET_USER_DATA_DIR="Status-Notifier")
-add_definitions (-DMY_APPLET_VERSION="${VERSION_STATUSNOTIFIER}")
-add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_STATUSNOTIFIER}")
+add_definitions (-DMY_APPLET_VERSION="${VERSION_STATUS_NOTIFIER}")
+add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_STATUS_NOTIFIER}")
 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 add_definitions (-DINDICATOR_OLD_NAMES=${INDICATOR_OLD_NAMES})

=== modified file 'debian/changelog'
--- debian/changelog	2011-06-09 21:29:28 +0000
+++ debian/changelog	2011-06-20 15:06:22 +0000
@@ -1,3 +1,17 @@
+cairo-dock-plug-ins (2.3.0~3-0ubuntu1) UNRELEASED; urgency=low
+
+  * New upstream release. (LP: #799774)
+  * Upstream ChangeLog:
+   - Status Notifier: enable translations (fixed a typo)
+   - Weather: prevent a crash if there is an error (LP: #788437)
+   - dnd2share: avoid a crash of u1sdtool
+  * debian/patches:
+   - Removed all patches (now in upstream)
+  * debian/control:
+   - Updated version
+
+ -- Matthieu Baerts (matttbe) <matttbe@xxxxxxxxx>  Mon, 20 Jun 2011 17:00:53 +0200
+
 cairo-dock-plug-ins (2.3.0~2-0ubuntu1) oneiric; urgency=low
 
   * New upstream release. (LP: #786105)

=== modified file 'debian/control'
--- debian/control	2011-06-06 10:13:07 +0000
+++ debian/control	2011-06-20 15:06:22 +0000
@@ -15,9 +15,9 @@
 		libxml2-dev,
 		libxtst-dev,
 		libglib2.0-dev (>= 2.20),
-		cairo-dock-dev (>= 2.3.0~0rc1),
-		cairo-dock-core (>= 2.3.0~0rc1),
-		cairo-dock-data (>= 2.3.0~0rc1),
+		cairo-dock-data (>= 2.3.0~3),
+		cairo-dock-core (>= 2.3.0~3),
+		cairo-dock-dev (>= 2.3.0~3),
 		libasound2-dev,
 		libvte-dev,
 		x11proto-xf86vidmode-dev,

=== modified file 'debian/patches/series'
--- debian/patches/series	2011-06-06 10:13:07 +0000
+++ debian/patches/series	2011-06-20 15:06:22 +0000
@@ -1,2 +0,0 @@
-01-ubuntuone-fix_upstream-version-2.3.0~2.1.patch
-02-weather-fix_upstream-version-2.3.0~2.2.patch

=== modified file 'weather/src/applet-load-icons.c'
--- weather/src/applet-load-icons.c	2011-04-20 20:46:51 +0000
+++ weather/src/applet-load-icons.c	2011-06-20 15:06:22 +0000
@@ -135,6 +135,7 @@
 			
 		}
 		cd_weather_reset_weather_data (&pSharedMemory->wdata);  // discard the results, since they are probably empty or incomplete.
+		memset (&pSharedMemory->wdata, 0, sizeof (CDWeatherData));
 		
 		CD_APPLET_LEAVE (TRUE);  // don't recreate the icons, since data have not changed.
 	}


Follow ups