[arch-commits] Commit in gpsdrive/repos (12 files)
Sergej Pupykin
spupykin at archlinux.org
Tue Apr 7 12:21:21 UTC 2015
Date: Tuesday, April 7, 2015 @ 14:21:21
Author: spupykin
Revision: 130881
archrelease: copy trunk to community-i686, community-x86_64
Added:
gpsdrive/repos/community-i686/PKGBUILD
(from rev 130880, gpsdrive/trunk/PKGBUILD)
gpsdrive/repos/community-i686/gpsdrive-perltovendor.patch
(from rev 130880, gpsdrive/trunk/gpsdrive-perltovendor.patch)
gpsdrive/repos/community-i686/gpsdrive.install
(from rev 130880, gpsdrive/trunk/gpsdrive.install)
gpsdrive/repos/community-x86_64/PKGBUILD
(from rev 130880, gpsdrive/trunk/PKGBUILD)
gpsdrive/repos/community-x86_64/gpsdrive-perltovendor.patch
(from rev 130880, gpsdrive/trunk/gpsdrive-perltovendor.patch)
gpsdrive/repos/community-x86_64/gpsdrive.install
(from rev 130880, gpsdrive/trunk/gpsdrive.install)
Deleted:
gpsdrive/repos/community-i686/PKGBUILD
gpsdrive/repos/community-i686/gpsdrive-perltovendor.patch
gpsdrive/repos/community-i686/gpsdrive.install
gpsdrive/repos/community-x86_64/PKGBUILD
gpsdrive/repos/community-x86_64/gpsdrive-perltovendor.patch
gpsdrive/repos/community-x86_64/gpsdrive.install
----------------------------------------------+
/PKGBUILD | 144 +++++++++++++++++++++++++
/gpsdrive-perltovendor.patch | 56 +++++++++
/gpsdrive.install | 8 +
community-i686/PKGBUILD | 72 ------------
community-i686/gpsdrive-perltovendor.patch | 28 ----
community-i686/gpsdrive.install | 4
community-x86_64/PKGBUILD | 72 ------------
community-x86_64/gpsdrive-perltovendor.patch | 28 ----
community-x86_64/gpsdrive.install | 4
9 files changed, 208 insertions(+), 208 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-04-07 12:21:05 UTC (rev 130880)
+++ community-i686/PKGBUILD 2015-04-07 12:21:21 UTC (rev 130881)
@@ -1,72 +0,0 @@
-# $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=25
-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"
- "gpsdrive-perltovendor.patch")
-md5sums=('bc53792529788b81c291a32d628a4850'
- 'c28bc2dc51a76a39161bf540aebfab6c')
-
-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
- (cd gpsdrive-${_pkgver} && patch -p1 <$srcdir/gpsdrive-perltovendor.patch)
-}
-
-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-i686/PKGBUILD (from rev 130880, gpsdrive/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-04-07 12:21:21 UTC (rev 130881)
@@ -0,0 +1,72 @@
+# $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=20150407
+pkgrel=26
+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/2015/${pkgname}-${_pkgver}.tar.xz"
+ "gpsdrive-perltovendor.patch")
+md5sums=('c363e751ba1e70e49b198a1889142ca5'
+ 'c28bc2dc51a76a39161bf540aebfab6c')
+
+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
+ (cd gpsdrive-${_pkgver} && patch -p1 <$srcdir/gpsdrive-perltovendor.patch)
+}
+
+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
+}
Deleted: community-i686/gpsdrive-perltovendor.patch
===================================================================
--- community-i686/gpsdrive-perltovendor.patch 2015-04-07 12:21:05 UTC (rev 130880)
+++ community-i686/gpsdrive-perltovendor.patch 2015-04-07 12:21:21 UTC (rev 130881)
@@ -1,28 +0,0 @@
-diff -ru gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt
---- gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt 2010-06-24 15:53:32.000000000 -0400
-+++ gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt 2014-06-11 18:50:59.000000000 -0400
-@@ -5,10 +5,10 @@
- MACRO_OPTIONAL_FIND_PACKAGE(Perl)
-
- if (PERL_FOUND)
-- if (NOT PERL_SITELIB)
-+ if (NOT PERL_VENDORLIB)
- MACRO_OPTIONAL_FIND_PACKAGE(PerlLibs)
-- endif (NOT PERL_SITELIB)
-- #MESSAGE("DEBUG: > PERL_SITELIB: ${PERL_SITELIB}")
-+ endif (NOT PERL_VENDORLIB)
-+ #MESSAGE("DEBUG: > PERL_VENDORLIB: ${PERL_VENDORLIB}")
-
- file(GLOB_RECURSE perl_modules ${CMAKE_CURRENT_SOURCE_DIR}/*.pm)
-
-@@ -16,8 +16,8 @@
- foreach(perl_module ${perl_modules})
- file(RELATIVE_PATH relative_module_path ${CMAKE_CURRENT_SOURCE_DIR} ${perl_module})
- get_filename_component(relative_module_path ${relative_module_path} PATH)
-- install(FILES ${perl_module} DESTINATION ${PERL_SITELIB}/${relative_module_path})
-- #message("DEBUG: install ${perl_module} to ${PERL_SITELIB}/${relative_module_path}")
-+ install(FILES ${perl_module} DESTINATION ${PERL_VENDORLIB}/${relative_module_path})
-+ #message("DEBUG: install ${perl_module} to ${PERL_VENDORLIB}/${relative_module_path}")
- endforeach(perl_module ${perl_modules})
- endif (perl_modules)
- endif (PERL_FOUND)
Copied: gpsdrive/repos/community-i686/gpsdrive-perltovendor.patch (from rev 130880, gpsdrive/trunk/gpsdrive-perltovendor.patch)
===================================================================
--- community-i686/gpsdrive-perltovendor.patch (rev 0)
+++ community-i686/gpsdrive-perltovendor.patch 2015-04-07 12:21:21 UTC (rev 130881)
@@ -0,0 +1,28 @@
+diff -ru gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt
+--- gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt 2010-06-24 15:53:32.000000000 -0400
++++ gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt 2014-06-11 18:50:59.000000000 -0400
+@@ -5,10 +5,10 @@
+ MACRO_OPTIONAL_FIND_PACKAGE(Perl)
+
+ if (PERL_FOUND)
+- if (NOT PERL_SITELIB)
++ if (NOT PERL_VENDORLIB)
+ MACRO_OPTIONAL_FIND_PACKAGE(PerlLibs)
+- endif (NOT PERL_SITELIB)
+- #MESSAGE("DEBUG: > PERL_SITELIB: ${PERL_SITELIB}")
++ endif (NOT PERL_VENDORLIB)
++ #MESSAGE("DEBUG: > PERL_VENDORLIB: ${PERL_VENDORLIB}")
+
+ file(GLOB_RECURSE perl_modules ${CMAKE_CURRENT_SOURCE_DIR}/*.pm)
+
+@@ -16,8 +16,8 @@
+ foreach(perl_module ${perl_modules})
+ file(RELATIVE_PATH relative_module_path ${CMAKE_CURRENT_SOURCE_DIR} ${perl_module})
+ get_filename_component(relative_module_path ${relative_module_path} PATH)
+- install(FILES ${perl_module} DESTINATION ${PERL_SITELIB}/${relative_module_path})
+- #message("DEBUG: install ${perl_module} to ${PERL_SITELIB}/${relative_module_path}")
++ install(FILES ${perl_module} DESTINATION ${PERL_VENDORLIB}/${relative_module_path})
++ #message("DEBUG: install ${perl_module} to ${PERL_VENDORLIB}/${relative_module_path}")
+ endforeach(perl_module ${perl_modules})
+ endif (perl_modules)
+ endif (PERL_FOUND)
Deleted: community-i686/gpsdrive.install
===================================================================
--- community-i686/gpsdrive.install 2015-04-07 12:21:05 UTC (rev 130880)
+++ community-i686/gpsdrive.install 2015-04-07 12:21:21 UTC (rev 130881)
@@ -1,4 +0,0 @@
-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-i686/gpsdrive.install (from rev 130880, gpsdrive/trunk/gpsdrive.install)
===================================================================
--- community-i686/gpsdrive.install (rev 0)
+++ community-i686/gpsdrive.install 2015-04-07 12:21:21 UTC (rev 130881)
@@ -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"
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-04-07 12:21:05 UTC (rev 130880)
+++ community-x86_64/PKGBUILD 2015-04-07 12:21:21 UTC (rev 130881)
@@ -1,72 +0,0 @@
-# $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=25
-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"
- "gpsdrive-perltovendor.patch")
-md5sums=('bc53792529788b81c291a32d628a4850'
- 'c28bc2dc51a76a39161bf540aebfab6c')
-
-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
- (cd gpsdrive-${_pkgver} && patch -p1 <$srcdir/gpsdrive-perltovendor.patch)
-}
-
-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-x86_64/PKGBUILD (from rev 130880, gpsdrive/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-04-07 12:21:21 UTC (rev 130881)
@@ -0,0 +1,72 @@
+# $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=20150407
+pkgrel=26
+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/2015/${pkgname}-${_pkgver}.tar.xz"
+ "gpsdrive-perltovendor.patch")
+md5sums=('c363e751ba1e70e49b198a1889142ca5'
+ 'c28bc2dc51a76a39161bf540aebfab6c')
+
+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
+ (cd gpsdrive-${_pkgver} && patch -p1 <$srcdir/gpsdrive-perltovendor.patch)
+}
+
+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
+}
Deleted: community-x86_64/gpsdrive-perltovendor.patch
===================================================================
--- community-x86_64/gpsdrive-perltovendor.patch 2015-04-07 12:21:05 UTC (rev 130880)
+++ community-x86_64/gpsdrive-perltovendor.patch 2015-04-07 12:21:21 UTC (rev 130881)
@@ -1,28 +0,0 @@
-diff -ru gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt
---- gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt 2010-06-24 15:53:32.000000000 -0400
-+++ gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt 2014-06-11 18:50:59.000000000 -0400
-@@ -5,10 +5,10 @@
- MACRO_OPTIONAL_FIND_PACKAGE(Perl)
-
- if (PERL_FOUND)
-- if (NOT PERL_SITELIB)
-+ if (NOT PERL_VENDORLIB)
- MACRO_OPTIONAL_FIND_PACKAGE(PerlLibs)
-- endif (NOT PERL_SITELIB)
-- #MESSAGE("DEBUG: > PERL_SITELIB: ${PERL_SITELIB}")
-+ endif (NOT PERL_VENDORLIB)
-+ #MESSAGE("DEBUG: > PERL_VENDORLIB: ${PERL_VENDORLIB}")
-
- file(GLOB_RECURSE perl_modules ${CMAKE_CURRENT_SOURCE_DIR}/*.pm)
-
-@@ -16,8 +16,8 @@
- foreach(perl_module ${perl_modules})
- file(RELATIVE_PATH relative_module_path ${CMAKE_CURRENT_SOURCE_DIR} ${perl_module})
- get_filename_component(relative_module_path ${relative_module_path} PATH)
-- install(FILES ${perl_module} DESTINATION ${PERL_SITELIB}/${relative_module_path})
-- #message("DEBUG: install ${perl_module} to ${PERL_SITELIB}/${relative_module_path}")
-+ install(FILES ${perl_module} DESTINATION ${PERL_VENDORLIB}/${relative_module_path})
-+ #message("DEBUG: install ${perl_module} to ${PERL_VENDORLIB}/${relative_module_path}")
- endforeach(perl_module ${perl_modules})
- endif (perl_modules)
- endif (PERL_FOUND)
Copied: gpsdrive/repos/community-x86_64/gpsdrive-perltovendor.patch (from rev 130880, gpsdrive/trunk/gpsdrive-perltovendor.patch)
===================================================================
--- community-x86_64/gpsdrive-perltovendor.patch (rev 0)
+++ community-x86_64/gpsdrive-perltovendor.patch 2015-04-07 12:21:21 UTC (rev 130881)
@@ -0,0 +1,28 @@
+diff -ru gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt
+--- gpsdrive-2.11/scripts/osm/perl_lib/CMakeLists.txt 2010-06-24 15:53:32.000000000 -0400
++++ gpsdrive-2.11-patched/scripts/osm/perl_lib/CMakeLists.txt 2014-06-11 18:50:59.000000000 -0400
+@@ -5,10 +5,10 @@
+ MACRO_OPTIONAL_FIND_PACKAGE(Perl)
+
+ if (PERL_FOUND)
+- if (NOT PERL_SITELIB)
++ if (NOT PERL_VENDORLIB)
+ MACRO_OPTIONAL_FIND_PACKAGE(PerlLibs)
+- endif (NOT PERL_SITELIB)
+- #MESSAGE("DEBUG: > PERL_SITELIB: ${PERL_SITELIB}")
++ endif (NOT PERL_VENDORLIB)
++ #MESSAGE("DEBUG: > PERL_VENDORLIB: ${PERL_VENDORLIB}")
+
+ file(GLOB_RECURSE perl_modules ${CMAKE_CURRENT_SOURCE_DIR}/*.pm)
+
+@@ -16,8 +16,8 @@
+ foreach(perl_module ${perl_modules})
+ file(RELATIVE_PATH relative_module_path ${CMAKE_CURRENT_SOURCE_DIR} ${perl_module})
+ get_filename_component(relative_module_path ${relative_module_path} PATH)
+- install(FILES ${perl_module} DESTINATION ${PERL_SITELIB}/${relative_module_path})
+- #message("DEBUG: install ${perl_module} to ${PERL_SITELIB}/${relative_module_path}")
++ install(FILES ${perl_module} DESTINATION ${PERL_VENDORLIB}/${relative_module_path})
++ #message("DEBUG: install ${perl_module} to ${PERL_VENDORLIB}/${relative_module_path}")
+ endforeach(perl_module ${perl_modules})
+ endif (perl_modules)
+ endif (PERL_FOUND)
Deleted: community-x86_64/gpsdrive.install
===================================================================
--- community-x86_64/gpsdrive.install 2015-04-07 12:21:05 UTC (rev 130880)
+++ community-x86_64/gpsdrive.install 2015-04-07 12:21:21 UTC (rev 130881)
@@ -1,4 +0,0 @@
-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-x86_64/gpsdrive.install (from rev 130880, gpsdrive/trunk/gpsdrive.install)
===================================================================
--- community-x86_64/gpsdrive.install (rev 0)
+++ community-x86_64/gpsdrive.install 2015-04-07 12:21:21 UTC (rev 130881)
@@ -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