unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37270] [PATCH 02/20] gnu: Add xfce4-screensaver.
@ 2019-09-02 13:52 L p R n d n
  2019-09-04 21:38 ` bug#37270: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: L p R n d n @ 2019-09-02 13:52 UTC (permalink / raw)
  To: 37270

* gnu/packages/xfce.scm (xfce4-screensaver): New variable.
---
 gnu/packages/xfce.scm | 47 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 388732352e..df894b5c9a 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1120,3 +1120,50 @@ window or a selected region. You can set the delay that elapses before the scree
 is taken and the action that will be done with the screenshot.
 A plugin for the Xfce panel is also available.")
    (license gpl2+)))
+
+(define-public xfce4-screensaver
+  (package
+   (name "xfce4-screensaver")
+   (version "0.1.8")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "http://archive.xfce.org/src/apps/"
+                                "xfce4-screensaver/"
+                                (version-major+minor version)
+                                "/xfce4-screensaver-"
+                                version ".tar.bz2"))
+            (sha256
+             (base32
+              "1mv0r150yb29kji2rr2462g9p574bqjax1lb6bzcqgpxlmg08mj0"))))
+   (build-system gnu-build-system)
+   (arguments
+    `(#:phases
+      (modify-phases %standard-phases
+         (add-after 'unpack 'fix-dbus-1-path
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (dbus-dir (string-append out "/share/dbus-1/services")))
+               (substitute* "configure"
+                            (("DBUS_SESSION_SERVICE_DIR=.*")
+                             (string-append "DBUS_SESSION_SERVICE_DIR="
+                                            dbus-dir)))))))))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)
+      ("intltool" ,intltool)
+      ("glib" ,glib)                    ; glib-compile-schemas
+      ("glib:bin" ,glib "bin")))        ; glib-compile-schemas
+   (inputs
+    `(("dbus-glib" ,dbus-glib)
+      ("libux-pam" ,linux-pam)
+      ("elogind" ,elogind)
+      ("garcon" ,garcon)
+      ("libxklavier" ,libxklavier)
+      ("libwnxk" ,libwnck)
+      ("libxscrnsaver" ,libxscrnsaver)
+      ("xfconf" ,xfconf)))
+   (home-page "https://docs.xfce.org/apps/screensaver/start")
+   (synopsis "Screensaver for the Xfce desktop")
+   (description
+    "Xfce Screensaver is a screen saver and locker that aims to have simple,
+ sane, secure defaults and be well integrated with the Xfce desktop. ")
+   (license gpl2+)))
-- 
2.22.0

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

* bug#37270: [PATCH 02/20] gnu: Add xfce4-screensaver.
  2019-09-02 13:52 [bug#37270] [PATCH 02/20] gnu: Add xfce4-screensaver L p R n d n
@ 2019-09-04 21:38 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-09-04 21:38 UTC (permalink / raw)
  To: L p R n d n; +Cc: 37270-done

L  p R n  d n <guix@lprndn.info> skribis:

> * gnu/packages/xfce.scm (xfce4-screensaver): New variable.

I adjusted the indentation to match our conventions and committed.
Thanks!

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

end of thread, other threads:[~2019-09-04 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-02 13:52 [bug#37270] [PATCH 02/20] gnu: Add xfce4-screensaver L p R n d n
2019-09-04 21:38 ` bug#37270: " Ludovic Courtès

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).