Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (5)
build: Update for new debian deps.
· c7d92561
Alec Leamas
authored
Dec 02, 2019
c7d92561
debian: Move to gtk3.
· a7ad12f1
Alec Leamas
authored
Dec 04, 2019
a7ad12f1
Add fix for broken CMakelists FIND_WXWIDGETS.
· 3e7f419b
Alec Leamas
authored
Dec 04, 2019
3e7f419b
debian: Updating changelog after move to gtk3.
· 6a0fe4be
Alec Leamas
authored
Dec 04, 2019
6a0fe4be
Add a linux NDEBUG compile flag (#1500).
· 585a1cd5
Alec Leamas
authored
Dec 08, 2019
585a1cd5
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
585a1cd5
opencpn (5.0.0+dfsg.1-1) unstable; urgency=medium
* New upstream release
* Drop all patches besides 2 after being upstreamed
* Move to gtk3
* Drop all patches besides two after being upstreamed
* Drop some lintian overrides after upstream fixes.
* Add a patch for broken include paths.
* Add a patch for broken FIND_WXWIDGETS in CMakeLists
* Disable assertion messages using the standard NDEBUG flag.
* Move appstream data to new location, relicense
and clean up rules.
* Bump Standards-Version to 4.4.1, no changes.
...
...
debian/control
View file @
585a1cd5
...
...
@@ -18,8 +18,8 @@ Build-Depends: debhelper (>= 12),
libsqlite3-dev,
libtinyxml-dev,
libunarr-dev,
libwx
gtk3.0-dev
,
libwx
svg
-dev,
libwx
svg-dev (>= 2:1.5.21)
,
libwx
gtk3.0-gtk3
-dev,
portaudio19-dev
Standards-Version: 4.4.1
Homepage: https://opencpn.org
...
...
debian/patches/0005-CMakelists-move-appdata.xml-to-usr-share-metainfo.patch
View file @
585a1cd5
...
...
@@ -3,7 +3,6 @@ Date: Wed, 20 Nov 2019 15:47:38 -0500
Subject: CMakelists: move appdata.xml to /usr/share/metainfo
Bug: https://github.com/OpenCPN/OpenCPN/issues/1490
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
...
...
debian/patches/0006-CMakelists-Fix-broken-FIND_WXWIDGETS-invocation.patch
0 → 100644
View file @
585a1cd5
From: Alec Leamas <leamas.alec@gmail.com>
Date: Wed, 4 Dec 2019 14:56:00 -0500
Subject: CMakelists: Fix broken FIND_WXWIDGETS invocation
This is already fixed in upstream. This patch is simplified
and thus cannot be upstreamed.
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06198ef..f34e138 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1053,14 +1053,14 @@
IF(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID)
set(wxWidgets_CONFIG_OPTIONS ${wxWidgets_CONFIG_OPTIONS} --toolkit=gtk3)
MESSAGE(STATUS "Building against GTK3...")
ENDIF(GTK2_FOUND)
- FIND_PACKAGE(wxWidgets)
+ FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_USE_LIBS})
if (wxWidgets_FOUND)
message(STATUS "Found wxWidgets webview add-on")
add_definitions(-DOCPN_USE_WEBVIEW)
else ()
list(REMOVE_ITEM wxWidgets_USE_LIBS webview)
message(STATUS "Could not find wxWidgets webview add-on")
- FIND_PACKAGE(wxWidgets REQUIRED)
+ FIND_PACKAGE(wxWidgets COMPONENTS ${wxWidgets_USE_LIBS} REQUIRED)
endif ()
MESSAGE (STATUS "Found wxWidgets..." )
MESSAGE (STATUS " wxWidgets Include: ${wxWidgets_INCLUDE_DIRS}")
debian/patches/0007-Add-a-linux-NDEBUG-compile-flag-1500.patch
0 → 100644
View file @
585a1cd5
From: Alec Leamas <leamas.alec@gmail.com>
Date: Sun, 8 Dec 2019 01:05:49 +0100
Subject: Add a linux NDEBUG compile flag (#1500).
---
CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f34e138..2a9029a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2085,6 +2085,7 @@
IF(WIN32)
target_sources(${PACKAGE_NAME} PRIVATE app.manifest)
ENDIF(WIN32)
+ADD_DEFINITIONS( "-DNDEBUG" )
IF(APPLE)
debian/patches/series
View file @
585a1cd5
...
...
@@ -3,3 +3,5 @@
0003-build-Handle-missing-doc-files.patch
0004-appstream-Relicense-metadata-to-overall-GPL-2-packag.patch
0005-CMakelists-move-appdata.xml-to-usr-share-metainfo.patch
0006-CMakelists-Fix-broken-FIND_WXWIDGETS-invocation.patch
0007-Add-a-linux-NDEBUG-compile-flag-1500.patch
debian/rules
View file @
585a1cd5
...
...
@@ -18,7 +18,7 @@ override_dh_auto_configure:
-DBUILD_SHARED_LIBS=OFF \
-DUSE_BUNDLED_LIBS=OFF \
-DOCPN_NEW_SERIAL=OFF \
-D
WX_CONFIG_OPTIONS=--toolkit=gtk2
-D
OCPN_FORCE_GTK3=ON
override_dh_auto_install:
dh_auto_install
...
...