GNU bug report logs - #59105
[PATCH] Add nemo and dependencies

Previous Next

Package: guix-patches;

Reported by: Florian <florhizome <at> posteo.net>

Date: Mon, 7 Nov 2022 14:54:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59105 in the body.
You can then email your comments to 59105 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59105; Package guix-patches. (Mon, 07 Nov 2022 14:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Florian <florhizome <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 07 Nov 2022 14:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Florian <florhizome <at> posteo.net>
To: guix-patches <at> gnu.org                
Subject: [PATCH] Add nemo and dependencies 
Date: Mon, 07 Nov 2022 14:53:18 +0000



Information forwarded to guix-patches <at> gnu.org:
bug#59105; Package guix-patches. (Sun, 13 Nov 2022 19:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 59105 <at> debbugs.gnu.org (full text, mbox):

From: florhizome <at> posteo.net
To: 59105 <at> debbugs.gnu.org
Cc: florhizome <florhizome <at> posteo.net>
Subject: [PATCH 2/3] gnu: Add xapp
Date: Sun, 13 Nov 2022 19:21:16 +0000
From: florhizome <florhizome <at> posteo.net>

* gnu/packages/cinnamon.scm (xapp): New variable.
---
 gnu/packages/cinnamon.scm | 60 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm
index 0087a41839..8af2075596 100644
--- a/gnu/packages/cinnamon.scm
+++ b/gnu/packages/cinnamon.scm
@@ -83,3 +83,63 @@ (define-public cinnamon-desktop
 as well as some desktop-wide documents.")
     (license (list license:gpl2+ license:lgpl2.0+
                    license:expat)))) ;display-name.c , edid-parse.c
