GNU bug report logs - #78243
[PATCH] gnu: kio-extras: Fix kiod path.

Previous Next

Package: guix-patches;

Reported by: Sughosha <sughosha <at> disroot.org>

Date: Sun, 4 May 2025 14:34:02 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sughosha <sughosha <at> disroot.org>
Subject: bug#78243: closed (Re: [bug#78243] [PATCH] gnu: kio-extras: Fix
 kiod path.)
Date: Thu, 08 May 2025 07:01:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78243: [PATCH] gnu: kio-extras: Fix kiod path.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78243 <at> debbugs.gnu.org.

-- 
78243: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78243
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Z572 <z572 <at> z572.online>
To: Sughosha via Guix-patches via <guix-patches <at> gnu.org>
Cc: Sughosha <sughosha <at> disroot.org>, 78243-done <at> debbugs.gnu.org
Subject: Re: [bug#78243] [PATCH] gnu: kio-extras: Fix kiod path.
Date: Thu, 08 May 2025 15:00:26 +0800
[Message part 3 (text/plain, inline)]
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/kde.scm (kio-extras)[arguments]Realign.
> <#:phases>: Add fix-kiod-path phase.
>
> Change-Id: I64463443ab3fb7fbd6939f007c9433d751dbd12e
> ---
>  gnu/packages/kde.scm | 28 +++++++++++++++++++++-------
>  1 file changed, 21 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
> index cf9b0a5298f..9eece538710 100644
> --- a/gnu/packages/kde.scm
> +++ b/gnu/packages/kde.scm
> @@ -753,13 +753,27 @@ (define-public kio-extras
>                  "0h720wcgsdx9h5vlr4flxrd3djmhwvlwkrf0yzwsf4amcb9wds8r"))))
>      (build-system cmake-build-system)
>      (arguments
> -     (list #:phases #~(modify-phases %standard-phases
> -                        (replace 'check
> -                          (lambda* (#:key tests? #:allow-other-keys)
> -                            (when tests?
> -                              (setenv "HOME" (getcwd))
> -                              (setenv "TMPDIR" (getcwd))
> -                              (invoke "ctest" "-E" "(thumbnailtest|testkioarchive)")))))))
> +     (list #:phases
> +           #~(modify-phases %standard-phases
> +               (replace 'check
> +                 (lambda* (#:key tests? #:allow-other-keys)
> +                   (when tests?
> +                   (setenv "HOME" (getcwd))
> +                   (setenv "TMPDIR" (getcwd))
> +                   (invoke "ctest" "-E"
> +                           "(thumbnailtest|testkioarchive)"))))
> +               (add-after 'install 'fix-kiod-path
> +                 (lambda* (#:key outputs #:allow-other-keys)
> +                   (let* ((kio #$(this-package-input "kio"))
> +                          (kf-version
> +                           #$(version-major
> +                              (package-version (this-package-input "kio")))))
> +                     (substitute* (string-append #$output
> +                                                 "/share/dbus-1/services/"
> +                                                 "org.kde.kmtpd5.service")
> +                       (("Exec=.*$")
> +                        (string-append "Exec=" kio "/libexec/kf" kf-version
> +                                       "/kiod" kf-version "\n")))))))))
>      (native-inputs (list extra-cmake-modules dbus kdoctools pkg-config qttools))
>      ;; TODO: libappimage
>      (inputs (list gperf
>
> base-commit: cea6eedfcea2defa526bc58d4fb2085cc8c0cb36
pushed, closing.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Sughosha <sughosha <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH] gnu: kio-extras: Fix kiod path.
Date: Sun,  4 May 2025 20:02:52 +0530
* gnu/packages/kde.scm (kio-extras)[arguments]Realign.
<#:phases>: Add fix-kiod-path phase.

Change-Id: I64463443ab3fb7fbd6939f007c9433d751dbd12e
---
 gnu/packages/kde.scm | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index cf9b0a5298f..9eece538710 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -753,13 +753,27 @@ (define-public kio-extras
                 "0h720wcgsdx9h5vlr4flxrd3djmhwvlwkrf0yzwsf4amcb9wds8r"))))
     (build-system cmake-build-system)
     (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        (replace 'check
-                          (lambda* (#:key tests? #:allow-other-keys)
-                            (when tests?
-                              (setenv "HOME" (getcwd))
-                              (setenv "TMPDIR" (getcwd))
-                              (invoke "ctest" "-E" "(thumbnailtest|testkioarchive)")))))))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                   (setenv "HOME" (getcwd))
+                   (setenv "TMPDIR" (getcwd))
+                   (invoke "ctest" "-E"
+                           "(thumbnailtest|testkioarchive)"))))
+               (add-after 'install 'fix-kiod-path
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (let* ((kio #$(this-package-input "kio"))
+                          (kf-version
+                           #$(version-major
+                              (package-version (this-package-input "kio")))))
+                     (substitute* (string-append #$output
+                                                 "/share/dbus-1/services/"
+                                                 "org.kde.kmtpd5.service")
+                       (("Exec=.*$")
+                        (string-append "Exec=" kio "/libexec/kf" kf-version
+                                       "/kiod" kf-version "\n")))))))))
     (native-inputs (list extra-cmake-modules dbus kdoctools pkg-config qttools))
     ;; TODO: libappimage
     (inputs (list gperf

base-commit: cea6eedfcea2defa526bc58d4fb2085cc8c0cb36
-- 
2.48.1




This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.