1 |
maekke 08/08/24 09:40:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icon-9.4.3-r3.ebuild |
5 |
Log: |
6 |
fix multilib-strict (bug #209558) and prestripped files (bug #209560) |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc4 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.34 dev-lang/icon/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icon/ChangeLog?rev=1.34&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icon/ChangeLog?rev=1.34&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icon/ChangeLog?r1=1.33&r2=1.34 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v |
19 |
retrieving revision 1.33 |
20 |
retrieving revision 1.34 |
21 |
diff -u -r1.33 -r1.34 |
22 |
--- ChangeLog 23 Aug 2008 05:23:51 -0000 1.33 |
23 |
+++ ChangeLog 24 Aug 2008 09:40:34 -0000 1.34 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-lang/icon |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v 1.33 2008/08/23 05:23:51 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v 1.34 2008/08/24 09:40:34 maekke Exp $ |
29 |
+ |
30 |
+*icon-9.4.3-r3 (24 Aug 2008) |
31 |
+ |
32 |
+ 24 Aug 2008; Markus Meier <maekke@g.o> +icon-9.4.3-r3.ebuild: |
33 |
+ fix multilib-strict (bug #209558) and prestripped files (bug #209560) |
34 |
|
35 |
23 Aug 2008; Jeroen Roovers <jer@g.o> metadata.xml: |
36 |
Add GLEP 56 USE flag descriptions. |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-lang/icon/icon-9.4.3-r3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icon/icon-9.4.3-r3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/icon/icon-9.4.3-r3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: icon-9.4.3-r3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/icon-9.4.3-r3.ebuild,v 1.1 2008/08/24 09:40:34 maekke Exp $ |
50 |
|
51 |
inherit eutils multilib |
52 |
|
53 |
MY_PV=${PV//./} |
54 |
SRC_URI="http://www.cs.arizona.edu/icon/ftp/packages/unix/icon.v${MY_PV}src.tgz" |
55 |
HOMEPAGE="http://www.cs.arizona.edu/icon/" |
56 |
DESCRIPTION="very high level language" |
57 |
|
58 |
LICENSE="as-is" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
61 |
IUSE="X iplsrc" |
62 |
|
63 |
S="${WORKDIR}/icon.v${MY_PV}src" |
64 |
|
65 |
DEPEND="X? ( x11-proto/xextproto |
66 |
x11-proto/xproto |
67 |
x11-libs/libX11 |
68 |
x11-libs/libXpm |
69 |
x11-libs/libXt ) |
70 |
sys-devel/gcc" |
71 |
|
72 |
src_unpack() { |
73 |
unpack ${A} |
74 |
|
75 |
# Patch the tests so that they do not fail |
76 |
# The following files in tests/standard are patched.. |
77 |
# io.icn - change /etc/motd to /etc/gentoo-release |
78 |
# io.std - change /etc/motd to /etc/gentoo-release |
79 |
# kwds.std - add two lines for the two new added keywords |
80 |
# nargs.std - a couple of functions picked up additional parameters |
81 |
epatch "${FILESDIR}/tests-${MY_PV}.patch" |
82 |
|
83 |
# do not prestrip files |
84 |
find "${S}"/src -name 'Makefile' | xargs sed -i -e "/strip/d" || die |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
# select the right compile target. Note there are many platforms |
89 |
# available |
90 |
local mytarget; |
91 |
if [[ ${CHOST} == *-darwin* ]]; then |
92 |
mytarget="macintosh" |
93 |
else |
94 |
mytarget="linux" |
95 |
fi |
96 |
|
97 |
if use X; then |
98 |
emake X-Configure name=${mytarget} -j1 || die |
99 |
else |
100 |
emake Configure name=${mytarget} -j1 || die |
101 |
fi |
102 |
|
103 |
echo "#define MultiThread 1" >> src/h/define.h |
104 |
echo "#define EventMon 1" >> src/h/define.h |
105 |
echo "#define Eve 1" >> src/h/define.h |
106 |
|
107 |
emake -j1 || die "Make Failed" |
108 |
} |
109 |
|
110 |
src_test() { |
111 |
make Samples || die "Samples failed" |
112 |
make Test || die "Test failed" |
113 |
} |
114 |
|
115 |
src_install() { |
116 |
dodir /usr |
117 |
dodir /usr/bin |
118 |
dodir /usr/$(get_libdir) |
119 |
|
120 |
make Install dest="${D}/usr/$(get_libdir)/icon" || die "Make install failed" |
121 |
dosym /usr/$(get_libdir)/icon/bin/icont /usr/bin/icont |
122 |
dosym /usr/$(get_libdir)/icon/bin/iconx /usr/bin/iconx |
123 |
dosym /usr/$(get_libdir)/icon/bin/icon /usr/bin/icon |
124 |
dosym /usr/$(get_libdir)/icon/bin/vib /usr/bin/vib |
125 |
|
126 |
cd "${S}/man/man1" |
127 |
doman icont.1 |
128 |
doman icon.1 |
129 |
rm -rf "${D}"/usr/$(get_libdir)/icon/man |
130 |
|
131 |
cd "${S}/doc" |
132 |
dodoc *.txt *.sed ../README |
133 |
# dohtml ignores all anything except .html files, no use here |
134 |
mkdir -p "${D}"/usr/share/doc/${PF}/html |
135 |
cp -dpR *.htm *.gif *.jpg *.css "${D}"/usr/share/doc/${PF}/html |
136 |
rm -rf "${D}"/usr/$(get_libdir)/icon/{doc,README} |
137 |
|
138 |
# optional Icon Programming Library |
139 |
if use iplsrc; then |
140 |
cd "${S}" |
141 |
dodir /usr/$(get_libdir)/icon/ipl |
142 |
rm ipl/BuildBin |
143 |
rm ipl/BuildExe |
144 |
rm ipl/CheckAll |
145 |
rm ipl/Makefile |
146 |
insinto /usr/$(get_libdir)/icon |
147 |
doins -r ipl |
148 |
fi |
149 |
} |