aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-06 22:04:28 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:19 +0800
commited72b36492e7fc7e364e4f0134f574bce8469505 (patch)
treecc85f393b2d31f56966debe79f4cb34c5e9b82da
parent34119b59dbf60a2d8e5c5798f08759dcd1f41889 (diff)
downloadguix-ed72b36492e7fc7e364e4f0134f574bce8469505.tar.gz
guix-ed72b36492e7fc7e364e4f0134f574bce8469505.zip
gnu: kdiagram: Update to 3.0.1.
* gnu/packages/kde.scm (kdiagram): Update to 3.0.1. [inputs]: Remove qtbase-5 and qtsvg-5; add qtsvg. [native-inputs]: Remove qttools-5; add qttools. [arguments]: Set #:qtbase to qtbase. * gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch: Adjust it. Change-Id: Ieedf4412bfa4b432161b95f9fd62d5849ec96cff
-rw-r--r--gnu/packages/kde.scm9
-rw-r--r--gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch4
2 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 275901444c..8c4ec6ee70 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -524,21 +524,22 @@ for some KDevelop language plugins (Ruby, PHP, CSS...).")
(define-public kdiagram
(package
(name "kdiagram")
- (version "2.8.0")
+ (version "3.0.1")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/kdiagram/" version
"/kdiagram-" version ".tar.xz"))
(sha256
- (base32 "07s3kwv0mqvb64x8nz4w1yb3hbk28yzkw4qg1jibai7as4xsv7ap"))
+ (base32 "0vcw339v6nl1haznp58spimanfhw143cindbym1q3ccxrp1b0na6"))
(patches (search-patches
"kdiagram-Fix-missing-link-libraries.patch"))))
(build-system qt-build-system)
(native-inputs
- (list extra-cmake-modules qttools-5))
+ (list extra-cmake-modules qttools))
(inputs
- (list qtbase-5 qtsvg-5))
+ (list qtsvg))
+ (arguments (list #:qtbase qtbase))
(home-page "https://invent.kde.org/graphics/kdiagram")
(synopsis "Libraries for creating business diagrams")
(description "This package provides libraries for integrating business
diff --git a/gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch b/gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch
index cdfb608d9b..11116fe51a 100644
--- a/gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch
+++ b/gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch
@@ -16,8 +16,8 @@ index be2a6fc..b13befb 100644
@@ -1,3 +1,3 @@
add_executable(BarsSimple main.cpp)
--target_link_libraries(BarsSimple KChart Qt5::Widgets)
-+target_link_libraries(BarsSimple KChart Qt5::Widgets Qt5::Svg)
+-target_link_libraries(BarsSimple KChart6 Qt::Widgets)
++target_link_libraries(BarsSimple KChart6 Qt::Widgets Qt::Svg)
--
2.21.1