1 |
commit: fe2828046e6cc5fc7cc425cbd4e43adae8e3281a |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 11 06:19:05 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 11 06:21:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe282804 |
7 |
|
8 |
x11-apps/mkfontscale: Add patch from upstream |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
...autoconf-instead-of-sed-to-substitute-bin.patch | 51 ++++++++++++++++++++++ |
13 |
...le-1.2.0.ebuild => mkfontscale-1.2.0-r1.ebuild} | 8 +++- |
14 |
2 files changed, 57 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/x11-apps/mkfontscale/files/mkfontscale-1.2.0-Revert-Use-autoconf-instead-of-sed-to-substitute-bin.patch b/x11-apps/mkfontscale/files/mkfontscale-1.2.0-Revert-Use-autoconf-instead-of-sed-to-substitute-bin.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..fdeea14e31d |
19 |
--- /dev/null |
20 |
+++ b/x11-apps/mkfontscale/files/mkfontscale-1.2.0-Revert-Use-autoconf-instead-of-sed-to-substitute-bin.patch |
21 |
@@ -0,0 +1,51 @@ |
22 |
+From 29cab25240cf30f546671f265167a2eeadfd4c75 Mon Sep 17 00:00:00 2001 |
23 |
+From: Alan Coopersmith <alan.coopersmith@××××××.com> |
24 |
+Date: Thu, 7 Mar 2019 13:23:00 -0800 |
25 |
+Subject: [PATCH app/mkfontscale] Revert "Use autoconf instead of sed to |
26 |
+ substitute @bindir@ in mkfontdir.in" |
27 |
+ |
28 |
+This reverts commit 1f9d14bec07092d62da29a5a233cefbf84d47289. |
29 |
+It caused https://gitlab.freedesktop.org/xorg/app/mkfontscale/issues/5 |
30 |
+--- |
31 |
+ Makefile.am | 9 ++++++++- |
32 |
+ configure.ac | 1 - |
33 |
+ 2 files changed, 8 insertions(+), 2 deletions(-) |
34 |
+ |
35 |
+diff --git a/Makefile.am b/Makefile.am |
36 |
+index 7bb11ea..c36d171 100644 |
37 |
+--- a/Makefile.am |
38 |
++++ b/Makefile.am |
39 |
+@@ -23,6 +23,13 @@ SUBDIRS = man |
40 |
+ bin_PROGRAMS = mkfontscale |
41 |
+ bin_SCRIPTS = mkfontdir |
42 |
+ |
43 |
++CLEANFILES = $(bin_SCRIPTS) |
44 |
++EXTRA_DIST = $(bin_SCRIPTS:=.in) |
45 |
++DIR_SUBSTS = -e 's|@bindir[@]|$(bindir)|g' |
46 |
++ |
47 |
++mkfontdir: mkfontdir.in |
48 |
++ $(AM_V_GEN)$(SED) $(DIR_SUBSTS) < $(srcdir)/mkfontdir.in > $@ |
49 |
++ |
50 |
+ AM_CPPFLAGS = @MKFONTSCALE_CFLAGS@ @X11_CFLAGS@ -D_BSD_SOURCE |
51 |
+ AM_CFLAGS = $(CWARNFLAGS) |
52 |
+ mkfontscale_LDADD = @MKFONTSCALE_LIBS@ |
53 |
+@@ -59,4 +66,4 @@ lint: |
54 |
+ $(LINT) $(ALL_LINT_FLAGS) $(mkfontscale_SOURCES) |
55 |
+ endif LINT |
56 |
+ |
57 |
+-EXTRA_DIST = README.md |
58 |
++EXTRA_DIST += README.md |
59 |
+diff --git a/configure.ac b/configure.ac |
60 |
+index 5f5e463..7363bba 100644 |
61 |
+--- a/configure.ac |
62 |
++++ b/configure.ac |
63 |
+@@ -63,6 +63,5 @@ XORG_WITH_LINT |
64 |
+ |
65 |
+ AC_CONFIG_FILES([ |
66 |
+ Makefile |
67 |
+- mkfontdir |
68 |
+ man/Makefile]) |
69 |
+ AC_OUTPUT |
70 |
+-- |
71 |
+2.19.2 |
72 |
+ |
73 |
|
74 |
diff --git a/x11-apps/mkfontscale/mkfontscale-1.2.0.ebuild b/x11-apps/mkfontscale/mkfontscale-1.2.0-r1.ebuild |
75 |
similarity index 81% |
76 |
rename from x11-apps/mkfontscale/mkfontscale-1.2.0.ebuild |
77 |
rename to x11-apps/mkfontscale/mkfontscale-1.2.0-r1.ebuild |
78 |
index c0f737d6f42..3228a01ba4e 100644 |
79 |
--- a/x11-apps/mkfontscale/mkfontscale-1.2.0.ebuild |
80 |
+++ b/x11-apps/mkfontscale/mkfontscale-1.2.0-r1.ebuild |
81 |
@@ -15,11 +15,15 @@ COMMON_DEPEND=" |
82 |
media-libs/freetype:2 |
83 |
sys-libs/zlib |
84 |
app-arch/bzip2" |
85 |
-DEPEND="x11-base/xorg-proto" |
86 |
+DEPEND="${COMMON_DEPEND} |
87 |
+ x11-base/xorg-proto" |
88 |
RDEPEND="${COMMON_DEPEND} |
89 |
- ${DEPEND} |
90 |
!<x11-apps/mkfontdir-1.2.0" |
91 |
|
92 |
+PATCHES=( |
93 |
+ "${FILESDIR}"/${P}-Revert-Use-autoconf-instead-of-sed-to-substitute-bin.patch |
94 |
+) |
95 |
+ |
96 |
XORG_CONFIGURE_OPTIONS=( |
97 |
--with-bzip2 |
98 |
) |