Subject: bug#30636: closed (Re: [bug#30636] [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 01 Mar 2018 13:00:03 +0000

Your bug report

#30636: [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.

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 [email-masked].

-- 
30636: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30636
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30636] [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.
From: [email-masked] (Ludovic Courtès)
To: Rene <[email-masked]>
Cc: [email-masked]
Date: Thu, 01 Mar 2018 13:59:52 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Rene <[email-masked]> skribis:

> a) When I run './pre-inst-env guix environment --ad-hoc nautilus -- gdb --args nautilus' I see:
>
> GNU gdb (GDB) 8.0.1
> Copyright (C) 2017 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-unknown-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> "/home/jin/guix/nautilus": not in executable format: File truncated
> (gdb) r
> Starting program:  
> No executable file specified.
> Use the "file" or "exec-file" command.
>
> Why can not find the executable?

Perhaps PATH does not include the profile’s bin/ directory, which in
turn could be due to an incorrect .bashrc as described in
<https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-environment.html#FOOT15>?

> b) What utility is required to use the code comments?
>      (--8<---------------cut here---------------start------------->8---)

Heheh, that’s ‘message-mode’ in Emacs (I use Gnus as my MUA).

> From 60e511e88035bb89fca74ab6d5a262834c98e485 Mon Sep 17 00:00:00 2001
> From: Rene <[email-masked]>
> Date: Wed, 28 Feb 2018 20:33:36 -0600
> Subject: [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.
>
> * gnu/packages/gnome.scm (nautilus): Update to 3.26.2.
> [build-system]: Use meson-build-system.
> [native-inputs]: Add desktop-file-utils and gtk+:bin.
> [inputs]: Add libselinux.

Applied, thanks!

Ludo’.

Subject: [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.
From: Rene <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Tue, 27 Feb 2018 16:23:21 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello team,
this a proposed patch to update nautilus to 3.26.2.

Thank you
Rene

From d485df9a712da9c3c3aafa08e05d8fccc78e8b18 Mon Sep 17 00:00:00 2001
From: Rene <[email-masked]>
Date: Tue, 27 Feb 2018 13:19:08 -0600
Subject: [PATCH] gnu: nautilus: Use meson-build-system, update to 3.26.2.

* gnu/packages/gnome.scm (nautilus): Update to 3.26.2.
[build-system]: Use meson-build-system.
[native-inputs]: Add desktop-file-utils and gtk+:bin.
[inputs]: Add libselinux.
---
 gnu/packages/gnome.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 43a348902..5de44fc57 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2015, 2016, 2017, 2018 Mark H Weaver <[email-masked]>
 ;;; Copyright © 2015 David Thompson <[email-masked]>
 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <[email-masked]>
-;;; Copyright © 2016, 2017 Rene Saavedra <[email-masked]>
+;;; Copyright © 2016, 2017, 2018 Rene Saavedra <[email-masked]>
 ;;; Copyright © 2016 Jochem Raat <[email-masked]>
 ;;; Copyright © 2016, 2017 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <[email-masked]>
@@ -5727,7 +5727,7 @@ shared object databases, search tools and indexing.")
 (define-public nautilus
   (package
     (name "nautilus")
-    (version "3.24.2.1")
+    (version "3.26.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/" name "/"
@@ -5735,16 +5735,16 @@ shared object databases, search tools and indexing.")
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "1cv138z04qx0fh1a2z2hvxy4p1x15vdv5gmkx5f3hb6c3w2rsz9m"))))
-    (build-system glib-or-gtk-build-system)
+                "1d0l4vgcjqj4671hb6s2a56baqlasbxn3wl6vfrpdsk5qq299jbr"))))
+    (build-system meson-build-system)
     (arguments
-     '(#:configure-flags
-       '("--disable-selinux") ; XXX: not packaged
-       ;; XXX: FAIL: check-nautilus
+     '(;; XXX: FAIL: check-nautilus
        ;;   Settings schema 'org.gnome.nautilus.preferences' is not installed
        #:tests? #f))
     (native-inputs
-     `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+     `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+       ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+       ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
        ("gobject-introspection" ,gobject-introspection)
        ("intltool" ,intltool)
        ("pkg-config" ,pkg-config)))
@@ -5754,6 +5754,7 @@ shared object databases, search tools and indexing.")
        ("exempi" ,exempi)
        ("gnome-desktop" ,gnome-desktop)
        ("gnome-autoar" ,gnome-autoar)
+       ("libselinux" ,libselinux)
        ("nettle" ,nettle)    ; XXX required by libarchive.pc via gnome-autoar
        ("tracker" ,tracker)
        ;; XXX: gtk+ is required by libnautilus-extension.pc
-- 
2.14.1