1 |
flameeyes 11/01/19 15:41:31 |
2 |
|
3 |
Modified: libchewing-0.3.2-r1.ebuild ChangeLog |
4 |
Log: |
5 |
Introduce static-libs USE flag to avoid building the static archive for libchewing; remove .la file that is never required (no dependencies for the static archive); ncurses is not a runtime dependency but rather only a test dependency (with libncursesw which is provided by the unicode USE flag). Drop the pkg_postinst as the old libraries are not preserved, so they cannot be there unless user did copy them manually. |
6 |
|
7 |
(Portage version: 2.2.0_alpha17/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-libs/libchewing/libchewing-0.3.2-r1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libchewing/libchewing-0.3.2-r1.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libchewing/libchewing-0.3.2-r1.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libchewing/libchewing-0.3.2-r1.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: libchewing-0.3.2-r1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libchewing/libchewing-0.3.2-r1.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- libchewing-0.3.2-r1.ebuild 12 Dec 2010 09:00:11 -0000 1.1 |
23 |
+++ libchewing-0.3.2-r1.ebuild 19 Jan 2011 15:41:31 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
-# Copyright 1999-2010 Gentoo Foundation |
26 |
+# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/libchewing-0.3.2-r1.ebuild,v 1.1 2010/12/12 09:00:11 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/libchewing-0.3.2-r1.ebuild,v 1.2 2011/01/19 15:41:31 flameeyes Exp $ |
30 |
|
31 |
EAPI=2 |
32 |
|
33 |
@@ -13,12 +13,15 @@ |
34 |
SLOT="0" |
35 |
LICENSE="GPL-2" |
36 |
KEYWORDS="~amd64 ~ppc ~x86" |
37 |
-IUSE="debug test" |
38 |
+IUSE="debug test static-libs" |
39 |
|
40 |
-RDEPEND="sys-libs/ncurses" |
41 |
+RDEPEND="" |
42 |
DEPEND="${RDEPEND} |
43 |
dev-util/pkgconfig |
44 |
- test? ( >=dev-libs/check-0.9.4 )" |
45 |
+ test? ( |
46 |
+ sys-libs/ncurses[unicode] |
47 |
+ >=dev-libs/check-0.9.4 |
48 |
+ )" |
49 |
|
50 |
src_prepare() { |
51 |
epatch "${FILESDIR}"/0.3.2-fix-chewing-zuin-String.patch |
52 |
@@ -29,7 +32,8 @@ |
53 |
|
54 |
src_configure() { |
55 |
export CC_FOR_BUILD="$(tc-getBUILD_CC)" |
56 |
- econf $(use_enable debug) || die |
57 |
+ econf $(use_enable debug) \ |
58 |
+ $(use_enable static-libs static) || die |
59 |
} |
60 |
|
61 |
src_test() { |
62 |
@@ -41,19 +45,7 @@ |
63 |
src_install() { |
64 |
emake DESTDIR="${D}" install || die |
65 |
|
66 |
- dodoc AUTHORS ChangeLog NEWS README TODO || die |
67 |
-} |
68 |
+ find "${D}"/usr/$(get_libdir) -name '*.la' -delete || die |
69 |
|
70 |
-pkg_postinst() { |
71 |
- if [[ -e "${ROOT}"/usr/$(get_libdir)/libchewing.so.1 ]] ; then |
72 |
- elog "You must re-compile all packages that are linked against" |
73 |
- elog "<libchewing-0.2.7 by using revdep-rebuild from gentoolkit:" |
74 |
- elog "# revdep-rebuild --library libchewing.so.1" |
75 |
- fi |
76 |
- |
77 |
- if [[ -e "${ROOT}"/usr/$(get_libdir)/libchewing.so.2 ]] ; then |
78 |
- elog "You must re-compile all packages that are linked against" |
79 |
- elog "<libchewing-0.3.0 by using revdep-rebuild from gentoolkit:" |
80 |
- elog "# revdep-rebuild --library libchewing.so.2" |
81 |
- fi |
82 |
+ dodoc AUTHORS ChangeLog NEWS README TODO || die |
83 |
} |
84 |
|
85 |
|
86 |
|
87 |
1.21 dev-libs/libchewing/ChangeLog |
88 |
|
89 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libchewing/ChangeLog?rev=1.21&view=markup |
90 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libchewing/ChangeLog?rev=1.21&content-type=text/plain |
91 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libchewing/ChangeLog?r1=1.20&r2=1.21 |
92 |
|
93 |
Index: ChangeLog |
94 |
=================================================================== |
95 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libchewing/ChangeLog,v |
96 |
retrieving revision 1.20 |
97 |
retrieving revision 1.21 |
98 |
diff -u -r1.20 -r1.21 |
99 |
--- ChangeLog 12 Dec 2010 09:00:11 -0000 1.20 |
100 |
+++ ChangeLog 19 Jan 2011 15:41:31 -0000 1.21 |
101 |
@@ -1,6 +1,15 @@ |
102 |
# ChangeLog for dev-libs/libchewing |
103 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
104 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/ChangeLog,v 1.20 2010/12/12 09:00:11 flameeyes Exp $ |
105 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
106 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libchewing/ChangeLog,v 1.21 2011/01/19 15:41:31 flameeyes Exp $ |
107 |
+ |
108 |
+ 19 Jan 2011; Diego E. Pettenò <flameeyes@g.o> |
109 |
+ libchewing-0.3.2-r1.ebuild: |
110 |
+ Introduce static-libs USE flag to avoid building the static archive for |
111 |
+ libchewing; remove .la file that is never required (no dependencies for the |
112 |
+ static archive); ncurses is not a runtime dependency but rather only a test |
113 |
+ dependency (with libncursesw which is provided by the unicode USE flag). Drop |
114 |
+ the pkg_postinst as the old libraries are not preserved, so they cannot be |
115 |
+ there unless user did copy them manually. |
116 |
|
117 |
*libchewing-0.3.2-r1 (12 Dec 2010) |