+
+(define-public xapp
+  (package
+   (name "xapp")
+   (version "2.2.15")
+   (source
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/linuxmint/xapp")
+            (commit version)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32 "1rjlrbaf4c02viwbp1vxhh4nsv9zbvlsmrvry3af9grz0rfv3xsz"))))
+   (build-system meson-build-system)
+   (arguments
+    (list #:glib-or-gtk? #t
+          #:configure-flags
+          #~(list (string-append "-Dpy-overrides-dir="
+                                 #$(this-package-input "python")
+                                 "/lib/python3.9/site-packages/gi/overrides"))
+          #:phases
+          #~(modify-phases %standard-phases
+              (add-after 'patch-source-shebangs 'fix-build
+                (lambda _
+                  (substitute*
+                      "./libxapp/meson.build"
+                    (("gtk3_dep\\.get_pkgconfig_variable\\('libdir'\\)")
+                     (string-append "'" #$output "/lib'")))
+                  (substitute*
+                      "./pygobject/meson.build"
+                    (("install_dir: override_dir,")
+                     (string-append
+                      "install_dir: '" #$output
+                      "/lib/python3.9/site-packages/gi/overrides',")))
+                  #t)))))
+   (inputs
+    (list atk
+          glib
+          gtk+
+          gnome-menus
+          libdbusmenu
+          libgnomekbd
+          python
+          python-pygobject))
+   (native-inputs
+    (list gettext-minimal
+          (list glib "bin")
+          gobject-introspection
+          libxml2
+          pkg-config
+          python
+          vala))
+   (propagated-inputs (list libgnomekbd))
+   (home-page "https://github.com/linuxmint/xapp")
+   (synopsis "Libraries and common resources of the Mint project")
+   (description "This project gathers the components which are common to the
+ projects of the Linux Mint project.")
+   (license license:expat)))
+
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#59105; Package guix-patches. (Sun, 13 Nov 2022 19:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 59105 <at> debbugs.gnu.org (full text, mbox):

From: florhizome <at> posteo.net
To: 59105 <at> debbugs.gnu.org
Cc: florhizome <florhizome <at> posteo.net>
Subject: [PATCH 1/3] gnu: cinnamon: upgrade cinnamon-desktop
Date: Sun, 13 Nov 2022 19:21:15 +0000
From: florhizome <florhizome <at> posteo.net>

Updates cinnamon-desktop to new version and meson-build-system, adds alsa support, moves gobject-introspection to native-inputs, removes python-2 

* gnu/packages/cinnamon.scm (cinnamon-desktop): Upgrade package.
[arguments] configure-flags: enable alsa-support
[inputs] remove python-2, remove gobject-introspection, add libext, alsa-lib
[native-inputs] remove gnu-build-system related packages, add gobject-introspection

---
 gnu/packages/cinnamon.scm | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm
index fe33e797e4..0087a41839 100644
--- a/gnu/packages/cinnamon.scm
+++ b/gnu/packages/cinnamon.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2017 Nikita <nikita <at> n0.is>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019 Efraim Flashner <efraim <at> flashner.co.il>
+;;; Copyright © 2022 florhizome <florhizome <at> posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,9 +23,12 @@ (define-module (gnu packages cinnamon)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix utils)
+  #:use-module (guix build utils)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages freedesktop)
@@ -32,44 +36,45 @@ (define-module (gnu packages cinnamon)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages photo)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg))
 
 (define-public cinnamon-desktop
   (package
     (name "cinnamon-desktop")
-    (version "3.4.2")
-    (source (origin
-              (method git-fetch)
+    (version "5.4.2")
+    (source
+     (origin
+       (method git-fetch)
               (uri (git-reference
                      (url "https://github.com/linuxmint/cinnamon-desktop")
                      (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "18mjy80ly9361npjhxpm3n0pkmrwviaqr2kixjb7hyxa6kzzh5xw"))))
-    (build-system gnu-build-system)
-    ;; TODO: package 'libgsystem'.
+       (sha256
+        (base32 "03yfh1fhcs9g4qxczq1k2fi0c9354ryapvhg24210scgds4ljkjk"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:glib-or-gtk? #t
+           #:configure-flags #~(list "-Dalsa=true")))
     (inputs
      (list accountsservice
+           alsa-lib
            gtk+
            glib
-           gobject-introspection
            gnome-common
            libxkbfile
            libxrandr
-           python-2
+           libxext
            pulseaudio
            xkeyboard-config))
     (native-inputs
-     (list autoconf
-           automake
+     (list gobject-introspection
+           (list glib "bin")
            gettext-minimal
-           `(,glib "bin") ; glib-gettextize
-           intltool
-           libtool
            pkg-config))
     (home-page "https://github.com/linuxmint/cinnamon-desktop/")
     (synopsis "Library for the Cinnamon Desktop")
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#59105; Package guix-patches. (Sun, 13 Nov 2022 19:22:03 GMT) Full text and rfc822 format available.

Message #14 received at 59105 <at> debbugs.gnu.org (full text, mbox):

From: florhizome <at> posteo.net
To: 59105 <at> debbugs.gnu.org
Cc: florhizome <florhizome <at> posteo.net>
Subject: [PATCH 3/3] gnu: Add nemo
Date: Sun, 13 Nov 2022 19:21:17 +0000
From: florhizome <florhizome <at> posteo.net>

* gnu/packages/cinnamon.scm (nemo): New variable.
---
 gnu/packages/cinnamon.scm | 61 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/gnu/packages/cinnamon.scm b/gnu/packages/cinnamon.scm
index 8af2075596..74bf125820 100644
--- a/gnu/packages/cinnamon.scm
+++ b/gnu/packages/cinnamon.scm
@@ -143,3 +143,64 @@ (define-public xapp
  projects of the Linux Mint project.")
    (license license:expat)))
 
+(define-public nemo
+  (package
+    (name "nemo")
+    (version "5.4.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/linuxmint/nemo")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1r3zjkpmisdi54kkq6fvaslagzpbbz4swjlali90lwsfbb9cwykz"))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:glib-or-gtk? #t
+           #:tests? #f                       ;tests stall
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'patch-source-shebangs 'adjust-prefix
+                 (lambda _
+                   (substitute*
+                       (find-files "meson.build")
+                     (("'data_dir")
+                      (string-append "'" #$output "/share")))) #t)
+               (add-before 'check 'pre-check
+                 (lambda _
+                   (system "Xvfb :1 &")
+                   (setenv "DISPLAY" ":1")
+                   (setenv "HOME" "/tmp")    ;some tests require a writable HOME
+                   (setenv "XDG_DATA_DIRS"
+                           (string-append (getenv "XDG_DATA_DIRS")
+                                          ":" #$output "/share")))))))
+    (inputs
+     (list atk
+           cinnamon-desktop
+           libnotify
+           libgsf
+           libx11
+           libxml2
+           gtk+
+           gsettings-desktop-schemas
+           libxkbfile
+           libexif
+           exempi
+           xapp
+           xkeyboard-config))
+    (native-inputs
+     (list pkg-config
+           (list gtk+ "bin")
+           gettext-minimal
+           intltool
+           (list glib "bin")
+           gobject-introspection
+           xorg-server-for-tests))
+    (home-page "https://github.com/linuxmint/nemo")
+    (synopsis "File browser for Cinnamon")
+    (description "Nemo is the file manager for the Cinnamon desktop
+ environment.")
+    (license license:expat)))
-- 
2.38.1





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sat, 22 Apr 2023 10:02:02 GMT) Full text and rfc822 format available.

Notification sent to Florian <florhizome <at> posteo.net>:
bug acknowledged by developer. (Sat, 22 Apr 2023 10:02:02 GMT) Full text and rfc822 format available.

Message #19 received at 59105-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: florhizome <at> posteo.net
Cc: 59105-done <at> debbugs.gnu.org
Subject: Re: [bug#59105] [PATCH 1/3] gnu: cinnamon: upgrade cinnamon-desktop
Date: Sat, 22 Apr 2023 12:01:44 +0200
Hello,

florhizome <at> posteo.net writes:

> From: florhizome <florhizome <at> posteo.net>
>
> Updates cinnamon-desktop to new version and meson-build-system, adds alsa support, moves gobject-introspection to native-inputs, removes python-2 
>
> * gnu/packages/cinnamon.scm (cinnamon-desktop): Upgrade package.
> [arguments] configure-flags: enable alsa-support
> [inputs] remove python-2, remove gobject-introspection, add libext, alsa-lib
> [native-inputs] remove gnu-build-system related packages, add
> gobject-introspection

Thank you. I updated cinnamon-destkop to 5.6.2, dropped your second
patch as libxapp is already provided in Guix, updated nemo to 5.6.5 and
applied your patch set.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 May 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 335 days ago.

Previous Next


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