This is a submittal of an ebuild for the geos library (C++ port of the Java Topology Suite). I suggest that it be included under dev-libs.
Created attachment 23723 [details] geos-1.0.0.ebuild
Just FYI (noting who it was assigned to), this isn't a Java library. I'm also interested in getting this included in Gentoo :)
I think this looks more like a scientific application than a Java program. And even if it was a Java program, I think sci would be the right place.
postgis(bug 38062) want to use this library. So, if no one would commit this package, I'll do. ok?
Created attachment 37884 [details, diff] Patch to change the old tar.gz to tar.bz2 It seems this has been changed from tar.gz to tar.bz2. I made a small change in the ebuild. Here is a patch and slightly change ebuild.
Created attachment 37885 [details] Slightly update ebuild
Created attachment 40794 [details] New ebuild for geos-2.0.0 to be used with postgis-0.9.0+ This version of geos is required for postgis integration with postgresql, work proceeding in http://bugs.gentoo.org/show_bug.cgi?id=38062 to update current postgresql ebuild with postgis USE flag.
Created attachment 44548 [details] GEOS 2.1.0 ebuild Geos 2.1.0 ebuild - my first ebuild :) Comments?
Created attachment 47160 [details] sci-libs/geos-2.1.1 ebuild, dependency of new postgis support This ebuild for geos-2.1.1 is moved to sci-libs, followign the example of proj and other recent moves. geos is a dependency of new USE postgis support for postgresql 7.4.6 and 8.0.0_rc2 ebuilds found in bug http://bugs.gentoo.org/show_bug.cgi?id=38062 Please commit this to CVS before or at the same time as #38062.
Created attachment 51483 [details] Added ~amd64 Test minimally on amd64.
Created attachment 55348 [details] The lastest ebuild for the postgis ebuild (add documentation generation). With this version you could generate the documentation for that library (doc must be set in the USE variable as is done for a lot of other packages). If "static" is set in USE so the library will be compiled staticaly. I also added the use of the 'Test Feature' which make the well known "make check" test . Thanks you to give me informations on how it works on your gentoo and any .
Comment on attachment 55348 [details] The lastest ebuild for the postgis ebuild (add documentation generation). ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DESCRIPTION="Geometry Engine - Open Source" >HOMEPAGE="http://geos.refractions.net" >SRC_URI="http://geos.refractions.net/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64 ~ia64 ~ppc ~sparc32 ~sparc64" >IUSE="static doc" > >DEPEND="doc? ( app-doc/doxygen)" >RDEPEND="" > >pkg_setup(){ > ewarn "IMPORTANT: GEOS 2.1.1 is not compatible with PostGIS 0.8 or lower." > ewarn "Do not upgrade to GEOS 2.1.1 unless you also upgrade your version of PostGIS at" > ewarn "the same time to PostGIS 0.9 or greater." > ewarn "So you need to use the following command : " > ewarn " # emerge -upv =postgis-1.0.0_rc3" > einfo "You have 10 secondes to hit control+c." > for i in $(seq 10); do echo -en "\E[33;0m." ;sleep 1;done > echo "" >} > >src_compile(){ > econf \ > $(use_enable static) \ > --prefix=/usr \ > || die "Error: econf failed" > emake || die "Error: emake failed" >} > >src_test() { > cd ${S} > make check || die "Trying a make check without success." >} > >src_install(){ > into /usr > einstall > dodoc AUTHORS COPYING INSTALL NEWS README TODO > if use doc; then > cd ${S}/doc > make doxygen-html > dohtml -r doxygen_docs/html/* > fi >} >
finally, I've add it to the portage tree :) I removed warning regarding postgis because this is initial version in portage. Is it problem?
Thanks for your help. No problem. Special thanks for removing the so bad --prefix=/usr which is already added by econf :]