[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] gnu: Add gnome-shell.
From: |
宋文武 |
Subject: |
[PATCH 6/6] gnu: Add gnome-shell. |
Date: |
Thu, 17 Dec 2015 10:36:19 +0800 |
* gnu/packages/gnome.scm (gnome-shell): New variable.
---
gnu/packages/gnome.scm | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 82 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 88d7481..a6169ac 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4460,3 +4460,85 @@ allowing to set accessibility configuration, desktop
fonts, keyboard and mouse
properties, sound setup, desktop theme and background, user interface
properties, screen resolution, and other GNOME parameters.")
(license license:gpl2+)))
+
+(define-public gnome-shell
+ (package
+ (name "gnome-shell")
+ (version "3.18.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "16sicxdp08yfaj4hiyzvbspb5jk3fpmi291272zhx5vgc3wbl5w5"))))
+ (build-system glib-or-gtk-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (keysdir (string-append
+ out "/share/gnome-control-center/keybindings")))
+ (zero? (system* "make"
+ (string-append "keysdir=" keysdir)
+ "install")))))
+ (add-after
+ 'install 'wrap-programs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (gi-typelib-path (getenv "GI_TYPELIB_PATH"))
+ (python-path (getenv "PYTHONPATH")))
+ (wrap-program (string-append out "/bin/gnome-shell")
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
+ (for-each
+ (lambda (prog)
+ (wrap-program (string-append out "/bin/" prog)
+ `("PYTHONPATH" ":" prefix (,python-path))
+ `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+ '("gnome-shell-extension-tool" "gnome-shell-perf-tool"))
+ #t))))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
+ ("gobject-introspection" ,gobject-introspection)
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python)
+ ("xsltproc" ,libxslt)))
+ (inputs
+ `(("accountsservice" ,accountsservice)
+ ("caribou" ,caribou)
+ ("docbook-xsl" ,docbook-xsl)
+ ("evolution-data-server" ,evolution-data-server)
+ ("gcr" ,gcr)
+ ("gdm" ,gdm)
+ ("gjs" ,gjs)
+ ("gnome-bluetooth" ,gnome-bluetooth)
+ ("gnome-control-center" ,gnome-control-center)
+ ("gnome-desktop" ,gnome-desktop)
+ ("gnome-settings-daemon" ,gnome-settings-daemon)
+ ("gst-plugins-base" ,gst-plugins-base)
+ ("ibus" ,ibus)
+ ("libcanberra" ,libcanberra)
+ ("libcroco" ,libcroco)
+ ("libgweather" ,libgweather)
+ ("libsoup" ,libsoup)
+ ("mesa-headers" ,mesa-headers)
+ ("mutter" ,mutter)
+ ("network-manager-applet" ,network-manager-applet)
+ ("polkit" ,polkit)
+ ("pulseaudio" ,pulseaudio)
+ ("python-pygobject" ,python-pygobject)
+ ("startup-notification" ,startup-notification)
+ ("telepathy-logger" ,telepathy-logger)
+ ("upower" ,upower)
+ ;; XXX: required by libgjs.la.
+ ("readline" ,readline)))
+ (synopsis "Desktop shell for GNOME")
+ (home-page "https://wiki.gnome.org/Projects/GnomeShell")
+ (description
+ "GNOME Shell provides core user interface functions for the GNOME desktop,
+like switching to windows and launching applications.")
+ (license license:gpl2+)))
--
2.5.0
- [PATCH 2/6] gnu: Add colord-gtk., 宋文武, 2015/12/16
- [PATCH 3/6] gnu: Add libgtop., 宋文武, 2015/12/16
- [PATCH 4/6] gnu: gnome-bluetooth: New variable., 宋文武, 2015/12/16
- [PATCH 5/6] gnu: Add gnome-control-center., 宋文武, 2015/12/16
- [PATCH 6/6] gnu: Add gnome-shell.,
宋文武 <=
- Re: [PATCH 6/6] gnu: Add gnome-shell., Thompson, David, 2015/12/16
- Re: [PATCH 6/6] gnu: Add gnome-shell., Daniel Pimentel, 2015/12/17
- GNOME on GuixSD, 宋文武, 2015/12/20
- Re: GNOME on GuixSD, Efraim Flashner, 2015/12/20
- Re: GNOME on GuixSD, 宋文武, 2015/12/20
- Re: GNOME on GuixSD, Ludovic Courtès, 2015/12/21
- Re: GNOME on GuixSD, Thompson, David, 2015/12/20
- Re: GNOME on GuixSD, Ludovic Courtès, 2015/12/20
- Re: GNOME on GuixSD, Ludovic Courtès, 2015/12/20
- Re:GNOME on GuixSD, d4n1, 2015/12/21