* [PATCH] gnu: Add gnome.
@ 2016-02-13 4:33 宋文武
2016-02-13 5:04 ` Thompson, David
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: 宋文武 @ 2016-02-13 4:33 UTC (permalink / raw)
To: guix-devel; +Cc: 宋文武
* gnu/packages/gnome.scm (gnome): New variable.
---
gnu/packages/gnome.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49e6197..dbf8ffe 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -36,6 +36,7 @@
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
@@ -4648,3 +4649,43 @@ as SASL, TLS and VeNCrypt. Additionally it supports encoding extensions.")
design and behaviour, giving the user a simple way to navigate and manage its
files.")
(license license:gpl2+)))
+
+(define-public gnome
+ (package
+ (name "gnome")
+ (version (package-version gnome-shell))
+ (source #f)
+ (build-system trivial-build-system)
+ (arguments '(#:builder (mkdir %output)))
+ (propagated-inputs
+ ;; TODO: Add more packages according to:
+ ;; <https://packages.debian.org/jessie/gnome-core>.
+ `(("adwaita-icon-theme" ,adwaita-icon-theme)
+ ("at-spi2-core" ,at-spi2-core)
+ ("dbus" ,dbus)
+ ("dconf" ,dconf)
+ ("eog" ,eog)
+ ("epiphany" ,epiphany)
+ ("evince" ,evince)
+ ("gedit" ,gedit)
+ ("glib-networking" ,glib-networking)
+ ("gnome-control-center" ,gnome-control-center)
+ ("gnome-keyring" ,gnome-keyring)
+ ("gnome-session" ,gnome-session)
+ ("gnome-settings-daemon" ,gnome-settings-daemon)
+ ("gnome-shell" ,gnome-shell)
+ ("gnome-terminal" ,gnome-terminal)
+ ("gnome-themes-standard" ,gnome-themes-standard)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("nautilus" ,nautilus)
+ ("pulseaudio" ,pulseaudio)
+ ("shared-mime-info" ,shared-mime-info)
+ ("totem" ,totem)
+ ("yelp" ,yelp)
+ ("zenity" ,zenity)))
+ (synopsis "Desktop environment (meta-package)")
+ (home-page "https://www.gnome.org/")
+ (description
+ "GNOME is an intutive and attractive desktop environment. It aims to be
+an easy and elegant way to use your computer.")
+ (license license:gpl2+)))
--
2.5.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-13 4:33 [PATCH] gnu: Add gnome 宋文武
@ 2016-02-13 5:04 ` Thompson, David
2016-02-15 0:01 ` Daniel Pimentel
2016-02-16 14:21 ` Thompson, David
2016-02-21 21:37 ` Ludovic Courtès
2 siblings, 1 reply; 15+ messages in thread
From: Thompson, David @ 2016-02-13 5:04 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
On Fri, Feb 12, 2016 at 11:33 PM, 宋文武 <iyzsong@gmail.com> wrote:
> * gnu/packages/gnome.scm (gnome): New variable.
> ---
> gnu/packages/gnome.scm | 41 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
This is awesome! I'm reconfiguring my system now to see how it all works. :)
- Dave
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-13 4:33 [PATCH] gnu: Add gnome 宋文武
2016-02-13 5:04 ` Thompson, David
@ 2016-02-16 14:21 ` Thompson, David
2016-02-21 21:37 ` Ludovic Courtès
2 siblings, 0 replies; 15+ messages in thread
From: Thompson, David @ 2016-02-16 14:21 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
On Fri, Feb 12, 2016 at 11:33 PM, 宋文武 <iyzsong@gmail.com> wrote:
> * gnu/packages/gnome.scm (gnome): New variable.
> ---
> gnu/packages/gnome.scm | 41 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
I tried this out and everything worked, so please push to master.
Unfortunately for me, something is still misbehaving when it comes to
closing the laptop lid so I had to switch back to XFCE.
- Dave
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-13 4:33 [PATCH] gnu: Add gnome 宋文武
2016-02-13 5:04 ` Thompson, David
2016-02-16 14:21 ` Thompson, David
@ 2016-02-21 21:37 ` Ludovic Courtès
2016-02-23 5:36 ` Leo Famulari
2 siblings, 1 reply; 15+ messages in thread
From: Ludovic Courtès @ 2016-02-21 21:37 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
宋文武 <iyzsong@gmail.com> skribis:
> * gnu/packages/gnome.scm (gnome): New variable.
Awesome! :-)
Maybe we should add a variant of gnu/system/examples/desktop.tmpl that
uses all things GNOME?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-21 21:37 ` Ludovic Courtès
@ 2016-02-23 5:36 ` Leo Famulari
2016-02-23 21:18 ` Jan Nieuwenhuizen
0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2016-02-23 5:36 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel, 宋文武
On Sun, Feb 21, 2016 at 10:37:01PM +0100, Ludovic Courtès wrote:
> 宋文武 <iyzsong@gmail.com> skribis:
>
> > * gnu/packages/gnome.scm (gnome): New variable.
>
> Awesome! :-)
>
> Maybe we should add a variant of gnu/system/examples/desktop.tmpl that
> uses all things GNOME?
That would be helpful!
>
> Thanks,
> Ludo’.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-23 5:36 ` Leo Famulari
@ 2016-02-23 21:18 ` Jan Nieuwenhuizen
2016-02-23 21:29 ` Leo Famulari
2016-02-24 12:18 ` Andreas Enge
0 siblings, 2 replies; 15+ messages in thread
From: Jan Nieuwenhuizen @ 2016-02-23 21:18 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, 宋文武
Leo Famulari writes:
>> Maybe we should add a variant of gnu/system/examples/desktop.tmpl that
>> uses all things GNOME?
>
> That would be helpful!
Yes...I tried it and currently get the opaque and slightly obnoxious
`Oh no! Something has gone wrong'
I have been using
...
(packages
(cons* gnome
gnome-shell
guile-wm
nss-certs
xkbutils
%base-packages))
(services
(cons* (console-keymap-service "dvorak")
;;(dhcp-client-service)
(lsh-service #:port-number 2222
#:allow-empty-passwords? #t
#:root-login? #t)
%desktop-services))
Uncommenting (dhcp-client-service) gives the error
guix system: error: service 'networking' provided more than once
but having it commented-out like this I cannot login with ssh to the
vm...and I cannot investigate what may have triggered the opaque error
message...puzzled
Greetings,
Jan
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-23 21:18 ` Jan Nieuwenhuizen
@ 2016-02-23 21:29 ` Leo Famulari
2016-02-23 22:24 ` Jan Nieuwenhuizen
2016-02-24 12:18 ` Andreas Enge
1 sibling, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2016-02-23 21:29 UTC (permalink / raw)
To: Jan Nieuwenhuizen; +Cc: guix-devel, 宋文武
On Tue, Feb 23, 2016 at 10:18:45PM +0100, Jan Nieuwenhuizen wrote:
> Leo Famulari writes:
>
> >> Maybe we should add a variant of gnu/system/examples/desktop.tmpl that
> >> uses all things GNOME?
> >
> > That would be helpful!
>
> Yes...I tried it and currently get the opaque and slightly obnoxious
>
> `Oh no! Something has gone wrong'
Me too!
>
> I have been using
>
> ...
> (packages
> (cons* gnome
> gnome-shell
> guile-wm
> nss-certs
> xkbutils
> %base-packages))
> (services
> (cons* (console-keymap-service "dvorak")
> ;;(dhcp-client-service)
> (lsh-service #:port-number 2222
> #:allow-empty-passwords? #t
> #:root-login? #t)
> %desktop-services))
>
> Uncommenting (dhcp-client-service) gives the error
>
> guix system: error: service 'networking' provided more than once
>
> but having it commented-out like this I cannot login with ssh to the
> vm...and I cannot investigate what may have triggered the opaque error
> message...puzzled
How are running the VM? The way I've been using it (documented in 7.2.14
in the manual) does not allow the host to connect to the guest.
>
> Greetings,
> Jan
>
> --
> Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
> Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-23 21:29 ` Leo Famulari
@ 2016-02-23 22:24 ` Jan Nieuwenhuizen
2016-02-23 23:34 ` Leo Famulari
0 siblings, 1 reply; 15+ messages in thread
From: Jan Nieuwenhuizen @ 2016-02-23 22:24 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, 宋文武
Leo Famulari writes:
> How are running the VM? The way I've been using it (documented in 7.2.14
> in the manual) does not allow the host to connect to the guest.
What works for me is when I use
...
(packages
(cons* dezyne-server ;;-release
nss-certs
%base-packages))
(services
(cons* (dhcp-client-service)
(lsh-service #:port-number 2222
#:allow-empty-passwords? #t
#:root-login? #t)
(postgresql-service)
(dezyne-service #:config 'localhost)
%base-services)))
create an image using
guix system --load-path=$(HOME)/shadow.git/release vm ~/shadow.git/release/development-verum-com.scm --expose=$(HOME) --share=$(HOME)/tmp=/exchange
(creating a standalone vm-image, what I would like, does not work for
me)
And then, I do
/gnu/store/pxvsvbxm0gmg7s422pddg2kzbizdgig7-run-vm.sh -m 1G -redir tcp:2223::2222 -redir tcp:3001::3000 -redir tcp:5433::5432 &
Greetings,
Jan
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-23 22:24 ` Jan Nieuwenhuizen
@ 2016-02-23 23:34 ` Leo Famulari
2016-02-24 18:55 ` Jan Nieuwenhuizen
0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2016-02-23 23:34 UTC (permalink / raw)
To: Jan Nieuwenhuizen; +Cc: guix-devel, 宋文武
On Tue, Feb 23, 2016 at 11:24:30PM +0100, Jan Nieuwenhuizen wrote:
> Leo Famulari writes:
>
> > How are running the VM? The way I've been using it (documented in 7.2.14
> > in the manual) does not allow the host to connect to the guest.
>
> What works for me is when I use
>
> ...
> (packages
> (cons* dezyne-server ;;-release
> nss-certs
> %base-packages))
>
> (services
> (cons* (dhcp-client-service)
> (lsh-service #:port-number 2222
> #:allow-empty-passwords? #t
> #:root-login? #t)
> (postgresql-service)
> (dezyne-service #:config 'localhost)
> %base-services)))
>
> create an image using
>
> guix system --load-path=$(HOME)/shadow.git/release vm ~/shadow.git/release/development-verum-com.scm --expose=$(HOME) --share=$(HOME)/tmp=/exchange
>
> (creating a standalone vm-image, what I would like, does not work for
> me)
What happens when you try it?
>
> And then, I do
>
> /gnu/store/pxvsvbxm0gmg7s422pddg2kzbizdgig7-run-vm.sh -m 1G -redir tcp:2223::2222 -redir tcp:3001::3000 -redir tcp:5433::5432 &
>
> Greetings,
> Jan
>
> --
> Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
> Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-23 23:34 ` Leo Famulari
@ 2016-02-24 18:55 ` Jan Nieuwenhuizen
2016-02-24 21:41 ` Leo Famulari
0 siblings, 1 reply; 15+ messages in thread
From: Jan Nieuwenhuizen @ 2016-02-24 18:55 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, 宋文武
Leo Famulari writes:
>> (creating a standalone vm-image, what I would like, does not work for
>> me)
>
> What happens when you try it?
I remember another guix-related error, now I get
qemu-system-x86_64: -drive id=hd0,if=none,file=tests/acpi-test-disk.raw,format=raw: Could not open 'tests/acpi-test-disk.raw': No such file or directory
Broken pipe
GTester: last random seed: R02Scfc593e083b9ce9623822b6f2b408817
/tmp/nix-build-qemu-minimal-2.5.0.drv-0/qemu-2.5.0/tests/Makefile:589: recipe for target 'check-qtest-x86_64' failed
Greetings,
Jan
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-24 18:55 ` Jan Nieuwenhuizen
@ 2016-02-24 21:41 ` Leo Famulari
2016-02-24 21:48 ` Jan Nieuwenhuizen
0 siblings, 1 reply; 15+ messages in thread
From: Leo Famulari @ 2016-02-24 21:41 UTC (permalink / raw)
To: Jan Nieuwenhuizen; +Cc: guix-devel, 宋文武
On Wed, Feb 24, 2016 at 07:55:30PM +0100, Jan Nieuwenhuizen wrote:
> Leo Famulari writes:
>
> >> (creating a standalone vm-image, what I would like, does not work for
> >> me)
> >
> > What happens when you try it?
>
> I remember another guix-related error, now I get
>
> qemu-system-x86_64: -drive id=hd0,if=none,file=tests/acpi-test-disk.raw,format=raw: Could not open 'tests/acpi-test-disk.raw': No such file or directory
> Broken pipe
> GTester: last random seed: R02Scfc593e083b9ce9623822b6f2b408817
> /tmp/nix-build-qemu-minimal-2.5.0.drv-0/qemu-2.5.0/tests/Makefile:589: recipe for target 'check-qtest-x86_64' failed
Hmm, that's not how I'm using `guix system vm-image` and QEMU and I'm
not familiar enough with QEMU to troubleshoot this. I'm using the method
described in the manual.
>
> Greetings,
> Jan
>
> --
> Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
> Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-24 21:41 ` Leo Famulari
@ 2016-02-24 21:48 ` Jan Nieuwenhuizen
0 siblings, 0 replies; 15+ messages in thread
From: Jan Nieuwenhuizen @ 2016-02-24 21:48 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Leo Famulari writes:
> On Wed, Feb 24, 2016 at 07:55:30PM +0100, Jan Nieuwenhuizen wrote:
>> Leo Famulari writes:
>>
>> >> (creating a standalone vm-image, what I would like, does not work for
>> >> me)
>> >
>> > What happens when you try it?
>>
>> I remember another guix-related error, now I get
>>
>> qemu-system-x86_64: -drive
>> id=hd0,if=none,file=tests/acpi-test-disk.raw,format=raw: Could not
>> open 'tests/acpi-test-disk.raw': No such file or directory
>> Broken pipe
>> GTester: last random seed: R02Scfc593e083b9ce9623822b6f2b408817
>> /tmp/nix-build-qemu-minimal-2.5.0.drv-0/qemu-2.5.0/tests/Makefile:589: recipe for target 'check-qtest-x86_64' failed
>
> Hmm, that's not how I'm using `guix system vm-image` and QEMU and I'm
> not familiar enough with QEMU to troubleshoot this. I'm using the method
> described in the manual.
Me too, this is with master 6d415db a couple of hours ago, doing
guix system -L . vm-image drakenvlieg.scm --expose=$(HOME)=/host --share=$(HOME)/tmp=/exchange
it seems that building qemu-mininimal package fails.
Greetings, Jan
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-23 21:18 ` Jan Nieuwenhuizen
2016-02-23 21:29 ` Leo Famulari
@ 2016-02-24 12:18 ` Andreas Enge
2016-02-29 22:16 ` Jan Nieuwenhuizen
1 sibling, 1 reply; 15+ messages in thread
From: Andreas Enge @ 2016-02-24 12:18 UTC (permalink / raw)
To: Jan Nieuwenhuizen; +Cc: guix-devel, 宋文武
On Tue, Feb 23, 2016 at 10:18:45PM +0100, Jan Nieuwenhuizen wrote:
> (services
> (cons* (console-keymap-service "dvorak")
> ;;(dhcp-client-service)
> (lsh-service #:port-number 2222
> #:allow-empty-passwords? #t
> #:root-login? #t)
> %desktop-services))
>
> Uncommenting (dhcp-client-service) gives the error
>
> guix system: error: service 'networking' provided more than once
>
> but having it commented-out like this I cannot login with ssh to the
> vm...and I cannot investigate what may have triggered the opaque error
> message...puzzled
This is due to the fact that %desktop-services includes wicd-service.
Somewhere in the current documentation there is a paragraph that explains
how to delete a service from a list of services (which is a bit more
complicated than just removing a fixed variable, and amounts to checking
the type of a service), but I have trouble finding it again.
Ah, one needs to iterate over the services s in the list and test
(eq? (service-kind s) some-service-type).
Andreas
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] gnu: Add gnome.
2016-02-24 12:18 ` Andreas Enge
@ 2016-02-29 22:16 ` Jan Nieuwenhuizen
0 siblings, 0 replies; 15+ messages in thread
From: Jan Nieuwenhuizen @ 2016-02-29 22:16 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel, 宋文武
Andreas Enge writes:
> This is due to the fact that %desktop-services includes wicd-service.
Thanks! I got a vm with ssh service and gnome, using
...
(packages
(cons* gnome
gnome-shell
guile-wm
nss-certs
xkbutils
%base-packages))
(services
(cons* (console-keymap-service "dvorak")
;; TODO: package dvorak-control
(dhcp-client-service)
(lsh-service #:port-number 2222
#:allow-empty-passwords? #t
#:root-login? #t)
(postgresql-service)
(filter
(lambda (x)
(not (eq?
(service-kind x)
(@@ (gnu services networking) wicd-service-type))))
%desktop-services)))
That allowed me to log-in using ssh and investigate the
`Oh no! Something has gone wrong'
In /var/log/messages, it says
Feb 29 23:00:10 localhost gnome-session-binary[582]: WARNING: software acceleration check failed: Child process exited with code 1
Although it is marked as a warning, this is probably the cause that
gnome session login fails. I patched
*-gnome-session-3.18.1.2/share/xsessions/gnome.desktop
to use
Exec=gnome-session --disable-acceleration-check
but this seems to have no effect. How is gnome-session started
in guix, what file should be patched? Ideas?
Greetings,
Jan
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2016-02-29 22:16 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13 4:33 [PATCH] gnu: Add gnome 宋文武
2016-02-13 5:04 ` Thompson, David
2016-02-15 0:01 ` Daniel Pimentel
2016-02-16 14:21 ` Thompson, David
2016-02-21 21:37 ` Ludovic Courtès
2016-02-23 5:36 ` Leo Famulari
2016-02-23 21:18 ` Jan Nieuwenhuizen
2016-02-23 21:29 ` Leo Famulari
2016-02-23 22:24 ` Jan Nieuwenhuizen
2016-02-23 23:34 ` Leo Famulari
2016-02-24 18:55 ` Jan Nieuwenhuizen
2016-02-24 21:41 ` Leo Famulari
2016-02-24 21:48 ` Jan Nieuwenhuizen
2016-02-24 12:18 ` Andreas Enge
2016-02-29 22:16 ` Jan Nieuwenhuizen
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.