Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
labplot


Commits:
46fc00e4 by Antonio Rojas at 2025-11-07T13:49:25+01:00
upgpkg: 2.12.1-5: Fix build of eigen-dependent parts

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml
- + eigen-5.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = labplot
        pkgdesc = KDE Application for interactive graphing and analysis of 
scientific data
        pkgver = 2.12.1
-       pkgrel = 4
+       pkgrel = 5
        url = https://labplot.kde.org/
        arch = x86_64
        license = GPL-2.0-or-later
@@ -58,8 +58,10 @@ pkgbase = labplot
        source = https://download.kde.org/stable/labplot/labplot-2.12.1.tar.xz
        source = 
https://invent.kde.org/education/labplot/-/commit/ee17e765.patch
        source = 
https://invent.kde.org/education/labplot/-/commit/c2db2ec2.patch
+       source = eigen-5.patch
        sha256sums = 
e28155bfddf40e5b6f7c4791313556d1e48138044f216f210d515b9f6d6c106a
        sha256sums = 
547aa708ad7667c5c0392837cfd41cae7f8d98ae804e00b010a8cbcba0be7b41
        sha256sums = 
09082b162b3bbfcafa5fa5db51ddde4ba667749cb0d790524f4330f1140e7797
+       sha256sums = 
d7812bd271822833ae8772ca214be25735562efe7f7813ce0bb67b3123b0db45
 
 pkgname = labplot


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=labplot
 pkgver=2.12.1
-pkgrel=4
+pkgrel=5
 arch=(x86_64)
 pkgdesc='KDE Application for interactive graphing and analysis of scientific 
data'
 url='https://labplot.kde.org/'
@@ -59,14 +59,17 @@ makedepends=(boost
              knewstuff)
 source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz
         https://invent.kde.org/education/labplot/-/commit/ee17e765.patch
-        https://invent.kde.org/education/labplot/-/commit/c2db2ec2.patch)
+        https://invent.kde.org/education/labplot/-/commit/c2db2ec2.patch
+        eigen-5.patch)
 sha256sums=('e28155bfddf40e5b6f7c4791313556d1e48138044f216f210d515b9f6d6c106a'
             '547aa708ad7667c5c0392837cfd41cae7f8d98ae804e00b010a8cbcba0be7b41'
-            '09082b162b3bbfcafa5fa5db51ddde4ba667749cb0d790524f4330f1140e7797')
+            '09082b162b3bbfcafa5fa5db51ddde4ba667749cb0d790524f4330f1140e7797'
+            'd7812bd271822833ae8772ca214be25735562efe7f7813ce0bb67b3123b0db45')
 
 prepare() {
   patch -d $pkgname-$pkgver -p1 < ee17e765.patch # liborcus 0.21 support
   patch -d $pkgname-$pkgver -p1 < c2db2ec2.patch # fix build with Qt 6.10
+  patch -d $pkgname-$pkgver -p1 < eigen-5.patch # Fix build with eigen 5
 }
 
 build() {


=====================================
REUSE.toml
=====================================
@@ -17,6 +17,7 @@ path = [
     "*.timer",
     "*.desktop",
     "*.hook",
+    "eigen-5.patch",
 ]
 SPDX-FileCopyrightText = "Arch Linux contributors"
 SPDX-License-Identifier = "0BSD"


=====================================
eigen-5.patch
=====================================
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index dddbe1fa9..11df81324 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -722,10 +722,11 @@ endif()
+ ### Eigen (optional) #############################
+ if(ENABLE_EIGEN3)
+     find_package(Eigen3 QUIET)
+-    if(EIGEN3_FOUND)
+-          message(STATUS "Found Eigen3 library: ${EIGEN3_INCLUDE_DIR} 
(version \"${EIGEN3_VERSION_STRING}\")")
++    if(Eigen3_FOUND)
++        get_target_property(EIGEN3_INCLUDE_DIR Eigen3::Eigen 
INTERFACE_INCLUDE_DIRECTORIES)
++        message(STATUS "Found Eigen3 library: ${EIGEN3_INCLUDE_DIR} (version 
\"${Eigen3_VERSION}\")")
+         add_definitions(-DHAVE_EIGEN3)
+-      add_definitions(-DEIGEN3_VERSION_STRING=\"${EIGEN3_VERSION_STRING}\")
++      add_definitions(-DEIGEN3_VERSION_STRING=\"${Eigen3_VERSION}\")
+         include_directories(${EIGEN3_INCLUDE_DIR})
+     else()
+         message(STATUS "Eigen3 library NOT FOUND.")



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/labplot/-/commit/46fc00e4c4c9fd19f30d1e7473ad43f6d7815f6a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/labplot/-/commit/46fc00e4c4c9fd19f30d1e7473ad43f6d7815f6a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to