[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-dr/

2023-02-01 Thread Andreas Sturmlechner
commit: c8b937c41a6edf8aed9aa6ab56729924859bba0e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jan 28 18:39:38 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb  1 19:26:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b937c4

sci-geosciences/opencpn-plugin-dr: drop 1.1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-geosciences/opencpn-plugin-dr/Manifest |  1 -
 .../opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild | 35 --
 2 files changed, 36 deletions(-)

diff --git a/sci-geosciences/opencpn-plugin-dr/Manifest 
b/sci-geosciences/opencpn-plugin-dr/Manifest
index fd552525ad35..b8e4c9ec3950 100644
--- a/sci-geosciences/opencpn-plugin-dr/Manifest
+++ b/sci-geosciences/opencpn-plugin-dr/Manifest
@@ -1,2 +1 @@
-DIST opencpn-plugin-dr-1.1.tar.gz 133693 BLAKE2B 
3d3356d43ca263c117511be4b4b873038f1a0493ab9b9ec4d0811da4360a38a2ec4ee2a31b54ce18741fc9ae0e3daf1a0a24b1c62493087c747b9e8720ee5a07
 SHA512 
2a953c7a8a491975c2b14e877364cfa736d2c410ea77bb4e0b18cf3bb3b04b19c2fcbc9debd513182f95002b483e689c4e21c30d87474e319bae7d2d840254f1
 DIST opencpn-plugin-dr-4.0.0.tar.gz 2010328 BLAKE2B 
7b3d9e93edb52e6c039e759a5a4f8f85145c89c68b6c9d33ecf8fa376e4150bfe34a516bb9f278ef820fb880c2c45b13a446151c46bd9220e303c1b352010601
 SHA512 
0cbb87b66569451510f813a7766ca7e7e5c120861046c93b0adb0e71b90528ae83b12201635ec0e3a9286c470e0a93015c4a5a99cbc13979c894fa4be36ce71f

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
deleted file mode 100644
index 96bb44ad6eeb..
--- a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0"
-inherit cmake wxwidgets
-
-MY_PN="DR_pi"
-if [[ ${PV} == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git;
-else
-   SRC_URI="https://github.com/Rasbats/${MY_PN}/archive/V${PV}.tar.gz -> 
${P}.tar.gz"
-
-   KEYWORDS="~amd64 ~x86"
-   S="${WORKDIR}/${MY_PN}-${PV}"
-fi
-
-DESCRIPTION="Dead Reckoning Positions Plugin for OpenCPN"
-HOMEPAGE="https://github.com/Rasbats/DR_pi;
-
-LICENSE="GPL-2+"
-SLOT="0"
-
-RDEPEND="
-   x11-libs/wxGTK:${WX_GTK_VER}
-   >=sci-geosciences/opencpn-4.2.0"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-devel/gettext"
-
-src_configure() {
-   setup-wxwidgets unicode
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-dr/, sci-geosciences/opencpn-plugin-dr/files/

2021-11-30 Thread Marc Schiffbauer
commit: 9dfe0d262344cf04c192e311e6a7d650b4d15f2e
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Mon Nov 29 10:16:10 2021 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Tue Nov 30 09:04:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dfe0d26

sci-geosciences/opencpn-plugin-dr: added 4.0.0

Signed-off-by: Marc Schiffbauer  gentoo.org>

 sci-geosciences/opencpn-plugin-dr/Manifest |  1 +
 .../opencpn-plugin-dr/files/cmake.patch| 41 ++
 ...-.ebuild => opencpn-plugin-dr-4.0.0.ebuild} | 10 --
 .../opencpn-plugin-dr-.ebuild  | 10 --
 4 files changed, 56 insertions(+), 6 deletions(-)

diff --git a/sci-geosciences/opencpn-plugin-dr/Manifest 
b/sci-geosciences/opencpn-plugin-dr/Manifest
index e6b0099358e1..fd552525ad35 100644
--- a/sci-geosciences/opencpn-plugin-dr/Manifest
+++ b/sci-geosciences/opencpn-plugin-dr/Manifest
@@ -1 +1,2 @@
 DIST opencpn-plugin-dr-1.1.tar.gz 133693 BLAKE2B 
3d3356d43ca263c117511be4b4b873038f1a0493ab9b9ec4d0811da4360a38a2ec4ee2a31b54ce18741fc9ae0e3daf1a0a24b1c62493087c747b9e8720ee5a07
 SHA512 
2a953c7a8a491975c2b14e877364cfa736d2c410ea77bb4e0b18cf3bb3b04b19c2fcbc9debd513182f95002b483e689c4e21c30d87474e319bae7d2d840254f1
+DIST opencpn-plugin-dr-4.0.0.tar.gz 2010328 BLAKE2B 
7b3d9e93edb52e6c039e759a5a4f8f85145c89c68b6c9d33ecf8fa376e4150bfe34a516bb9f278ef820fb880c2c45b13a446151c46bd9220e303c1b352010601
 SHA512 
0cbb87b66569451510f813a7766ca7e7e5c120861046c93b0adb0e71b90528ae83b12201635ec0e3a9286c470e0a93015c4a5a99cbc13979c894fa4be36ce71f

diff --git a/sci-geosciences/opencpn-plugin-dr/files/cmake.patch 
b/sci-geosciences/opencpn-plugin-dr/files/cmake.patch
new file mode 100644
index ..ab0bb813c321
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-dr/files/cmake.patch
@@ -0,0 +1,41 @@
+diff -ur DR_pi-4.0.0.orig/CMakeLists.txt DR_pi-4.0.0/CMakeLists.txt
+--- DR_pi-4.0.0.orig/CMakeLists.txt2021-11-04 00:32:44.0 -1000
 DR_pi-4.0.0/CMakeLists.txt 2021-11-29 00:11:03.998266321 -1000
+@@ -61,9 +61,10 @@
+ )
+ include(Targets)
+ create_targets(${FLATPAK_MANIFEST})
+-if ("${BUILD_TYPE}" STREQUAL "")
+-  return ()
+-endif ()
++#if ("${BUILD_TYPE}" STREQUAL "")
++#  return ()
++#endif ()
++include(PluginLibs)
+ 
+ if (NOT ${BUILD_TYPE} STREQUAL "flatpak")
+   # Build package as required (flatpak already dealt with).
+diff -ur DR_pi-4.0.0.orig/cmake/PluginInstall.cmake 
DR_pi-4.0.0/cmake/PluginInstall.cmake
+--- DR_pi-4.0.0.orig/cmake/PluginInstall.cmake 2021-11-04 00:32:44.0 
-1000
 DR_pi-4.0.0/cmake/PluginInstall.cmake  2021-11-29 00:10:04.241099544 
-1000
+@@ -11,7 +11,7 @@
+ # the Free Software Foundation; either version 3 of the License, or
+ # (at your option) any later version.
+ 
+-include(Metadata)
++#include(Metadata)
+ 
+ if (APPLE)
+   install(
+diff -ur DR_pi-4.0.0.orig/cmake/Targets.cmake DR_pi-4.0.0/cmake/Targets.cmake
+--- DR_pi-4.0.0.orig/cmake/Targets.cmake   2021-11-04 00:32:44.0 
-1000
 DR_pi-4.0.0/cmake/Targets.cmake2021-11-29 00:10:18.954386822 -1000
+@@ -19,7 +19,7 @@
+   return()
+ endif ()
+ 
+-include(Metadata)
++#include(Metadata)
+ 
+ if (UNIX AND NOT APPLE AND NOT QT_ANDROID)
+   set(_LINUX ON)

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-4.0.0.ebuild
similarity index 80%
copy from sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
copy to sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-4.0.0.ebuild
index 96bb44ad6eeb..f8093a00ebdc 100644
--- a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
+++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-4.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-WX_GTK_VER="3.0"
+WX_GTK_VER="3.0-gtk3"
 inherit cmake wxwidgets
 
 MY_PN="DR_pi"
@@ -11,7 +11,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git;
 else
-   SRC_URI="https://github.com/Rasbats/${MY_PN}/archive/V${PV}.tar.gz -> 
${P}.tar.gz"
+   SRC_URI="https://github.com/Rasbats/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
@@ -25,10 +25,14 @@ SLOT="0"
 
 RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}
-   >=sci-geosciences/opencpn-4.2.0"
+   sci-geosciences/opencpn:="
 DEPEND="${RDEPEND}"
 BDEPEND="sys-devel/gettext"
 
+PATCHES=(
+   "${FILESDIR}/cmake.patch"
+)
+
 src_configure() {
setup-wxwidgets unicode
cmake_src_configure

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
index 96bb44ad6eeb..f8093a00ebdc 100644
--- a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
+++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-WX_GTK_VER="3.0"

[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-dr/

2021-04-04 Thread David Seifert
commit: 3499ac42f97dd12a0fca66f619a3340c5c5c593b
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr  4 20:19:59 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr  4 20:19:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3499ac42

sci-geosciences/opencpn-plugin-dr: need-wxwidgets -> setup-wxwidgets

Bug: https://bugs.gentoo.org/770622
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 .../opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild | 27 +++---
 .../opencpn-plugin-dr-.ebuild  | 27 +++---
 2 files changed, 26 insertions(+), 28 deletions(-)

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
index f453203e30f..96bb44ad6ee 100644
--- a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
+++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
@@ -1,18 +1,18 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 WX_GTK_VER="3.0"
+inherit cmake wxwidgets
+
 MY_PN="DR_pi"
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git;
-   inherit git-r3 cmake-utils wxwidgets
 else
-   SRC_URI="
-   https://github.com/Rasbats/${MY_PN}/archive/V${PV}.tar.gz -> 
${P}.tar.gz
-   "
-   inherit cmake-utils wxwidgets
+   SRC_URI="https://github.com/Rasbats/${MY_PN}/archive/V${PV}.tar.gz -> 
${P}.tar.gz"
+
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
 fi
@@ -22,15 +22,14 @@ HOMEPAGE="https://github.com/Rasbats/DR_pi;
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE=""
 
 RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}
-   >=sci-geosciences/opencpn-4.2.0
-   sys-devel/gettext
-"
+   >=sci-geosciences/opencpn-4.2.0"
 DEPEND="${RDEPEND}"
-src_prepare() {
-   need-wxwidgets unicode
-   cmake-utils_src_prepare
+BDEPEND="sys-devel/gettext"
+
+src_configure() {
+   setup-wxwidgets unicode
+   cmake_src_configure
 }

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
index 90487153bd0..96bb44ad6ee 100644
--- a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
+++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
@@ -1,18 +1,18 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 WX_GTK_VER="3.0"
+inherit cmake wxwidgets
+
 MY_PN="DR_pi"
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git;
-   inherit git-r3 cmake-utils wxwidgets
 else
-   SRC_URI="
-   https://github.com/Rasbats/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   "
-   inherit cmake-utils wxwidgets
+   SRC_URI="https://github.com/Rasbats/${MY_PN}/archive/V${PV}.tar.gz -> 
${P}.tar.gz"
+
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
 fi
@@ -22,15 +22,14 @@ HOMEPAGE="https://github.com/Rasbats/DR_pi;
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE=""
 
 RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}
-   >=sci-geosciences/opencpn-4.2.0
-   sys-devel/gettext
-"
+   >=sci-geosciences/opencpn-4.2.0"
 DEPEND="${RDEPEND}"
-src_prepare() {
-   need-wxwidgets unicode
-   cmake-utils_src_prepare
+BDEPEND="sys-devel/gettext"
+
+src_configure() {
+   setup-wxwidgets unicode
+   cmake_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-dr/

2016-12-30 Thread Marc Schiffbauer
commit: 358c77c76babba8075d574b622b2463869d887f3
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Fri Dec 30 14:21:02 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Fri Dec 30 18:00:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358c77c7

sci-geosciences/opencpn-plugin-dr: added version 1.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-geosciences/opencpn-plugin-dr/Manifest |  1 +
 .../opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/sci-geosciences/opencpn-plugin-dr/Manifest 
b/sci-geosciences/opencpn-plugin-dr/Manifest
new file mode 100644
index ..984e728
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-dr/Manifest
@@ -0,0 +1 @@
+DIST opencpn-plugin-dr-1.1.tar.gz 133693 SHA256 
57b42b577228e105b22b58b66148527ae62eb119d3f35a5c688360ed251b64d5 SHA512 
2a953c7a8a491975c2b14e877364cfa736d2c410ea77bb4e0b18cf3bb3b04b19c2fcbc9debd513182f95002b483e689c4e21c30d87474e319bae7d2d840254f1
 WHIRLPOOL 
db083b87f17b3fbe5895e9ccee58b2d42283653832731baeaffb997a63ba9e1e003b9efe60c58b3ea640bfdb88ec495030009a22e0962898dcc9cfbdc9286889

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
new file mode 100644
index ..80538b7
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-1.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+MY_PN="DR_pi"
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git;
+   inherit git-r3 cmake-utils wxwidgets
+   KEYWORDS=""
+else
+   SRC_URI="
+   https://github.com/Rasbats/${MY_PN}/archive/V${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   inherit cmake-utils wxwidgets
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="Dead Reckoning Positions Plugin for OpenCPN"
+HOMEPAGE="https://github.com/Rasbats/DR_pi;
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/wxGTK:${WX_GTK_VER}
+   >=sci-geosciences/opencpn-4.2.0
+   sys-devel/gettext
+"
+DEPEND="${RDEPEND}"
+src_prepare() {
+   need-wxwidgets unicode
+   cmake-utils_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-dr/

2016-12-30 Thread Marc Schiffbauer
commit: 9f71424f5319d786250a4cc51acd09badbd3873a
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Thu Dec 29 21:55:51 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Fri Dec 30 18:00:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f71424f

sci-geosciences/opencpn-plugin-dr: added new plugin

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-geosciences/opencpn-plugin-dr/metadata.xml | 15 +
 .../opencpn-plugin-dr-.ebuild  | 38 ++
 2 files changed, 53 insertions(+)

diff --git a/sci-geosciences/opencpn-plugin-dr/metadata.xml 
b/sci-geosciences/opencpn-plugin-dr/metadata.xml
new file mode 100644
index ..40869ff
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-dr/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   msch...@gentoo.org
+   Marc Schiffbauer
+   
+   
+   sci-geoscien...@gentoo.org
+   Gentoo Geosciences Project
+   
+   
+   Rasbats/DR_pi
+   
+

diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild 
b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
new file mode 100644
index ..dc829f7
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+MY_PN="DR_pi"
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git;
+   inherit git-r3 cmake-utils wxwidgets
+   KEYWORDS=""
+else
+   SRC_URI="
+   https://github.com/Rasbats/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   inherit cmake-utils wxwidgets
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="Dead Reckoning Positions Plugin for OpenCPN"
+HOMEPAGE="https://github.com/Rasbats/DR_pi;
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/wxGTK:${WX_GTK_VER}
+   >=sci-geosciences/opencpn-4.2.0
+   sys-devel/gettext
+"
+DEPEND="${RDEPEND}"
+src_prepare() {
+   need-wxwidgets unicode
+   cmake-utils_src_prepare
+}