unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] xscreenshot fix
@ 2015-07-29 14:11 Orchidaceae Phalaenopsis
  2015-07-29 15:53 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Orchidaceae Phalaenopsis @ 2015-07-29 14:11 UTC (permalink / raw)
  To: guix-devel

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

This patch fixes the lint error in the earlier submission.

[-- Attachment #2: 0001-gnu-Add-xscreenshot.patch --]
[-- Type: text/x-patch, Size: 1931 bytes --]

From ee624abf3aada75b5fa234eec0b28fd5e2c561b0 Mon Sep 17 00:00:00 2001
From: Alf Levan <orchid.hybrid@gmail.com>
Date: Mon, 27 Jul 2015 18:34:44 +0100
Subject: [PATCH 1/2] gnu: Add xscreenshot.

* gnu/packages/suckless.scm (xscreenshot): New variable.
---
 gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index c921f8e..6a4a03d 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -21,6 +21,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages)
   #:use-module (gnu packages xorg)
@@ -189,4 +190,32 @@ implements 256 colors, most VT10X escape sequences, utf8, X11 copy/paste,
 antialiased fonts (using fontconfig), fallback fonts, resizing, and line
 drawing.")
     (license license:x11)))
+
+(define-public xscreenshot
+  (package
+    (name "xscreenshot")
+    (version "1.0")
+    (source (origin
+	     (method git-fetch)
+	     (uri (git-reference
+		   (url "git://git.2f30.org/xscreenshot")
+		   (commit "cb8ad23")))
+	     (sha256
+	      (base32
+	       "1sqhxybzi8mmb0jg78swp0vpbdiqhckd283k33lfffsd0lkgch88"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ; no tests
+       #:make-flags (list "CC=gcc"
+                          (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (inputs
+     `(("libx11" ,libx11)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page "http://git.2f30.org/xscreenshot/")
+    (synopsis "Make screenshot")
+    (description
+     "xscreenshot is a simple screenshot utility.  It writes image data to stdout.")
+    (license license:x11)))
-- 
2.4.3


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

end of thread, other threads:[~2015-07-29 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29 14:11 [PATCH] xscreenshot fix Orchidaceae Phalaenopsis
2015-07-29 15:53 ` Mark H Weaver

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).