pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography Do not include buildlink3 files already incl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5ea57c76f89d
branches: trunk
changeset: 382999:5ea57c76f89d
user: bouyer <bouyer%pkgsrc.org@localhost>
date: Thu Jul 19 17:58:57 2018 +0000
description:
Do not include buildlink3 files already inclued by wxGTK30/buildlink3.mk
(especially, remove gtk2 buildlink3).
Make opencpn build with gtk3
Conservatively bump PKGREVISIONs
diffstat:
geography/opencpn-plugin-debugger/Makefile | 7 +----
geography/opencpn-plugin-draw/Makefile | 7 +----
geography/opencpn-plugin-statusbar/Makefile | 7 +----
geography/opencpn-plugin-watchdog/Makefile | 7 +----
geography/opencpn-plugin-weather_routing/Makefile | 7 +----
geography/opencpn/Makefile | 13 ++++------
geography/opencpn/distinfo | 4 +-
geography/opencpn/patches/patch-CMakeLists.txt | 27 +++++++++++++++++-----
8 files changed, 37 insertions(+), 42 deletions(-)
diffs (234 lines):
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn-plugin-debugger/Makefile
--- a/geography/opencpn-plugin-debugger/Makefile Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn-plugin-debugger/Makefile Thu Jul 19 17:58:57 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2018/04/29 05:46:37 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2018/07/19 17:58:58 bouyer Exp $
#
VERSION= 20170414
-PKGREVISION= 5
+PKGREVISION= 6
DISTNAME= ocpndebugger_pi-${VERSION}
PKGNAME= opencpn-plugin-debugger-${VERSION}
CATEGORIES= geography
@@ -26,9 +26,6 @@
cmake/PluginPackage.cmake
.include "../../devel/cmake/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn-plugin-draw/Makefile
--- a/geography/opencpn-plugin-draw/Makefile Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn-plugin-draw/Makefile Thu Jul 19 17:58:57 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.16 2018/04/29 05:46:37 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/07/19 17:58:58 bouyer Exp $
#
VERSION= 1.5_20180405
DISTNAME= ocpn_draw_pi-${VERSION}
PKGNAME= opencpn-plugin-draw-${VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=jongough/}
GITHUB_PROJECT= ocpn_draw_pi
@@ -26,9 +26,6 @@
cmake/PluginPackage.cmake
.include "../../devel/cmake/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn-plugin-statusbar/Makefile
--- a/geography/opencpn-plugin-statusbar/Makefile Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn-plugin-statusbar/Makefile Thu Jul 19 17:58:57 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/04/29 05:46:37 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2018/07/19 17:58:58 bouyer Exp $
VERSION= 20180405
-PKGREVISION= 3
+PKGREVISION= 4
DISTNAME= statusbar_pi-${VERSION}
PKGNAME= opencpn-plugin-statusbar-${VERSION}
CATEGORIES= geography
@@ -25,9 +25,6 @@
cmake/PluginPackage.cmake
.include "../../devel/cmake/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn-plugin-watchdog/Makefile
--- a/geography/opencpn-plugin-watchdog/Makefile Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn-plugin-watchdog/Makefile Thu Jul 19 17:58:57 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.14 2018/04/29 05:46:37 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2018/07/19 17:58:58 bouyer Exp $
#
VERSION= 20180405
DISTNAME= watchdog_pi-${VERSION}
PKGNAME= opencpn-plugin-watchdog-${VERSION}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= watchdog_pi
@@ -26,9 +26,6 @@
cmake/PluginPackage.cmake
.include "../../devel/cmake/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn-plugin-weather_routing/Makefile
--- a/geography/opencpn-plugin-weather_routing/Makefile Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn-plugin-weather_routing/Makefile Thu Jul 19 17:58:57 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2018/04/29 05:46:37 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2018/07/19 17:58:58 bouyer Exp $
#
VERSION= 20180405
DISTNAME= weather_routing_pi-${VERSION}
PKGNAME= opencpn-plugin-weather_routing-${VERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= weather_routing_pi
@@ -27,9 +27,6 @@
cmake/PluginPackage.cmake
.include "../../devel/cmake/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
.include "../../textproc/tinyxml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn/Makefile
--- a/geography/opencpn/Makefile Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn/Makefile Thu Jul 19 17:58:57 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2018/04/29 21:31:42 adam Exp $
+# $NetBSD: Makefile,v 1.24 2018/07/19 17:58:57 bouyer Exp $
DISTNAME= OpenCPN-4.8.2
-PKGREVISION= 4
+PKGREVISION= 5
PKGNAME= ${DISTNAME:S/OpenCPN/opencpn/}
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenCPN/}
@@ -14,9 +14,9 @@
COMMENT= Concise ChartPlotter/Navigator
LICENSE= gnu-gpl-v2
-USE_LANGUAGES= c c++
-USE_TOOLS= gettext
-USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gettext pkg-config
+USE_CMAKE= yes
CMAKE_ARGS+= -DPREFIX:PATH=${PREFIX} -DPREFIX_PLUGINS:PATH=${PREFIX}/lib/opencpn
CMAKE_ARGS+= -DBUNDLE_DOCS=ON -DBUNDLE_GSHHS=CRUDE -DBUNDLE_TCDATA=ON
@@ -41,10 +41,7 @@
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
.include "../../devel/cmake/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../audio/portaudio-devel/buildlink3.mk"
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn/distinfo
--- a/geography/opencpn/distinfo Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn/distinfo Thu Jul 19 17:58:57 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.19 2018/07/03 15:14:15 bouyer Exp $
+$NetBSD: distinfo,v 1.20 2018/07/19 17:58:57 bouyer Exp $
SHA1 (OpenCPN-4.8.2.zip) = 9547a99c0de739fb0f4953d37bb738ed651f5c62
RMD160 (OpenCPN-4.8.2.zip) = f217d07cc639292e657b0f89f96daa12cab2a355
SHA512 (OpenCPN-4.8.2.zip) = 53635bcb77d96171afecdbf6bb987256016dce9019eca6c644500e14b820ed0843be6cdc3c0567b537eb1a65dbee4cfcaa73fa13361d6deb1ed0aa585d0e6cba
Size (OpenCPN-4.8.2.zip) = 61827184 bytes
-SHA1 (patch-CMakeLists.txt) = c20b25c64790f5a595a5ef2940f430e588ffdf14
+SHA1 (patch-CMakeLists.txt) = 6d11df2c83e445050c91e23ec6657798726b4338
SHA1 (patch-FindPortaudio.cmake) = e1bebe2203c6f3dc76f92ee5bdcb01eca66b6b9a
SHA1 (patch-plugins_chartdldr_pi_CMakeLists.txt) = 52962f6feac45a766fc2dff08d2802e946ccfc85
SHA1 (patch-plugins_chartdldr_pi_cmake_PluginConfigure.cmake) = 29fbfaee37e2a932b923df6ff7541dad37e14d65
diff -r b8faee6144fa -r 5ea57c76f89d geography/opencpn/patches/patch-CMakeLists.txt
--- a/geography/opencpn/patches/patch-CMakeLists.txt Thu Jul 19 15:15:20 2018 +0000
+++ b/geography/opencpn/patches/patch-CMakeLists.txt Thu Jul 19 17:58:57 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-CMakeLists.txt,v 1.6 2017/04/18 13:31:55 bouyer Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.7 2018/07/19 17:58:57 bouyer Exp $
---- CMakeLists.txt.orig 2017-04-02 05:17:09.000000000 +0200
-+++ CMakeLists.txt 2017-04-18 15:03:46.000000000 +0200
-@@ -65,8 +65,21 @@
+--- CMakeLists.txt.orig 2018-02-07 12:08:26.000000000 +0100
++++ CMakeLists.txt 2018-07-19 17:20:24.093239101 +0200
+@@ -91,8 +91,21 @@
# Based on code from nohal
IF (NOT WIN32)
# default
@@ -25,7 +25,7 @@
IF (EXISTS /etc/debian_version)
SET (PACKAGE_FORMAT "DEB")
SET (PACKAGE_DEPS "libc6, libwxgtk3.0-0, wx3.0-i18n, libglu1-mesa (>= 7.0.0), libgl1-mesa-glx (>= 7.0.0), zlib1g, bzip2, libtinyxml2.6.2, libportaudio2")
-@@ -99,7 +112,6 @@
+@@ -125,7 +138,6 @@
ELSE (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
IF (CMAKE_SIZEOF_VOID_P MATCHES "8")
SET (ARCH "x86_64")
@@ -33,7 +33,7 @@
ELSE (CMAKE_SIZEOF_VOID_P MATCHES "8")
SET (ARCH "i386")
SET (LIB_INSTALL_DIR "lib")
-@@ -318,7 +330,7 @@
+@@ -344,7 +356,7 @@
# Search for opengles, short of running a program to test the speed
# of acceleration, I simply use gles on "native linux" arm systems
@@ -42,7 +42,20 @@
find_path(OPENGLESv1_INCLUDE_DIR GLES/gl.h )
IF (OPENGLESv1_INCLUDE_DIR)
MESSAGE (STATUS "Found OpenGLESv1")
-@@ -1861,10 +1873,10 @@
+@@ -868,7 +880,11 @@
+
+
+ IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID)
+- OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF)
++ IF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD")
++ OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" ON)
++ ELSE(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD")
++ OPTION(OCPN_FORCE_GTK3 "Force the build to use GTK3" OFF)
++ ENDIF(CMAKE_SYSTEM_NAME MATCHES ".*NetBSD")
+
+ IF(NOT OCPN_FORCE_GTK3)
+ FIND_PACKAGE(GTK2)
+@@ -1919,10 +1935,10 @@
# Certain older Cmake FindGTK2 modules ( e.g. cmake-2.8.0-2) do not yield all of the required link libraries
# So, add them manually. These declarations may be redundant in some architectures, but do no harm.
Home |
Main Index |
Thread Index |
Old Index