<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>3790</bug_id>
          
          <creation_ts>2002-06-16 15:56 0000</creation_ts>
          <short_desc>new ebuild of yacas</short_desc>
          <delta_ts>2003-08-23 21:22:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tflorek@web.de</reporter>
          <assigned_to>george@gentoo.org</assigned_to>
          <cc>harri@gmx.at</cc>
    
    <cc>hypnos75@gmail.com</cc>
    
    <cc>tflorek@web.de</cc>

      

      
          <long_desc isprivate="0">
            <who>tflorek@web.de</who>
            <bug_when>2002-06-16 15:56:16 0000</bug_when>
            <thetext>this is an ebuild for yacas, a math program.  see ebuild for details about yacas (or just go to yacas.sf.net).  yacas does not compile with gmp (at least with gcc3.1), so gmp is ommitted. (i nevertheless have a gmp 4 ebuild handy, and will publish it as soon as i have checked, wether anything is broken.)  ebuild for yacas gui, prometeus, will follow...  i suggest app-sci/yacas as name.  ~tooobi</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tflorek@web.de</who>
            <bug_when>2002-06-16 15:59:12 0000</bug_when>
            <thetext>Created an attachment (id=1555)
ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2002-07-17 22:26:39 0000</bug_when>
            <thetext>Hi Tobias.

Thanks for subission.
Re your note in the ebuild that installed yacas needed to compile gui: the
correct solution would be to check yacas availability and bootstrap if
necessary. I will get back to this submission some time later as other
bugs/submissions will allow. If you want to speed up its processing you can take
a look for example at dev-lang/ghc for ideas on how to bootstrap build and make
necessary number of stages and modify your ebuild correspondingly.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-04-17 23:49:52 0000</bug_when>
            <thetext>Hi Tobias.

Sorry, it&apos;s been a long time :(
I decided to process the ebuild without waiting for the gui interface fix.
I updated the ebuild to work with the current version - 1.0.54. I must say it took some effort to make it install allin a proper way ;).
Anyway, the ebuild is in the tree (keymasked). Please test.

Note to myself: add gmp and gsl support.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-04-19 17:07:37 0000</bug_when>
            <thetext>Two notes --

* Yacas requires gnuplot for plotting, but that is not asserted in the ebuild.

* Cannot Proteus be implemented as a separate ebuild off the same tarball?

Thanks for your effort ... I use MuPAD now, but it would it be nice to use something Free and therefore extensible.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-04-21 01:42:26 0000</bug_when>
            <thetext>Hi Sourav.

Thanks for your notes!
&gt;* Yacas requires gnuplot for plotting, but that is not asserted in the ebuild.
Is this an absolute or optional dependency? yacas was working for me, but I was not trying to plot anything :). 
So, it looks like it is a run-time dependency, thus it may be added to RDEPEND. However it may be made to depend on some USE flag if its not always necessary..

&gt;* Cannot Proteus be implemented as a separate ebuild off the same tarball?
Perheaps. Since the gui has a special name it may be worth splitting it into separate ebuild, as opposed to build it based on some use flag, quite possibly the same used for adding gnuplot. Or it may be better to go the second route, what do you think?

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-04-21 02:40:57 0000</bug_when>
            <thetext>&gt;&gt;* Yacas requires gnuplot for plotting, but that is not asserted in the ebuild.
&gt;Is this an absolute or optional dependency? yacas was working for me, but I was not
&gt;trying to plot anything :). 
&gt;So, it looks like it is a run-time dependency, thus it may be added to RDEPEND. However
&gt;it may be made to depend on some USE flag if its not always necessary..

I suppose the choice could be implemented as a &quot;local&quot; USE flag, but I would default to having gnuplot instead of not having it -- plotting is core functionality, in my mind.

&gt;&gt;* Cannot Proteus be implemented as a separate ebuild off the same tarball?
&gt;Perheaps. Since the gui has a special name it may be worth splitting it into separate
&gt;ebuild, as opposed to build it based on some use flag, quite possibly the same used
&gt;for adding gnuplot. Or it may be better to go the second route, what do you think?

Proteus really is a separate app, but happens to be packaged with Yacas, so I think it would be better to make it a separate ebuild.  Specificially, Proteus needs Yacas (and other things), but Yacas does not need Proteus.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-04-22 20:23:43 0000</bug_when>
            <thetext>Hi Sourav.

&gt;I suppose the choice could be implemented as a &quot;local&quot; USE flag, but I would &gt;default to having gnuplot instead of not having it -- plotting is core &gt;functionality, in my mind.

Well, I would try to avoid local falgs if we could use a global one. I tried to &quot;ask around&quot; yesterday, but seems that we do not have a eneric flag for this specific purpose. However there are two I could think about:

plotutils: used only by gnuplot to make it use plotutils. Technically this should be local flag, but as I understand it was implemented long before the split, so it made its way into use.desc then.
It might be changed to plot and made more generic.. However
   1. its present purpose is quite specific and the change will not be completely logical in that repect
   2. its not very known/visible, so it has high chances to be overlooked..

X: very major flag :) and what&apos;s more important, belongs to USE set in standard profile. Thus people who will not want X will have it explicitly turned off.

I need to mention, that I am hesitant to make yacas have gnuplot dependency by default, as yacas is completely functional in CLI and gnuplot will drag a lot of heavyweight stuff with it.. Rather I would like to avoid having  any default if it can be avoided..
Therefore it looks like using &quot;X&quot; is the best approach from technical standpoint, - default profile will get gnuplot support and people who will not want it will have &quot;-X&quot; explicitly. The only problem is that this use does not directly relate to description &quot;Adds support for XFree86&quot;, which I treat as optional support for some X interfaces. However in a more broad sence it is applicable, after all this is a function made possible under X :).

Thus I am leaning towards using &quot;X&quot; as a use f;ag in this case, but would like to ask for your opinion.

On proteus: Ok you convinced me :), I&apos;ll go about looking into producing the ebuild soon.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hypnos75@gmail.com</who>
            <bug_when>2003-04-23 03:37:24 0000</bug_when>
            <thetext>* X USE flag:  That&apos;s probably the best option, since there isn&apos;t a &quot;gnuplot&quot; flag.  Yacas and gnuplot can both be terminal-only programs.

* Proteus:  Yeah, I think people would be annoyed if all this X software got built; the X USE flag is even less appropriate for activating Proteus than above.

Keep up the good work!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-09 16:50:29 0000</bug_when>
            <thetext>Uf, its been a while, just a quick note, that 1.0.55 is out and is in portage and I makred 1.0.54 stable.
Will try to get to the proteus...

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-07-09 20:01:55 0000</bug_when>
            <thetext>Created an attachment (id=14327)
proteus-1.0.55.ebuild

An update.

1. I moved yacas into app-sci, not sure why it was committed into dev-lang

2. I tried to create the ebuild for proteus (DEPENDs on yacas), however there
is some problem with fltk - configure cannot find certain stuff. Can please
somebody, who has experience with both take a look? Like, is there specific
version that is necessary or anything?
Note that I did not yet touch src_install - will look at that function if
src_compile can be made to work.

George</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>george@gentoo.org</who>
            <bug_when>2003-08-23 21:22:39 0000</bug_when>
            <thetext>Ok, proteus (and fltk) prove to be problemmatic and I don&apos;t have that much time on my hands now. Looks like will have to settle with plain yacas (which works).
Whoever finds this and decides to do an ebuild, please just reopen the bug upon submission. Closing it for now.

George</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1555</attachid>
            <date>2002-06-16 15:59 0000</date>
            <desc>ebuild</desc>
            <filename>yacas-1.0.52.1.ebuild</filename>
            <type>text/plain</type>
            <data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1mIG1ha2VmaWxlLmxpbnV4IAl8
fCBkaWUKIwkJZW1ha2UgLWYgbWFrZWZpbGUubGludXggCXx8IGRpZQojCQljZCAuLgojCWZpCn0K
CnNyY19pbnN0YWxsICgpIHsKCWVtYWtlIERFU1RESVI9JHtEfSBpbnN0YWxsLXN0cmlwIAl8fCBk
aWUKCiMgc2VlIGFib3ZlIG5vdGljZQojCWlmICggdXNlIFggKTsgdGhlbgojCQljZCBwcm90ZXVz
CiMJCWVtYWtlIGluc3RhbGwtc3RyaXAgLWYgbWFrZWZpbGUubGludXggfHwgZGllCiMJCWNkIC4u
CiMJZmkKCglkb2h0bWwgLXIgZG9jCgoJZG9kb2MgQVVUSE9SUyBJTlNUQUxMIE5FV1MgUkVBRE1F
IFRPRE8KfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14327</attachid>
            <date>2003-07-09 20:01 0000</date>
            <desc>proteus-1.0.55.ebuild</desc>
            <filename>proteus-1.0.55.ebuild</filename>
            <type>application/octet-stream</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L2FwcC1zY2kveWFjYXMveWFjYXMt
MS4wLjU1LmVidWlsZCx2IDEuMSAyMDAzLzA3LzEwIDAxOjM4OjQ2IGdlb3JnZSBFeHAgJAoKSVVT
RT0iIgoKTmFtZT0ieWFjYXMiCgpERVNDUklQVElPTj0iYSBncmFwaGljYWwgZnJvbnQtZW5kIGZv
ciB5YWNhcyIKSE9NRVBBR0U9Imh0dHA6Ly95YWNhcy5zb3VyY2Vmb3JnZS5uZXQvIgpTUkNfVVJJ
PSJodHRwOi8vJHtOYW1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