GNU bug report logs - #45075
[PATCH] gnu: Add hsetroot.

Previous Next

Package: guix-patches;

Reported by: Z572 <873216071 <at> qq.com>

Date: Sun, 6 Dec 2020 16:40:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Z572 <873216071 <at> qq.com>
Subject: bug#45075: closed (Re: [bug#45075] [PATCH] gnu: Add hsetroot.)
Date: Fri, 11 Dec 2020 17:57:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45075: [PATCH] gnu: Add hsetroot.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45075 <at> debbugs.gnu.org.

-- 
45075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45075
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Z572 <873216071 <at> qq.com>
Cc: 45075-done <at> debbugs.gnu.org
Subject: Re: [bug#45075] [PATCH] gnu: Add hsetroot.
Date: Fri, 11 Dec 2020 18:56:03 +0100
[Message part 3 (text/plain, inline)]
Hi,

Z572 <873216071 <at> qq.com> skribis:

>>From ee9f7740d38c03d4331a971dcd2dc0df327d5a6c Mon Sep 17 00:00:00 2001
> From: Zheng Junjie <873216071 <at> 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’.

[Message part 4 (text/x-patch, inline)]
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
[Message part 5 (message/rfc822, inline)]
From: Z572 <873216071 <at> qq.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add hsetroot.
Date: Sun, 06 Dec 2020 22:49:13 +0800
[0001-gnu-Add-hsetroot.patch (text/x-patch, attachment)]
From ee9f7740d38c03d4331a971dcd2dc0df327d5a6c Mon Sep 17 00:00:00 2001
From: Zheng Junjie <873216071 <at> 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 <at> rohleder.de>
 ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2020 Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>
+;;; Copyright © 2020 Zheng Junjie <873216071 <at> 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




This bug report was last modified 4 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.