diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-04-18 13:55:05 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-04-18 13:55:05 -0500 |
commit | 4bc47442f353ce3160e8026526d9371d3baa2a41 (patch) | |
tree | 65180d9108764ed69da1a5d5b1322351429b7824 /pcr/qgis | |
parent | 4216b4f56158247bbd1bac4c4954459c6aa57266 (diff) | |
download | abslibre-4bc47442f353ce3160e8026526d9371d3baa2a41.tar.gz abslibre-4bc47442f353ce3160e8026526d9371d3baa2a41.tar.bz2 abslibre-4bc47442f353ce3160e8026526d9371d3baa2a41.zip |
Removing qgis: This package is in [community] repo
Diffstat (limited to 'pcr/qgis')
-rw-r--r-- | pcr/qgis/PKGBUILD | 119 | ||||
-rw-r--r-- | pcr/qgis/libre.patch | 85 |
2 files changed, 0 insertions, 204 deletions
diff --git a/pcr/qgis/PKGBUILD b/pcr/qgis/PKGBUILD deleted file mode 100644 index 0d99e08d0..000000000 --- a/pcr/qgis/PKGBUILD +++ /dev/null @@ -1,119 +0,0 @@ -# Maintainer (Arch): Doug Newgard <scimmia at archlinux dot info> -# Maintainer (Arch): XavierCLL <xavier.corredor.llano (a) gmail.com> -# Contributor (Arch): SaultDon <sault.don gmail> -# Contributor (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 <vmlinuz386@yahoo.com.ar> -# Contributor (Arch): Eric Forgeot < http://esclinux.tk > -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -# Contributor: Isaac David <isacdaavid@at@isacdaavid@dot@info> - -# Globe Plugin and Map Server are disabled in cmake by default. -# Uncomment them in the build() portion if you'd like them enabled. -# You will also need to install osgearth-qt4 or fcgi, respectively, before building. - -pkgname=qgis -pkgver=2.18.16 -pkgrel=1.parabola1 -pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats, without nonfree ElvenSword resource' -url='https://qgis.org/' -license=('GPL') -arch=('i686' 'x86_64') -depends=('expat' 'gcc-libs' 'gdal' 'geos' 'glibc' 'libspatialite' 'postgresql-libs' 'proj' - 'qt4' 'qca-qt4' 'qjson' 'qscintilla-qt4' 'qwt-qt4' 'qwtpolar-qt4' 'spatialindex' 'sqlite' - 'python2' 'python2-httplib2' 'python2-future' 'python2-qscintilla-qt4' 'python2-sip' 'python2-six') -makedepends=('cmake' 'gsl' 'perl' 'txt2tags') -optdepends=('gpsbabel: GPS Tool plugin' - 'python2-pyspatialite: Processing plugin' - 'python2-yaml: Processing plugin') -mksource=("http://qgis.org/downloads/$pkgname-$pkgver.tar.bz2") -mksha256sums=('8989e0f9003cfec41ff6cf984bb52866dd0f4d97fe88ec2326f1cf1140050835') -source=("https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.bz2" - "https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.bz2.sig" - "libre.patch") -sha256sums=('ea4da40b19fe81c0fcece89a6d87a389e7f0a6f99964e0c33a88f91f0ffeb4a9' - 'SKIP' - '94c9457dc861a368edefb4fc8173471dbd2c4024b41346202d44d7aa7e03064e') -validpgpkeys=('1B8C5E87702444D3D825CC8086ED62396D5DBA58') # Isaac David - -mksource() { - cd $pkgname-$pkgver - - # remove nonfree resource - rm -rv "resources/cpt-city-qgis-min/es" -} - -prepare() { - cd $pkgname-$pkgver - - patch -Np1 -i "$srcdir/libre.patch" - - # Make sure we find the -qt4 versions of qwt and qwtpolar - sed -i '/QWT_LIBRARY_NAMES/ s/qwt /qwt-qt4 /' cmake/FindQwt.cmake - sed -i '/PATH_SUFFIXES/ s/qwt$/&-qt4/;/LIBRARY NAMES/ s/qwtpolar/&-qt4/' cmake/FindQwtPolar.cmake - - # Fix references to "python" - sed -i 's/\(env \|\/usr\/bin\/\)python$/&2/' $(find . -iname "*.py") - - # Remove mime types already defined by freedesktop.org - sed -e '/type="image\/tiff"/,/<\/mime-type>/d' \ - -e '/type="image\/jpeg"/,/<\/mime-type>/d' \ - -e '/type="image\/jp2"/,/<\/mime-type>/d' \ - -e '/type="application\/x-adobe-mif"/,/<\/mime-type>/d' \ - -i debian/qgis.xml - - [[ -d build ]] || mkdir build -} - -build() { - cd $pkgname-$pkgver/build - - cmake -G "Unix Makefiles" ../ \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DQGIS_MANUAL_SUBDIR=share/man \ - -DENABLE_TESTS=FALSE \ - -DCMAKE_SKIP_RPATH=TRUE \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 \ - -DWITH_QTWEBKIT=FALSE \ - -DWITH_INTERNAL_QWTPOLAR=FALSE \ - -DWITH_INTERNAL_{MARKUPSAFE,OWSLIB,DATEUTIL,PYTZ,YAML,NOSE2,SIX,FUTURE}=FALSE \ -# -DWITH_SERVER=TRUE \ -# -DWITH_GLOBE=TRUE - - make - - LD_LIBRARY_PATH="$PWD/output/lib/" make synccrsdb - mv /tmp/srs.db ../resources/ -} - -package() { - cd $pkgname-$pkgver/build - - # Add optional deps based on selected or autodetected options - [[ -n "$(sed -n '/^GRASS_PREFIX:/ s/.*=//p' CMakeCache.txt)" ]] && optdepends+=('grass6: GRASS6 plugin') - [[ -n "$(sed -n '/^GRASS_PREFIX7:/ s/.*=//p' CMakeCache.txt)" ]] && optdepends+=('grass: GRASS7 plugin') - [[ "$(sed -n '/^WITH_SERVER:/ s/.*=//p' CMakeCache.txt)" == "TRUE" ]] && optdepends+=('fcgi: Map Server') - [[ "$(sed -n '/^WITH_GLOBE:/ s/.*=//p' CMakeCache.txt)" == "TRUE" ]] && optdepends+=('osgearth-qt4: Globe plugin') - - make DESTDIR="$pkgdir" install - - cd "$srcdir/$pkgname-$pkgver" - - # install desktop files and icons - install -Dm644 debian/{qgis,qbrowser}.desktop -t "$pkgdir/usr/share/applications/" - for icon in qgis-icon{,-16x16,-60x60} qbrowser-icon{,-60x60}; do - local _resolution="${icon##*-}"; [[ "$_resolution" == "icon" ]] && _resolution="512x512" - install -Dm644 images/icons/$icon.png "$pkgdir/usr/share/icons/hicolor/$_resolution/apps/${icon%%-*}.png" - done - for icon in {qgis,qbrowser}_icon; do - install -Dm644 images/icons/$icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/${icon%%_*}.svg" - done - - # install mime information and icon - install -Dm644 debian/qgis.xml "$pkgdir/usr/share/mime/packages/qgis.xml" - install -Dm644 images/icons/qgis-mime-icon.png "$pkgdir/usr/share/icons/hicolor/128x128/mimetypes/qgis-mime.png" - - # compile python files, since the cmake option doesn't seem to account for DESTDIR - python2 -m compileall -q "$pkgdir" -} diff --git a/pcr/qgis/libre.patch b/pcr/qgis/libre.patch deleted file mode 100644 index bdf9e8e32..000000000 --- a/pcr/qgis/libre.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- qgis-2.12.0.orig/resources/cpt-city-qgis-min/selections/blues.xml 2015-10-23 07:10:38.000000000 -0500 -+++ qgis-2.12.0/resources/cpt-city-qgis-min/selections/blues.xml 2015-11-24 01:28:50.854959361 -0500 -@@ -5,10 +5,6 @@ - bathymetric maps</synopsis> - <description>A selection of blues which may be useful for - bathymetric maps.</description> -- <seealsocollects> -- <collect dir="es/skywalker">skywalker</collect> -- <collect dir="es/sea_dreams">sea dreams</collect> -- </seealsocollects> - <gradients> - <gradient dir="cb/seq" file="Blues_09"/> - <gradient dir="cb/seq" file="GnBu_09"/> ---- qgis-2.12.0.orig/resources/cpt-city-qgis-min/selections/div.xml 2015-10-23 07:10:38.000000000 -0500 -+++ qgis-2.12.0/resources/cpt-city-qgis-min/selections/div.xml 2015-11-24 01:29:25.869958926 -0500 -@@ -17,8 +17,6 @@ - <gradient file="bhw2_39" dir="bhw/bhw2"/> - <gradient file="BrBG_11" dir="cb/div"/> - <gradient file="cw1-002" dir="cw/1"/> -- <gradient file="es_landscape_90" dir="es/landscape"/> -- <gradient file="es_landscape_76" dir="es/landscape"/> - <gradient file="fire_active_2" dir="esri/events"/> - <gradient file="seismic" dir="gery"/> - <gradient file="French_flag_smooth" dir="ggr"/> ---- qgis-2.12.0.orig/resources/cpt-city-qgis-min/selections/greens.xml 2015-10-23 07:10:38.000000000 -0500 -+++ qgis-2.12.0/resources/cpt-city-qgis-min/selections/greens.xml 2015-11-24 01:30:17.074187705 -0500 -@@ -4,10 +4,6 @@ - <synopsis>Predominantly green gradients</synopsis> - <description>As Kermit the frog says, it's not - easy being green.</description> -- <seealsocollects> -- <collect dir="es/emerald_dragon">ElvenSword's -- Emerald dragon series</collect> -- </seealsocollects> - <gradients> - <gradient dir="occ/1" file="occ040"/> - <gradient dir="rc" file="girlcat"/> -@@ -20,8 +16,6 @@ - <gradient dir="h5" file="summer"/> - <gradient dir="gps" file="GPS-Nature-Grass"/> - <gradient dir="go2/webtwo" file="green-g1-2"/> -- <gradient dir="es/emerald_dragon" file="es_emerald_dragon_12"/> -- <gradient dir="es/emerald_dragon" file="es_emerald_dragon_10"/> - <gradient dir="cw/2" file="cw2-033"/> - <gradient dir="colo/smorin2002" file="All_kinds_of_green"/> - <gradient dir="colo/angelafaye" file="organic_vegetation"/> ---- qgis-2.12.0.orig/resources/cpt-city-qgis-min/selections/greys.xml 2015-10-23 07:10:38.000000000 -0500 -+++ qgis-2.12.0/resources/cpt-city-qgis-min/selections/greys.xml 2015-11-24 01:30:44.632875607 -0500 -@@ -7,7 +7,6 @@ - <collect dir="tl">Thomas Lotze</collect> - <collect dir="erj">Eric R. Jeschke</collect> - <collect dir="ma/gray">Michele Albert</collect> -- <collect dir="es/platinum">ElvenSword</collect> - </seealsocollects> - <gradients> - <gradient file="Greys_09" dir="cb/seq"/> -@@ -24,7 +23,6 @@ - <gradient file="stripes-six" dir="ocal"/> - <gradient file="power-0.50" dir="tl"/> - <gradient file="grey-g2-3" dir="go2/webtwo"/> -- <gradient file="es_platinum_16" dir="es/platinum"/> - <gradient file="rock" dir="neota/env"/> - </gradients> - </selection> ---- qgis-2.12.0.orig/resources/cpt-city-qgis-min/selections/reds.xml 2015-10-23 07:10:38.000000000 -0500 -+++ qgis-2.12.0/resources/cpt-city-qgis-min/selections/reds.xml 2015-11-24 01:31:10.928290321 -0500 -@@ -5,7 +5,6 @@ - <description>A selection of red, pinks and oranges.</description> - <seealsocollects> - <collect dir="nd/red">Nevit Dilmen</collect> -- <collect dir="es/rosa">ElvenSword</collect> - </seealsocollects> - <gradients> - <gradient file="Reds_09" dir="cb/seq"/> ---- qgis-2.12.0.orig/resources/cpt-city-qgis-min/selections/transparency.xml 2015-10-23 07:10:38.000000000 -0500 -+++ qgis-2.12.0/resources/cpt-city-qgis-min/selections/transparency.xml 2015-11-24 01:31:37.497025355 -0500 -@@ -10,8 +10,6 @@ - <collect dir="ggr">GIMP</collect> - </seealsocollects> - <gradients> -- <gradient file="es_platinum_01" dir="es/platinum"/> -- <gradient file="es_seadreams_14" dir="es/sea_dreams"/> - <gradient file="Aneurism" dir="ggr"/> - <gradient file="Flare_Glow_Radial_1" dir="ggr"/> - <gradient file="Radial_Rainbow_Hoop" dir="ggr"/> |