From 718ae69bc796d8467d5b36bc008587568cc401e7 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 27 Aug 2014 04:47:09 -0300 Subject: move [gis]/merkaartor to [pcr] and remove unused [gis] --- gis/grass/PKGBUILD | 119 --------------------------------------- gis/grass/grass.conf | 1 - gis/grass/grass.install | 26 --------- gis/grass/grass.sh | 4 -- gis/libfreexl/PKGBUILD | 21 ------- gis/libspatialite/PKGBUILD | 24 -------- gis/merkaartor/PKGBUILD | 38 ------------- gis/merkaartor/install | 12 ---- gis/qgis/PKGBUILD | 64 --------------------- gis/qgis/qgis.desktop | 10 ---- gis/qgis/qgis_1.7.4_gcc4.7.patch | 20 ------- gis/spatialindex/PKGBUILD | 31 ---------- 12 files changed, 370 deletions(-) delete mode 100644 gis/grass/PKGBUILD delete mode 100644 gis/grass/grass.conf delete mode 100644 gis/grass/grass.install delete mode 100644 gis/grass/grass.sh delete mode 100644 gis/libfreexl/PKGBUILD delete mode 100644 gis/libspatialite/PKGBUILD delete mode 100644 gis/merkaartor/PKGBUILD delete mode 100644 gis/merkaartor/install delete mode 100644 gis/qgis/PKGBUILD delete mode 100644 gis/qgis/qgis.desktop delete mode 100644 gis/qgis/qgis_1.7.4_gcc4.7.patch delete mode 100644 gis/spatialindex/PKGBUILD (limited to 'gis') diff --git a/gis/grass/PKGBUILD b/gis/grass/PKGBUILD deleted file mode 100644 index 21a454577..000000000 --- a/gis/grass/PKGBUILD +++ /dev/null @@ -1,119 +0,0 @@ -# Maintainer (Arch): Thomas Dziedzic < gostrc at gmail > -# Contributor (Arch): dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor (Arch): Emiliano Vavassori - -pkgname=grass -pkgver=6.4.2 -pkgrel=2 -pkgdesc='Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization.' -arch=('i686' 'x86_64' 'mips64el') -url='http://grass.fbk.eu/' -license=('GPL') -depends=('cfitsio' 'fftw' 'gdal' 'libjpeg' 'libpng' 'libtiff' 'libxmu' 'mesa' 'python2' 'postgresql' 'proj' 'tcl' 'tk' 'wxpython' 'xorg-server') -makedepends=('freetype2') -optdepends=('sqlite3: sqlite3 database interface' - 'mysql: mysql database interface' - 'r: R language interface' - 'blas: required for GMATH library' - 'lapack: required for GMATH library' - 'cairo: cairo support' - 'ffmpeg: ffmpeg support' - 'lesstif: motif support') -options=('!libtool' '!makeflags') -install='grass.install' -source=("http://grass.fbk.eu/grass64/source/${pkgname}-${pkgver}.tar.gz" - "grass.sh" - "grass.conf") -md5sums=('d3398d6b1e3a2ef19cfb6e39a5ae9919' - 'a0e0ac6275e09a272f8ec38d3c0b4b3a' - '6103480c2a1adc19a50b9e925e5e6d4c') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - # python2 fix - sed -i 's_python $< $(GISBASE) > $@_python2 $< $(GISBASE) > $@_' gui/wxpython/Makefile - for file in $(find . -name '*.py' -print); do - sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file - sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file - done - - # the following exports are probably not needed - export PYTHON=python2 - export DOXNAME=python2 - export GRASS_python=python2 - - # fix wxpython error - sed -i 's/python/&2/' ./include/Make/Platform.make.in - - # see ${srcdir}/grass-6.4.0/REQUIREMENTS.html for options - ./configure \ - --prefix=/opt \ - --with-fftw \ - --with-postgres \ - --with-freetype \ - --with-freetype-includes=/usr/include/freetype2 \ - --with-nls \ - --with-gdal \ - --with-geos \ - --with-proj \ - --with-proj-share=/usr/share/proj \ - --with-python=/usr/bin/python2-config \ - --with-wxwidgets=/usr/bin/wx-config - - # sqlite3 support - # --with-sqlite \ - - # mysql support - # --with-mysql \ - # --with-mysql-includes=/usr/include/mysql \ - - # blas support - # --with-blas \ - - # lapack support - # --with-lapack \ - - make - - # some more potential problems nvm, works without, but save for future use if problems arrise - #cd ${pkgdir}/opt/grass-${pkgver} - #sed -i 's/PYTHON = python/PYTHON = python2/' include/Make/Python.make - #sed -i 's/GRASS_PYTHON=python/GRASS_PYTHON=python2/' etc/Init.sh -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make \ - INST_DIR=${pkgdir}/opt/grass-${pkgver} \ - BINDIR=${pkgdir}/usr/bin \ - install - - # fix $GISBASE path - sed -i "s|GISBASE=${pkgdir}/opt/grass-${pkgver}|GISBASE=/opt/grass-${pkgver}|g" \ - ${pkgdir}/usr/bin/grass64 - - # install profile.d file - install -D ${srcdir}/grass.sh \ - ${pkgdir}/etc/profile.d/grass.sh - - # install some freedesktop.org compatibility - install -D -m644 gui/icons/grass.desktop \ - ${pkgdir}/usr/share/applications/grass.desktop - - sed -i -e 's/grass65/grass64/' -e 's_/usr/share/icons_/usr/share/pixmaps_' \ - ${pkgdir}/usr/share/applications/grass.desktop - - install -D -m644 gui/icons/grass-48x48.png \ - ${pkgdir}/usr/share/pixmaps/grass-48x48.png - - install -D -m644 ${srcdir}/grass.conf \ - ${pkgdir}/etc/ld.so.conf.d/grass.conf - - # install g.html2man which is needed for some extensions - # FS#25705 - [grass] g.html2man is not installed into package directory - # https://bugs.archlinux.org/task/25705 - # most likely upstream problem which will be fixed in a version later than 6.4.1 - cp -r ./tools/g.html2man ${pkgdir}/opt/${pkgname}-${pkgver}/tools -} diff --git a/gis/grass/grass.conf b/gis/grass/grass.conf deleted file mode 100644 index bb4964d93..000000000 --- a/gis/grass/grass.conf +++ /dev/null @@ -1 +0,0 @@ -/opt/grass/lib diff --git a/gis/grass/grass.install b/gis/grass/grass.install deleted file mode 100644 index 878ea0186..000000000 --- a/gis/grass/grass.install +++ /dev/null @@ -1,26 +0,0 @@ -## arg 1: the new package version -post_install() { - pkgver=${1%-*} - - # Create symlink for version workaround. - ln -sf /opt/grass-${pkgver} /opt/grass - - echo 'Please relogin for required variables to be set from /etc/profile.d/grass.sh' -} - -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - pkgver=${1%-*} - - # Updating symlink for new version - ln -sf /opt/grass-${pkgver} /opt/grass -} - -## arg 1: the old package version -pre_remove() { - # Removing cruft symlink - rm -f /opt/grass -} - -# vim:set ts=2 sw=2 et: diff --git a/gis/grass/grass.sh b/gis/grass/grass.sh deleted file mode 100644 index ccc2fcd7e..000000000 --- a/gis/grass/grass.sh +++ /dev/null @@ -1,4 +0,0 @@ -export GISBASE=/opt/grass -export PATH=$PATH:$GISBASE/bin -export MANPATH=$MANPATH:$GISBASE/man -export GRASS_PYTHON=python2 diff --git a/gis/libfreexl/PKGBUILD b/gis/libfreexl/PKGBUILD deleted file mode 100644 index 8ce082994..000000000 --- a/gis/libfreexl/PKGBUILD +++ /dev/null @@ -1,21 +0,0 @@ -# Maintainer (Arch): Bruno Gola -pkgname=libfreexl -pkgver=1.0.0b -pkgrel=1 -pkgdesc="Library to extract valid data from within an Excel (.xls) spreadsheet." -arch=('i686' 'x86_64' 'mips64el') -url="https://www.gaia-gis.it/fossil/freexl/index" -license=('MPL') -source=("http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-1.0.0b.tar.gz") -md5sums=('e2e1c59eb2883d825782dfe8fe244207') - -build() { - cd "$srcdir/freexl-$pkgver" - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/freexl-$pkgver" - make DESTDIR="$pkgdir/" install -} diff --git a/gis/libspatialite/PKGBUILD b/gis/libspatialite/PKGBUILD deleted file mode 100644 index bac777968..000000000 --- a/gis/libspatialite/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer (Arch): Brian Galey -# Contributor (Arch): Pietro Zambelli -pkgname=libspatialite -pkgver=3.0.1 -pkgrel=2 -pkgdesc="SQLite extension to support spatial data types and operations" -arch=('i686' 'x86_64' 'mips64el') -url="https://www.gaia-gis.it/fossil/libspatialite/index" -license=('MPL') -depends=('geos' 'proj' 'sqlite3' 'libfreexl') -options=('!libtool') -source=("http://www.gaia-gis.it/gaia-sins/libspatialite-3.0.1.tar.gz") -md5sums=('450d1a0d9da1bd9f770b7db3f2509f69') - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install -} diff --git a/gis/merkaartor/PKGBUILD b/gis/merkaartor/PKGBUILD deleted file mode 100644 index d52cfe14a..000000000 --- a/gis/merkaartor/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer (Arch): Gaetan Bisson -# Contributor (Arch): Michael Kanis -# Contributor (Arch): Paulo Freire -# Contributor (Arch): Brice Maron - -pkgname=merkaartor -pkgver=0.17.2 -pkgrel=3 -pkgdesc='OpenStreetMap editor' -url='http://merkaartor.be/' -arch=('i686' 'x86_64' 'mips64el') -license=('GPL2') -makedepends=('boost') -depends=('qtwebkit' 'exiv2') -optdepends=('gpsd' 'desktop-file-utils' 'gtk-update-icon-cache') -source=("http://www.merkaartor.be/attachments/download/253/merkaartor-${pkgver}.tar.bz2") -sha1sums=('f789141db427bf25bb3b61801fefc98ab0430012') - -install=install - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - echo 'QMAKE_MOC = $$QMAKE_MOC -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED' >> src/src.pro - lrelease src/src.pro - qmake Merkaartor.pro \ - PREFIX="/usr" \ - GEOIMAGE=1 \ - NODEBUG=1 \ - RELEASE=1 \ - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make INSTALL_ROOT="${pkgdir}" install -} diff --git a/gis/merkaartor/install b/gis/merkaartor/install deleted file mode 100644 index af0c8724a..000000000 --- a/gis/merkaartor/install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} diff --git a/gis/qgis/PKGBUILD b/gis/qgis/PKGBUILD deleted file mode 100644 index bb448fbe4..000000000 --- a/gis/qgis/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer (Arch): Lantald < lantald at gmx.com -# Contributor (Arch): Thomas Dziedzic < gostrc at gmail > -# Contributor (Arch): dibblethewrecker dibblethewrecker.at.jiwe.dot.org -# Contributor (Arch): Gerardo Exequiel Pozzi -# Contributor (Arch): Eric Forgeot < http://esclinux.tk > - -pkgname=qgis -pkgver=1.8.0 -pkgrel=2 -pkgdesc='Quantum GIS is a Geographic Information System (GIS) that supports vector, raster & database formats' -url='http://qgis.org/' -license=('GPL') -arch=('i686' 'x86_64' 'mips64el') -# update to http://www.qgis.org/wiki/Building_QGIS_from_Source#Overview -depends=('libmysqlclient' 'postgresql-libs' 'sqlite3' 'jasper' 'curl' 'qt' 'python2' 'python2-qt' 'giflib' 'cfitsio' 'qwt' 'gdal' 'flex' 'bison' 'libspatialite' 'spatialindex') -makedepends=('cmake' 'grass' 'gsl' 'postgis' 'netcdf' 'fcgi' 'python2-sip') -optdepends=('postgis: postgis support and SPIT plugin' - 'fcgi: qgis mapserver' - 'python2-sip: python-support' - 'grass: grass plugin' - 'gsl: georeferencer') -options=('!makeflags') -source=("http://qgis.org/downloads/qgis-${pkgver}.tar.bz2" - 'qgis.desktop') - -md5sums=('1d60520f81d7763c026d0af887ac9a05' - '8ab66039f2aba519b92f52272ec3c13e') - -build() { - # Fix insecure RPATH is weird, but just works ;) - # echo "os.system(\"sed -i '/^LFLAGS/s|-Wl,-rpath,.\+ ||g' gui/Makefile core/Makefile\")" >> python/configure.py.in - #cd qgis-${pkgver} - - rm -rf build - mkdir build - cd build - - cmake ../qgis-${pkgver} \ - -DENABLE_TESTS=OFF \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DGRASS_PREFIX=/opt/grass \ - -DQGIS_MANUAL_SUBDIR=share/man \ - -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 \ - -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages \ - -DPYTHON_INCLUDE_PATH=/usr/include/python2.7/ - - make -} - -package() { - cd build - - make DESTDIR=${pkgdir} install - - # create a more user-friendly application name link - ln -s /usr/bin/qgis $pkgdir/usr/bin/quantum-gis - - # install some freedesktop.org compatibility - install -D -m644 ${srcdir}/qgis.desktop \ - ${pkgdir}/usr/share/applications/qgis.desktop -} diff --git a/gis/qgis/qgis.desktop b/gis/qgis/qgis.desktop deleted file mode 100644 index c3db5ad08..000000000 --- a/gis/qgis/qgis.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Quantum GIS -GenericName="GIS" -Comment="Geographic Information System (GIS) that supports vector, raster & database formats" -Exec=/usr/bin/qgis -Icon=/usr/share/qgis/images/icons/qgis-icon.png -Terminal=false -MultipleArgs=false -Type=Application -Categories=Application;Science diff --git a/gis/qgis/qgis_1.7.4_gcc4.7.patch b/gis/qgis/qgis_1.7.4_gcc4.7.patch deleted file mode 100644 index 858a42c94..000000000 --- a/gis/qgis/qgis_1.7.4_gcc4.7.patch +++ /dev/null @@ -1,20 +0,0 @@ -+++ qgis-1.7.4/src/core/spatialindex/storagemanager/DiskStorageManager.cc 2012-04-21 13:58:04.107239275 +0300 -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - - #ifdef WIN32 - #include - -+++ qgis-1.7.4/src/core/spatialindex/tools/TemporaryFile.cc 2012-04-21 13:16:42.213690282 +0300 -@@ -20,7 +20,7 @@ - // mhadji@gmail.com - - #include -- -+#include - #include - - #ifdef WIN32 diff --git a/gis/spatialindex/PKGBUILD b/gis/spatialindex/PKGBUILD deleted file mode 100644 index 473eebf0c..000000000 --- a/gis/spatialindex/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer (Arch): Lantald -pkgname=spatialindex -pkgver=1.7.1 -pkgrel=1 -pkgdesc="An extensible framework that supports robust spatial indexing methods and sophisticated spatial queries." -arch=('i686' 'x86_64' 'mips64el') -url="http://libspatialindex.github.com/" -license=('(L)GPL') -depends=(gcc-libs) -provides=(spatialindex) -conflicts=(libspatialindex-git) -source=(http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz) -md5sums=('8599243d5d8204f0f8d92cd55ab120f5') - -build() { - cd "$srcdir/$pkgname-src-$pkgver/" - ./configure --prefix=/usr - make -} - -check() { - cd "$srcdir/$pkgname-src-$pkgver/" - make -k check -} - -package() { - cd "$srcdir/$pkgname-src-$pkgver/" - make DESTDIR="$pkgdir/" install -} - -# vim:set ts=2 sw=2 et: -- cgit v1.2.3