aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-04-06 17:09:36 -0700
committerBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-04-06 17:09:36 -0700
commitc69f3498375ed916cfff085d39e3bf53bdbd5eaf (patch)
tree1ec5a3ea568abd89c9c08829201d08db8b635264 /gis
parent0efa877bd31906273f64132f0b99f7ccafc0e335 (diff)
gis/qgis: Updated for version 2.18.18.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis')
-rw-r--r--gis/qgis/qgis.SlackBuild15
-rw-r--r--gis/qgis/qgis.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild
index a2c463e8d974e..3d24b91656d56 100644
--- a/gis/qgis/qgis.SlackBuild
+++ b/gis/qgis/qgis.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qgis
-VERSION=${VERSION:-2.18.17}
+VERSION=${VERSION:-2.18.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,14 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
WITHGRASS=""
if pkg-config --exists grass; then
@@ -113,7 +113,7 @@ cd build
fi
cd -
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -122,6 +122,7 @@ install -D -m 0644 debian/qgis.desktop \
$PKG/usr/share/applications/qgis.desktop
install -D -m 0644 debian/qgis.xml \
$PKG/usr/share/mime/packages/qgis.xml
+sed -i "s_image/jpeg;__" $PKG/usr/share/applications/qgis.desktop
mkdir -p $PKG/usr/share/pixmaps
ln -s /usr/share/qgis/images/icons/qgis-icon.png $PKG/usr/share/pixmaps/qgis.png
diff --git a/gis/qgis/qgis.info b/gis/qgis/qgis.info
index 6875eaac87136..91e35ce6c1375 100644
--- a/gis/qgis/qgis.info
+++ b/gis/qgis/qgis.info
@@ -1,8 +1,8 @@
PRGNAM="qgis"
-VERSION="2.18.17"
+VERSION="2.18.18"
HOMEPAGE="http://qgis.org/"
-DOWNLOAD="http://qgis.org/downloads/qgis-2.18.17.tar.bz2"
-MD5SUM="d3b23c76a84a8d050aa5f5e58c762347"
+DOWNLOAD="http://qgis.org/downloads/qgis-2.18.18.tar.bz2"
+MD5SUM="297a0bf4e04e00f7f8d091691499f69d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal Jinja2 libspatialindex numpy OWSLib Pygments psycopg2 pyspatialite qwtpolar"