Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SysInfo] Ebuild request
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2428
Location: Wroclaw, Poland

PostPosted: Thu Feb 05, 2009 9:18 am    Post subject: [SysInfo] Ebuild request Reply with quote

Hi,

Could any1 do an ebuild for this piece of software: http://kde-apps.org/content/show.php/stable+sysinfo+2.0?content=98808 ?

Thanks!
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1311
Location: Netherlands

PostPosted: Thu Feb 05, 2009 12:56 pm    Post subject: Reply with quote

I'm afraid this is not the right place to ask ;-)

Go to https://bugs.gentoo.org/ and submit a new bug please ...

Greetz
swimmer
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Feb 05, 2009 1:57 pm    Post subject: Reply with quote

there is already one in the sabayon overlay :

http://gpo.zugaina.org/kde-misc/sysinfo

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2428
Location: Wroclaw, Poland

PostPosted: Thu Feb 05, 2009 2:57 pm    Post subject: Reply with quote

gringo wrote:
there is already one in the sabayon overlay :

http://gpo.zugaina.org/kde-misc/sysinfo

cheers


but for KDE3 while i posted a link to version dedicated for KDE 4 ;)
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Feb 05, 2009 3:42 pm    Post subject: Reply with quote

oops, didn´t know that ...
maybe it is easy to modify the ebuild to get the kde4 version ?

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1647
Location: United Kingdom

PostPosted: Sat Feb 14, 2009 12:01 pm    Post subject: kio_sysinfo Reply with quote

gringo wrote:
there is already one in the sabayon overlay :

http://gpo.zugaina.org/kde-misc/sysinfo

cheers


If that's the same ebuild as the one as in the Sabayon Linux repository sysinfo-1.8.2.ebuild then it doesn't work for me under KDE 3.5.x. However, the following modified version of the kio-sysinfo ebuild from the Gentoo Bugzilla works a treat:

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Ebuild from Gentoo Bugzilla Bug Report No. 139837
# modified on 3 December 2008 by Fitzcarraldo
# Also changes the background from the standard SuSE
# background to a Gentoo background from
# the Gentoo Bugzilla Bug Report No. 139837.

inherit kde

MY_P="kdebase3-SuSE-10.2-84.src"
S="kdebase3-SuSE-10.2-84"

DESCRIPTION="kio slave to display system infomation in konqueror"
HOMEPAGE="http://www.opensuse.org"
SRC_URI="http://suse.mirrors.tds.net/pub/opensuse/distribution/10.2/repo/src-oss/suse/src/${MY_P}.rpm"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
DEPEND="virtual/libc
   || ( kde-base/kdebase-kioslaves kde-base/kdebase )
   app-arch/rpm2targz
   >=sys-apps/hwinfo-13.0"
IUSE=""

src_unpack(){

   cd ${WORKDIR}
   rpm2targz ${DISTDIR}/${MY_P}.rpm
   tar -xzf ${WORKDIR}/${MY_P}.tar.gz || die "error unpacking kio-sysinfo"
   tar -xjf ${WORKDIR}/kdebase-SuSE-10.2.tar.bz2 || die "error unpacking kio-sysinfo"
        cd kdebase-SuSE
}


src_compile() {
   cd kdebase-SuSE
   S="${WORKDIR}/kdebase-SuSE"
   sed -i -e "s/\$(TOPSUBDIRS)/sysinfo/" Makefile.am
   sed -i -e "s/SuSE/gentoo/" sysinfo/sysinfo.cpp
   kde_src_compile 'all' || die "error compiling"
}

pkg_postinst() {

wget http://bugs.gentoo.org/attachment.cgi?id=125447 --output-document=background.png
gzip background.png
gzip -d background.png.gz
cp /usr/share/apps/sysinfo/about/images/background.png /usr/share/apps/sysinfo/about/images/background.png.bak
mv background.png /usr/share/apps/sysinfo/about/images/background.png
}


1. Add the following to /etc/make.conf:
Code:
PORTDIR_OVERLAY=/usr/local/portage

2.
Code:
mkdir -p /usr/local/portage/kde-misc/kio-sysinfo


3. Create the ebuild file /usr/local/portage/kde-misc/kio-sysinfo/kio-sysinfo-3.5.5.ebuild with the contents shown above.

4. Create a manifest:
Code:
ebuild /usr/local/portage/kde-misc/kio-sysinfo/kio-sysinfo-3.5.5.ebuild manifest

5. Merge the package:
Code:
emerge -C sysinfo
FEATURES="-collision-protect" emerge kio-sysinfo

N.B. If the build fails because it cannot find the file kdebase3-SuSE-10.2-84.src.rpm then google it and you'll find it in some mirror or other. Copy the file manually into the directory /usr/portage/distfiles/ and then re-run the above emerge command.

6. Comment out PORTDIR_OVERLAY=/usr/local/portage in /etc/make.conf

7. To use sysinfo, launch Konqueror and type sysinfo:/ into the address bar.
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2428
Location: Wroclaw, Poland

PostPosted: Sat Feb 14, 2009 3:08 pm    Post subject: Reply with quote

I posted a link to version dedicated for KDE 4 ;)
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1647
Location: United Kingdom

PostPosted: Wed Nov 09, 2011 2:41 pm    Post subject: kio-sysinfo ebuild for KDE 4 Reply with quote

Apologies for the 'necro post' but it seemed the logical place to put it, as I have just installed kio-sysinfo for KDE 4.7.3.

There is an ebuild kio-sysinfo-9999 in the KDE overlay:

http://gpo.zugaina.org/kde-misc/kio-sysinfo

I actually downloaded the ebuild and installed it in a local overlay on my laptop instead.

Anyway, it works in Konqueror 4.7.3 for me.
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum