* [bug#68228] [PATCH] gnu: Add gnome-software.
@ 2024-01-03 6:30 Justin Veilleux
2024-01-04 12:41 ` Mathieu Othacehe
0 siblings, 1 reply; 3+ messages in thread
From: Justin Veilleux @ 2024-01-03 6:30 UTC (permalink / raw)
To: 68228
[-- Attachment #1: Type: text/plain, Size: 51 bytes --]
Hi. This is a patch for gnome-software.
Cheers.
[-- Attachment #2: 0001-gnu-Add-gnome-software.patch --]
[-- Type: text/x-patch, Size: 3229 bytes --]
From c8c61e3b4c3b30c2b28c7fed971e19d7bea4cf46 Mon Sep 17 00:00:00 2001
Message-ID: <c8c61e3b4c3b30c2b28c7fed971e19d7bea4cf46.1704263261.git.terramorpha@cock.li>
From: terramorpha <terramorpha@cock.li>
Date: Wed, 3 Jan 2024 01:23:36 -0500
Subject: [PATCH] gnu: Add gnome-software.
* gnu/packages/gnome.scm (gnome-software): New variable.
Change-Id: I5838a581d8612eed0697c801fff0e241256ce558
---
gnu/packages/gnome.scm | 71 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b2d4b73088..fe507d5b2d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -77,6 +77,7 @@
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Zhu Zihao <all_but_last@163.com>
+;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -13459,3 +13460,73 @@ (define-public xffm+
(home-page "http://xffm.org/")
(license license:gpl3+)
(properties '((upstream-name . "xffm")))))
+
+(define-public gnome-software
+ (package
+ (name "gnome-software")
+ (version "42.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/"
+ name "/"
+ (version-major version) "/"
+ name "-" version ".tar.xz"))
+ (sha256 (base32 "091jc82450lsrm0l8wi2byh1317abwp5c32wrrk0hpbz59iljhz8"))))
+
+ (native-inputs
+ (list
+ pkg-config
+ (list glib "bin")
+ gnu-gettext
+ gtk-doc
+ (list gtk "bin")
+ desktop-file-utils))
+
+ (inputs
+ (list
+ appstream
+ gdk-pixbuf
+ libxmlb
+ gtk
+ json-glib
+ libsoup
+ libadwaita
+ valgrind
+ gsettings-desktop-schemas
+ polkit
+ packagekit
+ flatpak
+ libostree
+ libsoup-minimal-2
+ malcontent
+ libgudev))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after
+ 'unpack
+ 'patch-iso-codes
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (with-directory-excursion
+ "src"
+ (substitute* "./gs-language.c"
+ (("DATADIR")
+ (format #f "\"~a/share\"" #$iso-codes)))
+ (invoke "cat" "gs-language.c")))))
+
+ #:configure-flags
+ ''("-Dfwupd=false"
+ "-Dsoup2=true"
+ ;; tries to download something over the internet, makes the build fail
+ "-Dman=false")
+ #:tests? #f
+ #:validate-runpath? #f))
+ (synopsis "Graphical software manager for gnome")
+ (description "Software allows you to find and install new apps and system
+extensions and remove existing installed apps.")
+ (license license:gpl2)
+ (home-page "https://apps.gnome.org/en/Software/")))
base-commit: f4628000024219bf373922ff4a6fa752eb821797
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#68228] [PATCH] gnu: Add gnome-software.
2024-01-03 6:30 [bug#68228] [PATCH] gnu: Add gnome-software Justin Veilleux
@ 2024-01-04 12:41 ` Mathieu Othacehe
2024-01-04 17:36 ` Justin Veilleux
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2024-01-04 12:41 UTC (permalink / raw)
To: Justin Veilleux; +Cc: 68228
Hello,
> Hi. This is a patch for gnome-software.
I tried out this package but it complains about a missing .service for
PackageKit. Have you fixed that issue locally?
Is there any software that can be installed using the gnome-software
on Guix System in the first place?
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#68228] [PATCH] gnu: Add gnome-software.
2024-01-04 12:41 ` Mathieu Othacehe
@ 2024-01-04 17:36 ` Justin Veilleux
0 siblings, 0 replies; 3+ messages in thread
From: Justin Veilleux @ 2024-01-04 17:36 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: 68228
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
Hello. For it to work, it needs to be installed in a profile.
For now, it can be used to install flatpaks
Cheers.
On January 4, 2024 7:41:35 a.m. EST, Mathieu Othacehe <othacehe@gnu.org> wrote:
>
>Hello,
>
>> Hi. This is a patch for gnome-software.
>
>I tried out this package but it complains about a missing .service for
>PackageKit. Have you fixed that issue locally?
>
>Is there any software that can be installed using the gnome-software
>on Guix System in the first place?
>
>Thanks,
>
>Mathieu
[-- Attachment #2: Type: text/html, Size: 1034 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-04 18:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 6:30 [bug#68228] [PATCH] gnu: Add gnome-software Justin Veilleux
2024-01-04 12:41 ` Mathieu Othacehe
2024-01-04 17:36 ` Justin Veilleux
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.