1 |
commit: db5c0e5a9cbdd10a7e818c06f1c6bad28f61e6f1 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 17 13:56:10 2021 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 17 14:00:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5c0e5a |
7 |
|
8 |
app-i18n/ibus-fbterm: do not compress man pages |
9 |
|
10 |
Closes: https://bugs.gentoo.org/746341 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
13 |
|
14 |
app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch | 18 ++++++++++++++++++ |
15 |
app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild | 11 +++++++++++ |
16 |
2 files changed, 29 insertions(+) |
17 |
|
18 |
diff --git a/app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch b/app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..f3da1dd4ac6 |
21 |
--- /dev/null |
22 |
+++ b/app-i18n/ibus-fbterm/files/ibus-fbterm-man.patch |
23 |
@@ -0,0 +1,18 @@ |
24 |
+--- a/Makefile.am |
25 |
++++ b/Makefile.am |
26 |
+@@ -4,14 +4,12 @@ |
27 |
+ |
28 |
+ man_one_in_files = ibus-fbterm.1.in |
29 |
+ man_one_files = $(man_one_in_files:.1.in=.1) |
30 |
+-man_one_DATA =$(man_one_files:.1=.1.gz) |
31 |
++man_one_DATA =$(man_one_files) |
32 |
+ man_onedir = $(mandir)/man1 |
33 |
+ %.1: %.1.in |
34 |
+ $(AM_V_GEN) sed \ |
35 |
+ -e 's|@VERSION[@]|$(VERSION)|g' $< > $@.tmp && \ |
36 |
+ mv $@.tmp $@ |
37 |
+-%.1.gz: %.1 |
38 |
+- $(AM_V_GEN) gzip -c $< > $@.tmp && mv $@.tmp $@ |
39 |
+ |
40 |
+ dist-hook: |
41 |
+ if test -d .git ; then \ |
42 |
|
43 |
diff --git a/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild b/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild |
44 |
index 169ad6d59d3..1b6ae892c9c 100644 |
45 |
--- a/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild |
46 |
+++ b/app-i18n/ibus-fbterm/ibus-fbterm-1.0.1.ebuild |
47 |
@@ -3,6 +3,8 @@ |
48 |
|
49 |
EAPI="7" |
50 |
|
51 |
+inherit autotools |
52 |
+ |
53 |
DESCRIPTION="IBus client for FbTerm" |
54 |
HOMEPAGE="https://github.com/fujiwarat/ibus-fbterm" |
55 |
SRC_URI="https://github.com/fujiwarat/${PN}/releases/download/${PV}/${P}.tar.gz" |
56 |
@@ -17,3 +19,12 @@ RDEPEND="app-i18n/ibus |
57 |
dev-libs/glib:2" |
58 |
DEPEND="${RDEPEND}" |
59 |
BDEPEND="virtual/pkgconfig" |
60 |
+ |
61 |
+PATCHES=( "${FILESDIR}"/${PN}-man.patch ) |
62 |
+ |
63 |
+AT_M4DIR="m4" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ eautoreconf |
68 |
+} |