summaryrefslogtreecommitdiff
path: root/sci-visualization/labplot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-21 12:11:53 +0100
commit1fd1215c62ee14dc2e94fa04d6e3622391c9ab57 (patch)
tree909630a900b1ac6b180d8af2e2345a171417d59f /sci-visualization/labplot
parentd60aa36cd97fb2193f756b45820d7c073a49229d (diff)
gentoo auto-resync : 21:09:2024 - 12:11:53
Diffstat (limited to 'sci-visualization/labplot')
-rw-r--r--sci-visualization/labplot/Manifest3
-rw-r--r--sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch38
-rw-r--r--sci-visualization/labplot/labplot-2.11.1.ebuild2
3 files changed, 42 insertions, 1 deletions
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index 614fb9044663..221d097e2f31 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -1,4 +1,5 @@
+AUX labplot-2.11.1-ods-buildfix.patch 1410 BLAKE2B ff97af93ac85e4ceb71c5b7166618a765d0f527f0d6435af86c8d2d4688b3733898ca0031f73a9f33b2f91af9b103a20b224ccc6502502b92dea42cec3dfaa46 SHA512 6e0549b2d44146d56b13b73c0a27cb981be9bc23063f284fc709ff5009b65948ac020a43a439d22861ffc2ea3d2c156e23b4176a85c7aca761c6f6b340bf9765
DIST labplot-2.11.1.tar.xz 24180904 BLAKE2B c2b94db140ca47f648f2b7e82956a88fa36819aa666430d69b0c328d46a254e0fe9991d4ea61581c4c8da0f44694b2016471090a166e8beeb378f1e02eb6b2c7 SHA512 51a039c7eec5a2e104079b1dc7bfe1ecdc2c4e3327bcfbdc99e1b2fbae2b2be5db3a1a2c319e30d41a7cfcf177be756e8e3bb05d9a58c8418e43900dfad6b3b1
-EBUILD labplot-2.11.1.ebuild 3088 BLAKE2B b5064f21859f7b8675726f0e3ad0341f2e8aace1d55d3e3e678e7f500d519e395de86da2e933ffdec39753e388b7407b5972b4f9f3b35de4319963e7252e2678 SHA512 ef03c3af60d22613fdb8c3023ed51e25bd734edefa7ad3dbd9d20e1db3184b8fb19ff682e19d988d031c8261d25b229c308818a13504de0ca0dd0c934b7cc127
+EBUILD labplot-2.11.1.ebuild 3139 BLAKE2B c7b8b87c5fd47ca487bca962b7c0d87cbbdd80af95792702acd3e4ddd24b626ca62f2d4cb419a315f83215001bfa86e35963f7ba48eced32068a2aff63fc00a7 SHA512 8d68f11c98acc48f5426a6afbc1a5a95116f0efe6fd2a8a555df8f8ec6c81bad0ec2b2b63cb65cdf1c57291c620ddb5766e06f3aefaf44c93cf572fae6da4c45
EBUILD labplot-9999.ebuild 3088 BLAKE2B b5064f21859f7b8675726f0e3ad0341f2e8aace1d55d3e3e678e7f500d519e395de86da2e933ffdec39753e388b7407b5972b4f9f3b35de4319963e7252e2678 SHA512 ef03c3af60d22613fdb8c3023ed51e25bd734edefa7ad3dbd9d20e1db3184b8fb19ff682e19d988d031c8261d25b229c308818a13504de0ca0dd0c934b7cc127
MISC metadata.xml 1748 BLAKE2B e732eb74a1583b3fd213815f50ef4aa32fb74b23c4006983b1ad6aa9cf090a2236e3507a249b1be458e05ba879e2e7ace8a553e63508228aa9017f953af6dcb3 SHA512 7e6a11108d8a3910d10784dd427b8de4fbb5d553f2223c65e166753b05e5d529472b47c79070d65767dfa239c58f4e11617d0a99e2800a2f78607fb94866bcc0
diff --git a/sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch b/sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch
new file mode 100644
index 000000000000..affddeeaae5b
--- /dev/null
+++ b/sci-visualization/labplot/files/labplot-2.11.1-ods-buildfix.patch
@@ -0,0 +1,38 @@
+From 0edfd2862a8f953cdd06ffe4940e1da5b7b5dc17 Mon Sep 17 00:00:00 2001
+From: Alexander Semke <alexander.semke@web.de>
+Date: Mon, 15 Jul 2024 09:56:40 +0200
+Subject: [PATCH] Minor qt6 related fixes.
+
+---
+ src/kdefrontend/datasources/OdsOptionsWidget.cpp | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/kdefrontend/datasources/OdsOptionsWidget.cpp b/src/kdefrontend/datasources/OdsOptionsWidget.cpp
+index 6424032dd..c90943695 100644
+--- a/src/kdefrontend/datasources/OdsOptionsWidget.cpp
++++ b/src/kdefrontend/datasources/OdsOptionsWidget.cpp
+@@ -67,9 +67,9 @@ void OdsOptionsWidget::sheetSelectionChanged() {
+ }
+
+ if (selectedItems.size() > 1)
+- emit enableDataPortionSelection(false);
++ Q_EMIT enableDataPortionSelection(false);
+ else // one selected item
+- emit enableDataPortionSelection(true);
++ Q_EMIT enableDataPortionSelection(true);
+
+ auto* item = selectedItems.last();
+ auto* const filter = static_cast<OdsFilter*>(m_fileWidget->currentFileFilter());
+@@ -98,7 +98,8 @@ void OdsOptionsWidget::sheetSelectionChanged() {
+ const int maxColumns = 100;
+ for (int row = 0; row < rowCount; ++row) {
+ auto lineString = importedStrings.at(row);
+- colCount = std::min(maxColumns, lineString.size());
++ const int size = lineString.size();
++ colCount = std::min(maxColumns, size);
+ if (row == 0) {
+ ui.twPreview->setColumnCount(colCount);
+
+--
+GitLab
+
diff --git a/sci-visualization/labplot/labplot-2.11.1.ebuild b/sci-visualization/labplot/labplot-2.11.1.ebuild
index 4684a482542b..2c5e9dedfc90 100644
--- a/sci-visualization/labplot/labplot-2.11.1.ebuild
+++ b/sci-visualization/labplot/labplot-2.11.1.ebuild
@@ -76,6 +76,8 @@ BDEPEND="
sys-devel/gettext
"
+PATCHES=( "${FILESDIR}/${P}-ods-buildfix.patch" )
+
src_prepare() {
ecm_src_prepare