Image 01
profile-image

j0inty

Hemp Cluster saarbr├╝cken, Germany
Kuroolito

System Software 3 comments

by karye
Score 50.0%
Sep 13 2007
Hi,

I made a gcc43 patch for kuroolito because it didn't compiled for me. The fixed ebuild I will include here, too.

j0inty

[code]
*** kuroolito-0.10.1/src/core/portagedb.cpp 2007-09-10 17:18:47.000000000 +0200
--- kuroolito-0.10.1/src/core/portagedb.cpp.tmp 2008-08-16 13:10:07.000000000 +0200
***************
*** 20,25 ****
--- 20,26 ----

#include "common.h"

+ #include <cstdlib>
#include <math.h> //DbConnection::sqlite_power()
#include <time.h> //query()
#include <unistd.h> //usleep()

*** kuroolito-0.10.1/src/kurooinit.cpp 2007-09-10 17:18:47.000000000 +0200
--- kuroolito-0.10.1/src/kurooinit.cpp.tmp 2008-08-16 13:28:57.000000000 +0200
***************
*** 25,30 ****
--- 25,31 ----
#include <sys/stat.h>
#include <grp.h>
#include <pwd.h>
+ #include <cstdlib>

#include <qdir.h>
#include <qtextcodec.h>
*** kuroolito-0.10.1/src/main.cpp 2007-09-10 17:18:47.000000000 +0200
--- kuroolito-0.10.1/src/main.cpp.tmp 2008-08-16 13:36:07.000000000 +0200
***************
*** 21,26 ****
--- 21,28 ----
#include "settings.h"
#include "kuroolito.h"

+ #include <cstdlib>
+
#include <kapplication.h>
#include <dcopclient.h>
#include <kaboutdata.h>
[/code]

ebuild:
[code]
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit kde

DESCRIPTION="A KDE Portage browser"
HOMEPAGE="http://kuroo.org"
SRC_URI="http://files.kuroo.org/${P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug"

pkg_postinst() {
elog "Kuroolito requires the portage sqlite module to work. See http://gentoo-wiki.com/TIP_speed_up_portage_with_sqlite"
elog "You must uncomment line 'portdbapi.auxdbmodule = cache.sqlite.database' in /etc/portage/modules"
elog "Remember to run 'emerge --regen' to update Portage cache after each sync"
}

PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )

need-kde 3.5
[/code] - Aug 16 2008