* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/files/, sci-visualization/labplot/
@ 2016-11-06 18:11 David Seifert
0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2016-11-06 18:11 UTC (permalink / raw
To: gentoo-commits
commit: 2e8f7a0efa6739921197dd79c98c322d4a23f8a9
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Nov 6 00:31:53 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 6 18:11:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e8f7a0e
sci-visualization/labplot: Add first kf5-based release
Gentoo-bug: 578532
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2756
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-visualization/labplot/Manifest | 1 +
.../labplot/files/labplot-2.3.0-deps.patch | 49 ++++++++++++++
.../labplot/files/labplot-2.3.0-desktop.patch | 24 +++++++
.../labplot/files/labplot-2.3.0-options.patch | 77 ++++++++++++++++++++++
sci-visualization/labplot/labplot-2.3.0.ebuild | 77 ++++++++++++++++++++++
5 files changed, 228 insertions(+)
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index 7399f70..203e458 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1 +1,2 @@
DIST labplot-2.0.2.tar.xz 2696384 SHA256 f52e00006e2ce87aeda5bf15b950155e5db71cde4b0e1fb0819b6e71aaf6dee0 SHA512 6fb78f7f36dfd961690e4062646401fde86054323ffbf1d90986ae686201ad9f1bd5f2e6a914545f10d085355c490d63399ce92197770d7fb0cfccc91e24421b WHIRLPOOL 677f40ffb5cf151a160148da25cc364a6de62cfa5829bf70d4486e072ed05b6831d3975d31fa2ad6ef7c698b4abb44bdfd86efd9d29d1670e0bd5e57f9c4314e
+DIST labplot-2.3.0-kf5.tar.xz 4531156 SHA256 a5a7d706de5f978430b359ada42f9227a2619f5fa9608d56af16c760b7626f33 SHA512 0f8053bfccbfb6756db14c2d35f69b18bc83395c15cc01cbe61e5877065ad587e1563e7f161dfbac7c75b8b30aa04ee112e0c1962b52544e33ca936bd17b1444 WHIRLPOOL febd50c0a36612a1f93d8190eb9907ede4c29513652cc1a99cfc196c464eb7a7d6bc8692e13a98a9ce31e963a15396385dd9d7b015fe65bd995e2b85e9a09f94
diff --git a/sci-visualization/labplot/files/labplot-2.3.0-deps.patch b/sci-visualization/labplot/files/labplot-2.3.0-deps.patch
new file mode 100644
index 00000000..dbedac7
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-2.3.0-deps.patch
@@ -0,0 +1,49 @@
+From 41c3e23837adb8df641024901d3aee9dea2ded9d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 6 Nov 2016 00:37:36 +0100
+Subject: [PATCH 1/2] Add missing dependencies
+
+REVIEW: 129344
+---
+ CMakeLists.txt | 25 +++++++++++++++++++++++--
+ 1 file changed, 23 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9dc90f7..4db135f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -4,8 +4,29 @@ cmake_minimum_required(VERSION 2.8.12)
+ find_package(ECM 1.3.0 REQUIRED NO_MODULE)
+ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
+
+-find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Svg Concurrent)
+-find_package(KF5 REQUIRED COMPONENTS I18n KDELibs4Support)
++find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS
++ Concurrent
++ Gui
++ PrintSupport
++ Svg
++ Widgets
++)
++find_package(KF5 REQUIRED COMPONENTS
++ Archive
++ Completion
++ Config
++ ConfigWidgets
++ CoreAddons
++ DocTools
++ I18n
++ IconThemes
++ KDELibs4Support
++ KIO
++ NewStuff
++ TextWidgets
++ WidgetsAddons
++ XmlGui
++)
+
+ include(FeatureSummary)
+ include(ECMInstallIcons)
+--
+2.7.3
+
diff --git a/sci-visualization/labplot/files/labplot-2.3.0-desktop.patch b/sci-visualization/labplot/files/labplot-2.3.0-desktop.patch
new file mode 100644
index 00000000..8722b17
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-2.3.0-desktop.patch
@@ -0,0 +1,24 @@
+commit a66226a538ae23f61eaf4b3c00efa8321504fe00
+Author: Wolfgang Bauer <wbauer@tmo.at>
+Date: Thu Jul 28 15:20:05 2016 +0200
+
+ Fix .desktop file's Exec line
+
+ The KF5 port uses QCommandLineParser which doesn't know the '-caption'
+ parameter.
+ The desktop file needs to use '-qwindowtitle' instead.
+
+ REVIEW: 128532
+
+diff --git a/src/labplot2.desktop b/src/labplot2.desktop
+index 38fe9bb..8ce836c 100755
+--- a/src/labplot2.desktop
++++ b/src/labplot2.desktop
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+ Type=Application
+-Exec=labplot2 -caption %c %i %f
++Exec=labplot2 -qwindowtitle %c %i %f
+ Icon=labplot2
+ Name=LabPlot2
+ Name[ast]=LabPlot2
diff --git a/sci-visualization/labplot/files/labplot-2.3.0-options.patch b/sci-visualization/labplot/files/labplot-2.3.0-options.patch
new file mode 100644
index 00000000..f4f9a4c
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-2.3.0-options.patch
@@ -0,0 +1,77 @@
+From 2756fff72169df6cd4eec3d9bf96e9673574c2d0 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 6 Nov 2016 01:00:13 +0100
+Subject: [PATCH 2/2] Make options optional
+
+REVIEW: 129344
+---
+ CMakeLists.txt | 30 ++++++++++++++++++------------
+ 1 file changed, 18 insertions(+), 12 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4db135f..8055bee 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -48,6 +48,11 @@ add_definitions(-fvisibility=default)
+ cmake_policy(SET CMP0002 OLD)
+ #cmake_policy(SET CMP0063 NEW)
+
++### Options ######################################
++option(ENABLE_CANTOR "Build with Cantor support" ON)
++option(ENABLE_FFTW "Build with FFTW support" ON)
++option(ENABLE_NETCDF "Build with NetCDF support" ON)
++
+ ### FFTW ######################################
+ FIND_LIBRARY(FFTW_LIBRARIES fftw3
+ PATHS
+@@ -58,12 +63,12 @@ FIND_PATH (FFTW_INCLUDE_DIR fftw3.h
+ /usr/include
+ /usr/local/include
+ )
+-IF (FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
++IF(ENABLE_FFTW AND FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
+ SET (FFTW_FOUND TRUE)
+-ELSE (FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
++ELSE()
+ SET (FFTW_FOUND FALSE)
+ SET (FFTW_LIBRARIES "")
+-ENDIF (FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
++ENDIF()
+
+ IF (FFTW_FOUND)
+ MESSAGE (STATUS "Found FFTW 3 Library: ${FFTW_INCLUDE_DIR} ${FFTW_LIBRARIES}")
+@@ -120,12 +125,12 @@ FIND_PATH (CANTOR_INCLUDE_DIR worksheetaccess.h
+ /usr/include/cantor
+ /usr/local/include/cantor
+ )
+-IF (CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
++IF(ENABLE_CANTOR AND CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
+ SET (CANTOR_LIBS_FOUND TRUE)
+-ELSE (CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
++ELSE()
+ SET (CANTOR_LIBS_FOUND FALSE)
+ SET (CANTOR_LIBS "")
+-ENDIF (CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
++ENDIF()
+ IF (CANTOR_LIBS_FOUND)
+ MESSAGE (STATUS "Found CantorLibs ${CANTOR_INCLUDE_DIR} ${CANTOR_LIBS}")
+ add_definitions (-DHAVE_CANTOR_LIBS)
+@@ -150,12 +155,12 @@ FIND_PATH (NETCDF_INCLUDE_DIR netcdf.h
+ /usr/include/
+ /usr/local/include/
+ )
+-IF (NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
++IF(ENABLE_NETCDF AND NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
+ SET (NETCDF_FOUND TRUE)
+-ELSE (NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
++ELSE()
+ SET (NETCDF_FOUND FALSE)
+ SET (NETCDF_LIBRARY "")
+-ENDIF (NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
++ENDIF()
+ IF (NETCDF_FOUND)
+ MESSAGE (STATUS "Found Network Common Data Format (NetCDF) Library: ${NETCDF_INCLUDE_DIR} ${NETCDF_LIBRARY}")
+ add_definitions (-DHAVE_NETCDF)
+--
+2.7.3
+
diff --git a/sci-visualization/labplot/labplot-2.3.0.ebuild b/sci-visualization/labplot/labplot-2.3.0.ebuild
new file mode 100644
index 00000000..8835413
--- /dev/null
+++ b/sci-visualization/labplot/labplot-2.3.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_BRANCH="frameworks"
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
+HOMEPAGE="https://www.kde.org/applications/education/labplot/"
+[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}-kf5.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="cantor fftw hdf5 netcdf"
+
+[[ ${KDE_BUILD_TYPE} != live ]] && S="${WORKDIR}/${P}-kf5"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtconcurrent)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwidgets)
+ >=sci-libs/gsl-1.15:=
+ cantor? ( $(add_kdeapps_dep cantor) )
+ fftw? ( sci-libs/fftw:3.0= )
+ hdf5? ( sci-libs/hdf5:= )
+ netcdf? ( sci-libs/netcdf:= )
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+ x11-misc/shared-mime-info
+"
+RDEPEND="${COMMON_DEPEND}
+ !sci-visualization/labplot:4
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-deps.patch"
+ "${FILESDIR}/${P}-options.patch"
+ "${FILESDIR}/${P}-desktop.patch"
+)
+
+src_prepare() {
+ if ! use handbook && [[ ${KDE_BUILD_TYPE} != live ]]; then
+ cmake_comment_add_subdirectory doc-translations
+ fi
+
+ kde5_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_CANTOR=$(usex cantor)
+ -DENABLE_FFTW=$(usex fftw)
+ $(cmake-utils_use_find_package hdf5 HDF5)
+ -DENABLE_NETCDF=$(usex netcdf)
+ )
+
+ kde5_src_configure
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/files/, sci-visualization/labplot/
@ 2017-04-08 17:59 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2017-04-08 17:59 UTC (permalink / raw
To: gentoo-commits
commit: 458eacdfdd01178605c3b711daa2e1a9638f5363
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 8 17:57:51 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 17:59:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458eacdf
sci-visualization/labplot: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-visualization/labplot/Manifest | 1 -
.../labplot/files/labplot-2.3.0-deps.patch | 49 --------------
.../labplot/files/labplot-2.3.0-desktop.patch | 24 -------
.../labplot/files/labplot-2.3.0-options.patch | 77 ----------------------
sci-visualization/labplot/labplot-2.3.0.ebuild | 76 ---------------------
5 files changed, 227 deletions(-)
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index a2b212d933c..4d44278f530 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1,2 +1 @@
-DIST labplot-2.3.0-kf5.tar.xz 4531156 SHA256 a5a7d706de5f978430b359ada42f9227a2619f5fa9608d56af16c760b7626f33 SHA512 0f8053bfccbfb6756db14c2d35f69b18bc83395c15cc01cbe61e5877065ad587e1563e7f161dfbac7c75b8b30aa04ee112e0c1962b52544e33ca936bd17b1444 WHIRLPOOL febd50c0a36612a1f93d8190eb9907ede4c29513652cc1a99cfc196c464eb7a7d6bc8692e13a98a9ce31e963a15396385dd9d7b015fe65bd995e2b85e9a09f94
DIST labplot-2.4.0-kf5.tar.xz 6038072 SHA256 86198247ff0d274c85607cdb07a0c4ef19149e4f4bf6c9d2e6e8249134e26bb2 SHA512 5d29dd7d63d484359e73c8d82d8dbc25a069e1f33829cf75c2a2009ebae2027353ecf578b51806b5f35ae17ec472f5cbfdb4caed2637dc1ecc9229d33033d21b WHIRLPOOL 8d5af85ae52bbe1526d00888c1a18922a0f27c3dbf4ff992736e6672008ca61f54f8df93a1c0185bf4fcdcebe4543e58aa7260eafaf40ba8abf87b39ab84bad4
diff --git a/sci-visualization/labplot/files/labplot-2.3.0-deps.patch b/sci-visualization/labplot/files/labplot-2.3.0-deps.patch
deleted file mode 100644
index dbedac7f5be..00000000000
--- a/sci-visualization/labplot/files/labplot-2.3.0-deps.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 41c3e23837adb8df641024901d3aee9dea2ded9d Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sun, 6 Nov 2016 00:37:36 +0100
-Subject: [PATCH 1/2] Add missing dependencies
-
-REVIEW: 129344
----
- CMakeLists.txt | 25 +++++++++++++++++++++++--
- 1 file changed, 23 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9dc90f7..4db135f 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -4,8 +4,29 @@ cmake_minimum_required(VERSION 2.8.12)
- find_package(ECM 1.3.0 REQUIRED NO_MODULE)
- set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
-
--find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Widgets Svg Concurrent)
--find_package(KF5 REQUIRED COMPONENTS I18n KDELibs4Support)
-+find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS
-+ Concurrent
-+ Gui
-+ PrintSupport
-+ Svg
-+ Widgets
-+)
-+find_package(KF5 REQUIRED COMPONENTS
-+ Archive
-+ Completion
-+ Config
-+ ConfigWidgets
-+ CoreAddons
-+ DocTools
-+ I18n
-+ IconThemes
-+ KDELibs4Support
-+ KIO
-+ NewStuff
-+ TextWidgets
-+ WidgetsAddons
-+ XmlGui
-+)
-
- include(FeatureSummary)
- include(ECMInstallIcons)
---
-2.7.3
-
diff --git a/sci-visualization/labplot/files/labplot-2.3.0-desktop.patch b/sci-visualization/labplot/files/labplot-2.3.0-desktop.patch
deleted file mode 100644
index 8722b171446..00000000000
--- a/sci-visualization/labplot/files/labplot-2.3.0-desktop.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-commit a66226a538ae23f61eaf4b3c00efa8321504fe00
-Author: Wolfgang Bauer <wbauer@tmo.at>
-Date: Thu Jul 28 15:20:05 2016 +0200
-
- Fix .desktop file's Exec line
-
- The KF5 port uses QCommandLineParser which doesn't know the '-caption'
- parameter.
- The desktop file needs to use '-qwindowtitle' instead.
-
- REVIEW: 128532
-
-diff --git a/src/labplot2.desktop b/src/labplot2.desktop
-index 38fe9bb..8ce836c 100755
---- a/src/labplot2.desktop
-+++ b/src/labplot2.desktop
-@@ -1,6 +1,6 @@
- [Desktop Entry]
- Type=Application
--Exec=labplot2 -caption %c %i %f
-+Exec=labplot2 -qwindowtitle %c %i %f
- Icon=labplot2
- Name=LabPlot2
- Name[ast]=LabPlot2
diff --git a/sci-visualization/labplot/files/labplot-2.3.0-options.patch b/sci-visualization/labplot/files/labplot-2.3.0-options.patch
deleted file mode 100644
index f4f9a4c9d2d..00000000000
--- a/sci-visualization/labplot/files/labplot-2.3.0-options.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 2756fff72169df6cd4eec3d9bf96e9673574c2d0 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Sun, 6 Nov 2016 01:00:13 +0100
-Subject: [PATCH 2/2] Make options optional
-
-REVIEW: 129344
----
- CMakeLists.txt | 30 ++++++++++++++++++------------
- 1 file changed, 18 insertions(+), 12 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4db135f..8055bee 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -48,6 +48,11 @@ add_definitions(-fvisibility=default)
- cmake_policy(SET CMP0002 OLD)
- #cmake_policy(SET CMP0063 NEW)
-
-+### Options ######################################
-+option(ENABLE_CANTOR "Build with Cantor support" ON)
-+option(ENABLE_FFTW "Build with FFTW support" ON)
-+option(ENABLE_NETCDF "Build with NetCDF support" ON)
-+
- ### FFTW ######################################
- FIND_LIBRARY(FFTW_LIBRARIES fftw3
- PATHS
-@@ -58,12 +63,12 @@ FIND_PATH (FFTW_INCLUDE_DIR fftw3.h
- /usr/include
- /usr/local/include
- )
--IF (FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
-+IF(ENABLE_FFTW AND FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
- SET (FFTW_FOUND TRUE)
--ELSE (FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
-+ELSE()
- SET (FFTW_FOUND FALSE)
- SET (FFTW_LIBRARIES "")
--ENDIF (FFTW_LIBRARIES AND FFTW_INCLUDE_DIR)
-+ENDIF()
-
- IF (FFTW_FOUND)
- MESSAGE (STATUS "Found FFTW 3 Library: ${FFTW_INCLUDE_DIR} ${FFTW_LIBRARIES}")
-@@ -120,12 +125,12 @@ FIND_PATH (CANTOR_INCLUDE_DIR worksheetaccess.h
- /usr/include/cantor
- /usr/local/include/cantor
- )
--IF (CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
-+IF(ENABLE_CANTOR AND CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
- SET (CANTOR_LIBS_FOUND TRUE)
--ELSE (CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
-+ELSE()
- SET (CANTOR_LIBS_FOUND FALSE)
- SET (CANTOR_LIBS "")
--ENDIF (CANTOR_LIBS AND CANTOR_INCLUDE_DIR)
-+ENDIF()
- IF (CANTOR_LIBS_FOUND)
- MESSAGE (STATUS "Found CantorLibs ${CANTOR_INCLUDE_DIR} ${CANTOR_LIBS}")
- add_definitions (-DHAVE_CANTOR_LIBS)
-@@ -150,12 +155,12 @@ FIND_PATH (NETCDF_INCLUDE_DIR netcdf.h
- /usr/include/
- /usr/local/include/
- )
--IF (NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
-+IF(ENABLE_NETCDF AND NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
- SET (NETCDF_FOUND TRUE)
--ELSE (NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
-+ELSE()
- SET (NETCDF_FOUND FALSE)
- SET (NETCDF_LIBRARY "")
--ENDIF (NETCDF_LIBRARY AND NETCDF_INCLUDE_DIR)
-+ENDIF()
- IF (NETCDF_FOUND)
- MESSAGE (STATUS "Found Network Common Data Format (NetCDF) Library: ${NETCDF_INCLUDE_DIR} ${NETCDF_LIBRARY}")
- add_definitions (-DHAVE_NETCDF)
---
-2.7.3
-
diff --git a/sci-visualization/labplot/labplot-2.3.0.ebuild b/sci-visualization/labplot/labplot-2.3.0.ebuild
deleted file mode 100644
index 341d559b90a..00000000000
--- a/sci-visualization/labplot/labplot-2.3.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGIT_BRANCH="frameworks"
-KDE_HANDBOOK="forceoptional"
-inherit kde5
-
-DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/education/labplot/"
-[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}-kf5.tar.xz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-IUSE="cantor fftw hdf5 netcdf"
-
-[[ ${KDE_BUILD_TYPE} != live ]] && S="${WORKDIR}/${P}-kf5"
-
-COMMON_DEPEND="
- $(add_frameworks_dep karchive)
- $(add_frameworks_dep kcompletion)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdelibs4support)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep knewstuff)
- $(add_frameworks_dep ktextwidgets)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kxmlgui)
- $(add_qt_dep qtconcurrent)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtprintsupport)
- $(add_qt_dep qtsvg)
- $(add_qt_dep qtwidgets)
- >=sci-libs/gsl-1.15:=
- cantor? ( $(add_kdeapps_dep cantor) )
- fftw? ( sci-libs/fftw:3.0= )
- hdf5? ( sci-libs/hdf5:= )
- netcdf? ( sci-libs/netcdf:= )
-"
-DEPEND="${COMMON_DEPEND}
- sys-devel/gettext
- x11-misc/shared-mime-info
-"
-RDEPEND="${COMMON_DEPEND}
- !sci-visualization/labplot:4
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-deps.patch"
- "${FILESDIR}/${P}-options.patch"
- "${FILESDIR}/${P}-desktop.patch"
-)
-
-src_prepare() {
- if ! use handbook && [[ ${KDE_BUILD_TYPE} != live ]]; then
- cmake_comment_add_subdirectory doc-translations
- fi
-
- kde5_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_CANTOR=$(usex cantor)
- -DENABLE_FFTW=$(usex fftw)
- $(cmake-utils_use_find_package hdf5 HDF5)
- -DENABLE_NETCDF=$(usex netcdf)
- )
-
- kde5_src_configure
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/files/, sci-visualization/labplot/
@ 2023-04-18 18:22 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2023-04-18 18:22 UTC (permalink / raw
To: gentoo-commits
commit: 4596df2ad4038c41ed2cc9bec6019207a65b55dc
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 18:17:20 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 18:22:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4596df2a
sci-visualization/labplot: Fix build with >=app-text/discount-3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../labplot/files/labplot-2.9.0-discount-3.patch | 98 ++++++++++++++++++++++
sci-visualization/labplot/labplot-2.9.0-r1.ebuild | 2 +
2 files changed, 100 insertions(+)
diff --git a/sci-visualization/labplot/files/labplot-2.9.0-discount-3.patch b/sci-visualization/labplot/files/labplot-2.9.0-discount-3.patch
new file mode 100644
index 000000000000..e59c1309888d
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-2.9.0-discount-3.patch
@@ -0,0 +1,98 @@
+From 06837a859c3cc03b175241d84575f747c2a0a779 Mon Sep 17 00:00:00 2001
+From: Stefan Gerlach <stefan.gerlach@uni-konstanz.de>
+Date: Mon, 17 Apr 2023 23:15:19 +0200
+Subject: [PATCH] support discount version 3
+
+cherry-picked (and merged) commits from git master:
+80340872e0fd3780065b847000882cd2c6faaf09
+22c553af43ff2afc42a32f8b9f04c6b426f49300
+---
+ CMakeLists.txt | 4 ++++
+ cmake/FindDiscount.cmake | 9 ++++++++-
+ src/backend/worksheet/TextLabel.cpp | 17 +++++++++++++++--
+ 3 files changed, 27 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ed478d024..2e28a1aff 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -493,6 +493,10 @@ IF (ENABLE_DISCOUNT)
+ TYPE OPTIONAL)
+ IF (Discount_FOUND)
+ add_definitions (-DHAVE_DISCOUNT)
++ MESSAGE (STATUS "Found Markdown Library Discount ${Discount_VERSION}")
++ IF (${Discount_VERSION} VERSION_GREATER "2.99")
++ add_definitions (-DHAVE_DISCOUNT3)
++ ENDIF ()
+ ELSE ()
+ MESSAGE (STATUS "Discount library NOT FOUND.")
+ ENDIF ()
+diff --git a/cmake/FindDiscount.cmake b/cmake/FindDiscount.cmake
+index 4919ad6e1..9dd348649 100644
+--- a/cmake/FindDiscount.cmake
++++ b/cmake/FindDiscount.cmake
+@@ -10,6 +10,11 @@
+ # SPDX-FileCopyrightText: 2018 Sune Vuorela <sune@kde.org>
+ # SPDX-License-Identifier: BSD-3-Clause
+
++find_package(PkgConfig QUIET)
++pkg_check_modules(PC_LIBMARKDOWN libmarkdown QUIET)
++
++set(Discount_VERSION ${PC_LIBMARKDOWN_VERSION})
++
+ if (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
+
+ # Already in cache
+@@ -19,10 +24,12 @@ else (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
+
+ find_library (Discount_LIBRARIES
+ NAMES markdown libmarkdown
++ HINTS ${PC_LIBMARKDOWN_LIBRARY_DIRS}
+ )
+
+ find_path (Discount_INCLUDE_DIR
+ NAMES mkdio.h
++ HINTS ${PC_LIBMARKDOWN_INCLUDE_DIRS}
+ )
+
+ include (FindPackageHandleStandardArgs)
+@@ -30,7 +37,7 @@ else (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
+
+ endif (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
+
+-mark_as_advanced(Discount_INCLUDE_DIR Discount_LIBRARIES)
++mark_as_advanced(Discount_INCLUDE_DIR Discount_LIBRARIES Discount_VERSION)
+
+ if (Discount_FOUND)
+ add_library(Discount::Lib UNKNOWN IMPORTED)
+diff --git a/src/backend/worksheet/TextLabel.cpp b/src/backend/worksheet/TextLabel.cpp
+index 815dcb785..1c85c0e9e 100644
+--- a/src/backend/worksheet/TextLabel.cpp
++++ b/src/backend/worksheet/TextLabel.cpp
+@@ -576,8 +576,21 @@ void TextLabelPrivate::updateText() {
+ case TextLabel::Mode::Markdown: {
+ #ifdef HAVE_DISCOUNT
+ auto mdCharArray = textWrapper.text.toUtf8();
+- MMIOT* mdHandle = mkd_string(mdCharArray.data(), mdCharArray.size()+1, 0);
+- if(!mkd_compile(mdHandle, MKD_LATEX | MKD_FENCEDCODE | MKD_GITHUBTAGS)) {
++#ifdef HAVE_DISCOUNT3
++ MMIOT* mdHandle = mkd_string(mdCharArray.data(), mdCharArray.size() + 1, nullptr);
++
++ mkd_flag_t* v3flags = mkd_flags();
++ mkd_set_flag_num(v3flags, MKD_LATEX);
++ mkd_set_flag_num(v3flags, MKD_FENCEDCODE);
++ mkd_set_flag_num(v3flags, MKD_GITHUBTAGS);
++
++ if (!mkd_compile(mdHandle, v3flags)) {
++#else
++ MMIOT* mdHandle = mkd_string(mdCharArray.data(), mdCharArray.size() + 1, 0);
++
++ unsigned int flags = MKD_LATEX | MKD_FENCEDCODE | MKD_GITHUBTAGS;
++ if (!mkd_compile(mdHandle, flags)) {
++#endif
+ DEBUG(Q_FUNC_INFO << ", Failed to compile the markdown document");
+ mkd_cleanup(mdHandle);
+ return;
+--
+2.40.0
+
diff --git a/sci-visualization/labplot/labplot-2.9.0-r1.ebuild b/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
index c45f80b7f620..30d2be63d7c4 100644
--- a/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
+++ b/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
@@ -72,6 +72,8 @@ BDEPEND="
sys-devel/gettext
"
+PATCHES=( "${FILESDIR}/${P}-discount-3.patch" )
+
src_configure() {
local mycmakeargs=(
-DENABLE_MQTT=OFF # not packaged
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/files/, sci-visualization/labplot/
@ 2024-07-13 14:25 Andreas Sturmlechner
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2024-07-13 14:25 UTC (permalink / raw
To: gentoo-commits
commit: ba96c67b4b65ef8054350cead2c4394474e4df2f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 14:17:43 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 14:24:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba96c67b
sci-visualization/labplot: drop 2.9.0-r1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-visualization/labplot/Manifest | 1 -
.../labplot/files/labplot-2.9.0-discount-3.patch | 98 ----------------------
sci-visualization/labplot/labplot-2.9.0-r1.ebuild | 97 ---------------------
3 files changed, 196 deletions(-)
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index dce5e0b4765d..6f951d4a3987 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1,2 +1 @@
DIST labplot-2.10.1.tar.xz 23193988 BLAKE2B dbea843dcf0761eb40d9a386f8df13b45a889bf41ff1a40434b521f591fb2c776de4c474f553776f43ad3ee85224e919521efdabd853f8d0cc1c0c9ad32a4df8 SHA512 12c8b62519861255dd8cb4ecc3ad4ff34f1862b8e386a9aa97e4f3a2dd0b8989cf14b9dafcea41da2575bd57c0ef9803a15ac9347365cdeea6309dcfda4cd7da
-DIST labplot-2.9.0.tar.xz 21413512 BLAKE2B ab3c579eb64ee4b9b558db63210b1d2210210e1ee2df7fd986d75ebbacab96c4cd05a8fc4698859373e011bd47c55a1abc73d0e8107dd3e3f1b60ce87e1f14d4 SHA512 d06e373e463d9cf3df81eec367167350572975366785b6c88bdab947288fbc21a9eb8e706cb1a831967b8bf0a8039f2f919e14ae7cfb40b21e66f862e38c5d45
diff --git a/sci-visualization/labplot/files/labplot-2.9.0-discount-3.patch b/sci-visualization/labplot/files/labplot-2.9.0-discount-3.patch
deleted file mode 100644
index e59c1309888d..000000000000
--- a/sci-visualization/labplot/files/labplot-2.9.0-discount-3.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-From 06837a859c3cc03b175241d84575f747c2a0a779 Mon Sep 17 00:00:00 2001
-From: Stefan Gerlach <stefan.gerlach@uni-konstanz.de>
-Date: Mon, 17 Apr 2023 23:15:19 +0200
-Subject: [PATCH] support discount version 3
-
-cherry-picked (and merged) commits from git master:
-80340872e0fd3780065b847000882cd2c6faaf09
-22c553af43ff2afc42a32f8b9f04c6b426f49300
----
- CMakeLists.txt | 4 ++++
- cmake/FindDiscount.cmake | 9 ++++++++-
- src/backend/worksheet/TextLabel.cpp | 17 +++++++++++++++--
- 3 files changed, 27 insertions(+), 3 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ed478d024..2e28a1aff 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -493,6 +493,10 @@ IF (ENABLE_DISCOUNT)
- TYPE OPTIONAL)
- IF (Discount_FOUND)
- add_definitions (-DHAVE_DISCOUNT)
-+ MESSAGE (STATUS "Found Markdown Library Discount ${Discount_VERSION}")
-+ IF (${Discount_VERSION} VERSION_GREATER "2.99")
-+ add_definitions (-DHAVE_DISCOUNT3)
-+ ENDIF ()
- ELSE ()
- MESSAGE (STATUS "Discount library NOT FOUND.")
- ENDIF ()
-diff --git a/cmake/FindDiscount.cmake b/cmake/FindDiscount.cmake
-index 4919ad6e1..9dd348649 100644
---- a/cmake/FindDiscount.cmake
-+++ b/cmake/FindDiscount.cmake
-@@ -10,6 +10,11 @@
- # SPDX-FileCopyrightText: 2018 Sune Vuorela <sune@kde.org>
- # SPDX-License-Identifier: BSD-3-Clause
-
-+find_package(PkgConfig QUIET)
-+pkg_check_modules(PC_LIBMARKDOWN libmarkdown QUIET)
-+
-+set(Discount_VERSION ${PC_LIBMARKDOWN_VERSION})
-+
- if (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
-
- # Already in cache
-@@ -19,10 +24,12 @@ else (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
-
- find_library (Discount_LIBRARIES
- NAMES markdown libmarkdown
-+ HINTS ${PC_LIBMARKDOWN_LIBRARY_DIRS}
- )
-
- find_path (Discount_INCLUDE_DIR
- NAMES mkdio.h
-+ HINTS ${PC_LIBMARKDOWN_INCLUDE_DIRS}
- )
-
- include (FindPackageHandleStandardArgs)
-@@ -30,7 +37,7 @@ else (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
-
- endif (Discount_INCLUDE_DIR AND Discount_LIBRARIES)
-
--mark_as_advanced(Discount_INCLUDE_DIR Discount_LIBRARIES)
-+mark_as_advanced(Discount_INCLUDE_DIR Discount_LIBRARIES Discount_VERSION)
-
- if (Discount_FOUND)
- add_library(Discount::Lib UNKNOWN IMPORTED)
-diff --git a/src/backend/worksheet/TextLabel.cpp b/src/backend/worksheet/TextLabel.cpp
-index 815dcb785..1c85c0e9e 100644
---- a/src/backend/worksheet/TextLabel.cpp
-+++ b/src/backend/worksheet/TextLabel.cpp
-@@ -576,8 +576,21 @@ void TextLabelPrivate::updateText() {
- case TextLabel::Mode::Markdown: {
- #ifdef HAVE_DISCOUNT
- auto mdCharArray = textWrapper.text.toUtf8();
-- MMIOT* mdHandle = mkd_string(mdCharArray.data(), mdCharArray.size()+1, 0);
-- if(!mkd_compile(mdHandle, MKD_LATEX | MKD_FENCEDCODE | MKD_GITHUBTAGS)) {
-+#ifdef HAVE_DISCOUNT3
-+ MMIOT* mdHandle = mkd_string(mdCharArray.data(), mdCharArray.size() + 1, nullptr);
-+
-+ mkd_flag_t* v3flags = mkd_flags();
-+ mkd_set_flag_num(v3flags, MKD_LATEX);
-+ mkd_set_flag_num(v3flags, MKD_FENCEDCODE);
-+ mkd_set_flag_num(v3flags, MKD_GITHUBTAGS);
-+
-+ if (!mkd_compile(mdHandle, v3flags)) {
-+#else
-+ MMIOT* mdHandle = mkd_string(mdCharArray.data(), mdCharArray.size() + 1, 0);
-+
-+ unsigned int flags = MKD_LATEX | MKD_FENCEDCODE | MKD_GITHUBTAGS;
-+ if (!mkd_compile(mdHandle, flags)) {
-+#endif
- DEBUG(Q_FUNC_INFO << ", Failed to compile the markdown document");
- mkd_cleanup(mdHandle);
- return;
---
-2.40.0
-
diff --git a/sci-visualization/labplot/labplot-2.9.0-r1.ebuild b/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
deleted file mode 100644
index 0b0ac52a1aad..000000000000
--- a/sci-visualization/labplot/labplot-2.9.0-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="forceoptional"
-ECM_TEST="forceoptional"
-KFMIN=5.88.0
-QTMIN=5.15.2
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="Scientific data analysis and visualisation based on KDE Frameworks"
-HOMEPAGE="https://labplot.kde.org/ https://apps.kde.org/labplot2/"
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="5"
-IUSE="cantor fftw fits hdf5 libcerf markdown matio netcdf origin root serial telemetry"
-
-DEPEND="
- app-text/poppler
- >=dev-qt/qtconcurrent-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtprintsupport-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=kde-frameworks/karchive-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/syntax-highlighting-${KFMIN}:5
- >=sci-libs/gsl-1.15:=
- cantor? (
- >=kde-apps/cantor-19.12.0:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- )
- fftw? ( sci-libs/fftw:3.0= )
- fits? ( sci-libs/cfitsio:= )
- hdf5? ( sci-libs/hdf5:= )
- libcerf? ( sci-libs/libcerf )
- markdown? ( app-text/discount:= )
- matio? ( sci-libs/matio:= )
- netcdf? ( sci-libs/netcdf:= )
- origin? ( sci-libs/liborigin:2 )
- root? (
- app-arch/lz4
- sys-libs/zlib
- )
- serial? ( >=dev-qt/qtserialport-${QTMIN}:5 )
- telemetry? ( kde-frameworks/kuserfeedback:5 )
-"
-RDEPEND="${DEPEND}"
-# not packaged: dev-qt/qtmqtt, bug 683994
-BDEPEND="
- app-alternatives/yacc
- sys-devel/gettext
-"
-
-PATCHES=( "${FILESDIR}/${P}-discount-3.patch" )
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_MQTT=OFF # not packaged
- -DENABLE_READSTAT=OFF # not packaged
- -DENABLE_CANTOR=$(usex cantor)
- -DENABLE_FFTW=$(usex fftw)
- -DENABLE_FITS=$(usex fits)
- -DENABLE_HDF5=$(usex hdf5)
- -DENABLE_LIBCERF=$(usex libcerf)
- -DENABLE_DISCOUNT=$(usex markdown)
- -DENABLE_MATIO=$(usex matio)
- -DENABLE_NETCDF=$(usex netcdf)
- -DENABLE_LIBORIGIN=$(usex origin)
- -DENABLE_ROOT=$(usex root)
- -DENABLE_QTSERIALPORT=$(usex serial)
- $(cmake_use_find_package telemetry KUserFeedback)
- -DENABLE_TESTS=$(usex test)
- )
-
- ecm_src_configure
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-13 14:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 18:22 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/labplot/files/, sci-visualization/labplot/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2024-07-13 14:25 Andreas Sturmlechner
2017-04-08 17:59 Andreas Sturmlechner
2016-11-06 18:11 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox