Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/noto-emoji/files/
Date: Sun, 02 Jun 2019 14:51:27
Message-Id: 1559487075.44df10f7f0d0ae30b6bedfe2276fc9d7c3852194.pacho@gentoo
1 commit: 44df10f7f0d0ae30b6bedfe2276fc9d7c3852194
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 2 14:49:30 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 2 14:51:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44df10f7
7
8 media-fonts/noto-emoji: Commit forgotten patch
9
10 Closes: https://bugs.gentoo.org/687204
11 Package-Manager: Portage-2.3.67, Repoman-2.3.13
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 .../files/noto-emoji-20190328-use-gm.patch | 27 ++++++++++++++++++++++
15 1 file changed, 27 insertions(+)
16
17 diff --git a/media-fonts/noto-emoji/files/noto-emoji-20190328-use-gm.patch b/media-fonts/noto-emoji/files/noto-emoji-20190328-use-gm.patch
18 new file mode 100644
19 index 00000000000..6b51d0f5216
20 --- /dev/null
21 +++ b/media-fonts/noto-emoji/files/noto-emoji-20190328-use-gm.patch
22 @@ -0,0 +1,27 @@
23 +--- a/Makefile~ 2019-03-28 17:45:53.000000000 +0100
24 ++++ b/Makefile 2019-06-02 10:36:55.587055453 +0200
25 +@@ -21,7 +21,7 @@
26 + PNGQUANT = pngquant
27 + PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force
28 + BODY_DIMENSIONS = 136x128
29 +-IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center
30 ++IMOPS = -size 136x128 -background none -gravity center -extent 136x128 -compose copy
31 +
32 + # zopflipng is better (about 5-10%) but much slower. it will be used if
33 + # present. pass ZOPFLIPNG= as an arg to make to use optipng instead.
34 +@@ -165,13 +165,13 @@
35 + # imagemagick packaged with ubuntu trusty (6.7.7-10) by using -composite.
36 +
37 + $(EMOJI_DIR)/%.png: $(EMOJI_SRC_DIR)/%.png | $(EMOJI_DIR)
38 +- @convert $(IMOPS) "$<" -composite "PNG32:$@"
39 ++ @gm convert $(IMOPS) "$<" "PNG32:$@"
40 +
41 + $(FLAGS_DIR)/%.png: $(FLAGS_SRC_DIR)/%.png ./waveflag | $(FLAGS_DIR)
42 + @./waveflag $(FLAGS_DIR)/ "$<"
43 +
44 + $(RESIZED_FLAGS_DIR)/%.png: $(FLAGS_DIR)/%.png | $(RESIZED_FLAGS_DIR)
45 +- @convert $(IMOPS) "$<" -composite "PNG32:$@"
46 ++ @gm convert $(IMOPS) "$<" "PNG32:$@"
47 +
48 + flag-symlinks: $(RESIZED_FLAG_FILES) | $(RENAMED_FLAGS_DIR)
49 + @$(subst ^, , \