diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-misc/kcollectd | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-misc/kcollectd')
-rw-r--r-- | kde-misc/kcollectd/Manifest | 1 | ||||
-rw-r--r-- | kde-misc/kcollectd/files/kcollectd-0.9-boost.patch | 42 | ||||
-rw-r--r-- | kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch | 10 | ||||
-rw-r--r-- | kde-misc/kcollectd/files/kcollectd-0.9-desktop.patch | 11 | ||||
-rw-r--r-- | kde-misc/kcollectd/kcollectd-0.9-r1.ebuild | 27 | ||||
-rw-r--r-- | kde-misc/kcollectd/metadata.xml | 5 |
6 files changed, 96 insertions, 0 deletions
diff --git a/kde-misc/kcollectd/Manifest b/kde-misc/kcollectd/Manifest new file mode 100644 index 000000000000..2bbc92257c62 --- /dev/null +++ b/kde-misc/kcollectd/Manifest @@ -0,0 +1 @@ +DIST kcollectd-0.9.tar.gz 97132 SHA256 d2d4cb9d8d1c0eb7695c3567c6f40d33fdf1655d63038cb0b170af2fadd2a3b1 SHA512 c6eeeb52e137484bbeae564c3e85b25df4b78ff8cd39dcad69316f0c36f645f37096a5117ea5e969f883d65ca8466928c19b0e6121a0156bc345c0a138fa273a WHIRLPOOL c98e8171068efc3fc461bd2b92cee6ce6909ad53462e1dda8b854cc9db6fd8b6d3556e69459d88ada6683b9a0980f450b399316c16d9e010a8672eed6ae93de6 diff --git a/kde-misc/kcollectd/files/kcollectd-0.9-boost.patch b/kde-misc/kcollectd/files/kcollectd-0.9-boost.patch new file mode 100644 index 000000000000..7823ab7dbac1 --- /dev/null +++ b/kde-misc/kcollectd/files/kcollectd-0.9-boost.patch @@ -0,0 +1,42 @@ +--- kcollectd-0.9.orig/kcollectd/kcollectd.cc ++++ kcollectd-0.9/kcollectd/kcollectd.cc +@@ -73,7 +73,7 @@ + gui->show(); + } + } +- catch(basic_filesystem_error<path> &e) { ++ catch(const std::exception &e) { + KMessageBox::error(0, i18n("Failed to read collectd-structure at \'%1\'\n" + "Terminating.", QString(RRD_BASEDIR))); + exit(1); + +--- kcollectd-0.9.orig/kcollectd/gui.cc ++++ kcollectd-0.9/kcollectd/gui.cc +@@ -127,21 +127,21 @@ + const directory_iterator end_itr; + for (directory_iterator host(rrdpath); host != end_itr; ++host ) { + if (is_directory(*host)) { +- QTreeWidgetItem *hostitem = mkItem(listview, host->leaf()); ++ QTreeWidgetItem *hostitem = mkItem(listview, host->path().filename().string()); + hostitem->setFlags(hostitem->flags() & ~Qt::ItemIsSelectable); + for (directory_iterator sensor(*host); sensor != end_itr; ++sensor ) { + if (is_directory(*sensor)) { +- QTreeWidgetItem *sensoritem = mkItem(hostitem, sensor->leaf()); ++ QTreeWidgetItem *sensoritem = mkItem(hostitem, sensor->path().filename().string()); + sensoritem->setFlags(sensoritem->flags() & ~Qt::ItemIsSelectable); + for (directory_iterator rrd(*sensor); rrd != end_itr; ++rrd ) { + if (is_regular(*rrd) && extension(*rrd) == ".rrd") { + QTreeWidgetItem *rrditem = mkItem(sensoritem, basename(*rrd)); + rrditem->setFlags(rrditem->flags() & ~Qt::ItemIsSelectable); + std::ostringstream info; +- info << host->leaf() << delimiter +- << sensor->leaf() << delimiter ++ info << host->path().filename().string() << delimiter ++ << sensor->path().filename().string() << delimiter + << basename(*rrd); +- get_datasources(rrd->string(), info.str(), rrditem); ++ get_datasources(rrd->path().string(), info.str(), rrditem); + } + } + } + diff --git a/kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch b/kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch new file mode 100644 index 000000000000..702c588d367e --- /dev/null +++ b/kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch @@ -0,0 +1,10 @@ +diff -ruN kcollectd-0.9.orig/kcollectd/CMakeLists.txt kcollectd-0.9/kcollectd/CMakeLists.txt +--- kcollectd-0.9.orig/kcollectd/CMakeLists.txt 2009-11-30 22:01:54.000000000 +0100 ++++ kcollectd-0.9/kcollectd/CMakeLists.txt 2011-04-24 15:35:21.596229942 +0200 +@@ -1,5 +1,5 @@ + +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAG} ${KDE4_ENABLE_EXCEPTIONS}") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") + + find_package(Boost COMPONENTS filesystem system) + diff --git a/kde-misc/kcollectd/files/kcollectd-0.9-desktop.patch b/kde-misc/kcollectd/files/kcollectd-0.9-desktop.patch new file mode 100644 index 000000000000..6e5ce5bd6fc4 --- /dev/null +++ b/kde-misc/kcollectd/files/kcollectd-0.9-desktop.patch @@ -0,0 +1,11 @@ +--- kcollectd/kcollectd.desktop ++++ kcollectd/kcollectd.desktop +@@ -5,7 +5,7 @@ + Terminal=false + StartupNotify=true + Categories=Qt;KDE;Utility; +-MimeType=application/x-kcollectd ++MimeType=application/x-kcollectd; + Name=KDE collectd database-viewer + Name[de]=KDE collectd Datenbankbetrachter + GenericName=Collectd viewer diff --git a/kde-misc/kcollectd/kcollectd-0.9-r1.ebuild b/kde-misc/kcollectd/kcollectd-0.9-r1.ebuild new file mode 100644 index 000000000000..6ab286d3df04 --- /dev/null +++ b/kde-misc/kcollectd/kcollectd-0.9-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit kde4-base + +DESCRIPTION="Simple KDE-based live data viewer for collectd" +HOMEPAGE="http://www.forwiss.uni-passau.de/~berberic/Linux/kcollectd.html" +SRC_URI="http://www.forwiss.uni-passau.de/~berberic/Linux/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="dev-libs/boost + net-analyzer/rrdtool" +RDEPEND="${DEPEND} + || ( app-admin/collectd[collectd_plugins_rrdtool] app-admin/collectd[collectd_plugins_rrdcached] )" + +PATCHES=( + "${FILESDIR}/${P}-boost.patch" + "${FILESDIR}/${P}-cflags.patch" + "${FILESDIR}/${P}-desktop.patch" +) diff --git a/kde-misc/kcollectd/metadata.xml b/kde-misc/kcollectd/metadata.xml new file mode 100644 index 000000000000..a23f444b67d6 --- /dev/null +++ b/kde-misc/kcollectd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> +</pkgmetadata> |