mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: gwenview: Update to 24.05.2.
* gnu/packages/kde.scm (gwenview): Update to 24.05.2. [inputs]: Remove kactivities, qtimageformats-5, qtsvg-5, qtwayland-5, and qtx11extras; add plasma-activities, ki18n, libxkbcommon, qtimageformats, qtsvg, and qtwayland. [source]: Remove patches. [arguments]: Set #:qtbase to qtbase. * gnu/packages/patches/gwenview-kimageannotator.patch: Remove it. * gnu/local.mk (dist_patch_DATA): Unregister it. Change-Id: I962edcb3d59542eaf9eccd97c1e08d34ae7ab35b
This commit is contained in:
parent
cb27fd498d
commit
6eee6b9e9f
3 changed files with 10 additions and 39 deletions
|
@ -1468,7 +1468,6 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/gtk4-respect-GUIX_GTK4_PATH.patch \
|
%D%/packages/patches/gtk4-respect-GUIX_GTK4_PATH.patch \
|
||||||
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
|
%D%/packages/patches/gtkglext-disable-disable-deprecated.patch \
|
||||||
%D%/packages/patches/gtksourceview-2-add-default-directory.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-search-in-installed-share.patch \
|
||||||
%D%/packages/patches/gzdoom-find-system-libgme.patch \
|
%D%/packages/patches/gzdoom-find-system-libgme.patch \
|
||||||
%D%/packages/patches/hdf4-reproducibility.patch \
|
%D%/packages/patches/hdf4-reproducibility.patch \
|
||||||
|
|
|
@ -261,18 +261,18 @@ (define-public akregator
|
||||||
(define-public gwenview
|
(define-public gwenview
|
||||||
(package
|
(package
|
||||||
(name "gwenview")
|
(name "gwenview")
|
||||||
(version "23.08.5")
|
(version "24.05.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://kde/stable/release-service/" version
|
(uri (string-append "mirror://kde/stable/release-service/" version
|
||||||
"/src/gwenview-" version ".tar.xz"))
|
"/src/gwenview-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0f4h2vf8nkz1jcrxw98n52divvdmxh434659m1pd4l5pag0d3z54"))
|
(base32 "0ybsra2c5dhagd8w81sccz3d9rfsj2mdnwrc4jcnkffjjk4ys09g"))))
|
||||||
(patches (search-patches "gwenview-kimageannotator.patch"))))
|
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases
|
(list #:qtbase qtbase
|
||||||
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
@ -294,9 +294,10 @@ (define-public gwenview
|
||||||
(list baloo
|
(list baloo
|
||||||
cfitsio
|
cfitsio
|
||||||
exiv2
|
exiv2
|
||||||
kactivities
|
plasma-activities
|
||||||
kcolorpicker
|
kcolorpicker
|
||||||
kguiaddons
|
kguiaddons
|
||||||
|
ki18n
|
||||||
kiconthemes
|
kiconthemes
|
||||||
kimageannotator
|
kimageannotator
|
||||||
kio
|
kio
|
||||||
|
@ -308,12 +309,12 @@ (define-public gwenview
|
||||||
libkdcraw
|
libkdcraw
|
||||||
libpng
|
libpng
|
||||||
libtiff
|
libtiff
|
||||||
|
libxkbcommon
|
||||||
phonon
|
phonon
|
||||||
purpose
|
purpose
|
||||||
qtimageformats-5
|
qtimageformats
|
||||||
qtsvg-5
|
qtsvg
|
||||||
qtwayland-5
|
qtwayland
|
||||||
qtx11extras
|
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
zlib))
|
zlib))
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
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()
|
|
Loading…
Reference in a new issue