ebuild cleanup and change for bug #106877
authorSteve Arnold <nerdboy@gentoo.org>
Thu, 13 Oct 2005 06:38:35 +0000 (06:38 +0000)
committerSteve Arnold <nerdboy@gentoo.org>
Thu, 13 Oct 2005 06:38:35 +0000 (06:38 +0000)
Package-Manager: portage-2.0.51.22-r3

sci-geosciences/grass/ChangeLog
sci-geosciences/grass/Manifest
sci-geosciences/grass/files/digest-grass-6.0.0-r2 [deleted file]
sci-geosciences/grass/grass-6.0.0-r2.ebuild [deleted file]
sci-geosciences/grass/grass-6.0.1.ebuild

index 2883de059b25369f94a3ae413d323eece0df61f8..21cb3337bdc579639b7e19632ee02d3abb9bbd3e 100644 (file)
@@ -1,6 +1,10 @@
 # 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.13 2005/09/17 21:53:11 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/ChangeLog,v 1.14 2005/10/13 06:38:35 nerdboy Exp $
+
+  13 Oct 2005; Steve Arnold <nerdboy@gentoo.org> -grass-6.0.0-r2.ebuild,
+  grass-6.0.1.ebuild:
+  ebuild cleanup and change for bug #106877
 
   17 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> grass-6.0.0-r2.ebuild:
   Stable on ppc.
index f7ce5ef5a7f362a91c94e7fb04445822fb558c76..2c303f3a9c94beceb95a14ff243c8c60aa3a4119 100644 (file)
@@ -1,11 +1,9 @@
-MD5 3017eb03431fcb86fac8abf4c07f8cc0 grass-6.0.0-r2.ebuild 3167
-MD5 350d9696f5bd4a42c007d7e1358f5c9e grass-5.4.0.ebuild 2746
-MD5 e3525ea07aea3bae2424110708012cd1 metadata.xml 480
-MD5 7710269795f9e8dd7dbfb769ce95accf ChangeLog 3939
+MD5 ebaaf5b47adaf9656d99909aa9d8ff51 ChangeLog 4080
 MD5 3bd6e46846f23339b4e13fb95dc58a71 grass-5.0.2.ebuild 2644
-MD5 74abd5523c680c9060c625a552517060 grass-6.0.1.ebuild 3197
+MD5 844e4e2afa998f9da5e57bf51f07b9c7 grass-6.0.1.ebuild 3208
+MD5 e3525ea07aea3bae2424110708012cd1 metadata.xml 480
+MD5 350d9696f5bd4a42c007d7e1358f5c9e grass-5.4.0.ebuild 2746
 MD5 f41ae1ddcca30e1eeea2a74100f36ba4 files/99grass-6 100
-MD5 3856d089c392313ea91a67cb000a90a9 files/digest-grass-5.4.0 65
 MD5 bdf9112abfe51ff3b2cd0547318640df files/digest-grass-5.0.2 69
 MD5 1c66247c142863956c87662a927bf828 files/digest-grass-6.0.1 64
-MD5 10ebb9a11297c10411154dd687057f1d files/digest-grass-6.0.0-r2 64
+MD5 3856d089c392313ea91a67cb000a90a9 files/digest-grass-5.4.0 65
diff --git a/sci-geosciences/grass/files/digest-grass-6.0.0-r2 b/sci-geosciences/grass/files/digest-grass-6.0.0-r2
deleted file mode 100644 (file)
index a673dc7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 42ecbb76b00117a324017e2b27c4fe68 grass-6.0.0.tar.gz 7905863
diff --git a/sci-geosciences/grass/grass-6.0.0-r2.ebuild b/sci-geosciences/grass/grass-6.0.0-r2.ebuild
deleted file mode 100644 (file)
index 190abb6..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.0.0-r2.ebuild,v 1.3 2005/09/17 21:53:11 hansmi 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 ~ppc64 sparc x86"
-
-# add gdal back to use flags once grass is fixed
-IUSE="blas fftw jpeg lapack motif mysql nls odbc opengl png postgres readline tcltk tiff truetype"
-
-RESTRICT="nostrip"
-
-DEPEND=">=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
-       blas? ( virtual/blas )
-       fftw? ( =sci-libs/fftw-2* )
-       sci-libs/gdal
-       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 )
-       png? ( >=media-libs/libpng-1.2.2 )
-       readline? ( sys-libs/readline )
-       tcltk? ( >=dev-lang/tcl-8.3.4
-               >=dev-lang/tk-8.3.4 )
-       tiff? ( >=media-libs/tiff-3.5.7 )
-       truetype? ( >=media-libs/freetype-2.0 )
-       nls? ( x11-terms/mlterm )
-       opengl? ( virtual/opengl )
-       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/lib/mysql" \
-               || MYCONF="${MYCONF} --without-mysql"
-
-       if use opengl; then
-           MYCONF="${MYCONF} --with-opengl-libs=/usr/lib/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/lib:${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` \
-               `use_with png` \
-               `use_with tiff` \
-               `use_with odbc` \
-               `use_enable amd64 64bit` \
-               `use_with opengl` \
-               `use_with readline` \
-               ${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
-}
index 8b239164ab4be71aeaa326e86f0dc7c2bfbbb90a..ecb661a6265307518854b66152f4f0dc7078139c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 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.1 2005/09/14 03:58:04 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.0.1.ebuild,v 1.2 2005/10/13 06:38:35 nerdboy Exp $
 
 inherit eutils
 
@@ -12,10 +12,11 @@ SRC_URI="http://grass.itc.it/grass60/source/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="6"
-KEYWORDS="~x86 ~amd64 ~ppc ~ppc64 ~sparc"
+KEYWORDS="x86 ~amd64 ~ppc sparc"
+# 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 tcltk tiff truetype"
+IUSE="blas fftw jpeg lapack motif mysql nls odbc opengl png postgres readline tiff truetype"
 
 RESTRICT="nostrip"
 
@@ -28,9 +29,9 @@ DEPEND=">=sys-devel/make-3.80
        >=sys-devel/gcc-3.2.2
        sys-apps/man
        >=sci-libs/proj-4.4.7
+       sci-libs/gdal
        blas? ( virtual/blas )
        fftw? ( =sci-libs/fftw-2* )
-       sci-libs/gdal
        jpeg? ( media-libs/jpeg )
        lapack? ( virtual/lapack )
        motif? ( x11-libs/openmotif )
@@ -39,12 +40,12 @@ DEPEND=">=sys-devel/make-3.80
        odbc? ( >=dev-db/unixODBC-2.0.6 )
        png? ( >=media-libs/libpng-1.2.2 )
        readline? ( sys-libs/readline )
-       tcltk? ( >=dev-lang/tcl-8.3.4
-               >=dev-lang/tk-8.3.4 )
        tiff? ( >=media-libs/tiff-3.5.7 )
        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"
 
 src_unpack() {