Summary: | Ebuild for gTybalt | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hypnos <hypnos75> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild for gTybalt v0.1.4 (new)
Ebuild for ROOT v3.03.09 Ebuild for nestedsums v 1.1.0 (new) Ebuild for NTL v5.0c Corrected ebuild for gTybalt v0.1.4 Corrected ebuild for NTL v5.0c gtybalt-1.1.2.ebuild ginac-1.1.5.ebuild root-3.05.07.ebuild nestedsums-1.3.3.ebuild ntl-5.3.1.ebuild |
Description
Hypnos
2003-04-21 21:56:20 UTC
Created attachment 10971 [details]
Ebuild for gTybalt v0.1.4 (new)
Created attachment 10972 [details]
Ebuild for ROOT v3.03.09
Created attachment 10973 [details]
Ebuild for nestedsums v 1.1.0 (new)
Created attachment 10974 [details]
Ebuild for NTL v5.0c
I have corrected the bug that keeps NTL from being compiled into gTybalt. The revised ebuilds for gTybalt and NTL are attached below. NOTE: The fix for NTL should be incorporated into the ebuild for the newer NTL revision (v5.3). Created attachment 11275 [details]
Corrected ebuild for gTybalt v0.1.4
Created attachment 11276 [details]
Corrected ebuild for NTL v5.0c
New ebuild stack for gtybalt, for new release 1.1.2: app-sci/gtybalt-1.1.2 (new) app-sci/ginac-1.1.5 (just a version bump down) dev-libs/root-3.05.07 (just a version bump up) dev-libs/nestedsums-1.3.3 (new) dev-libs/ntl-5.3.1 (version bump up + correction to compilation options) Deps summary excerpted from ebuild: --------- # Some specific versions required by gtybalt # to maintain validation DEPEND="=sys-devel/gcc-3.3* =app-sci/ginac-1.1.5 =dev-libs/root-3.05.07 >=app-office/texmacs-1.0.1.21 >=dev-libs/gsl-1.2 >=dev-libs/cln-1.1.5 =dev-libs/nestedsums-1.3.3 >=dev-libs/ntl-5.3.1" # Must be built with NTL_STD_XX=on #RDEPEND="" ---------- Ebuilds follow. Created attachment 29981 [details]
gtybalt-1.1.2.ebuild
Created attachment 29982 [details]
ginac-1.1.5.ebuild
Created attachment 29983 [details]
root-3.05.07.ebuild
Created attachment 29984 [details]
nestedsums-1.3.3.ebuild
Created attachment 29985 [details]
ntl-5.3.1.ebuild
All that one really needs is gtybalt and nestedsums. Versions of ginac, root, and ntl are all available in portage. They are all newer versions of these packages in fact, and should work with gtybalt (one would hope). I changed it so that gtybalt depends on >= versions instead of = for ginac and root. I then added: app-sci/ginac ~x86 dev-libs/root ~x86 dev-libs/nestedsums ~x86 dev-libs/ntl ~x86 to my /etc/portage/package.keywords file. I think it may be better to make gtybalt have hard dependancies on the version in portage which is closest to those recommended by the gtybalt upstream, since many higher version numbers are still ~x86 in portage. I'll test. --- gtybalt-1.1.2.ebuild.old 2004-10-14 00:02:32.249161861 -0700 +++ gtybalt-1.1.2.ebuild 2004-10-14 00:03:15.005254681 -0700 @@ -14,8 +14,8 @@ # Some specific versions required by gtybalt # to maintain validation DEPEND="=sys-devel/gcc-3.3* - =app-sci/ginac-1.1.5 - =dev-libs/root-3.05.07 + >=app-sci/ginac-1.1.5 + >=dev-libs/root-3.05.07 >=app-office/texmacs-1.0.1.21 >=dev-libs/gsl-1.2 >=dev-libs/cln-1.1.5 I've modified the dependancies as follows. This only requires new ebuilds in your local portage for root, gtybalt, and nestedsums. I just use ntl and ginac from portage. Just trying to eliminate possible problems and reduce the number of ebuilds which would need to be added to portage. --- gtybalt-1.1.2.ebuild.old 2004-10-14 00:02:32.000000000 -0700 +++ gtybalt-1.1.2.ebuild 2004-10-14 00:29:14.276825792 -0700 @@ -14,15 +14,15 @@ # Some specific versions required by gtybalt # to maintain validation DEPEND="=sys-devel/gcc-3.3* - =app-sci/ginac-1.1.5 - =dev-libs/root-3.05.07 - >=app-office/texmacs-1.0.1.21 - >=dev-libs/gsl-1.2 - >=dev-libs/cln-1.1.5 - =dev-libs/nestedsums-1.3.3 - >=dev-libs/ntl-5.3.1" # Must be built with NTL_STD_XX=on + =app-sci/ginac-1.1.6* + =dev-libs/root-3.05.07* + >=app-office/texmacs-1.0.1.21* + =dev-libs/gsl-1.3* + =dev-libs/nestedsums-1.3.3* + =dev-libs/ntl-5.3.2*" # Must be built with NTL_STD_XX=on #RDEPEND="" + #=dev-libs/cln-1.1.5 src_compile() { econf --with-nestedsums --with-ntl || die emake || die "emake failed" What is about to be built: Calculating dependencies ...done! [ebuild N ] dev-libs/ntl-5.3.2 0 kB [ebuild N ] dev-libs/cln-1.1.5 -debug 1,995 kB [ebuild N ] app-sci/ginac-1.1.6 -debug 635 kB [ebuild N ] dev-libs/nestedsums-1.3.3 [empty/missing/bad digest] [1] [ebuild N ] app-text/ispell-3.2.06-r6 575 kB [ebuild N ] app-office/texmacs-1.0.4 -debug +spell 5,358 kB [ebuild N ] dev-libs/gsl-1.3 -debug 2,003 kB [ebuild N ] dev-libs/root-3.05.07 -debug +mysql +opengl +postgres 0 kB [1] [ebuild N ] app-sci/gtybalt-1.1.2 0 kB [1] I was wrong, we do need ginac-1.1.5 for gtybalt I'm getting the following error during compilation: g++ -g -D_REENTRANT -I/usr/include/root -c gtybaltdict.cc -o gtybaltdict.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mfpmath=sse -mmmx -o libgtybaltdict.la -rpath /usr/lib -version-info 0:0:0 gtybaltdict.lo -L/usr/lib -lginac -L/usr/lib -lcln -lgmp ../gtybalt-lib/libgtybalt.la -L/usr/lib -lnestedsums -L/usr/lib -lginac -L/usr/lib -lcln -lgmp rm -fr .libs/libgtybaltdict.la .libs/libgtybaltdict.* .libs/libgtybaltdict.* gcc -shared gtybaltdict.lo -Wl,--rpath -Wl,/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2/gtybalt-lib/.libs -L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -L/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2/eqascii/.libs -L/usr/lib/root -L/usr/lib ../gtybalt-lib/.libs/libgtybalt.so /usr/lib/libnestedsums.so /usr/lib/libginac.so /usr/lib/libcln.so /usr/lib/libgmp.so -Wl,-soname -Wl,libgtybaltdict.so.0 -o .libs/libgtybaltdict.so.0.0.0 gtybaltdict.lo: file not recognized: File format not recognized collect2: ld returned 1 exit status make[2]: *** [libgtybaltdict.la] Error 1 make[2]: Leaving directory `/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2/dictionary' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/sata/tmp/portage/gtybalt-1.1.2/work/gtybalt-1.1.2' make: *** [all] Error 2 Sourav, I haven't heard any response from you, are you interested in helping get this into portage? sorry for the late response, but I've been sick. I have to question the value of gTybalt at this point -- the development has been choppy and uncommitted. Closing for now. Please reopen if the development improves and you feel it would be worth adding to portage. Thanks. |