unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38905] gnu: Add gnome-initial-setup.
@ 2020-01-03 20:51 Raghav Gururajan
  2020-01-07 23:31 ` Julien Lepiller
  0 siblings, 1 reply; 7+ messages in thread
From: Raghav Gururajan @ 2020-01-03 20:51 UTC (permalink / raw)
  To: 38905


[-- Attachment #1.1: Type: text/plain, Size: 92 bytes --]

Hello Guix!

Please find the attached patch to add gnome-initial-setup.

Regards,
RG.

[-- Attachment #1.2: gnome-initial-setup.patch --]
[-- Type: text/x-patch, Size: 2724 bytes --]

From e295834ca7610994c56774a41c48c58f46053627 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Fri, 3 Jan 2020 15:49:08 -0500
Subject: [PATCH] gnu: Add gnome-initial-setup.

* gnu/packages/gnome.scm (gnome-initial-setup): New variable.
---
 gnu/packages/gnome.scm | 49 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 102f679b53..54e643a7ab 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -246,6 +246,55 @@ Desktop.  It is designed to be as simple as possible and has some unique
 features to enable users to create their discs easily and quickly.")
     (license license:gpl2+)))
 
+(define-public gnome-initial-setup
+  (package
+   (name "gnome-initial-setup")
+   (version "3.32.1")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
+                                (version-major+minor version)
+                                "/gnome-initial-setup-" version ".tar.xz"))
+            (sha256
+             (base32
+              "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
+   (build-system meson-build-system)
+   (arguments
+    '(#:configure-flags '("-Dcheese=disabled" "-Dsystemd=false"))) ;;Optional
+   (inputs
+    `(("accountsservice" ,accountsservice)
+      ("adwaita-icon-theme" ,adwaita-icon-theme)
+      ("cheese" ,cheese)
+      ("gdm" ,gdm)
+      ("geoclue" ,geoclue)
+      ("gettext" ,gettext-minimal)
+      ("glib:bin" ,glib "bin")
+      ("gnome-desktop" ,gnome-desktop)
+      ("gnome-getting-started-docs" ,gnome-getting-started-docs)
+      ("gnome-online-accounts" ,gnome-online-accounts)
+      ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
+      ("gstreamer" ,gstreamer)
+      ("gtk+:bin" ,gtk+ "bin")
+      ("ibus" ,ibus)
+      ("krb5" ,mit-krb5)
+      ("libgweather" ,libgweather)
+      ;;("libnma" ,libnma)
+      ("libsecret" ,libsecret)
+      ("network-manager" ,network-manager)
+      ("network-manager-applet" ,network-manager-applet) ;;libnma
+      ("packagekit" ,packagekit)
+      ("pkg-config" ,pkg-config)
+      ("polkit" ,polkit)
+      ("pwquality" ,libpwquality)
+      ("rest" ,rest)
+      ("upower" ,upower)
+      ("webkitgtk" ,webkitgtk)))
+   (synopsis "Initial setup wizard for GNOME desktop")
+   (description "GNOME Initial Setup aims to provide a simple, easy,
+and safe way to prepare a new system.")
+   (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
+   (license license:gpl2)))
+
 (define-public gnome-color-manager
   (package
    (name "gnome-color-manager")
-- 
2.24.1


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [bug#38905] gnu: Add gnome-initial-setup.
  2020-01-03 20:51 [bug#38905] gnu: Add gnome-initial-setup Raghav Gururajan
@ 2020-01-07 23:31 ` Julien Lepiller
  2020-01-09 14:00   ` [bug#38905] gnu: Add gnome-initial-setup. (v2) Raghav Gururajan
  0 siblings, 1 reply; 7+ messages in thread
From: Julien Lepiller @ 2020-01-07 23:31 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 38905

Le Fri, 03 Jan 2020 15:51:58 -0500,
Raghav Gururajan <raghavgururajan@disroot.org> a écrit :

> Hello Guix!
> 
> Please find the attached patch to add gnome-initial-setup.
> 
> Regards,
> RG.

Thanks for the patch!

I have a few questions about it, even though I didn't try to build it
yet. What is optional in configure-flags? You should probably remove
the comment in the inputs (the package doesn't exist, right?).

I'm a bit puzzled by how this package works. Should some of these
inputs be propagated or hard-coded in the code of the package?
Shouldn't they be available at runtime? What does ibus, upower and the
like do for the build itself?

I think pkg-config should be a native-input.

The description is a bit vague. What does it do exactly? Maybe there's
some things that guix cannot setup and that's what it's used for? I'm
not sure what the policy for "aims to" is, but I think I would remove
it.

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

* [bug#38905] gnu: Add gnome-initial-setup. (v2)
  2020-01-07 23:31 ` Julien Lepiller
@ 2020-01-09 14:00   ` Raghav Gururajan
  2020-01-12 21:39     ` bug#38905: " Danny Milosavljevic
  2020-01-12 21:43     ` [bug#38905] " Raghav Gururajan
  0 siblings, 2 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-01-09 14:00 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 38905


[-- Attachment #1.1: Type: text/plain, Size: 1686 bytes --]

Hello Julien!

> Thanks for the patch!

My pleasure. :-)

> I have a few questions about it, even though I didn't try to build it
> yet. What is optional in configure-flags? You should probably remove
> the comment in the inputs (the package doesn't exist, right?).

I have revised the patch. -Dcheese=auto is for camera support for the
new user to set profile picture by taking selfie via camera.
-Dsystemd=false is to disable systemd dependency.

> I'm a bit puzzled by how this package works. Should some of these
> inputs be propagated or hard-coded in the code of the package?
> Shouldn't they be available at runtime? What does ibus, upower and
> the
> like do for the build itself?

The application starts up as a set-up wizard when new user login for
first time, to configure the GNOME desktop. It typically provides a
tour of all gnome components and allows the user set settings for each.

I have built, installed and ran it for testing. Works good. Those
dependencies need not be propagated. I think the application uses
data/information from those packages and present it to user during the
tour.

> I think pkg-config should be a native-input.

Yeah, I revised the patch.

> The description is a bit vague. What does it do exactly? Maybe
> there's
> some things that guix cannot setup and that's what it's used for? I'm
> not sure what the policy for "aims to" is, but I think I would remove
> it.

I am not able come up with better one at this time. Let me leave it as
it is for now, as I will be revising all gnome packages in the near
future. :-)

Please find the revised patch (v2) attached with this email.

Regards,
RG.

[-- Attachment #1.2: gnome-initial-setup.patch --]
[-- Type: text/x-patch, Size: 2738 bytes --]

From fbb0281b7265feb5b5237bbfaf1d771de961c51e Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Thu, 9 Jan 2020 08:46:14 -0500
Subject: [PATCH] gnu: Add gnome-initial-setup

* gnu/packages/gnome.scm (gnome-initial-setup): New variable.
---
 gnu/packages/gnome.scm | 50 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e71cc2fee2..0d0c71ad05 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -246,6 +246,56 @@ Desktop.  It is designed to be as simple as possible and has some unique
 features to enable users to create their discs easily and quickly.")
     (license license:gpl2+)))
 
+(define-public gnome-initial-setup
+  (package
+   (name "gnome-initial-setup")
+   (version "3.32.1")
+   (source (origin
+            (method url-fetch)
+           (uri (string-append "mirror://gnome/sources/gnome-initial-setup/"
+                                (version-major+minor version)
+                                "/gnome-initial-setup-" version ".tar.xz"))
+            (sha256
+             (base32
+              "1gwhp7dalyc8zsb2pa66cmpdrj2d6drbq5p331sq6zp8ds10k9ry"))))
+   (build-system meson-build-system)
+   (arguments
+    '(#:configure-flags '("-Dcheese=auto" "-Dsystemd=false")))
+   (native-inputs
+    `(("gettext" ,gettext-minimal)
+      ("glib:bin" ,glib "bin")
+      ("gtk+:bin" ,gtk+ "bin")
+      ("pkg-config" ,pkg-config)))
+   (inputs
+    `(("accountsservice" ,accountsservice)
+      ("adwaita-icon-theme" ,adwaita-icon-theme)
+      ("gdm" ,gdm)
+      ("geoclue" ,geoclue)
+      ("gnome-desktop" ,gnome-desktop)
+      ("gnome-getting-started-docs" ,gnome-getting-started-docs)
+      ("gnome-online-accounts" ,gnome-online-accounts)
+      ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
+      ("gobject-introspection" ,gobject-introspection)
+      ("gstreamer" ,gstreamer)
+      ("ibus" ,ibus)
+      ("json-glib" ,json-glib)
+      ("krb5" ,mit-krb5)
+      ("libgweather" ,libgweather)
+      ("libsecret" ,libsecret)
+      ("network-manager" ,network-manager)
+      ("network-manager-applet" ,network-manager-applet)
+      ("packagekit" ,packagekit)
+      ("polkit" ,polkit)
+      ("pwquality" ,libpwquality)
+      ("rest" ,rest)
+      ("upower" ,upower)
+      ("webkitgtk" ,webkitgtk)))
+   (synopsis "Initial setup wizard for GNOME desktop")
+   (description "GNOME Initial Setup aims to provide a simple, easy,
+and safe way to prepare a new system.")
+   (home-page "https://gitlab.gnome.org/GNOME/gnome-initial-setup")
+   (license license:gpl2)))
+
 (define-public gnome-menus
   (package
     (name "gnome-menus")
-- 
2.24.1


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* bug#38905: gnu: Add gnome-initial-setup. (v2)
  2020-01-09 14:00   ` [bug#38905] gnu: Add gnome-initial-setup. (v2) Raghav Gururajan
@ 2020-01-12 21:39     ` Danny Milosavljevic
  2020-01-12 21:43     ` [bug#38905] " Raghav Gururajan
  1 sibling, 0 replies; 7+ messages in thread
From: Danny Milosavljevic @ 2020-01-12 21:39 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 38905-done, Julien Lepiller

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

Pushed to guix master as commit a26680eb7019b376397b1131cbf75c5cda3c64a8.

Updated description as commit a65cc579b95be6f1db35e7e69bfda1544f3419ab.

Commented out adwaita-icon-theme since it won't do anything useful.

Verified that the libraries are actually linked in.

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

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

* [bug#38905] gnu: Add gnome-initial-setup. (v2)
  2020-01-09 14:00   ` [bug#38905] gnu: Add gnome-initial-setup. (v2) Raghav Gururajan
  2020-01-12 21:39     ` bug#38905: " Danny Milosavljevic
@ 2020-01-12 21:43     ` Raghav Gururajan
  2020-01-13  7:36       ` Danny Milosavljevic
  2020-01-14  0:03       ` Raghav Gururajan
  1 sibling, 2 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-01-12 21:43 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 38905-done, Julien Lepiller

Hello Danny!

> Pushed to guix master as commit a26680eb7019b376397b1131cbf75c5cda3c64a8.
> 
> Updated description as commit a65cc579b95be6f1db35e7e69bfda1544f3419ab.
> 
> Commented out adwaita-icon-theme since it won't do anything useful.
> 
> Verified that the libraries are actually linked in.

Thanks a lot!

Regards,
RG.

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

* [bug#38905] gnu: Add gnome-initial-setup. (v2)
  2020-01-12 21:43     ` [bug#38905] " Raghav Gururajan
@ 2020-01-13  7:36       ` Danny Milosavljevic
  2020-01-14  0:03       ` Raghav Gururajan
  1 sibling, 0 replies; 7+ messages in thread
From: Danny Milosavljevic @ 2020-01-13  7:36 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 38905-done, Julien Lepiller

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Hi Raghav,

isn't that supposed to be gpl2+ ?

Or is there a gpl2-only source file somewhere in gnome-initial-setup?

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

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

* [bug#38905] gnu: Add gnome-initial-setup. (v2)
  2020-01-12 21:43     ` [bug#38905] " Raghav Gururajan
  2020-01-13  7:36       ` Danny Milosavljevic
@ 2020-01-14  0:03       ` Raghav Gururajan
  1 sibling, 0 replies; 7+ messages in thread
From: Raghav Gururajan @ 2020-01-14  0:03 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 38905-done, Julien Lepiller

Hi Danny!

> isn't that supposed to be gpl2+ ?
> 
> Or is there a gpl2-only source file somewhere in gnome-initial-setup?

It is actually gpl2+. My bad, I over-looked at the "or later" part.

Regards,
RG.

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

end of thread, other threads:[~2020-01-14  0:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03 20:51 [bug#38905] gnu: Add gnome-initial-setup Raghav Gururajan
2020-01-07 23:31 ` Julien Lepiller
2020-01-09 14:00   ` [bug#38905] gnu: Add gnome-initial-setup. (v2) Raghav Gururajan
2020-01-12 21:39     ` bug#38905: " Danny Milosavljevic
2020-01-12 21:43     ` [bug#38905] " Raghav Gururajan
2020-01-13  7:36       ` Danny Milosavljevic
2020-01-14  0:03       ` 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).