unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40306] [PATCH] gnu: Add xwallpaper
@ 2020-03-29  1:35 John Soo
  2020-04-02 16:51 ` bug#40306: " Marius Bakke
  0 siblings, 1 reply; 2+ messages in thread
From: John Soo @ 2020-03-29  1:35 UTC (permalink / raw)
  To: 40306

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

Hi Guix,

xwallpaper is a small wallpapering program. It is like feh and quite
handy if you use a window manager.

Thanks,

John


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: add xwallpaper --]
[-- Type: text/x-patch, Size: 1893 bytes --]

>From 486a6ef62aeb401bd80f960f3587187b41997085 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Fri, 27 Mar 2020 08:31:10 -0700
Subject: [PATCH] gnu: Add xwallpaper.

* gnu/packages/image-viewers.scm (xwallpaper): New variable.
---
 gnu/packages/image-viewers.scm | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 8f3f61c4b1..01191b7ef5 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -596,3 +596,38 @@ with tiling window managers.  Features include:
 @end itemize\n")
     (home-page "https://github.com/eXeC64/imv")
     (license license:expat)))
+
+(define-public xwallpaper
+  (package
+    (name "xwallpaper")
+    (version "0.6.4")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/stoeckmann/xwallpaper")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "175fzifvia58vah2x7509drvfn3xfv5d9szgh9x1w1a1w8rcs2hx"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libjpeg-turbo" ,libjpeg-turbo)
+       ("libpng" ,libpng)
+       ("libxpm" ,libxpm)
+       ("pixman" ,pixman)
+       ("pkg-config" ,pkg-config)
+       ("xcb-util" ,xcb-util)
+       ("xcb-util-image" ,xcb-util-image)))
+    (home-page "https://github.com/stoeckmann/xwallpaper")
+    (synopsis "Wallpaper setting utility for X")
+    (description
+     "The xwallpaper utility allows you to set image files as your X
+wallpaper. JPEG, PNG, and XPM file formats are supported.
+
+The wallpaper is also advertised to programs which support semi-transparent
+backgrounds.")
+    (license license:isc)))
-- 
2.26.0


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

* bug#40306: [PATCH] gnu: Add xwallpaper
  2020-03-29  1:35 [bug#40306] [PATCH] gnu: Add xwallpaper John Soo
@ 2020-04-02 16:51 ` Marius Bakke
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-04-02 16:51 UTC (permalink / raw)
  To: John Soo, 40306-done

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

John Soo <jsoo1@asu.edu> writes:

> Hi Guix,
>
> xwallpaper is a small wallpapering program. It is like feh and quite
> handy if you use a window manager.

Thanks!  I moved it to xdisorg.scm as that seemed more appropriate.  I
also added a copyright line for you, and fixed the indentation.

After doing so I noticed that 'autoconf' and friends were in 'inputs'
instead of 'native-inputs', so I fixed those too as suggested by 'guix
lint'.  In hindsight I should have bounced it back to you, but oh well.

Applied!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2020-04-02 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-29  1:35 [bug#40306] [PATCH] gnu: Add xwallpaper John Soo
2020-04-02 16:51 ` bug#40306: " Marius Bakke

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