1 |
mduft 10/10/29 12:05:42 |
2 |
|
3 |
Modified: ChangeLog confix-9999.ebuild |
4 |
Added: confix-2.3.5.ebuild |
5 |
Log: |
6 |
added new version, update live ebuild |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 dev-util/confix/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/ChangeLog?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/ChangeLog?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/ChangeLog?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/confix/ChangeLog,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- ChangeLog 11 Oct 2010 12:45:54 -0000 1.15 |
23 |
+++ ChangeLog 29 Oct 2010 12:05:41 -0000 1.16 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-util/confix |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/confix/ChangeLog,v 1.15 2010/10/11 12:45:54 haubi Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/confix/ChangeLog,v 1.16 2010/10/29 12:05:41 mduft Exp $ |
29 |
+ |
30 |
+*confix-2.3.5 (29 Oct 2010) |
31 |
+ |
32 |
+ 29 Oct 2010; Markus Duft <mduft@g.o> +confix-2.3.5.ebuild, |
33 |
+ confix-9999.ebuild: |
34 |
+ add new version, update/fix live ebuild |
35 |
|
36 |
11 Oct 2010; Michael Haubenwallner <haubi@g.o> |
37 |
confix-2.1.0-r4.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.5 dev-util/confix/confix-9999.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/confix-9999.ebuild?rev=1.5&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/confix-9999.ebuild?rev=1.5&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/confix-9999.ebuild?r1=1.4&r2=1.5 |
46 |
|
47 |
Index: confix-9999.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/confix/confix-9999.ebuild,v |
50 |
retrieving revision 1.4 |
51 |
retrieving revision 1.5 |
52 |
diff -u -r1.4 -r1.5 |
53 |
--- confix-9999.ebuild 13 Jul 2010 11:57:23 -0000 1.4 |
54 |
+++ confix-9999.ebuild 29 Oct 2010 12:05:41 -0000 1.5 |
55 |
@@ -1,14 +1,13 @@ |
56 |
# Copyright 1999-2010 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/confix/confix-9999.ebuild,v 1.4 2010/07/13 11:57:23 mduft Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/confix/confix-9999.ebuild,v 1.5 2010/10/29 12:05:41 mduft Exp $ |
60 |
|
61 |
-EAPI=2 |
62 |
+EAPI=3 |
63 |
|
64 |
inherit eutils distutils subversion |
65 |
|
66 |
DESCRIPTION="Confix: A Build Tool on Top of GNU Automake" |
67 |
HOMEPAGE="http://confix.sourceforge.net" |
68 |
- |
69 |
ESVN_REPO_URI="https://confix.svn.sourceforge.net/svnroot/confix/confix/trunk" |
70 |
ESVN_PROJECT="${PN}" |
71 |
|
72 |
@@ -30,30 +29,36 @@ |
73 |
src_prepare() { |
74 |
# find jni-include dirs on hpux. |
75 |
epatch "${FILESDIR}"/2.1.0/jni-hpux.patch |
76 |
- # hack to ignore duplicate files in rescan |
77 |
-# does not apply to trunk anymore |
78 |
-# epatch "${FILESDIR}"/2.1.0/CALL_RESCAN_HACK.patch |
79 |
# add .exe extension to TESTS |
80 |
epatch "${FILESDIR}"/2.3.0/exeext.patch |
81 |
# use external autoconf archive |
82 |
epatch "${FILESDIR}"/2.3.0/ext-ac-archive.patch |
83 |
- # enable SET_FILE_PROPERTIES(file, { 'PRIVATE_CINCLUDE', 1 }) |
84 |
-# does not apply to trunk anymore |
85 |
-# epatch "${FILESDIR}"/2.1.0/private-headers.patch |
86 |
- # enable fast installation rules. |
87 |
-# does not apply to trunk anymore |
88 |
-# epatch "${FILESDIR}"/2.1.0/fast-install.patch |
89 |
- |
90 |
- # need to store repos in exact versioned share/confix-PV/repo |
91 |
- sed -i -e "s,\<confix2\>,confix-${PV}," \ |
92 |
- libconfix/plugins/automake/repo_automake.py \ |
93 |
- libconfix/core/machinery/repo.py \ |
94 |
- libconfix/plugins/cmake/consts.py \ |
95 |
- || die "cannot adjust repo dir" |
96 |
- |
97 |
- # adjust version-printing to have same version as share/confix-PV/repo, |
98 |
- # to ease revdep-rebuild-alike scripts for rebuilding confix-packages. |
99 |
- sed -i -e "/^CONFIX_VERSION[ ]*=/s,.*,CONFIX_VERSION = '${PV}'," \ |
100 |
- libconfix/core/utils/const.py \ |
101 |
- || die "cannot adjust confix version" |
102 |
+ # link local libraries first. |
103 |
+ epatch "${FILESDIR}"/2.3.0/local-libs-first.patch |
104 |
+ # don't use automake 1.9, but any newer too... |
105 |
+ epatch "${FILESDIR}"/2.3.0/new-automake.patch |
106 |
+} |
107 |
+ |
108 |
+pkg_preinst() { |
109 |
+ local RV=2.3.0 |
110 |
+ |
111 |
+ if has_version "<dev-util/confix-${RV}"; then |
112 |
+ einfo "After merging ${P} you might have to remerge all packages built" |
113 |
+ einfo "with <dev-util/confix-${RV} in your EPREFIX to get all the" |
114 |
+ einfo "repo files useable with current ${PN}". |
115 |
+ ewarn |
116 |
+ ewarn "Use this command (copy&paste) to identify packages built with confix" |
117 |
+ ewarn "needing a remerge in your particular instance of Gentoo Prefix:" |
118 |
+ ewarn |
119 |
+ # use 'echo' to get this command from here: |
120 |
+ ewarn "( cd \$(portageq envvar EPREFIX)/var/db/pkg || exit 1;" \ |
121 |
+ "pattern=\$(cd ../../.. && echo \$(ls -d" \ |
122 |
+ "usr/share/confix*/repo | grep -v confix-${RV}) |" \ |
123 |
+ "sed -e 's, ,|,g'); if [[ -z \${pattern} ]]; then echo" \ |
124 |
+ "'No more packages were built with broken Confix.'; exit 0;" \ |
125 |
+ "fi; emerge --ask --oneshot \$(grep -lE \"(\${pattern})\"" \ |
126 |
+ "*/*/CONTENTS | sed -e 's,^,>=,;s,/CONTENTS,,')" \ |
127 |
+ ")" |
128 |
+ ewarn |
129 |
+ fi |
130 |
} |
131 |
|
132 |
|
133 |
|
134 |
1.1 dev-util/confix/confix-2.3.5.ebuild |
135 |
|
136 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/confix-2.3.5.ebuild?rev=1.1&view=markup |
137 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/confix/confix-2.3.5.ebuild?rev=1.1&content-type=text/plain |
138 |
|
139 |
Index: confix-2.3.5.ebuild |
140 |
=================================================================== |
141 |
# Copyright 1999-2010 Gentoo Foundation |
142 |
# Distributed under the terms of the GNU General Public License v2 |
143 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/confix/confix-2.3.5.ebuild,v 1.1 2010/10/29 12:05:41 mduft Exp $ |
144 |
|
145 |
EAPI=3 |
146 |
|
147 |
inherit distutils |
148 |
|
149 |
DESCRIPTION="Confix: A Build Tool on Top of GNU Automake" |
150 |
HOMEPAGE="http://confix.sourceforge.net" |
151 |
SRC_URI="mirror://sourceforge/confix/Confix-${PV}.tar.bz2" |
152 |
|
153 |
LICENSE="GPL-2" |
154 |
SLOT="2" |
155 |
KEYWORDS="~amd64 ~x86 ~ppc-aix ~hppa-hpux ~ia64-hpux ~x86-interix ~x86-linux ~sparc-solaris ~x86-solaris" |
156 |
IUSE="" |
157 |
|
158 |
DEPEND="dev-lang/python" |
159 |
RDEPEND="${DEPEND} |
160 |
sys-devel/automake |
161 |
sys-devel/libtool |
162 |
sys-devel/autoconf-archive |
163 |
dev-util/confix-wrapper |
164 |
" |
165 |
|
166 |
S="${WORKDIR}/Confix-${PV}" |
167 |
PYTHON_MODNAME="libconfix tests" |
168 |
|
169 |
src_prepare() { |
170 |
# find jni-include dirs on hpux. |
171 |
epatch "${FILESDIR}"/2.1.0/jni-hpux.patch |
172 |
# add .exe extension to TESTS |
173 |
epatch "${FILESDIR}"/2.3.0/exeext.patch |
174 |
# use external autoconf archive |
175 |
epatch "${FILESDIR}"/2.3.0/ext-ac-archive.patch |
176 |
# link local libraries first. |
177 |
epatch "${FILESDIR}"/2.3.0/local-libs-first.patch |
178 |
# don't use automake 1.9, but any newer too... |
179 |
epatch "${FILESDIR}"/2.3.0/new-automake.patch |
180 |
} |
181 |
|
182 |
pkg_preinst() { |
183 |
local RV=2.3.0 |
184 |
|
185 |
if has_version "<dev-util/confix-${RV}"; then |
186 |
einfo "After merging ${P} you might have to remerge all packages built" |
187 |
einfo "with <dev-util/confix-${RV} in your EPREFIX to get all the" |
188 |
einfo "repo files useable with current ${PN}". |
189 |
ewarn |
190 |
ewarn "Use this command (copy&paste) to identify packages built with confix" |
191 |
ewarn "needing a remerge in your particular instance of Gentoo Prefix:" |
192 |
ewarn |
193 |
# use 'echo' to get this command from here: |
194 |
ewarn "( cd \$(portageq envvar EPREFIX)/var/db/pkg || exit 1;" \ |
195 |
"pattern=\$(cd ../../.. && echo \$(ls -d" \ |
196 |
"usr/share/confix*/repo | grep -v confix-${RV}) |" \ |
197 |
"sed -e 's, ,|,g'); if [[ -z \${pattern} ]]; then echo" \ |
198 |
"'No more packages were built with broken Confix.'; exit 0;" \ |
199 |
"fi; emerge --ask --oneshot \$(grep -lE \"(\${pattern})\"" \ |
200 |
"*/*/CONTENTS | sed -e 's,^,>=,;s,/CONTENTS,,')" \ |
201 |
")" |
202 |
ewarn |
203 |
fi |
204 |
} |