--- Begin Message ---
Subject: |
[PATCH]Add xclock |
Date: |
Thu, 31 Jan 2019 11:55:01 +0900 |
User-agent: |
NeoMutt/20180716 |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#34261] [PATCH]Add xclock |
Date: |
Thu, 31 Jan 2019 22:38:40 +0100 |
User-agent: |
Notmuch/0.28 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) |
Yoshinori Arai <address@hidden> 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.
signature.asc
Description: PGP signature
--- End Message ---