Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/m17n-lib/, dev-libs/m17n-lib/files/
Date: Wed, 29 Aug 2018 12:47:09
Message-Id: 1535546792.a5cfb0c36c36a3dc93e3ed874babfe8b90406a2b.hattya@gentoo
1 commit: a5cfb0c36c36a3dc93e3ed874babfe8b90406a2b
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 29 12:42:52 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 29 12:46:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5cfb0c3
7
8 dev-libs/m17n-lib: update patches
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-libs/m17n-lib/files/m17n-lib-configure.patch | 25 +++++++++++++++++-------
13 dev-libs/m17n-lib/files/m17n-lib-gui.patch | 13 ------------
14 dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild | 1 -
15 dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild | 1 -
16 4 files changed, 18 insertions(+), 22 deletions(-)
17
18 diff --git a/dev-libs/m17n-lib/files/m17n-lib-configure.patch b/dev-libs/m17n-lib/files/m17n-lib-configure.patch
19 index 00ba09493f3..04ffc7749a5 100644
20 --- a/dev-libs/m17n-lib/files/m17n-lib-configure.patch
21 +++ b/dev-libs/m17n-lib/files/m17n-lib-configure.patch
22 @@ -1,6 +1,17 @@
23 --- a/configure.ac
24 +++ b/configure.ac
25 -@@ -125,7 +125,9 @@ if test "x$no_x" != "xyes"; then
26 +@@ -97,8 +97,8 @@
27 +
28 + dnl Checks which levels of APIs should be compiled.
29 +
30 +-AC_ARG_ENABLE(gui,
31 +- AS_HELP_STRING([--enable-gui],[enable GUI level APIs (default is YES)]))
32 ++AC_ARG_WITH(gui,
33 ++ AS_HELP_STRING([--with-gui],[enable GUI level APIs (default is YES)]))
34 +
35 + AM_CONDITIONAL(WITH_GUI, test x$with_gui != xno)
36 +
37 +@@ -125,7 +125,9 @@
38 X11_LD_FLAGS="-lXt -lX11"
39 M17N_EXT_LIBS="$M17N_EXT_LIBS X11"
40
41 @@ -11,7 +22,7 @@
42 AC_DEFINE(HAVE_X11_XAW_COMMAND_H, 1,
43 [Define to 1 if you have the Xaw header files.])
44 XAW_LD_FLAGS="-lXaw -lXmu"
45 -@@ -149,7 +151,9 @@ else
46 +@@ -149,7 +151,9 @@
47 fi
48 AC_CHECK_LIB(fribidi, fribidi_set_mirroring, HAVE_FRIBIDI=yes, HAVE_FRIBIDI=no)
49 AC_CHECK_HEADER(fribidi/fribidi.h,, HAVE_FRIBIDI=no)
50 @@ -22,7 +33,7 @@
51 AC_DEFINE(HAVE_FRIBIDI, 1,
52 [Define to 1 if you have Fribidi library and header file.])
53 M17N_EXT_LIBS="$M17N_EXT_LIBS fribidi"
54 -@@ -202,8 +206,10 @@ fi
55 +@@ -202,8 +206,10 @@
56 AC_SUBST(OTF_LD_FLAGS)
57
58 dnl Check for Freetype2 usability.
59 @@ -34,7 +45,7 @@
60 FREETYPE_INC=`freetype-config --cflags`
61 save_CPPFLAGS="$CPPFLAGS"
62 CPPFLAGS="$CPPFLAGS $FREETYPE_INC"
63 -@@ -255,7 +261,9 @@ AC_CHECK_HEADER(X11/Xft/Xft.h,, HAVE_XFT2=no,
64 +@@ -255,7 +261,9 @@
65 #else
66 Version too old. Compiling this line should fail.
67 #endif])
68 @@ -45,7 +56,7 @@
69 AC_DEFINE(HAVE_XFT2, 1,
70 [Define to 1 if you have Xft2 library and header file.])
71 M17N_EXT_LIBS="$M17N_EXT_LIBS xft2"
72 -@@ -330,7 +338,9 @@ else
73 +@@ -330,7 +338,9 @@
74 fi
75 AC_CHECK_LIB(xml2, xmlParseMemory, HAVE_XML2=yes, HAVE_XML2=no)
76 AC_CHECK_HEADER(libxml/tree.h,, HAVE_XML2=no, /**/)
77 @@ -56,7 +67,7 @@
78 AC_DEFINE(HAVE_XML2, 1,
79 [Define to 1 if you have libxml2 library and header file])
80 M17N_EXT_LIBS="$M17N_EXT_LIBS xml2"
81 -@@ -344,7 +354,9 @@ AC_SUBST(XML2_LD_FLAGS)
82 +@@ -344,7 +354,9 @@
83 dnl Check for Anthy usability.
84
85 PKG_CHECK_MODULES(ANTHY, anthy, HAVE_ANTHY=yes, HAVE_ANTHY=no)
86 @@ -67,7 +78,7 @@
87 AC_DEFINE(HAVE_ANTHY, 1,
88 [Define to 1 if you have Anthy library and header file])
89 M17N_EXT_LIBS="$M17N_EXT_LIBS anthy"
90 -@@ -355,7 +367,9 @@ AC_SUBST(ANTHY_LD_FLAGS)
91 +@@ -355,7 +367,9 @@
92
93 dnl Check for Ispell usability.
94 AC_CHECK_PROG(HAVE_ISPELL, ispell, yes)
95
96 diff --git a/dev-libs/m17n-lib/files/m17n-lib-gui.patch b/dev-libs/m17n-lib/files/m17n-lib-gui.patch
97 deleted file mode 100644
98 index b60d81bbc22..00000000000
99 --- a/dev-libs/m17n-lib/files/m17n-lib-gui.patch
100 +++ /dev/null
101 @@ -1,13 +0,0 @@
102 ---- a/configure.ac
103 -+++ b/configure.ac
104 -@@ -97,8 +97,8 @@
105 -
106 - dnl Checks which levels of APIs should be compiled.
107 -
108 --AC_ARG_ENABLE(gui,
109 -- AS_HELP_STRING([--enable-gui],[enable GUI level APIs (default is YES)]))
110 -+AC_ARG_WITH(gui,
111 -+ AS_HELP_STRING([--with-gui],[enable GUI level APIs (default is YES)]))
112 -
113 - AM_CONDITIONAL(WITH_GUI, test x$with_gui != xno)
114 -
115
116 diff --git a/dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild
117 index 089a7275cc9..b5dcd1285ee 100644
118 --- a/dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild
119 +++ b/dev-libs/m17n-lib/m17n-lib-1.7.0.ebuild
120 @@ -36,7 +36,6 @@ DEPEND="${RDEPEND}
121 PATCHES=(
122 "${FILESDIR}"/${PN}-configure.patch
123 "${FILESDIR}"/${PN}-freetype.patch
124 - "${FILESDIR}"/${PN}-gui.patch
125 "${FILESDIR}"/${PN}-ispell.patch
126 "${FILESDIR}"/${PN}-parallel-make.patch
127 )
128
129 diff --git a/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild
130 index 7ea10bb0d92..ca3d353d0df 100644
131 --- a/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild
132 +++ b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild
133 @@ -36,7 +36,6 @@ DEPEND="${RDEPEND}
134 PATCHES=(
135 "${FILESDIR}"/${PN}-configure.patch
136 "${FILESDIR}"/${PN}-freetype.patch
137 - "${FILESDIR}"/${PN}-gui.patch
138 "${FILESDIR}"/${PN}-ispell.patch
139 "${FILESDIR}"/${PN}-parallel-make.patch
140 )