summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Polke <DuPol@gmx.de>2012-04-28 23:03:19 +0200
committerDustin Polke <DuPol@gmx.de>2012-04-29 23:19:41 +0200
commitb114ed356deab498cf466a1396e11a6402008119 (patch)
treec8905e378b813e9eb41ff5a31c47ddf5f91483f9
parent[x11-plugins/cd-plugins-core] Version bump to 3.0.0; add ~x86 wrt bug #412543... (diff)
downloadDuPol-b114ed356deab498cf466a1396e11a6402008119.tar.gz
DuPol-b114ed356deab498cf466a1396e11a6402008119.tar.bz2
DuPol-b114ed356deab498cf466a1396e11a6402008119.zip
[x11-plugins/cd-plugins-stable] Version bump to 3.0.0; add ~x86 wrt bug #412543c10.
-rw-r--r--x11-plugins/cd-plugins-stable/ChangeLog7
-rw-r--r--x11-plugins/cd-plugins-stable/Manifest9
-rw-r--r--x11-plugins/cd-plugins-stable/cd-plugins-stable-2.4.0.2.ebuild2
-rw-r--r--x11-plugins/cd-plugins-stable/cd-plugins-stable-3.0.0.ebuild121
-rw-r--r--x11-plugins/cd-plugins-stable/files/cd-plugins-stable-3.0.0-CMakeLists.txt503
-rw-r--r--x11-plugins/cd-plugins-stable/metadata.xml2
6 files changed, 639 insertions, 5 deletions
diff --git a/x11-plugins/cd-plugins-stable/ChangeLog b/x11-plugins/cd-plugins-stable/ChangeLog
index 9108145..ab936bd 100644
--- a/x11-plugins/cd-plugins-stable/ChangeLog
+++ b/x11-plugins/cd-plugins-stable/ChangeLog
@@ -2,6 +2,13 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*cd-plugins-stable-3.0.0 (28 Apr 2012)
+
+ 28 Apr 2012; Dustin Polke <DuPol@gmx.de> cd-plugins-stable-2.4.0.2.ebuild,
+ +cd-plugins-stable-3.0.0.ebuild,
+ +files/cd-plugins-stable-3.0.0-CMakeLists.txt, metadata.xml:
+ Version bump to 3.0.0; add ~x86 wrt bug #412543c10.
+
27 Apr 2012; Dustin Polke <DuPol@gmx.de> cd-plugins-stable-2.4.0.2.ebuild:
Fix slot of x11-libs/vte dependency.
diff --git a/x11-plugins/cd-plugins-stable/Manifest b/x11-plugins/cd-plugins-stable/Manifest
index 0fc85a4..7464990 100644
--- a/x11-plugins/cd-plugins-stable/Manifest
+++ b/x11-plugins/cd-plugins-stable/Manifest
@@ -1,5 +1,8 @@
AUX cd-plugins-stable-2.4.0-CMakeLists.txt 19595 RMD160 afbbac81e1ef406f6bc93428a02843a48a70513a SHA1 934ed85fc5a0c196aef33d2ad365482804f26adb SHA256 45e0a109c08a1f34bc7d2e1c9f7966e62b1dd451058af9851bff2a591a71a511
+AUX cd-plugins-stable-3.0.0-CMakeLists.txt 19695 RMD160 faa15755f71ce4e0861deb1cc4c6a8600d7492b9 SHA1 234b35e63e74aabe86eff6a65252d1c1ac642c42 SHA256 ede63cd6fdddb2b9f655896b7b84d04bc431fbdbafbd768cbd6c8bb4bd2bc734
DIST cairo-dock-plugins-2.4.0~2.tar.gz 6039150 RMD160 9f53cd22bf341b7f1b7ee5d308150c4f1dde5100 SHA1 0989556b79e245094d40379a6ee17a4a8aa501b3 SHA256 f042fab774351087908f99e5598765b858489a0fc8481e672897887bd6d08230
-EBUILD cd-plugins-stable-2.4.0.2.ebuild 3906 RMD160 49e6529cf879517b10dbae63d1c672b4234dcf9c SHA1 e74bc8f06a2fbe21f8cec56dfb68cdb64e8dfb29 SHA256 204ee5407a35bb507aa43c2efaceb82ca71193854d4f4e8f032ac4269f458472
-MISC ChangeLog 1768 RMD160 58e2730678365fa60b04144311707ae4bd766665 SHA1 2ce7fb69867b0c2183c23475745625d0b40ba33f SHA256 79ee909d264a3e888edd8033c4faddc594b7f5989e4146a7e8531a2d9f65ceb2
-MISC metadata.xml 1925 RMD160 4e94dffac082bc06e9105518600303caae2b1381 SHA1 0668a0919c23a4c8ffbe8e3641dd7a9fd291cae0 SHA256 eaeb89d59f3d64c43793766f14dd03b99f0928e8be58549e667d8dfd87fd2a46
+DIST cairo-dock-plugins-3.0.0.tar.gz 6230574 RMD160 6c1358627768303ed386f62328ff598a77c9617f SHA1 448f4c9300f0652e16d5a41afabd8ea6e4dd9338 SHA256 8040f0a7865592436b57bc1d867f0ee001ae45350255aafe4786a80fc9a981ef
+EBUILD cd-plugins-stable-2.4.0.2.ebuild 3911 RMD160 4c4b8c7c96940be0efe9f57d46017a6cc01ae1d3 SHA1 2df4b16cee0bcea7d9d589b7fbb2394b51635fea SHA256 0b6f0e3d1643787de0e22cdf7ad5ebb6fe4968f818b2d859e87d294c44008c7d
+EBUILD cd-plugins-stable-3.0.0.ebuild 4066 RMD160 22195bd8430e9252bcc5d7c23c73bb84d2dedd22 SHA1 8e766dda8f633e53d1a66da02b5a7de1f452d875 SHA256 b8b70990d75aca7c1ca5966e15b70b9bbcd30b327883c6dc7f2898628b3ee0f2
+MISC ChangeLog 2038 RMD160 63991c308a86839844321765b1d528e35fb6dac9 SHA1 a9a950b278ac83a7d887a80d90f8b3c24a301b1b SHA256 94742cd3bd4bc93b366e40ec7e8947003840da82d6ceda44c23e866392a8a2b7
+MISC metadata.xml 1989 RMD160 43b62f2fe8a421e5cacafdfbd06942930068b06c SHA1 b9a35fe37db4b6d3174bc636fee0fcee3126328c SHA256 133118007a745eb3ec99a6813e1615a72571ddf85fa00ab992bd0ffac7e4bca7
diff --git a/x11-plugins/cd-plugins-stable/cd-plugins-stable-2.4.0.2.ebuild b/x11-plugins/cd-plugins-stable/cd-plugins-stable-2.4.0.2.ebuild
index d5175b1..05cfd18 100644
--- a/x11-plugins/cd-plugins-stable/cd-plugins-stable-2.4.0.2.ebuild
+++ b/x11-plugins/cd-plugins-stable/cd-plugins-stable-2.4.0.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.glx-dock.org"
LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 ) GPL-2 GPL-3"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
CD_PLUGIN_IUSE="alsa clipper clock dustbin gmenu kde logout motion-blur penguin
powermanager quickbrowser shortcuts showdesktop showmouse slider switcher
terminal toons weather webkit xgamma"
diff --git a/x11-plugins/cd-plugins-stable/cd-plugins-stable-3.0.0.ebuild b/x11-plugins/cd-plugins-stable/cd-plugins-stable-3.0.0.ebuild
new file mode 100644
index 0000000..78afaa0
--- /dev/null
+++ b/x11-plugins/cd-plugins-stable/cd-plugins-stable-3.0.0.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+EAPI="4"
+
+inherit cmake-utils cairo-dock
+
+DESCRIPTION="Official stable plugins for cairo-dock"
+HOMEPAGE="http://www.glx-dock.org"
+
+LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 ) GPL-2 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+CD_PLUGIN_IUSE="alsa clipper clock dustbin gmenu kde logout motion-blur penguin
+ powermanager quickbrowser shortcuts showdesktop showmouse slider switcher
+ terminal toons weather webkit xgamma"
+IUSE="${CD_PLUGIN_IUSE} exif gtk2 ical upower xrandr"
+REQUIRED_USE="|| ( ${CD_PLUGIN_IUSE} )
+ exif? ( slider )
+ ical? ( clock )
+ upower? ( logout )
+ xrandr? ( showdesktop )"
+CDP_DEPEND="dev-libs/dbus-glib
+ >=dev-libs/glib-2.22:2
+ dev-libs/libxml2:2
+ gnome-base/librsvg:2
+ sys-apps/dbus
+ x11-libs/cairo
+ ~x11-misc/cairo-dock-${PV}[gtk2=]
+ !x11-misc/cairo-dock-plugins
+ !x11-plugins/cairo-dock-plugins
+ !gtk2? ( x11-libs/gtk+:3 )
+ gtk2? ( x11-libs/gtk+:2 )"
+RDEPEND="${CDP_DEPEND}
+ alsa? ( media-libs/alsa-lib )
+ exif? ( media-libs/libexif )
+ gmenu? ( gnome-base/gnome-menus )
+ ical? ( dev-libs/libical )
+ terminal? (
+ !gtk2? ( x11-libs/vte:2.90 )
+ gtk2? ( x11-libs/vte:0 )
+ )
+ upower? ( sys-power/upower )
+ webkit? (
+ !gtk2? ( net-libs/webkit-gtk:3 )
+ gtk2? ( >=net-libs/webkit-gtk-1.0:2 )
+ )
+ xgamma? ( x11-libs/libXxf86vm )
+ xrandr? ( x11-libs/libXrandr )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ use alsa && CD_PLUGINS+=( "alsaMixer" )
+ use clipper && CD_PLUGINS+=( "Clipper" )
+ use clock && CD_PLUGINS+=( "clock" )
+ use dustbin && CD_PLUGINS+=( "dustbin" )
+ use gmenu && CD_PLUGINS+=( "GMenu" )
+ use kde && CD_PLUGINS+=( "kde-integration" "gvfs-integration" )
+ use logout && CD_PLUGINS+=( "logout" )
+ use motion-blur && CD_PLUGINS+=( "motion-blur" )
+ use penguin && CD_PLUGINS+=( "Cairo-Penguin" )
+ use powermanager && CD_PLUGINS+=( "powermanager" )
+ use quickbrowser && CD_PLUGINS+=( "quick-browser" )
+ use shortcuts && CD_PLUGINS+=( "shortcuts" )
+ use showdesktop && CD_PLUGINS+=( "showDesktop" )
+ use showmouse && CD_PLUGINS+=( "show-mouse" )
+ use slider && CD_PLUGINS+=( "slider" )
+ use switcher && CD_PLUGINS+=( "switcher" )
+ use terminal && CD_PLUGINS+=( "terminal" )
+ use toons && CD_PLUGINS+=( "Toons" )
+ use weather && CD_PLUGINS+=( "weather" )
+ use webkit && CD_PLUGINS+=( "weblets" )
+ use xgamma && CD_PLUGINS+=( "Xgamma" )
+}
+
+src_unpack() {
+ cairo-dock_src_unpack
+}
+
+src_prepare() {
+ cairo-dock_src_prepare
+}
+
+src_configure() {
+ mycmakeargs+=(
+ "$(cmake-utils_use_enable alsa ALSA-MIXER-PLUGIN)"
+ "$(cmake-utils_use_enable penguin CAIRO-PENGUIN-PLUGIN)"
+ "$(cmake-utils_use_enable clipper CLIPPER-PLUGIN)"
+ "$(cmake-utils_use_enable clock CLOCK-PLUGIN)"
+ "$(cmake-utils_use_with ical ICAL-SUPPORT)"
+ "$(cmake-utils_use_enable dustbin DUSTBIN-PLUGIN)"
+ "$(cmake-utils_use_enable gmenu GMENU-PLUGIN)"
+ "$(cmake-utils_use_enable kde KDE-INTEGRATION)"
+ "$(cmake-utils_use_enable logout LOGOUT-PLUGIN)"
+ "$(cmake-utils_use_with upower UPOWER-SUPPORT)"
+ "$(cmake-utils_use_enable motion-blur MOTION-BLUR-PLUGIN)"
+ "$(cmake-utils_use_enable powermanager POWERMANAGER-PLUGIN)"
+ "$(cmake-utils_use_enable quickbrowser QUICK-BROWSER-PLUGIN)"
+ "$(cmake-utils_use_enable shortcuts SHORTCUTS-PLUGIN)"
+ "$(cmake-utils_use_enable showdesktop SHOW-DESKTOP-PLUGIN)"
+ "$(cmake-utils_use_with xrandr XRANDR-SUPPORT)"
+ "$(cmake-utils_use_enable showmouse SHOW-MOUSE-PLUGIN)"
+ "$(cmake-utils_use_enable slider SLIDER-PLUGIN)"
+ "$(cmake-utils_use_with exif EXIF-SUPPORT)"
+ "$(cmake-utils_use_enable switcher SWITCHER-PLUGIN)"
+ "$(cmake-utils_use_enable terminal TERMINAL-PLUGIN)"
+ "$(cmake-utils_use_enable toons TOONS-PLUGIN)"
+ "$(cmake-utils_use_enable weather WEATHER-PLUGIN)"
+ "$(cmake-utils_use_enable webkit WEBLETS-PLUGIN)"
+ "$(cmake-utils_use_enable xgamma XGAMMA-PLUGIN)"
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ elog "Compiz-Icon applet has been replaced by Composite-Manager applet,"
+ elog "which is part of x11-plugins/cd-plugins-good."
+}
diff --git a/x11-plugins/cd-plugins-stable/files/cd-plugins-stable-3.0.0-CMakeLists.txt b/x11-plugins/cd-plugins-stable/files/cd-plugins-stable-3.0.0-CMakeLists.txt
new file mode 100644
index 0000000..6606bb0
--- /dev/null
+++ b/x11-plugins/cd-plugins-stable/files/cd-plugins-stable-3.0.0-CMakeLists.txt
@@ -0,0 +1,503 @@
+########### requirements ###############
+
+cmake_minimum_required (VERSION 2.6)
+find_package (PkgConfig)
+include (CheckLibraryExists)
+include (CheckIncludeFiles)
+include (CheckFunctionExists)
+include (CheckSymbolExists)
+include ("${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/GNUInstallDirs.cmake")
+
+########### project ###############
+
+project ("cairo-dock-plugins")
+set (VERSION "3.0.0")
+
+add_definitions (-std=c99 -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -Wstrict-prototypes) # removed for stable versions: -Wstrict-prototypes #-Wunreachable-code -Wno-unused-parameter -Wall
+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})
+
+########### 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 gldi --variable=pluginsdir # /usr/lib/cairo-dock # or /usr/lib/x86_64-linux-gnu/cairo-dock
+ OUTPUT_VARIABLE pluginsdir)
+STRING (REGEX REPLACE "\n" "" pluginsdir ${pluginsdir}) # remove the \n
+# get plug-ins data dir
+execute_process(
+ COMMAND pkg-config gldi --variable=pluginsdatadir # /usr/share/cairo-dock/plug-ins
+ OUTPUT_VARIABLE pluginsdatadir)
+STRING (REGEX REPLACE "\n" "" pluginsdatadir ${pluginsdatadir})
+# get prefix dir
+execute_process(
+ COMMAND pkg-config gldi --variable=prefix # /usr/share/cairo-dock/plug-ins
+ OUTPUT_VARIABLE prefix)
+STRING (REGEX REPLACE "\n" "" prefix ${prefix})
+# get GTK version (must be the same as the core, as GTK2 and GTK3 can't coexist at runtime)
+execute_process(
+ COMMAND pkg-config gldi --variable=gtkversion # 2 or 3
+ OUTPUT_VARIABLE gtkversion)
+STRING (REGEX REPLACE "\n" "" gtkversion ${gtkversion})
+# check that version matches with the core
+execute_process(
+ COMMAND pkg-config --modversion gldi # 2.2.0-3
+ OUTPUT_VARIABLE dock_version)
+STRING (REGEX REPLACE "\n" "" dock_version ${dock_version})
+if (NOT "${dock_version}" STREQUAL "${VERSION}") # Version
+ if ("${PACKAGEMENT}" STREQUAL "")
+ MESSAGE (FATAL_ERROR "Error : version mismatch with the core : " ${VERSION} <> ${dock_version})
+ else ()
+ MESSAGE (WARNING "Warning : version mismatch with the core : " ${VERSION} <> ${dock_version})
+ endif ()
+endif()
+
+# check that installation dir matches with the core
+GET_FILENAME_COMPONENT(libdir "${pluginsdir}/.." ABSOLUTE) # /usr/lib # or /usr/lib/x86_64-linux-gnu
+GET_FILENAME_COMPONENT(datadir "${pluginsdatadir}/../.." ABSOLUTE) # /usr/share
+if (NOT "${CMAKE_INSTALL_PREFIX}" STREQUAL "${prefix}"
+ OR NOT "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" STREQUAL "${libdir}"
+ OR NOT "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}" STREQUAL "${datadir}")
+ message (STATUS "It seems that the current CMAKE_INSTALL_{PREFIX,LIBDIR,DATAROOTDIR} flags are not the same that you have used with the core.")
+ message (STATUS " It will be replaced by this value: ${prefix}")
+ message (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 "${prefix}/${CMAKE_INSTALL_LOCALEDIR}")
+set (gaugesdir "${datadir}/cairo-dock/gauges")
+
+set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/") # additionnal FindPackage files
+
+########### dependencies ###############
+
+message ("")
+message (STATUS "=====================")
+message (STATUS "Check dependencies...")
+message (STATUS "=====================")
+message ("")
+
+pkg_check_modules ("PACKAGE" REQUIRED "cairo" "librsvg-2.0" "dbus-1" "dbus-glib-1" "libxml-2.0")
+#pkg_check_modules ("PACKAGE" REQUIRED "ig")
+pkg_check_modules ("GLDI" REQUIRED "gldi") # we don't want to link with gldi, so we check it separately.
+set (PACKAGE_INCLUDE_DIRS "${GLDI_INCLUDE_DIRS}")
+
+add_definitions (-DGTK_DISABLE_DEPRECATED="1")
+
+############# 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 #################
+if (ENABLE_ALSA-MIXER-PLUGIN)
+ message (STATUS "> AlsaMixer:")
+ pkg_check_modules ("ALSA_MIXER_PACKAGE" REQUIRED "alsa")
+ set (GETTEXT_ALSA_MIXER ${GETTEXT_PLUGINS})
+ set (VERSION_ALSA_MIXER "2.0.0")
+ 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")
+else()
+ set (with_alsa "no")
+endif()
+
+############# CAIRO_PENGUIN #################
+if (ENABLE_CAIRO-PENGUIN-PLUGIN)
+ message (STATUS "> Cairo Penguin:")
+ set (GETTEXT_CAIRO_PENGUIN ${GETTEXT_PLUGINS})
+ set (VERSION_CAIRO_PENGUIN "1.1.10")
+ 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)
+ set (enable-penguin-plugin "yes")
+else()
+ set (enable-penguin-plugin "no")
+endif()
+
+############# CLIPPER #################
+if (ENABLE_CLIPPER-PLUGIN)
+ message (STATUS "> Clipper:")
+ set (GETTEXT_CLIPPER ${GETTEXT_PLUGINS})
+ set (VERSION_CLIPPER "1.1.6")
+ 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)
+ set (enable-clipper-plugin "yes")
+else()
+ set (enable-clipper-plugin "no")
+endif()
+
+############# CLOCK #################
+if (ENABLE_CLOCK-PLUGIN)
+ message (STATUS "> Clock:")
+ if (WITH_ICAL-SUPPORT)
+ pkg_check_modules ("LIBICAL_PACKAGE" REQUIRED "libical")
+ set (with_ical "yes")
+ else()
+ set (with_ical "no")
+ endif()
+ set (GETTEXT_CLOCK ${GETTEXT_PLUGINS})
+ set (VERSION_CLOCK "2.1.5")
+ 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)
+ set (enable-clock-plugin "yes")
+else()
+ set (enable-clock-plugin "no")
+endif()
+
+############# DUSTBIN #################
+if (ENABLE_DUSTBIN-PLUGIN)
+ message (STATUS "> Dustbin:")
+ set (GETTEXT_DUSTBIN ${GETTEXT_PLUGINS})
+ set (VERSION_DUSTBIN "2.3.3")
+ 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)
+ set (enable-dustbin-plugin "yes")
+else()
+ set (enable-dustbin-plugin "no")
+endif()
+
+############# GMENU #################
+if (ENABLE_GMENU-PLUGIN)
+ message (STATUS "> GMenu:")
+ if ("${gtkversion}" STREQUAL "2")
+ set (GMENU_MODULE libgnome-menu)
+ else()
+ set (GMENU_MODULE libgnome-menu)
+ # set (GMENU_MODULE libgnome-menu-3.0) # TODO
+ endif()
+ pkg_check_modules ("GMENU_PACKAGE" REQUIRED "${GMENU_MODULE}")
+ set (GETTEXT_GMENU ${GETTEXT_PLUGINS})
+ set (VERSION_GMENU "1.1.9")
+ 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")
+else()
+ set (with_gmenu "no")
+endif()
+
+############# GVFS-INTEGRATION #################
+if (ENABLE_KDE-INTEGRATION)
+ message (STATUS "> GVFS-Integration:")
+ pkg_check_modules ("LIBGIO" REQUIRED "gio-2.0")
+ add_subdirectory (gvfs-integration)
+endif()
+
+############# KDE-INTEGRATION #################
+if (ENABLE_KDE-INTEGRATION)
+ message (STATUS "> KDE-Integration:")
+ pkg_check_modules ("KDE_INTEGRATION" REQUIRED "gio-2.0")
+ set (VERSION_KDE_INTEGRATION "1.0.3")
+ set (PACKAGE_KDE_INTEGRATION "cd_kde-integration")
+ set (with_kde_integration "yes")
+ set (kde_integrationdatadir "${pluginsdatadir}/kde-integration")
+ add_subdirectory ("kde-integration")
+else()
+ set (with_kde_integration "no")
+endif()
+set (with_kde_integration2 "no")
+
+############# LOGOUT #################
+if (ENABLE_LOGOUT-PLUGIN)
+ message (STATUS "> LogOut:")
+ if (WITH_UPOWER-SUPPORT)
+ pkg_check_modules ("UPOWER" REQUIRED "upower-glib") # useful for Powermanager too.
+ set (with_upower_support "yes")
+ else()
+ set (with_upower_support "no")
+ endif()
+ set (GETTEXT_LOGOUT ${GETTEXT_PLUGINS})
+ set (VERSION_LOGOUT "2.0.0")
+ 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)
+ set (enable-logout-plugin "yes")
+else()
+ set (enable-logout-plugin "no")
+endif()
+
+############# MOTION BLUR #################
+if (ENABLE_MOTION-BLUR-PLUGIN)
+ message (STATUS "> 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)
+ set (enable-motion-blur-plugin "yes")
+else()
+ set (enable-motion-blur-plugin "no")
+endif()
+
+############# POWERMANAGER #################
+if (ENABLE_POWERMANAGER-PLUGIN)
+ message (STATUS "> PowerManager:")
+ set (GETTEXT_POWERMANAGER ${GETTEXT_PLUGINS})
+ set (VERSION_POWERMANAGER "1.3.8")
+ 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)
+ set (enable-powermanager-plugin "yes")
+else()
+ set (enable-powermanager-plugin "no")
+endif()
+
+############# QUICK BROWSER #################
+if (ENABLE_QUICK-BROWSER-PLUGIN)
+ message (STATUS "> Quick Browser:")
+ set (GETTEXT_QUICK_BROWSER ${GETTEXT_PLUGINS})
+ set (VERSION_QUICK_BROWSER "1.0.10")
+ 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)
+ set (enable-quick-browser-plugin "yes")
+else()
+ set (enable-quick-browser-plugin "no")
+endif()
+
+############# SHORTCUTS #################
+if (ENABLE_SHORTCUTS-PLUGIN)
+ message (STATUS "> Shortcuts:")
+ set (GETTEXT_SHORTCUTS ${GETTEXT_PLUGINS})
+ set (VERSION_SHORTCUTS "1.3.3")
+ 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)
+ set (enable-shortcuts-plugin "yes")
+else()
+ set (enable-shortcuts-plugin "no")
+endif()
+
+############# SHOW DESKTOP #################
+if (ENABLE_SHOW-DESKTOP-PLUGIN)
+ message (STATUS "> ShowDesktop:")
+ if (WITH_XRANDR-SUPPORT)
+ pkg_check_modules ("SHOW_DESKTOP_XRANDR" REQUIRED "xrandr")
+ set (with_xrandr "yes")
+ else()
+ set (with_xrandr "no")
+ endif()
+ set (GETTEXT_SHOW_DESKTOP ${GETTEXT_PLUGINS})
+ set (VERSION_SHOW_DESKTOP "1.2.6")
+ 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)
+ set (enable-show-desktop-plugin "yes")
+else()
+ set (enable-show-desktop-plugin "no")
+endif()
+
+############# SHOW MOUSE #################
+if (ENABLE_SHOW-MOUSE-PLUGIN)
+ message (STATUS "> 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)
+ set (enable-show-mouse-plugin "yes")
+else()
+ set (enable-show-mouse-plugin "no")
+endif()
+
+############# SLIDER #################
+if (ENABLE_SLIDER-PLUGIN)
+ message (STATUS "> Slider:")
+ if (WITH_EXIF-SUPPORT)
+ pkg_check_modules ("EXIF" REQUIRED "libexif")
+ set (with_exif "yes")
+ else()
+ set (with_exif "no")
+ endif()
+ set (GETTEXT_SLIDER ${GETTEXT_PLUGINS})
+ set (VERSION_SLIDER "2.0.11")
+ 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)
+ set (enable-slider-plugin "yes")
+else()
+ set (enable-slider-plugin "no")
+endif()
+
+############# SWITCHER #################
+if (ENABLE_SWITCHER-PLUGIN)
+ message (STATUS "> Switcher:")
+ set (GETTEXT_SWITCHER ${GETTEXT_PLUGINS})
+ set (VERSION_SWITCHER "2.1.8")
+ 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)
+ set (enable-switcher-plugin "yes")
+else()
+ set (enable-switcher-plugin "no")
+endif()
+
+############# TERMINAL #################
+if (ENABLE_TERMINAL-PLUGIN)
+ message (STATUS "> Terminal:")
+ if ("${gtkversion}" STREQUAL "2")
+ set (TERMINAL_MODULE vte)
+ else()
+ set (TERMINAL_MODULE vte-2.90)
+ endif()
+ pkg_check_modules ("TERMINAL_PACKAGE" REQUIRED "${TERMINAL_MODULE}")
+ set (GETTEXT_TERMINAL ${GETTEXT_PLUGINS})
+ set (VERSION_TERMINAL "1.0.12")
+ 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)
+else()
+ set (with_terminal "no")
+endif()
+
+############# TOONS #################
+if (ENABLE_TOONS-PLUGIN)
+ message (STATUS "> Toons:")
+ set (GETTEXT_TOONS ${GETTEXT_PLUGINS})
+ set (VERSION_TOONS "1.0.11")
+ 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)
+ set (enable-toons-plugin "yes")
+else()
+ set (enable-toons-plugin "no")
+endif()
+
+############# WEATHER #################
+if (ENABLE_WEATHER-PLUGIN)
+ message (STATUS "> Weather:")
+ set (GETTEXT_WEATHER ${GETTEXT_PLUGINS})
+ set (VERSION_WEATHER "1.2.12")
+ 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)
+ set (enable-weather-plugin "yes")
+else()
+ set (enable-weather-plugin "no")
+endif()
+
+############# WEBLETS #################
+if (ENABLE_WEBLETS-PLUGIN)
+ message (STATUS "> Weblets:")
+ if ("${gtkversion}" STREQUAL "2")
+ set (WEBKIT_MODULE webkit-1.0)
+ else()
+ set (WEBKIT_MODULE webkitgtk-3.0)
+ endif()
+ pkg_check_modules ("WEBKIT" REQUIRED "${WEBKIT_MODULE}")
+ set (GETTEXT_WEBLETS ${GETTEXT_PLUGINS})
+ set (VERSION_WEBLETS "0.0.12")
+ 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")
+else()
+ set (with_weblets "no")
+endif()
+
+############# XGAMMA #################
+if (ENABLE_XGAMMA-PLUGIN)
+ message (STATUS "> XGamma:")
+ pkg_check_modules ("XGAMMA_PACKAGE" REQUIRED "x11" "xxf86vm")
+ set (GETTEXT_XGAMMA ${GETTEXT_PLUGINS})
+ set (VERSION_XGAMMA "1.2.2")
+ 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")
+else()
+ set (with_xgamma "no")
+endif()
+
+message ("")
+message (STATUS "===============")
+message (STATUS "Plug-ins build:")
+message (STATUS "===============")
+message ("")
+message (STATUS "Stable:")
+message (STATUS " Integration plug-ins:")
+message (STATUS " - with KDE support: ${with_kde_integration}")
+message (STATUS " Plug-ins:")
+message (STATUS " - with Alsa-Mixer applet: ${with_alsa}")
+message (STATUS " - with Cairo-Penguin applet: ${enable-penguin-plugin}")
+message (STATUS " - with Clipper applet: ${enable-clipper-plugin}")
+message (STATUS " - with Clock applet: ${enable-clock-plugin}")
+message (STATUS " - with Dustbin applet: ${enable-dustbin-plugin}")
+message (STATUS " - with GMenu applet: ${with_gmenu}")
+message (STATUS " - with Logout applet: ${enable-logout-plugin}")
+message (STATUS " - with Motion-Blur applet: ${enable-motion-blur-plugin}")
+message (STATUS " - with Powermanager applet: ${enable-powermanager-plugin}")
+message (STATUS " - with Quick-Browser applet: ${enable-quick-browser-plugin}")
+message (STATUS " - with Shortcuts applet: ${enable-shortcuts-plugin}")
+message (STATUS " - with Show-Desktop applet: ${enable-show-desktop-plugin}")
+message (STATUS " - with Show-Mouse applet: ${enable-show-mouse-plugin}")
+message (STATUS " - with Slider applet: ${enable-slider-plugin}")
+message (STATUS " - with Switcher applet: ${enable-switcher-plugin}")
+message (STATUS " - with Terminal applet: ${with_terminal}")
+message (STATUS " - with Toons applet: ${enable-toons-plugin}")
+message (STATUS " - with Weather applet: ${enable-weather-plugin}")
+message (STATUS " - with Weblets applet: ${with_weblets}")
+message (STATUS " - with Xgamma applet: ${with_xgamma}")
+message (STATUS "Add On:")
+message (STATUS " - with iCal support: ${with_ical}")
+message (STATUS " - with UPower support: ${with_upower_support}")
+message (STATUS " - with Screen Resolution support: ${with_xrandr}")
+message (STATUS " - with Image Rotation support: ${with_exif}")
+message ("")
diff --git a/x11-plugins/cd-plugins-stable/metadata.xml b/x11-plugins/cd-plugins-stable/metadata.xml
index b054f03..956f13f 100644
--- a/x11-plugins/cd-plugins-stable/metadata.xml
+++ b/x11-plugins/cd-plugins-stable/metadata.xml
@@ -8,6 +8,7 @@
<flag name="dustbin">Enables the Dustbin applet.</flag>
<flag name="exif">Enables auto-rotating pictures in the Slider applet.</flag>
<flag name="gmenu">Enables the GMenu applet.</flag>
+ <flag name="gtk2">Force GTK+2 instead of default GTK+3.</flag>
<flag name="ical">Enables ical support in the Clock applet.</flag>
<flag name="kde">Enables the integration in <pkg>kde-base/kde-meta</pkg> desktop.</flag>
<flag name="logout">Enables the Logout applet.</flag>
@@ -34,4 +35,3 @@
<name>Dustin Polke</name>
</maintainer>
</pkgmetadata>
-