gspiceui is a frontend to spice tools Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 45825 [details] the ebuild I think it could fit into app-sci category. (1st ebuild, so It may be a bit incomplete...)
Your ebuild doesn't work anymore. The portage directory structure has changed: ############## diff of gspiceui ################ --- gspiceui-0.6.53.ebuild-old 2005-01-17 17:05:51.994149207 +0100 +++ gspiceui-0.6.53.ebuild 2005-01-17 16:55:33.222190986 +0100 @@ -14,10 +14,10 @@ DEPEND="x11-libs/wxGTK" RDEPEND="$DEPEND - app-sci/gnucap - app-sci/ng-spice-rework - app-sci/gwave - app-sci/geda" + sci-electronics/gnucap + sci-electronics/ng-spice-rework + sci-electronics/gwave + sci-libs/libgeda" S=${WORKDIR}/${PN}-v${PV} ############## diff of gspiceui ################ I put this ebuild in $PORTAGE_OVERLAY/sci-electronics/gspiceui but it did not build due to a linking error in ng-spice-rework: i686-pc-linux-gnu-gcc -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -o makeidx makeidx.o -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -L/usr/X11R6/lib -lX11 -lXt -lXext -lXmu -lXaw -lSM -lI CE maths/sparse/libsparse.a(spalloc.o)(.text+0x38): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x222): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x235): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x30e): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x321): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x44a): more undefined references to `tmalloc' follow maths/sparse/libsparse.a(spalloc.o)(.text+0x58e): In function `RecordAllocation': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x5af): In function `AllocateBlockOfAllocationList': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x77b): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x785): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x78f): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x799): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x7a3): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x7ad): more undefined references to `txfree' follow maths/sparse/libsparse.a(spalloc.o)(.text+0x870): In function `spcGetElement': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x8f0): In function `spcGetFillin': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x25a): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x284): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x29a): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x2b0): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x2c6): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x51d): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x52a): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x537): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x544): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x551): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x55e): more undefined references to `txfree' follow maths/sparse/libsparse.a(spbuild.o)(.text+0x5e2): In function `ExpandTranslationArrays': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x60c): In function `ExpandTranslationArrays': : undefined reference to `trealloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x12f8): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x1317): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x1336): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x1358): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x137e): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x13a4): more undefined references to `tmalloc' follow collect2: ld returned 1 exit status make[3]: *** [ngmultidec] Error 1 make[3]: *** Waiting for unfinished jobs.... spicelib/devices/libdev.a(cktcrte.o)(.text+0x82): In function `CKTcrtElt': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x38): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x222): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x235): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x30e): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x321): more undefined references to `tmalloc' follow maths/sparse/libsparse.a(spalloc.o)(.text+0x58e): In function `RecordAllocation': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x5af): In function `AllocateBlockOfAllocationList': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x77b): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x785): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x78f): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x799): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x7a3): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x7ad): more undefined references to `txfree' follow maths/sparse/libsparse.a(spalloc.o)(.text+0x870): In function `spcGetElement': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x8f0): In function `spcGetFillin': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x25a): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x284): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x29a): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x2b0): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x2c6): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x51d): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x52a): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x537): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x544): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x551): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x55e): more undefined references to `txfree' follow maths/sparse/libsparse.a(spbuild.o)(.text+0x5e2): In function `ExpandTranslationArrays': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x60c): In function `ExpandTranslationArrays': : undefined reference to `trealloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x12f8): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x1317): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x1336): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x1358): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x137e): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0x13a4): more undefined references to `tmalloc' follow maths/sparse/libsparse.a(spoutput.o)(.text+0x5fa): In function `spPrint': : undefined reference to `txfree' maths/sparse/libsparse.a(spoutput.o)(.text+0x60c): In function `spPrint': : undefined reference to `txfree' maths/sparse/libsparse.a(spoutput.o)(.text+0xf61): In function `spPrint': : undefined reference to `txfree' collect2: ld returned 1 exit status make[3]: *** [ngspice] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15' make: *** [all-recursive-am] Error 2 !!! ERROR: sci-electronics/ng-spice-rework-15 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
please see bug 75901 I've just compiled ng-spice-rework-15 with no problems.
any news on this bug? can someone please check in this ebuild?
I just wanted to let you all know that I'm in the process of adding gspiceui-0.8.55 to portage. I'm not sure I'll do this before I go on vacation at the end of this week. At the latest, it will be there end of august or early september. The thing that's keeping me thinking is how it does or should integrate with geda. Please find below the ebuild that currently is sitting in my overlay. Denis.
Created attachment 93191 [details] gspiceui-0.8.55.ebuild
Now available in the Sunrise overlay: http://www.gentoo-sunrise.org/sunrise/browser/reviewed/sci-electronics/gspiceui
I've made an ebuild to gspiceui 0.9.65, based on this from sunrise overlay and using USE flags. Sugestions and critics are welcome.
Created attachment 189800 [details] gspiceui-0.9.65.ebuild
Hi Rafael, I just had a quick look at it and it's not bad at all. The only issue I can see is that apparently you do not need to inherit eutils. The rest is more nitpicking. You could switch the ebuild to EAPI2 and use src_prepare instead of src_unpack. Also, some will disapprove the USE flag to trigger runtime dependencies on gwave and geda, although this is arguable. An einfo in pkg_postinst may be a better idea. I'll have a closer look at this in the near future as I need it to update the geda-suite ebuild. Thanks, Denis.
Created attachment 189851 [details, diff] gspiceui-0.9.65.ebuild using EAPI="2" and without unnecessary USE flags Denis, i've made a patch, with those corrections. Thanks
(In reply to comment #11) Thanks - I've updated the sunrise ebuild based on your work.
Moved from sunrise to sci overlay.
In CVS after nearly 6 years. :)