pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/qgis Build fixes:
details: https://anonhg.NetBSD.org/pkgsrc/rev/69043b6c6573
branches: trunk
changeset: 349095:69043b6c6573
user: bouyer <bouyer%pkgsrc.org@localhost>
date: Tue Jun 28 16:57:51 2016 +0000
description:
Build fixes:
- even if python bindings are not selected, it is needed as a tool
for build
- during build, it wants to run an executable from the build dir,
which fails to find a not-yet-installed shared librarie.
Fixed by calling it with appropriate LD_LIBRARY_PATH set
- fix PLIST
no PKGREVISION bump as it didn't build before.
diffstat:
geography/qgis/PLIST | 4 +---
geography/qgis/PLIST.python | 4 +++-
geography/qgis/distinfo | 3 ++-
geography/qgis/options.mk | 4 +++-
geography/qgis/patches/patch-src_crssync_CMakeLists.txt | 14 ++++++++++++++
5 files changed, 23 insertions(+), 6 deletions(-)
diffs (79 lines):
diff -r d8e0624d1ede -r 69043b6c6573 geography/qgis/PLIST
--- a/geography/qgis/PLIST Tue Jun 28 13:33:05 2016 +0000
+++ b/geography/qgis/PLIST Tue Jun 28 16:57:51 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/02/02 04:33:57 dbj Exp $
+@comment $NetBSD: PLIST,v 1.6 2016/06/28 16:57:51 bouyer Exp $
bin/qbrowser
bin/qgis
bin/qgis_bench
@@ -618,8 +618,6 @@
lib/libqgis_gui.so
lib/libqgis_networkanalysis.so.${PKGVERSION}
lib/libqgis_networkanalysis.so
-lib/libqgispython.so.${PKGVERSION}
-lib/libqgispython.so
lib/qgis/crssync
lib/qgis/plugins/libbasicauthmethod.so
lib/qgis/plugins/libcoordinatecaptureplugin.so
diff -r d8e0624d1ede -r 69043b6c6573 geography/qgis/PLIST.python
--- a/geography/qgis/PLIST.python Tue Jun 28 13:33:05 2016 +0000
+++ b/geography/qgis/PLIST.python Tue Jun 28 16:57:51 2016 +0000
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST.python,v 1.1 2016/02/02 04:33:57 dbj Exp $
+@comment $NetBSD: PLIST.python,v 1.2 2016/06/28 16:57:51 bouyer Exp $
+lib/libqgispython.so.${PKGVERSION}
+lib/libqgispython.so
share/qgis/python/console/__init__.py
share/qgis/python/console/console.py
share/qgis/python/console/console_compile_apis.py
diff -r d8e0624d1ede -r 69043b6c6573 geography/qgis/distinfo
--- a/geography/qgis/distinfo Tue Jun 28 13:33:05 2016 +0000
+++ b/geography/qgis/distinfo Tue Jun 28 16:57:51 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2016/02/02 04:33:57 dbj Exp $
+$NetBSD: distinfo,v 1.9 2016/06/28 16:57:51 bouyer Exp $
SHA1 (qgis-2.12.3.tar.bz2) = b2b8b6bda01ebec7ccbc8ab41d0e00fa6be217be
RMD160 (qgis-2.12.3.tar.bz2) = 6b3350e978d27397020b01983ceaa00104d1bd17
@@ -13,3 +13,4 @@
SHA1 (patch-mac_cmake_1qt.cmake.in) = d74f7201849ef6dd83f39251e466eb04c791c0e6
SHA1 (patch-src_core_CMakeLists.txt) = 4c504717fbce05984e9ac5867d407f9dcfa11d25
SHA1 (patch-src_core_qgsapplication.cpp) = f6e81f86220c6bf85b55ee2f5fd8d6c7667ec385
+SHA1 (patch-src_crssync_CMakeLists.txt) = 49b551cd2231704dac0872b7c8893b5bdda3e0ad
diff -r d8e0624d1ede -r 69043b6c6573 geography/qgis/options.mk
--- a/geography/qgis/options.mk Tue Jun 28 13:33:05 2016 +0000
+++ b/geography/qgis/options.mk Tue Jun 28 16:57:51 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2016/02/02 04:33:57 dbj Exp $
+# $NetBSD: options.mk,v 1.6 2016/06/28 16:57:51 bouyer Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qgis
PKG_SUPPORTED_OPTIONS= python
@@ -12,6 +12,8 @@
.if empty(PKG_OPTIONS:Mpython)
CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=FALSE
+PYTHON_FOR_BUILD_ONLY= YES
+.include "../../lang/python/application.mk"
.else
CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=TRUE
CMAKE_ARGS+= -DSIP_BINARY_PATH:PATH=${BUILDLINK_PREFIX.py-sip}/bin
diff -r d8e0624d1ede -r 69043b6c6573 geography/qgis/patches/patch-src_crssync_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/qgis/patches/patch-src_crssync_CMakeLists.txt Tue Jun 28 16:57:51 2016 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_crssync_CMakeLists.txt,v 1.1 2016/06/28 16:57:51 bouyer Exp $
+Fix executing dynamically-linked executable from the build directory
+
+--- src/crssync/CMakeLists.txt.orig 2016-06-26 16:02:58.000000000 +0200
++++ src/crssync/CMakeLists.txt 2016-06-26 16:04:09.000000000 +0200
+@@ -22,7 +22,7 @@
+ )
+ ELSE(MSVC AND NOT USING_NMAKE)
+ ADD_CUSTOM_TARGET(synccrsdb
+- COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/crssync
++ COMMAND env LD_LIBRARY_PATH=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/../lib ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/crssync
+ DEPENDS crssync
+ )
+ ENDIF(MSVC AND NOT USING_NMAKE)
Home |
Main Index |
Thread Index |
Old Index