* [bug#45075] [PATCH] gnu: Add hsetroot.
@ 2020-12-06 14:49 Z572
2020-12-11 17:56 ` bug#45075: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Z572 @ 2020-12-06 14:49 UTC (permalink / raw)
To: 45075
[-- Attachment #1: 0001-gnu-Add-hsetroot.patch --]
[-- Type: text/x-patch, Size: 2334 bytes --]
From ee9f7740d38c03d4331a971dcd2dc0df327d5a6c Mon Sep 17 00:00:00 2001
From: Zheng Junjie <873216071@qq.com>
Date: Sun, 6 Dec 2020 21:36:11 +0800
Subject: [PATCH 1/1] gnu: Add hsetroot.
---
gnu/packages/xorg.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index e64ffb58fc..9032f418c6 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -26,6 +26,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note@m4x.org>
+;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4495,6 +4496,47 @@ a display running X server.")
(license license:x11)))
+(define-public hsetroot
+ (package
+ (name "hsetroot")
+ (version "1.0.5")
+ (home-page "https://github.com/himdel/hsetroot")
+ (source (origin
+ (method git-fetch)
+ (file-name (git-file-name name version))
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (sha256
+ (base32
+ "1jbk5hlxm48zmjzkaq5946s58rqwg1v1ds2sdyd2ba029hmvr722"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f
+ #:make-flags
+ (list
+ "CC=gcc"
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'install 'mkdir-install-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (mkdir-p (string-append out "/bin"))))))))
+ (inputs
+ `(("libx11" ,libx11)
+ ("imlib2" ,imlib2)
+ ("libxinerama" ,libxinerama)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (synopsis "Imlib2-based wallpaper changer")
+ (description
+ "A tool which allows you to compose wallpapers for X.
+ A fork of hsetroot by Hyriand.")
+ (license license:gpl2)))
+
+
(define-public xtrans
(package
(name "xtrans")
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#45075: [PATCH] gnu: Add hsetroot.
2020-12-06 14:49 [bug#45075] [PATCH] gnu: Add hsetroot Z572
@ 2020-12-11 17:56 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-12-11 17:56 UTC (permalink / raw)
To: Z572; +Cc: 45075-done
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
Hi,
Z572 <873216071@qq.com> skribis:
>>From ee9f7740d38c03d4331a971dcd2dc0df327d5a6c Mon Sep 17 00:00:00 2001
> From: Zheng Junjie <873216071@qq.com>
> Date: Sun, 6 Dec 2020 21:36:11 +0800
> Subject: [PATCH 1/1] gnu: Add hsetroot.
>
> ---
> gnu/packages/xorg.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
I added a commit log following our conventions, made the changes below,
and committed.
Thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 772 bytes --]
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 9032f418c6..ae25d093de 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -4495,7 +4495,6 @@ up your screen.")
a display running X server.")
(license license:x11)))
-
(define-public hsetroot
(package
(name "hsetroot")
@@ -4532,9 +4531,9 @@ a display running X server.")
`(("pkg-config" ,pkg-config)))
(synopsis "Imlib2-based wallpaper changer")
(description
- "A tool which allows you to compose wallpapers for X.
- A fork of hsetroot by Hyriand.")
- (license license:gpl2)))
+ "The @command{hsetroot} command composes wallpapers for X.
+This package is the fork of hsetroot by Hyriand.")
+ (license license:gpl2+)))
(define-public xtrans
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-11 18:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 14:49 [bug#45075] [PATCH] gnu: Add hsetroot Z572
2020-12-11 17:56 ` bug#45075: " 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).