[arch-commits] Commit in gpsdrive/repos (6 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue Nov 26 11:40:12 UTC 2013


    Date: Tuesday, November 26, 2013 @ 12:40:12
  Author: spupykin
Revision: 101484

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gpsdrive/repos/community-staging-i686/
  gpsdrive/repos/community-staging-i686/PKGBUILD
    (from rev 101483, gpsdrive/trunk/PKGBUILD)
  gpsdrive/repos/community-staging-i686/gpsdrive.install
    (from rev 101483, gpsdrive/trunk/gpsdrive.install)
  gpsdrive/repos/community-staging-x86_64/
  gpsdrive/repos/community-staging-x86_64/PKGBUILD
    (from rev 101483, gpsdrive/trunk/PKGBUILD)
  gpsdrive/repos/community-staging-x86_64/gpsdrive.install
    (from rev 101483, gpsdrive/trunk/gpsdrive.install)

-------------------------------------------+
 community-staging-i686/PKGBUILD           |   69 ++++++++++++++++++++++++++++
 community-staging-i686/gpsdrive.install   |    4 +
 community-staging-x86_64/PKGBUILD         |   69 ++++++++++++++++++++++++++++
 community-staging-x86_64/gpsdrive.install |    4 +
 4 files changed, 146 insertions(+)

Copied: gpsdrive/repos/community-staging-i686/PKGBUILD (from rev 101483, gpsdrive/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-11-26 11:40:12 UTC (rev 101484)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Maintainer: damir <damir at archlinux.org>
+
+pkgname=gpsdrive
+pkgver=2.11
+_pkgver=20120928
+pkgrel=20
+pkgdesc="A car (bike, ship, plane) navigation system"
+arch=("i686" "x86_64")
+url="http://www.gpsdrive.de/"
+license=('GPL2')
+depends=('gtk2' 'gpsd' 'libxml2' 'curl' 'python2' 'boost-libs' 'gdal' 'mapnik' 'postgresql-libs' 'openstreetmap-map-icons-svn'
+         'perl-date-manip' 'perl-timedate' 'perl-dbi' 'perl-file-slurp' 'perl-www-mechanize' 'perl-libwww' 'perl-uri'
+         'perl-text-query' 'perl-www-curl' 'perl-xml-parser' 'perl-xml-simple' 'perl-xml-twig' 'perl-xml-writer')
+makedepends=('cmake>=2.4.4' 'boost' 'cfitsio')
+install="gpsdrive.install"
+#source=("http://www.gpsdrive.de/packages/${pkgname}-${pkgver}.tar.gz")
+source=("http://arch.p5n.pp.ru/~sergej/dl/2012/${pkgname}-${_pkgver}.tar.gz")
+md5sums=('bc53792529788b81c291a32d628a4850')
+
+prepare() {
+  cd "$srcdir"
+  # python2 fix
+  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
+  sed -i 's|GdkGC \*kontext_map;|extern GdkGC *kontext_map;|' $srcdir/gpsdrive-${_pkgver}/src/gpsdrive.c
+  sed -i '22,1i#include <mapnik/graphics.hpp>' $srcdir/gpsdrive-${_pkgver}/src/mapnik.cpp
+  sed -i 's|datasource_cache::instance()->|datasource_cache::instance().|' $srcdir/gpsdrive-${_pkgver}/src/mapnik.cpp
+}
+
+build() {
+  cd "$srcdir"
+
+  mkdir -p build
+  cd build
+
+  export CFLAGS=-I/usr/include/gdk-pixbuf-2.0/
+  export CPPFLAGS=-I/usr/include/gdk-pixbuf-2.0/
+  export CXXFLAGS=-I/usr/include/gdk-pixbuf-2.0/
+  export LDFLAGS="`pkg-config --libs gtk+-2.0 gmodule-2.0` -lboost_system -lboost_thread"
+
+  # see DefineOptions.cmake for a list of common options and defaults
+  # cmake -L for a more in-depth listing
+  cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/usr" \
+    -DWITH_SCRIPTS=ON \
+    -DWITH_MAPNIK=ON \
+    -DWITH_POSTGIS=ON \
+    -DWITH_GDAL=ON \
+    -DWITH_BASEMAPS=ON \
+    -DWITH_FRIENDSD=ON \
+    -DWITH_KISMET=ON \
+    -DWITH_NAVIGATION=ON \
+    -DWITH_SPEECH=OFF \
+    -DWITH_DBUS=OFF \
+    -DLIBGPS_OLD=OFF \
+    -DFREETYPE2_INCLUDE_DIRS=/usr/include/freetype2 \
+    -DFREETYPE2_LIBRARIES=/usr/lib \
+    "$srcdir/gpsdrive-${_pkgver}"
+  make
+}
+
+package() {
+  cd "$srcdir/build"
+  make DESTDIR="$pkgdir" install
+}

Copied: gpsdrive/repos/community-staging-i686/gpsdrive.install (from rev 101483, gpsdrive/trunk/gpsdrive.install)
===================================================================
--- community-staging-i686/gpsdrive.install	                        (rev 0)
+++ community-staging-i686/gpsdrive.install	2013-11-26 11:40:12 UTC (rev 101484)
@@ -0,0 +1,4 @@
+post_install() {
+  echo "Don't forget to generate geoinfo.db with geoinfo.pl script"
+  echo "Also you can check http://wiki.archlinux.org/index.php/GpsDrive"
+}

Copied: gpsdrive/repos/community-staging-x86_64/PKGBUILD (from rev 101483, gpsdrive/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-11-26 11:40:12 UTC (rev 101484)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Maintainer: damir <damir at archlinux.org>
+
+pkgname=gpsdrive
+pkgver=2.11
+_pkgver=20120928
+pkgrel=20
+pkgdesc="A car (bike, ship, plane) navigation system"
+arch=("i686" "x86_64")
+url="http://www.gpsdrive.de/"
+license=('GPL2')
+depends=('gtk2' 'gpsd' 'libxml2' 'curl' 'python2' 'boost-libs' 'gdal' 'mapnik' 'postgresql-libs' 'openstreetmap-map-icons-svn'
+         'perl-date-manip' 'perl-timedate' 'perl-dbi' 'perl-file-slurp' 'perl-www-mechanize' 'perl-libwww' 'perl-uri'
+         'perl-text-query' 'perl-www-curl' 'perl-xml-parser' 'perl-xml-simple' 'perl-xml-twig' 'perl-xml-writer')
+makedepends=('cmake>=2.4.4' 'boost' 'cfitsio')
+install="gpsdrive.install"
+#source=("http://www.gpsdrive.de/packages/${pkgname}-${pkgver}.tar.gz")
+source=("http://arch.p5n.pp.ru/~sergej/dl/2012/${pkgname}-${_pkgver}.tar.gz")
+md5sums=('bc53792529788b81c291a32d628a4850')
+
+prepare() {
+  cd "$srcdir"
+  # python2 fix
+  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
+  sed -i 's|GdkGC \*kontext_map;|extern GdkGC *kontext_map;|' $srcdir/gpsdrive-${_pkgver}/src/gpsdrive.c
+  sed -i '22,1i#include <mapnik/graphics.hpp>' $srcdir/gpsdrive-${_pkgver}/src/mapnik.cpp
+  sed -i 's|datasource_cache::instance()->|datasource_cache::instance().|' $srcdir/gpsdrive-${_pkgver}/src/mapnik.cpp
+}
+
+build() {
+  cd "$srcdir"
+
+  mkdir -p build
+  cd build
+
+  export CFLAGS=-I/usr/include/gdk-pixbuf-2.0/
+  export CPPFLAGS=-I/usr/include/gdk-pixbuf-2.0/
+  export CXXFLAGS=-I/usr/include/gdk-pixbuf-2.0/
+  export LDFLAGS="`pkg-config --libs gtk+-2.0 gmodule-2.0` -lboost_system -lboost_thread"
+
+  # see DefineOptions.cmake for a list of common options and defaults
+  # cmake -L for a more in-depth listing
+  cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/usr" \
+    -DWITH_SCRIPTS=ON \
+    -DWITH_MAPNIK=ON \
+    -DWITH_POSTGIS=ON \
+    -DWITH_GDAL=ON \
+    -DWITH_BASEMAPS=ON \
+    -DWITH_FRIENDSD=ON \
+    -DWITH_KISMET=ON \
+    -DWITH_NAVIGATION=ON \
+    -DWITH_SPEECH=OFF \
+    -DWITH_DBUS=OFF \
+    -DLIBGPS_OLD=OFF \
+    -DFREETYPE2_INCLUDE_DIRS=/usr/include/freetype2 \
+    -DFREETYPE2_LIBRARIES=/usr/lib \
+    "$srcdir/gpsdrive-${_pkgver}"
+  make
+}
+
+package() {
+  cd "$srcdir/build"
+  make DESTDIR="$pkgdir" install
+}

Copied: gpsdrive/repos/community-staging-x86_64/gpsdrive.install (from rev 101483, gpsdrive/trunk/gpsdrive.install)
===================================================================
--- community-staging-x86_64/gpsdrive.install	                        (rev 0)
+++ community-staging-x86_64/gpsdrive.install	2013-11-26 11:40:12 UTC (rev 101484)
@@ -0,0 +1,4 @@
+post_install() {
+  echo "Don't forget to generate geoinfo.db with geoinfo.pl script"
+  echo "Also you can check http://wiki.archlinux.org/index.php/GpsDrive"
+}




More information about the arch-commits mailing list