summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-24 14:46:48 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-24 14:46:48 +0000
commit0e0e93fc32e007acd155d231aa78bc0ef962190c (patch)
tree3472e93ff29d4fb93665861de54175f175ee3a1c /sci-libs
parentMask app-editors/xxe for removal. (diff)
downloadhistorical-0e0e93fc32e007acd155d231aa78bc0ef962190c.tar.gz
historical-0e0e93fc32e007acd155d231aa78bc0ef962190c.tar.bz2
historical-0e0e93fc32e007acd155d231aa78bc0ef962190c.zip
Version Bump, hopefully fixing bug 264724
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/ogdi/ChangeLog9
-rw-r--r--sci-libs/ogdi/Manifest16
-rw-r--r--sci-libs/ogdi/files/ogdi-3.1.6-fpic.patch38
-rw-r--r--sci-libs/ogdi/files/ogdi-3.1.6-unbundle-libs.patch13
-rw-r--r--sci-libs/ogdi/ogdi-3.1.4-r1.ebuild45
-rw-r--r--sci-libs/ogdi/ogdi-3.1.6.ebuild62
6 files changed, 130 insertions, 53 deletions
diff --git a/sci-libs/ogdi/ChangeLog b/sci-libs/ogdi/ChangeLog
index a9f2731722a0..874eddf20b66 100644
--- a/sci-libs/ogdi/ChangeLog
+++ b/sci-libs/ogdi/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/ogdi
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ogdi/ChangeLog,v 1.25 2010/01/01 17:42:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ogdi/ChangeLog,v 1.26 2010/06/24 14:46:47 jlec Exp $
+
+*ogdi-3.1.6 (24 Jun 2010)
+
+ 24 Jun 2010; Justin Lecher <jlec@gentoo.org> -ogdi-3.1.4-r1.ebuild,
+ +ogdi-3.1.6.ebuild, +files/ogdi-3.1.6-fpic.patch,
+ +files/ogdi-3.1.6-unbundle-libs.patch:
+ Version Bump, hopefully fixing bug 264724
01 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
ogdi-3.1.5-r1.ebuild:
diff --git a/sci-libs/ogdi/Manifest b/sci-libs/ogdi/Manifest
index 131091ad9e35..0473af06d8bd 100644
--- a/sci-libs/ogdi/Manifest
+++ b/sci-libs/ogdi/Manifest
@@ -3,16 +3,18 @@ Hash: SHA1
AUX ogdi-3.1.4-fpic.patch 7619 RMD160 090f659286e14cf53689ce48c0b8f2dda71e6b13 SHA1 ca9c747046c4241508e9e166ebc62252172345ae SHA256 4cb6775b0b8af81a7a4a18bbdbac004b64df7661e3ad8fa89c26ef664fca1f46
AUX ogdi-3.1.5-fpic.patch 7619 RMD160 090f659286e14cf53689ce48c0b8f2dda71e6b13 SHA1 ca9c747046c4241508e9e166ebc62252172345ae SHA256 4cb6775b0b8af81a7a4a18bbdbac004b64df7661e3ad8fa89c26ef664fca1f46
-DIST ogdi-3.1.4.tar.gz 912849 RMD160 5fbc26c4a5b36eee44a7f35d74be15da9d55bdc3 SHA1 1ab9631715c5bb2a20ef70cc347537e83f09f737 SHA256 4b89290418d5f3acba818c2dd7582b49f7c1c60942d6a973708f4a2bcf0e9cd4
+AUX ogdi-3.1.6-fpic.patch 961 RMD160 c260e867a75e84df0751a0f987c5a37d9807c07e SHA1 f7f5fae556b5671549baca091f6c841a0a41b736 SHA256 ddb4e93c553f703f2a14f0f25a2c092377de4cd692cb73c3ecacce0e1fdd40f2
+AUX ogdi-3.1.6-unbundle-libs.patch 330 RMD160 95af674f87347aa50ecdbae93ba9afda5db7573c SHA1 5ec149a069b0d1fe8b050192a45902c82729979d SHA256 4d19bbd04e01697162efd318048f39d53f307b071b6d2a00ad70c68b94dae17b
DIST ogdi-3.1.5.tar.gz 913902 RMD160 fa06b3d6d87e688eeb24bbaab2b6775d7d17e0bd SHA1 f94ec72519733f8f65359f29d03eb1facc4284a0 SHA256 f9d65312d03ac0b1ba0a0dd05885c41a3995fccfe9cab8d7012300546da3e44b
-EBUILD ogdi-3.1.4-r1.ebuild 1227 RMD160 a8ecbfe4af4882dd7eeaa34c75f953ca18810157 SHA1 f0dfd215e82a074a28785e0f4d34b28b9da3c92f SHA256 d25215e3dc84f85df368d921c0d8c4ad102b42b1605b3e7121a0a7c59162316c
+DIST ogdi-3.1.6.tar.gz 960280 RMD160 78aaa95f376f7adfedfba71206b4491636571a1c SHA1 b82bcb3f8562da8abdbaf6be86d58c434f24f0a1 SHA256 ffe44f1378cb6642b1a5f40380cf849a0808e3428a51d9f5511c315d37223e4a
EBUILD ogdi-3.1.5-r1.ebuild 1244 RMD160 690529d3c22134fd8ec6ce7b6dcb9a98df52710c SHA1 b65c3f80e4ec4657a7f39b390c2399fd84a07d6e SHA256 52f7365f23b81150353f446c894953e58b8e978d7c24b4aae3efe19325056173
-MISC ChangeLog 4342 RMD160 6a03c510591f2e8e73f76759911fe533e28a1eb9 SHA1 4ab805168ab9564590a1386d7d9669b3bc4e9048 SHA256 6e1185b9599c1ee95ede4dcaed5595df51b802fcaa8d9a73e3a72e1229ecb27a
+EBUILD ogdi-3.1.6.ebuild 1540 RMD160 020e3c01f02813981e9dc887eecff56f6cc7b725 SHA1 1b69baadd9d485c831953dd28674205e7020d93e SHA256 2e978fd9a46201c49a00e8f04df10ae5374c53372258aaf9988f630771950fad
+MISC ChangeLog 4572 RMD160 d3ebedc3615d8c20af4b2bfeb2b392ef959f908d SHA1 a67ee882bf3ca3569de27feda785dbadf86d7403 SHA256 c113e22215d664ccfbb38e283d7706e65ccbb953699f1ec1c159b680eb21f494
MISC metadata.xml 219 RMD160 afa364dd7c619c7179794d9b79d1605cbf2b30e0 SHA1 732e2ff46a8902f6327d3c29cf41de3bea58a2df SHA256 23e5a7dc2ac7cb650cd59b8021fcfc866ee0cc4154e9f1f3be5db58f5ac49cd9
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAks+NAwACgkQAiZjviIA2XgI5QCfYA8qnun8NM7L2FwPi04AUgs0
-BosAniQjOZIgul21Mu/XRbp1pbSSEZ77
-=7gyF
+iEYEARECAAYFAkwjb90ACgkQgAnW8HDreRYhoACeIv55eEySglcCcTecWvMn7at8
+w+YAniV0vPwBsDR3A0Mn+j1+gl3svYUS
+=yU9x
-----END PGP SIGNATURE-----
diff --git a/sci-libs/ogdi/files/ogdi-3.1.6-fpic.patch b/sci-libs/ogdi/files/ogdi-3.1.6-fpic.patch
new file mode 100644
index 000000000000..f6fbc85e5ae9
--- /dev/null
+++ b/sci-libs/ogdi/files/ogdi-3.1.6-fpic.patch
@@ -0,0 +1,38 @@
+diff --git a/config/generic.mak.in b/config/generic.mak.in
+index 1cb74f5..2e9cabe 100644
+--- a/config/generic.mak.in
++++ b/config/generic.mak.in
+@@ -35,16 +35,16 @@ AR = ar cr
+ # Compilation and linking flags
+ #
+ SHLIB_CFLAGS = @C_PIC@
+-COMMON_CFLAGS = $(OPTIMIZATION) @CFLAGS@ @C_WFLAGS@ -DUNIX=1
++COMMON_CFLAGS = $(OPTIMIZATION) @CFLAGS@ @C_WFLAGS@ -DUNIX=1 @C_PIC@
+
+-SHLIB_LDFLAGS = -shared
+-COMMON_LDFLAGS = $(OPTIMIZATION)
++SHLIB_LDFLAGS = -shared -Wl,-soname,$(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR)
++COMMON_LDFLAGS = $(OPTIMIZATION) $(LDFLAGS)
+
+ RPC_INCLUDES = @RPC_INCLUDES@
+
+ UCB_STATICLIB =
+
+-TCL_INCLUDE = -I/usr/include/tcl8.3
++TCL_INCLUDE = -I${prefix}/include
+ TCL_LINKLIB =
+
+ #
+diff --git a/config/unix.mak b/config/unix.mak
+index e3af578..927b0fc 100644
+--- a/config/unix.mak
++++ b/config/unix.mak
+@@ -55,7 +55,7 @@ LINK_SW = -L
+ ifeq ($(CFG),debug)
+ OPTIMIZATION = -g
+ else
+-OPTIMIZATION = -O
++OPTIMIZATION =
+ endif
+
+ #
diff --git a/sci-libs/ogdi/files/ogdi-3.1.6-unbundle-libs.patch b/sci-libs/ogdi/files/ogdi-3.1.6-unbundle-libs.patch
new file mode 100644
index 000000000000..df96ddfeda76
--- /dev/null
+++ b/sci-libs/ogdi/files/ogdi-3.1.6-unbundle-libs.patch
@@ -0,0 +1,13 @@
+diff --git a/makefile b/makefile
+index 8c62a03..3ecb0f0 100644
+--- a/makefile
++++ b/makefile
+@@ -17,7 +17,7 @@ include $(TOPDIR)/config/common.mak
+ #
+ # Sub-directories that need to be built
+ #
+-subdirs = external vpflib ogdi contrib
++subdirs = vpflib ogdi contrib
+
+ ifneq ($(PROJ_SETTING),external)
+ subdirs := proj $(subdirs)
diff --git a/sci-libs/ogdi/ogdi-3.1.4-r1.ebuild b/sci-libs/ogdi/ogdi-3.1.4-r1.ebuild
deleted file mode 100644
index 6fd97ca32a35..000000000000
--- a/sci-libs/ogdi/ogdi-3.1.4-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ogdi/ogdi-3.1.4-r1.ebuild,v 1.6 2005/11/01 07:41:27 nerdboy Exp $
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="OGDI - Open Geographical Datastore Interface, a GIS support library"
-HOMEPAGE="http://ogdi.sourceforge.net"
-SRC_URI="mirror://sourceforge/ogdi/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ppc ~ppc64 sparc x86"
-IUSE=""
-
-DEPEND="sci-libs/proj
- sys-libs/zlib
- dev-libs/expat"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-fpic.patch
-}
-
-src_compile() {
- export TOPDIR="${S}"
- export TARGET=`uname`
- export CFG="release"
- export LD_LIBRARY_PATH=$TOPDIR/bin/${TARGET}
-
- econf --with-projlib="-L/usr/$(get_libdir) -lproj" \
- --with-zlib --with-expat || die "econf failed"
- make || die "make failed"
-}
-
-src_install() {
- mv ${S}/bin/Linux/*.so ${S}/lib/Linux/. || die "lib move failed"
- dobin ${S}/bin/Linux/*
- insinto /usr/include
- doins ogdi/include/ecs.h ogdi/include/ecs_util.h
- dolib.so lib/Linux/*.so
- dosym libogdi31.so /usr/$(get_libdir)/libogdi.so || die "symlink failed"
- dodoc ChangeLog LICENSE NEWS README VERSION
-}
diff --git a/sci-libs/ogdi/ogdi-3.1.6.ebuild b/sci-libs/ogdi/ogdi-3.1.6.ebuild
new file mode 100644
index 000000000000..1e6a1b3bc3a7
--- /dev/null
+++ b/sci-libs/ogdi/ogdi-3.1.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ogdi/ogdi-3.1.6.ebuild,v 1.1 2010/06/24 14:46:47 jlec Exp $
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Open Geographical Datastore Interface, a GIS support library"
+HOMEPAGE="http://ogdi.sourceforge.net"
+SRC_URI="mirror://sourceforge/ogdi/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static-libs"
+
+DEPEND="
+ sci-libs/proj
+ sys-libs/zlib
+ dev-libs/expat"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ rm -rf external
+ epatch ${FILESDIR}/${P}-unbundle-libs.patch
+ epatch ${FILESDIR}/${P}-fpic.patch
+ sed 's:O2:O9:g' -i configure || die
+}
+
+src_configure() {
+ export TOPDIR="${S}"
+ export TARGET=`uname`
+ export CFG="release"
+ export LD_LIBRARY_PATH=$TOPDIR/bin/${TARGET}
+
+ econf \
+ --with-projlib="-L${EPREFIX}/usr/$(get_libdir) -lproj" \
+ --with-zlib --with-expat
+}
+
+src_compile() {
+ # bug #299239
+ emake -j1 \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ SHLIB_LD="$(tc-getCC)" \
+ || die "make failed"
+}
+
+src_install() {
+ mv ${S}/bin/${TARGET}/*.so* ${S}/lib/Linux/. || die "lib move failed"
+ dobin ${S}/bin/${TARGET}/* || die
+ insinto /usr/include
+ doins ogdi/include/ecs.h ogdi/include/ecs_util.h || die
+ dolib.so lib/${TARGET}/lib* || die
+ if use static-libs; then
+ dolib.a lib/${TARGET}/static/*.a || die
+ fi
+# dosym libogdi31.so /usr/$(get_libdir)/libogdi.so || die "symlink failed"
+ dodoc ChangeLog NEWS README || die
+}