unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 6851e4aedec9bdee8e9d6de55a32a9f97fcacd8b 600 bytes (raw)
name: gnu/packages/patches/laby-make-png.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
From 6d3c05e25f2b5f231abf5bb4af4bc0b06455b0e4 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Thu, 11 Feb 2016 18:30:19 +0100
Subject: [PATCH] Add make png.

---
 Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 5d9d733..f54d09b 100644
--- a/Makefile
+++ b/Makefile
@@ -27,3 +27,10 @@ install:
 	cp laby $(PREFIX)/bin/laby
 	mkdir -p $(PREFIX)/share/laby
 	tar -C data -cf - . | tar -C $(PREFIX)/share/laby -xf-
+
+SVG:=$(wildcard data/tiles/*.svg)
+PNG:=$(SVG:%.svg=%.png)
+png: $(PNG)
+
+%.png: %.svg
+	convert $^ $@
-- 
2.1.4


debug log:

solving 6851e4a ...
found 6851e4a in https://yhetil.org/guix-devel/87twkjmfjt.fsf@drakenvlieg.flower/ ||
	https://yhetil.org/guix-devel/87pow19gii.fsf@gnu.org/ ||
	https://yhetil.org/guix-devel/87k2madh1x.fsf@gnu.org/

applying [1/1] https://yhetil.org/guix-devel/87twkjmfjt.fsf@drakenvlieg.flower/
diff --git a/gnu/packages/patches/laby-make-png.patch b/gnu/packages/patches/laby-make-png.patch
new file mode 100644
index 0000000..6851e4a

1:21: space before tab in indent.
 	cp laby $(PREFIX)/bin/laby
1:22: space before tab in indent.
 	mkdir -p $(PREFIX)/share/laby
1:23: space before tab in indent.
 	tar -C data -cf - . | tar -C $(PREFIX)/share/laby -xf-
1:31: trailing whitespace.
-- 
Checking patch gnu/packages/patches/laby-make-png.patch...
1:33: new blank line at EOF.
+
Applied patch gnu/packages/patches/laby-make-png.patch cleanly.
warning: 5 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/87pow19gii.fsf@gnu.org/ for 6851e4a
skipping https://yhetil.org/guix-devel/87k2madh1x.fsf@gnu.org/ for 6851e4a
index at:
100644 6851e4aedec9bdee8e9d6de55a32a9f97fcacd8b	gnu/packages/patches/laby-make-png.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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