Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38060

Summary: geos-1.0.0 (New Ebuild)
Product: Gentoo Linux Reporter: Nathaniel C. Domingo <nathaniel.domingo>
Component: New packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: djay, rmay31, sci
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 82419    
Bug Blocks: 38062, 56262    
Attachments: geos-1.0.0.ebuild
Patch to change the old tar.gz to tar.bz2
Slightly update ebuild
New ebuild for geos-2.0.0 to be used with postgis-0.9.0+
GEOS 2.1.0 ebuild
sci-libs/geos-2.1.1 ebuild, dependency of new postgis support
Added ~amd64
The lastest ebuild for the postgis ebuild (add documentation generation).

Description Nathaniel C. Domingo 2004-01-13 01:44:32 UTC
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.
Comment 1 Nathaniel C. Domingo 2004-01-13 01:45:38 UTC
Created attachment 23723 [details]
geos-1.0.0.ebuild
Comment 2 Yann Ramin 2004-04-28 16:58:22 UTC
Just FYI (noting who it was assigned to), this isn't a Java library. I'm also interested in getting this included in Gentoo :)
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-05-17 16:18:54 UTC
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. 
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2004-07-18 02:04:35 UTC
postgis(bug 38062) want to use this library.
So, if no one would commit this package, I'll do.
ok?
Comment 5 Paul Sumner 2004-08-21 11:52:48 UTC
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.
Comment 6 Paul Sumner 2004-08-21 11:53:58 UTC
Created attachment 37885 [details]
Slightly update ebuild
Comment 7 Jeff Kowalczyk 2004-09-30 10:38:07 UTC
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.
Comment 8 MZM 2004-11-23 03:54:00 UTC
Created attachment 44548 [details]
GEOS 2.1.0 ebuild

Geos 2.1.0 ebuild - my first ebuild :)
Comments?
Comment 9 Jeff Kowalczyk 2004-12-29 14:06:35 UTC
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.
Comment 10 Paul Sumner 2005-02-17 17:42:10 UTC
Created attachment 51483 [details]
Added ~amd64

Test minimally on amd64.
Comment 11 FENOY Gérald (RETIRED) gentoo-dev 2005-04-05 05:15:35 UTC
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 12 FENOY Gérald (RETIRED) gentoo-dev 2005-04-05 05:17:56 UTC
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
>}
>
Comment 13 Masatomo Nakano (RETIRED) gentoo-dev 2005-05-11 16:41:10 UTC
finally, I've add it to the portage tree :)

I removed warning regarding postgis because this is initial version in portage.
Is it problem?
Comment 14 FENOY Gérald (RETIRED) gentoo-dev 2005-05-12 17:06:10 UTC
Thanks for your help.

No problem. 
Special thanks for removing the so bad --prefix=/usr which is already added by econf :]