Subject: bug#34261: closed (Re: [bug#34261] [PATCH]Add xclock)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 31 Jan 2019 21:39:02 +0000

Your bug report

#34261: [PATCH]Add xclock

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 [email-masked].

-- 
34261: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34261
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#34261] [PATCH]Add xclock
From: Marius Bakke <[email-masked]>
To: Yoshinori Arai <[email-masked]>, [email-masked]
Date: Thu, 31 Jan 2019 22:38:40 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Yoshinori Arai <[email-masked]> writes:

> Hello, my first patch.
> gnu: Add xclock

Hello, and welcome!

I moved the package definition to xorg.scm since it's part of the X11
infrastructure.  The license seems to be some X11/MIT hybrid, so I
changed it to use the "x11-style" license procedure rather than "x11".

I also added a copyright notice for you.

Pushed as ff75441fcf0ba1212b0342f933a8999bafe60f03, thank you!

PS: In the future, please use 'git format-patch' before sending the patch to
the bug tracker, that makes it easier to apply and test locally.

Subject: [PATCH]Add xclock
From: Yoshinori Arai <[email-masked]>
To: [email-masked]
Date: Thu, 31 Jan 2019 11:55:01 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello, my first patch.
gnu: Add xclock

1 file changed, 30 insertions(+)
gnu/packages/xdisorg.scm | 30 ++++++++++++++++++++++++++++++

modified   gnu/packages/xdisorg.scm
@@ -294,6 +294,36 @@ between desktops, and change the number of desktops.")
 following the mouse.")
     (license license:x11)))
 
+(define-public xclock
+  (package
+    (name "xclock")
+    (version "1.0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.x.org/releases/individual/app/"
+                           name "-" version ".tar.bz2"))
+       (sha256
+        (base32 "1l3xv4bsca6bwxx73jyjz0blav86i7vwffkhdb1ac81y9slyrki3"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-appdefaultdir="
+                            %output ,%app-defaults-dir))))
+    (inputs
+     `(("libxmu" ,libxmu)
+       ("libx11" ,libx11)
+       ("libxaw" ,libxaw)
+       ("libxrender" ,libxrender)
+       ("libxft" ,libxft)
+       ("libxkbfile" ,libxkbfile)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://www.x.org/")
+    (synopsis "Analog / digital clock for X")
+    (description "The xclock program displays the time in analog or digital
+ form.")
+    (license license:x11)))
 
 (define-public pixman
   (package