summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-13 17:29:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-13 17:29:58 +0000
commit912e4aadd99a7c5f3dab4a6ebbb1ff5b566bb5d1 (patch)
treeaa368c18d7450f389637aff24382a97748024222 /sci-geosciences/grass
parentarm/ia64/sh stable wrt #236230 (diff)
downloadgentoo-2-912e4aadd99a7c5f3dab4a6ebbb1ff5b566bb5d1.tar.gz
gentoo-2-912e4aadd99a7c5f3dab4a6ebbb1ff5b566bb5d1.tar.bz2
gentoo-2-912e4aadd99a7c5f3dab4a6ebbb1ff5b566bb5d1.zip
old
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'sci-geosciences/grass')
-rw-r--r--sci-geosciences/grass/Manifest4
-rw-r--r--sci-geosciences/grass/files/grass-6.2.3-html-nonviz.patch10
-rw-r--r--sci-geosciences/grass/files/grass-6.2.3-html-nviz-fix.patch10
-rw-r--r--sci-geosciences/grass/grass-6.2.3.ebuild257
4 files changed, 0 insertions, 281 deletions
diff --git a/sci-geosciences/grass/Manifest b/sci-geosciences/grass/Manifest
index a88aa143fd7d..ac76540bf08e 100644
--- a/sci-geosciences/grass/Manifest
+++ b/sci-geosciences/grass/Manifest
@@ -4,19 +4,15 @@ AUX grass-6.2.0-html-nonviz.patch 1721 RMD160 ad57109c03792e8376ccbe2ed8ff459b85
AUX grass-6.2.1-ffmpeg-fix.patch 816 RMD160 eaefa978b965e1b66d0efec6d3ba8a07d4515307 SHA1 322b5ed2089f5b94f74ba38924cde7fe2611918c SHA256 2cbdfe11078783cf5bc95a5f4baaa05769c0921025737d8afdcf638321b4b501
AUX grass-6.2.1-html-nonviz.patch 1742 RMD160 39103490f48abcc53f1fb8f3d9df48910866fab6 SHA1 a98486fb4b21f5ef42084d37ec0e6addc655fdc2 SHA256 73b7661832230f5ea1dadf983d6ce723b2f87bd3bafc4e939f36f7620d764270
AUX grass-6.2.1-html-nviz-fix.patch 592 RMD160 7935449babc7dd6a07cffad66513c404a266848f SHA1 653a049d80fba93968620f7dc4e0ec2bbfb8edba SHA256 df2bfefc4aa6ddb030eb4a809a3cc885ade69e526a0ec99cd31fe1b751e05c41
-AUX grass-6.2.3-html-nonviz.patch 505 RMD160 d16ac0549244f6b30773961f0618f72013714921 SHA1 de545193d16313467ceed9bc50964ed01b94fc07 SHA256 df37c9165d637611b7909c9e8da0a4149adb0773ed09650d0bd40fc095947da5
-AUX grass-6.2.3-html-nviz-fix.patch 287 RMD160 8e9d99abaef2c0b2f02395aaf48ecb5b53b3db5e SHA1 87ba9271d1b262076db2df6cc22a28cfa6196b1b SHA256 a45c6acf88cfe947d0526c4e436f4150cdb60becde4d0c14d2e88740d7ae3689
AUX grass-6.3.0-html-nonviz.patch 763 RMD160 054b336fcc47d64e56a40d2dda955732047ceb08 SHA1 e8f10078f8cccc5a47d2f2c8bed1d9ace7ed2598 SHA256 e870d724170a9d629a5d0bb8897a2e2f5d1b25eed204a7450061f26d48192981
AUX grass_icon.png 4470 RMD160 b4a6deeb6ce859a57c6aba3c4095e2dd718f36e9 SHA1 6839c28ec1d01c486d45a245a159fced3c0d0810 SHA256 c6c873f24bb59b8ff98000b500ca3a047ca86af216b4b7b1593baef5f2fbe6a9
DIST grass-5.4.0.tar.gz 20487737 RMD160 76821edeff55e72ffad0fa5db275dca2221660a5 SHA1 3324bf8af1861c63d9d171577ffa7fb7e87582f1 SHA256 ac4cc3f1408750d7f9d54ea2155b7e8960041337d4e4d3662bffb41cb9899537
DIST grass-6.0.1.tar.gz 8508427 RMD160 35cc84ecb593ddc83f78d41985d1ffe9db060295 SHA1 7faa22d1ac3e2272c12a82e284d2e3a8819b31ca SHA256 53127007260bf2181e711fa0520636ff497bd0c3406c16a1002945b1c4415340
DIST grass-6.2.1.tar.gz 12599109 RMD160 ff885023b926ece6545591666fdaa1189facc8bc SHA1 bbd179b9145d735873a13f40a25784b64762387b SHA256 fb7a1030a51222b586f1fd4cbd6ee2c99a0974dba72c70032d336a6a30b073f9
-DIST grass-6.2.3.tar.gz 12978605 RMD160 f0148cda0ad596807b35655466770145047274d7 SHA1 ea5301f541cd05077f55fcc65ac19568b8e6fba5 SHA256 a172d233fcbfc7f2c2de01af1f6fc7828e46867785dcaf861cf87238775e4a61
DIST grass-6.3.0.tar.gz 17688547 RMD160 66db4223fc0d5172371903f71d68f1dd024ad2d2 SHA1 c4b0b1407655f8ed1e16e911df191323fe00eb9e SHA256 a84658a7065a3ece09d3d18a3b601515484d1e5dbb3a92b8fbac3c37e368acf4
EBUILD grass-5.4.0.ebuild 3097 RMD160 885b7eabdad5fa912b7120b8a571d5b59c9f3971 SHA1 72b35ffc88f218afb14055e94eb8573713d67bb9 SHA256 d93cbad8dea7f99c74979abfc5a86292dffa76e8e3477c5cbc8a7cdf7cf33d21
EBUILD grass-6.0.1.ebuild 3185 RMD160 9861427db9a4a846941eacd6d8f35cb057460d1b SHA1 79ef31f94dcb9bf8d7a3a89563867b291509173b SHA256 8ce6c6abd8359c2d736d491998d2d93720c89834a7e5f935c954b26af31781be
EBUILD grass-6.2.1.ebuild 6507 RMD160 4f383e98f43b50e6cc3ca594e33c1b80cafcfaed SHA1 fc78c4076f8d15f53ff568e5f031ac565f7705b4 SHA256 cbf66c333e16f85979aaaba47614fe8798aa6f30948083968ef30b83bd1a231a
-EBUILD grass-6.2.3.ebuild 7022 RMD160 5aaf43cbcf3cd3878e2439b24e8a0b5e9bcbcb26 SHA1 4080ab8f4bde1d41fb832d8a83f0119276d42d7f SHA256 3055f55ade77a246c9574c486d8e0273fed40e7283555f501ebcb3c3b6f9b843
EBUILD grass-6.3.0.ebuild 8234 RMD160 90bc30c53da6906a69b80c09065b6a75fae8bdfd SHA1 4eb2a2324bd39cb9015f25a8edd590813285b583 SHA256 28a8b8cd1a7a1947615a8f52d3462da429e96ab2e0267043573e2fe92680467a
MISC ChangeLog 13513 RMD160 9b6196352c92a34a579e4e08cee76c6466aba400 SHA1 dff3f01f14939d4ff4036404499fc352c52f3ffa SHA256 6d0fce9775da95ff63563f105629dac353c7dc064bc643c441aa4d99ce9e03fb
MISC metadata.xml 874 RMD160 d131172bff1e4b072dce2b0015df6afb31a51d2b SHA1 5c59aeba3ea221ab9c195d36cb8ce6dad3cb5bd1 SHA256 a036bd075d95c2326841a62e3146c7fe9f38654d611585962aa904bed0907aaa
diff --git a/sci-geosciences/grass/files/grass-6.2.3-html-nonviz.patch b/sci-geosciences/grass/files/grass-6.2.3-html-nonviz.patch
deleted file mode 100644
index 19fb4942bba3..000000000000
--- a/sci-geosciences/grass/files/grass-6.2.3-html-nonviz.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- tools/build_html_index.sh.orig 2007-11-02 10:50:14.000000000 +0100
-+++ tools/build_html_index.sh 2008-04-16 00:16:08.000000000 +0200
-@@ -132 +131,0 @@
--cp -f grassdocs.css $HTMLDIR/nviz/
-@@ -135 +133,0 @@
--cp -f grass.smlogo.gif grass_logo.png $HTMLDIR/nviz/
-@@ -166 +163,0 @@
--echo "<tr><td>&nbsp;&nbsp;<a href=\"nviz.html\">nviz</a> </td><td>visualization suite</td></tr>" >> $FULLINDEX
-@@ -248 +244,0 @@
--echo "<li><a href=\"nviz.html\">nviz</a> visualization and animation tool</li>" >> $FILENAME
diff --git a/sci-geosciences/grass/files/grass-6.2.3-html-nviz-fix.patch b/sci-geosciences/grass/files/grass-6.2.3-html-nviz-fix.patch
deleted file mode 100644
index e46bcc1f9e09..000000000000
--- a/sci-geosciences/grass/files/grass-6.2.3-html-nviz-fix.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- tools/build_html_index.sh.orig 2007-11-02 10:50:14.000000000 +0100
-+++ tools/build_html_index.sh 2008-04-16 00:12:28.000000000 +0200
-@@ -127,6 +127,7 @@
-
- ################
-
-+mkdir -p $HTMLDIR/nviz
- #copy over CSS:
- cp -f grassdocs.css $HTMLDIR/
- cp -f grassdocs.css $HTMLDIR/nviz/
diff --git a/sci-geosciences/grass/grass-6.2.3.ebuild b/sci-geosciences/grass/grass-6.2.3.ebuild
deleted file mode 100644
index bb3faaf4a6b5..000000000000
--- a/sci-geosciences/grass/grass-6.2.3.ebuild
+++ /dev/null
@@ -1,257 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/grass/grass-6.2.3.ebuild,v 1.9 2008/08/14 07:07:57 nerdboy Exp $
-
-inherit eutils fdo-mime versionator
-
-MY_PV=$(get_version_component_range 1-2 ${PV})
-MY_PVM=$(delete_all_version_separators ${MY_PV})
-MY_PM=${PN}${MY_PVM}
-
-DESCRIPTION="An open-source GIS with raster and vector functionality, as well as 3D vizualization."
-HOMEPAGE="http://grass.itc.it/"
-SRC_URI="http://grass.itc.it/${MY_PM}/source/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="6"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="ffmpeg fftw glw gmath jpeg largefile mysql nls odbc opengl png \
-postgres python readline sqlite tiff truetype X"
-
-RESTRICT="strip"
-
-RDEPEND=">=sys-libs/zlib-1.1.4
- >=sys-libs/ncurses-5.3
- >=sys-libs/gdbm-1.8.0
- || (
- sys-apps/man
- sys-apps/man-db )
- sci-libs/gdal
- >=sci-libs/proj-4.4.7
- ffmpeg? ( media-video/ffmpeg )
- fftw? ( sci-libs/fftw )
- gmath? ( virtual/blas
- virtual/lapack )
- jpeg? ( media-libs/jpeg )
- mysql? ( dev-db/mysql )
- odbc? ( >=dev-db/unixODBC-2.0.6 )
- opengl? ( ( virtual/opengl )
- ( x11-libs/openmotif )
- glw? ( media-libs/mesa ) )
- png? ( >=media-libs/libpng-1.2.2 )
- postgres? ( >=virtual/postgresql-server-7.3 )
- python? ( dev-lang/python )
- readline? ( sys-libs/readline )
- sqlite? ( dev-db/sqlite )
- tiff? ( >=media-libs/tiff-3.5.7 )
- truetype? ( >=media-libs/freetype-2.0 )
- X? (
- 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
- >=dev-lang/tcl-8.4
- >=dev-lang/tk-8.4
- )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/flex-2.5.4a
- >=sys-devel/bison-1.35
- X? (
- x11-proto/xproto
- x11-proto/xextproto
- )"
-
-pkg_setup() {
- local myblas
- if use gmath; then
- for d in $(eselect lapack show); do myblas=${d}; done
- if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
- ewarn "You need to set lapack to atlas or reference. Do:"
- ewarn " eselect lapack set <impl>"
- ewarn "where <impl> is atlas, threaded-atlas or reference"
- die "setup failed"
- fi
- for d in $(eselect blas show); do myblas=${d}; done
- if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
- ewarn "You need to set blas to atlas or reference. Do:"
- ewarn " eselect blas set <impl>"
- ewarn "where <impl> is atlas, threaded-atlas or reference"
- die "setup failed"
- fi
- fi
-
- if use glw && ! use opengl; then
- ewarn "You set USE='glw -opengl'. GLw support needs OpenGL."
- ewarn "OpenGL support also requires X."
- die "Set opengl and X useflags."
- fi
-
- if use glw && ! built_with_use media-libs/mesa motif; then
- ewarn "GRASS GLw/OpenGL support needs mesa with motif headers."
- ewarn "Please rebuild mesa with motif support."
- die "Re-emerge mesa with motif."
- fi
-
- if use opengl && ! use X; then
- ewarn "GRASS OpenGL support needs X (will also pull in Tcl/Tk)."
- die "Please set the X useflag."
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch rpm/fedora/grass-readline.patch
-
- if use opengl; then
- epatch "${FILESDIR}"/${P}-html-nviz-fix.patch
- else
- epatch "${FILESDIR}"/${P}-html-nonviz.patch
- fi
-
- # patch missing math functions (yes, this is still needed)
- sed -i -e "s:\$(EXTRA_LIBS):\$(EXTRA_LIBS) \$(MATHLIB):g" include/Make/Shlib.make
- echo "MATHLIB=-lm" >> include/Make/Rules.make
-}
-
-src_compile() {
- local myconf
- myconf="--prefix=/usr --with-cxx --enable-shared \
- --with-gdal=$(type -P gdal-config) --with-curses --with-proj \
- --with-includes=/usr/include --with-libs=/usr/$(get_libdir) \
- --with-proj-includes=/usr/include \
- --with-proj-libs=/usr/$(get_libdir) \
- --with-proj-share=/usr/share/proj"
-
- if use X; then
- myconf="${myconf} --with-tcltk --with-x \
- --with-tcltk-includes=/usr/include \
- --with-tcltk-libs=/usr/$(get_libdir)/tcl8.4"
- else
- myconf="${myconf} --without-tcltk --without-x"
- fi
-
- if use opengl; then
- myconf="${myconf} --with-opengl --with-opengl-libs=/usr/$(get_libdir)/opengl/xorg-x11/lib"
- if use glw; then
- myconf="${myconf} --with-glw"
- fi
- else
- myconf="${myconf} --without-opengl --without-glw"
- fi
-
- # Should handle either older or latest without intervention;
- # this won't work forever, but it should be okay for a while...
- if use ffmpeg; then
- myconf="${myconf} --with-ffmpeg \
- --with-ffmpeg-libs=/usr/$(get_libdir)"
- if has_version ">=media-video/ffmpeg-0.4.9_p20080326" ; then
- myconf="${myconf} --with-ffmpeg-includes=/usr/include/libav*"
- else
- myconf="${myconf} --with-ffmpeg-includes=/usr/include/ffmpeg"
- fi
- else
- myconf="${myconf} --without-ffmpeg"
- fi
-
- if use truetype; then
- myconf="${myconf} --with-freetype \
- --with-freetype-includes=/usr/include/freetype2"
- fi
-
- if use mysql; then
- myconf="${myconf} --with-mysql --with-mysql-includes=/usr/include/mysql \
- --with-mysql-libs=/usr/$(get_libdir)/mysql"
- else
- myconf="${myconf} --without-mysql"
- fi
-
- if use sqlite; then
- myconf="${myconf} --with-sqlite --with-sqlite-includes=/usr/include
- --with-sqlite-libs=/usr/$(get_libdir)"
- else
- myconf="${myconf} --without-sqlite"
- fi
-
- econf ${myconf} --with-libs=/usr/$(get_libdir) \
- $(use_enable amd64 64bit) \
- $(use_with fftw) \
- $(use_with gmath blas) \
- $(use_with gmath lapack) \
- $(use_with jpeg) \
- $(use_enable largefile) \
- $(use_with opengl motif) \
- $(use_with nls) \
- $(use_with odbc) \
- $(use_with png) \
- $(use_with postgres) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with tiff) || die "configure failed!"
-
- emake -j1 || die "emake failed!"
-}
-
-src_install() {
- elog "Grass Home is ${MY_PM}"
- make install UNIX_BIN="${D}"usr/bin BINDIR="${D}"usr/bin \
- PREFIX="${D}"usr INST_DIR="${D}"usr/${MY_PM} \
- || die "make install failed!"
-
- # get rid of DESTDIR in script path
- sed -i -e "s@${D}@/@" "${D}"usr/bin/${MY_PM}
-
- # Grass Extension Manager conflicts with ruby gems
- mv "${D}"usr/bin/gem "${D}"usr/${MY_PM}/bin/
-
- ebegin "Adding env.d and desktop entry for Grass6..."
- generate_files
- doenvd 99grass-6
- if use X; then
- doicon "${FILESDIR}"/grass_icon.png
- domenu ${MY_PM}-grass.desktop
- fi
- eend ${?}
-}
-
-pkg_postinst() {
- use X && fdo-mime_desktop_database_update
-
- elog "Note this version re-enables support for threads in Tcl and Tk."
- elog "Enable the threads USE flag and rebuild to try it."
-}
-
-pkg_postrm() {
- use X && fdo-mime_desktop_database_update
-}
-
-generate_files() {
- cat <<-EOF > 99grass-6
- GRASS_LD_LIBRARY_PATH="/usr/${MY_PM}/lib"
- LDPATH="/usr/${MY_PM}/lib"
- MANPATH="/usr/${MY_PM}/man"
- GRASS_HOME="/usr/${MY_PM}"
- EOF
-
- cat <<-EOF > ${MY_PM}-grass.desktop
- [Desktop Entry]
- Encoding=UTF-8
- Version=1.0
- Name=Grass ${PV}
- Type=Application
- Comment=GRASS Open Source GIS, derived from the original US Army Corps of Engineers project.
- Exec=${TERM} -T Grass -e /usr/bin/${MY_PM} -gui
- Path=
- Icon=grass_icon.png
- Categories=Science;Education;
- Terminal=true
- EOF
-}