* [PATCH] gnu: Add gnome-screenshot.
@ 2016-02-21 5:30 rennes
2016-02-22 12:02 ` 宋文武
0 siblings, 1 reply; 2+ messages in thread
From: rennes @ 2016-02-21 5:30 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 132 bytes --]
Hi,
i attached gnome-screenshot patch for review.
GNOME Screenshot is a utility used for taking screenshots of the screen.
Thanks
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-gnome-screenshot.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-gnome-screenshot.patch, Size: 1848 bytes --]
From be7026e12d1ae7611f4b85188fb6400799c39c25 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Sat, 20 Feb 2016 23:25:12 -0600
Subject: [PATCH] gnu: Add gnome-screenshot.
* gnu/packages/gnome.scm (gnome-screenshot): New variable.
---
gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 363d920..8406056 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4711,6 +4711,37 @@ can add your own files to the collection.")
license:cc-by-sa2.0
license:cc-by-sa3.0))))
+(define-public gnome-screenshot
+ (package
+ (name "gnome-screenshot")
+ (version "3.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
+ (build-system glib-or-gtk-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ;; XXX: for glib-compile-schemas, gio-2.0.
+ ("intltool" ,intltool)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("gtk+" ,gtk+)
+ ("libcanberra" ,libcanberra)
+ ("libx11" ,libx11)
+ ("libxext" ,libxext)))
+ (home-page "https://git.gnome.org/browse/gnome-screenshot")
+ (synopsis "Take pictures of your screen")
+ (description
+ "GNOME Screenshot is a utility used for taking screenshots of the entire
+screen, a window or a user defined area of the screen, with optional
+beautifying border effects.")
+ (license license:gpl2+)))
+
(define-public gnome
(package
(name "gnome")
--
2.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add gnome-screenshot.
2016-02-21 5:30 [PATCH] gnu: Add gnome-screenshot rennes
@ 2016-02-22 12:02 ` 宋文武
0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2016-02-22 12:02 UTC (permalink / raw)
To: rennes; +Cc: guix-devel
rennes@openmailbox.org writes:
> Hi,
>
> i attached gnome-screenshot patch for review.
>
> GNOME Screenshot is a utility used for taking screenshots of the screen.
>
> Thanks
>
> From be7026e12d1ae7611f4b85188fb6400799c39c25 Mon Sep 17 00:00:00 2001
> From: Rene Saavedra <rennes@openmailbox.org>
> Date: Sat, 20 Feb 2016 23:25:12 -0600
> Subject: [PATCH] gnu: Add gnome-screenshot.
>
> * gnu/packages/gnome.scm (gnome-screenshot): New variable.
>
> ---
> gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index 363d920..8406056 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -4711,6 +4711,37 @@ can add your own files to the collection.")
> license:cc-by-sa2.0
> license:cc-by-sa3.0))))
>
> +(define-public gnome-screenshot
> + (package
> + (name "gnome-screenshot")
> + (version "3.18.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "mirror://gnome/sources/" name "/"
> + (version-major+minor version) "/"
> + name "-" version ".tar.xz"))
> + (sha256
> + (base32
> + "0hc8m435q7yzvrw7jpi53kaxpmrd9w59sm7c5wibh2ng9azlv9pb"))))
> + (build-system glib-or-gtk-build-system)
> + (native-inputs
> + `(("glib:bin" ,glib "bin") ;; XXX: for glib-compile-schemas, gio-2.0.
Use single ‘;’ for inline comment.
“XXX” is for TODO or FIXME, here it’s just note.
> + ("intltool" ,intltool)
> + ("pkg-config" ,pkg-config)))
> + (inputs
> + `(("gtk+" ,gtk+)
> + ("libcanberra" ,libcanberra)
> + ("libx11" ,libx11)
> + ("libxext" ,libxext)))
> + (home-page "https://git.gnome.org/browse/gnome-screenshot")
> + (synopsis "Take pictures of your screen")
> + (description
> + "GNOME Screenshot is a utility used for taking screenshots of the entire
> +screen, a window or a user defined area of the screen, with optional
> +beautifying border effects.")
> + (license license:gpl2+)))
> +
> (define-public gnome
> (package
> (name "gnome")
Pushed with comment little adjusted, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-22 12:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 5:30 [PATCH] gnu: Add gnome-screenshot rennes
2016-02-22 12:02 ` 宋文武
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).