From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/grass/
Date: Tue, 1 Dec 2015 08:38:50 +0000 (UTC) [thread overview]
Message-ID: <1448959086.7b7292c071b7e6f0c8be5952cf2a05691d072222.idella4@gentoo> (raw)
commit: 7b7292c071b7e6f0c8be5952cf2a05691d072222
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 1 08:38:06 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Tue Dec 1 08:38:06 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b7292c0
sci-geosciences/grass: remove pmasked and broken vn. 6.4.2
Package-Manager: portage-2.2.24
sci-geosciences/grass/Manifest | 1 -
sci-geosciences/grass/grass-6.4.2.ebuild | 327 -------------------------------
2 files changed, 328 deletions(-)
diff --git a/sci-geosciences/grass/Manifest b/sci-geosciences/grass/Manifest
index f520f8f..4fc483a 100644
--- a/sci-geosciences/grass/Manifest
+++ b/sci-geosciences/grass/Manifest
@@ -1,2 +1 @@
-DIST grass-6.4.2.tar.gz 24097202 SHA256 670bb74d3000ea0932b7e988d3080d0c629f9eb22a8479bb2987ded473f7b4ca SHA512 537905942965ca949ce241c9e147bb340837f1815d36a1d0170cf18482f66936cb24bda540345d8287a98e4a9275fc129bbc4decf7c3053d123e0f90819b2e5b WHIRLPOOL 65e71c9846f59226bf2ccb3cf224628ac4065dfb2385454083e1db21361e1872192e05763c8a28154f1b536d9b276084efdeb58d730a40f99402ff3e5bf13eb4
DIST grass-7.0.1.tar.gz 33733368 SHA256 0987dd1618fde24b05785a502c7db8c09401a522a7a3ee50543068fab4eb405f SHA512 cb1c356eb19f793530e4e313cc5e81b3be27817eea8961c6e5673b955726e7ae26c38942d6a620dc89c60b8051cdb0ed549c70fdfab8c65f5d17c901521ffaff WHIRLPOOL ed97e45873ea39df32e4ad9ed663087e0077d4bfbbbc9f1fc89729c1d411d550e3354fbc937741c465d94929b6da30311e44926db53fe0f1edb3ce7b850b2266
diff --git a/sci-geosciences/grass/grass-6.4.2.ebuild b/sci-geosciences/grass/grass-6.4.2.ebuild
deleted file mode 100644
index d76e8bf..0000000
--- a/sci-geosciences/grass/grass-6.4.2.ebuild
+++ /dev/null
@@ -1,327 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-PYTHON_DEPEND="python? 2"
-WANT_AUTOCONF="2.1"
-
-inherit eutils gnome2 multilib python versionator wxwidgets autotools
-
-MY_PM=${PN}$(get_version_component_range 1-2 ${PV})
-MY_PM=${MY_PM/.}
-MY_P=${P/_rc/RC}
-
-DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D vizualization"
-HOMEPAGE="http://grass.osgeo.org/"
-SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="6"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE="X cairo cxx ffmpeg fftw gmath jpeg motif mysql nls odbc opengl png postgres python readline sqlite tiff truetype wxwidgets"
-
-TCL_DEPS="
- >=dev-lang/tcl-8.5:0
- >=dev-lang/tk-8.5:0
- "
-
-RDEPEND="
- >=app-admin/eselect-1.2
- sci-libs/gdal
- sci-libs/proj
- sys-libs/gdbm
- sys-libs/ncurses
- sys-libs/zlib
- cairo? ( x11-libs/cairo[X?,opengl?] )
- ffmpeg? ( >=virtual/ffmpeg-0.10 )
- fftw? ( sci-libs/fftw:3.0 )
- gmath? (
- virtual/blas
- virtual/lapack
- )
- jpeg? ( virtual/jpeg:0 )
- mysql? ( virtual/mysql )
- odbc? ( dev-db/unixODBC )
- opengl? (
- virtual/opengl
- ${TCL_DEPS}
- )
- png? ( media-libs/libpng:0 )
- postgres? ( >=dev-db/postgresql-8.4 )
- readline? ( sys-libs/readline:0 )
- sqlite? ( dev-db/sqlite:3 )
- tiff? ( media-libs/tiff:0 )
- truetype? ( media-libs/freetype:2 )
- wxwidgets? ( >=dev-python/wxpython-2.8.10.1[cairo,opengl?] )
- X? (
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXext
- x11-libs/libXmu
- x11-libs/libXp
- x11-libs/libXpm
- x11-libs/libXt
- motif? (
- >=x11-libs/motif-2.3:0
- opengl? (
- || (
- media-libs/mesa[motif]
- ( media-libs/mesa x11-libs/libGLw )
- )
- )
- )
- !python? ( ${TCL_DEPS} )
- !wxwidgets? ( ${TCL_DEPS} )
- )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- sys-devel/flex
- sys-devel/gettext
- sys-devel/bison
- wxwidgets? ( dev-lang/swig )
- X? (
- x11-proto/xextproto
- x11-proto/xproto
- )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-pkgconf.patch
- "${FILESDIR}"/${PN}-6.4.1-libav-0.8.patch
- "${FILESDIR}"/${PN}-6.4.2-ffmpeg-1.patch
- "${FILESDIR}"/${PN}-6.4.2-configure.patch
- "${FILESDIR}"/${PN}-6.4.2-libav-9.patch
-)
-
-REQUIRED_USE="
- motif? ( X )
- opengl? ( X )
- wxwidgets? ( X python )
-"
-
-pkg_setup() {
- local myblas
-
- # check correct gmath profiles (this must sadly die)
- 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 python; then
- # only py2 is supported
- python_set_active_version 2
- fi
-}
-
-src_prepare() {
- use opengl || epatch "${FILESDIR}"/${PN}-6.4.0-html-nonviz.patch
- epatch ${PATCHES[@]}
- epatch_user
- eautoconf
-}
-
-src_configure() {
- local myconf TCL_LIBDIR
-
- if use X; then
- TCL_LIBDIR="/usr/$(get_libdir)/tcl8.5"
- myconf+="
- --with-tcltk-libs=${TCL_LIBDIR}
- $(use_with motif)
- $(use_with opengl)
- --with-x
- "
-
- use opengl && myconf+=" --with-tcltk"
- use motif && use opengl && myconf+=" --with-glw"
- use motif || myconf+=" --without-glw"
-
- if use wxwidgets; then
- WX_BUILD=yes
- WX_GTK_VER=2.8
- need-wxwidgets unicode
- myconf+="
- --without-tcltk
- --with-wxwidgets=${WX_CONFIG}
- "
- else
- WX_BUILD=no
- # use tcl gui if wxwidgets are disabled
- myconf+="
- --with-tcltk
- --without-wxwidgets
- "
- fi
- else
- myconf+="
- --without-glw
- --without-opengl
- --without-tcltk
- --without-wxwidgets
- --without-x
- "
- fi
-
- econf \
- --with-gdal=$(type -P gdal-config) \
- --with-curses \
- --with-proj \
- --with-proj-share="/usr/share/proj/" \
- --without-glw \
- --enable-shared \
- $(use_enable amd64 64bit) \
- $(use_enable ppc64 64bit) \
- $(use_with cairo) \
- $(use_with cxx) \
- $(use_with fftw) \
- $(use_with ffmpeg) \
- $(use_with gmath blas) \
- $(use_with gmath lapack) \
- $(use_with jpeg) \
- $(use_with mysql) \
- --with-mysql-includes=/usr/include/mysql \
- --with-mysql-libs=/usr/$(get_libdir)/mysql \
- $(use_with nls) \
- $(use_with odbc) \
- $(use_with png) \
- $(use_with postgres) \
- $(use_with python) \
- $(use_with readline) \
- $(use_with sqlite) \
- $(use_with tiff) \
- $(use_with truetype freetype) \
- --with-freetype-includes="/usr/include/freetype2/" \
- --enable-largefile \
- ${myconf}
-}
-
-src_compile() {
- # we don't want to link against embeded mysql lib
- emake MYSQLDLIB=""
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- INST_DIR="${D}"/usr/${MY_PM} \
- prefix="${D}"/usr BINDIR="${D}"/usr/bin \
- PREFIX="${D}"/usr/ \
- install
-
- pushd "${ED}"/usr/${MY_PM} &> /dev/null
-
- # fix docs
- dodoc AUTHORS CHANGES
- dohtml -r docs/html/*
- rm -rf docs/ || die
- rm -rf {AUTHORS,CHANGES,COPYING,GPL.TXT,REQUIREMENTS.html} || die
-
- # manuals
- dodir /usr/share/man/man1
- mv man/man1/* "${ED}"/usr/share/man/man1/ || die
- rm -rf man/ || die
- mv -vf "${ED}"/usr/share/man/man1/sql.1{,grass} || die #381599
-
- # translations
- if use nls; then
- dodir /usr/share/locale/
- mv locale/* "${ED}"/usr/share/locale/ || die
- rm -rf locale/ || die
- # pt_BR is broken
- mv "${ED}"/usr/share/locale/pt_br "${ED}"/usr/share/locale/pt_BR || die
- fi
-
- popd &> /dev/null
-
- # place libraries where they belong
- mv "${ED}"/usr/${MY_PM}/lib/ "${ED}"/usr/$(get_libdir)/ || die
-
- # place header files where they belong
- mv "${ED}"/usr/${MY_PM}/include/ "${ED}"/usr/include/ || die
- # make rules are not required on installed system
- rm -rf "${ED}"/usr/include/Make || die
-
- # mv remaining gisbase stuff to libdir
- mv "${ED}"/usr/${MY_PM} "${ED}"/usr/$(get_libdir) || die
-
- # set proper default window renderer
- if [[ ${WX_BUILD} == yes ]]; then
- sed -i \
- -e "1,\$s:^DEFAULT_GUI.*:DEFAULT_GUI=\"wxpython\":" \
- "${ED}"/usr/$(get_libdir)/${MY_PM}/etc/Init.sh || die
- fi
-
- # get proper folder for grass path in script
- sed -i \
- -e "1,\$s:^GISBASE.*:GISBASE=/usr/$(get_libdir)/${MY_PM}:" \
- "${ED}"usr/bin/${MY_PM} || die
-
- # get proper fonts path for fontcap
- sed -i \
- -e "s|${ED}/usr/${MY_PM}|${EPREFIX}usr/$(get_libdir)/${MY_PM}|" \
- "${ED}"/usr/$(get_libdir)/${MY_PM}/etc/fontcap || die
-
- if use X; then
- generate_files
- doicon gui/icons/${PN}-48x48.png
- domenu ${MY_PM}-grass.desktop
- fi
-
- # install .pc file so other apps know where to look for grass
- insinto /usr/$(get_libdir)/pkgconfig/
- doins grass.pc
-
- # fix weird +x on tcl scripts
- find "${D}" -name "*.tcl" -exec chmod +r-x '{}' \;
-}
-
-pkg_postinst() {
- if use X; then
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
- fi
-}
-
-pkg_postrm() {
- if use X; then
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
- fi
-}
-
-generate_files() {
- local GUI="-gui"
- [[ ${WX_BUILD} == yes ]] && GUI="-wxpython"
-
- cat <<-EOF > ${MY_PM}-grass.desktop
- [Desktop Entry]
- Encoding=UTF-8
- Version=1.0
- Name=Grass ${PV}
- Type=Application
- Comment=GRASS (Geographic Resources Analysis Support System), the original GIS.
- Exec=${TERM} -T Grass -e /usr/bin/${MY_PM} ${GUI}
- Path=
- Icon=${PN}-48x48.png
- Categories=Science;Education;
- Terminal=false
-EOF
-}
next reply other threads:[~2015-12-01 8:38 UTC|newest]
Thread overview: 135+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 8:38 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 6:08 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/grass/ Sam James
2025-02-27 6:01 Sam James
2025-02-27 6:01 Sam James
2025-02-19 11:05 Sam James
2025-02-16 16:27 Sam James
2025-02-04 16:54 Sam James
2024-09-28 9:38 Sam James
2024-08-25 20:27 Eli Schwartz
2024-08-25 20:27 Eli Schwartz
2024-08-10 7:24 Joonas Niilola
2024-08-10 7:24 Joonas Niilola
2024-07-31 19:14 Arthur Zamarin
2024-07-18 7:41 Joonas Niilola
2024-07-18 7:41 Joonas Niilola
2024-07-18 7:41 Joonas Niilola
2024-04-23 21:33 Sam James
2024-03-20 22:12 Andrew Ammerlaan
2024-03-15 6:47 Sam James
2024-01-05 6:42 Sam James
2023-11-30 3:07 Sam James
2023-10-27 8:13 Andrew Ammerlaan
2023-10-17 7:57 Andrew Ammerlaan
2023-10-17 7:57 Andrew Ammerlaan
2023-10-17 7:57 Andrew Ammerlaan
2023-10-04 21:56 Conrad Kostecki
2023-08-24 17:46 Sam James
2023-07-16 13:26 Sam James
2023-07-16 13:26 Sam James
2023-07-16 6:47 Viorel Munteanu
2023-06-15 9:04 Andrew Ammerlaan
2023-05-06 3:52 Sam James
2023-05-06 3:52 Sam James
2023-05-01 9:22 Sam James
2023-05-01 9:22 Sam James
2023-03-19 17:14 David Seifert
2023-03-07 9:09 Joonas Niilola
2023-02-08 4:11 Sam James
2023-02-08 4:11 Sam James
2023-02-08 4:11 Sam James
2023-02-08 4:11 Sam James
2023-02-01 7:23 Sam James
2022-12-18 7:46 Sam James
2022-12-16 4:30 Sam James
2022-12-16 1:40 Sam James
2022-11-18 8:23 Joonas Niilola
2022-10-12 23:32 Sam James
2022-10-09 18:29 Andreas Sturmlechner
2022-09-28 6:31 Jakov Smolić
2022-09-28 6:31 Jakov Smolić
2022-09-28 6:31 Jakov Smolić
2022-08-27 10:53 Sam James
2022-07-15 1:56 Sam James
2022-07-07 19:44 Sam James
2022-07-07 19:44 Sam James
2022-06-15 18:17 Sam James
2022-06-15 9:46 Jakov Smolić
2022-06-04 3:58 Sam James
2022-05-22 20:08 Jakov Smolić
2022-05-22 20:08 Jakov Smolić
2022-05-12 14:56 Andrew Ammerlaan
2022-05-12 14:56 Andrew Ammerlaan
2022-04-18 7:15 Sam James
2022-04-06 6:32 Agostino Sarubbo
2022-04-06 6:32 Agostino Sarubbo
2022-03-10 7:51 Jakov Smolić
2022-03-10 7:51 Jakov Smolić
2022-02-26 2:29 Sam James
2022-02-26 2:29 Sam James
2022-01-16 1:47 Sam James
2022-01-16 1:47 Sam James
2022-01-16 1:47 Sam James
2022-01-16 1:47 Sam James
2022-01-02 7:05 Sam James
2022-01-02 7:05 Sam James
2022-01-02 7:05 Sam James
2022-01-02 7:05 Sam James
2022-01-02 7:05 Sam James
2021-12-28 22:00 Sam James
2021-12-09 16:24 Agostino Sarubbo
2021-12-07 7:26 Agostino Sarubbo
2021-10-20 2:42 Sam James
2021-10-20 2:42 Sam James
2021-09-24 23:37 Sam James
2021-09-24 23:36 Sam James
2021-09-24 23:36 Sam James
2021-09-24 23:36 Sam James
2021-09-24 23:36 Sam James
2021-08-06 4:10 Sam James
2021-05-29 17:47 Sam James
2021-03-08 7:35 Joonas Niilola
2021-03-07 19:46 Sam James
2021-03-07 15:54 Thomas Deutschmann
2021-03-07 15:17 Joonas Niilola
2021-03-06 14:07 Joonas Niilola
2021-02-14 14:28 Joonas Niilola
2021-01-20 14:13 Joonas Niilola
2021-01-06 6:34 Sam James
2020-12-29 20:20 Sam James
2020-11-25 8:16 Joonas Niilola
2020-10-04 15:24 David Seifert
2020-02-09 16:36 Michał Górny
2020-02-08 16:53 David Seifert
2020-01-22 21:50 Michał Górny
2020-01-16 6:39 Michał Górny
2019-07-05 8:22 Benda XU
2019-02-21 10:29 Andreas Sturmlechner
2019-02-21 10:29 Andreas Sturmlechner
2018-09-09 15:41 Amy Liffey
2018-05-24 9:36 Amy Liffey
2018-05-24 9:36 Amy Liffey
2018-04-10 1:19 Sam Jorna
2018-04-01 22:27 Matt Turner
2018-03-05 22:14 Andreas Sturmlechner
2017-05-24 7:06 Michael Weber
2017-04-18 23:25 Sam Jorna
2017-04-18 23:25 Sam Jorna
2017-01-11 1:51 Sam Jorna
2017-01-11 1:51 Sam Jorna
2016-11-30 2:29 Sam Jorna
2016-11-26 1:07 Sam Jorna
2016-06-06 7:00 Sam Jorna
2016-03-15 23:26 Sam Jorna
2016-03-14 23:37 Sam Jorna
2015-12-26 22:31 Amy Winston
2015-12-26 22:31 Amy Winston
2015-10-30 6:19 Jeroen Roovers
2015-10-28 15:04 Amy Winston
2015-10-24 13:58 Amy Winston
2015-10-24 5:57 Ian Delaney
2015-10-22 4:37 Ian Delaney
2015-10-18 10:31 Amy Winston
2015-10-18 10:31 Amy Winston
2015-10-18 8:14 Pacho Ramos
2015-10-17 17:39 Amy Winston
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448959086.7b7292c071b7e6f0c8be5952cf2a05691d072222.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox