unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41169] gnu: xfe: Fix few more FHS directories.
@ 2020-05-10  8:58 Raghav Gururajan
       [not found] ` <handler.41169.B.158910117113521.ack@debbugs.gnu.org>
  2020-05-11  6:54 ` bug#41169: gnu: xfe: Fix few more FHS directories Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Raghav Gururajan @ 2020-05-10  8:58 UTC (permalink / raw)
  To: 41169


[-- Attachment #1.1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.1.2: 0001-gnu-xfe-Fix-few-more-FHS-directories.patch --]
[-- Type: text/x-patch, Size: 2107 bytes --]

From 585adef1a8f0fdf510bf0597b943eb8b610a0f76 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Sun, 10 May 2020 04:49:25 -0400
Subject: [PATCH] gnu: xfe: Fix few more FHS directories.

* gnu/packages/disk.scm (xfe): Fix /bin and /share paths in
st/config.h and src/xfedefs.h, respectively.
---
 gnu/packages/disk.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 0e35ef7de1..15f08773f8 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -990,7 +990,8 @@ since they are better handled by external tools.")
                     (file-prog (assoc-ref inputs "file")))
                (with-directory-excursion "src"
                  (substitute* '("FilePanel.cpp" "help.h" "SearchPanel.cpp"
-                                "startupnotification.cpp" "xfeutils.cpp")
+                                "startupnotification.cpp" "xfeutils.cpp"
+                                "../st/config.h")
                    (("/bin/sh" file) (string-append bash file))
                    (("/bin/ls" file) (string-append coreutils file))
                    (("/usr(/bin/du)" _ file) (string-append coreutils file))
@@ -1002,11 +1003,13 @@ since they are better handled by external tools.")
          (add-after 'unpack 'patch-share-dirs
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))
-                    (share (string-append out "/share")))
+                    (share (string-append out "/share"))
+                    (xfe (string-append share "/xfe")))
                (with-directory-excursion "src"
                  (substitute* '("foxhacks.cpp" "help.h" "xfedefs.h"
                                 "XFileExplorer.cpp")
-                   (("/(usr|opt)(/local)?/share") share)))
+                   (("/(usr|opt)(/local)?/share") share)
+                   (("~/.config/xfe") xfe)))
                #t))))))
     (native-inputs
      `(("intltool" ,intltool)
-- 
2.26.2


[-- Attachment #1.1.3: 0xAE6EF3046D6F7B57.asc --]
[-- Type: application/pgp-keys, Size: 2877 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#41169] Acknowledgement (gnu: xfe: Fix few more FHS directories.)
       [not found] ` <handler.41169.B.158910117113521.ack@debbugs.gnu.org>
@ 2020-05-11  5:40   ` Raghav Gururajan
  0 siblings, 0 replies; 4+ messages in thread
From: Raghav Gururajan @ 2020-05-11  5:40 UTC (permalink / raw)
  To: 41169; +Cc: mail


[-- Attachment #1.1.1: Type: text/plain, Size: 216 bytes --]

Hi Nicolas!

Regarding the previous xfe patch, it looks like there are couple more
things to be patched. I have generated this patch for that. Would you be
able to push it please?

Thank you!

Regards,
RG.

[-- Attachment #1.1.2: 0xAE6EF3046D6F7B57.asc --]
[-- Type: application/pgp-keys, Size: 2877 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#41169: gnu: xfe: Fix few more FHS directories.
  2020-05-10  8:58 [bug#41169] gnu: xfe: Fix few more FHS directories Raghav Gururajan
       [not found] ` <handler.41169.B.158910117113521.ack@debbugs.gnu.org>
@ 2020-05-11  6:54 ` Nicolas Goaziou
  2020-05-11  6:55   ` [bug#41169] " Raghav Gururajan
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2020-05-11  6:54 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 41169-done

Hello,

Raghav Gururajan <raghavgururajan@disroot.org> writes:

> From 585adef1a8f0fdf510bf0597b943eb8b610a0f76 Mon Sep 17 00:00:00 2001
> From: Raghav Gururajan <raghavgururajan@disroot.org>
> Date: Sun, 10 May 2020 04:49:25 -0400
> Subject: [PATCH] gnu: xfe: Fix few more FHS directories.

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#41169] gnu: xfe: Fix few more FHS directories.
  2020-05-11  6:54 ` bug#41169: gnu: xfe: Fix few more FHS directories Nicolas Goaziou
@ 2020-05-11  6:55   ` Raghav Gururajan
  0 siblings, 0 replies; 4+ messages in thread
From: Raghav Gururajan @ 2020-05-11  6:55 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 41169-done


[-- Attachment #1.1.1: Type: text/plain, Size: 76 bytes --]

Hi Nicolas!

> Applied. Thank you.

Thanks so much.

Regards,
RG.


[-- Attachment #1.1.2: 0xAE6EF3046D6F7B57.asc --]
[-- Type: application/pgp-keys, Size: 2877 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-11  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-10  8:58 [bug#41169] gnu: xfe: Fix few more FHS directories Raghav Gururajan
     [not found] ` <handler.41169.B.158910117113521.ack@debbugs.gnu.org>
2020-05-11  5:40   ` [bug#41169] Acknowledgement (gnu: xfe: Fix few more FHS directories.) Raghav Gururajan
2020-05-11  6:54 ` bug#41169: gnu: xfe: Fix few more FHS directories Nicolas Goaziou
2020-05-11  6:55   ` [bug#41169] " Raghav Gururajan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).