summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Polke <DuPol@gmx.de>2017-02-01 21:39:07 +0100
committerDustin Polke <DuPol@gmx.de>2017-02-01 21:39:07 +0100
commit1ee96e4787e5ca3a61391351d321438a04010728 (patch)
treecb05c9398e4c8bc4aa4fb647d39ea5e8fbd6f5e3
parent[x11-plugins/cd.plugins-good] Fix dependencies. (diff)
downloadDuPol-1ee96e4787e5ca3a61391351d321438a04010728.tar.gz
DuPol-1ee96e4787e5ca3a61391351d321438a04010728.tar.bz2
DuPol-1ee96e4787e5ca3a61391351d321438a04010728.zip
[x11-plugins/cd-plugins-old] Fix repoman complaint about metadata; drop old.
-rw-r--r--x11-plugins/cd-plugins-old/ChangeLog6
-rw-r--r--x11-plugins/cd-plugins-old/Manifest10
-rw-r--r--x11-plugins/cd-plugins-old/cd-plugins-old-3.0.0.ebuild55
-rw-r--r--x11-plugins/cd-plugins-old/files/cd-plugins-old-3.0.0-CMakeLists.txt154
-rw-r--r--x11-plugins/cd-plugins-old/metadata.xml20
5 files changed, 16 insertions, 229 deletions
diff --git a/x11-plugins/cd-plugins-old/ChangeLog b/x11-plugins/cd-plugins-old/ChangeLog
index 0e225f3..d1510c8 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-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 01 Feb 2017; Dustin Polke <DuPol@gmx.de> -cd-plugins-old-3.0.0.ebuild,
+ -files/cd-plugins-old-3.0.0-CMakeLists.txt, metadata.xml:
+ Fix repoman complaint about metadata; drop old.
+
29 May 2012; Dustin Polke <DuPol@gmx.de> cd-plugins-old-3.0.0.ebuild,
cd-plugins-old-3.0.1.ebuild:
Convert to virtual/pkgconfig.
diff --git a/x11-plugins/cd-plugins-old/Manifest b/x11-plugins/cd-plugins-old/Manifest
index e90c688..a4444ff 100644
--- a/x11-plugins/cd-plugins-old/Manifest
+++ b/x11-plugins/cd-plugins-old/Manifest
@@ -1,9 +1 @@
-AUX cd-plugins-old-3.0.0-CMakeLists.txt 6211 RMD160 b961aafc682dcd77b64d3912d6c1bbe3d06712b5 SHA1 cb8609da984cf19311b927b95c2467332a688d01 SHA256 5a7cc72b1ae9ff40ac28a14f772e086e4da3d208ef3926acdac24d537b8e7cc4
-AUX cd-plugins-old-3.0.1-CMakeLists.txt 6211 RMD160 85a1b0b27af9c8bf5b0c2c770f711f296dbc6fe6 SHA1 df6651752dc1e98e8fd34c77a33494fbd6aa33a9 SHA256 968494e939e5d583cb43225e6ef6460a19e88d4b10a024bae6d5f59ce1914742
-AUX cd-plugins-old-fix-wifi-script.patch 392 RMD160 213f9b349a85e4d1fd2e0ad0e14ece9fb931242f SHA1 e31a62fd238e6c161a68e5d2e629e7220595e045 SHA256 2c15d1d91b63a01710f516990921f63cd6250d82f7e1836bb897b46d3d4d397f
-DIST cairo-dock-plugins-3.0.0.tar.gz 6230574 RMD160 6c1358627768303ed386f62328ff598a77c9617f SHA1 448f4c9300f0652e16d5a41afabd8ea6e4dd9338 SHA256 8040f0a7865592436b57bc1d867f0ee001ae45350255aafe4786a80fc9a981ef
-DIST cairo-dock-plugins-3.0.1.tar.gz 6232909 RMD160 91926b5c9578eeac9b3c81ce3d862358d810c148 SHA1 f3f828d19fa23d3ca18a8666df6c7af9ef296c8a SHA256 4b6dcf77013c96ef4d04f4d7f2c5e2daf3d7a7009edc5a2729b4ead75bb983ce
-EBUILD cd-plugins-old-3.0.0.ebuild 1230 RMD160 12af8d25f76ef7e6af42649c08208b67e2d84fc5 SHA1 3d080436713afa3050349bdc5265897e832e60fe SHA256 01230020ab2c8cde049f22008457caa7136779e6ce52f6f45b25a7e3978fff88
-EBUILD cd-plugins-old-3.0.1.ebuild 1230 RMD160 12af8d25f76ef7e6af42649c08208b67e2d84fc5 SHA1 3d080436713afa3050349bdc5265897e832e60fe SHA256 01230020ab2c8cde049f22008457caa7136779e6ce52f6f45b25a7e3978fff88
-MISC ChangeLog 2345 RMD160 51ad311ff560b2613a1d9d2497acf77f737c5c85 SHA1 5d92d1946440ccfddece8378b42a32809a8d55ee SHA256 4d30d32d50419901b8bca8cb41318a257ad6bcd12f1257612de90026ed5db50b
-MISC metadata.xml 551 RMD160 50e9d1a3f54de739b4e542b8ee7d84d2dd2919af SHA1 2ecf4ba95a5c84051ee07d5734baa6932e110ae3 SHA256 8b471de58b155d370e2a0741a6ccf617f60b6a00218e30b3e9888a76f8842916
+DIST cairo-dock-plugins-3.0.1.tar.gz 6232909 SHA256 4b6dcf77013c96ef4d04f4d7f2c5e2daf3d7a7009edc5a2729b4ead75bb983ce SHA512 faa823b42531a4383af6af702ff5652d66addf31a9778c10921b578ffe1c16815ff512f9cb74691b4dca02d95fd20dccf14b3c9031a5be90aa781182efd30a4e WHIRLPOOL 7a894d3497a8f12f925ff8248b7b41dee1531abb12e234508b9481264fe05c9c857563d50236acc3f740bcbe86435471266adba67e557dae6f638b03b0621479
diff --git a/x11-plugins/cd-plugins-old/cd-plugins-old-3.0.0.ebuild b/x11-plugins/cd-plugins-old/cd-plugins-old-3.0.0.ebuild
deleted file mode 100644
index 98afec9..0000000
--- a/x11-plugins/cd-plugins-old/cd-plugins-old-3.0.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# 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 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 ~x86"
-CD_PLUGIN_IUSE="netspeed wifi"
-IUSE="${CD_PLUGIN_IUSE} gtk2"
-REQUIRED_USE="|| ( ${CD_PLUGIN_IUSE} )"
-
-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}"
-DEPEND="${RDEPEND}
- dev-util/intltool
- sys-devel/gettext
- virtual/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
-}
diff --git a/x11-plugins/cd-plugins-old/files/cd-plugins-old-3.0.0-CMakeLists.txt b/x11-plugins/cd-plugins-old/files/cd-plugins-old-3.0.0-CMakeLists.txt
deleted file mode 100644
index a18ba0d..0000000
--- a/x11-plugins/cd-plugins-old/files/cd-plugins-old-3.0.0-CMakeLists.txt
+++ /dev/null
@@ -1,154 +0,0 @@
-########### 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}")
-
-############# NETSPEED #################
-if (ENABLE_NETSPEED)
- message (STATUS "> NetSpeed:")
- set (GETTEXT_NETSPEED ${GETTEXT_PLUGINS})
- set (VERSION_NETSPEED "1.2.8")
- 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)
- message (STATUS "> WiFi:")
- set (GETTEXT_WIFI ${GETTEXT_PLUGINS})
- set (VERSION_WIFI "1.2.10")
- 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 ("")
diff --git a/x11-plugins/cd-plugins-old/metadata.xml b/x11-plugins/cd-plugins-old/metadata.xml
index 33e8c83..2488ba4 100644
--- a/x11-plugins/cd-plugins-old/metadata.xml
+++ b/x11-plugins/cd-plugins-old/metadata.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <use>
- <flag name="gtk2">Force GTK+2 instead of default GTK+3.</flag>
- <flag name="netspeed">Enables the Netspeed applet.</flag>
- <flag name="wifi">Enables the Wifi applet.</flag>
- </use>
- <longdescription>cd-plugins-old offers official plugins for cairo-dock, which will be removed in the near future.</longdescription>
- <maintainer>
- <email>DuPol@gmx.de</email>
- <name>Dustin Polke</name>
- </maintainer>
+<use>
+ <flag name="gtk2">Force GTK+2 instead of default GTK+3.</flag>
+ <flag name="netspeed">Enables the Netspeed applet.</flag>
+ <flag name="wifi">Enables the Wifi applet.</flag>
+</use>
+<longdescription>cd-plugins-old offers official plugins for cairo-dock, which will be removed in the near future.</longdescription>
+<maintainer type="person">
+ <email>DuPol@gmx.de</email>
+ <name>Dustin Polke</name>
+</maintainer>
</pkgmetadata>