1 |
philantrop 07/09/27 18:47:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cmake-2.4.7-r2.ebuild |
5 |
Log: |
6 |
cmake-2.4.7-r2 now uses the system libraries during the bootstrap process instead of the bundled versions. Fixes bug 178999. Furthermore, it features a new FindSWIG.cmake module as provided by Axel Roebel on upstream bug 4145. Fixes our bug 192594. |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.64 dev-util/cmake/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?rev=1.64&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?rev=1.64&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/ChangeLog?r1=1.63&r2=1.64 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v |
19 |
retrieving revision 1.63 |
20 |
retrieving revision 1.64 |
21 |
diff -u -r1.63 -r1.64 |
22 |
--- ChangeLog 7 Sep 2007 21:30:53 -0000 1.63 |
23 |
+++ ChangeLog 27 Sep 2007 18:47:16 -0000 1.64 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for dev-util/cmake |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.63 2007/09/07 21:30:53 philantrop Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/ChangeLog,v 1.64 2007/09/27 18:47:16 philantrop Exp $ |
29 |
+ |
30 |
+*cmake-2.4.7-r2 (27 Sep 2007) |
31 |
+ |
32 |
+ 27 Sep 2007; Wulf C. Krueger <philantrop@g.o> |
33 |
+ +files/FindSWIG.cmake, +cmake-2.4.7-r2.ebuild: |
34 |
+ cmake-2.4.7-r2 now uses the system libraries during the bootstrap process |
35 |
+ instead of the bundled versions. Fixes bug 178999. Furthermore, it features |
36 |
+ a new FindSWIG.cmake module as provided by Axel Roebel on upstream bug 4145. |
37 |
+ Fixes our bug 192594. |
38 |
|
39 |
*cmake-2.4.7-r1 (07 Sep 2007) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-util/cmake/cmake-2.4.7-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.4.7-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cmake/cmake-2.4.7-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: cmake-2.4.7-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2007 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.4.7-r2.ebuild,v 1.1 2007/09/27 18:47:16 philantrop Exp $ |
54 |
|
55 |
inherit elisp-common toolchain-funcs eutils versionator qt3 flag-o-matic |
56 |
|
57 |
DESCRIPTION="Cross platform Make" |
58 |
HOMEPAGE="http://www.cmake.org/" |
59 |
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${P}.tar.gz" |
60 |
|
61 |
LICENSE="CMake" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
64 |
IUSE="emacs vim-syntax" |
65 |
|
66 |
DEPEND=">=net-misc/curl-7.16.4 |
67 |
>=dev-libs/expat-2.0.1 |
68 |
>=dev-libs/libxml2-2.6.28 |
69 |
>=dev-libs/xmlrpc-c-1.06.03 |
70 |
emacs? ( virtual/emacs ) |
71 |
vim-syntax? ( || ( |
72 |
app-editors/vim |
73 |
app-editors/gvim ) )" |
74 |
RDEPEND="${DEPEND}" |
75 |
|
76 |
SITEFILE="50${PN}-gentoo.el" |
77 |
VIMFILE="${PN}.vim" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
cd "${S}" |
82 |
|
83 |
# Upstream patch to make sure KDE4 is found. cf. bug 191412. |
84 |
epatch "${FILESDIR}/${P}-findkde4.patch" |
85 |
|
86 |
# Upstream's version is broken. Reported in upstream bugs 3498, 3637, 4145. |
87 |
# Fixed version kindly provided on 4145 by Axel Roebel. |
88 |
cp "${FILESDIR}/FindSWIG.cmake" "${S}/Modules/" |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
cd "${S}" |
93 |
tc-export CC CXX LD |
94 |
|
95 |
append-ldflags -Wl,--no-as-needed |
96 |
|
97 |
./bootstrap \ |
98 |
--system-libs \ |
99 |
--prefix=/usr \ |
100 |
--docdir=/share/doc/${PN} \ |
101 |
--datadir=/share/${PN} \ |
102 |
--mandir=/share/man || die "./bootstrap failed" |
103 |
emake || die |
104 |
if use emacs; then |
105 |
elisp-compile Docs/cmake-mode.el || die "elisp compile failed" |
106 |
fi |
107 |
} |
108 |
|
109 |
src_test() { |
110 |
einfo "Self tests broken" |
111 |
make test || \ |
112 |
einfo "note test failure on qtwrapping was expected - nature of portage rather than a true failure" |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
emake install DESTDIR="${D}" || die "install failed" |
117 |
mv "${D}usr/share/doc/cmake" "${D}usr/share/doc/${PF}" |
118 |
if use emacs; then |
119 |
elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc || die "elisp-install failed" |
120 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
121 |
fi |
122 |
if use vim-syntax; then |
123 |
insinto /usr/share/vim/vimfiles/syntax |
124 |
doins "${S}"/Docs/cmake-syntax.vim |
125 |
|
126 |
insinto /usr/share/vim/vimfiles/indent |
127 |
doins "${S}"/Docs/cmake-indent.vim |
128 |
|
129 |
insinto /usr/share/vim/vimfiles/ftdetect |
130 |
doins "${FILESDIR}/${VIMFILE}" |
131 |
fi |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
use emacs && elisp-site-regen |
136 |
} |
137 |
|
138 |
pkg_postrm() { |
139 |
use emacs && elisp-site-regen |
140 |
} |
141 |
|
142 |
|
143 |
|
144 |
-- |
145 |
gentoo-commits@g.o mailing list |