hiho all, i setup a ruby-ebuild for gdchart. please test it and gimme some response. regards. mathias
Created attachment 13538 [details] ebuild for ruby-gdchart
Created attachment 13539 [details] digest
Please submit an ebuild for the GDCHART library and include it in DEPEND.
the gdchart-lib is included in ruby-gdchart-package. the installation for just gdchart is a bit messy because it would cause some conflicts with installed gd-libs. i found this conflict while writing the ebuild for ruby-gdchart and found it very useful that gdchart was included into the ruby-gdchart-tarball. the gdchart is compiled staticly into the ruby-gdchart-module and so there is no real need for an explicitly gdchart.ebuild regards, mathias
the gdchart-library is included in the ruby-gdchart-package and so there is no real need for gdchart as an additional ebuild and dependency. furthermore i found some conflicts in compiling gdchart on a system which already has the gd-library (its something like gdchart compiles its own version of gd-lib and some of the headers are called the same and so on .. very messy somehow. i tried to build a nice ebuild before i build the ruby-gdchart.ebuild but when i saw gdchart is included i stopped.). regards, mathias
Sorry, I have very limited internet access at the moment. Please can someone else from the ruby herd take this. Thanks.
Hi, sorry for the delay, too. We need some modification to the ebuild to include it to Portage. * Its filename should be ruby-gdchart-0.0.9_beta.ebuild instead of ruby-gdchart-0.0.9b.ebuild. We have several special suffix regarding status of a package. Refer to Gentoo Linux Development Policy chapter 3 for detail. If you change the filename as ruby-gdchart-0.0.9_beta.ebuild, MY_P will be something like MY_P="${P/_/-}". This uses shell parameter expansion. See manpage of bash for other type of expansion. * There's no need to write "inherit eutils" for the ebuild. It may be from another ebuild you based it on. epatch is now included in portage (it was part of eutils a while ago). * SRC_URI would be "mirror://sourceforge.jp/ruby-gdchart/..." so that it could be downloaded from various mirror sites. * LICENSE must be "Ruby" (the same reason I wrote to ruby-opengl) * KEYWORDS should contain arches that you tested on (ditto) * You forgot to add "media-libs/libgd" to DEPEND list. It fails to build if you don't have libgd. If you rewrite and resubmit the ebuild, we'll include it as soon as possible. If you have any question about it, feel free to ask.
Sorry for the delay. I've just done necessary changes to your ebuild and committed it to Portage. Next time we'll check and include your ebuild as soon as we can. Thanks for submitting the ebuild.