summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-03-18 22:28:45 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-03-18 22:28:45 +0000
commit7b37d218017275483842966c086951030d2dddce (patch)
tree6da584eaaf6117d6eac911e4062448ca6a9e7c50 /sci-geosciences/grass
parentStable on amd64 per bug #126321 (diff)
downloadgentoo-2-7b37d218017275483842966c086951030d2dddce.tar.gz
gentoo-2-7b37d218017275483842966c086951030d2dddce.tar.bz2
gentoo-2-7b37d218017275483842966c086951030d2dddce.zip
Fixes for bugs 119133, 123707, and 125561, plus modular X updates
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'sci-geosciences/grass')
-rw-r--r--sci-geosciences/grass/ChangeLog11
-rw-r--r--sci-geosciences/grass/Manifest36
-rw-r--r--sci-geosciences/grass/files/digest-grass-6.0.23
-rw-r--r--sci-geosciences/grass/grass-5.0.2.ebuild6
-rw-r--r--sci-geosciences/grass/grass-5.4.0.ebuild6
-rw-r--r--sci-geosciences/grass/grass-6.0.1.ebuild44
-rw-r--r--sci-geosciences/grass/grass-6.0.2.ebuild131
7 files changed, 209 insertions, 28 deletions
diff --git a/sci-geosciences/grass/ChangeLog b/sci-geosciences/grass/ChangeLog
index 21cb3337bdc5..97166c666ffd 100644
--- a/sci-geosciences/grass/ChangeLog
+++ b/sci-geosciences/grass/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-geosciences/grass
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.14 2005/10/13 06:38:35 nerdboy Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.15 2006/03/18 22:28:45 nerdboy Exp $
+
+*grass-6.0.2 (18 Mar 2006)
+
+ 18 Mar 2006; Steve Arnold <nerdboy@gentoo.org> grass-5.0.2.ebuild,
+ grass-5.4.0.ebuild, grass-6.0.1.ebuild, +grass-6.0.2.ebuild:
+ Fixes for bugs 119133, 123707, and 125561 (dep removal, sed bash fix, and
+ rev bump) plus tcltk repair and modular X updates (ver. 6 only).
13 Oct 2005; Steve Arnold <nerdboy@gentoo.org> -grass-6.0.0-r2.ebuild,
grass-6.0.1.ebuild:
diff --git a/sci-geosciences/grass/Manifest b/sci-geosciences/grass/Manifest
index 2c303f3a9c94..df06098eb0a2 100644
--- a/sci-geosciences/grass/Manifest
+++ b/sci-geosciences/grass/Manifest
@@ -1,9 +1,33 @@
-MD5 ebaaf5b47adaf9656d99909aa9d8ff51 ChangeLog 4080
-MD5 3bd6e46846f23339b4e13fb95dc58a71 grass-5.0.2.ebuild 2644
-MD5 844e4e2afa998f9da5e57bf51f07b9c7 grass-6.0.1.ebuild 3208
-MD5 e3525ea07aea3bae2424110708012cd1 metadata.xml 480
-MD5 350d9696f5bd4a42c007d7e1358f5c9e grass-5.4.0.ebuild 2746
+MD5 f0b46b9a1ab23936bffd80e431afadc6 ChangeLog 4385
+RMD160 3ce11c422b9439c604110fdc9a8e20fded06fd63 ChangeLog 4385
+SHA256 cdf22ba0a74db7dcb51934a1103d6e699d31284c85d7c7862fdd059d8778dbc8 ChangeLog 4385
MD5 f41ae1ddcca30e1eeea2a74100f36ba4 files/99grass-6 100
+RMD160 e62ea08a12a22039fbe8fb396e011fd9b769ff2f files/99grass-6 100
+SHA256 dce426f95d7be7f7deae328537ad8666d4ff140dc6de0bb65495f23ad1a5e8f8 files/99grass-6 100
MD5 bdf9112abfe51ff3b2cd0547318640df files/digest-grass-5.0.2 69
-MD5 1c66247c142863956c87662a927bf828 files/digest-grass-6.0.1 64
+RMD160 f611ce7fe84cba829ad5a44e51bfeaaf1304d19a files/digest-grass-5.0.2 69
+SHA256 fae4faae61b0e9a8b1c4d3bea57b36a8a25ff16501c0b770841a4a0f2a0f882a files/digest-grass-5.0.2 69
MD5 3856d089c392313ea91a67cb000a90a9 files/digest-grass-5.4.0 65
+RMD160 78106b2a53336a74eda55cb43f05bd5f1ec57ffe files/digest-grass-5.4.0 65
+SHA256 635cd0b0f4ca4d3c6cd455a9acd50b49e438bf58d0a292d0e46a5bda370f2983 files/digest-grass-5.4.0 65
+MD5 1c66247c142863956c87662a927bf828 files/digest-grass-6.0.1 64
+RMD160 fa76b80c704923cb5de5a7fe50f1627cbd615a2c files/digest-grass-6.0.1 64
+SHA256 a6f0cc573230f918e9f384c64711e2cece48aa737a847c765175c11c51908bf8 files/digest-grass-6.0.1 64
+MD5 e66c229df06d3688329f85a424c1e1ff files/digest-grass-6.0.2 238
+RMD160 bf3ba19f561ae1797a385f9aac5f729f833e2fb0 files/digest-grass-6.0.2 238
+SHA256 9ca2a9fab8f3a80cbcb6bd4fa6fe6b8dfc22ea9e0270303bacf0fddc3d3babec files/digest-grass-6.0.2 238
+MD5 6fd37ac3b36b45c6b90397e085bc1b3a grass-5.0.2.ebuild 2667
+RMD160 8e3c89e3cf42894080dafbbe6b64f9f582d6d29a grass-5.0.2.ebuild 2667
+SHA256 d3130a88aa5ff8980920d5f9b4cd07dcd9d33e0bee21598efd11d61f69805882 grass-5.0.2.ebuild 2667
+MD5 24c26cc375055b249185fee44fdbd3e1 grass-5.4.0.ebuild 2765
+RMD160 4242eae1412773fc20dbabec52ec4b2752b503a3 grass-5.4.0.ebuild 2765
+SHA256 c8ad3a232e44d152429cdf986110ccf83ce37772a8c9443847537c68e606f764 grass-5.4.0.ebuild 2765
+MD5 594ce13042bc29b341a40cf469444eca grass-6.0.1.ebuild 3637
+RMD160 4fd697fcabe4afe967c938506cf217a6623e8aeb grass-6.0.1.ebuild 3637
+SHA256 29fd826be72ad3ee4b987b57b9893bf558e2354945049f2ceb08cc49a89ed641 grass-6.0.1.ebuild 3637
+MD5 620180f457f68c73b77c4317ba73b087 grass-6.0.2.ebuild 3566
+RMD160 e56963673501b23872f6ba724bbdc57b34393368 grass-6.0.2.ebuild 3566
+SHA256 d57183cf05496c1d32ba999f836cf7d461e8c79c3a23e5dff7a4867eeb698f7d grass-6.0.2.ebuild 3566
+MD5 e3525ea07aea3bae2424110708012cd1 metadata.xml 480
+RMD160 bbaed2145b0a160795114ae2b9b254cbdedae480 metadata.xml 480
+SHA256 da3919f4adbc99a2833fbd43f3986a7a389eb469dd2a4fe03b690373e1f5e048 metadata.xml 480
diff --git a/sci-geosciences/grass/files/digest-grass-6.0.2 b/sci-geosciences/grass/files/digest-grass-6.0.2
new file mode 100644
index 000000000000..d4d5551a1528
--- /dev/null
+++ b/sci-geosciences/grass/files/digest-grass-6.0.2
@@ -0,0 +1,3 @@
+MD5 e31887f84ff1f0c830c2b2e8760bbde7 grass-6.0.2.tar.gz 8640862
+RMD160 64a251c9fe9ae0920e86c0fba7e3081eb0b83fc3 grass-6.0.2.tar.gz 8640862
+SHA256 dabe7315be1147b40f148a93add29dd405725aca39f366f31826b17230f8437b grass-6.0.2.tar.gz 8640862
diff --git a/sci-geosciences/grass/grass-5.0.2.ebuild b/sci-geosciences/grass/grass-5.0.2.ebuild
index bb21bdae6dda..08186f6e9b5e 100644
--- a/sci-geosciences/grass/grass-5.0.2.ebuild
+++ b/sci-geosciences/grass/grass-5.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-5.0.2.ebuild,v 1.5 2005/06/02 15:41:24 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-5.0.2.ebuild,v 1.6 2006/03/18 22:28:45 nerdboy Exp $
DESCRIPTION="An open-source GIS with raster and vector functionality"
HOMEPAGE="http://grass.itc.it/"
@@ -18,7 +18,7 @@ DEPEND=">=sys-devel/make-3.80
>=sys-devel/flex-2.5.4a
>=sys-devel/bison-1.35
>=sys-libs/ncurses-5.3
- virtual/x11
+ || ( x11-libs/libX11 virtual/x11 )
>=sys-libs/gdbm-1.8.0
>=sys-devel/gcc-3.2.2
=sci-libs/fftw-2*
diff --git a/sci-geosciences/grass/grass-5.4.0.ebuild b/sci-geosciences/grass/grass-5.4.0.ebuild
index c864cdd03090..7478182e800e 100644
--- a/sci-geosciences/grass/grass-5.4.0.ebuild
+++ b/sci-geosciences/grass/grass-5.4.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-5.4.0.ebuild,v 1.2 2005/09/11 04:14:51 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-5.4.0.ebuild,v 1.3 2006/03/18 22:28:45 nerdboy Exp $
inherit eutils toolchain-funcs
@@ -38,7 +38,7 @@ DEPEND=">=sys-devel/make-3.80
>=dev-lang/tk-8.3.4 )
truetype? ( >=media-libs/freetype-2.0.0 )
motif? ( x11-libs/openmotif )
- X? ( virtual/x11 )
+ X? || ( x11-libs/libX11 virtual/x11 )
nls? ( x11-terms/mlterm )"
src_compile() {
diff --git a/sci-geosciences/grass/grass-6.0.1.ebuild b/sci-geosciences/grass/grass-6.0.1.ebuild
index ecb661a62653..67f4f9c84168 100644
--- a/sci-geosciences/grass/grass-6.0.1.ebuild
+++ b/sci-geosciences/grass/grass-6.0.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.0.1.ebuild,v 1.2 2005/10/13 06:38:35 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.0.1.ebuild,v 1.3 2006/03/18 22:28:45 nerdboy Exp $
inherit eutils
@@ -12,15 +12,15 @@ SRC_URI="http://grass.itc.it/grass60/source/${P}.tar.gz
LICENSE="GPL-2"
SLOT="6"
-KEYWORDS="x86 ~amd64 ~ppc sparc"
+KEYWORDS="~amd64 ~ppc sparc x86"
# To-do: get ppc64 gdal deps fixed up
# add gdal back to use flags once grass is fixed
-IUSE="blas fftw jpeg lapack motif mysql nls odbc opengl png postgres readline tiff truetype"
+IUSE="fftw jpeg motif mysql nls odbc opengl png postgres readline tcltk tiff truetype"
RESTRICT="nostrip"
-DEPEND=">=sys-devel/make-3.80
+RDEPEND=">=sys-devel/make-3.80
>=sys-libs/zlib-1.1.4
>=sys-devel/flex-2.5.4a
>=sys-devel/bison-1.35
@@ -30,11 +30,8 @@ DEPEND=">=sys-devel/make-3.80
sys-apps/man
>=sci-libs/proj-4.4.7
sci-libs/gdal
- blas? ( virtual/blas )
fftw? ( =sci-libs/fftw-2* )
jpeg? ( media-libs/jpeg )
- lapack? ( virtual/lapack )
- motif? ( x11-libs/openmotif )
postgres? ( >=dev-db/postgresql-7.3 )
mysql? ( dev-db/mysql )
odbc? ( >=dev-db/unixODBC-2.0.6 )
@@ -44,15 +41,36 @@ DEPEND=">=sys-devel/make-3.80
truetype? ( >=media-libs/freetype-2.0 )
nls? ( x11-terms/mlterm )
opengl? ( virtual/opengl )
- >=dev-lang/tcl-8.3.4
- >=dev-lang/tk-8.3.4
- virtual/x11"
+ tcltk? ( >=dev-lang/tcl-8.3.4
+ >=dev-lang/tk-8.3.4 )
+ motif? ( x11-libs/openmotif )
+ || (
+ ( x11-libs/libXmu
+ x11-libs/libXext
+ x11-libs/libXp
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXpm
+ x11-libs/libXaw )
+ virtual/x11
+ )"
+
+DEPEND="${RDEPEND}
+ X? ( || (
+ ( x11-proto/xproto x11-proto/xextproto )
+ virtual/x11
+ )
+ )"
+
src_unpack() {
unpack ${A}
cd ${S}
epatch rpm/fedora/grass-readline.patch
+ sed -i -e "s/relid'/relid/" "${S}"/configure || die "sed blew chunks"
}
src_compile() {
@@ -82,11 +100,8 @@ src_compile() {
export LD_LIBRARY_PATH="/${WORKDIR}/image/usr/grass60/$(get_libdir):${LD_LIBRARY_PATH}"
./configure \
- `use_with tcltk` \
`use_with postgres` \
`use_with motif` \
- `use_with blas` \
- `use_with lapack` \
`use_with fftw` \
`use_with truetype freetype` \
`use_with jpeg` \
@@ -96,6 +111,7 @@ src_compile() {
`use_enable amd64 64bit` \
`use_with opengl` \
`use_with readline` \
+ `use_with tcltk` \
${MYCONF} || die "Error: configure failed!"
emake -j1 || die "Error: emake failed!"
}
diff --git a/sci-geosciences/grass/grass-6.0.2.ebuild b/sci-geosciences/grass/grass-6.0.2.ebuild
new file mode 100644
index 000000000000..d5afb006b2ea
--- /dev/null
+++ b/sci-geosciences/grass/grass-6.0.2.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.0.2.ebuild,v 1.1 2006/03/18 22:28:45 nerdboy Exp $
+
+inherit eutils
+
+DESCRIPTION="An open-source GIS with raster and vector functionality"
+HOMEPAGE="http://grass.itc.it/"
+SRC_URI="http://grass.itc.it/grass60/source/${P}.tar.gz
+ http://grass.meteo.uni.wroc.pl/grass60/source/${P}.tar.gz
+ http://grass.ibiblio.org/grass60/source/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="6"
+KEYWORDS="~amd64 ~ppc sparc x86"
+# To-do: get ppc64 gdal deps fixed up
+
+# add gdal back to use flags once grass is fixed
+IUSE="fftw jpeg motif mysql nls odbc opengl png postgres readline tcltk tiff truetype"
+
+RESTRICT="nostrip"
+
+RDEPEND=">=sys-devel/make-3.80
+ >=sys-libs/zlib-1.1.4
+ >=sys-devel/flex-2.5.4a
+ >=sys-devel/bison-1.35
+ >=sys-libs/ncurses-5.3
+ >=sys-libs/gdbm-1.8.0
+ >=sys-devel/gcc-3.2.2
+ sys-apps/man
+ >=sci-libs/proj-4.4.7
+ sci-libs/gdal
+ fftw? ( =sci-libs/fftw-2* )
+ jpeg? ( media-libs/jpeg )
+ postgres? ( >=dev-db/postgresql-7.3 )
+ mysql? ( dev-db/mysql )
+ odbc? ( >=dev-db/unixODBC-2.0.6 )
+ png? ( >=media-libs/libpng-1.2.2 )
+ readline? ( sys-libs/readline )
+ tiff? ( >=media-libs/tiff-3.5.7 )
+ truetype? ( >=media-libs/freetype-2.0 )
+ nls? ( x11-terms/mlterm )
+ opengl? ( virtual/opengl )
+ tcltk? ( >=dev-lang/tcl-8.3.4
+ >=dev-lang/tk-8.3.4 )
+ motif? ( x11-libs/openmotif )
+ || (
+ ( x11-libs/libXmu
+ x11-libs/libXext
+ x11-libs/libXp
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXpm
+ x11-libs/libXaw )
+ virtual/x11
+ )"
+
+DEPEND="${RDEPEND}
+ X? ( || (
+ ( x11-proto/xproto x11-proto/xextproto )
+ virtual/x11
+ )
+ )"
+
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch rpm/fedora/grass-readline.patch
+}
+
+src_compile() {
+
+ MYCONF=" --with-cxx --enable-shared --with-gdal=/usr/bin/gdal-config"
+
+ if use truetype; then
+ MYCONF="${MYCONF} --with-freetype-includes=/usr/include/freetype2/"
+ fi
+
+ use mysql && MYCONF="${MYCONF} --with-mysql \
+ --with-mysql-includes=/usr/include/mysql \
+ --with-mysql-libs=/usr/$(get_libdir)/mysql" \
+ || MYCONF="${MYCONF} --without-mysql"
+
+ if use opengl; then
+ MYCONF="${MYCONF} --with-opengl-libs=/usr/$(get_libdir)/opengl/xorg-x11/lib/"
+ fi
+
+# apparently gdal isn't optional with this version
+# we'll temporarily make it a hard dep for now
+# if use gdal; then
+# MYCONF="${MYCONF} --with-gdal=/usr/bin/gdal-config"
+# else
+# MYCONF="${MYCONF} --without-gdal"
+# fi
+
+ export LD_LIBRARY_PATH="/${WORKDIR}/image/usr/grass60/$(get_libdir):${LD_LIBRARY_PATH}"
+ ./configure \
+ `use_with postgres` \
+ `use_with motif` \
+ `use_with fftw` \
+ `use_with truetype freetype` \
+ `use_with jpeg` \
+ `use_with png` \
+ `use_with tiff` \
+ `use_with odbc` \
+ `use_enable amd64 64bit` \
+ `use_with opengl` \
+ `use_with readline` \
+ `use_with tcltk` \
+ ${MYCONF} || die "Error: configure failed!"
+ emake -j1 || die "Error: emake failed!"
+}
+
+src_install() {
+ make install \
+ prefix=${D}/usr UNIX_BIN=${D}/usr/bin BINDIR=${D}/usr/bin PREFIX=${D}/usr \
+ || die "Error: make install failed!"
+ sed -i "s:^GISBASE=.*$:GISBASE=/usr/grass60:" \
+ ${D}/usr/bin/grass60
+
+ # This is required for GRASS dependent ebuilds (ie. QGIS)
+ mv ${D}/usr/${P} ${D}/usr/grass60
+
+ einfo "Adding env.d entry for Grass6"
+ insinto /etc/env.d
+ newins ${FILESDIR}/99grass-6 99grass
+}