diff options
author | Dustin Polke <DuPol@gmx.de> | 2012-04-19 10:37:15 +0200 |
---|---|---|
committer | Dustin Polke <DuPol@gmx.de> | 2012-04-19 10:37:15 +0200 |
commit | 715ce89208c483923762e58a34652b4da31f0b3c (patch) | |
tree | 7a1e5d5b69e3df7026977743e0e7aa1caafb64ec /x11-plugins/cd-plugins-old | |
parent | [x11-plugins/cd-plugins-good] Tighten dev-libs/glib dependency, bug #412543. (diff) | |
download | DuPol-715ce89208c483923762e58a34652b4da31f0b3c.tar.gz DuPol-715ce89208c483923762e58a34652b4da31f0b3c.tar.bz2 DuPol-715ce89208c483923762e58a34652b4da31f0b3c.zip |
[x11-plugins/cd-plugins-old] Drop old.
Diffstat (limited to 'x11-plugins/cd-plugins-old')
-rw-r--r-- | x11-plugins/cd-plugins-old/ChangeLog | 6 | ||||
-rw-r--r-- | x11-plugins/cd-plugins-old/Manifest | 5 | ||||
-rw-r--r-- | x11-plugins/cd-plugins-old/cd-plugins-old-2.3.0.3.ebuild | 58 | ||||
-rw-r--r-- | x11-plugins/cd-plugins-old/files/cd-plugins-old-2.3.0.3-CMakeLists.txt | 135 |
4 files changed, 6 insertions, 198 deletions
diff --git a/x11-plugins/cd-plugins-old/ChangeLog b/x11-plugins/cd-plugins-old/ChangeLog index 0d379c4..7606d12 100644 --- a/x11-plugins/cd-plugins-old/ChangeLog +++ b/x11-plugins/cd-plugins-old/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for x11-plugins/cd-plugins-old -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 19 Apr 2012; Dustin Polke <DuPol@gmx.de> -cd-plugins-old-2.3.0.3.ebuild, + -files/cd-plugins-old-2.3.0.3-CMakeLists.txt: + Drop old. + 18 Dec 2011; Dustin Polke <DuPol@gmx.de> metadata.xml: Change email address. diff --git a/x11-plugins/cd-plugins-old/Manifest b/x11-plugins/cd-plugins-old/Manifest index e1ea3ef..a1d1d23 100644 --- a/x11-plugins/cd-plugins-old/Manifest +++ b/x11-plugins/cd-plugins-old/Manifest @@ -1,9 +1,6 @@ -AUX cd-plugins-old-2.3.0.3-CMakeLists.txt 5087 RMD160 13d3ede3ea90b9bfa3ac0c919f31c987d6c2d158 SHA1 7486e983354af050345baadcc758c4fe9f16cb68 SHA256 2e0c0e90f228f77402c652f43c1ab4771d2ffaafd9860cdbfd83c606aaf20a56 AUX cd-plugins-old-2.4.0-CMakeLists.txt 5655 RMD160 75381a8ae18bc0a06a14bf173cda81a1e9ddfa6a SHA1 05387ec8de736abc0c4aaeed6d436ee984a961bc SHA256 10ed72934bbfcc9d6739820b16d411a78936d5e303e880482930d24fd2805093 AUX cd-plugins-old-fix-wifi-script.patch 392 RMD160 213f9b349a85e4d1fd2e0ad0e14ece9fb931242f SHA1 e31a62fd238e6c161a68e5d2e629e7220595e045 SHA256 2c15d1d91b63a01710f516990921f63cd6250d82f7e1836bb897b46d3d4d397f -DIST cairo-dock-plugins-2.3.0~3.tar.gz 5959407 RMD160 2ae5301c36904e0183309347cf62725e333ac821 SHA1 216bda162362156e0bcae1aba8e5087d57605c64 SHA256 2bcfae5b6876a0a9a36ce7e0deb42a2d72234299da651c24f34e398f956a25cf DIST cairo-dock-plugins-2.4.0~2.tar.gz 6039150 RMD160 9f53cd22bf341b7f1b7ee5d308150c4f1dde5100 SHA1 0989556b79e245094d40379a6ee17a4a8aa501b3 SHA256 f042fab774351087908f99e5598765b858489a0fc8481e672897887bd6d08230 -EBUILD cd-plugins-old-2.3.0.3.ebuild 1239 RMD160 b6ad0eb512641e4853138f0da722cb3f1ffb3aad SHA1 cc9a9c25cb83bc44a3dee92e272aaed71f6a9de2 SHA256 16ea4277d2b2f4bc241d8a72b62ef8759fb5a565a8cbcf1e68d6ebc95b392a3f EBUILD cd-plugins-old-2.4.0.2.ebuild 1106 RMD160 2702191163a6b4f5d40108a9ca9a6931a19c3806 SHA1 b3a2884cedcfd79a8895cbf72cc06a1e74bc7e2f SHA256 1e8d8dae1a5c68faf589a93d749d728673a44b5cd76e84ece4e8dc5114ccc890 -MISC ChangeLog 1229 RMD160 7356ace06086c7aecf1262d34671308bd132063f SHA1 5a54a21961eb79499687534cb9786a50493b8a29 SHA256 df5a17ddd1f95227003f38f13faf1023906a6a30a4e7521e13db64117ddf486f +MISC ChangeLog 1365 RMD160 6d6925bf469b16a398d778806bab6b8db309ad2c SHA1 a812bef755ef0031f95f9a6daa7bb40996140b76 SHA256 f6b8c3ed6eb84aae597d9bd029d25ce6e316d14b331777dd39d8738f554fa8ae MISC metadata.xml 486 RMD160 2ed40b37c111ce9dbe8872d9a1461de271c63642 SHA1 51e7875d80ea2e168f4f15f3e449ac2c34a88366 SHA256 6a65492bbbaebef2f64884b124ef3415da9f2d3f45a7ee49a681f49a93d74486 diff --git a/x11-plugins/cd-plugins-old/cd-plugins-old-2.3.0.3.ebuild b/x11-plugins/cd-plugins-old/cd-plugins-old-2.3.0.3.ebuild deleted file mode 100644 index 30de27a..0000000 --- a/x11-plugins/cd-plugins-old/cd-plugins-old-2.3.0.3.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" - -inherit cmake-utils cairo-dock - -DESCRIPTION="Official plugins for cairo-dock subject to removal" -HOMEPAGE="http://www.glx-dock.org" - -LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 ) GPL-2 GPL-3" -SLOT="0" -KEYWORDS="~amd64" -CD_PLUGIN_IUSE="netspeed wifi" -IUSE="${CD_PLUGIN_IUSE}" -REQUIRED_USE="|| ( ${CD_PLUGIN_IUSE} )" - -RDEPEND="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-libs/gtk+:2 - x11-libs/gtkglext - ~x11-misc/cairo-dock-${PV}" -DEPEND="${RDEPEND} - dev-util/intltool - sys-devel/gettext - dev-util/pkgconfig" - -pkg_setup() { - use netspeed && CD_PLUGINS+=( "netspeed" ) - use wifi && CD_PLUGINS+=( "wifi" ) -} - -src_unpack() { - cairo-dock_src_unpack -} - -src_prepare() { - cairo-dock_src_prepare - use wifi && epatch "${FILESDIR}"/${PN}-fix-wifi-script.patch -} - -src_configure() { - mycmakeargs+=( - "$(cmake-utils_use_enable netspeed NETSPEED)" - "$(cmake-utils_use_enable wifi WIFI)" - ) - cmake-utils_src_configure -} - -#pkg_postinst() { -# elog "The applets 'Cpusage', 'Ram-meter' and 'Nvidia' are merged now into" -# elog "'System-Monitor' applet." -#} diff --git a/x11-plugins/cd-plugins-old/files/cd-plugins-old-2.3.0.3-CMakeLists.txt b/x11-plugins/cd-plugins-old/files/cd-plugins-old-2.3.0.3-CMakeLists.txt deleted file mode 100644 index 69696da..0000000 --- a/x11-plugins/cd-plugins-old/files/cd-plugins-old-2.3.0.3-CMakeLists.txt +++ /dev/null @@ -1,135 +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~3") - -add_definitions (-std=c99 -Wstrict-prototypes -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration) #-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 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 - -########### dependencies ############### - -message ("") -message (STATUS "=====================") -message (STATUS "Check dependencies...") -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}") - -############# NETSPEED ################# -if (ENABLE_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) - set (with_netspeed "yes") -else() - set (with_netspeed "no") -endif() - -############# WIFI ################# -if (ENABLE_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) - set (with_wifi "yes") -else() - set (with_wifi "no") -endif() - -message ("") -message (STATUS "===============") -message (STATUS "Plug-ins build:") -message (STATUS "===============") -message ("") -message (STATUS "Old:") -message (STATUS " - with Netspeed applet: ${with_netspeed}") -message (STATUS " - with Wifi applet: ${with_wifi}") -message ("") |