[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/71: gnu: gwenview: Update to 23.08.5 and fix build.
From: |
guix-commits |
Subject: |
45/71: gnu: gwenview: Update to 23.08.5 and fix build. |
Date: |
Sun, 31 Mar 2024 21:57:31 -0400 (EDT) |
apteryx pushed a commit to branch qt-team
in repository guix.
commit 991a428dc86d0ef53a31a368b728185f602b7ce3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 29 12:56:57 2024 -0400
gnu: gwenview: Update to 23.08.5 and fix build.
* gnu/packages/kde.scm (gwenview): Update to 23.08.5.
[source]: Apply gwenview-kimageannotator patch.
[inputs]: Remove qtimageformats; add qtimageformats-5.
* gnu/packages/patches/gwenview-kimageannotator.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: If73bc38772adef9f43d74f0f9061dfb2600aa502
---
gnu/local.mk | 1 +
gnu/packages/kde.scm | 7 +++---
.../patches/gwenview-kimageannotator.patch | 29 ++++++++++++++++++++++
3 files changed, 34 insertions(+), 3 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 0db5615c1f..e8dd684ca0 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1438,6 +1438,7 @@ dist_patch_DATA =
\
%D%/packages/patches/gtk4-respect-GUIX_GTK4_PATH.patch \
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
%D%/packages/patches/gtksourceview-2-add-default-directory.patch \
+ %D%/packages/patches/gwenview-kimageannotator.patch \
%D%/packages/patches/gzdoom-search-in-installed-share.patch \
%D%/packages/patches/gzdoom-find-system-libgme.patch \
%D%/packages/patches/hdf4-reproducibility.patch \
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index a62a23617e..38992150c7 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -233,14 +233,15 @@ browser for easy news reading.")
(define-public gwenview
(package
(name "gwenview")
- (version "23.04.3")
+ (version "23.08.5")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version
"/src/gwenview-" version ".tar.xz"))
(sha256
- (base32 "0vijsq4174p4asdjq47bzdp2xkfn8hpg7b4dgp3yvapfxwjgp148"))))
+ (base32 "0f4h2vf8nkz1jcrxw98n52divvdmxh434659m1pd4l5pag0d3z54"))
+ (patches (search-patches "gwenview-kimageannotator.patch"))))
(build-system qt-build-system)
(arguments
(list #:phases
@@ -281,7 +282,7 @@ browser for easy news reading.")
libtiff
phonon
purpose
- qtimageformats
+ qtimageformats-5
qtsvg-5
qtwayland-5
qtx11extras
diff --git a/gnu/packages/patches/gwenview-kimageannotator.patch
b/gnu/packages/patches/gwenview-kimageannotator.patch
new file mode 100644
index 0000000000..92b994a0b5
--- /dev/null
+++ b/gnu/packages/patches/gwenview-kimageannotator.patch
@@ -0,0 +1,29 @@
+Submitted By: Douglas R. Reno <renodr at linuxfromscratch dot org>
+Date: 2024-02-26
+Initial Package Version: 23.08.5
+Upstream Status: Rejected (Qt6 port is primary now)
+Origin: Self
+Description: Fixes building Gwenview with recent kImageAnnotator
+ and kColorPicker versions by adjusting their paths
+ and FOUND variables so that the correct libraries are
+ selected.
+
+--- gwenview-23.08.5.orig/CMakeLists.txt 2024-02-26 15:02:29.702754535
-0600
++++ gwenview-23.08.5/CMakeLists.txt 2024-02-26 15:09:48.012866877 -0600
+@@ -166,11 +166,11 @@ if(NOT WITHOUT_X11)
+ endif()
+
+ if (QT_MAJOR_VERSION STREQUAL "5")
+- find_package(kImageAnnotator)
+- set_package_properties(kImageAnnotator PROPERTIES URL
"https://github.com/ksnip/kImageAnnotator" DESCRIPTION "The kImageAnnotator
library provides tools to annotate" TYPE REQUIRED)
+- if(kImageAnnotator_FOUND)
+- set(KIMAGEANNOTATOR_FOUND 1)
+- find_package(kColorPicker REQUIRED)
++ find_package(kImageAnnotator-Qt5)
++ set_package_properties(kImageAnnotator-Qt5 PROPERTIES URL
"https://github.com/ksnip/kImageAnnotator" DESCRIPTION "The kImageAnnotator
library provides tools to annotate" TYPE REQUIRED)
++ if(kImageAnnotator-Qt5_FOUND)
++ set(kImageAnnotator_FOUND 1)
++ find_package(kColorPicker-Qt5 REQUIRED)
+ if(NOT kImageAnnotator_VERSION VERSION_LESS 0.5.0)
+ set(KIMAGEANNOTATOR_CAN_LOAD_TRANSLATIONS 1)
+ endif()
- 13/71: gnu: qttools: Update to 6.6.2., (continued)
- 13/71: gnu: qttools: Update to 6.6.2., guix-commits, 2024/03/31
- 18/71: gnu: qtwebengine: Update to 6.6.2., guix-commits, 2024/03/31
- 08/71: gnu: qtmultimedia: Update to 6.6.2., guix-commits, 2024/03/31
- 10/71: gnu: qtwebchannel: Update to 6.6.2., guix-commits, 2024/03/31
- 19/71: gnu: python-shiboken-6: Update to 6.6.2., guix-commits, 2024/03/31
- 24/71: gnu: qt-creator: Update to 12.0.2., guix-commits, 2024/03/31
- 30/71: gnu: pjproject-jami: Update to 2.13.1-1.e12ea3b., guix-commits, 2024/03/31
- 31/71: gnu: dhtnet: Update to 0.0.1-2.024c46f., guix-commits, 2024/03/31
- 34/71: gnu: Add qmsetup., guix-commits, 2024/03/31
- 42/71: gnu: python-pyqt-6: Update to 6.6.1., guix-commits, 2024/03/31
- 45/71: gnu: gwenview: Update to 23.08.5 and fix build.,
guix-commits <=
- 46/71: gnu: extra-cmake-modules: Update to 6.0.0., guix-commits, 2024/03/31
- 49/71: gnu: sobjectizer: Update to 5.8.2., guix-commits, 2024/03/31
- 52/71: gnu: qtsvg: Update to 6.6.3., guix-commits, 2024/03/31
- 53/71: gnu: qtimageformats: Update to 6.6.3., guix-commits, 2024/03/31
- 54/71: gnu: qtdeclarative: Update to 6.6.3., guix-commits, 2024/03/31
- 55/71: gnu: qtwebsockets: Update to 6.6.3., guix-commits, 2024/03/31
- 62/71: gnu: qtlottie: Update to 6.6.3., guix-commits, 2024/03/31
- 63/71: gnu: qttools: Update to 6.6.3., guix-commits, 2024/03/31
- 35/71: gnu: Add qwindowkit., guix-commits, 2024/03/31
- 40/71: gnu: kpackage: Disable plasma-query test., guix-commits, 2024/03/31