From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sci-geosciences/opencpn/Manifest | 4 ++ .../files/opencpn-3.0.2-multilib-strict.patch | 12 ++++ sci-geosciences/opencpn/metadata.xml | 12 ++++ sci-geosciences/opencpn/opencpn-3.0.2.ebuild | 67 ++++++++++++++++++++++ sci-geosciences/opencpn/opencpn-3.2.2.ebuild | 43 ++++++++++++++ sci-geosciences/opencpn/opencpn-4.0.0.ebuild | 67 ++++++++++++++++++++++ 6 files changed, 205 insertions(+) create mode 100644 sci-geosciences/opencpn/Manifest create mode 100644 sci-geosciences/opencpn/files/opencpn-3.0.2-multilib-strict.patch create mode 100644 sci-geosciences/opencpn/metadata.xml create mode 100644 sci-geosciences/opencpn/opencpn-3.0.2.ebuild create mode 100644 sci-geosciences/opencpn/opencpn-3.2.2.ebuild create mode 100644 sci-geosciences/opencpn/opencpn-4.0.0.ebuild (limited to 'sci-geosciences/opencpn') diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest new file mode 100644 index 000000000000..71145727428a --- /dev/null +++ b/sci-geosciences/opencpn/Manifest @@ -0,0 +1,4 @@ +DIST OpenCPN-3.0.2-Source.tar.gz 42818873 SHA256 0193bb1e33ba8feccbc42f5da9076a1e0f6518699094bd4414b7746f66321bf9 SHA512 6c5d027a21eb84d8d3c68851bf6cff399c4758c5a5ff022a877afb709a8a2ed40f6a1aefbf9befb3cf4b18870781f6a614704ef30fe231e75cf3fc6fc8179c61 WHIRLPOOL 4c43a0be5316b19bf68548441aa43f4c4b328f1c5f90bf6acc6fd4ace0ad01505a89c40ce880925e616e8b49a498e28e7add2755a7577f2172607e2d3784e628 +DIST opencpn-3.2.2.tar.gz 50225043 SHA256 bb53b8264fb6fd82e3e7778771ffdcec26621c24db9ece388c4e5e89711550ab SHA512 0ea40529e12ab3fd7f21c60d87c33aed2038b2dff1ecb9a4ff799f15fe6d0c73d65a91f7eb02949383f45629bfd4715319b72a6bb5bc76114b53636818e8ca6b WHIRLPOOL db5bca7541bc8aa7c18e80bdb25d91674f681e9f0922c885324896651ce075b74e017caee5e0d304617d92bf221e4e6c0754f6aae9276027a62383c38ca4b98f +DIST opencpn-4.0.0.tar.gz 40095375 SHA256 b1930dc74a59744327496b0ec23b58836fa0643cb9dd1d5c5b7f1a8221bb801e SHA512 84e20d5a5496778096f9cbce3507475ae6c11619eb5cc19e928647e360980e2ac868d1f45712bfc8da3607d4fa3822b6672b8844a914b387aeeda7bf645668f0 WHIRLPOOL f1ee241203bccc32816e970c61a896f317f747c6c9701e2a15140724f75c8bca802df942e420d126f88ff9adae9c1634155e4e2b482f060e7955fb0061da82f3 +DIST opencpn-doc_4.0.0.orig.tar.xz 14732480 SHA256 3bc27c19f1b21e4cff69e594081cac765c1ff975374c02bc4fb703cb02a4cd92 SHA512 fb80e4afb759c99cf24b498c454bc492aa0b3c02443424b0f39910e1a494670093ac5ee19cd40a8a0abb345e18b7496b8a70c160bed5215af6bcee07e145ee36 WHIRLPOOL 49e51ab2555513fb4e7436d326c89a1e4b707be263bb5fb7a866bd79c1053c8078d932a39664de5701b12ae712db9d0fb9147002f40a1d9c3af1674d61bf7818 diff --git a/sci-geosciences/opencpn/files/opencpn-3.0.2-multilib-strict.patch b/sci-geosciences/opencpn/files/opencpn-3.0.2-multilib-strict.patch new file mode 100644 index 000000000000..c66736fde9c7 --- /dev/null +++ b/sci-geosciences/opencpn/files/opencpn-3.0.2-multilib-strict.patch @@ -0,0 +1,12 @@ +--- OpenCPN-3.0.2-Source/CMakeLists.txt.orig 2012-07-18 00:27:24.531257698 +0200 ++++ OpenCPN-3.0.2-Source/CMakeLists.txt 2012-07-18 00:29:37.669412986 +0200 +@@ -99,6 +99,9 @@ + SET (LIB_INSTALL_DIR "lib") + ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8") + ENDIF (EXISTS /etc/suse-release OR EXISTS /etc/SuSE-release) ++ IF (EXISTS /etc/gentoo-release) ++ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}") ++ ENDIF (EXISTS /etc/gentoo-release) + IF(APPLE) + IF (CMAKE_SIZEOF_VOID_P MATCHES "8") + IF (CMAKE_OSX_64) diff --git a/sci-geosciences/opencpn/metadata.xml b/sci-geosciences/opencpn/metadata.xml new file mode 100644 index 000000000000..e9ddde619e09 --- /dev/null +++ b/sci-geosciences/opencpn/metadata.xml @@ -0,0 +1,12 @@ + + + + sci-geosciences + + mschiff@gentoo.org + + + OpenCPN/OpenCPN + ~opencpn + + diff --git a/sci-geosciences/opencpn/opencpn-3.0.2.ebuild b/sci-geosciences/opencpn/opencpn-3.0.2.ebuild new file mode 100644 index 000000000000..cb17b4b9e158 --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-3.0.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +WX_GTK_VER="2.8" +MY_P=OpenCPN-${PV}-Source +inherit cmake-utils wxwidgets + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="http://opencpn.org/" +#SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +SRC_URI="http://opencpn.org/ocpn/downloads/beta/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gps" + +RDEPEND=" + app-arch/bzip2 + dev-libs/tinyxml + media-libs/freetype:2 + sys-libs/zlib + virtual/opengl + x11-libs/gtk+:2 + x11-libs/wxGTK:2.8[X] + gps? ( >=sci-geosciences/gpsd-2.96-r1 ) +" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-multilib-strict.patch" +) +# "${FILESDIR}/${P}_tinyxml_stl.patch" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use gps GPSD) + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + -DUSE_WIFI_CLIENT=OFF + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + if grep -rqE "sci-geosciences/opencpn.*gpsd" /etc/portage/package.use*; then + ewarn "The local 'gpsd' USE flag has been removed in favour of the" + if use gps; then + ewarn "global 'gps' USE flag which is enabled on your system." + ewarn "" + ewarn "Please remove the 'gpsd' USE flag from your make.conf" + ewarn "and/or /etc/portage/package.use files." + else + ewarn "global 'gps' USE flag." + ewarn "" + ewarn "In order to have GPS support in OpenCPN you need to" + ewarn "enable the 'gps' USE flag." + fi + fi +} diff --git a/sci-geosciences/opencpn/opencpn-3.2.2.ebuild b/sci-geosciences/opencpn/opencpn-3.2.2.ebuild new file mode 100644 index 000000000000..5de0712406ef --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-3.2.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +WX_GTK_VER="2.8" +inherit cmake-utils wxwidgets + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="http://opencpn.org/" +SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gps" + +RDEPEND=" + app-arch/bzip2 + dev-libs/tinyxml + media-libs/freetype:2 + sys-libs/zlib + virtual/opengl + x11-libs/gtk+:2 + x11-libs/wxGTK:2.8[X] + gps? ( >=sci-geosciences/gpsd-2.96-r1 ) +" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/OpenCPN-${P}" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use gps GPSD) + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + -DUSE_WIFI_CLIENT=OFF + ) + + cmake-utils_src_configure +} diff --git a/sci-geosciences/opencpn/opencpn-4.0.0.ebuild b/sci-geosciences/opencpn/opencpn-4.0.0.ebuild new file mode 100644 index 000000000000..6298b6b4389d --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-4.0.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# TODO: add plugins + +## wmm_pi, World Magnetic Model (https://github.com/nohal/wmm_pi, GPL-2+) +#WMM_PLUGIN_PV="1.0" +#WMM_PLUGIN_PN="wmm_pi" +#WMM_PLUGIN_P="${WMM_PLUGIN_PN}-${WMM_PLUGIN_PV}" +#WMM_PLUGIN_URI="https://github.com/nohal/${WMM_PLUGIN_PN}/archive/${WMM_PLUGIN_PN}-v${WMM_PLUGIN_PV}.tar.gz" +#WMM_PLUGIN_WD="${WORKDIR}/plugins/${WMM_PLUGIN_PN}" + +WX_GTK_VER="2.8" +inherit cmake-utils wxwidgets + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="http://opencpn.org/" +SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/v${PV}.tar.gz -> ${P}.tar.gz +doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${PV}.orig.tar.xz ) +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gps opengl" + +RDEPEND=" + app-arch/bzip2 + dev-libs/tinyxml + media-libs/freetype:2 + media-libs/portaudio + sys-libs/zlib + opengl? ( virtual/opengl ) + x11-libs/gtk+:2 + x11-libs/wxGTK:2.8[X] + gps? ( >=sci-geosciences/gpsd-2.96-r1 ) +" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/OpenCPN-${PV}" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use gps GPSD) + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + ) + + cmake-utils_src_configure +} + +src_install() { + if use doc; then + dohtml -r "${S}"/../${PN}/doc/* + fi + cmake-utils_src_install +} + +pkg_postinst() { + if use doc; then + einfo "Documentation is available at file:///usr/share/doc/${P}/html/help_en_US.html" + fi +} -- cgit v1.2.3-65-gdbad