summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2013-06-22 16:36:13 +0000
committerChris Reffett <creffett@gentoo.org>2013-06-22 16:36:13 +0000
commit556a4029d0ff3221d781bdeeb923b7e49616aaed (patch)
treede2603c1b2cda8aeaa4f66894e242767bf396b21 /kde-misc
parentFix build with libav9 wrt bug#443424. Even tho the upstream patched it slight... (diff)
downloadhistorical-556a4029d0ff3221d781bdeeb923b7e49616aaed.tar.gz
historical-556a4029d0ff3221d781bdeeb923b7e49616aaed.tar.bz2
historical-556a4029d0ff3221d781bdeeb923b7e49616aaed.zip
Move to tree from KDE overlay, fix license
Package-Manager: portage-2.2.0_alpha183/cvs/Linux x86_64 Manifest-Sign-Key: 0x42618354
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/plasma-emergelog/ChangeLog10
-rw-r--r--kde-misc/plasma-emergelog/Manifest17
-rw-r--r--kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch21
-rw-r--r--kde-misc/plasma-emergelog/metadata.xml6
-rw-r--r--kde-misc/plasma-emergelog/plasma-emergelog-0.0.2-r1.ebuild34
5 files changed, 88 insertions, 0 deletions
diff --git a/kde-misc/plasma-emergelog/ChangeLog b/kde-misc/plasma-emergelog/ChangeLog
new file mode 100644
index 000000000000..50387bb31715
--- /dev/null
+++ b/kde-misc/plasma-emergelog/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for kde-misc/plasma-emergelog
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/plasma-emergelog/ChangeLog,v 1.1 2013/06/22 16:35:59 creffett Exp $
+
+*plasma-emergelog-0.0.2-r1 (22 Jun 2013)
+
+ 22 Jun 2013; Chris Reffett <creffett@gentoo.org>
+ +files/plasma-emergelog-0.0.2-list.patch, +metadata.xml,
+ +plasma-emergelog-0.0.2-r1.ebuild:
+ Move to tree from KDE overlay, fix license
diff --git a/kde-misc/plasma-emergelog/Manifest b/kde-misc/plasma-emergelog/Manifest
new file mode 100644
index 000000000000..68801a5bd236
--- /dev/null
+++ b/kde-misc/plasma-emergelog/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX plasma-emergelog-0.0.2-list.patch 798 SHA256 4d2c0a6a7ae7e6d3f745ecb4a4187246d627eab0cd3e950533cc9294755cc1aa SHA512 94b2d073ef94f90b1ab7253110ed826cebff4d9db16277bf647f9382cf8c8f0b58026f88e2d58f1ff495d3ad278e7073e34885028bcae4c7a45ca10085bba611 WHIRLPOOL 7a19053a05453fcf850c12bf8fb59a14a362f5b325522db5fde48fbedef68f78781cb84e9b39987c990063e0ec51285117ea4ddb22ec3e3164fc71076a4507c1
+DIST plasma-emergelog-0.0.2.tar.gz 16551 SHA256 8d11ac9652b0e4bb44f148cfcbdce515540efc0285553598b58039b80105e4be SHA512 caac6f65b97ff2de73d2f89f7639f9382f9522c8a7e83012760e0915a37970fb672f37102723ab49bab0ff28c34d4aa8e51fc33546e5dbe3995fbce63e1c37f5 WHIRLPOOL 017b1c19c7a25573b8964a89388c63f5887654272aac683bac39cab0fd9f62d6aede973f3cbf82c203aa28a96f8fb5faf0b31217b46341c09e67a70f405ad4f9
+EBUILD plasma-emergelog-0.0.2-r1.ebuild 986 SHA256 391d6d7fb6b75abfb4e0c350e32be227f2f3dd0f6dba2af4e85ac06b4c34ba62 SHA512 c1141b1865efe6fd79827ac62ae71bf24f9d116682566c0d285be2b3122621bd1ffb658dda3b3dfb59936e520eaf11b2ef5f3ee6021f55f063642bf3f722bbc8 WHIRLPOOL 7fdf872c62bd4e6a2feb037202f5667d0751a4a5f64d3a20564706fb88a29894d5c464241a3435bd31cb0d010baa9af29427509947562e8d680a728b33d2ffae
+MISC ChangeLog 459 SHA256 939102560040e0d582cf31fcc05c2d9ad6ab4703dff99a76f1d110300a68d849 SHA512 d903244e4b372b88f29ea365aafd443a316e297a71ee818fe76260ebcf2fe998bc89a43bda935e03ccfe45eee4e2b3ae746732123a84c373913d2a6edbb95325 WHIRLPOOL 0530993d68f7a173239a3d8f305d040686e00a46c3825346c37b54b3da9f67d06c50b997f1a8558390a0bc1b9c2e333d99e0893167dcb71015bba1126ce8c83f
+MISC metadata.xml 157 SHA256 8794713d1fc257f2659f14a01a227e418afb36295b67fdcfef03dd4dba372c3f SHA512 c5832e6385ae753b068591e31a98996acc367993fbd84b2541c1e4467d2972804755136c529a6c9cdf6a25cbd0c3e67fdb712c23ccf273713d5925f750c14501 WHIRLPOOL 2893642d998493e95952e56e94b7e88671114c982bdfae8aac139a251a3dad11beada33388615af549e39e176c0d751ca209b10d11fc152a607bdecc2ea93de1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iKYEAREIAGYFAlHF0m5fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC
+Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1TXbgCgqimhjRMCAxpGYvJ10coJSRgD
+xdwAoIPy96OJZlVO7MxnSh/Fu7hR+0C9
+=epdb
+-----END PGP SIGNATURE-----
diff --git a/kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch b/kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch
new file mode 100644
index 000000000000..732cde2d7a67
--- /dev/null
+++ b/kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch
@@ -0,0 +1,21 @@
+diff --git plasma-emergelog.cpp plasma-emergelog.cpp
+index 362eaa3..f3e8ea8 100644
+--- old/plasma-emergelog-0.0.2/plasma-emergelog.cpp
++++ new/plasma-emergelog-0.0.2/plasma-emergelog.cpp
+@@ -35,6 +35,7 @@
+ #include "plasma-emergelog-painter.h"
+ #include <exception>
+ #include <iostream>
++#include <cmath>
+
+
+ class myexception: public std::exception
+@@ -167,7 +168,7 @@ void emergelog::process_data(){
+ /* Create a list . Each element is a line from that file */
+ list = data.split('\n', QString::SkipEmptyParts);
+ /* read the block BACKWARDS */
+- for (int i=list.size()-1;i>(list.size()-(document->maximumBlockCount()));i--){
++ for (int i=list.size()-1;i>std::max<int>(0, list.size()-(document->maximumBlockCount()));i--){
+ if(cursor.position() != 0){
+ cursor.insertBlock();
+ }
diff --git a/kde-misc/plasma-emergelog/metadata.xml b/kde-misc/plasma-emergelog/metadata.xml
new file mode 100644
index 000000000000..6222792776c2
--- /dev/null
+++ b/kde-misc/plasma-emergelog/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>
+
diff --git a/kde-misc/plasma-emergelog/plasma-emergelog-0.0.2-r1.ebuild b/kde-misc/plasma-emergelog/plasma-emergelog-0.0.2-r1.ebuild
new file mode 100644
index 000000000000..9bed6721785e
--- /dev/null
+++ b/kde-misc/plasma-emergelog/plasma-emergelog-0.0.2-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/plasma-emergelog/plasma-emergelog-0.0.2-r1.ebuild,v 1.1 2013/06/22 16:35:59 creffett Exp $
+
+EAPI=5
+
+inherit kde4-base
+
+DESCRIPTION="KDE4 plasmoid for monitoring emerge progress"
+HOMEPAGE="http://www.kde-look.org/content/show.php?content=103928"
+SRC_URI="http://dev.gentooexperimental.org/~hwoarang/projects/plasma-emergelog/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+# Included LICENSE is GPL-2, but all headers say 3+. hwoarang said
+# that it can be licensed as 3+
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="debug"
+
+RDEPEND="
+ $(add_kdebase_dep plasma-workspace)
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.0.2-list.patch
+)
+
+pkg_postinst() {
+ kde4-base_pkg_postinst
+ einfo "You need to add your user to 'portage' group"
+ einfo "in order to use this plasmoid. To do that, use"
+ einfo "the following command:"
+ einfo "usermod -a -G portage <your_user_here>"
+}