From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- kde-misc/kcollectd/Manifest | 1 + kde-misc/kcollectd/files/kcollectd-0.9-boost.patch | 42 ++++++++++++++++++++++ .../kcollectd/files/kcollectd-0.9-cflags.patch | 10 ++++++ .../kcollectd/files/kcollectd-0.9-desktop.patch | 11 ++++++ kde-misc/kcollectd/kcollectd-0.9-r1.ebuild | 27 ++++++++++++++ kde-misc/kcollectd/metadata.xml | 5 +++ 6 files changed, 96 insertions(+) create mode 100644 kde-misc/kcollectd/Manifest create mode 100644 kde-misc/kcollectd/files/kcollectd-0.9-boost.patch create mode 100644 kde-misc/kcollectd/files/kcollectd-0.9-cflags.patch create mode 100644 kde-misc/kcollectd/files/kcollectd-0.9-desktop.patch create mode 100644 kde-misc/kcollectd/kcollectd-0.9-r1.ebuild create mode 100644 kde-misc/kcollectd/metadata.xml (limited to 'kde-misc/kcollectd') 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 &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 @@ + + + + kde + -- cgit v1.2.3-65-gdbad