summaryrefslogtreecommitdiff
path: root/sci-visualization
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-22 18:58:00 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-22 18:58:00 +0000
commit0de35feac9a2319015ad913e05a104ec4bc12ac2 (patch)
tree532c711a381390c3f60d18637577a7bd7316d461 /sci-visualization
parentaa60ccb7c9d247fc8f12cfb61f2e2a4a18da8e40 (diff)
downloadbaldeagleos-repo-0de35feac9a2319015ad913e05a104ec4bc12ac2.tar.gz
baldeagleos-repo-0de35feac9a2319015ad913e05a104ec4bc12ac2.tar.xz
baldeagleos-repo-0de35feac9a2319015ad913e05a104ec4bc12ac2.zip
Adding metadata
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gle/Manifest3
-rw-r--r--sci-visualization/gle/gle-4.3.7.ebuild101
-rw-r--r--sci-visualization/zhu3d/Manifest1
-rw-r--r--sci-visualization/zhu3d/files/zhu3d-4.2.6-qt5.patch205
-rw-r--r--sci-visualization/zhu3d/metadata.xml18
-rw-r--r--sci-visualization/zhu3d/zhu3d-4.2.6-r1.ebuild80
6 files changed, 104 insertions, 304 deletions
diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
index 3af9ccec9795..1e5862c6f220 100644
--- a/sci-visualization/gle/Manifest
+++ b/sci-visualization/gle/Manifest
@@ -1,4 +1,7 @@
DIST gle-4.3.6.tar.gz 1808371 BLAKE2B 98cada36d0c142c054ff12d207b5fdaa381b57af0aee241552e792e7b1328b6a5d90c70a6d84ea3dad5808cd14ccfa5d3c434186e7d6ac3d4be353313401c8fb SHA512 033dffe19a348f9d69ab3f0af5d185b72f9837d4c9369d2b5d64f4981851c46042ef35d98a41c8e10808d4a1d278263edd8e4efb2195ca6f6459f3941aa7384e
+DIST gle-4.3.7.tar.gz 1810016 BLAKE2B 76ce8502c7050ac3de724b7a45448f5e78f9e1d8ce44cd707e4d05871d81a4420de1a40108989d6c372c2f9a848755a703e78d170001152f7cc84d81603be36d SHA512 0d9567dde326e8ddf31dbdacf1f0f68c4c42d44a40869ab5c88e6692a6a16760278f037cbced11205660d2ba0099b282b63e99a92f2e250359fa56df48b52ecf
DIST gle-library-4.3.6.tar.gz 1639461 BLAKE2B a87dfe84a298272bae2d03b251052c66a453bfe086ca82b23a9de513ef056ea0d3d2a85abba10a77151a3f03db726702e656a0b8f40dc61c923246c62f038888 SHA512 cb6461cb7bcad4ddac21591c2a258c0f3f96e22e2f09ec2458488a325d7a97ffc93d59bedd3b405a98a93b5934d720313f344972515a98de22452e7535a6920a
+DIST gle-library-4.3.7.tar.gz 1643914 BLAKE2B 00bc562132dd95fa00bbf8222b70151d8687b10b12e1d3486a7dca2dc0830120181004f5f0c95f595e23e8db2079dbdac2eb0af8e4bcb7ab898f47a18a607994 SHA512 78e4223d587f032f59c093fcb74e935cb8dece52747f4ec5523a95c7a7ee092c94555a8899226daae8d81071b295cef099e20a33c7075dffdab9cf369d9c4212
DIST gle-manual-4.3.6.tar.gz 364976 BLAKE2B 20dbcb918ff55c24590afeff6d6f4aa84db020e0b6f09f840d4cab24f5418c34317d3e1868c86d161850643148a2fe387c07cfa32f2d3460943a4e85f7b61082 SHA512 afdb972a18ccbf54fe50eb0d39ec67fc1775ae4ba9aadb73a4f5c25ed5ceaca36c0addf2a398bb621b8a015d140cf46f4e3799b26141e346b48a0d4445f1dd02
+DIST gle-manual-4.3.7.tar.gz 365047 BLAKE2B 0997efa35927ceb2cf58efd04d5ec5968ae7b8571ae33233386d37f62117984a61d0eb9458cf909e88864863bbb6ca0a005b6ebb36424e2a3f09ba4c2a9dc652 SHA512 dcf61e49482439db083d0f30530dc3924095d8f0c2f91ae693f2dac7073110509cc508034823115493458b8c9d8375919c6b09554a33cecbdae85e423265e13e
DIST gle-mode.el.gz 7359 BLAKE2B bcbc61651f87f3ee1d079fc0a0de38788523a5ee33f56087b89f4e15b9ef5ee4010cf47679c38da3dfae1954ddbfee4728d10c0af6530f645ff63ab2b219da09 SHA512 c8d291c23f53346d8a44b7d95d737da88c6ec0af597fb8298a564a5567a9e9a0db658d14c3cb43157d58614e65cf2293eaeb01528a7a49722a2da07e16f940e1
diff --git a/sci-visualization/gle/gle-4.3.7.ebuild b/sci-visualization/gle/gle-4.3.7.ebuild
new file mode 100644
index 000000000000..975f8b76880f
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.7.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE=Release
+inherit cmake elisp-common flag-o-matic
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="https://glx.sourceforge.io/ https://github.com/vlabella/GLE/"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/vlabella/gle-library/archive/refs/tags/v${PV}.tar.gz -> ${PN}-library-${PV}.tar.gz
+ doc? ( https://github.com/vlabella/gle-manual/archive/refs/tags/v${PV}.tar.gz -> ${PN}-manual-${PV}.tar.gz )
+ emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+LICENSE="BSD gui? ( GPL-2+ )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc emacs gui manip"
+
+DEPEND="app-text/ghostscript-gpl
+ app-text/poppler
+ dev-libs/boost
+ media-libs/libjpeg-turbo
+ media-libs/libpng
+ media-libs/tiff
+ sys-libs/zlib
+ x11-libs/cairo
+ x11-libs/pixman
+ gui? (
+ media-libs/freeglut
+ media-libs/glu
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ )
+ manip? ( sys-libs/ncurses:0 )
+ emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+ virtual/latex-base"
+BDEPEND="kde-frameworks/extra-cmake-modules
+ doc? ( virtual/latex-base )"
+
+PATCHES=(
+ "${FILESDIR}"/cmake-cmp0177.patch
+ "${FILESDIR}"/install-dirs.patch
+ "${FILESDIR}"/top_dir.patch
+ "${FILESDIR}"/zstd-shared.patch
+)
+SITEFILE="64${PN}-gentoo.el"
+
+src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/927779
+ # https://github.com/vlabella/GLE/issues/35
+ filter-lto
+
+ local mycmakeargs=(
+ -DGLEDOC=share/doc/${PF}
+ -DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${PV}
+ -DBUILD_GUI=$(usex gui)
+ -DBUILD_MANIP=$(usex manip)
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use emacs && elisp-compile "${WORKDIR}"/*.el
+
+ # I don't really understand why is this hack needed
+ sed -e 's/|+//' -i "${BUILD_DIR}"/gle/cmake_install.cmake
+}
+
+src_install() {
+ export GLE_TOP="${D}"/usr/share/gle
+ cmake_src_install
+ #GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
+ if use doc; then
+ pushd "$WORKDIR"/gle-manual-${PV} > /dev/null || die "pushd gle_manual failed"
+ export PATH="${D}"/usr/bin:${PATH}
+ make -f Makefile.gcc GLE="${D}"/usr/bin/gle
+ dodoc gle-manual.pdf
+ popd > /dev/null
+ fi
+ if use emacs; then
+ elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-visualization/zhu3d/Manifest b/sci-visualization/zhu3d/Manifest
deleted file mode 100644
index 219446e875ed..000000000000
--- a/sci-visualization/zhu3d/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST zhu3d-4.2.6.tar.gz 953395 BLAKE2B 0ef7fdb18718266fdbee56f202a67f637088519ed1a3e7bd00b085acff630af6b56df25d7e8485879fbd478f57294c2c9feb6a1396a10c9ce6d4f437b824c74c SHA512 105c68e0bfff7b2dbb71d3ed713033e82a729db7d3d8f6e3de038ced53db0829e0b0b146e6b042d954983af830c6834921be58d72bde90012461047d5d99dfd1
diff --git a/sci-visualization/zhu3d/files/zhu3d-4.2.6-qt5.patch b/sci-visualization/zhu3d/files/zhu3d-4.2.6-qt5.patch
deleted file mode 100644
index e1d956c8c079..000000000000
--- a/sci-visualization/zhu3d/files/zhu3d-4.2.6-qt5.patch
+++ /dev/null
@@ -1,205 +0,0 @@
-From 4557d1111c030d9fa4449500b5624024abe9fc8a Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Tue, 9 Jan 2018 01:01:01 +0100
-Subject: [PATCH 1/2] Initial port to Qt5
-
----
- src/legedit.cpp | 14 +++++++-------
- src/mainwindow.cpp | 2 +-
- src/property.cpp | 4 ++--
- src/usredit.cpp | 2 +-
- zhu3d.pro | 3 +--
- 5 files changed, 12 insertions(+), 13 deletions(-)
-
-diff --git a/src/legedit.cpp b/src/legedit.cpp
-index b0f5b28..9ce44b0 100644
---- a/src/legedit.cpp
-+++ b/src/legedit.cpp
-@@ -89,13 +89,13 @@ void legWidget::createAxesTable() {
- axesTable->setColumnCount(7);
-
- axesTable->setHorizontalHeaderLabels(columnLabels);
-- axesTable->horizontalHeader()->setResizeMode(0, QHeaderView::Interactive);
-- axesTable->horizontalHeader()->setResizeMode(1, QHeaderView::Interactive);
-- axesTable->horizontalHeader()->setResizeMode(2, QHeaderView::Fixed);
-- axesTable->horizontalHeader()->setResizeMode(3, QHeaderView::Fixed);
-- axesTable->horizontalHeader()->setResizeMode(4, QHeaderView::Fixed);
-- axesTable->horizontalHeader()->setResizeMode(5, QHeaderView::Fixed);
-- axesTable->horizontalHeader()->setResizeMode(6, QHeaderView::Fixed);
-+ axesTable->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Interactive);
-+ axesTable->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Interactive);
-+ axesTable->horizontalHeader()->setSectionResizeMode(2, QHeaderView::Fixed);
-+ axesTable->horizontalHeader()->setSectionResizeMode(3, QHeaderView::Fixed);
-+ axesTable->horizontalHeader()->setSectionResizeMode(4, QHeaderView::Fixed);
-+ axesTable->horizontalHeader()->setSectionResizeMode(5, QHeaderView::Fixed);
-+ axesTable->horizontalHeader()->setSectionResizeMode(6, QHeaderView::Fixed);
- axesTable->verticalHeader()->show();
- axesTable->setShowGrid(true);
-
-diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
-index 970f1bf..48d23af 100644
---- a/src/mainwindow.cpp
-+++ b/src/mainwindow.cpp
-@@ -1804,7 +1804,7 @@ void MaiWindow::benchmarkSlot() {
- QMessageBox::information(
- this,
- tr("Benchmark"),
-- result.toAscii().data()
-+ result.toLatin1().data()
- );
-
- /** Restore and perform updates */
-diff --git a/src/property.cpp b/src/property.cpp
-index eff4442..99216d7 100644
---- a/src/property.cpp
-+++ b/src/property.cpp
-@@ -138,11 +138,11 @@ void iniITL() {
- ** Copy a QString to a plain old character-string
- ****************************************************************************/
- void q2cstrcpy(char *str, const QString qstr) {
-- strcpy(str, qstr.toAscii().data());
-+ strcpy(str, qstr.toLatin1().data());
- }
-
- char *q2cstrcpy(const QString qstr) {
-- return qstr.toAscii().data();
-+ return qstr.toLatin1().data();
- }
-
-
-diff --git a/src/usredit.cpp b/src/usredit.cpp
-index 18b58d5..6088906 100644
---- a/src/usredit.cpp
-+++ b/src/usredit.cpp
-@@ -128,7 +128,7 @@ void usrWidget::createUsrTable() {
- QStringList columnLabel(tr("Item"));
-
- usrTable->setHorizontalHeaderLabels(columnLabel);
-- usrTable->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
-+ usrTable->horizontalHeader()->setSectionResizeMode(0, QHeaderView::Stretch);
- usrTable->verticalHeader()->show();
- usrTable->setShowGrid(true);
-
-diff --git a/zhu3d.pro b/zhu3d.pro
-index efa3d53..cae8b78 100644
---- a/zhu3d.pro
-+++ b/zhu3d.pro
-@@ -47,8 +47,7 @@
- TEMPLATE = app
- CONFIG += release
- TARGET = zhu3d
--QT += opengl
--
-+QT += opengl printsupport widgets
-
- # ============================================================================
- # Workaround for Qt4-4.8.4 and missing reference to 'gluPerspective'
---
-2.15.1
-
-
-From fac5c787ef8e82d92c75c91554508211e1320418 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
-Date: Tue, 9 Jan 2018 01:20:55 +0100
-Subject: [PATCH 2/2] Drop PostScript option, unsupported by Qt5PrintSupport
-
----
- src/glwidget.cpp | 35 -----------------------------------
- src/picedit.cpp | 6 ------
- src/ui/picedit.ui | 10 ----------
- 3 files changed, 51 deletions(-)
-
-diff --git a/src/glwidget.cpp b/src/glwidget.cpp
-index 1719ec0..6343f1e 100644
---- a/src/glwidget.cpp
-+++ b/src/glwidget.cpp
-@@ -910,41 +910,6 @@ void OGLWidget::savePic() {
- QApplication::restoreOverrideCursor();
- break;
- }
--
-- case PS: {
-- fileName=QFileDialog::getSaveFileName(
-- this,
-- tr("Save as *.ps"),
-- workDir,
-- "Images (*.ps)");
--
-- if(fileName.isEmpty())
-- return;
--
-- /** Complete filename */
-- if(!fileName.toUpper().endsWith(".PS"))
-- fileName+=".ps";
--
-- /** Set up printer */
-- QApplication::setOverrideCursor(Qt::WaitCursor);
-- QPrinter printer(QPrinter::HighResolution);
-- printer.setOutputFormat(QPrinter::PostScriptFormat);
-- printer.setResolution(pic.dpi);
-- printer.setOutputFileName(fileName); // Enables toFile automatically
-- printer.setFullPage(true);
--
-- /** "Print" over painter */
-- QImage image=pixmap.toImage();
-- QPainter painter(&printer);
-- QRect rect=painter.viewport();
-- QSize size=image.size();
-- size.scale(rect.size(), Qt::KeepAspectRatio);
-- painter.setViewport(0, 0, size.width(), size.height());
-- painter.setWindow(image.rect());
-- painter.drawImage(0, 0, image);
-- QApplication::restoreOverrideCursor();
-- break;
-- }
- }
- }
-
-diff --git a/src/picedit.cpp b/src/picedit.cpp
-index 149c9d3..74383a7 100644
---- a/src/picedit.cpp
-+++ b/src/picedit.cpp
-@@ -49,7 +49,6 @@ picWidget::picWidget(QWidget *parent) : QWidget(parent) {
- connect(pngFmt, SIGNAL(clicked()), this, SLOT(pngSlot()));
- connect(jpgFmt, SIGNAL(clicked()), this, SLOT(jpgSlot()));
- connect(pdfFmt, SIGNAL(clicked()), this, SLOT(pdfSlot()));
-- connect(psFmt, SIGNAL(clicked()), this, SLOT(psSlot()));
- }
-
-
-@@ -71,11 +70,6 @@ void picWidget::switchBox() {
- qual->setEnabled(false);
- dpi->setEnabled(false);
- break;
-- case PS:
-- psFmt->setChecked(true);
-- qual->setEnabled(false);
-- dpi->setEnabled(true);
-- break;
- }
- }
-
-diff --git a/src/ui/picedit.ui b/src/ui/picedit.ui
-index 12e6148..9a498f2 100644
---- a/src/ui/picedit.ui
-+++ b/src/ui/picedit.ui
-@@ -263,16 +263,6 @@
- </property>
- </widget>
- </item>
-- <item>
-- <widget class="QRadioButton" name="psFmt" >
-- <property name="toolTip" >
-- <string>PostScript</string>
-- </property>
-- <property name="text" >
-- <string>PS</string>
-- </property>
-- </widget>
-- </item>
- </layout>
- </item>
- <item row="0" column="0" >
---
-2.15.1
-
diff --git a/sci-visualization/zhu3d/metadata.xml b/sci-visualization/zhu3d/metadata.xml
deleted file mode 100644
index 259cdfa3f961..000000000000
--- a/sci-visualization/zhu3d/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-mathematics@gentoo.org</email>
- <name>Gentoo Mathematics Project</name>
- </maintainer>
- <longdescription lang="en">
- Zhu3D allows you to interactively view and animate mathematical
- functions, isosurfaces and a further independent parametric system.
- Numerical solutions of equation systems are found with an adaptive
- random search. The OpenGL-viewer supports zooming, scaling, rotating
- and translating as well as filed lightning or surface properties.
- Special effects are transparency, textures, fog and motion blur.
- </longdescription>
-
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sci-visualization/zhu3d/zhu3d-4.2.6-r1.ebuild b/sci-visualization/zhu3d/zhu3d-4.2.6-r1.ebuild
deleted file mode 100644
index 1cf05a9c8f83..000000000000
--- a/sci-visualization/zhu3d/zhu3d-4.2.6-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop qmake-utils
-
-DESCRIPTION="Interactive 3D mathematical function viewer"
-HOMEPAGE="https://sourceforge.net/projects/zhu3d"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-LANGS=(cs de es fr zh)
-IUSE="${LANGS[@]/#/l10n_}"
-
-DEPEND="
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtopengl:5
- dev-qt/qtprintsupport:5
- dev-qt/qtwidgets:5
- virtual/glu
- virtual/opengl
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${P}-qt5.patch )
-
-src_prepare() {
- default
-
- local datadir=/usr/share/${PN}
- sed \
- -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \
- -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \
- -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \
- -e "s:^DOCDIR=:DOCDIR=/usr/share/doc/${PF}/html:" \
- -i ${PN}.pri || die "sed zhu3d.pri failed"
-
- sed \
- -e "/# Optimisation/,/# Include/d" \
- -i ${PN}.pro || die "optimisation sed failed"
-
- eqmake5 zhu3d.pro
-}
-
-src_install() {
- # not working: emake install INSTALL_ROOT="${D}"
- dobin zhu3d
-
- dodoc readme.txt src/changelog.txt
-
- docinto html
- dodoc doc/*.png doc/${PN}_en.html
-
- local lang
- insinto /usr/share/${PN}/system/languages
- for lang in "${LANGS[@]}" ; do
- if use l10n_${lang} ; then
- doins system/languages/${PN}_${lang}.qm
- [[ -e doc/${PN}_${lang}.html ]] && dodoc doc/${PN}_${lang}.html
- fi
- done
-
- insinto /usr/share/${PN}
- doins -r work/textures
-
- insinto /usr/share/${PN}/work
- doins -r work/*.zhu work/slideshow
-
- insinto /usr/share/${PN}/system
- doins -r system/*.zhu system/icons
-
- doicon system/icons/${PN}.png
- make_desktop_entry ${PN} "Zhu3D Function Viewer" \
- ${PN} "Education;Science;Math;Qt"
-}