all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34261] [PATCH]Add xclock
@ 2019-01-31  2:55 Yoshinori Arai
  2019-01-31 21:38 ` bug#34261: " Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Yoshinori Arai @ 2019-01-31  2:55 UTC (permalink / raw)
  To: 34261

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

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

* bug#34261: [PATCH]Add xclock
  2019-01-31  2:55 [bug#34261] [PATCH]Add xclock Yoshinori Arai
@ 2019-01-31 21:38 ` Marius Bakke
  2019-02-01  4:07   ` [bug#34261] " Yoshinori Arai
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2019-01-31 21:38 UTC (permalink / raw)
  To: Yoshinori Arai, 34261-done

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

Yoshinori Arai <kumagusu08@gmail.com> 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.

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

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

* [bug#34261] [PATCH]Add xclock
  2019-01-31 21:38 ` bug#34261: " Marius Bakke
@ 2019-02-01  4:07   ` Yoshinori Arai
  0 siblings, 0 replies; 3+ messages in thread
From: Yoshinori Arai @ 2019-02-01  4:07 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 34261-done

On Thu, Jan 31, 2019 at 10:38:40PM +0100, Marius Bakke wrote:
> Yoshinori Arai <kumagusu08@gmail.com> 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.

Hello,

I will try to use git-format-patch next time.

Thank you.

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

end of thread, other threads:[~2019-02-01  4:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-31  2:55 [bug#34261] [PATCH]Add xclock Yoshinori Arai
2019-01-31 21:38 ` bug#34261: " Marius Bakke
2019-02-01  4:07   ` [bug#34261] " Yoshinori Arai

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.