kbfx gentoo ebuild

Various Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

This is a .ebuild for gentoo portage. It is for the kde applet kbfx. For more information please visit:

http://kde-look.org/content/show.php?content=24898

loony

14 years ago

Shouldn't there be something like

RESTRICT="nomirror"

in the ebuild? Since it isn't in portage the standard mirrors won't have the sources...

Report

nicolaslara

14 years ago

hi, where's the ebuild?, the one on the link is incomplete (just 1k)...
if anyone could post it or give us a link ill appreciate it..

thnx

Report

C

rufuseddy

14 years ago

why cant the ebuild be 1kb? to get the ebuild follow the link

Report

nicolaslara

14 years ago

certainly there can be a 1k ebuild... but this ebuild doesn't have src_unpack(), src_compile, etc... i belive that might have been what got me confused...
sorry, im not an expert writing ebuilds..
thnx

Report

Rhedd

14 years ago

I have tried to read the how tos on the wiki and for the life of me cant figure out what they are triing to tell me , if you coukd point me in the direction of a how to with total linux newbs in mind , i would appreciate it .

Report

Superstoned

14 years ago

if you're a noob and using gentoo, you're doing something wrong. anyway, the way this works is as following: you know portage is the tool to install software in gentoo? it has a 'database' with info about the available packages, it is in /usr/portage (have a look there). now, if you want to add things, you COULD put them in /usr/portage, but they get deleted when you do emerge --sync. so you have to use a so called 'overlay'. it can be defined in your make.conf (check the how-to's for how). then add this ebuild to the overlay: i'm not sure where this belongs, but i guess you'll have to make in the overlay folder (lets say /usr/local/portage) a folder with the name kde-misc, and in it kbfx. so the ebuild goes to /usr/local/portage/kde-misc/kbfx. then go to that folder, and do "ebuild kbfxblabla.ebuild digest". then emerge kbfx, should work.

Report

6thpink

14 years ago

I get something like this:

Calculating dependencies ...done!
>>> emerge (1 of 1) kde-misc/kbfx-0.4.5 to /
>>> md5 files ;-) kbfx-0.4.5.ebuild
>>> md5 files ;-) files/digest-kbfx-0.4.5
>>> md5 src_uri ;-) kbfx-0.4.5.tar.bz2
>>> Unpacking source...
>>> Unpacking kbfx-0.4.5.tar.bz2 to /var/tmp/portage/kbfx-0.4.5/work
/usr/portage/eclass/base.eclass: line 37: cd: /var/tmp/portage/kbfx-0.4.5/work/kbfx-0.4.5/kbfx: No existe el fichero o el directorio
/usr/portage/eclass/kde.eclass: line 54: cd: /var/tmp/portage/kbfx-0.4.5/work/kbfx-0.4.5/kbfx: No existe el fichero o el directorio
find: /var/tmp/portage/kbfx-0.4.5/work/kbfx-0.4.5/kbfx: No existe el fichero o el directorio
sed: no se puede leer -: No existe el fichero o el directorio
>>> Source unpacked.
/usr/portage/eclass/kde.eclass: line 78: cd: /var/tmp/portage/kbfx-0.4.5/work/kbfx-0.4.5/kbfx: No existe el fichero o el directorio
/usr/portage/eclass/kde.eclass: line 78: cd: /var/tmp/portage/kbfx-0.4.5/work/kbfx-0.4.5/kbfx: No existe el fichero o el directorio

!!! ERROR: kde-misc/kbfx-0.4.5 failed.
!!! Function kde_src_compile, Line 129, Exitcode 1
!!! no configure script found, generation unsuccessful
!!! If you need support, post the topmost build error, NOT this status message.

I look into the pertinent location under /var and found that the path was wrong. As I know nothing about ebuilds I just hardcoded the path into the file changing

S=${WORKDIR}/${P}/${PN}

for

S="/var/tmp/portage/kbfx-0.4.5/work/kbfx"

And it emerged fine.
Nice work.

Report

C

rufuseddy

14 years ago

Sorry about that. I uploaded the wrong ebuild. Its fixed now and sorry for the trouble!

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.4.5
updated Jun 26 2005
added Jun 26 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0