Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/axs:master commit in: x11-libs/wxGTK/, dev-perl/perl-ldap/, sci-visualization/grace/, ...
Date: Thu, 27 Sep 2012 21:41:49
Message-Id: 1348781950.049646e46f0db47ad4ce16218d753be32e9421ca.axs@gentoo
1 commit: 049646e46f0db47ad4ce16218d753be32e9421ca
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 27 21:39:10 2012 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 27 21:39:10 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/axs.git;a=commit;h=049646e4
7
8 Sync with tree 2012-09-27 ~21:00UTC , dropped most eclasses as EAPI5 support now in the main tree
9
10 ---
11 app-cdr/dvdisaster/Manifest | 4 +-
12 app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild | 4 +-
13 app-editors/emacs-vcs/Manifest | 4 +-
14 app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild | 4 +-
15 app-editors/emacs/Manifest | 18 +-
16 app-editors/emacs/emacs-18.59-r8.ebuild | 4 +-
17 app-editors/emacs/emacs-21.4-r24.ebuild | 4 +-
18 app-editors/emacs/emacs-22.3-r10.ebuild | 4 +-
19 app-editors/emacs/emacs-23.4-r3.ebuild | 4 +-
20 app-editors/emacs/emacs-23.4-r4.ebuild | 6 +-
21 app-editors/emacs/emacs-24.1-r1.ebuild | 6 +-
22 app-editors/emacs/emacs-24.1.ebuild | 338 ---
23 app-editors/emacs/emacs-24.2.ebuild | 4 +-
24 app-emulation/qemu-kvm/Manifest | 4 +-
25 app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild | 4 +-
26 app-emulation/qemu/Manifest | 7 +-
27 app-emulation/qemu/files/qemu-1.2.0-cflags.patch | 15 +
28 app-emulation/qemu/qemu-1.1.2.ebuild | 255 ++
29 app-emulation/qemu/qemu-1.2.0.ebuild | 254 ++
30 app-office/libreoffice-bin/Manifest | 17 +-
31 .../libreoffice-bin-3.5.4.2-r1.ebuild | 197 --
32 .../libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild | 3 +-
33 app-office/libreoffice/Manifest | 16 +-
34 .../files/libreoffice-3.6-separate-checks.patch | 74 +
35 .../files/libreoffice-3.7-separate-checks.patch | 64 +
36 ...e-3.6.1.2.ebuild => libreoffice-3.6.2.2.ebuild} | 15 +-
37 app-office/libreoffice/libreoffice-3.6.9999.ebuild | 5 +-
38 app-office/libreoffice/libreoffice-9999-r2.ebuild | 4 +-
39 dev-java/icedtea/Manifest | 64 +-
40 .../files/icedtea-7-compile_for_7_cacao_mem.patch | 85 -
41 .../icedtea-7-compiler_detection_cleanup.patch | 257 --
42 dev-java/icedtea/files/icedtea-7-no_suffix.patch | 25 -
43 .../files/icedtea-7.2.0-explicit-gthread.patch | 13 -
44 .../files/icedtea-7.2.0_pax_kernel_support.patch | 202 --
45 .../files/icedtea-7.2.1.1-pax_mark_rmic_java.patch | 31 -
46 .../icedtea-7.2.1.1-pr986-cacao_memory_fix.patch | 143 -
47 .../icedtea/files/icedtea-7.2.2-no_suffix.patch | 25 -
48 .../files/icedtea-7.2.2.1-pax_mark_rmic_java.patch | 31 -
49 .../icedtea-7.2.2.1-pr986-cacao_memory_fix.patch | 184 --
50 .../icedtea-7.2.2.1-warnings_are_errors.patch | 217 --
51 .../files/icedtea-7.2.3.1-pax_mark_rmic_java.patch | 31 -
52 dev-java/icedtea/icedtea-6.1.11.2.ebuild | 316 --
53 dev-java/icedtea/icedtea-6.1.11.3.ebuild | 336 --
54 dev-java/icedtea/icedtea-6.1.11.4.ebuild | 4 +-
55 dev-java/icedtea/icedtea-7.2.1.1.ebuild | 340 ---
56 dev-java/icedtea/icedtea-7.2.1.ebuild | 334 --
57 dev-java/icedtea/icedtea-7.2.2.1.ebuild | 343 ---
58 dev-java/icedtea/icedtea-7.2.2.ebuild | 334 --
59 dev-java/icedtea/icedtea-7.2.3.1.ebuild | 337 ---
60 dev-java/icedtea/icedtea-7.2.3.2.ebuild | 4 +-
61 dev-libs/boost/Manifest | 4 +-
62 dev-libs/boost/boost-1.49.0-r1.ebuild | 4 +-
63 dev-libs/gjs/Manifest | 8 +-
64 dev-libs/gjs/gjs-1.30.1.ebuild | 4 +-
65 dev-libs/gjs/gjs-1.32.0.ebuild | 4 +-
66 .../gjs/{gjs-1.32.0.ebuild => gjs-1.34.0.ebuild} | 17 +-
67 .../Alien-wxWidgets/Alien-wxWidgets-0.610.0.ebuild | 39 +
68 dev-perl/Alien-wxWidgets/Manifest | 4 +-
69 .../DateTime-TimeZone-1.500.0.ebuild | 24 +
70 dev-perl/DateTime-TimeZone/Manifest | 4 +-
71 dev-perl/Devel-NYTProf/Devel-NYTProf-4.90.0.ebuild | 28 +
72 dev-perl/Devel-NYTProf/Manifest | 4 +-
73 dev-perl/Inline/Inline-0.500.0.ebuild | 4 +-
74 dev-perl/Inline/Manifest | 4 +-
75 dev-perl/Moose/Manifest | 4 +-
76 dev-perl/Moose/Moose-2.60.400.ebuild | 100 +
77 dev-perl/Parse-RecDescent/Manifest | 4 +-
78 .../Parse-RecDescent-1.967.9.ebuild | 4 +-
79 dev-perl/Plack/Manifest | 4 +-
80 dev-perl/Plack/Plack-1.0.400.ebuild | 37 +
81 dev-perl/SQL-Translator/Manifest | 4 +-
82 .../SQL-Translator/SQL-Translator-0.110.130.ebuild | 46 +
83 dev-perl/Sysadm-Install/Manifest | 4 +-
84 .../Sysadm-Install/Sysadm-Install-0.400.0.ebuild | 23 +
85 dev-perl/Test-Warn/Manifest | 4 +-
86 dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild | 4 +-
87 dev-perl/Text-Table/Manifest | 4 +-
88 dev-perl/Text-Table/Text-Table-1.126.0.ebuild | 34 +
89 dev-perl/Tree-DAG_Node/Manifest | 4 +-
90 dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild | 4 +-
91 dev-perl/Wx-Scintilla/Manifest | 4 +-
92 dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0.ebuild | 43 +
93 dev-perl/XML-Twig/Manifest | 4 +-
94 dev-perl/XML-Twig/XML-Twig-3.410.0.ebuild | 29 +
95 dev-perl/YAML-Syck/Manifest | 4 +-
96 dev-perl/YAML-Syck/YAML-Syck-1.210.0.ebuild | 18 +
97 dev-perl/perl-ldap/Manifest | 6 +-
98 dev-perl/perl-ldap/perl-ldap-0.480.0.ebuild | 34 +
99 dev-perl/wxperl/Manifest | 4 +-
100 dev-perl/wxperl/wxperl-0.991.200.ebuild | 29 +
101 dev-util/geany-plugins/Manifest | 5 +-
102 ...ns-1.22.ebuild => geany-plugins-1.22-r1.ebuild} | 18 +-
103 dev-util/geany-plugins/geany-plugins-1.22.ebuild | 12 +-
104 dev-util/geany/Manifest | 5 +-
105 dev-util/geany/geany-1.22.ebuild | 4 +-
106 dev-util/geany/geany-1.22.ebuild.rej | 11 +
107 dev-vcs/gitolite/Manifest | 4 +-
108 dev-vcs/gitolite/gitolite-3.04.ebuild | 7 +-
109 eclass/autotools-utils.eclass | 497 ---
110 eclass/base.eclass | 194 --
111 eclass/bash-completion-r1.eclass | 52 -
112 eclass/check-reqs.eclass | 351 ---
113 eclass/cmake-utils.eclass | 529 ----
114 eclass/emboss.eclass | 132 -
115 eclass/emul-linux-x86.eclass | 77 -
116 eclass/enlightenment.eclass | 171 --
117 eclass/fortran-2.eclass | 154 -
118 eclass/fox.eclass | 230 --
119 eclass/games-ggz.eclass | 78 -
120 eclass/games.eclass | 225 --
121 eclass/git.eclass | 470 ---
122 eclass/gnome2-utils.eclass | 426 ---
123 eclass/gnome2.eclass | 236 --
124 eclass/gst-plugins-bad.eclass | 155 -
125 eclass/gtk-sharp-module.eclass | 547 ----
126 eclass/haskell-cabal.eclass | 519 ----
127 eclass/kde4-functions.eclass | 485 ---
128 eclass/leechcraft.eclass | 64 -
129 eclass/mozlinguas.eclass | 144 -
130 eclass/mysql-v2.eclass | 702 -----
131 eclass/mysql.eclass | 1478 ---------
132 eclass/obs-service.eclass | 109 -
133 eclass/office-ext.eclass | 178 --
134 eclass/perl-module.eclass | 4 +-
135 eclass/php-ext-source-r2.eclass | 372 ---
136 eclass/python-distutils-ng.eclass | 391 ---
137 eclass/python.eclass | 3191 --------------------
138 eclass/qt4-build.eclass | 882 ------
139 eclass/qt4-r2.eclass | 294 --
140 eclass/ruby-ng.eclass | 734 -----
141 eclass/scons-utils.eclass | 235 --
142 eclass/selinux-policy-2.eclass | 283 --
143 eclass/systemd.eclass | 167 -
144 eclass/vcs-snapshot.eclass | 66 -
145 eclass/vdr-plugin-2.eclass | 614 ----
146 eclass/vdr-plugin.eclass | 601 ----
147 eclass/virtuoso.eclass | 144 -
148 eclass/waf-utils.eclass | 75 -
149 eclass/xfconf.eclass | 144 -
150 eclass/xorg-2.eclass | 2 +-
151 games-engines/gargoyle/Manifest | 4 +-
152 games-engines/gargoyle/gargoyle-2011.1.ebuild | 4 +-
153 games-simulation/flightgear/Manifest | 4 +-
154 .../flightgear/flightgear-2.8.0.ebuild | 4 +-
155 media-gfx/feh/Manifest | 7 +-
156 media-gfx/feh/feh-2.6.2.ebuild | 63 +
157 media-gfx/feh/files/feh-2.6.2-debug-cflags.patch | 11 +
158 media-gfx/graphite2/Manifest | 4 +-
159 media-gfx/graphite2/graphite2-1.2.0.ebuild | 100 +
160 media-gfx/inkscape/Manifest | 7 +-
161 .../inkscape/files/inkscape-0.48.1-lcms.patch | 20 -
162 media-gfx/inkscape/inkscape-0.48.2.ebuild | 96 -
163 media-gfx/inkscape/inkscape-0.48.3.1.ebuild | 29 +-
164 media-gfx/iscan/Manifest | 6 +-
165 media-gfx/iscan/iscan-2.26.2.ebuild | 4 +-
166 media-gfx/iscan/iscan-2.28.1.3.ebuild | 4 +-
167 media-gfx/luminance-hdr/Manifest | 9 +-
168 .../files/luminance-hdr-2.2.1-no-git.patch | 68 -
169 media-gfx/luminance-hdr/luminance-hdr-2.0.0.ebuild | 64 -
170 media-gfx/luminance-hdr/luminance-hdr-2.2.1.ebuild | 65 -
171 media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild | 4 +-
172 media-libs/allegro/Manifest | 4 +-
173 media-libs/allegro/allegro-5.0.7.ebuild | 4 +-
174 media-libs/opengtl/Manifest | 6 +-
175 media-libs/opengtl/opengtl-0.9.15.2.ebuild | 43 -
176 media-libs/opengtl/opengtl-0.9.16.ebuild | 4 +-
177 media-radio/fldigi/Manifest | 6 +-
178 media-radio/fldigi/fldigi-3.21.50.ebuild | 4 +-
179 ...fldigi-3.21.50.ebuild => fldigi-3.21.52.ebuild} | 2 +-
180 media-tv/xbmc/Manifest | 6 +-
181 media-tv/xbmc/xbmc-9999.ebuild | 6 +-
182 media-video/tsmuxer/Manifest | 6 +-
183 media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild | 4 +-
184 media-video/vlc/Manifest | 4 +-
185 media-video/vlc/vlc-2.0.3.ebuild | 4 +-
186 net-analyzer/rrdtool/Manifest | 4 +-
187 net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild | 4 +-
188 net-misc/dropbox/Manifest | 10 +-
189 net-misc/dropbox/dropbox-1.2.48-r1.ebuild | 4 +-
190 net-misc/dropbox/dropbox-1.2.51-r2.ebuild | 4 +-
191 net-misc/dropbox/dropbox-1.4.3-r1.ebuild | 4 +-
192 net-misc/dropbox/dropbox-1.4.7-r1.ebuild | 4 +-
193 net-misc/gcap/Manifest | 4 +-
194 net-misc/gcap/gcap-0.1.1.ebuild | 4 +-
195 net-misc/nx/Manifest | 4 +-
196 net-misc/nx/nx-3.5.0.15.ebuild | 96 +
197 net-misc/youtube-viewer/Manifest | 5 +-
198 ...outube-viewer-3.0.1_p20120924-desktopfile.patch | 21 +
199 .../youtube-viewer-3.0.1_p20120924.ebuild | 62 +
200 sci-chemistry/pymol/Manifest | 4 +-
201 sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild | 4 +-
202 sci-visualization/grace/Manifest | 6 +-
203 sci-visualization/grace/grace-5.1.22-r2.ebuild | 4 +-
204 sci-visualization/grace/grace-5.1.22-r3.ebuild | 4 +-
205 www-client/chromium/Manifest | 24 +-
206 www-client/chromium/chromium-21.0.1180.89.ebuild | 435 ---
207 ...1229.52.ebuild => chromium-22.0.1229.79.ebuild} | 16 +-
208 ...1229.56.ebuild => chromium-22.0.1229.91.ebuild} | 14 +-
209 ...0.1255.0.ebuild => chromium-23.0.1271.1.ebuild} | 68 +-
210 ...0.1262.0.ebuild => chromium-23.0.1271.6.ebuild} | 75 +-
211 www-client/chromium/chromium-9999-r1.ebuild | 31 +-
212 .../chromium/files/chromium-dbus-glib-r0.patch | 59 +
213 .../chromium/files/chromium-system-icu-r0.patch | 12 +
214 www-client/google-chrome/Manifest | 11 -
215 .../google-chrome-21.0.1180.89_p154005.ebuild | 151 -
216 .../google-chrome-22.0.1229.64_beta157476.ebuild | 151 -
217 .../google-chrome-23.0.1271.1_alpha157674.ebuild | 149 -
218 www-client/links/Manifest | 4 +-
219 www-client/links/links-2.7.ebuild | 4 +-
220 www-plugins/google-talkplugin/Manifest | 8 +-
221 .../google-talkplugin-3.5.1.0.ebuild | 4 +-
222 .../google-talkplugin-3.6.1.0.ebuild | 4 +-
223 .../google-talkplugin-9999.ebuild | 4 +-
224 x11-drivers/ati-drivers/Manifest | 14 +-
225 x11-drivers/ati-drivers/ati-drivers-12.2.ebuild | 4 +-
226 x11-drivers/ati-drivers/ati-drivers-12.4.ebuild | 4 +-
227 x11-drivers/ati-drivers/ati-drivers-12.6.ebuild | 4 +-
228 .../ati-drivers-12.6_beta_pre897.ebuild | 6 +-
229 x11-drivers/ati-drivers/ati-drivers-12.8.ebuild | 4 +-
230 x11-drivers/nvidia-drivers/Manifest | 15 +-
231 .../nvidia-drivers/nvidia-drivers-173.14.35.ebuild | 6 +-
232 .../nvidia-drivers/nvidia-drivers-295.71.ebuild | 6 +-
233 .../nvidia-drivers/nvidia-drivers-302.17-r1.ebuild | 6 +-
234 .../nvidia-drivers/nvidia-drivers-304.51.ebuild | 447 +++
235 .../nvidia-drivers/nvidia-drivers-96.43.20.ebuild | 6 +-
236 x11-drivers/xf86-input-wacom/Manifest | 4 +-
237 .../xf86-input-wacom-0.16.1.ebuild | 4 +-
238 x11-libs/gdk-pixbuf/Manifest | 4 +-
239 x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild | 4 +-
240 x11-libs/wxGTK/Manifest | 4 +-
241 x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild | 6 +-
242 x11-misc/wbar/Manifest | 4 +-
243 x11-misc/wbar/wbar-2.3.4.ebuild | 39 +
244 x11-wm/compiz/Manifest | 6 +-
245 x11-wm/compiz/compiz-0.8.6-r3.ebuild | 168 -
246 .../compiz-0.8.6-gdk-display-deprecated.patch | 101 -
247 .../files/compiz-0.8.6-r2-fontcorruption.patch | 23 -
248 237 files changed, 2567 insertions(+), 22551 deletions(-)
249
250 diff --git a/app-cdr/dvdisaster/Manifest b/app-cdr/dvdisaster/Manifest
251 index fcac1ba..bb8ca20 100644
252 --- a/app-cdr/dvdisaster/Manifest
253 +++ b/app-cdr/dvdisaster/Manifest
254 @@ -2,6 +2,6 @@ AUX dvdisaster-0.72.1-libpng15.patch 194 SHA256 8ddbd4288c1ddb1d6cec404e25795c33
255 DIST dvdisaster-0.72.2.tar.bz2 4145193 SHA256 62d00c399c99a3bba493405174aeb96bd8c2d428d01d24b46858a55531b725ae SHA512 5283c5a0f9120a02434c8561f130d497db8eb7dab646f12d9cba9bc3a3ffa97974d783a9a8c67fb0669bba9ab5306545457c29e64b6a6e7a2722d1833dbcba11 WHIRLPOOL b1732e89f11e3e2f29bfa0fc661502eae4c10eb27d6186ca0a79405ca3e40388a2499b9990046fe002717b76332437978b0bcc8ef1cc421fbcbb1abf85198d2e
256 DIST dvdisaster_0.72.4.orig.tar.bz2 5097738 SHA256 444763bc40bcc8c396ecd7af0d5d6dd8c458009d4ed62af74ef54074541aa05e SHA512 aa0a9f3040d45b16a9117b2b6756d2423cf55db4a00e8314a164f6dc32863cd4e5a5b5ec009a56782aa2afe6031e3a32954014101abc67291428e9edea1b5272 WHIRLPOOL 888b9643e4102e4c7f237b336bbead60fd02833357775f586766672ea182ce680615a74f9547cf015b3e0edb269fe905a4dd5f28cbf765f3c7f114e097736208
257 EBUILD dvdisaster-0.72.2.ebuild 1979 SHA256 bfd0199f5cbccd1e3d6b56194093297e9dccea19f5f19e47671e9855bee61af0 SHA512 72667b39f5bd22e9354b938a110e5f20c8af31bd4a1dccc61ec814f169e52a51286bdcc2f639c23c0d78f0e868c81f9cfea2a95a451663a98d5974fd41284880 WHIRLPOOL 63626a8bda66c6149e29947c3c174e601bd58dba4ce590c2142143c9145d54022cbc9f59686ed88d7b45a3f55ed85a13d9eb28d3c4b89cb593857910727b43b5
258 -EBUILD dvdisaster-0.72.4.ebuild 1906 SHA256 8f558514b32bf0327e33d427d01a4de34d2f25e5b02adc26f1b24cc709d4097c SHA512 dacd5cc391ce3c7388ca0c5851bfef49558d743e4119c2d12f7edf0c0b290350d291897bfe25ef572c36236e62fd9fecf7b100372dfbec16da32215e26a33bbe WHIRLPOOL 15248d58ba8b4a8b62f015082c9e0702acb46c4cd9e6269ae0ad463b498e6804a8189f62aaa043dc117202c06f06e75a243cf8f41b51a51554a69d37481efb03
259 -MISC ChangeLog 4175 SHA256 e334067e1125d6778dbe171e840153f8cf8099f8d48a40d2fec65f98948b0524 SHA512 9bd9f6ba3fdeea66ef70f8167cf20e25dd98575ba8caadac046b255b3d741ebadb6e12dab68c50acf36060364d26e5b79826bc3e7eb32ed9ae010d745bb26c6f WHIRLPOOL b79d0b0d078c2421bed97623551665524ab74c2f22ef322ad1d2c93a2045000b400633bc9d9ee30157925644d896d710481a43ce84b4ac65dafac83002f732d5
260 +EBUILD dvdisaster-0.72.4.ebuild 1905 SHA256 f53335fc029b33fa7d8ea42e849c1a5bc4f46ab77f4e24cc12e944bef2feb605 SHA512 23965f93ff3b7d5bc577458695b26972c222efdc7e97ed57c1f29c773a89889ed689dae584c807d2cefa482182c06fcc5273364615813eece425e54cc5afdff7 WHIRLPOOL 066e5ded8c468fd017ba7fb9b476884f969c34c59ba1335b8c8cca90c6d0778593dfc1fa78c15f026fa1bf685986a04816147ae2c678e01e68a594e39f9d47c1
261 +MISC ChangeLog 4281 SHA256 199bdfe8af6226d26630d9d9ab1e1f0794e42732edf76dcaa512defa20ad21ba SHA512 2e5c0833ce1553e847e17c9bfd259cfd0ebc78c3454a5b5dd86c1276cc4ffcf25a33da1fbb12d9104be8611e6f1ff4557ca63c89cc368c71272f5f65036a6e75 WHIRLPOOL 41708b7ea5ebc0cf36e9ace923d2491cd3856ad196cf263e86f58e898ca5f65430e79a2a901d6f5037f1bc9c6a7751b04c47d7aa80547d360e0c3604f55bc7d0
262 MISC metadata.xml 167 SHA256 e63e128685e2c6da2eacfda6e91e700c1eb6f62cc2172ab64eada2ae71431ef2 SHA512 23b89532b34ac7118832402c25d8afc189132e0da2182fcc5ce5e69ba2f0c170226599ae981be2bbc3fd8474baf707af58f6292b89221339aa8b4a2265ade0cd WHIRLPOOL d8505f9121d7531f43f9730eff208d89eec443f6612cfa288f2f6137e75ac40faf0e11a0e89f23111e3f16dda6178c406025cce3edd399f03d9bfd5a46c76e3b
263
264 diff --git a/app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild b/app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild
265 index 3a0d975..e375de6 100644
266 --- a/app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild
267 +++ b/app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild
268 @@ -1,6 +1,6 @@
269 # Copyright 1999-2012 Gentoo Foundation
270 # Distributed under the terms of the GNU General Public License v2
271 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild,v 1.6 2012/08/05 11:02:50 ssuominen Exp $
272 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.4.ebuild,v 1.7 2012/09/26 11:11:08 ssuominen Exp $
273
274 EAPI="5"
275 inherit eutils gnome2-utils toolchain-funcs
276 @@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.bz2"
277
278 LICENSE="GPL-2"
279 SLOT="0"
280 -KEYWORDS="amd64 ~ppc x86"
281 +KEYWORDS="amd64 ppc x86"
282 IUSE="debug nls"
283
284 dvdi_langs="cs de it pt_BR ru sv"
285
286 diff --git a/app-editors/emacs-vcs/Manifest b/app-editors/emacs-vcs/Manifest
287 index cb28030..c2925f0 100644
288 --- a/app-editors/emacs-vcs/Manifest
289 +++ b/app-editors/emacs-vcs/Manifest
290 @@ -1,4 +1,4 @@
291 AUX emacs-24.0.92-ns-appdirs.patch 1538 SHA256 588b276284c7a56494fdba935a975c66edb668e5431bf25f1396696950c8f804 SHA512 141d6f2a0df176eafd476b1b064586ac1d32d2b920fd3e65a7bdd9ad6335d3c148761238da07329795477c7aebab2db3b685c3466ddbe6c0d297654949bb8364 WHIRLPOOL daf3baf1d88c2399435b340c178888a126ae4ed1e9ffa87575b14977f215f3cb07b109e0c1fe13ccdd5cf9b1d63b7ebd1237586fef7393c0bc279cf9a6196459
292 -EBUILD emacs-vcs-24.2.9999.ebuild 10900 SHA256 f7b3f114f89f36dfb35d8b030657496d47e61d55f558dfb732f8f76a61427f2c SHA512 ad5b1b7e914fc446d55b33501944226f2754220528a28b28b612f625a26a538710628cff5340393dee95813cb3ae99bc2c389e000183bfecb5da4f1d3f8bcd10 WHIRLPOOL 6642f0d59eccdf84881e448eabe565c6147970e1d890d70ad5093e2a16e93a68966dfdad7c8a697dc6589d4754e35b8649b28f1a9f44e16af1b7715e77c9da6c
293 -MISC ChangeLog 69621 SHA256 951e1a8118ea92cf2157fe4fef63da24dcda5d7021cba21936d641c4c21db617 SHA512 465f22749c929e83cdf05790cf426bc9de246d697daa574d937833abbe882b868ea614a3a6f5a713f2bfa6a346fabaa9ffe0d217a82a3279d13ccf6f4706f2d4 WHIRLPOOL ce2b1a9a34caca5689e525f2f62a9a9aac8e10c34f2c50347d6a53b582a56b9655dde04011f97826edeaafbf6549af93bcf4a28681567d74f27dbaf2f294eeb8
294 +EBUILD emacs-vcs-24.2.9999.ebuild 10899 SHA256 e4deaccc4b58220a883344ef3c8e97afbb0a178fc2e93fbf6ace48bf04922331 SHA512 d1509c4beda0fa570f545d37299de73025a3f3b5504e94d5b05d42ba3bb42eb0c4561686d5c015aa9d94a66916443ca00bf7f5357606f8f6b1afe95303f3de0f WHIRLPOOL 261fbf4e5ee51687fd415e9306ae596371995107f5febeb3b44fe0814e6ec27fc74f6661fc33281e29b39d91dc7febed9da68254b1214cadf01d3e7029a11688
295 +MISC ChangeLog 69755 SHA256 c83801ee9444bc1b8666137da9849d902d441cad0fa1092a30bb0a4cb95ac467 SHA512 d00741bb28e2fab82f149dcac9786ced2cbb7699a4f836fa6d398697775114fb9ce0adec2f865de49e9e677e9978a91a536661152ce9c031961b6ff4f5efcea2 WHIRLPOOL 3c7a548c29c570cab5b06ea5d22793866bae6f518374af36260348d442ea1ca35fc4ba4639d6583e17ebe898b77c63299f3113ca401f43cbdc085aa41fd4de7e
296 MISC metadata.xml 2431 SHA256 f5b0a24ab6e525de4d80cffb7a635260e47c88552e7c2b3fe694b76b130d36f1 SHA512 9345b4871208b2cdc7b1ef4d1981cad54aae6da91ba3fe2aa482df8a242b87d7d1c1288f132ed70ef2cab0372418275a50754c7249bb06adc7f5a17403a40fe7 WHIRLPOOL 73f2ce2c94b5e0b83cd1d06ce975b83004d54f51d573f3330450d60c2e7c5220c4bf92ca0af403a322ed9a67806b3cb11190f81f93e135bf1f8e0d8dee0cf220
297
298 diff --git a/app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild
299 index 3089181..e018037 100644
300 --- a/app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild
301 +++ b/app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild
302 @@ -1,6 +1,6 @@
303 # Copyright 1999-2012 Gentoo Foundation
304 # Distributed under the terms of the GNU General Public License v2
305 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild,v 1.6 2012/09/18 06:48:05 ulm Exp $
306 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.2.9999.ebuild,v 1.7 2012/09/25 19:13:17 ulm Exp $
307
308 EAPI="5"
309
310 @@ -28,7 +28,7 @@ fi
311 DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
312 HOMEPAGE="http://www.gnu.org/software/emacs/"
313
314 -LICENSE="GPL-3+ FDL-1.3+ BSD as-is MIT W3C unicode PSF-2"
315 +LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
316 SLOT="24"
317 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
318 IUSE="alsa athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
319
320 diff --git a/app-editors/emacs/Manifest b/app-editors/emacs/Manifest
321 index ee4c563..18cd35e 100644
322 --- a/app-editors/emacs/Manifest
323 +++ b/app-editors/emacs/Manifest
324 @@ -8,19 +8,17 @@ DIST emacs-22.3.tar.gz 39587396 SHA256 7bd9b719db8ee20c75ee0d256737f7fd2c0e2ea30
325 DIST emacs-23.4-patches-6.tar.bz2 3416 SHA256 a10b45101dbd3f7e4d0bcdf483736b445abf76efdd5d181607ca86180472930d SHA512 b7913b1c6b70b85656007f69b4dd08455a3bcb4eeeeec502c4754b818584e1c186d0be1e8b56ac4358b4bf64997961d72234136e52c09fa115a7a24a3911c06f WHIRLPOOL ef3ae5086863f834b3d46ba3c45c04d4ae27bd95fab225895e3052763716600df89e2b7f6b4dad437cd81e82411ac861aa7a923b66e11064f7719c4d9c868543
326 DIST emacs-23.4-patches-7.tar.bz2 3852 SHA256 cfcf49838ed200d28b0073af65768931253e4db3c7b812f3a4809c6d47a6a418 SHA512 bcc3a3ab50281d1d17f906d10b3b922367e41756c5291609cabfeb0a165d061d2c40cd92f7257cba8ad3d92351e69b8647792a4fa0320479f5944e877cfe1cdf WHIRLPOOL c2f14420f2457e45a646f417c84f14a4942714229362f85ae355e2f1daf141cef706c00c00c65cdfc6e93d25e1a98d5ce11380983d1a35822ebdbc5c43253413
327 DIST emacs-23.4.tar.bz2 38646508 SHA256 26576f9e664397c729f78f5ffcd092969251988461896fe8793062346ee988b9 SHA512 def7a95ecaefae24d8102b96b1d575a23def1b11a8f0bb17b68f7913bd118e2ea4449a8feee76c1bd649f099b70419f0d494ddd9bb32b26f92720cda842b0296 WHIRLPOOL 2384c3f63ff153c3975e373334d6021d46b23ad3cab448ed2e1180501236453a61d13bf1dfbb2e6075bb141dd8511d85f77e37c763b39769f98de48eacc56f3b
328 -DIST emacs-24.1-patches-4.tar.bz2 4296 SHA256 2dda7c1d74b4fd55937c41fd25401684c6a2998dcd27ada4c5bcca856743cbd7 SHA512 bba85091b10791b7539102f5e8ea961e62da1d9b7752225997ecbbe0c1dd80acadcb74e553a89c4fce0e16c2095938f2f565566aa71f003dd108ab73b7806dc1 WHIRLPOOL 7d950722a9b63d07163b3ca150faf134017e22f38b574adfeef206f29f5a696a469d8b9fa7eb62cc4087095bd2cbf7c91a3030ce3ce7f6c74766898471c3ba00
329 DIST emacs-24.1-patches-5.tar.bz2 4720 SHA256 759ea6674b86a7943e95ecfc7d7809367bc6d1506e9b55099ce5e38c80845e9f SHA512 4f213d562237443bd441698e93a9860bdb783bb845412cd3ba5b96e0f029fc49196ffd9644482ae2804293195d621d586ba64ecae7a58e427b40853bcfd52677 WHIRLPOOL f6608221cff48aaeba07f6f98ce0faa75367fafebfb19bd71914cc3ee8a2d10cf7ab25be3735da75f01dd2b7549939d533d7e9d4b54c86d994a718dd6183d32e
330 DIST emacs-24.1.tar.bz2 41722508 SHA256 eeea272732146e2be9aee2f8d71d6cf07b8654c0282da62a26b921d433f02b7c SHA512 aff89b54f2c6b30aa8c9bec8902a52b76ee1c5e4717b4c7385fe3a1583153d6857eed5351ce04f0a16d8fa93bb4b96804ade5dcfffc381094cbb7724934633ca WHIRLPOOL fc9343d464ec837dd069931a90c716e200ea8c67ea2e58d916e4bc3e00ad883c05e105161f6cec868d86ca7f6ec79b2a8a9f887fd3a247c1cfb885a4a685d3f6
331 DIST emacs-24.2-patches-1.tar.xz 2496 SHA256 c445422e685f3a88742ca9a376f2f147a1fb408730a84214a8752458419040ec SHA512 e51ee423b09e7ec3e725dcb9b58ea6c3a5bb826c0c46d82255975c4f6e212cef7d97831e7924782644045fadbc30690702b46e690ea4d97c87b13bc913ee37f9 WHIRLPOOL 18e5daba204ae1b1ac6cb0fd4aee05001fc24dc09b07ca70b99924d9fa56dd63573dff5d4c1121d5054bc794ebe9a78a04f37088c8ce7b74c671ec4fa5b262a4
332 DIST emacs-24.2.tar.xz 34712012 SHA256 1f11b65520611d108eceea886cc1d2573704e18b19aded8a09b75fdea7eb0ddd SHA512 7627d985e9691dd5b5f2a14472592bc1da96ce90823ff50457bb5c20b6e746912b319befff5fb1dac024e1f150df6b7c687ee2cc785f5b7387885244f511bdbd WHIRLPOOL 37a2f8e45a7b3364728f9f99b0661a60355b93f19d745de505dc71b9d8a2ab4de6b4b75a104830da2bcc8d1b3d22539e5f52c85d2f104d8de0dcd0dd69dc9924
333 DIST leim-21.4.tar.gz 3291433 SHA256 db24946985dd644bfed18815d6e991dad27f8ab1fd5823dd6dc4eb8dcd04333b SHA512 c361996f7a3fcc550e7af30a7df3f692071ded2c9dce998e72f537b0e8011f319cfae1742d0be463608a86852046cba23037a29c3ecdcbaf5976807e1d1a1e2c WHIRLPOOL d7f25d5d491f323b80609567ce5cbcb5f20109cdd4671e9972c79279a3ca5338bbf67d35ae8f0bc627bc06917f545d71ab1f66a09c647f47ddaea26772bfc5c1
334 -EBUILD emacs-18.59-r8.ebuild 4467 SHA256 5843fefe4e3ecf51073451fb346766d8d1552d9b046cd5dc6e61332c92963af0 SHA512 e1d586651ef042ce2af1ff68489494c43ce22733e1d9bdcf4259e6844d9abe5b28512a818051cf15175144cf33d2eabc336fd957c4622708e7af1ec5849666d5 WHIRLPOOL 3bbaac0f3a06a84e1e0a9895cb4aeea3df82204a8139b1f734fcd34f31bb679b9e191d8237a602d69e76a3a268a6cf3c67ef982a5154fe88651913e1872d3753
335 -EBUILD emacs-21.4-r24.ebuild 5289 SHA256 20331dede8f4b68ee8cde9e7defd3edff801a89c96f569379d305825893a564d SHA512 973e4f1a567e64cb9f55a24ea92efd8b44d5b38178f3adf0709b7da8a81c5d511cd56f526e6b9da88486ac0a27c88f31c8ec849d13475197f941b5844dbb65af WHIRLPOOL 20408d6fe100609c8c55b5d16f53fb6780f90fd8950c2a2ef7bf4d0e544e3307a5e92662741259e5d53f28d17333b8d6e887eb3116fd6c0444d614322215e874
336 -EBUILD emacs-22.3-r10.ebuild 7742 SHA256 129189fa3d43321462d4b76078e457cf06e3fa7227c50909651d8b191008cf57 SHA512 fd3b25cf05b890b89e5ab8d01ad2994fc3b3e20ee2b92031cba7ad7f5e257ee56ee60517c43c28d6bff6ce9106a5a6b036efa38b32c5e21c9c1c609e56e6e8a3 WHIRLPOOL 037e976e65581b192997ab738e6526c3b6d58cb265820d013f42b62b646a65766c5c2a03544657c2f6f6af30e34a2484f24c0813a8fc7be98f0bd86fba9cf028
337 -EBUILD emacs-23.4-r3.ebuild 10594 SHA256 ec931c632c58ece3ccb3c88e7c74f925ef32ee65628826092b10a0802d081550 SHA512 86f1e36e6b22bf0c62cf613747fc7262064b51e7376e6058c74a998f53857188422b038da222ad4cd6c0eab0644e8c31ca7d50ba3336900093778f5ddced8211 WHIRLPOOL 1cbc1299f429c6b8b854268c6011471f0715a18f684f335b3a1a5015f2cde7ff5e7036a9e25e612a15aac11972698a5bb8246e082ea6657c80eecb87d3d1da63
338 -EBUILD emacs-23.4-r4.ebuild 10590 SHA256 e6ebf06a6ace1b7a709cacf8f06510069b1515127ed28a5c76f3b6f90e58e130 SHA512 eb54350482c7fd8a1fd77bba15c29d01d05dd95125dc4347da2e0c08582ccab28b501cc2e26747db2ff34d8d09f038f4338d0b67437a8b05be5bf23840bfd544 WHIRLPOOL 2d716cdb6507c103e4942039046dd448b381380add03604a95a943b34cd9ec01642ce9d595ce2eddec1f20d42a6e0f6357db8df7fbbcc9cf8c51d2122c122d92
339 -EBUILD emacs-24.1-r1.ebuild 11019 SHA256 57283cb74e577d238549d84ceef5c7a32b23e8c4dbf9c9fcc1b8bc2a949615b4 SHA512 c137c73860a32821a626d6ea37a788b560831d5bd2f0109106bf6af8ac4f62e4ecb7c68d81a2e6bb3f3dcb9cbe7a3d31160064394c04e7378ed4ad77bbaff66c WHIRLPOOL d63dfcf16363ff0392886e1f30d844b2946d493d211f53e1101739ef9b90b78aef03d80c7d12febed445739b11fb546c69407d8de794361443318f31115490cc
340 -EBUILD emacs-24.1.ebuild 11021 SHA256 9c0caf43a164c6336c5f3fac835ca061b6bcc404a4bac5ccb2dfb205977e4c03 SHA512 d945bc942ba9f7fec38b9b06b74d373ccad4fc7ae70062960a9dae3afdf4a0ddbdba254e9fe112fe35e09e66e6c4aef9203403e63a4027f0e31579d5d1a6fc58 WHIRLPOOL 1bc8e5ee9c468b2705c2f85f419281119a5a916e4afefc1b991e2f064d4ec95565fffaabc843347aa4f3b7a12b0841fb393b1140cb32c6efffa18ca4ac9ac07e
341 -EBUILD emacs-24.2.ebuild 10982 SHA256 f28832bbe9dcb52a746f3f9f1f89125f1fd5ff64823a9898daea7dee18c3c73f SHA512 0129fc73dd79977f7db5b9de4df743c429540c01598d28557c8f2669a89103ddff293aa82f7acf359ce28456dcd0d82241f1674ebca829b8764a0a8cc4aadd81 WHIRLPOOL 641f26b20e96fb466a23e4c903ff995c1038358fde41f048cfa04ec81c4cb37c47b4e3e033f5a1ce6c5ca68252c48271c90355d7b8cfab2b516069f49b81c08c
342 -MISC ChangeLog 74339 SHA256 4f1ad5b2744db97df6e87e25851d7b1a5c16088488a9bb8fabc59eb6f8f502a0 SHA512 8a447d8c360ed819eeabf30e5b4e79960e1ab966f33758f5607a20d780c058df9b4422fa94674a369f67834f702c51b1078d461ddee02cd13ab8d977981fcbbf WHIRLPOOL 8455b0161a718865dffe8b295ce18fe290717aee603a61b02060c1c139a5d2f766d1e53dd6040b22427fd199dfa14d57775fd687bed0172fe35627c303deb70e
343 +EBUILD emacs-18.59-r8.ebuild 4466 SHA256 5d9cb405643e4c9cf25305391971337e1f5df1b7cd33bde8e487eb792031e7e7 SHA512 fdf65eb9de75318b1e7bfe0372ef1b8ba7aebe55a933bbc3857e92008ef41075c675fff352bde92d1179c7fc757bd091a138af204dc4d02119f7a96ea02bd01e WHIRLPOOL 56bcc9a7f992203c275ae74717a6df401572f25f4e4489fac688e22595a8c115345ddbf41efff631023eb074839038e1049510c1debd73d77054dc51fb5b8bc6
344 +EBUILD emacs-21.4-r24.ebuild 5288 SHA256 14dc85c4bc2ed74628b0f6970e10b31f4baac4d653d43016abf646ef0aca5b7b SHA512 bccecca7ca47b4295ac5a484c85288a723239c70c35aac62c9b50bc4c6736a72a8c8a4448fdbeac7e6acd34974d219c581bcb68e53a6636b41c08e839a83799a WHIRLPOOL b316e9426fc5e01668b20dee311b7eb5122b650e4eb5b2d6d145a1562fa622c56eca606c9bbcd7560140ebd34c1aae39c9adaf87bca0dd4a9fcf5fa7276668c5
345 +EBUILD emacs-22.3-r10.ebuild 7741 SHA256 8a32d29186c48a0e39aec60a4ac5601a7d13f9c69bebf939c08856374a7b8353 SHA512 8c36fead12a851fe731707ad4402d61517f3bbc9ee1d7575fe0571e6b0ae4ce7c2ba09c7451cd5bbcbd71c16dd734f6ee7cccf2434e223f553fb5cacb160431a WHIRLPOOL 041135abcfa1eb90020e3ff4fc2f4af3a3a3ec3c69035cfb2abc0c0d7c2d2f14467d8957fb4ce054460e45c957fe3dbb47d4da73ce60b6596cea134df0b58263
346 +EBUILD emacs-23.4-r3.ebuild 10593 SHA256 5a229b949161edb2fa8db8a7ee169841074aa446598d04eb5e374f9536c5fe97 SHA512 11207369217a257ec751e51506443b5a0fe749b1a4a6273add165d01e307f5b12b588319c58c8eeb99db2a566ec9c3beb3bc249c14ed836078bcdb39e7a499e3 WHIRLPOOL 21d263e79da393d8543e7029ee2dc48df64d933120eb75b2facd02be0d20947c2580457df8e35b909ce7f8ba494985574774214b788bc6378752ee8235b108da
347 +EBUILD emacs-23.4-r4.ebuild 10595 SHA256 28d5e04b5f749a3ed8a79f07d82ce68fe8b2c936cc02669c58d6f6c0031ea74a SHA512 d41b2f5745214683143ab92f2f4c19ceae6da44d62cdef209fe016fcd9495d0f75be589619254fcefdfb1ee9614f4a9e8584dd5bddc6d6d3924411e4fd02098e WHIRLPOOL f0c4293207c29ec544c4d6251719107020b8f36872bb5435b54e87de78739ee219d7672ce3d1dbbe8c03fd0fd492f068dd5b619c636a57fecd0bdd9590695642
348 +EBUILD emacs-24.1-r1.ebuild 11024 SHA256 ceefde7ef9845a5d9e724339a8ffeccd90bab677c580b696c2c748fea82f66e9 SHA512 8713956987f7b8cb85bcb4ff90dd1bc2e09b3a81a7ac13712d4cabdba9941a3ca23009fe5b032c8a60ef1350e02d2bca845683a11c9ab5de37561b370d7555e7 WHIRLPOOL dd158f40d8f1b0132109a5d89818fae7221eab0aaa9705ec7a3ae39fc97cfdaf7cee0dc2abd07808cbe465409803cc1253186b1705338287f36af9769713528b
349 +EBUILD emacs-24.2.ebuild 10981 SHA256 8a9ff0823f64f51532e257a3a3af4af03f4b141d83dd1788ddf8e4f6dc98d8c5 SHA512 b2d1fd6d05d8e3ff070147f8ff00e3eb6449860af599d6da99aefefeb3224e9d1f555d3176020e45153634f9efb57b1f2f49ac821e63957939d48265e5f3370c WHIRLPOOL a6f49054477f98c1f4fd0fc4e7b70d53718a1aa638a1deb1c8732db25d91f7f7202c17382ffabb8550495946570d61433a846fd7eeb86081922448a04180dea8
350 +MISC ChangeLog 74834 SHA256 330bd0825f2836a9c1a85de8475506f6e45d653cbad5ab5819829fc35db6ac78 SHA512 06fc9290c00024d07b71f13696b5c2a35add39da12701d7726aa18cca3b1f348bebf9056a8550fb623e1b9475bc71c65e5aef3378fb26cfc0624d06486d7b0f3 WHIRLPOOL 709e16a432aa3e40214dd9c91b47812553b82149b3ceaed306779e27ca3084d0afecadda8a6c507b55e6511707cebb3929f909d047615fae57020101c0091568
351 MISC metadata.xml 2554 SHA256 94ab92fa323dcb5747564f95bfd1e2a3eca2511cd3e95b48e4ca95ea40ac8238 SHA512 24207b2227969f1d87126bbca5046f10f848f22584fa9c2a23a88ebb854e4344cc564902be1e6e1b86ae8b9da416f65ccf6172d4595633d6063f78893f9ae0c1 WHIRLPOOL db5cb9f87e4804152bf0a41807497733f4a4c382dd634b2ba7cc41fb6bda07191adca7e68b11dcac79d681b3b17dc9a4d629d0b8d152cd8c148883e754385155
352
353 diff --git a/app-editors/emacs/emacs-18.59-r8.ebuild b/app-editors/emacs/emacs-18.59-r8.ebuild
354 index 649d6cf..1e7d663 100644
355 --- a/app-editors/emacs/emacs-18.59-r8.ebuild
356 +++ b/app-editors/emacs/emacs-18.59-r8.ebuild
357 @@ -1,6 +1,6 @@
358 # Copyright 1999-2012 Gentoo Foundation
359 # Distributed under the terms of the GNU General Public License v2
360 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r8.ebuild,v 1.7 2012/09/18 06:52:43 ulm Exp $
361 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r8.ebuild,v 1.8 2012/09/25 19:12:18 ulm Exp $
362
363 EAPI=4
364
365 @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/old-gnu/emacs/${P}.tar.gz
366 ftp://ftp.splode.com/pub/users/friedman/emacs/${P}-linux22x-elf-glibc21.diff.gz
367 mirror://gentoo/${P}-patches-8.tar.bz2"
368
369 -LICENSE="GPL-1+ GPL-2+ BSD" #as-is
370 +LICENSE="GPL-1+ GPL-2+ BSD" #HPND
371 SLOT="18"
372 KEYWORDS="amd64 x86"
373 IUSE=""
374
375 diff --git a/app-editors/emacs/emacs-21.4-r24.ebuild b/app-editors/emacs/emacs-21.4-r24.ebuild
376 index 6e66b5b..c03182b 100644
377 --- a/app-editors/emacs/emacs-21.4-r24.ebuild
378 +++ b/app-editors/emacs/emacs-21.4-r24.ebuild
379 @@ -1,6 +1,6 @@
380 # Copyright 1999-2012 Gentoo Foundation
381 # Distributed under the terms of the GNU General Public License v2
382 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r24.ebuild,v 1.6 2012/09/18 06:52:43 ulm Exp $
383 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r24.ebuild,v 1.7 2012/09/25 19:12:18 ulm Exp $
384
385 EAPI="5"
386 WANT_AUTOMAKE="none"
387 @@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/emacs/${P}a.tar.gz
388 mirror://gentoo/${P}-patches-13.tar.bz2
389 leim? ( mirror://gnu/emacs/leim-${PV}.tar.gz )"
390
391 -LICENSE="GPL-2+ FDL-1.1+ BSD as-is MIT"
392 +LICENSE="GPL-2+ FDL-1.1+ BSD HPND MIT"
393 SLOT="21"
394 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
395 IUSE="X Xaw3d leim motif sendmail"
396
397 diff --git a/app-editors/emacs/emacs-22.3-r10.ebuild b/app-editors/emacs/emacs-22.3-r10.ebuild
398 index 7f1246e..3971983 100644
399 --- a/app-editors/emacs/emacs-22.3-r10.ebuild
400 +++ b/app-editors/emacs/emacs-22.3-r10.ebuild
401 @@ -1,6 +1,6 @@
402 # Copyright 1999-2012 Gentoo Foundation
403 # Distributed under the terms of the GNU General Public License v2
404 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3-r10.ebuild,v 1.3 2012/09/18 06:52:43 ulm Exp $
405 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.3-r10.ebuild,v 1.4 2012/09/25 19:12:18 ulm Exp $
406
407 EAPI="5"
408 WANT_AUTOMAKE="none"
409 @@ -12,7 +12,7 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
410 SRC_URI="mirror://gnu/emacs/${P}.tar.gz
411 mirror://gentoo/${P}-patches-8.tar.bz2"
412
413 -LICENSE="GPL-3+ FDL-1.2+ BSD as-is MIT"
414 +LICENSE="GPL-3+ FDL-1.2+ BSD HPND MIT"
415 SLOT="22"
416 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
417 IUSE="alsa games gif gtk gzip-el hesiod jpeg kerberos motif png sound source tiff toolkit-scroll-bars X Xaw3d +xpm"
418
419 diff --git a/app-editors/emacs/emacs-23.4-r3.ebuild b/app-editors/emacs/emacs-23.4-r3.ebuild
420 index 30005cd..0e394ec 100644
421 --- a/app-editors/emacs/emacs-23.4-r3.ebuild
422 +++ b/app-editors/emacs/emacs-23.4-r3.ebuild
423 @@ -1,6 +1,6 @@
424 # Copyright 1999-2012 Gentoo Foundation
425 # Distributed under the terms of the GNU General Public License v2
426 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r3.ebuild,v 1.13 2012/09/18 06:52:43 ulm Exp $
427 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r3.ebuild,v 1.14 2012/09/25 19:12:18 ulm Exp $
428
429 EAPI="5"
430 WANT_AUTOMAKE="none"
431 @@ -12,7 +12,7 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
432 SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
433 mirror://gentoo/${P}-patches-6.tar.bz2"
434
435 -LICENSE="GPL-3+ FDL-1.3+ BSD as-is MIT W3C unicode PSF-2"
436 +LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
437 SLOT="23"
438 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
439 IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
440
441 diff --git a/app-editors/emacs/emacs-23.4-r4.ebuild b/app-editors/emacs/emacs-23.4-r4.ebuild
442 index cb6df65..f76e4df 100644
443 --- a/app-editors/emacs/emacs-23.4-r4.ebuild
444 +++ b/app-editors/emacs/emacs-23.4-r4.ebuild
445 @@ -1,6 +1,6 @@
446 # Copyright 1999-2012 Gentoo Foundation
447 # Distributed under the terms of the GNU General Public License v2
448 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r4.ebuild,v 1.7 2012/09/18 06:52:43 ulm Exp $
449 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r4.ebuild,v 1.9 2012/09/26 15:53:37 xarthisius Exp $
450
451 EAPI="5"
452 WANT_AUTOMAKE="none"
453 @@ -12,9 +12,9 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
454 SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
455 mirror://gentoo/${P}-patches-7.tar.bz2"
456
457 -LICENSE="GPL-3+ FDL-1.3+ BSD as-is MIT W3C unicode PSF-2"
458 +LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
459 SLOT="23"
460 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
461 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
462 IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
463 REQUIRED_USE="aqua? ( !X )"
464
465
466 diff --git a/app-editors/emacs/emacs-24.1-r1.ebuild b/app-editors/emacs/emacs-24.1-r1.ebuild
467 index 8acadea..92a1105 100644
468 --- a/app-editors/emacs/emacs-24.1-r1.ebuild
469 +++ b/app-editors/emacs/emacs-24.1-r1.ebuild
470 @@ -1,6 +1,6 @@
471 # Copyright 1999-2012 Gentoo Foundation
472 # Distributed under the terms of the GNU General Public License v2
473 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.1-r1.ebuild,v 1.7 2012/09/18 06:52:43 ulm Exp $
474 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.1-r1.ebuild,v 1.9 2012/09/26 15:53:37 xarthisius Exp $
475
476 EAPI="5"
477
478 @@ -11,9 +11,9 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
479 SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
480 mirror://gentoo/${P}-patches-5.tar.bz2"
481
482 -LICENSE="GPL-3+ FDL-1.3+ BSD as-is MIT W3C unicode PSF-2"
483 +LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
484 SLOT="24"
485 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
486 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
487 IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
488 REQUIRED_USE="aqua? ( !X )"
489
490
491 diff --git a/app-editors/emacs/emacs-24.1.ebuild b/app-editors/emacs/emacs-24.1.ebuild
492 deleted file mode 100644
493 index 6a3617e..0000000
494 --- a/app-editors/emacs/emacs-24.1.ebuild
495 +++ /dev/null
496 @@ -1,338 +0,0 @@
497 -# Copyright 1999-2012 Gentoo Foundation
498 -# Distributed under the terms of the GNU General Public License v2
499 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.1.ebuild,v 1.13 2012/09/18 06:52:43 ulm Exp $
500 -
501 -EAPI="5"
502 -
503 -inherit autotools elisp-common eutils flag-o-matic multilib
504 -
505 -DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
506 -HOMEPAGE="http://www.gnu.org/software/emacs/"
507 -SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
508 - mirror://gentoo/${P}-patches-4.tar.bz2"
509 -
510 -LICENSE="GPL-3+ FDL-1.3+ BSD as-is MIT W3C unicode PSF-2"
511 -SLOT="24"
512 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
513 -IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
514 -REQUIRED_USE="aqua? ( !X )"
515 -
516 -RDEPEND="sys-libs/ncurses
517 - >=app-admin/eselect-emacs-1.2
518 - >=app-emacs/emacs-common-gentoo-1.3-r3[games?,X?]
519 - net-libs/liblockfile
520 - hesiod? ( net-dns/hesiod )
521 - kerberos? ( virtual/krb5 )
522 - alsa? ( media-libs/alsa-lib )
523 - gpm? ( sys-libs/gpm )
524 - dbus? ( sys-apps/dbus )
525 - gnutls? ( net-libs/gnutls )
526 - libxml2? ( >=dev-libs/libxml2-2.2.0 )
527 - selinux? ( sys-libs/libselinux )
528 - X? (
529 - x11-libs/libXmu
530 - x11-libs/libXt
531 - x11-misc/xbitmaps
532 - gconf? ( >=gnome-base/gconf-2.26.2 )
533 - gsettings? ( >=dev-libs/glib-2.28.6 )
534 - gif? ( media-libs/giflib )
535 - jpeg? ( virtual/jpeg )
536 - png? ( >=media-libs/libpng-1.4:0= )
537 - svg? ( >=gnome-base/librsvg-2.0 )
538 - tiff? ( media-libs/tiff )
539 - xpm? ( x11-libs/libXpm )
540 - imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
541 - xft? (
542 - media-libs/fontconfig
543 - media-libs/freetype
544 - x11-libs/libXft
545 - m17n-lib? (
546 - >=dev-libs/libotf-0.9.4
547 - >=dev-libs/m17n-lib-1.5.1
548 - )
549 - )
550 - gtk? (
551 - gtk3? ( x11-libs/gtk+:3 )
552 - !gtk3? ( x11-libs/gtk+:2 )
553 - )
554 - !gtk? (
555 - Xaw3d? ( x11-libs/libXaw3d )
556 - !Xaw3d? (
557 - athena? ( x11-libs/libXaw )
558 - !athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
559 - )
560 - )
561 - )"
562 -
563 -DEPEND="${RDEPEND}
564 - alsa? ( virtual/pkgconfig )
565 - dbus? ( virtual/pkgconfig )
566 - gnutls? ( virtual/pkgconfig )
567 - libxml2? ( virtual/pkgconfig )
568 - X? ( virtual/pkgconfig )
569 - gzip-el? ( app-arch/gzip )
570 - pax_kernel? ( sys-apps/paxctl )"
571 -
572 -RDEPEND="${RDEPEND}
573 - !<app-editors/emacs-vcs-24.1.9999-r1"
574 -
575 -EMACS_SUFFIX="emacs-${SLOT}"
576 -SITEFILE="20${PN}-${SLOT}-gentoo.el"
577 -# FULL_VERSION keeps the full version number, which is needed in
578 -# order to determine some path information correctly for copy/move
579 -# operations later on
580 -FULL_VERSION="${PV%%_*}"
581 -S="${WORKDIR}/emacs-${FULL_VERSION}"
582 -
583 -src_prepare() {
584 - EPATCH_SUFFIX=patch epatch
585 - epatch_user
586 -
587 - if ! use alsa; then
588 - # ALSA is detected even if not requested by its USE flag.
589 - # Suppress it by supplying pkg-config with a wrong library name.
590 - sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
591 - || die "unable to sed configure.in"
592 - fi
593 - if ! use gzip-el; then
594 - # Emacs' build system automatically detects the gzip binary and
595 - # compresses el files. We don't want that so confuse it with a
596 - # wrong binary name
597 - sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
598 - || die "unable to sed configure.in"
599 - fi
600 -
601 - AT_M4DIR=m4 eautoreconf
602 -}
603 -
604 -src_configure() {
605 - strip-flags
606 -
607 - if use sh; then
608 - replace-flags "-O[1-9]" -O0 #262359
609 - elif use ia64; then
610 - replace-flags "-O[2-9]" -O1 #325373
611 - else
612 - replace-flags "-O[3-9]" -O2
613 - fi
614 -
615 - local myconf
616 -
617 - if use alsa && ! use sound; then
618 - einfo "Although sound USE flag is disabled you chose to have alsa,"
619 - einfo "so sound is switched on anyway."
620 - myconf="${myconf} --with-sound"
621 - else
622 - myconf="${myconf} $(use_with sound)"
623 - fi
624 -
625 - if use X; then
626 - myconf="${myconf} --with-x --without-ns"
627 - myconf="${myconf} $(use_with gconf)"
628 - myconf="${myconf} $(use_with gsettings)"
629 - myconf="${myconf} $(use_with toolkit-scroll-bars)"
630 - myconf="${myconf} $(use_with gif) $(use_with jpeg)"
631 - myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
632 - myconf="${myconf} $(use_with tiff) $(use_with xpm)"
633 - myconf="${myconf} $(use_with imagemagick)"
634 -
635 - if use xft; then
636 - myconf="${myconf} --with-xft"
637 - myconf="${myconf} $(use_with m17n-lib libotf)"
638 - myconf="${myconf} $(use_with m17n-lib m17n-flt)"
639 - else
640 - myconf="${myconf} --without-xft"
641 - myconf="${myconf} --without-libotf --without-m17n-flt"
642 - use m17n-lib && ewarn \
643 - "USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
644 - fi
645 -
646 - if use gtk; then
647 - einfo "Configuring to build with GIMP Toolkit (GTK+)"
648 - myconf="${myconf} --with-x-toolkit=$(usev gtk3 || echo gtk)"
649 - local f
650 - for f in athena Xaw3d motif; do
651 - use ${f} && ewarn "USE flag \"${f}\" ignored" \
652 - "(superseded by \"gtk\")"
653 - done
654 - elif use athena || use Xaw3d; then
655 - einfo "Configuring to build with Athena/Lucid toolkit"
656 - myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
657 - use motif && ewarn "USE flag \"motif\" ignored" \
658 - "(superseded by \"athena\" or \"Xaw3d\")"
659 - elif use motif; then
660 - einfo "Configuring to build with Motif toolkit"
661 - myconf="${myconf} --with-x-toolkit=motif"
662 - else
663 - einfo "Configuring to build with no toolkit"
664 - myconf="${myconf} --with-x-toolkit=no"
665 - fi
666 -
667 - ! use gtk && use gtk3 \
668 - && ewarn "USE flag \"gtk3\" has no effect if \"gtk\" is not set."
669 - elif use aqua; then
670 - einfo "Configuring to build with Cocoa support"
671 - myconf="${myconf} --with-ns --disable-ns-self-contained"
672 - myconf="${myconf} --without-x"
673 - else
674 - myconf="${myconf} --without-x --without-ns"
675 - fi
676 -
677 - # Save version information in the Emacs binary. It will be available
678 - # in variable "system-configuration-options".
679 - myconf="${myconf} GENTOO_PACKAGE=${CATEGORY}/${PF}"
680 -
681 - # According to configure, this option is only used for GNU/Linux
682 - # (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
683 - # out the location because $(get_libdir) does not necessarily return
684 - # something that matches the host OS's libdir naming (e.g. RHEL).
685 - local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
686 - crtdir=${crtdir%/*}
687 -
688 - econf \
689 - --program-suffix=-${EMACS_SUFFIX} \
690 - --infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
691 - --enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
692 - --with-crt-dir="${crtdir}" \
693 - --with-gameuser="${GAMES_USER_DED:-games}" \
694 - --without-compress-info \
695 - --disable-maintainer-mode \
696 - $(use_with hesiod) \
697 - $(use_with kerberos) $(use_with kerberos kerberos5) \
698 - $(use_with gpm) \
699 - $(use_with dbus) \
700 - $(use_with gnutls) \
701 - $(use_with libxml2 xml2) \
702 - $(use_with selinux) \
703 - $(use_with wide-int) \
704 - ${myconf}
705 -}
706 -
707 -src_compile() {
708 - export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
709 - emake CC="$(tc-getCC)"
710 -}
711 -
712 -src_install () {
713 - emake install DESTDIR="${D}"
714 -
715 - rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
716 - || die "removing duplicate emacs executable failed"
717 - mv "${ED}"/usr/bin/emacs-${EMACS_SUFFIX} "${ED}"/usr/bin/${EMACS_SUFFIX} \
718 - || die "moving Emacs executable failed"
719 -
720 - # move man pages to the correct place
721 - local m
722 - for m in "${ED}"/usr/share/man/man1/* ; do
723 - mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
724 - done
725 -
726 - # move info dir to avoid collisions with the dir file generated by portage
727 - mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
728 - || die "moving info dir failed"
729 - touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
730 - docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
731 -
732 - # avoid collision between slots, see bug #169033 e.g.
733 - rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
734 - rm -rf "${ED}"/usr/share/{applications,icons}
735 - rm -rf "${ED}"/var
736 -
737 - # remove unused <version>/site-lisp dir
738 - rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
739 -
740 - local c=";;"
741 - if use source; then
742 - insinto /usr/share/emacs/${FULL_VERSION}/src
743 - # This is not meant to install all the source -- just the
744 - # C source you might find via find-function
745 - doins src/*.{c,h,m}
746 - doins -r src/{m,s}
747 - rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
748 - c=""
749 - fi
750 -
751 - sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
752 - X
753 - ;;; ${PN}-${SLOT} site-lisp configuration
754 - X
755 - (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
756 - X ${c}(setq find-function-C-source-directory
757 - X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
758 - X (let ((path (getenv "INFOPATH"))
759 - X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
760 - X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
761 - X (and path
762 - X ;; move Emacs Info dir before anything else in /usr/share/info
763 - X (let* ((p (cons nil (split-string path ":" t))) (q p))
764 - X (while (and (cdr q) (not (string-match re (cadr q))))
765 - X (setq q (cdr q)))
766 - X (setcdr q (cons dir (delete dir (cdr q))))
767 - X (setq Info-directory-list (prune-directory-list (cdr p)))))))
768 - EOF
769 - elisp-site-file-install "${T}/${SITEFILE}" || die
770 -
771 - dodoc README BUGS
772 -
773 - if use aqua; then
774 - dodir /Applications/Gentoo
775 - rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
776 - mv nextstep/Emacs.app \
777 - "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
778 - elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
779 - elog "You may want to copy or symlink it into /Applications by yourself."
780 - fi
781 -}
782 -
783 -pkg_preinst() {
784 - # move Info dir file to correct name
785 - local infodir=/usr/share/info/${EMACS_SUFFIX} f
786 - if [[ -f ${ED}${infodir}/dir.orig ]]; then
787 - mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
788 - elif [[ -d "${ED}"${infodir} ]]; then
789 - # this should not happen in EAPI 4
790 - ewarn "Regenerating Info directory index in ${infodir} ..."
791 - rm -f "${ED}"${infodir}/dir{,.*}
792 - for f in "${ED}"${infodir}/*; do
793 - if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
794 - install-info --info-dir="${ED}"${infodir} "${f}" \
795 - || die "install-info failed"
796 - fi
797 - done
798 - fi
799 -}
800 -
801 -pkg_postinst() {
802 - elisp-site-regen
803 -
804 - if use livecd; then
805 - # force an update of the emacs symlink for the livecd/dvd,
806 - # because some microemacs packages set it with USE=livecd
807 - eselect emacs update
808 - else
809 - eselect emacs update ifunset
810 - fi
811 -
812 - if use X; then
813 - elog "You need to install some fonts for Emacs."
814 - elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
815 - elog "machine would satisfy basic Emacs requirements under X11."
816 - elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
817 - elog "for how to enable anti-aliased fonts."
818 - elog
819 - fi
820 -
821 - elog "You can set the version to be started by /usr/bin/emacs through"
822 - elog "the Emacs eselect module, which also redirects man and info pages."
823 - elog "Therefore, several Emacs versions can be installed at the same time."
824 - elog "\"man emacs.eselect\" for details."
825 - elog
826 - elog "If you upgrade from a previous major version of Emacs, then it is"
827 - elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
828 - elog "all byte-compiled elisp files of the installed Emacs packages."
829 -}
830 -
831 -pkg_postrm() {
832 - elisp-site-regen
833 - eselect emacs update ifunset
834 -}
835
836 diff --git a/app-editors/emacs/emacs-24.2.ebuild b/app-editors/emacs/emacs-24.2.ebuild
837 index 904ae68..45dccea 100644
838 --- a/app-editors/emacs/emacs-24.2.ebuild
839 +++ b/app-editors/emacs/emacs-24.2.ebuild
840 @@ -1,6 +1,6 @@
841 # Copyright 1999-2012 Gentoo Foundation
842 # Distributed under the terms of the GNU General Public License v2
843 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.2.ebuild,v 1.2 2012/09/18 06:52:43 ulm Exp $
844 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.2.ebuild,v 1.3 2012/09/25 19:12:18 ulm Exp $
845
846 EAPI="5"
847
848 @@ -11,7 +11,7 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
849 SRC_URI="mirror://gnu/emacs/${P}.tar.xz
850 mirror://gentoo/${P}-patches-1.tar.xz"
851
852 -LICENSE="GPL-3+ FDL-1.3+ BSD as-is MIT W3C unicode PSF-2"
853 +LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
854 SLOT="24"
855 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
856 IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
857
858 diff --git a/app-emulation/qemu-kvm/Manifest b/app-emulation/qemu-kvm/Manifest
859 index 29ccaf6..33adfb0 100644
860 --- a/app-emulation/qemu-kvm/Manifest
861 +++ b/app-emulation/qemu-kvm/Manifest
862 @@ -15,8 +15,8 @@ DIST qemu-kvm-1.1.1-bp-2.tar.xz 5404 SHA256 2cfec58dbeea354664d98f9920d8c41f946f
863 DIST qemu-kvm-1.1.1.tar.gz 6599376 SHA256 c6fab57ccadcad5deb34728623840a0141a0f3c8f29d0c253db577f059c796df SHA512 1106a35212cdac1fe5b043af6754595d03232f22bf74cdab86973759adb3cff2d3d7b42290883d2d99d97d163fe274de0108a05eed906ffdc3349c0631f52492 WHIRLPOOL 4d9b2b788a7f87104032635b3b6e2cd96275b92683e3003510b0951536ed6bcb959959bc7529e3f912a7a2055b5c1710b9310d591a8b443a17a231e5b86f6105
864 EBUILD qemu-kvm-1.0.1-r1.ebuild 12235 SHA256 d7256f46f3d114877109ec607b8b6186060b03e4f4896f052d5ae60051ce901c SHA512 9ba5e841de010f1198899acf06868d888af419fa14ec9831fe2e0ee806dfc1640797abe44dd47c2ce341a259879cddff5b74b95834c8d73f15172fed02f71e71 WHIRLPOOL 7573df0b236500b547d04148de46d69f43a52359ad040e50c2ed3c969df16e49e90d785a1e8054474868e6ec17ca7ab13d4859c2c2604f17e9e0893010cbf366
865 EBUILD qemu-kvm-1.0.1.ebuild 11509 SHA256 214a547028e2767e16d8067ded8d5dcab91b8aa924b326ad62ed82c3a298272a SHA512 8eef5aa8fdc4d4ff1c0a158c91de3df07515860031f7f3a7087071b160823790aa6dd4ef0f0fe753408788c4e0b4a545686f1213f43de2d7af11b364ee0d034d WHIRLPOOL 15832313b89f192137b6e2f0e7d72a642520592979c02e3b0ee565db538f97a9d146f404f1ef82b39df49d4ee6b208747d8d207d64347739cd1256da2b3730b3
866 -EBUILD qemu-kvm-1.1.1-r1.ebuild 12013 SHA256 828791211af9467691c4bc773e3943c7c3109d2a458ce69bb2baa786b15c69a0 SHA512 f775053060fc16dca506ff57222dae76bef7525246277eb072151d72d8b411eb52f9d1f9d07e0bf1db9850c5917c8948b901d8611b953ca53122e16e8d4e16fc WHIRLPOOL 4d983f82429c3aea6e219187f6f250fbb1e0ecbda088ca62e4dace2a9571ec61bb7501f897e7e684baf4767b859321df07b585b8324653bba045e053e434ede9
867 +EBUILD qemu-kvm-1.1.1-r1.ebuild 12017 SHA256 a86c491c846b747df1bb57a1ac82641eac2c4a3c48f4979db62e0346067cdfcd SHA512 5c3fc3ef190cd0db980b0a3a3ad85ab5800dbc4f70dbd0b1c2b568a11de1f2a26bd794465de3f28781efd64d043e6a5bd57d5853cad09b0a2e8c823dd08e13fd WHIRLPOOL 7bb0e7837f8ab532b0bd12aa72496f7e7ce6002a1865ae6c6445d406065649723ba17f2b15fc7ba864fc0f7fee6b7fb18442483bcd549a4f03d30413c60a82b8
868 EBUILD qemu-kvm-1.1.1-r3.ebuild 12096 SHA256 45ad3d466f6ce1a12b71741bf7671de9de7e1b2c4861effea7c1411b230ea4bf SHA512 4b3bb0af0791a6e1914839c63b6f9f03990a328539e79ab4f8821f9bb88c6753d4b794baae2b86b368dd702b5b451e4b171bb3746cfb4cf256f56ea27609fe11 WHIRLPOOL ae469611b22212b5cdd45d5422528d2f54a94465733c6e44693b9371f514cf10e8436e4ba6c1ba2d01637b2c897c1901f10fb4d61fbcdcce6a4f6ee5eebbf981
869 EBUILD qemu-kvm-9999.ebuild 12699 SHA256 4136353afa5138bf820d709a6d784a00cd401cc40d1e71377fdcfb6608b6fc92 SHA512 4024d147f10e2a2f1517060935ce2fe749e0f0cc1ee2ea7e326340a973229cd0169db1a62076f308d858646a9f63c5c209a49f2b4fe51f4b8afec4c8741ed5e2 WHIRLPOOL 1e149825be906e0abca31ae683427949be48c8892e60999d2c3c9fd21f4ae02fa592f91f13bcce675d89d9eea462b733cdcd05344ddcba3f9560d9a1157feac7
870 -MISC ChangeLog 31791 SHA256 76a8a8fcae331fca1b8d911aaa7c854ec9dde01e118aad2ec7c375494c98f3e5 SHA512 59742ae212cf460d46b556b0c66e590e980b38e93222204c467e2a4860a5d02e06d44060c9964d651b251f6fb1a530867d7b2a2dfffbb851797bacc1bd4d288b WHIRLPOOL 09bf166de33ef89858c820a7b17efa14bd2b6e763245dc56752f893429946a6e382aa433b2c700213557e70e0a428354525a0fb1cad5122b8c37b32c795a0ac2
871 +MISC ChangeLog 31908 SHA256 c11db2f8193138f92d622a58302de6e5ab73b49740092349c11dbd818f401db0 SHA512 59cfef5c2669a6b98c22dfefc5c57cce567714c02ca60d6270d4b4a6b9bbff6248cb234ae8adf5ae15c73533dee34debce086968d64f40da10048102113ed625 WHIRLPOOL 43282d99a2fc9a015c5cc28a429bf1ea02b65a3d1dc1cf938af7a382e094e7db36a504f442d4b2ff90d5678f2cee9e72a9886ebd9db4965d17c3c2c41eb11a68
872 MISC metadata.xml 2337 SHA256 b1e73a813ad11b04406255a877894bdfa52967d1cfd1a46338622d85c62d8168 SHA512 0ab3cd05e097cc4711038523121d63a036512e456d192663aee57af17f8f68c214c6ef3166c3a45602cfbd910efa3e57524740ffcde1792c5f9de6564ef24353 WHIRLPOOL 437741e74a6578749afefdf76f5e57a1ceb9e3fe0585cba2512168d9227fd41f429a741dd8602a78bbc7d37df9fd5df04b1c40534775e4cf724c9caa417ea24e
873
874 diff --git a/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild b/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild
875 index 5741447..bf3a64c 100644
876 --- a/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild
877 +++ b/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild
878 @@ -1,6 +1,6 @@
879 # Copyright 1999-2012 Gentoo Foundation
880 # Distributed under the terms of the GNU General Public License v2
881 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild,v 1.9 2012/09/10 02:20:44 cardoe Exp $
882 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-1.1.1-r1.ebuild,v 1.10 2012/09/23 08:47:42 phajdan.jr Exp $
883
884 EAPI="5"
885
886 @@ -17,7 +17,7 @@ else
887 SRC_URI="mirror://sourceforge/kvm/${PN}/${P}.tar.gz
888 ${BACKPORTS:+
889 http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.xz}"
890 - KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
891 + KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
892 fi
893
894 DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
895
896 diff --git a/app-emulation/qemu/Manifest b/app-emulation/qemu/Manifest
897 index c3a807b..b6b7f71 100644
898 --- a/app-emulation/qemu/Manifest
899 +++ b/app-emulation/qemu/Manifest
900 @@ -4,6 +4,7 @@ AUX qemu-0.11.1-cfg-pulse.patch 622 SHA256 22ee9c11fad4f1360dff7dfddf0776db72efe
901 AUX qemu-1.0-unmagic-debug.patch 1929 SHA256 dd68fa1abc9e7c9d17bb2407c5a5b80b1302a9c1b24805abe61537b068347659 SHA512 12aad340c8357ca42b7fb7fe27e455f6386d99ac904912b60751721cbd32dc0a7068653650271bdcc0a539c72d73e9ede7cd07a598d8a4b4f6e1ea5d639b4c13 WHIRLPOOL d31da466acc21cc2d9b9920ac51f0eece475a2d76163fd185a9585b249da348bef115b1f9dbb35407a4718ea9cdbf5a0a82ae10e497d5d50ff417841df7c7097
902 AUX qemu-1.0-unmagic-xfsctl.patch 654 SHA256 b69f5fac63fdd61a314373359dc20b1bf0d4eb6bc0e66105032d28c107a81090 SHA512 a9f8c20b03dad360b1a1cdfcb30109755319582dad3f2c376084a776e55c437af58c55d682b958b11f378c78aff517accd4d93e5d3907c52a9fdfb2ca214d119 WHIRLPOOL 2aabacaf42a496e9fd1fb492c3a8e515fea719eda596d5713502810a24d189dabb16a0b2f9ef46c484af84d276f5b8eea76e3f1c3c8ccf0c38416cca5ef53cdb
903 AUX qemu-1.0.1-siginfo.patch 2268 SHA256 b5d8ddf3469b72ac3c82847c7b35df5f84ab2b0f2924e7cdaacaaae173f69846 SHA512 10d27fe413fc5fb3de941a2b00d6504ce766d6246c481c811263617f2cf88f5dda318ecc78b681f0f84c3e8d954527c84d5c21712c908cbfc89b6d5f4a49e6b9 WHIRLPOOL 591645f4e453126b98f055a96fe06e115d7c8821bc7b2be13e329aeeac61d7694ae4df9c62a7eb5d67e5a78d3ab9defdd01db36a2567d7acfc86c69373bb29db
904 +AUX qemu-1.2.0-cflags.patch 359 SHA256 8917142633d32497d63dd2f2934e17d86a2e2ab11be2c8551e7218c9251b66a1 SHA512 f60ecc9a0e6969436a77444193cdba4f3028db683de0963870cbac5bf3a1b47da815926236f127a5f56333efc21efc52eb732cfce6393b764bfa1b9f569df645 WHIRLPOOL e0b3b8e1e68a3b42ce7727f7fa2029dd382fe9c8f7260c29e52368a1cd3b29efcfc134cf9908b3590ed6fe57c785bd05bf676e61736dc321a7a4899dd8b0a861
905 AUX qemu-ifdown 478 SHA256 7d90c39184fd7531d9b8ae787122b68ac768b41afeb0ef2b3baa6461f77af03d SHA512 6aeffcd1cd38ce0468fb280d52de402429d8d88b97b215e6e3727bc7f58f63e60a84ed351becc854436fdcd33d00c0e4ee7b1f5f31b225a009e8af6decab0e4d WHIRLPOOL de2be76d26c28bf5dca213106be824836b682e47f9cfbefe51d515fb4ae5a090624bb7050f13a0340a1305925473043ac5316172b33a197359cd7d89d414174c
906 AUX qemu-ifup 554 SHA256 eae9b50680442acc29c65a245a2d26a63756ad4cb894e08cb5ea249686801f1d SHA512 dd1fab3db7fa6e8b8ce3ef27e09996629c0eea9e3d4f6489523af71f25eb0f801d30614a5e0f191b6977b34d13b588e64a5cec8fcc731e6ff7dbfdebc759f028 WHIRLPOOL fb665f63982a47fe47c5186036524981c848ad22902886bc10425e2ea7d06dafdd9b4fe86027e4d9ae3847d81b0fc9c2d6fe7dcf63e55cd943cd0a63503b7450
907 AUX qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch 1412 SHA256 9a06665c47b76b2501f148713c46f8ce0b14ed03da5e6cb03c0d141f5d91900a SHA512 ce0cb894819ff4a97de54a0f8935a8311f563c3ef4f7b71f15d83f333481febce947697430db92bf3fe95fbbc921312cb163bc6f214d1cf7c4275d4c4d331587 WHIRLPOOL a526113ef51e6d65ba01db9a8310a161f857b80672a588b52d468540d4ee715b378164ca6c1b7eac68b359895a7b938df67f2a68fc7f2d44ac9d804f7e0afa1d
908 @@ -12,12 +13,16 @@ DIST qemu-1.0-patches.tar.xz 43540 SHA256 32a8b98cd5fd661268328d71efbfafd6597210
909 DIST qemu-1.0.1.tar.gz 10853005 SHA256 198902e10782517f607c9ed9e629b5e7708ea39eb373ed3ec3f1c8a169d98378 SHA512 c3c311288bd9e843c3e9dae9ad36e370ffa6a379878fae1067e656e9a1f38e002314e59f0fc46c84df98bdd4d6b7acc6b99907b3cf04a2b100a752b837da0178 WHIRLPOOL d05e7d97855f67347d7f3e252b7f72f16b112ae2c0b9a9b56e60ab11f78712789d99c35adf09e44c1a4d853a7f24c1dd65ebd7199c5ce66fea00442ff6be6fd0
910 DIST qemu-1.0.tar.gz 10848714 SHA256 47674b7da559d5e1b44cc401af9ac5ad962d14e9eede12567b13e4b841989737 SHA512 a49ed9c30f018d361d1cdd71d7149e2373e9243653aee119ece0f2e23d45c61e1fe72412c4a58b6b9906a3003ab70b9a9ba43f090b7edabef3785e04ead5cc70 WHIRLPOOL 850ce298be0c51bfdce3dd987844bda4bd4784016b45f73aab953b56ccde143f67e8a498e3ad1a49b658dcba268b8487ffd0974128342a358ac079055099a0b2
911 DIST qemu-1.1.1-1.tar.bz2 9635574 SHA256 6fbaff1fa75aae1a06947cf7cb101c35273712c561b87ef8eaec92aa39734ac8 SHA512 4501b024b1d188349ab767f5c4de4a9bd491b7f7cd62ffbcdf49c1983b96ae1c39d9fba170522014b03d15e7fbdcf8c5276e7790818bbeb741f4f9d38e04a4fb WHIRLPOOL 6d8d6758455f3589bb15c4b10e113ef254cff41a1b7eb2e0f8f17da5d39f0b0ac0bc061f36394888fbe7ee44503df03210103e3016e3aa919cc63c5c77b9089b
912 +DIST qemu-1.1.2.tar.bz2 9644554 SHA256 d1e2bcd13c9ac4602aa2a2804b7a141d02f7c8480a7618355400a2cd3659a4e8 SHA512 1e68f21f5e5a1fbb4fc8cdfbdf32709631583269e0cb56f6d48377bc33c3ebc1be0be9407e8a5c75f69a29250b0b74388cd19f12c6f5ba9c7c3fe3a3c2b7422e WHIRLPOOL 99a1d29ddc312e93ec3a799a0954ce9310e1fc1797eca139dbd4baed596b5374ac2cd04c42d3b82e546d94dbd4943c16db11e522bfa5db6a3c6a2582d25fa761
913 +DIST qemu-1.2.0.tar.bz2 9865186 SHA256 c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e9df936 SHA512 b590ea4ff484abc1abf2d3ec3fb294d4ece24d2dfa0a179d9c5f60baca0ea474d47a560f5d95b010a53a5563793414f3257240c5e9917a8d0f556a2066ccd60e WHIRLPOOL 5e5a5f09b828b0aff6139d7efad4dd0d1ed8d86badc2657f7ea53352aa1dbb6e6e227501f7ab63f7e95ee248007942ae94431b7f99092a4ed7005c345b10ca4e
914 EBUILD qemu-0.11.1-r1.ebuild 4894 SHA256 25ef257efc5ee950d5f93ad3dc059c24cc8104e094b62840477ec719c66bd5f5 SHA512 0afcc745a78a23a8fba3cdd518595894f4ed12b4048b128c55be3f53c96f97d7701dd5bebbfcbb06cf37da617a78f3813f847792542e27e85e932ba9395eb542 WHIRLPOOL 3b606df1b67a37b61f858a0e76133867b2c281d0cde1024c510cf4bcdb433e25db117bd817e6e91eadf0d42246c55873e69078bb5f4c212122fc89a36cd7c5c4
915 EBUILD qemu-0.11.1.ebuild 4826 SHA256 7aaf359e5b09721faeb9b97ff0fd8ac4c91ba8906d8f9439ac21550af786fcda SHA512 5a9631fe38c86b1fd56519544f381ab4fdb064004a1b229adda361916724ef88451dd72713c61b092a056111a7a66143d9dd0e4b5638a69f9c782f21b63d2289 WHIRLPOOL 2c50d082e32176108d661a199dd9633c4d5bdd94288921d443148c62657cf9f8f24db268f0babf4fdc707d24e3f317e0a019670104849b6b00b272cb505a2006
916 EBUILD qemu-1.0-r2.ebuild 6839 SHA256 beec478e25574c362a6349614bbc9f86829f621228a8e63a748ff0a079a1fd79 SHA512 c2706e0f5a069abe696b3811c28a0fbef5edad2942e8d44bc55dbc068eee1d98c50ea03eade46686c2d4e1b903cbe100925a4eb0a499d22a424652c006ba3f8e WHIRLPOOL 1cf251a1b10c09de669a085454ac72ae4dfd7e9363ab5852885ff202505c3cb36ab35dbb8056cab73847a548deec857eeb425a9be10774a0d2105a10731385f7
917 EBUILD qemu-1.0-r3.ebuild 7147 SHA256 5d5a273c9eaec2f8b686a22f3d142a0e8246166288c84d97e45e9bb33790ed3b SHA512 1a4903f95d18f158bc2d99ffabfd3c6831f4cf0353dd61c7438428acf371ad24338290b4280680d91a63044235be4c335f8c6e4726d84dcbcf25f6b3f3c6fb7b WHIRLPOOL 7ba4dc1a480631df3da1fe279ce4b30d9213815b14303120fa5faa18057e3cdbd03be6b38d7377bac0529e1b695c526fa521d5a825bf6e168a7b462f2eb21e35
918 EBUILD qemu-1.0.1.ebuild 7155 SHA256 3a9457204437593c6391d138ddecd20fcd5ae5f9c31797cde43df22277501e63 SHA512 3c09ef92ae24385a4aacbea6a71f565bb6492787b0dade7178b6004cd09c0900b9a119cdfc0e4688155078850800c51d893fafd423375c0b035be3fad24ded69 WHIRLPOOL 9f2064cdc91760a29ed2ed97e28a79776150e05c763f469205d031ffcb3545ec2151ee175718a4523bd18a11a6e524dfe81e1adb7e32c9e48f681a090793d04b
919 EBUILD qemu-1.1.1.ebuild 6831 SHA256 79fee352b10df29a2a64d8f74f3f82786e7e99b45b15b1f553674233838fd328 SHA512 b0b26baca2d939c64581a8cee7670445592f70d3494e24cb950aa8df306027640568358598492707fd28f079b9de51001626163cd9f8f0fac13b98f9432bec69 WHIRLPOOL 79a87fb49eeb37ff6b362791326959cd9217463cc0c47d27745207b783de05f0761adf1fa9c54829c31fc7a41f009520247b4c18d7c893a28be6443e89f92621
920 +EBUILD qemu-1.1.2.ebuild 6829 SHA256 a41ed75024f3c2e89e57e2f3c767e8e61eb23a67b691586b09ef6ea0dc9a22f5 SHA512 9be738e2bb3c312001fed0832d1237a3629c820275becc14cfc5ac65152c46c244e191ac9411342db316be8c923b177329a0358f66212d0f7be2ba3c748d5ce0 WHIRLPOOL de0a60c7baf621c3e58275ec57cc05552164cbed5456dd92d4b61a9b4e854000d02fab9e6a97a3d97ac35e8895db324210e103d9f0d69cd0033b6bba49975f94
921 +EBUILD qemu-1.2.0.ebuild 6785 SHA256 74041e2d6a48360d04b4852f5323c3c0ea2f90fa204d4861dfe1ce0f4b6393ba SHA512 11ad96141cbb025a4890f07e42eec54c4d47614b34cf037b6bd5a8789a21d04012155615de7ca2b5e4bc2d1486fe214b360be824fe91d6fd71cbbd0074a33208 WHIRLPOOL 42d449500fa453735da2c258f93ab8e053f9a421a86efec903f61fdec44ecd07b12fd839e86435c06ccb5566dd659879deda8d303b12c25f9333a371325a10ad
922 EBUILD qemu-9999.ebuild 6764 SHA256 6488d82f375fc3f2baf1858923963dcc1add2ca555bb8eaaa22136c6643f39d7 SHA512 e8b71b27d05781ddb9b9af71322a52ddfd10fa2fe2fa0b73039d51dc5106ed905a2f9b154e32e004a4ff433372959a0cc57a3158c8f54949219b7763779b4444 WHIRLPOOL 74be9ac4d11639570f1ef5d776b55d1d8451ded2f7cbb17ebf52e6611cb696bde01fbac08160f0e2917e525767128e10001095007e6189efa80cea6a99f62830
923 -MISC ChangeLog 17579 SHA256 64f3999fde4cc207fe8b2409efabbf8049944423dd3073263b8bbb6e6908bcf8 SHA512 308512edec910ed665c40f215e131bb1dd85bc9d0e6ba2d726a5b60be8559a3696fb64781e5aea3b7543b1be2de5b68feb12015a9cdc211bd945502e4a187dfc WHIRLPOOL 9aac741d79b4986f5bbe5bb1eccbdc9c092dbe330050a4d2b6e706ff94d492d978e993eb42adf9dda0c1ff6d52af74dc0cf69eea35cfaae63a18272857e38f10
924 +MISC ChangeLog 17774 SHA256 62b9c8f192caa28767baab0ad0611543f7ff5cb907ee8804198d2775d7dcb766 SHA512 10d5a7ad08371f2a7280b6368b970f4301a07f884611bcb311a767bb6aaca6dce08e6acaa8e515c0a6371d3389f799f434fda82bc15d88b69a79dca1ff57dbb7 WHIRLPOOL 3465302fcd3624df809f85a5c5abd69107a4255e025ac9045790609708db564a484a0b12666918055ecfc1c85499f963623e042fba062db03b903547fbf021b3
925 MISC metadata.xml 2506 SHA256 039849ef9550e3ef56d5821e4bd7ef0b8cfad1da24f9bf4476ac6871d0f32357 SHA512 8c9aa246aaaadbc295b5f16e62f33a66ebc88c44551de3b2819d0be088c5912fee45655e1994767c8d1f061887a2a769bae896f6e3eb51f3e31603c9bd3a1eca WHIRLPOOL 7f61ba9dc0c645397795de5547ff219ea430f4a37c5a7c1cedd830eba0e839b70d8a1afca1dec7b381bbafeb8ba786f472a2e0adb0b10300e220cdaf889d0724
926
927 diff --git a/app-emulation/qemu/files/qemu-1.2.0-cflags.patch b/app-emulation/qemu/files/qemu-1.2.0-cflags.patch
928 new file mode 100644
929 index 0000000..9aaa1d6
930 --- /dev/null
931 +++ b/app-emulation/qemu/files/qemu-1.2.0-cflags.patch
932 @@ -0,0 +1,15 @@
933 +don't override user cflags
934 +
935 +--- a/configure
936 ++++ b/configure
937 +@@ -2995,10 +2995,6 @@ fi
938 + # End of CC checks
939 + # After here, no more $cc or $ld runs
940 +
941 +-if test "$debug" = "no" ; then
942 +- CFLAGS="-O2 -D_FORTIFY_SOURCE=2 $CFLAGS"
943 +-fi
944 +-
945 + # Disable zero malloc errors for official releases unless explicitly told to
946 + # enable/disable
947 + if test -z "$zero_malloc" ; then
948
949 diff --git a/app-emulation/qemu/qemu-1.1.2.ebuild b/app-emulation/qemu/qemu-1.1.2.ebuild
950 new file mode 100644
951 index 0000000..4bce8b9
952 --- /dev/null
953 +++ b/app-emulation/qemu/qemu-1.1.2.ebuild
954 @@ -0,0 +1,255 @@
955 +# Copyright 1999-2012 Gentoo Foundation
956 +# Distributed under the terms of the GNU General Public License v2
957 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.1.2.ebuild,v 1.1 2012/09/22 22:01:23 vapier Exp $
958 +
959 +EAPI="5"
960 +
961 +if [[ ${PV} = *9999* ]]; then
962 + EGIT_REPO_URI="git://git.qemu.org/qemu.git
963 + http://git.qemu.org/git/qemu.git"
964 + GIT_ECLASS="git-2"
965 +fi
966 +
967 +inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs python
968 +
969 +if [[ ${PV} != *9999* ]]; then
970 + SRC_URI="http://wiki.qemu.org/download/${P}.tar.bz2"
971 + # Pending review
972 + #KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
973 +fi
974 +
975 +DESCRIPTION="QEMU emulator and ABI wrapper"
976 +HOMEPAGE="http://www.qemu.org"
977 +
978 +LICENSE="GPL-2"
979 +SLOT="0"
980 +IUSE="+aio alsa bluetooth brltty curl fdt hardened jpeg kvm ncurses nss
981 +opengl png pulseaudio qemu-ifup rbd sasl sdl spice ssl static threads usbredir vde
982 ++vhost-net xattr xen xfs"
983 +
984 +COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
985 +IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
986 +IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
987 +
988 +for target in ${IUSE_SOFTMMU_TARGETS}; do
989 + IUSE="${IUSE} +qemu_softmmu_targets_${target}"
990 +done
991 +
992 +for target in ${IUSE_USER_TARGETS}; do
993 + IUSE="${IUSE} +qemu_user_targets_${target}"
994 +done
995 +
996 +RESTRICT="test"
997 +
998 +RDEPEND="
999 + !app-emulation/qemu-kvm
1000 + !app-emulation/qemu-user
1001 + >=dev-libs/glib-2.0
1002 + sys-apps/pciutils
1003 + >=sys-apps/util-linux-2.16.0
1004 + sys-libs/zlib
1005 + aio? ( dev-libs/libaio )
1006 + alsa? ( >=media-libs/alsa-lib-1.0.13 )
1007 + bluetooth? ( net-wireless/bluez )
1008 + brltty? ( app-accessibility/brltty )
1009 + curl? ( net-misc/curl )
1010 + fdt? ( >=sys-apps/dtc-1.2.0 )
1011 + jpeg? ( virtual/jpeg )
1012 + ncurses? ( sys-libs/ncurses )
1013 + nss? ( dev-libs/nss )
1014 + opengl? (
1015 + virtual/opengl
1016 + x11-libs/libX11
1017 + )
1018 + png? ( media-libs/libpng:= )
1019 + pulseaudio? ( media-sound/pulseaudio )
1020 + qemu-ifup? (
1021 + sys-apps/iproute2
1022 + net-misc/bridge-utils
1023 + )
1024 + rbd? ( sys-cluster/ceph )
1025 + sasl? ( dev-libs/cyrus-sasl )
1026 + sdl? ( >=media-libs/libsdl-1.2.11[X] )
1027 + spice? (
1028 + >=app-emulation/spice-0.9.0
1029 + >=app-emulation/spice-protocol-0.8.1
1030 + )
1031 + ssl? ( net-libs/gnutls )
1032 + usbredir? ( sys-apps/usbredir )
1033 + vde? ( net-misc/vde )
1034 + xattr? ( sys-apps/attr )
1035 + xen? ( app-emulation/xen-tools )
1036 + xfs? ( sys-fs/xfsprogs )
1037 +"
1038 +
1039 +DEPEND="${RDEPEND}
1040 + app-text/texi2html
1041 + virtual/pkgconfig
1042 + >=sys-kernel/linux-headers-2.6.35
1043 +"
1044 +
1045 +# alpha ELF binary. don't let portage mess with it
1046 +STRIP_MASK="usr/share/qemu/palcode-clipper"
1047 +
1048 +QA_PRESTRIPPED="
1049 + usr/share/qemu/openbios-ppc
1050 + usr/share/qemu/openbios-sparc64
1051 + usr/share/qemu/openbios-sparc32
1052 + usr/share/qemu/palcode-clipper
1053 +"
1054 +# keep sorted
1055 +QA_WX_LOAD="${QA_PRESTRIPPED}
1056 + usr/bin/qemu-alpha
1057 + usr/bin/qemu-arm
1058 + usr/bin/qemu-armeb
1059 + usr/bin/qemu-cris
1060 + usr/bin/qemu-i386
1061 + usr/bin/qemu-m68k
1062 + usr/bin/qemu-microblaze
1063 + usr/bin/qemu-microblazeel
1064 + usr/bin/qemu-mips
1065 + usr/bin/qemu-mipsel
1066 + usr/bin/qemu-ppc
1067 + usr/bin/qemu-ppc64
1068 + usr/bin/qemu-ppc64abi32
1069 + usr/bin/qemu-sh4
1070 + usr/bin/qemu-sh4eb
1071 + usr/bin/qemu-sparc
1072 + usr/bin/qemu-sparc32plus
1073 + usr/bin/qemu-sparc64
1074 + usr/bin/qemu-s390x
1075 + usr/bin/qemu-unicore32
1076 + usr/bin/qemu-x86_64
1077 +"
1078 +
1079 +pkg_setup() {
1080 + use qemu_softmmu_targets_x86_64 || ewarn "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
1081 +
1082 + use kvm && ewarn "You have enabled USE=kvm feature. Please consider using app-emulation/qemu-kvm"
1083 +
1084 + python_set_active_version 2
1085 +}
1086 +
1087 +src_prepare() {
1088 + epatch "${FILESDIR}"/${PN}-1.0.1-siginfo.patch
1089 +
1090 + # prevent docs to get automatically installed
1091 + sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
1092 +
1093 + # Fix underlinking.
1094 + # Fault reproducer: USE=nss QEMU_SOFTMMU_TARGETS=lm32 QEMU_USER_TARGETS=
1095 + sed -i 's/opengl_libs="-lGL"/opengl_libs="-lGL -lX11"/' configure || die
1096 +}
1097 +
1098 +src_configure() {
1099 + local conf_opts audio_opts user_targets
1100 +
1101 + for target in ${IUSE_SOFTMMU_TARGETS} ; do
1102 + use "qemu_softmmu_targets_${target}" && \
1103 + softmmu_targets="${softmmu_targets} ${target}-softmmu"
1104 + done
1105 +
1106 + for target in ${IUSE_USER_TARGETS} ; do
1107 + use "qemu_user_targets_${target}" && \
1108 + user_targets="${user_targets} ${target}-linux-user"
1109 + done
1110 +
1111 + if [[ -z ${softmmu_targets} ]]; then
1112 + conf_opts="${conf_opts} --disable-system"
1113 + else
1114 + einfo "Building the following softmmu targets: ${softmmu_targets}"
1115 + fi
1116 +
1117 + if [[ -n ${user_targets} ]]; then
1118 + einfo "Building the following user targets: ${user_targets}"
1119 + conf_opts="${conf_opts} --enable-linux-user"
1120 + else
1121 + conf_opts="${conf_opts} --disable-linux-user"
1122 + fi
1123 +
1124 + # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
1125 + conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
1126 +
1127 + # drop '-g' by default as it tends to eat
1128 + # A LOT (~2GB) of ram for each job #355861
1129 + conf_opts="${conf_opts} --disable-debug-info"
1130 +
1131 + # Add support for static builds
1132 + use static && conf_opts="${conf_opts} --static"
1133 +
1134 + #config options
1135 + conf_opts="${conf_opts}
1136 + $(use_enable aio linux-aio)
1137 + $(use_enable bluetooth bluez)
1138 + $(use_enable brltty brlapi)
1139 + $(use_enable curl)
1140 + $(use_enable fdt)
1141 + $(use_enable hardened pie)
1142 + $(use_enable jpeg vnc-jpeg)
1143 + $(use_enable ncurses curses)
1144 + $(use_enable nss smartcard-nss)
1145 + $(use_enable opengl)
1146 + $(use_enable png vnc-png)
1147 + $(use_enable rbd)
1148 + $(use_enable sasl vnc-sasl)
1149 + $(use_enable sdl)
1150 + $(use_enable spice)
1151 + $(use_enable ssl vnc-tls)
1152 + $(use_enable threads vnc-thread)
1153 + $(use_enable vde)
1154 + $(use_enable vhost-net)
1155 + $(use_enable xen)
1156 + $(use_enable xattr attr)
1157 + $(use_enable xfs xfsctl)
1158 + --disable-bsd-user
1159 + "
1160 +
1161 + # audio options
1162 + audio_opts="oss"
1163 + use alsa && audio_opts="alsa ${audio_opts}"
1164 + use pulseaudio && audio_opts="pa ${audio_opts}"
1165 + use sdl && audio_opts="sdl ${audio_opts}"
1166 +
1167 + set -- --prefix="${EPREFIX}"/usr \
1168 + --sysconfdir="${EPREFIX}"/etc \
1169 + --disable-strip \
1170 + --disable-werror \
1171 + $(use_enable kvm) \
1172 + --disable-libiscsi \
1173 + --enable-nptl \
1174 + --enable-uuid \
1175 + ${conf_opts} \
1176 + --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \
1177 + --audio-drv-list="${audio_opts}" \
1178 + --target-list="${softmmu_targets} ${user_targets}" \
1179 + --cc="$(tc-getCC)" \
1180 + --host-cc="$(tc-getBUILD_CC)"
1181 +
1182 + echo ./configure "$@" # show actual options
1183 + ./configure "$@" || die "configure failed"
1184 +}
1185 +
1186 +src_install() {
1187 + emake DESTDIR="${D}" install || die "make install failed"
1188 +
1189 + if [[ -n ${softmmu_targets} ]]; then
1190 + if use qemu-ifup; then
1191 + exeinto /etc/qemu
1192 + doexe "${FILESDIR}"/qemu-if{up,down}
1193 + fi
1194 + fi
1195 +
1196 + dodoc Changelog MAINTAINERS TODO pci-ids.txt
1197 + newdoc pc-bios/README README.pc-bios
1198 + dohtml qemu-doc.html qemu-tech.html
1199 +}
1200 +
1201 +pkg_postinst() {
1202 + use qemu-ifup || return
1203 + elog "You will need the Universal TUN/TAP driver compiled into your"
1204 + elog "kernel or loaded as a module to use the virtual network device"
1205 + elog "if using -net tap. You will also need support for 802.1d"
1206 + elog "Ethernet Bridging and a configured bridge if using the provided"
1207 + elog "qemu-ifup script from /etc/qemu."
1208 + echo
1209 +}
1210
1211 diff --git a/app-emulation/qemu/qemu-1.2.0.ebuild b/app-emulation/qemu/qemu-1.2.0.ebuild
1212 new file mode 100644
1213 index 0000000..3dd0142
1214 --- /dev/null
1215 +++ b/app-emulation/qemu/qemu-1.2.0.ebuild
1216 @@ -0,0 +1,254 @@
1217 +# Copyright 1999-2012 Gentoo Foundation
1218 +# Distributed under the terms of the GNU General Public License v2
1219 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.2.0.ebuild,v 1.1 2012/09/22 22:01:23 vapier Exp $
1220 +
1221 +EAPI="5"
1222 +
1223 +if [[ ${PV} = *9999* ]]; then
1224 + EGIT_REPO_URI="git://git.qemu.org/qemu.git
1225 + http://git.qemu.org/git/qemu.git"
1226 + GIT_ECLASS="git-2"
1227 +fi
1228 +
1229 +inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs python
1230 +
1231 +if [[ ${PV} != *9999* ]]; then
1232 + SRC_URI="http://wiki.qemu.org/download/${P}.tar.bz2"
1233 + # Pending review
1234 + #KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
1235 +fi
1236 +
1237 +DESCRIPTION="QEMU emulator and ABI wrapper"
1238 +HOMEPAGE="http://www.qemu.org"
1239 +
1240 +LICENSE="GPL-2"
1241 +SLOT="0"
1242 +IUSE="+aio alsa bluetooth brltty curl fdt hardened jpeg kvm ncurses nss
1243 +opengl png pulseaudio qemu-ifup rbd sasl sdl spice ssl static usbredir vde
1244 ++vhost-net xattr xen xfs"
1245 +
1246 +COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
1247 +IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
1248 +IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
1249 +
1250 +for target in ${IUSE_SOFTMMU_TARGETS}; do
1251 + IUSE="${IUSE} +qemu_softmmu_targets_${target}"
1252 +done
1253 +
1254 +for target in ${IUSE_USER_TARGETS}; do
1255 + IUSE="${IUSE} +qemu_user_targets_${target}"
1256 +done
1257 +
1258 +RESTRICT="test"
1259 +
1260 +RDEPEND="
1261 + !app-emulation/qemu-kvm
1262 + !app-emulation/qemu-user
1263 + >=dev-libs/glib-2.0
1264 + sys-apps/pciutils
1265 + >=sys-apps/util-linux-2.16.0
1266 + sys-libs/zlib
1267 + aio? ( dev-libs/libaio )
1268 + alsa? ( >=media-libs/alsa-lib-1.0.13 )
1269 + bluetooth? ( net-wireless/bluez )
1270 + brltty? ( app-accessibility/brltty )
1271 + curl? ( net-misc/curl )
1272 + fdt? ( >=sys-apps/dtc-1.2.0 )
1273 + jpeg? ( virtual/jpeg )
1274 + ncurses? ( sys-libs/ncurses )
1275 + nss? ( dev-libs/nss )
1276 + opengl? (
1277 + virtual/opengl
1278 + x11-libs/libX11
1279 + )
1280 + png? ( media-libs/libpng:= )
1281 + pulseaudio? ( media-sound/pulseaudio )
1282 + qemu-ifup? (
1283 + sys-apps/iproute2
1284 + net-misc/bridge-utils
1285 + )
1286 + rbd? ( sys-cluster/ceph )
1287 + sasl? ( dev-libs/cyrus-sasl )
1288 + sdl? ( >=media-libs/libsdl-1.2.11[X] )
1289 + spice? (
1290 + >=app-emulation/spice-0.9.0
1291 + >=app-emulation/spice-protocol-0.8.1
1292 + )
1293 + ssl? ( net-libs/gnutls )
1294 + usbredir? ( sys-apps/usbredir )
1295 + vde? ( net-misc/vde )
1296 + xattr? ( sys-apps/attr )
1297 + xen? ( app-emulation/xen-tools )
1298 + xfs? ( sys-fs/xfsprogs )
1299 +"
1300 +
1301 +DEPEND="${RDEPEND}
1302 + app-text/texi2html
1303 + virtual/pkgconfig
1304 + >=sys-kernel/linux-headers-2.6.35
1305 +"
1306 +
1307 +# alpha ELF binary. don't let portage mess with it
1308 +STRIP_MASK="usr/share/qemu/palcode-clipper"
1309 +
1310 +QA_PRESTRIPPED="
1311 + usr/share/qemu/openbios-ppc
1312 + usr/share/qemu/openbios-sparc64
1313 + usr/share/qemu/openbios-sparc32
1314 + usr/share/qemu/palcode-clipper
1315 +"
1316 +# keep sorted
1317 +QA_WX_LOAD="${QA_PRESTRIPPED}
1318 + usr/bin/qemu-alpha
1319 + usr/bin/qemu-arm
1320 + usr/bin/qemu-armeb
1321 + usr/bin/qemu-cris
1322 + usr/bin/qemu-i386
1323 + usr/bin/qemu-m68k
1324 + usr/bin/qemu-microblaze
1325 + usr/bin/qemu-microblazeel
1326 + usr/bin/qemu-mips
1327 + usr/bin/qemu-mipsel
1328 + usr/bin/qemu-ppc
1329 + usr/bin/qemu-ppc64
1330 + usr/bin/qemu-ppc64abi32
1331 + usr/bin/qemu-sh4
1332 + usr/bin/qemu-sh4eb
1333 + usr/bin/qemu-sparc
1334 + usr/bin/qemu-sparc32plus
1335 + usr/bin/qemu-sparc64
1336 + usr/bin/qemu-s390x
1337 + usr/bin/qemu-unicore32
1338 + usr/bin/qemu-x86_64
1339 +"
1340 +
1341 +pkg_setup() {
1342 + use qemu_softmmu_targets_x86_64 || ewarn "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
1343 +
1344 + use kvm && ewarn "You have enabled USE=kvm feature. Please consider using app-emulation/qemu-kvm"
1345 +
1346 + python_set_active_version 2
1347 +}
1348 +
1349 +src_prepare() {
1350 + epatch "${FILESDIR}"/${PN}-1.2.0-cflags.patch
1351 +
1352 + # prevent docs to get automatically installed
1353 + sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
1354 +
1355 + # Fix underlinking.
1356 + # Fault reproducer: USE=nss QEMU_SOFTMMU_TARGETS=lm32 QEMU_USER_TARGETS=
1357 + sed -i 's/opengl_libs="-lGL"/opengl_libs="-lGL -lX11"/' configure || die
1358 +}
1359 +
1360 +src_configure() {
1361 + local conf_opts audio_opts user_targets
1362 +
1363 + for target in ${IUSE_SOFTMMU_TARGETS} ; do
1364 + use "qemu_softmmu_targets_${target}" && \
1365 + softmmu_targets="${softmmu_targets} ${target}-softmmu"
1366 + done
1367 +
1368 + for target in ${IUSE_USER_TARGETS} ; do
1369 + use "qemu_user_targets_${target}" && \
1370 + user_targets="${user_targets} ${target}-linux-user"
1371 + done
1372 +
1373 + if [[ -z ${softmmu_targets} ]]; then
1374 + conf_opts="${conf_opts} --disable-system"
1375 + else
1376 + einfo "Building the following softmmu targets: ${softmmu_targets}"
1377 + fi
1378 +
1379 + if [[ -n ${user_targets} ]]; then
1380 + einfo "Building the following user targets: ${user_targets}"
1381 + conf_opts="${conf_opts} --enable-linux-user"
1382 + else
1383 + conf_opts="${conf_opts} --disable-linux-user"
1384 + fi
1385 +
1386 + # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
1387 + conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
1388 +
1389 + # drop '-g' by default as it tends to eat
1390 + # A LOT (~2GB) of ram for each job #355861
1391 + conf_opts="${conf_opts} --disable-debug-info"
1392 +
1393 + # Add support for static builds
1394 + use static && conf_opts="${conf_opts} --static"
1395 +
1396 + #config options
1397 + conf_opts="${conf_opts}
1398 + $(use_enable aio linux-aio)
1399 + $(use_enable bluetooth bluez)
1400 + $(use_enable brltty brlapi)
1401 + $(use_enable curl)
1402 + $(use_enable fdt)
1403 + $(use_enable hardened pie)
1404 + $(use_enable jpeg vnc-jpeg)
1405 + $(use_enable ncurses curses)
1406 + $(use_enable nss smartcard-nss)
1407 + $(use_enable opengl)
1408 + $(use_enable png vnc-png)
1409 + $(use_enable rbd)
1410 + $(use_enable sasl vnc-sasl)
1411 + $(use_enable sdl)
1412 + $(use_enable spice)
1413 + $(use_enable ssl vnc-tls)
1414 + $(use_enable vde)
1415 + $(use_enable vhost-net)
1416 + $(use_enable xen)
1417 + $(use_enable xattr attr)
1418 + $(use_enable xfs xfsctl)
1419 + --disable-bsd-user
1420 + "
1421 +
1422 + # audio options
1423 + audio_opts="oss"
1424 + use alsa && audio_opts="alsa ${audio_opts}"
1425 + use pulseaudio && audio_opts="pa ${audio_opts}"
1426 + use sdl && audio_opts="sdl ${audio_opts}"
1427 +
1428 + set -- --prefix="${EPREFIX}"/usr \
1429 + --sysconfdir="${EPREFIX}"/etc \
1430 + --disable-strip \
1431 + --disable-werror \
1432 + $(use_enable kvm) \
1433 + --disable-libiscsi \
1434 + --enable-nptl \
1435 + --enable-uuid \
1436 + ${conf_opts} \
1437 + --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \
1438 + --audio-drv-list="${audio_opts}" \
1439 + --target-list="${softmmu_targets} ${user_targets}" \
1440 + --cc="$(tc-getCC)" \
1441 + --host-cc="$(tc-getBUILD_CC)"
1442 +
1443 + echo ./configure "$@" # show actual options
1444 + ./configure "$@" || die "configure failed"
1445 +}
1446 +
1447 +src_install() {
1448 + emake DESTDIR="${D}" install || die "make install failed"
1449 +
1450 + if [[ -n ${softmmu_targets} ]]; then
1451 + if use qemu-ifup; then
1452 + exeinto /etc/qemu
1453 + doexe "${FILESDIR}"/qemu-if{up,down}
1454 + fi
1455 + fi
1456 +
1457 + dodoc Changelog MAINTAINERS TODO pci-ids.txt
1458 + newdoc pc-bios/README README.pc-bios
1459 + dohtml qemu-doc.html qemu-tech.html
1460 +}
1461 +
1462 +pkg_postinst() {
1463 + use qemu-ifup || return
1464 + elog "You will need the Universal TUN/TAP driver compiled into your"
1465 + elog "kernel or loaded as a module to use the virtual network device"
1466 + elog "if using -net tap. You will also need support for 802.1d"
1467 + elog "Ethernet Bridging and a configured bridge if using the provided"
1468 + elog "qemu-ifup script from /etc/qemu."
1469 + echo
1470 +}
1471
1472 diff --git a/app-office/libreoffice-bin/Manifest b/app-office/libreoffice-bin/Manifest
1473 index 05acaf5..ffe2eee 100644
1474 --- a/app-office/libreoffice-bin/Manifest
1475 +++ b/app-office/libreoffice-bin/Manifest
1476 @@ -1,29 +1,16 @@
1477 AUX 50-libreoffice-bin 158 SHA256 6c6cebcce51b639545a42c0b9cc6268f0ce1e8bb9d7d22bb11e5ebd1448638e9 SHA512 2d1158f48ac80f9212578d020e5659e777ff494adc3abc94438cec6890b88741f92ea2ed3bb4585ffdabe531d55c6938ca9408e9ece5a438e67d480eb406ed50 WHIRLPOOL 47d4187edca8b343378a2f58e63b0c10cc11f11b21702064fe102003e2bb6eaf3de660128442238e1c040b97ccaa1ee45d8089713c3a62a1dacfe5a72f1c6ee2
1478 -DIST amd64-bin-libreoffice-base-3.5.4.2-r1.tar.xz 76837568 SHA256 bc785d04de8fb3054484da86415a4c84ed398df63fda72a488363ead08fafd2a SHA512 4f753a0205ae7432ce41030c05cc192f16d748047798390b2e80425e02c43de9eb395a231143a0cdb6718ceab346dfb6c3ce264ac4b07bc220cf85422aad4b76 WHIRLPOOL b50a93c4521902ce844dfeeaf749cdb455c26839e61b8e02d722b5a9094e6b742945098d68e72a625da280063ecd37c9db6396495e51097c6b1c0e37eb69919d
1479 DIST amd64-bin-libreoffice-base-3.5.5.3.tar.xz 76857984 SHA256 e3990695fa70b4e80f416dba8609b523a1a282906d8822471578762771fe3101 SHA512 573b118354f9b005d39fdf1339647450da904619afedfd1cf3bf09894be7e7552ccff40a0e1dadad16e83a7f013201a47e68c4766c66b4e2f8f8521df573991c WHIRLPOOL 4b6b5c01e1c4676a073330dceb660b6238f1fc0cb7ef691d54b8d6e8d303ff52389fdf9672301be11917d058ea4f1f61d54f683d527d5b2f417820ddd5295736
1480 -DIST amd64-bin-libreoffice-base-java-3.5.4.2-r1.tar.xz 81548412 SHA256 b746c51f3a1535e4d6df7e05cf39b46bf8dda2ad3f70e9a8d6401655f8acf4e6 SHA512 eb9d9f62791ccf6025e57109b64c4925176ac4f4472e1be8430b0761fd6dcd9302f9adfa5cf6ce7a0083df0262d60ca0efe1b76d6e81597e0d97ed0ae9100020 WHIRLPOOL 5a0db88c5ef52fc9e9e1f02047ac4a7279edeb1594ff1c783c15e6010e4e51b48046723797f11ff9b0eeee379a9f1da8ade67f449fa46dec0503293343ecd20d
1481 DIST amd64-bin-libreoffice-base-java-3.5.5.3.tar.xz 81547036 SHA256 cf903ffc547985e35f82b7ba0e5b8ef30b1670e7a4bee2b6360bf40943571460 SHA512 01918a898441f5db199737b8e28ac94f445f074b7426c0de5047cd9df9573a889cce73489760389a1495a10524f0d8c4e118f318469b45a3df933fb1ab20e02e WHIRLPOOL 35724bb7344bcf8e555b3034ec29531a670bda0b272a6d2b2b16019eb40fb5258f4a2946cbab551d6c5b2314f558c97a75807f5211ca865d8f11918902fee6b1
1482 -DIST amd64-bin-libreoffice-gnome-3.5.4.2-r1.tar.xz 76936220 SHA256 93287a3b878d2a2ac0ed047645679299335d44219e37ff0b1674fe5c458e8ce4 SHA512 e36f242ca48fa4b4b9670215f15ca5717f20119dbe14b1ea7677a219eb5ba449a46a7cea0659d9a4f306272e64db4ff1506f2a3c9b68ec8ffc65699632a09c27 WHIRLPOOL 4413f7582de9f202d648da6373cc2151d059ef544b51d23e48deeee66c248b7bd3b9fd3e79919b9a0a6d46320a2015363b6466cb410b82788b927295db0143a1
1483 DIST amd64-bin-libreoffice-gnome-3.5.5.3.tar.xz 76960252 SHA256 7382b15818cc96fe6224f43c25695674a9522eff43ef43fc700d938917c28291 SHA512 7971ffd2209fd9bc5cdd5413f19081c8058bfb3cbe452d6ef2ecb4193fb9f7fa03da3cf31b63e39ea03c69fa9389d08bbf970457ffd7b4fbc67384c1c143aa6b WHIRLPOOL 12653d9a33f0464323e636803a4b4b12ea32769c6f4f838ed13ca0a40ed7b00d4e6feaeaddbf3cdc9bda5ba853fa23fe91760ddead7de21b97d25de32fa63d89
1484 -DIST amd64-bin-libreoffice-gnome-java-3.5.4.2-r1.tar.xz 81649352 SHA256 0f072eade4ba36281750409a9f2749a1f00b98dbf3b08e47b2d29e4b58117dff SHA512 3040ad52d14a6e9e92b21bb77464c9585685c487e8cb4c45e36bbdc3427b8316f107326d0e824cbfc4f7a12a221bb5764939a2de6d53b7a61133cfc5d0051ff0 WHIRLPOOL 42dccfa92db92a8e0bbd6b057df0985b22404d9b377c2a7eb364f71d65259bca6f8cb477215c2d58a47cfb74e43b83f892edb311f5f6c5295fc3326f14076f3b
1485 DIST amd64-bin-libreoffice-gnome-java-3.5.5.3.tar.xz 81659368 SHA256 419eb4071b5bb74455cbf7c8bc96fcace38f247d369ee9ea7c915960805eaa55 SHA512 d680913dd07873d2053430a0049798611653a3ab6e9ea7609b84a4b1433a6d769482177e79da1c04b8138b18fdb655b84cb8063b20fa92a17718537639955fdc WHIRLPOOL 982f77efd95171c2075f59967c8c650a7ed8a77ea087f4995a251d397e462da5cc955a8fd828d8a834dc2d001e38bb0afa69f4aa55ef9dd154643b012831076d
1486 -DIST amd64-bin-libreoffice-kde-3.5.4.2-r1.tar.xz 76892264 SHA256 d771cd1dac3621cd00608a3077213a2616cc4928fd6ce6607e042e3b03b1ab2d SHA512 71015256803bbb6c702f4896edb73384c6fff8e9f71bfbdd93125f6b6dbca0773f9ccf7979930fb6516c44632fcc9456c1cf3ea6c2b89c7f3f4b211d8e9d69e2 WHIRLPOOL a3c7f392904d45f9076ce84db1863fd567e062d341cae92e869e9d99f1f0fb48adb017492f94f54d9f3eb91a13d80f5e88d1c76977d512444bfb42df65578caf
1487 DIST amd64-bin-libreoffice-kde-3.5.5.3.tar.xz 76893536 SHA256 0ea3cf9192f0bb49661775a5ead4ae933e0581f7dfbee5acd0a4237aa650a750 SHA512 0fbd9900efea9fadb36489487bfafeffa90c1ed672257a4ebf2fc7e575d143102fb722f63e4befc34f805ee5c4e1415aa57639fb1904713110fa7b10b25010f5 WHIRLPOOL 61417200edc142cff5b1eab1ff4c798e4980f41b94b377ac39cdb08d12576bc65d17f035e0bb59d17d8cfabd927586d5de8afed9f7c3378f014ef66d0cc27f40
1488 -DIST amd64-bin-libreoffice-kde-java-3.5.4.2-r1.tar.xz 81594828 SHA256 f46853f5088421e6f9cc663ded560df860a323f5a7b6c33e23f06abfc1681a9e SHA512 48353ba055e880f88afb810d7fc4b9f8f405871a2112a4f7fe819626fa2f6808ba45152c294fe12d8da30e1cf65e597a8a3c3f6a8df004a61cd42b6e70079daf WHIRLPOOL 82970cbf1669e7686af39e23baa258e20476770de2ac984ac6d2a0b583521a2d359081e9926cfdff20655d3ad0993323675434eb05f085f864ddd252633ead4e
1489 DIST amd64-bin-libreoffice-kde-java-3.5.5.3.tar.xz 81609840 SHA256 28cebeb54c077672af554dcfd14172ac2b95673b9aa4dccb2473b0b5aa3cf30f SHA512 05fe5e59d864cac134443ce4972acc100e74a30f802695d681119d3e7447ac59bb486f1fdcb3eb807752e66dbc34b32bf5fd1e26451c1b0d51c93437266e333c WHIRLPOOL 4ca9c9abba59f77b0b990e591f07fed9b591375e8eb7f0cbc88aca7f6f45dcc2c64cd3c79c0f64d3ca9e0b4bc9e62deca4a6c3cbde492e5cd414474a14bde752
1490 -DIST x86-bin-libreoffice-base-3.5.4.2-r1.tar.xz 75020464 SHA256 d03f7dee46a5d9f2fdc5c7679badcbe3952360e7a31c485934c7fb8b04655087 SHA512 1c80fd13d4987b702606b1d266e3a4961cfa79ed75a1e409f1f850266f32decb9d885a21871e7d75f8950cb9809f82dd9c0b50687abb336a50d31515c66810f4 WHIRLPOOL 9fbc81bd7473827bd98259ce7ddd942a1dd8523cb5a88bbe3a4e4922af48f24d34218b1d8c1cf740884559318862af900cd9622da776e599dd9ed0d1cb67ecad
1491 DIST x86-bin-libreoffice-base-3.5.5.3.tar.xz 75130636 SHA256 a78e1482a1343640b083f5e944cc99752cf898ec23e9d6a2e43bfc86c59be9bb SHA512 2ee449edc285d51a33f81d851977b1fc8f48a8ea98591e0c651acb222c6a8c2d24bf9c7a578885433477515cfbfc67a2ef6e28afd274775ca279d838a2afad16 WHIRLPOOL ef853aa8416932b180a2fc83fe80b2c49a3e3a8a5dd176b3fcfa73a5489d8edd179d46ec3e7ae79f0467b0ee91a8d95320e8c39d830d5762efd73bad3c4158b2
1492 -DIST x86-bin-libreoffice-base-java-3.5.4.2-r1.tar.xz 79728264 SHA256 4bee2375adffcefec252b364f6ba946493c4b4364e3bea2c5f30e32b67c413ad SHA512 1309169050606dda61ca2172a96351c2621f9082a6dbb4b0723ff4ada0fcfb0bad43c9079012d980ec2bd378bd24c8039ced986c44194b36e1c4dd66adde3d11 WHIRLPOOL 4a861016cecfd1a6891415b2b6ea17508e281c0158314fbdc41c694da630cbb347385d466c924957b9dc91c3dc8645db49b3d420919cc33d34f1dd2ba9a2d23b
1493 DIST x86-bin-libreoffice-base-java-3.5.5.3.tar.xz 79843968 SHA256 2ad3e3714e61a386f8992cdb5e8b0d6a13e15a5a8e9d3d1666a5f85e0f59a87a SHA512 994b389ea9cd29784b0e91430bc5efb26d9843277b0628c8642f57275e29ac4ff20034df9f1e232538a001dd311cb9773f7af35255ba6a755a5e12a782d69456 WHIRLPOOL e4f8a344220a44685ec580a42b2b208d11ede9e8b2f56c7b13fe1b266fc58a7059826585ee863e8f73981eed8e9e8c59f6548992dbcec93eb544668b65936a72
1494 -DIST x86-bin-libreoffice-gnome-3.5.4.2-r1.tar.xz 75118392 SHA256 260b514cbfe0dfe197b1cf9348accb716fecb86c58c5972080ef960422570a17 SHA512 4f8f6e8399fa5b3139192c469d18dd81e23d401f6c88e44245ed34456d5c528e4df291edd3bcd7d75cd7b13f1e852c939b6402f41b14df9207f6367c60fa24fe WHIRLPOOL 6dd22fd9af44adb98208cdecd04a1bcd4170c01ffec31aa5384c2ca658995d04745aa6d4e57cf82df2368017b3d7fb423255a6819c8d3b0e7ac3c6d9e4e1b658
1495 DIST x86-bin-libreoffice-gnome-3.5.5.3.tar.xz 75223724 SHA256 226455e05dd200c87d42ee3ac7c1fe927c84204767d7d8ff64ad6579dfc20598 SHA512 1e50b506e98e662a923563c9343069ec9b5f4a7d87c0c04073f46f3a28f5cc3f028339e94dab5927887c3e0bd36db2d15374de74a197bd95c7d505cebe123373 WHIRLPOOL 00dfce8e6e1cd00eea6a6840601317a774295119aeb58cc5c9c02489f177d061890ad4b7e4688154d9d9e029e326c877dc68bff800a77a11f4137353eca00535
1496 -DIST x86-bin-libreoffice-gnome-java-3.5.4.2-r1.tar.xz 79815720 SHA256 c018de2c4e16fdc28936b31c43bb78f845a2fa922f7770faf7c568a0526c208e SHA512 1941ad3eb55782c7d02bcdeaacdca0228e4a7e1922449c7ecf63109a15a416615ad2ef8c4c09fd77016cda66fe5024f4eb7e890f5a53502ea2fc4792f9ee5d1e WHIRLPOOL 5135835bc180310b6f7f2274e6c006503bbaa0baf433a3c8335c0cc9355f85a4d6e78348d4eb98e051343b35fea71c4ddf4b3e7b16ebc60208d4ab4a081a0898
1497 DIST x86-bin-libreoffice-gnome-java-3.5.5.3.tar.xz 79920296 SHA256 ba5a42892af7b3ea9ea54aa983b2e398fac222078116c8b55166ba74b762e80e SHA512 e72043a2853d47b28742aa4b832c5b98ec6ad1e2df4605bb3e261b25e052504595578611438cf9d03cc6e97a388e32d5b2c08d2dcb0beda8c8ddf6b47adee994 WHIRLPOOL 3d12cb72880d542556b19bf32897aac3e221a41000f876d2363202408c116fcdee52c9aee9434647df1a192ef1245a01af169a1001553326df4f0712641359dc
1498 -DIST x86-bin-libreoffice-kde-3.5.4.2-r1.tar.xz 75070032 SHA256 767b4112bd3234a64a16ddd9c5c3e232d4e087fc464da8bfe9e3a1fce1809a98 SHA512 9309d460b507243af01fe9548945acd98391f85befc307612166f13b7868a8fc4d82ee3c7c5bf80771752c9f6ee31462f24de08501083956804346cf348c1f49 WHIRLPOOL 5f8fe4d430c6a34554be4ca2ac0aea933dca3727e67bb1d28c4f7fa8af250097f4c17bdd35b53b1f2bcb18e71ca2eeea15ebf10ea2e88e92c2f8072789e87afc
1499 DIST x86-bin-libreoffice-kde-3.5.5.3.tar.xz 75174980 SHA256 34494a74f838f93ee2c8062f298156853bb63474cc3029f9e0dd25f3ec2e60d1 SHA512 bde7ce69b37152d999a9f973b1c0f116c81d291b9bd4998f94ee45701b4d97b47dbb911a6806ba3209155abac638065e19597413bb4b0b389ff705ee3223f1ad WHIRLPOOL 7ea366af0cb763a2f70d474d3b20d5d0580fc472e20dd6649b4f722f6a1d5194ec32115edfbe8620f5b7490aaa36ca1391094a91fd4fa8454f4abe4f75bfa38e
1500 -DIST x86-bin-libreoffice-kde-java-3.5.4.2-r1.tar.xz 79772804 SHA256 9248e1557df216538ccb9b68d786dcf578cb21e2da331a3b2a70bf64d73a2ab4 SHA512 4d40e07b73fb16668d1f9897945db3b5f47a2b342053bb5aab8885807d5685e7b22dab3d69b95598e4a874a9263ae2980972bd4e413d39eac44d95512500a572 WHIRLPOOL eff491ec09ff67cd093b7a5cf338939a491f6b83aeb2d1c1fe4b16f9c762c0296cd8ae5382e65fe6a6567b134712a158e74bcec910f63e260a281e077d07c2ab
1501 DIST x86-bin-libreoffice-kde-java-3.5.5.3.tar.xz 79877120 SHA256 522c78141326454cb5d84605cb8ed4a89fbc948fedaf6826c13b07aaee61e1cf SHA512 2869ee9918754d10d9aff1dd45ee11cbd1150197bd5ac4c81287b1fd6dcb439e73c0f042771111af16a2a8426b35aefb543c96a125ac21e3732e70559ce12ae8 WHIRLPOOL 30dcc33faa56e6118636a2cc93687d76dfe6ff1664a7e4cb7aa01a818f6bb0e10670694e04eab40898b0edef221832952b502b4e60dd966bbe2e4102897a0a50
1502 -EBUILD libreoffice-bin-3.5.4.2-r1.ebuild 4530 SHA256 2e39aaf838a8d78b5f893e10341bdec34d0e9b8952349a0a38f49ac99b24ff85 SHA512 d59eb38912664e01f085ad5994a9ffc289abf6e53615a60088e64744090e862f3fc274c44869025d62124412ba0efad9cdfa62facc2d28dd7c1d74bec6330a6d WHIRLPOOL 1e5cc3d49f05e1627389a6ceec4a49a8f1b33d2c28ce58155eced906e1235baa91cbbef1ec870b4053cf7333869f86595ed3b1add223b7e75b0b2c2fbf48c871
1503 -EBUILD libreoffice-bin-3.5.5.3.ebuild 4521 SHA256 e81c09ccbd2bf64338774b3f48f48dc03dee1fe33e0213bc0b1c03d33b4ea890 SHA512 ed6d96f7386a90d515dc8389ceda0daa9657ac49a4fd95e58d70b89777e17310ccc3b0a30e3d3ba94765525af6129715387e94f2a62d98ee252e5d589ced73c6 WHIRLPOOL 6f1ba12a1c8dbcba37fe48e777c5e85c1c776c1d70c8b540acf355b0332554ca9edbd9ab4b40a4d910177ef33b35cde81ac71078ec5cf4451ac84b001353641f
1504 -MISC ChangeLog 13890 SHA256 d49110499969d2efa59ff12682e6e04b5b76dc7a54ff80f2c4f0ef348b5a3a95 SHA512 2da1907071b2295ecc5a1832d8eb3683735690cf682159ae145e8c85beb7182282cb173180450ab37e18e4aef321c76003646cb14b39ff2c8ea485a9a7419629 WHIRLPOOL 89ab4bc723d8ec8178e5ba95304a23d904ed1548b557febea948417b4529605c0db584451c6e0fe1972c72a7afe65d9068436943058d745715175745c6ba5322
1505 +EBUILD libreoffice-bin-3.5.5.3.ebuild 4554 SHA256 03a0da0fa74fa5b28838295ce80a14f80c88d6840aa1fb1e45ca1ce2cc60af7f SHA512 ea5286a5953a328e8b82fd368a508a7b0d76b374fe43f36a369229aeddd36e0d9f61fed8359d3a55eb97b5149563da748a50174b9200ccaa4e295a4d289f19b3 WHIRLPOOL 09e83a11578423352cbfc8862f0b5224e94197912ce6d7be74a3dd5c716d12760920d3178852092434608eb232d7ffc58c31d0510b38c290159736e866385f19
1506 +MISC ChangeLog 14078 SHA256 8ffd8fb85a0167e5711be79599ee01cb229f9ae04cd9571db07672d256a62651 SHA512 7ba6d4b182f66153b256203a24f90243eb2baa89d231b42baab498b260f18edbb099a383403d70045cf38447e1720b0f01050731b0596da491a44661ffba8395 WHIRLPOOL 13676cb31f60386cf5f958cb485b752d776e0345e1276984c5aa2584723cac16ea74ad5a41a0bf87284f5864a8cd187c7982791d75ff5cbcf2e35a67789c0f72
1507 MISC metadata.xml 347 SHA256 921fd936c852005f5783fb6810f61bb344f7f565f6f2068b3ee613ff608bf904 SHA512 2d86c42933be5e7954a6f9a18e38d67f73052ef95d2da495338675ca7fc113b545be8600886aa38ec6d805ecb56a8272951b090eb57708e8e1004118129e49c9 WHIRLPOOL 78d846dad865f271d8d364220febb25f3a2a1426f25ed523c42708c00ce598ce2e269f6415037341e7767881a2458c3ad8ac34618321c1dd4b2e7024d82e2cfa
1508
1509 diff --git a/app-office/libreoffice-bin/libreoffice-bin-3.5.4.2-r1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-3.5.4.2-r1.ebuild
1510 deleted file mode 100644
1511 index b59808e..0000000
1512 --- a/app-office/libreoffice-bin/libreoffice-bin-3.5.4.2-r1.ebuild
1513 +++ /dev/null
1514 @@ -1,197 +0,0 @@
1515 -# Copyright 1999-2012 Gentoo Foundation
1516 -# Distributed under the terms of the GNU General Public License v2
1517 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.4.2-r1.ebuild,v 1.7 2012/07/19 16:25:10 kensington Exp $
1518 -
1519 -EAPI="5"
1520 -
1521 -KDE_REQUIRED="optional"
1522 -CMAKE_REQUIRED="never"
1523 -
1524 -BASE_AMD64_URI="mirror://gentoo/amd64-bin-"
1525 -BASE_X86_URI="mirror://gentoo/x86-bin-"
1526 -
1527 -inherit kde4-base java-pkg-opt-2 pax-utils prefix
1528 -
1529 -DESCRIPTION="LibreOffice, a full office productivity suite. Binary package."
1530 -HOMEPAGE="http://www.libreoffice.org"
1531 -SRC_URI_AMD64="
1532 - kde? (
1533 - !java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-${PVR}.tar.xz )
1534 - java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-java-${PVR}.tar.xz )
1535 - )
1536 - gnome? (
1537 - !java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-${PVR}.tar.xz )
1538 - java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-java-${PVR}.tar.xz )
1539 - )
1540 - !kde? ( !gnome? (
1541 - !java? ( ${BASE_AMD64_URI}${PN/-bin}-base-${PVR}.tar.xz )
1542 - java? ( ${BASE_AMD64_URI}${PN/-bin}-base-java-${PVR}.tar.xz )
1543 - ) )
1544 -"
1545 -SRC_URI_X86="
1546 - kde? (
1547 - !java? ( ${BASE_X86_URI}${PN/-bin}-kde-${PVR}.tar.xz )
1548 - java? ( ${BASE_X86_URI}${PN/-bin}-kde-java-${PVR}.tar.xz )
1549 - )
1550 - gnome? (
1551 - !java? ( ${BASE_X86_URI}${PN/-bin}-gnome-${PVR}.tar.xz )
1552 - java? ( ${BASE_X86_URI}${PN/-bin}-gnome-java-${PVR}.tar.xz )
1553 - )
1554 - !kde? ( !gnome? (
1555 - !java? ( ${BASE_X86_URI}${PN/-bin}-base-${PVR}.tar.xz )
1556 - java? ( ${BASE_X86_URI}${PN/-bin}-base-java-${PVR}.tar.xz )
1557 - ) )
1558 -"
1559 -
1560 -SRC_URI="
1561 - amd64? ( ${SRC_URI_AMD64} )
1562 - x86? ( ${SRC_URI_X86} )
1563 -"
1564 -
1565 -IUSE="+cups debug gnome java kde"
1566 -LICENSE="LGPL-3"
1567 -SLOT="0"
1568 -KEYWORDS="-* amd64 x86"
1569 -
1570 -BIN_COMMON_DEPEND="
1571 - =app-text/libexttextcat-3.2*
1572 - =dev-cpp/libcmis-0.1*
1573 - =dev-libs/icu-49*
1574 - >=sys-libs/glibc-2.14.1-r3
1575 - kde? ( >=kde-base/kdelibs-4.8.0:4 >=x11-libs/qt-core-4.8.0:4 )
1576 -"
1577 -
1578 -NSS_DEPEND="
1579 - >=dev-libs/nspr-4.8.8
1580 - >=dev-libs/nss-3.12.9
1581 -"
1582 -
1583 -COMMON_DEPEND="
1584 - ${BIN_COMMON_DEPEND}
1585 - app-arch/zip
1586 - app-arch/unzip
1587 - >=app-text/hunspell-1.3.2-r3
1588 - app-text/mythes
1589 - >=app-text/libexttextcat-3.2
1590 - app-text/libwpd:0.9[tools]
1591 - app-text/libwpg:0.2
1592 - >=app-text/libwps-0.2.2
1593 - dev-cpp/libcmis
1594 - dev-db/unixODBC
1595 - dev-libs/expat
1596 - >=dev-libs/glib-2.28
1597 - >=dev-libs/hyphen-2.7.1
1598 - >=dev-libs/icu-49
1599 - >=dev-lang/perl-5.0
1600 - >=dev-libs/openssl-1.0.0d
1601 - >=dev-libs/redland-1.0.14[ssl]
1602 - >=media-libs/fontconfig-2.8.0
1603 - media-libs/freetype:2
1604 - >=media-libs/libpng-1.4:=
1605 - media-libs/libvisio
1606 - >=net-misc/curl-7.21.4
1607 - sci-mathematics/lpsolve
1608 - >=sys-libs/db-4.8
1609 - virtual/jpeg
1610 - >=x11-libs/cairo-1.10.0[X]
1611 - x11-libs/libXinerama
1612 - x11-libs/libXrandr
1613 - x11-libs/libXrender
1614 - >=dev-libs/dbus-glib-0.92
1615 - gnome? ( gnome-extra/evolution-data-server )
1616 - gnome? (
1617 - gnome-base/gconf:2
1618 - gnome-base/orbit
1619 - )
1620 - >=x11-libs/gtk+-2.24:2
1621 - media-gfx/graphite2
1622 - >=media-libs/gstreamer-0.10
1623 - >=media-libs/gst-plugins-base-0.10
1624 - java? (
1625 - >=dev-java/bsh-2.0_beta4
1626 - dev-java/lucene:2.9
1627 - dev-java/lucene-analyzers:2.3
1628 - )
1629 - net-libs/neon
1630 - ${NSS_DEPEND}
1631 -"
1632 -
1633 -RDEPEND="${COMMON_DEPEND}
1634 - !app-office/libreoffice
1635 - !app-office/openoffice-bin
1636 - !app-office/openoffice
1637 - media-fonts/libertine-ttf
1638 - media-fonts/liberation-fonts
1639 - media-fonts/urw-fonts
1640 - cups? ( net-print/cups )
1641 - java? ( >=virtual/jre-1.6 )
1642 -"
1643 -
1644 -PDEPEND="
1645 - >=app-office/libreoffice-l10n-3.5.0
1646 -"
1647 -
1648 -# after all it's a binary package
1649 -DEPEND=""
1650 -
1651 -# only one flavor at a time
1652 -REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
1653 -
1654 -RESTRICT="test strip"
1655 -
1656 -S="${WORKDIR}"
1657 -
1658 -PYTHON_UPDATER_IGNORE="1"
1659 -
1660 -pkg_pretend() {
1661 - [[ $(gcc-major-version) -lt 4 ]] || \
1662 - ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
1663 - && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
1664 -}
1665 -
1666 -pkg_setup() {
1667 - kde4-base_pkg_setup
1668 -}
1669 -
1670 -src_unpack() {
1671 - default
1672 -}
1673 -
1674 -src_prepare() {
1675 - cp "${FILESDIR}"/50-${PN} "${T}"
1676 - eprefixify "${T}"/50-${PN}
1677 -}
1678 -
1679 -src_configure() { :; }
1680 -
1681 -src_compile() { :; }
1682 -
1683 -src_install() {
1684 - dodir /usr
1685 - cp -aR "${S}"/usr/* "${ED}"/usr/
1686 -
1687 - # prevent revdep-rebuild from attempting to rebuild all the time
1688 - insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
1689 -}
1690 -
1691 -pkg_preinst() {
1692 - # Cache updates - all handled by kde eclass for all environments
1693 - kde4-base_pkg_preinst
1694 -}
1695 -
1696 -pkg_postinst() {
1697 - kde4-base_pkg_postinst
1698 -
1699 - pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
1700 - pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
1701 -
1702 - use cups || \
1703 - ewarn 'You will need net-print/cups to be able to print and export to PDF with libreoffice.'
1704 -
1705 - use java || \
1706 - ewarn 'If you plan to use lbase aplication you should enable java or you will get various crashes.'
1707 -}
1708 -
1709 -pkg_postrm() {
1710 - kde4-base_pkg_postrm
1711 -}
1712
1713 diff --git a/app-office/libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild b/app-office/libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild
1714 index 1849c7d..d24f87e 100644
1715 --- a/app-office/libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild
1716 +++ b/app-office/libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild
1717 @@ -1,6 +1,6 @@
1718 # Copyright 1999-2012 Gentoo Foundation
1719 # Distributed under the terms of the GNU General Public License v2
1720 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild,v 1.6 2012/08/14 12:55:30 ago Exp $
1721 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.5.3.ebuild,v 1.7 2012/09/26 11:23:05 scarabeus Exp $
1722
1723 EAPI="5"
1724
1725 @@ -57,6 +57,7 @@ BIN_COMMON_DEPEND="
1726 =app-text/libexttextcat-3.3*
1727 =dev-cpp/libcmis-0.1*
1728 =dev-libs/icu-49*
1729 + =media-gfx/graphite2-1.1*
1730 >=sys-libs/glibc-2.14.1-r3
1731 kde? ( >=kde-base/kdelibs-4.8.0:4 >=x11-libs/qt-core-4.8.0:4 )
1732 "
1733
1734 diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest
1735 index 1559b74..32f0420 100644
1736 --- a/app-office/libreoffice/Manifest
1737 +++ b/app-office/libreoffice/Manifest
1738 @@ -3,7 +3,9 @@ AUX libreoffice-3.5-doublebuild.patch 887 SHA256 15dba3ca6be47bffe26e9eae73ed356
1739 AUX libreoffice-3.5-hebrew-icu49.patch 5661 SHA256 169ec723b1453b932deefafada3e4dcbc038a336c427657021e1de8afadd8ab9 SHA512 6b6c93092bc34acc4030ebed056ad189d1eefc2081521b1c995ff81b5ac52760e7f631e90a94c7165bd745c7685b43c0e7b105deb37b40b6fd7e767e64e7ee1a WHIRLPOOL 5c2c09462eb770a2240469f972be4b99329674f2a056d56d3fb1cd539da9551a4d4f85040d936e77fe3bdbdfe7e991c47e9a2a83c5906ca7848685498a1f2dc4
1740 AUX libreoffice-3.5-propagate-gb_FULLDEPS.patch 922 SHA256 73cbbec0744fc8cce99f5c9dd499935e9bf2db2e3d994045fab4c328116e3724 SHA512 3fdeaaffc82e2b43ba162b45866c0bb795b23b6be671f4bdc71459d9ab169fd62487d9339c7d6e8dc4721d567027c049b861ddf56cb097594641b0bf357c7c42 WHIRLPOOL c55ff6ff62b63ccfc4fec7f21ac01bafa21d2228897cda2d3033738a31fd99159a717d463228ba3843f9a45edba87a5a07be9d3d83a0b00f3a763598affe56bd
1741 AUX libreoffice-3.5.4-libexttextcat.patch 910 SHA256 5e2acf868f511d8937d6551b6fe52e73e808082cc5bf327815a95c8fe4c9a6d2 SHA512 eb3ac4eff756812d3b2a149f30a98501abc625b2177bfed73bb35ab37bfbf09fd3c214aa58fa29b0a4bdc38788dfdb625aa48ba9dc5d05b971bfe4f06a1bc129 WHIRLPOOL 7f1a771765296cce6c38eaec6c2abf50913355cf1d2909fbd51636045c8ac38bdd05dd2cf54edfffeab5c904c2de1de5be57b1347961c55fee937c90afd0758f
1742 +AUX libreoffice-3.6-separate-checks.patch 2366 SHA256 0fa6bdba2a176f3cdbfc8f87f5fc69b8790b6464cb607153e807df758066a3fb SHA512 8c79eb6bb60f04c6877bf7f1aff8f93ff56e069ca00f2982123b6187aba77e23eb8287bf668ef419e0277e3f51a872a2cf11431465a1a35560ae86d4ff4794cf WHIRLPOOL 9c4e8eba379d4c8e51ff6a24438fb3a8f7d3d64132854c8e5cdfd082c2e1c4ae38c501ec199990e3d505466898199b32595045d7e9a456858c63b663d4ad5d2c
1743 AUX libreoffice-3.6-system-pyuno.patch 1628 SHA256 25f319caed7205e06d4b9e17a45ab268a2ac67846c4e02442a15acc540266a5b SHA512 e7eb2c26932dd3fdff22c0c72a28542a42c26fc04a0fcc2a813e7b4d7fe642f211a395d41042cfc735670127a81104fcc2a4b845a59235a4d7924db2659916b0 WHIRLPOOL 09863ef7c67e8ed5d3edfd758fcdebd3ad785d3f82de47b9f1cc60d41cc18a56973515088abe9a4584311b551073b0db8bdd7e74fb72a81576a5a0d71c900998
1744 +AUX libreoffice-3.7-separate-checks.patch 2014 SHA256 8732f567232408df10b7450c1a58308d43e6df4816300d0e42793457d6bfd05f SHA512 bab7eb7f30b864bec5c9f06e8a81e986fb267468b0b9ba5c6855360d016c58d2fc1f467811680d27b04989683852ceca1eab24ba39c145e4177f88fa4fcd2140 WHIRLPOOL 4a702f8b60ec700deb09831023bda7149c5e4612861270ef5b349c126493a81e7504bcabff6b99c2cb9ae471e834b79bcf571d2412b7459aefe72e316d5cbc0e
1745 AUX libreoffice-3.7-system-pyuno.patch 1642 SHA256 191d2462c13947d63a3f2758ec26b4b5b7765d06f0454add1c471e9dccfa9016 SHA512 76d0b836f2b26c9cd3a0ad2b471d033c863ffc1eb593f28f1ebecaae30f205adb97b4b0a63483f93d2f32d5934480f580776e1ce83baf77e5bedee759112fb8d WHIRLPOOL efada275cfa123b2f3fd96a20057fab5a8f83c50e0d401df1af76d1eb017e5c7ceb74d0a5d8fd77352379be4a69b67f22d99a072213b5644012094a31f353da0
1746 AUX libreoffice-system-pyuno.patch 1634 SHA256 8a45fe2d6eb9b9a529c9f237b7219b221296d270caa7d42d4ea1a47c5e30841f SHA512 30d6ea3e648ce21e2e9cabf8b1ffc05e7a97ac691fadc56d02f9fa32df914628735fce2101abc1e30b5a31967f3ce124a85ecb481041b9f61713acd9d9489220 WHIRLPOOL c2f10535ed97b9eb5fa9f271ff4c9ad8b552595f58234899d2b5091daacc4444532bdee1d2ec2bd24f0ce601f0e5b5ce408fcbe169e21184f263c7bac86bfa69
1747 DIST 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip 3519470 SHA256 d30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370 SHA512 a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a WHIRLPOOL c4b3b0c3e10171155e1d3431e8ab9b495dbf2fb924882024306bfb53f533f5b0231c06f47e3cfa77052013a816ea4cc5f237cc76fdb44a048fb6d5c177729aec
1748 @@ -15,16 +17,16 @@ DIST a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip 23150 SHA256 75823776fb51
1749 DIST ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip 2732347 SHA256 64f8d737c32756713d60c22efe3978a59fa167cdeaa2d3d0a1646b1f2232b825 SHA512 bba2fe76d09e3ab99b170685525ceb4ce8ce8d95ffa0df97c05ce18cd7edbe73028861e19c501bf00db369d36f43fe274d4220ad046518d89737249f61c7cf3a WHIRLPOOL 2dd0924defb85dc6a266126fdaabc29f051ccf525d1e1e7a5f74db19f162ee2d17f98ae96fd832dbd1600c006e277b75a4d88d9b3128c7ec9e2365a6704d32e9
1750 DIST ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz 12735186 SHA256 dc6445d2c0445e5536010b80bd811adda6741ed82b288fe831d5be9902457941 SHA512 a8c39d205051a8f8abaecb7a6fdc0c2c37baf5eee2a082af8819555f442dab525649b86cae569048357eb1e6e651deff4b62183de417e15b403e1ac09c40ba7b WHIRLPOOL fd9b6bbd214113334d3d5e542bbc9b70d5a9505281454e7f4447c6c73af733e10b007a2d4225acb39db0fc17401c2ae36b6628c59d31f09bec485f4cfc009eb5
1751 DIST libreoffice-binfilter-3.5.6.2.tar.xz 5982612 SHA256 58c4607ec32a7a0618cd03c439ff6188f1467ccd8a4ff2227b2f681092d5b936 SHA512 c6337fdefbb906c974e64e948899f91553493986eac236548cb40f1ce882706b379add23eaceff4ad3637d738f8741d7e8cbfc6fb54d541fbd6e92d01b95ea04 WHIRLPOOL 158eb39e2db2d328a32263800a6cd8eda0fe7e1bbe00675698b367137209e28c5c572ca9050c84aa2e57640dee04ab01622b91edc6392b3360144218612657ba
1752 -DIST libreoffice-binfilter-3.6.1.2.tar.xz 5979484 SHA256 fa64c070dca5eea80c909ea4598b5dba2b30c24d184b58201081e5b9db1bd405 SHA512 1670fb59f7c368592ad281023ed2937db8d41448c3395c27934b0a438f57cd15d85258d474a148119f546106408458727318a732528910d4d84728cbe43cf47e WHIRLPOOL 936cca7af8e4099039f2186da1ee81383a388eaa4ac261bef2c93d9969718feb1a79fced0fa6d442196d6b5b5e39cc0a1ad5a9fc1e651bd5299602cafb68eb6c
1753 +DIST libreoffice-binfilter-3.6.2.2.tar.xz 6055788 SHA256 07a67c87491542843f44787c5cb7097da2d19b7e97fec827f78722024deb7c0e SHA512 a38ce6bc387d8d257964d0dee5702053a43a65092d51b7f6f68fdfa32f68596ad0016e4735ede99850c28d9364e31208435d392b90f6bc3823c64812c8286cc1 WHIRLPOOL 6f6810a2b138ca70742b9a48b39d408a895751aefb0bfd457a95f32c532f25eb4afa541abe17425fcc34e144cfe53f76fcd9d79faa656e0543680707e4ecee85
1754 DIST libreoffice-branding-gentoo-0.5.tar.xz 150616 SHA256 91beaf63fca297914cb4390b760ffef52b03450ecb52affab0f124a2dbd63a63 SHA512 a915973e1566414fd8fdae67ccaf426a9543cfa4f2549b39e7da0146c975d568d2e222835a259f4bbe6d36979b956cf65a7d28c7a5b3a7b8858e8f731acf33d9 WHIRLPOOL c2beb6b4220a99820eade85784638b883ea3b9293f6714bcce65dcb91fd617a1712a19327377d5fa1c33ac7b402749e8a29daa72f9ea9672d24607ce27cb82fc
1755 DIST libreoffice-branding-gentoo-0.6.tar.xz 49756 SHA256 d5c2d12031a807d18e981a6df7e945e1787b96c7ee65fa3d9bb9eac17cf8ade9 SHA512 1126d92b6b8722fc8b7865ed42c98876922ce26c71ebff61faf03e07b338d5278ff41ba29ff296d281cbdee6a9a0965ccf8e2101fc0f4846eaddcf511ac74eed WHIRLPOOL 40f18619246ca0b6f91ff248d65e4a36639c6faee719a842fb57c6bd8fc871686156e1c991776877d5df0811088ca8f3f4390b60f10565deefa2739c99242c91
1756 DIST libreoffice-core-3.5.6.2.tar.xz 102714756 SHA256 0c0624aca649ab9d86aa3e35584ebeb648fe6e06d82a16c727fad2c56cb6c509 SHA512 fc0f399346b8ae7b235123f12c6c2addf78b25f1c3f03b7fb168089183b7153575f92823425154d5f4e15d79e704213ac834c1165d2393372a7921de8fea603a WHIRLPOOL bc2f214cc79efbe80fe664ebc3f767341aa7b546f31d9965bac80a23440bc8acfd7ea0c4693462421f222483a670d19d2805e7b0556f30b61f1adad79d72938e
1757 -DIST libreoffice-core-3.6.1.2.tar.xz 107175952 SHA256 037a89a6867f2483898e73507b293296e99f899ea4dab2c37ce3061ff707ec8b SHA512 fb1a30fb7989057c3ca124ae6795d21292f007206d925331dc97d8c8ef1752ba359c3aabeca61d2a2a37283d53f2b1dae22b3a2f51ccdc90827590b54d8a97bc WHIRLPOOL 7f23fd65cbeb729597f23054d94d2bcaa453782cca1dd202a7c7558ad723c00340135612e9afb378c2a46a59cbcf0d254d066a3bee610c8e43b3244a344f6ed3
1758 +DIST libreoffice-core-3.6.2.2.tar.xz 109090048 SHA256 5ec07ffacec09c4dcee9246cb132f7a59a618b395835e781735fd61bf47e8d37 SHA512 84784ec5c1a7c0ba1a617ebdede8153240cb88c4a83aa45f532132c076e36434ce00bac162ca31578df7ae97f09fe59cb571cdcf941863ca95d776f5c3e45843 WHIRLPOOL 29bc7c54756c6bf9abb47d73452e2fd5633bf4360e0a075aee29b1749f127fe23f9647165d6d474e95628e3fdc1c6a4a165a55595d7cd925a8d7007ce3d3cf78
1759 DIST libreoffice-help-3.5.6.2.tar.xz 1856988 SHA256 05840501d0ad959de0ea907c067f8e6c4c91397cba49b54c8ea8a0f0d01fba22 SHA512 1fa1a202f6e975dc6baedec7cbbe6f98ee365bc87ac052eec1559db91984eee552a44b5ed09cf6d574fa002d95189ac7ea30556e829f994fd195d62447a1e35e WHIRLPOOL 516c7848fd077b4962cc703ebf314676424255aa921babefd43c4e710ed2fe33d2a8e6330e491623015d6ae26bfb0d84c9a8cec62eead4f8a42839223969dd86
1760 -DIST libreoffice-help-3.6.1.2.tar.xz 1863760 SHA256 41672c3548f95ff8ad3b491b0ff7d814a6a77f82b94e3adfcebb5538f3a0a349 SHA512 157352376c5811b8b9fa1141e1134c289f79a7f412b10500b0150cffe6d492198e6502d2a952e0e63c22bda88ade83a53357d40edc3543bc145450c9b5e9f26d WHIRLPOOL db2193440d3bb5a0fa7e13dd9af39f196aefbd5c7ff9d4d55fd0f4e4beb61b5727c8451c5b001087d2fa7f92ce3fc61848e97d2d3020c2a2cb2be0cb3be414ea
1761 +DIST libreoffice-help-3.6.2.2.tar.xz 1911136 SHA256 55ec6ef5eef4bbf2298c3b864f67c8424ebb5ccbe7bcd6ca59abba2867989e31 SHA512 1865c70416e51dd76b326d538f618743d6dc6482a768fc31fdb09e52cc332c1b8192f063ef955ca026d8ebc0cd71a6158924f35dac5f9d66e947ad3d71a39bce WHIRLPOOL a8bdd25827d0c896618da2e78340299c948d6628133f5d0ad428ba002c4a194e05b4d2391d33bc7ac672231c7c427139f216df726378691def483aca10bdf209
1762 EBUILD libreoffice-3.5.6.2.ebuild 15680 SHA256 93bd1a53fccece6729ddec5af81793ffb5dce931d1e7b0add7ba8b3e63554f12 SHA512 d0e2e8fbdf02ce5f33eef01559c7b909abdddb52948abde534debadd20d920138d19c32fe7d1f2528b0ec57cd9def3248c07716e8dfe40e682f685dbed29d03c WHIRLPOOL 027912fee88fcf6cb45c071ea1109c2d3d551d35dcd8a6f3b00958f73e4cd03148a50ae9c1663e5e9f5788a8949b62ba0be75c93b94313b34003108b74e70910
1763 -EBUILD libreoffice-3.6.1.2.ebuild 17376 SHA256 7cb351c0ca2d6c75e0480a1c9e23469bb77bb4642b1b403cabb611c4c87c58f2 SHA512 aaf59f89861ddd47e7d5c5f702cf8f6fad831c0818191eeea9f1138464a0776334ae786c447d1242cf401156b7c4d0fce522a8d0d6b36f980bbbe8f5e9652cac WHIRLPOOL ebe96a0d54fee547f1ade047cb83d20534c3fee180c3dfdf89953dc81477de09d004b28bca53b11ec594c28d36a9f9a9f1a62327289e0ccde017eefc866419a1
1764 -EBUILD libreoffice-3.6.9999.ebuild 17377 SHA256 6233ee7e73f627efe6455fe4e3e4c9cb629cf69d272d287317bf41570bf9294b SHA512 42358525b01c434f2927e91d4282f6b0f7aa527be487400907ed97beac62089cadd88632bdef4093f693648eb78aa1b9617440509cffa4edc199e6600e4847de WHIRLPOOL c559b42d854d072d80ef78e5aea81eb76ce446c17363b8efc6fc4fd55de84f868e842d435264e2f6b19fc0cacab9a5fa075b96cd642689568aedb268f70f5c79
1765 -EBUILD libreoffice-9999-r2.ebuild 17564 SHA256 07f64d1979911315686513654105bce6f5a45bce2f92edacd917c1cbf9ed759b SHA512 91669bc91dfc94776a629a7230e55778f81be5cbe86256432a94664ea7b92a1d2018f50dc8309a200e61a8d3874576768347bf2b9a8153973d3f7feb6b934b9e WHIRLPOOL 6719814449ae27b4a2454d278c1e8e0961cac861b5e43090444355d125406545394664901c247be5723f99ba1c1d45d976f45dac0a1e32da83e0eae6dafb6476
1766 -MISC ChangeLog 68400 SHA256 53090a624d1b506d80fc9341da37857227c92694a739683dbe0e085876ea0abb SHA512 4bd9e49d454effd01e51608bb12aa5980c5e93dd368c2d41fbb5b73af92ec379b6db359712abf4ab84e55d90fa8ed4660693e56160da80e14ceff28371e6fe9d WHIRLPOOL 8198054d3038ac41783226029c080104eaf41394570cbba9f75e9d10ca11f9a7eea86cbcb5d1401897800e5371c6f2ee964a3b333a2921c600bd8403d2bc2aab
1767 +EBUILD libreoffice-3.6.2.2.ebuild 17397 SHA256 74f98b4a2a2319c68a229740e92841a7d7db61ca6d3dd9a2abc05cfb4fa4498d SHA512 e876ce82851e385af9955be302d879b9aac734d5ab93a6c7fb54d91be4f251767d571e9775b27ea58dacccafebb3f20914fa1ed7551100f9dc062c3f511e3779 WHIRLPOOL 447dc6e7ffcb63602875c4f38c2cfa1279591ad161d7a4ad7afd671e69a30d56f6ac1a03809763367264c12e5bd61bd430a0b210c7bde0d92b15a7f0c581cc19
1768 +EBUILD libreoffice-3.6.9999.ebuild 17407 SHA256 bdc14bf9ddf960f9c62d9b033f8de3269d3bbd0aeb83c24f07c1973f365e586a SHA512 40bc1b9e8886ff907139709b0da90b94ed4b7e88da9b877f7bf491d32ad4bf9f9ccd981fb99e0a50056c626fe702916e042e207ae5bc546ebf9286026ed7120a WHIRLPOOL 0d0176750dd04aed01579e1fc120b31a6bf90a89fea4d48a83ef61168184ade1208b9249c8ed1a4dfb4ceaba5a60e170b9c1bd45eb752792b93852b755385381
1769 +EBUILD libreoffice-9999-r2.ebuild 17627 SHA256 0c97729450b4e31979d12c276137db1afe25693e5a2a9a6cf4c274f59b734d27 SHA512 1e1214c1c6ded3321cb2a57cd0bcbd5213a4d3ef4af5fec9e210053ddc8db64ae039bbfa7199841f1b7058f84c0a44af181eddb03bf786e9557c062f177b08ce WHIRLPOOL d011041de225f269df3d3c5135364af3a296462f68fcbc88159972f0cc6ad173d122026eb6ae68aa5a744047cdcdd83f54028204e0ddb01b19b521221517cf34
1770 +MISC ChangeLog 69186 SHA256 0414d3ed9148651f0b0b30847df0d01a969a4b771da766aab03dda58a6d7a82a SHA512 67c382334229f218a8559befed5b95beda85d6a35c0341e20b78b19e463b9943cdd9bd1ea4bed9d88b5064621ccbbd4e00f24bc834ca3181366cb261de159c4e WHIRLPOOL bc7c2233df762e385516b3c38de9c0637aef1663654a27cdf1895e58ff5c7c20bff70216ffbfa5b0d3e5ed5123f7d6d71251c966ee85acbee0845f4d0c32b558
1771 MISC metadata.xml 1645 SHA256 24887289646f2058654a7701555baf8afabcffa2223f5bece682d537a43fdcda SHA512 dbf85074a9bc3b984a6f8188dee88a19123d0b6fed5131a70592f31769c317b8eb5ea1095fb72a406dad9fe5214ac51e33203c162a6891a63b9cbedb0d1affc0 WHIRLPOOL 7cbfb1f8644f8cf36efc4ddd8bdb0f757483c7fce7da0e2d61922d0a5e9ab4dd968c5120064ec3307fd547544cdb9501a4bedabf905f7a7d201f972534b41172
1772
1773 diff --git a/app-office/libreoffice/files/libreoffice-3.6-separate-checks.patch b/app-office/libreoffice/files/libreoffice-3.6-separate-checks.patch
1774 new file mode 100644
1775 index 0000000..de314df
1776 --- /dev/null
1777 +++ b/app-office/libreoffice/files/libreoffice-3.6-separate-checks.patch
1778 @@ -0,0 +1,74 @@
1779 +From 4fb35cfbf4b10d5644fd636ddfe3e07b5a932d45 Mon Sep 17 00:00:00 2001
1780 +From: Bjoern Michaelsen <bjoern.michaelsen@×××××××××.com>
1781 +Date: Sun, 24 Jun 2012 14:01:54 +0200
1782 +Subject: [PATCH] dont run check targets in build, to allow running them
1783 + separately later
1784 +
1785 +Change-Id: Idb46ebcb427522c74632a1813afcbb841fb61243
1786 +---
1787 + Makefile.top | 10 ++++++++--
1788 + solenv/bin/build.pl | 2 +-
1789 + solenv/gbuild/Module.mk | 2 +-
1790 + 3 files changed, 10 insertions(+), 4 deletions(-)
1791 +
1792 +diff --git a/Makefile.top b/Makefile.top
1793 +index 7362bbc..ae849fb 100644
1794 +--- a/Makefile.top
1795 ++++ b/Makefile.top
1796 +@@ -243,7 +243,7 @@ xsltml\
1797 + zlib\
1798 +
1799 + gb_TAILBUILDMODULES := $(shell $(GNUMAKE) -r -f $(SRCDIR)/tail_build/Makefile showmodules)
1800 +-export gb_TAILBUILDTARGET=all slowcheck
1801 ++export gb_TAILBUILDTARGET=all
1802 +
1803 + define gbuild_module_rules
1804 + .PHONY: $(1) $(1).all $(1).clean $(1).deliver
1805 +@@ -480,11 +480,17 @@ findunusedcode:
1806 + | grep -v WPX \
1807 + > unusedcode.easy
1808 +
1809 +-check: dev-install subsequentcheck
1810 ++check: unitcheck slowcheck dev-install subsequentcheck
1811 +
1812 + subsequentcheck :| $(if $(filter-out subsequentcheck,$(MAKECMDGOALS)),dev-install)
1813 + $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
1814 +
1815 ++unitcheck:
1816 ++ $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
1817 ++
1818 ++slowcheck:
1819 ++ $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
1820 ++
1821 + debugrun:
1822 + $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
1823 +
1824 +diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
1825 +index 74d0f32..daa4ae0 100755
1826 +--- a/solenv/bin/build.pl
1827 ++++ b/solenv/bin/build.pl
1828 +@@ -1901,7 +1901,7 @@ sub run_job {
1829 + return 1 if (! $path =~ /prj$/ );
1830 + mkpath("$workdir/Logs");
1831 + my $gbuild_flags = '-j' . $ENV{GMAKE_MODULE_PARALLELISM};
1832 +- my $gbuild_target = 'all slowcheck';
1833 ++ my $gbuild_target = 'all';
1834 + if ($registered_name =~ /tail_build\/prj$/ )
1835 + {
1836 + $gbuild_flags = '-j' . $ENV{GMAKE_PARALLELISM};
1837 +diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
1838 +index e5f87f0..9c2608c 100644
1839 +--- a/solenv/gbuild/Module.mk
1840 ++++ b/solenv/gbuild/Module.mk
1841 +@@ -129,7 +129,7 @@ gb_Module_DEVINSTALLHINT=
1842 + debugrun :| build
1843 + endif
1844 +
1845 +-all : build unitcheck
1846 ++all : build
1847 + $(info $(gb_Module_BUILDHINT))
1848 +
1849 + build :
1850 +--
1851 +1.7.9.5
1852 +
1853
1854 diff --git a/app-office/libreoffice/files/libreoffice-3.7-separate-checks.patch b/app-office/libreoffice/files/libreoffice-3.7-separate-checks.patch
1855 new file mode 100644
1856 index 0000000..5805387
1857 --- /dev/null
1858 +++ b/app-office/libreoffice/files/libreoffice-3.7-separate-checks.patch
1859 @@ -0,0 +1,64 @@
1860 +From 4fb35cfbf4b10d5644fd636ddfe3e07b5a932d45 Mon Sep 17 00:00:00 2001
1861 +From: Bjoern Michaelsen <bjoern.michaelsen@×××××××××.com>
1862 +Date: Sun, 24 Jun 2012 14:01:54 +0200
1863 +Subject: [PATCH] dont run check targets in build, to allow running them
1864 + separately later
1865 +
1866 +Change-Id: Idb46ebcb427522c74632a1813afcbb841fb61243
1867 +---
1868 + Makefile.top | 10 ++++++++--
1869 + solenv/bin/build.pl | 2 +-
1870 + solenv/gbuild/Module.mk | 2 +-
1871 + 3 files changed, 10 insertions(+), 4 deletions(-)
1872 +
1873 +diff --git a/Makefile.top b/Makefile.top
1874 +index 7362bbc..ae849fb 100644
1875 +--- a/Makefile.top
1876 ++++ b/Makefile.top
1877 +@@ -251,7 +252,7 @@ xpdf\
1878 + xsltml\
1879 + zlib\
1880 +
1881 +-export gb_TAILBUILDTARGET=all slowcheck
1882 ++export gb_TAILBUILDTARGET=all
1883 +
1884 + define gbuild_module_rules
1885 + .PHONY: $(1) $(1).all $(1).clean $(1).deliver
1886 +@@ -526,7 +527,7 @@ findunusedcode:
1887 + | grep -v WPX \
1888 + > unusedcode.easy
1889 +
1890 +-check: dev-install subsequentcheck
1891 ++check: unitcheck slowcheck dev-install subsequentcheck
1892 +
1893 + subsequentcheck :| $(if $(filter-out subsequentcheck,$(MAKECMDGOALS)),dev-install)
1894 + $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
1895 +diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl
1896 +index 74d0f32..daa4ae0 100755
1897 +--- a/solenv/bin/build.pl
1898 ++++ b/solenv/bin/build.pl
1899 +@@ -1901,7 +1901,7 @@ sub run_job {
1900 + return 1 if (! $path =~ /prj$/ );
1901 + mkpath("$workdir/Logs");
1902 + my $gbuild_flags = '-j' . $ENV{GMAKE_MODULE_PARALLELISM};
1903 +- my $gbuild_target = 'all slowcheck';
1904 ++ my $gbuild_target = 'all';
1905 + if ($registered_name =~ /tail_build\/prj$/ )
1906 + {
1907 + $gbuild_flags = '-j' . $ENV{GMAKE_PARALLELISM};
1908 +diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
1909 +index e5f87f0..9c2608c 100644
1910 +--- a/solenv/gbuild/Module.mk
1911 ++++ b/solenv/gbuild/Module.mk
1912 +@@ -129,7 +129,7 @@ gb_Module_DEVINSTALLHINT=
1913 + debugrun :| build
1914 + endif
1915 +
1916 +-all : build unitcheck
1917 ++all : build
1918 + $(info $(gb_Module_BUILDHINT))
1919 +
1920 + build :
1921 +--
1922 +1.7.9.5
1923 +
1924
1925 diff --git a/app-office/libreoffice/libreoffice-3.6.1.2.ebuild b/app-office/libreoffice/libreoffice-3.6.2.2.ebuild
1926 similarity index 98%
1927 rename from app-office/libreoffice/libreoffice-3.6.1.2.ebuild
1928 rename to app-office/libreoffice/libreoffice-3.6.2.2.ebuild
1929 index 4813919..1332400 100644
1930 --- a/app-office/libreoffice/libreoffice-3.6.1.2.ebuild
1931 +++ b/app-office/libreoffice/libreoffice-3.6.2.2.ebuild
1932 @@ -1,8 +1,8 @@
1933 # Copyright 1999-2012 Gentoo Foundation
1934 # Distributed under the terms of the GNU General Public License v2
1935 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.1.2.ebuild,v 1.4 2012/09/21 09:04:55 scarabeus Exp $
1936 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.2.2.ebuild,v 1.1 2012/09/25 14:03:14 scarabeus Exp $
1937
1938 -EAPI="5"
1939 +EAPI=4
1940
1941 KDE_REQUIRED="optional"
1942 QT_MINIMAL="4.7.4"
1943 @@ -117,7 +117,7 @@ COMMON_DEPEND="
1944 >=media-libs/fontconfig-2.8.0
1945 media-libs/freetype:2
1946 media-libs/lcms:2
1947 - >=media-libs/libpng-1.4:=
1948 + >=media-libs/libpng-1.4
1949 >=media-libs/libcdr-0.0.5
1950 media-libs/libvisio
1951 >=net-misc/curl-7.21.4
1952 @@ -215,6 +215,7 @@ DEPEND="${COMMON_DEPEND}
1953 PATCHES=(
1954 # not upstreamable stuff
1955 "${FILESDIR}/${PN}-3.6-system-pyuno.patch"
1956 + "${FILESDIR}/${PN}-3.6-separate-checks.patch"
1957 )
1958
1959 REQUIRED_USE="
1960 @@ -226,8 +227,6 @@ REQUIRED_USE="
1961 libreoffice_extensions_wiki-publisher? ( java )
1962 "
1963
1964 -RESTRICT="test"
1965 -
1966 S="${WORKDIR}/${PN}-core-${PV}"
1967
1968 CHECKREQS_MEMORY="512M"
1969 @@ -410,7 +409,7 @@ src_configure() {
1970 fi
1971
1972 # system headers/libs/...: enforce using system packages
1973 - # --enable-unix-qstart-libpng:=: use libpng splashscreen that is faster
1974 + # --enable-unix-qstart-libpng: use libpng splashscreen that is faster
1975 # --enable-cairo: ensure that cairo is always required
1976 # --enable-*-link: link to the library rather than just dlopen on runtime
1977 # --enable-release-build: build the libreoffice as release
1978 @@ -440,12 +439,12 @@ src_configure() {
1979 --enable-graphite \
1980 --enable-cairo-canvas \
1981 --enable-largefile \
1982 - --disable-mergelibs \
1983 + --enable-mergelibs \
1984 --enable-python=system \
1985 --enable-randr \
1986 --enable-randr-link \
1987 --enable-release-build \
1988 - --enable-unix-qstart-libpng:= \
1989 + --enable-unix-qstart-libpng \
1990 --enable-xmlsec \
1991 --disable-ccache \
1992 --disable-crashdump \
1993
1994 diff --git a/app-office/libreoffice/libreoffice-3.6.9999.ebuild b/app-office/libreoffice/libreoffice-3.6.9999.ebuild
1995 index d9b6cd6..2d5566f 100644
1996 --- a/app-office/libreoffice/libreoffice-3.6.9999.ebuild
1997 +++ b/app-office/libreoffice/libreoffice-3.6.9999.ebuild
1998 @@ -1,6 +1,6 @@
1999 # Copyright 1999-2012 Gentoo Foundation
2000 # Distributed under the terms of the GNU General Public License v2
2001 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.9999.ebuild,v 1.28 2012/09/21 09:04:55 scarabeus Exp $
2002 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.6.9999.ebuild,v 1.29 2012/09/24 08:26:04 scarabeus Exp $
2003
2004 EAPI="5"
2005
2006 @@ -215,6 +215,7 @@ DEPEND="${COMMON_DEPEND}
2007 PATCHES=(
2008 # not upstreamable stuff
2009 "${FILESDIR}/${PN}-3.6-system-pyuno.patch"
2010 + "${FILESDIR}/${PN}-3.6-separate-checks.patch"
2011 )
2012
2013 REQUIRED_USE="
2014 @@ -226,8 +227,6 @@ REQUIRED_USE="
2015 libreoffice_extensions_wiki-publisher? ( java )
2016 "
2017
2018 -RESTRICT="test"
2019 -
2020 S="${WORKDIR}/${PN}-core-${PV}"
2021
2022 CHECKREQS_MEMORY="512M"
2023
2024 diff --git a/app-office/libreoffice/libreoffice-9999-r2.ebuild b/app-office/libreoffice/libreoffice-9999-r2.ebuild
2025 index e419654..1dc363b 100644
2026 --- a/app-office/libreoffice/libreoffice-9999-r2.ebuild
2027 +++ b/app-office/libreoffice/libreoffice-9999-r2.ebuild
2028 @@ -1,6 +1,6 @@
2029 # Copyright 1999-2012 Gentoo Foundation
2030 # Distributed under the terms of the GNU General Public License v2
2031 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.112 2012/09/21 09:04:55 scarabeus Exp $
2032 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.115 2012/09/25 09:53:19 scarabeus Exp $
2033
2034 EAPI="5"
2035
2036 @@ -206,6 +206,7 @@ DEPEND="${COMMON_DEPEND}
2037 sys-devel/flex
2038 sys-devel/gettext
2039 >=sys-devel/make-3.82
2040 + sys-devel/ucpp
2041 sys-libs/zlib
2042 x11-libs/libXt
2043 x11-libs/libXtst
2044 @@ -225,6 +226,7 @@ DEPEND="${COMMON_DEPEND}
2045 PATCHES=(
2046 # not upstreamable stuff
2047 "${FILESDIR}/${PN}-3.7-system-pyuno.patch"
2048 + "${FILESDIR}/${PN}-3.7-separate-checks.patch"
2049 )
2050
2051 REQUIRED_USE="
2052
2053 diff --git a/dev-java/icedtea/Manifest b/dev-java/icedtea/Manifest
2054 index a2a40ad..6c52065 100644
2055 --- a/dev-java/icedtea/Manifest
2056 +++ b/dev-java/icedtea/Manifest
2057 @@ -2,69 +2,18 @@ AUX fontconfig.Gentoo.properties.src 15602 SHA256 d48a9b43d82f45425464e985955f3f
2058 AUX generate-cacerts.pl 11051 SHA256 6ee6fb155e3fa85d0a7e9015b53ebd55948c6599d100fdb69b574b6d11f73433 SHA512 22d1be675362c09ed61af4dc3ece14cab81e9514937d588ff5d324e61b7eba7d3dd99b26bc5ec0953365de56d099f708b2afdb13cca37bc4ff07fd8ce31fbe97 WHIRLPOOL ad0e7946b1f055542f8a76b1050ae841bc7b6498305def9881d2f5d2177a82b77d25bf20e97488e2c84bbe0c3834421caea7e5bf4ea990c783908bc19133e619
2059 AUX icedtea-6-pass_javac_memory_args_to_vm.patch 2953 SHA256 39f2b68fea43923f88a6e1e4b8fe51735441e783da9cf2bbc9c95f4dea483763 SHA512 0d9b3fec5a1edf1208e7a5a6ea5e3c75a0179697d1252ba4e430175a5055c78f906af03bb434c0810a89a5fb802757d337c30370fad56bbbca23b3f7c25ef805 WHIRLPOOL 784b5fd27698880c0d831e041e17132befc4fdd8eb94823105618662d16e8f1a5819680a7fcf0fd29f79b3f731c1f5c672b8e6d824c96d1687d56b5c027a228d
2060 AUX icedtea-6_pax_kernel_support.patch 4862 SHA256 7e9235d5f2b70b3e70c0940d35dc312fa59444e763eb5f521f2b71f86a24f70b SHA512 e9ec9df75925aa408ee78c4730be320231017f6a180f34b0406ef1393a142d14192cd3bc63c1929f9c6904c569f2a4150ceb7f286c69f3084053aab73b4ed253 WHIRLPOOL 3bef4746ed97e8e2f8a37cc337cf50b137afc985220e7804759331aa75c3c4a90b6f2266c3ec8449d6726ea4f45b4b1f55d653048039429013e08f57a50acdb1
2061 -AUX icedtea-7-compile_for_7_cacao_mem.patch 3414 SHA256 0ace12a18f471ddec1412e4eea999a5b38dca0dd653b2a8f0bc80449380c77eb SHA512 2fa5b2483bc19968c7cff322415c63fe94afb2145400770c4d8f5ededb025f35ff441f56c9f0b3326d54804e1976554c3b6a347b8f8d27cf4910d8e39ecf234d WHIRLPOOL dbc9adb2d0f33b35dfbc25a522c7057ca64af44f7fed103b31d990b8e47af3611e88a77ac04a4de68f119dd209333e060cc2122e41c5fb1c1a8007f10fb8109c
2062 -AUX icedtea-7-compiler_detection_cleanup.patch 6833 SHA256 406fccc762d84cb73bb2ef7f934e770a88d82ead45eed860135b4571a6b3a91a SHA512 e2bb1ea1197d44127b214f14c70323fa5f99094720986cdf6429a503f330536ce2d0a3988782736ed2491c1497d70c7fdbac4588df04dcd9b43c8f8bed1adb7e WHIRLPOOL a70d1ba986e598abb04cf5263d063529aded1a683470dc73c2f7c56c8da8dfead09f15cc28ff86379588216a72c0b7be0fa09cadd68decd683aaf0e8ffa23fa0
2063 -AUX icedtea-7-no_suffix.patch 833 SHA256 77b579bf0980410534be744c8d9a953855985869247896f5b44b7f8c55fc58e8 SHA512 d6982b5c7a7df41769cbd14067cff3425af8520d3f8a870028a80b443fe537af1923ed1fc8050ed6fed1d18058c8798bdb578bf19eefc87380c6861702761625 WHIRLPOOL 3df9e0571624fe619170c54379ce673470bb6b9e192942f27300ef5b44f1471cc3abf211bc728a2dbed8070c57d935f8c425129243973f4f9a16d2998a2523b5
2064 -AUX icedtea-7.2.0-explicit-gthread.patch 696 SHA256 78e55b212004127726c8f0ab02b8a0a1c01677443237505a21fb803b38e08c55 SHA512 de4da833fbf5c09b9a9d64b8a4fa3e9e5187296e3da91b410bc2da5207d020a26a3348b70eacb199c5b3efb1eb72023c23b2d327cdc91ce64c6f49b313cf7d22 WHIRLPOOL 386621a8e223f93d12e48a0a1c554284f80ae181b4785e675952df132dd810d4112c0b519235c80cef02b8b894d1ea317922a0bb85948461b881df96e6ef9474
2065 -AUX icedtea-7.2.0_pax_kernel_support.patch 6511 SHA256 4771937bbb89a92fd77dc5e5945231ae511f284fa368648bb7aa34e0fb48ba9e SHA512 4c51920e1376597d91bf11f0e217c177e954d4d59930b9177c48dc2c6c835a0994dbea11ea2cf9e42f4c3b63e0f21ecf4a4ce5790955673b382438cb77ee4e39 WHIRLPOOL 4190de4e1f4c5660154075a85a2c56d6577d13a14d019346e82a86edac1016bf2ff71b07c9c217693eceb46cfcdb216356ff8259736e782104924e056b7e7d9c
2066 -AUX icedtea-7.2.1.1-pax_mark_rmic_java.patch 963 SHA256 52f8c2cc9848b5e63dd70c8ee9dc42008b3cf59ece268474d7fdf164c3f432eb SHA512 ad6ce466dc60c513c1dcbd14878cdc7399f757320d6461ad2d1013d554730cc26c380caef6d8f4eb6323f7c126a1662303c83cb2515cfdfc519459b6ae7a1b75 WHIRLPOOL 7dc02c2b763a0a9eae5051219f7ff31fd3506ec9cff278a6be1ac6b12c1f829d8df296b35010458f4d1dcb4ed763414ac355ec5134c79aa601723280f94adb45
2067 -AUX icedtea-7.2.1.1-pr986-cacao_memory_fix.patch 6342 SHA256 5ad35a62ceb49215631d7d91b8e610598110d4b935140c5498b76f9a697cab3f SHA512 40a5e55691fe2430fe2c449788e1f61bd701d687e4c6ceab026baa8eebfc36ee1e22ff3aab2d1da80c8914abb423f220963a44949678165cb5416e7b43d4629b WHIRLPOOL 4543bb42ae9c6eff0e1e0d4ec0726106c3a55b996daa30bb7bea68174e37f14d231207e24722bb3fe0164a34182db1359fd5c9da8af2376dc9729eceac81880c
2068 -AUX icedtea-7.2.2-no_suffix.patch 833 SHA256 77b579bf0980410534be744c8d9a953855985869247896f5b44b7f8c55fc58e8 SHA512 d6982b5c7a7df41769cbd14067cff3425af8520d3f8a870028a80b443fe537af1923ed1fc8050ed6fed1d18058c8798bdb578bf19eefc87380c6861702761625 WHIRLPOOL 3df9e0571624fe619170c54379ce673470bb6b9e192942f27300ef5b44f1471cc3abf211bc728a2dbed8070c57d935f8c425129243973f4f9a16d2998a2523b5
2069 -AUX icedtea-7.2.2.1-pax_mark_rmic_java.patch 963 SHA256 52f8c2cc9848b5e63dd70c8ee9dc42008b3cf59ece268474d7fdf164c3f432eb SHA512 ad6ce466dc60c513c1dcbd14878cdc7399f757320d6461ad2d1013d554730cc26c380caef6d8f4eb6323f7c126a1662303c83cb2515cfdfc519459b6ae7a1b75 WHIRLPOOL 7dc02c2b763a0a9eae5051219f7ff31fd3506ec9cff278a6be1ac6b12c1f829d8df296b35010458f4d1dcb4ed763414ac355ec5134c79aa601723280f94adb45
2070 -AUX icedtea-7.2.2.1-pr986-cacao_memory_fix.patch 7401 SHA256 e2060ed9acf9ae9da8943ffec470b09745d758c6c6de8ac06737ea26eef21795 SHA512 023578a2243672503e78a159d1774bcbe9d8cf4fc514166a9bf040e25cc7d28422b3a9469d804909e8a8fecfadd9fd31e8f34f85ae688a58620272ae620135f7 WHIRLPOOL 79fade6ca0c0d42f004e0a88f31159b4cabf5b4391ef30c78d74cf01bcf44f78bbf970ac070e8e8f320eb0dfd7fa17e335412156c2e004a47c2d47faba5bc309
2071 -AUX icedtea-7.2.2.1-warnings_are_errors.patch 6739 SHA256 b824eb31b96aad79e877e8ea4e05e44bcfa16d840a3328260d41a465e7ff7f03 SHA512 65ad279885c3645cc208cbc611df4badb8187793c2667af2c123b0c29a213701293dadcc23b3a65ae6ac0ffedd4b5e6ef0b020bf95e620d7d5cac3fcf912b4c9 WHIRLPOOL 21e1faf63a89e856cb44e97612f4e3496a35064211096a738d6533cfc8fc2712f1891df3294e59b2c254b58fc2635ca1334519596f440f86e124a359a522a8ae
2072 -AUX icedtea-7.2.3.1-pax_mark_rmic_java.patch 963 SHA256 52f8c2cc9848b5e63dd70c8ee9dc42008b3cf59ece268474d7fdf164c3f432eb SHA512 ad6ce466dc60c513c1dcbd14878cdc7399f757320d6461ad2d1013d554730cc26c380caef6d8f4eb6323f7c126a1662303c83cb2515cfdfc519459b6ae7a1b75 WHIRLPOOL 7dc02c2b763a0a9eae5051219f7ff31fd3506ec9cff278a6be1ac6b12c1f829d8df296b35010458f4d1dcb4ed763414ac355ec5134c79aa601723280f94adb45
2073 AUX icedtea-7.2.3.2-pax_mark_rmic_java.patch 963 SHA256 52f8c2cc9848b5e63dd70c8ee9dc42008b3cf59ece268474d7fdf164c3f432eb SHA512 ad6ce466dc60c513c1dcbd14878cdc7399f757320d6461ad2d1013d554730cc26c380caef6d8f4eb6323f7c126a1662303c83cb2515cfdfc519459b6ae7a1b75 WHIRLPOOL 7dc02c2b763a0a9eae5051219f7ff31fd3506ec9cff278a6be1ac6b12c1f829d8df296b35010458f4d1dcb4ed763414ac355ec5134c79aa601723280f94adb45
2074 AUX icedtea.env 1074 SHA256 b4ad677dede5c06785db6540d51a9dbe6401e894f03857f5b14dbf6bdf9a33a8 SHA512 933c5d96e1cd36badf9c467b5ac06e8cf5d842915662f6744fb641bba64bdbf024685011f48d2742fadf5a3d82ca2e7f3cc555e51079297f5962e22be3afd03a WHIRLPOOL 57ec8849e93bdd595006515c2cbd6e554ee0e84fa74b80fa2a29106e85f000bf5cd8d9e583f6e60974880b250cbb7d6271ac5d53edcbd2765a4dc0babd571258
2075 -DIST 0036fe6fe7dc.tar.gz 3971078 SHA256 245b30d3ac0fe45aa4c2a3d451029107b16fd0b74830d432b45448676aa86ee2 SHA512 45644cc13d7d44d43c949c78fb2399e9aa796562026f9570de10cf3677381b578af83c1720b0a4fa6c0be2f8493975e05f3805fc06fcebc733630dae9340d7ae WHIRLPOOL 452ef804a5eb87ca47d67083c4a43049301b3ea8a56e9031eb38edbb702d370f67314b7b76c0656f57c8b99bc41669811bed92478701cfd34bfa8c7322f14778
2076 -DIST 0b776ef59474.tar.gz 128861 SHA256 15a6eab62f5108efbf7937b1de7697bd789971886fc1fc08ee8199e16a5c10fe SHA512 2cb8838b44b83a596b34a383b1578eaeb4be6c8df453531c66630f134633c757a958ad86f18327eefcb4501aed9225d62d8836ae15b796e0c0179ce692aafd53 WHIRLPOOL e9dade224f0dbfe8639b67a8fa811b689fac8af36f87703e871ea467a1fa13262743e32c65bef200f06271950933e3604a31648627a3138cdcc99f86e1783864
2077 -DIST 0cf6181d44db.tar.gz 2311102 SHA256 9fbd9e68422aaae9b6962bb7a9400a45959bf36b5f1ea443fbbd270dda9feca1 SHA512 c3dda08fc4a134537c6662877190e444fb3cf9cb2e47b52a2225af101a1c3d8d41abaa34390fa1cd0d0a864411269d514e9a839086b8b3071462bf47babc3359 WHIRLPOOL a73a2f75b2822c2d9d207c0d6f52a42451004a843f02aa15a307ceb0ff770ce81f9087a560c339d3d944510c01055290eae137d27b93a9c7e234cf18ea5ebb07
2078 -DIST 0e651e004747.tar.gz 8994812 SHA256 d68455e5cdb14280cd61155a4e9d531e90b073607f4367e93ead0fcf34476ae1 SHA512 5a1c7e8079fc2955983edb7bd5d85b3470a944b59f18bc5b3f41d7bee14964b8315a19753ac0ac2fcb75b04cbebcdcb043b858615b0cbba34cbd1b6aabb75306 WHIRLPOOL 016f7211a4e6e0145ee28b76b6a99f4a56d607bb050393e525ae3158f9953b955c6090823525315f654fdb81ac4afa5f88e9eb463a9b80756800bf705d94dba4
2079 -DIST 1cf75c0e2c96.tar.gz 3985855 SHA256 8ce48c704f38285207ee6dc56c45b2d214083b4d4d36be02901401b594ce701e SHA512 d800aeb9685548ba6e4955dfd3dfd63fe656b5075ab6847e7c98043c50ed3a3494a727037380adbf0be801fd4a2932f003b97708a936277994939c49fca6a6d6 WHIRLPOOL d34c568db93f00e111f11149683b3ceb3b1f085cb241eb8df1e4b51758699d9ebdded5e40609fb2fbf5d620a344499756f02b11447d18c50655230d24256972d
2080 -DIST 22cc03983e20.tar.gz 129111 SHA256 ada790b4754f521ebfad0dd909ea29b92b2b3c1b84b2e99d32673343727d95d7 SHA512 c6d067471a4b1ee77a88395ff03795358db8f633a68006b6f5f8f2cf9c6db95cb144ab824d5c6a1474053485660fc6d31aecd765932373a91badac35b0393881 WHIRLPOOL a1aa2aae22d5cbfbce582e1d6025b548ae42dbc5e6712789ea322224231e1c76ececb795242c04d5480394beb36a1c60e6adb63aca96a3b096b928c1a1bd363a
2081 -DIST 3231f3e9c517.tar.gz 1449514 SHA256 9e26ea18aff308f636199e9cd822a1af078570221e8b76bbce1dea90d8ac6274 SHA512 b918b7ceaadc4f265f54a0c74ed88ddea72a7bba54c39fb38a780fcf88138bbf723624f445852b1a8394b19e11dc9503323ad19b46c41170046128c414f0a285 WHIRLPOOL 61486703bf67ae02816efef5c586c59b69a7c410ed4a2de2c2cce4068ddc08bf1e31352a3c89ff79d32c7bfbff8340ac4265b075dc49d5390e6cc5c4bfb265a3
2082 -DIST 335fb0b059b7.tar.gz 3971488 SHA256 ff4ab3710fe316b7adc4e57d4d21ff967ca20e2ccc5267ac26b93cd22db8b3fd SHA512 af9d77d1819d20142179aa4ae2f51b5713381539626762698691940ae25e451c4304d865ceef6d4cccd73e015a7b4caba8e1dc11d1ee7718e5e3f0d46148f5cc WHIRLPOOL 8905ec62a5411003a50822ad4122c538ca942e0b2c9223c33abc7d4cf0fcadefc12e5bc6b05ec52bf98167f2bacdf03d4606fb0b20a1382d7ea23e5ae70fe02e
2083 -DIST 338c21646c76.tar.gz 1447906 SHA256 10425cbbb439551293a7a96a128f25ce408c38826bef8562f4c2d65d3134a1d3 SHA512 a7b9aa38297bf42a755a7c0250e8106b374f44764542bd3d314a0c93af5c0261f9d15717ccbd024b2272f04cd220e24a74232b6fa4b2df847e5ee889b978cd0b WHIRLPOOL 20fe9bebaca713e54b26c34b5bb61830ac833f769f2278068ad90cd35a7dcff541574f5323c2f8b0cfd048e68d8b49d1e5b08a72866eb8b27e5fcd09ccd022a8
2084 -DIST 38deb372c569.tar.gz 1450094 SHA256 b892b0db6f3e4f89fd480d46ecb7c9ce5c71a884ae5bfe953b4bda9eedf7ea93 SHA512 e2649648d752d8b412e249c0ff5d319fca3043c053d29a60fa6f79f44211656c92e0c83f04d3ab0c3be1e1201aea0f14ac3035f9a7ef53446e429bd7ab33ab9f WHIRLPOOL 21edaa9d200a316f6602c3569e5af132cbc5c31e3793c8b6452eb21e10d58811619ccdf0a2fd224a701c85a8670f9a5440e1f71005787c8740dfaf65f7aaa0a6
2085 -DIST 3e0087ab5e92.tar.gz 9591074 SHA256 3e85e236b683c14bad9505f414a0acd876956bb8e67362acd6a5bbae99bbe9e4 SHA512 33ceb4cfbdccd1913241b216670e4c59d81dc5419d8c416e6c88fc97cff43088c3b1a1c60d85e456679baae8e47c454f1be04428c3e94fd5ed1313eb84bd1678 WHIRLPOOL 28bb1dab51e347df91e19945d0ecb69c97704ca44bd35389297c7bad51d4c71bdbc635c0acb290a71cdebbc224dda2924f3832ca985e5e627c4e32a1eebef7eb
2086 -DIST 49a6fc8f712f.tar.gz 128837 SHA256 26b9a5b546dfa66ae070ed7863a6580e054d7c5691472273540009cf3f172b54 SHA512 c27ceda3527b80d0cb24101f3e8e4e8eae7c17e88543823610d3d152692a0717bb234db27ddf519b62080fba9248ae29656a0e0f991b07d64357b4afbd41d5a8 WHIRLPOOL 03d541655a6580478b2f86a57ce6d099970012b82054261e70297de3aaff2868046dca90967fbd5f0c101a4549cf8acb3063cf5d3b7f290ca6f2facb7ddff86c
2087 -DIST 507eee662587.tar.gz 44936515 SHA256 b7a309b177f53281fba881f379619a6ce36f1f733da610af1275ed160dbe6d02 SHA512 da77c0ba25b89a2eb61fcbe74a0a44bb82fdd38e6210cc65037cd0828437bed35f21bd2bde4f15c6ad6513dc6a1a4d2a43c02c903585bce645aab8524a29a72d WHIRLPOOL 3e86bd29d251ca18b23b1fa44ee55c67d9b56572cd7fe56fbc467b153fdb50086b30591a8642e9121c6224065181d5b3ee888c21b81435c4d665f752ba2e4290
2088 -DIST 50f6f276a06c.tar.gz 43434230 SHA256 5f8b5edbebb358730425e64a31eaa11c346467ba10ffe1848f2d2ad2ea53bc3d SHA512 2a39043200c81571a4f5bb2011915f1ff2f692e783ae970b3917c9d67ef269fc6b73b9bd23da9a4afde39bb31dba53792bf9241e4b01731bc7e4520f05cf264e WHIRLPOOL 2d494d91d0667ed5c3d672f7c8e18b1ca0684aacf31edef7081b95fca4beb3aa172a2acc88325cfbfde0235290a846b93c2a343e08d7b1442855f072e31e63b0
2089 -DIST 5471e01ef43b.tar.gz 2761767 SHA256 1ef055749ee46ebf7a5be94403b461d8d32e95c98906da459aeb217a0784ff1d SHA512 53396ef5f19f0062e0393b0525e909a49f1ba0af2ed08ef2c3ef48bcd532be7ebbc9f9ee4947466cf4ee5486ef6695c3e42fbcce39045fdb6c3387d694eecde8 WHIRLPOOL 8089242c7b843436df3b6552c07c421f00b8c2300e28a58bbffb37265a1df424fd15c62cfd98e16135bffb357cd4a9665855a7d91a98c59de58528fc0de5a7d1
2090 -DIST 5617f6c5cc94.tar.gz 1447230 SHA256 963915483530f311ff313635f79ed11ea7ce5a1c0dbee5d1acb1994132857fa3 SHA512 e69344abd1daa14cad99c4ab397d138d61a57b13965333dbf627193d3a262ca45c953b9338ca651727c001135c54c905d1aec20fcf7702928b9088989c386d55 WHIRLPOOL 392229728f661ba601fd18ea2b7f7de682e7721e1dc04de71f8acee1f8b486b11f4e1028188f7fa60c282b8fcc775851b39e18327962e6de5baa3dd796fed637
2091 -DIST 6c3b742b735d.tar.gz 44788667 SHA256 48a513d18c919ec08d44cffdc12ae65f1e8942924c6cfcca5c1ffa8ca38afd0e SHA512 4be68e6d0d46c56f597f0750496f9b19c70a44f8aff07df91e17af71af7a368ae7de090e74e9eaaa9120222523afaeab5a50c483deaf09c1a16cfe0634cc7304 WHIRLPOOL 16322e86c2d1f9e2db1ccb7c3010759dbba1886e325d5f9b2aaea475ba4416cfeee8d3bf1ba9464d25a492b3e132eef7d60a2f2d6cd2fd5256f317dee2f728cd
2092 -DIST 7a8825b15df6.tar.gz 3986524 SHA256 297c8dbeed5afa5395b6be06b17282d53f8a888c2909074dfc1605afc0daf1c2 SHA512 5a6459c1d214510adabf9d4f7f62841a34f3ba406c08c12d3e7212399de3e2c36b59511a28b234f076552b4e1b1a96de90bc0fd19472e0d01d310aff7a73d572 WHIRLPOOL 870693026238ec603365ac8175dde13ea180baded1e25d87b78452ea5dc6beaec8f87a1863f3938e4679d5691b24526dfa33a304d53d89aa011ae72d904629ae
2093 -DIST 7edfbfe974f2.tar.gz 2760671 SHA256 823ca6b8fd780bf1b1565a90cfc8ec6f0ee422a5d25ffb20b1ce0272dc4955aa SHA512 561f3a5409f74c1a27eb793fb1a3ec8355df7eb6449994d497621a546c2eafcdf99a625df67cb01a3bd06d07099137d0f7b926a119aafc31e3167dfb35fc17ea WHIRLPOOL d3ce038cb44f45d34f783841233cb7418a7961631afe1760e026984c32555acd6af4795ef4b88bf75decda593b3f7fd567ae0b1b21f3b201a0441519c390d7ea
2094 DIST 7fae6a3a68c7.tar.gz 1453824 SHA256 8d94e9b594e4ae0eff6899cb4ff899ce66db3b4d6ef158e019b7be96e193ec0f SHA512 76b29c79d4219857ab8b628086d3ea9379c490402643bc4947d3253b012115e97c5f4463f54fe7abf5d82227d722e3cb5ebb5060cdaa881bcc214670200040e0 WHIRLPOOL 55cc41286aaf4df881313dcc28664cfaf3f18b51947951a3a47b41ba7081b168941723700e6128f59729460e4c50c0ab192afc7539d131e6e48130799b4cae8c
2095 -DIST 839d0155f7cc.tar.gz 44793871 SHA256 19dbbf2e370ee89703305c561b3fdd174e949b041484ab515138b72d16fbd7e7 SHA512 815b6036a07552caa96814b3f6559fb5e99cf77168b590137e69a838bdea1b9fc277f3bdecf4f56e07040fcbe1a3b1d7ddd03fb9a7094b208c9e44d81daed919 WHIRLPOOL f6639be4f40d6df9ae4734c97e438bb4a221566a87151bccd97f3db9b417b4e6a484b223a8f62b92ca18a06b3014fd80f20a6de517809520456c4e985b332f93
2096 DIST 867d5041bee6.tar.gz 2311092 SHA256 ded69ccf2baea82b7baf9050c64160733ff45c10c0a363de80d795618c494707 SHA512 eca7177ceca9f90b344167330bba7a3e53989ccfea6bf0e38851735d4bf9dc8f23f1238d26373f1e19c804e7ec05aa4e84c0004847af116bc2183aded9c34cde WHIRLPOOL 18f007a4378c54c6a1ff1befbea87b39e65b3ec48cf69ac7374c3fe695d58197909b4d2952cf7d81ba9c35c40172c89c3c5cb496c1d82140d92435c06ab570d6
2097 -DIST 889dffcf4a54.tar.gz 9363922 SHA256 b29a8929bb4aadbc033e99dca6a381ca6342f0373b9c3f67827bfc025187ba41 SHA512 e4c4cf5e2112eb9829c43ff9b381d34211245f3291181f309fc91181360fe83b8cf12ce21dac67a400e64eaca4e2ef2dbab2a6c07da7d79de99c03103e5eeb46 WHIRLPOOL 79898542e59eac28c223c142e352285e496c91fc133d0a1ddf3990fdd4032209011365a7ea9f456ef07205da97bbe751372058c4d49d260e6913a3c88d4db519
2098 -DIST 8b7c4c5f6ba9.tar.gz 9101747 SHA256 22866990d143e76ced94b76defa3051e5e5d9a51fd272d63daa0df272d6406a2 SHA512 46ea6c2d60dc2f2daadc31c33663c5d48a20121274fea6ca90afc9c470861cd9f4c53bcf4d6b8ad4e3a8fe90fd73282413d10c05f1c240d64f99acb7e7d336f1 WHIRLPOOL 8c172ddb43093474a75ff202d3b8c71e3f993724442a96c1c6036cd30f75cc8cccd0a71b8a78f610dcfc6e33580f43dadf112ca366ca6bec128ee34636f87487
2099 -DIST 9a744f20cfc5.tar.gz 2754118 SHA256 d8a6012bfb7217d3033b4b2c530753f336a5ea52e487f776f0399c87d7979b99 SHA512 da3946d02275b8f3685a2dd260ca391e3ca3f55518ea87b8a702f460c61f18fcc5b19e076dec13b241da2b665615289aba2cc18dc61d6da57f3934ec38f81671 WHIRLPOOL 5745df4b3b7f7e3888ee3075025367d19eb753b8f4195672da23866151bbdeb6853eace4d2c63ecf6c5d2278ec1cdaf4b10b2677f4e9f5bbb01518403f082ac7
2100 -DIST 9bd1d8e8b802.tar.gz 3863897 SHA256 2bddebe957905927dde720619601ffc22d3067448e6079a2befe2ba30de99a15 SHA512 3061095facb5b0216fd40055bc72cdecf3ce57d49974df6691addbbc296596f1c734440db59a843ddde86b8862fd9f497da79e3a9a2730618fa7465b3a404669 WHIRLPOOL 5b5d364a984b9f29df55b272c74800a57db981288f9b5ac1513de24775434dc22b826847a5dde3b82209b0aca60f73aeae2d533b959b260d31429e7bb203a47e
2101 -DIST a3fa5d49d528.tar.gz 130422 SHA256 c9c03e96be355de46f7aef23209afe2e9ff58c9bd4cf3e6fa4bebfb8f7dc89aa SHA512 08c0106fd8d0e8c81781e7f002a961d791afeddfa00a9e10ad4eff08e856e69c0360ee9f9e2990ddac7ae24084a9e74acf097636b91bc86dd3f88393112e8242 WHIRLPOOL 1a66ba28258b65b9a87a406cb7a6576d7be3b8fd4f02accdaeb9937770a1e47787cfb4ee4891235b677fb14597c6637fc38016fa14f13da0eca8e734ed82f96c
2102 DIST a567bcb7f589.tar.gz 4263355 SHA256 d49f79debc131a5694cae6ab3ba2864e7f3249ee8d9dc09aae8afdd4dc6b09f9 SHA512 2abbd6ad72a5811963610b81ad3f59882fa0109bbffb69316f7bcadd218982abbb7b94ea41ddd379a0dad8586301e1d317226153d2f592876c56e7d338afadf5 WHIRLPOOL e712ee17b9e4e23a1fe54823218a79a45ab1ca11e23de2896b576a2034650bf8b151f01022e0d3f12421008fc1e8d8f9aa0bfc4cc6bce812dcfbbbab1c66af7c
2103 -DIST abfb890c262a.tar.gz 2761760 SHA256 e800972666fadd0235d9a4d30df7778ec502a4761dc33467e9c80fffc6289c8a SHA512 14a4bc79dc5b70aedcd03bdb75edc08276d6723d2697054975c474d19df703b87f407982599ada7c8cb981f61b5de30e071292e37d2727cd3496505370519577 WHIRLPOOL e534a30d32dff0e5c852353aada373ee68316e1e9ec8991b6c86885b59e49fbc5b88bd3164b652cbff7f73587f138d274b3058ad14f56c8a6f028ebc7ecb8110
2104 DIST acba2d30209d.tar.gz 130448 SHA256 ae63f88590d4aa82de82322e6bb61b31157e49617a4f8c310fc4c4ab4690f528 SHA512 deabb45a62fde29f4d896351a52742fd27f4410899a0b0fa613f5a7142b0a0125a02c36b14ab21f6d98af671e606d032b47edcd5167d498c1f5173b4d83a4818 WHIRLPOOL 4f8dd5ec721ba7fdd163e54d0f83521444962b1ff5c6c0a165773e9dea23c343c2a5c049029ad4144145af8a87e8704c5c9e68a1e8b3572be804a36b9151bff7
2105 -DIST b534c4c6cd9b.tar.gz 2291346 SHA256 c77dd42d83f06d18fa8aa65c93d137608a2e02cf24b68fc10d7b1c0bcc12a93c SHA512 134554bcd68986ec574e88a5571bc55eb224a2e4a453e7762e9c87b97b871094a2ce828f4d403dd644b927bc303cb6699e34e0beab832e43c800a46e36352aab WHIRLPOOL ab8abfc586830532bfed09fd58e8336a07f936deee248846342c9897b20b55ceadfcbd1783b4c16ee4329964839337b7a9838c67ff95e2004c79a5feb8587800
2106 -DIST beea46c7086b.tar.gz 2304058 SHA256 17055cf1490fab1cccc57bf3aa5b32d655c408859790c7f671bfde180ddf70cb SHA512 05847a1f83248ef1f41a221cd6e8d274f29490286a0162e29d56661d82702dbb9e58b24b2815ca803749f060a6549871f6e235e4193e819f2c326b9fc9c2486f WHIRLPOOL 9499dcd542d14403ee79276d4884e41feeb88440e837078e827c401c2659e12ebec4d132c656ae1f25bde2261e6d13c88b3f79a154b7b21696989e2aace7e711
2107 -DIST bfe5efd70bce.tar.gz 9363244 SHA256 86d2f78025d5781222bcab985b93c97af7a114bdf7ac03b2a7abf7e0fce8a514 SHA512 2a015fef6673f85f152f7d2d9298a6773befec34686a1a170c88b069be5a7de62c51d63afe24fcca7681d1f099956eafb85296107b7bf481925e2b2a9a1b7d5d WHIRLPOOL 22a21277aafd840697191db8f27c0e6cba88c960442b95d474800b7aa994de1d7b0701d7f968bfc1720eb36ae52797c9491faa4a9769a1cf314205aa317c1700
2108 DIST c89c6ac953e7.tar.gz 2754322 SHA256 a411bdde270bb0451b74fc9ba890159ed1f7070bc25f21b3ebd17b79b42805f8 SHA512 d71228526b24bb4ae8aceeaf51ee77cb1ffb0d7aa6373f61f83d13c6428446327c3ba7edd80eb7ba32c55de2916e00ca06ba8c420d6137cb4afeead843ea242d WHIRLPOOL cb34cc39d8595e1d18abd85d95779e8f83bc3fcafc89558d6fc2d163d7e4b00d0715e7e2883d22ac477535158c52c85f584abd75161b4a903eb31aee6010fae5
2109 DIST cff92704c4e0.tar.gz 4261719 SHA256 dc768c9d097fb056ad34fc6d5a57e8fd4f3b24bf515be92acc5ee4208160eb3f SHA512 d03f04a13e271a57b8a704ef1684cbf64da0519d579c4bd1aafa0d8e0bc241939018d8425f1b65f6999a7f0dc4b58eb5ba6ea8ed76b3ed5ce3299dd7cd094861 WHIRLPOOL efaabbca72b4471fa72679f071ed0a64184e3281ff7c1a301bcee1a131f3c7f91f93c9f42fc87d4c79e802074da158cdde96578a5eb40f7605c6fbc5b6880959
2110 -DIST d5ddeffc4651.tar.gz 43435299 SHA256 e83e6234842376147a4c32451f23d629ba107e908ebdb0f367657f9cc6c1be98 SHA512 42e4847e20111427f0b1460ee92ba0c72048696c096072084ddee983fe171b30f1c4481080def4368f99a1e15bebf9f242a5a213166459b955a968d848d51dc0 WHIRLPOOL 35abb980f983737c4d3e84a3174cc7b0d0008e8f16ebca2460b0ccbec9411611944c00d1dca5683a9e716b8e279d4e84bfbe21d8846f711ebb32ec569696fde3
2111 -DIST e9b200124386.tar.gz 1453778 SHA256 07dcf05edc38ae63e4b667437cd23e5c3edbf6e03ffd7ce4b3eb24ea4c868468 SHA512 4852ad060d5f645433671da48591015ca8068554f1e1646b449288a35d4c9983dd7ba685db527106cddfcf456ae2bf337b776370c4a269a814bcd8c7348e2eca WHIRLPOOL 6bdb53adc0b8219c3d305a5fa798c1191848f7e929a75eb8cfaa045e89bece895405192bc51248a6f1b304292d8645c14f3228723ffe1d24ced3ced3abe04b95
2112 DIST ea39d76b3bde.tar.gz 9593612 SHA256 25733b44590c950adc42a2e9c366b8a3992803c06dedcc16d2bf0d50fed54844 SHA512 1ce50a238e3420a56c3f17aa6744031be8124c9984525cd66c74ec7871bb1c25aaa2aa729f23e58a59fb27e4365a3fb268f26097062d69581549c08a83cb0719 WHIRLPOOL 2fde8912e828ef5e0d448b0ee6a019cd76d35dc85e5e8604023103cb2c4cb6274d82e432f05822231ec537845cc13a1371ccf4bc804e5a490d9269396e744dd5
2113 DIST ee4bd94136ec.tar.gz 3863931 SHA256 26991edc468b7599a332753a60ff861fde78af439d0a5b87d0e5b389d5e53fb5 SHA512 b995ff0e4ea3dac907a30a437aeb1c21a0ecb248c5e8f62cf5c77511c255da2471e34a23758b66c2419bf9e040a2949bf4069f564edc4944964cd144341c9034 WHIRLPOOL f833dd202edb9786b023d0634311834aee3e4cefd51caf8815a5235de8bab85370329c1fdda9461a5bd0f037fe02f4662ed622f2e29e8d4aea7f8b06456a2b49
2114 DIST f78eb7e08ee1.tar.gz 44934222 SHA256 74cd8b7c7ed1d80dd4cfa45565584ec1c24cfd5e10a32fc026b92f0ce27ff224 SHA512 7b5f09c42403c35d3d11bc22a291709158702abb699cca74e7f3ebcdacd684c8cdd4fd555c85e1b84e57b61f2c0e1bbd5c482bbc448506a67f643ee76b3ceb72 WHIRLPOOL 4cef5657368e52c5c79c3bca96bb6e79168950d9f7277a3addac4b701050b690da43d31877cecdc1e5259d86dba3b795cd9b36ec75d334f0702ec4542803020d
2115 -DIST f855bdb37537.tar.gz 2303970 SHA256 d46ab00352ee74b9d18e5daf38a10f6a31288e38583675c2b2eb58a16e154d19 SHA512 fe866421f2dc98558093d9db0cbe1639b434f63d7a676e41b5d8874a46cf36f5b1d1aa16586c980692d0bae4097399f47939c099c0369c30e2200ba9fd9a0fc7 WHIRLPOOL fedb457aa2f09bca9416b00406838f3ed1baaeb133fe49c98e73ffb7be278ebf1eb7dcba42f6a0c7758404b47ec34b9f382a8dcdf8e988256264592f01b7990e
2116 -DIST icedtea-2.1.1.tar.gz 4658834 SHA256 4a015cf3fb8fb9aa6b3ce4a41fd9bc5dcb417a1885a10a01e92d0cc7a5ffdc65 SHA512 055fa8787a49152944c2141d284be358c0e0e7248dc8c56002c06a49040d9b994cf7184b2406bec60771b7621a16c0936384089503f129bbb856f805512c7f5a WHIRLPOOL 70d55da5dd44b424ec23f350a9e0061112588e81bcb64cf50c53e679ba056c6212020069e556ef59baac2421994823843f4eaa4dc41ffa17b154600c0644e2ff
2117 -DIST icedtea-2.1.tar.gz 4687722 SHA256 8492920dccae8b76bcb41f91f8d98b2dc619380531a679f1f9ea4e166ad02ec6 SHA512 a126f42928387a5482643006422b3a87e8e66d1d0495096944e539256bdb4d0c5d4423d8888a9d9d9a85fb04fec1cbff2488a2bbd6ff1bc46ffcc54623897276 WHIRLPOOL 3a22beff7c51b22487d45538b2b95540ed64facfcc5be0603b19cd8ea5f62b278c82600ee158c58d909103f4f82c7a405eac643043aeb64dd1bb9b881aa49665
2118 -DIST icedtea-2.2.1.tar.gz 4715301 SHA256 0f5ba163904f7c50374ab345216dd1b66c077fc431592eb3d4801f7ecda200b6 SHA512 03e216e29ed12e8514c4e829c66b5d11f0d9935455409be30fe01874a81a438544a99ed2b6a501d341f79f036bf3c1606ba7c25b27de6fbc6f204457c16779cd WHIRLPOOL 5287ff2a0d950a8b203e0ecc6f6c95aa082ab01105f81287ffb2a43753bf31d3acf7c4b0433acbc2a683112f989b31e2ee75bb8b7a6dce2112c9eafacaeb150b
2119 -DIST icedtea-2.2.tar.gz 4749395 SHA256 98bc5a0d789a686cb7a1209a8945c314e801a931b2b6004a33dfe692e93626d5 SHA512 69418c22d7d6635d236e4ba3b8995019ff1d2ecc1166d10606a797239eed952e4a91dc5cec9ea61433b6cc855a4a8de112f638f6f01ab0ec45ca1440d47b78b9 WHIRLPOOL 4288bec9ad76374ef8d27a9549356361a17bba6bc5f0066c9a523b4b3d0f40abd8c89fd0214386b1a453b7e77723a00f348dc71258169bf7af7abf234967d69d
2120 -DIST icedtea-2.3.1.tar.gz 4740854 SHA256 4d5f253fb20d4026ae55e8ab97840e257ca5b89897593a68dd18bb1c48b6f3e9 SHA512 0f415b84f18019690309b57ced53eb23e9a92b3537672b7185062a721ca3f533af65d4571a42501204f6442a22c41762837e222ff02a34c5f628607c009ff2d8 WHIRLPOOL e9794b9a3173302ebf2479dbb3e3b6db0f00ad5213c146c99da4b688164870cd1e9a825e25436e624384f889bb15e59ac03917c1205881997e9c43fe936d4f2e
2121 DIST icedtea-2.3.2.tar.gz 5042922 SHA256 d7e87de527934fcbb06c162e0e119d9b118069f3f52a1420d303fe19c5d74ef2 SHA512 e1d56b0576d87f546dd10dc3b684db8af555599706582efc3535ef96732ca1934b1f1bda99dc706b6c242834fdbb16fbd94827e876110cbff1fd7338475d7ae1 WHIRLPOOL 170486abd82b63687d9af14b724aa9143c25a4463802534fe4e0e3470ebcb5950e91353f11170c5d6238015c2fd0124c7ee81388664412fc9ab89df7418f299e
2122 -DIST icedtea6-1.11.2.tar.gz 6387625 SHA256 078637dc8323951b18cbb2aac56fd2f24baaa81f0757391aaa17e1b7577e9ce5 SHA512 0aa85aba480a59edacb639e639610fc2967834f5b528a8418d972ad5e391913a74546d682943d7df71841281caf5d3639cc49bcdfafd6ef6eebdc0d4899b1018 WHIRLPOOL 7bdaa91b0b50857de18ae13b721572e1fdc7ecbdbd30b15c992bbc2c90ec11aaf7476a8f7b98a54d5dd54b9891e1a3ec0f95be0280fa4b04ec6ce47f51d55da0
2123 -DIST icedtea6-1.11.3.tar.gz 6340923 SHA256 7d91c407b9795bd6f6255bcf0fb808416b36418c57f601dc47cfabff83194cf4 SHA512 517c81d24c26b583ed3c0cbd3ecd1a4379b9ea323c03349c12e1cb5125ec84c1e91adc3382b8a8bf2146115347d97462cb4d89c7af4bdb485f89aed864d9b082 WHIRLPOOL 532ec3212ffa0a9f97dec174e23a1af3874b2bef2ed327ae3cb97a1b8a920fd1c62008fa458d582df7ce28aa130371644759892137829a01856a3047df75b88f
2124 DIST icedtea6-1.11.4.tar.gz 6379356 SHA256 7bc0037514aedbbd5e65edcb2fa300a18285688d27b359c2144fcf563174e4fd SHA512 e50dea9674d5badeebdafe50ca81b5f195cb8fa898ae43f5110971aebf5f5419b2841786aa132e839fec569206a70fb4ace0111ecf5a1b0fe567561fc28a8ccf WHIRLPOOL ac5349ddf715bab29e2e8a93e13e5e8a056c14b8a63976ac1ea96ed14ae7ee0d383eb97716e71d7b348649dab19d58e2c824b0a76128e2cb6518b29c49dd0e50
2125 DIST jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz 294537 SHA256 47fce7bd556c1b1d29a93b8c45497e0d872b48b7f535066b303336f29d0f0d8d SHA512 8b479a23f4c2eb16100bb0745452c652849f8e18912756e2d9f8ac9cd395f4bcf89af89d6feda25c8ec41cb90b7f17bebe646637234ed360c65da2a45dbbac04 WHIRLPOOL b9ba7a0c73e16245c109f983435f00a9349c747cc5b5ef4592b8aaf7efc95af0992d9c897530a12e886e7f20687a290f70f3cb27529f1661bc37d76d00f2b2af
2126 DIST jamvm-e70f2450890b82c37422616cc85e1a23385f03cd.tar.gz 298410 SHA256 3ca7e297ef4daa56c3dd733e21bce795d57ab071243369aa9400c0384ada8a4c SHA512 5843bdf7e00a120e6dc545b4d2d69f2fb72cb0e368a9fe5e280536bf065c6cb207c75c32477f3ef7d210c8dcbcb93324c14042579b92b177c651dfae1ae95b54 WHIRLPOOL b0a40fd4929acac5d3a24c3aabc9666baf071b84b56e3992d3a191eea202bf8d7d169a68a390816dec606df2055902f33ce10c8c0a5d1b6d46ff7a8869e8098f
2127 @@ -72,14 +21,7 @@ DIST jaxp144_03.zip 5964999 SHA256 c1a5348e17b330a7e4b18431e61a40efd2ba99a7da711
2128 DIST jdk6-jaf-b20.zip 71243 SHA256 78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012 SHA512 22fef9e0fdde82f141151d426d26316d7c23fd4cc2132ef191f38ea9420ebb3126670b0456ab4de83896307eab48bab0c46aaf0485f39e89cb57dac3215d499a WHIRLPOOL 2b02e883c7a2341ce927f402a9abc5a632a6718f713fbaa5c65133a0ac81a1a58a317b7e2028c309196805dc43146c591852c05144c64f2428938cb3ec4972d2
2129 DIST jdk6-jaxws2_1_6-2011_06_13.zip 5512710 SHA256 229040544e791f44906e8e7b6f6faf503c730a5d854275135f3925490d5c3be3 SHA512 643266da495f239aca1a08ba85af337e5ab50e5b859bffbccab64cf1c4099cae641d9741a20ca59c599c1285266a79489dec190d7fb15daa88c82b69ce97dbd6 WHIRLPOOL cbd0614060d887ce5e1ee6aefaa213265ee45ae11b3f0f90eef0cfa5ee5db1c35d8209bf1d2dab6f5966af22ab14312891081cfa6ca4a11de92f272f33a2ea20
2130 DIST openjdk-6-src-b24-14_nov_2011.tar.gz 45742125 SHA256 f84e7f0938f4939660ff8f9c2aa164d301faa8a519f2324ceb05ad34b2e09227 SHA512 a965efa2fbe95a32988f78f1e51c42321ff42c1e631d5062aff204ba42839d6e05455f1ae039540e38ec947b50a635984cd3302eb09e81962575510309374e05 WHIRLPOOL 2dd759c4d8a23f0eb66bb28e1b48842fa3984d9796833bbbb6a3305a49d9cb1f2ce19b59c93b9f2a33d679559bf893fd62b4f831aa76bb053351e219639d9286
2131 -EBUILD icedtea-6.1.11.2.ebuild 9967 SHA256 49b1245db6e90f5a32075b87b450eb2beb9f4af876bcae319c995b3c525b4591 SHA512 2e52e8b97579b0a5f030e83d9acd62c12f28c22991c30dda4b923062f3f1f5fc8f4c77e220c1189723fae98966ba7d5e2812ad41374beba583cdbdd57bf00d97 WHIRLPOOL 053118c3e59c940eaf119c54ece3744fb89051b83df5733446e052f12fd05261bd58d79203cde24b5374d8062f29e9e87b56a88d2eca9beb97bf2ec97edf0c57
2132 -EBUILD icedtea-6.1.11.3.ebuild 10613 SHA256 840aa55b38dffb5bae4a32e566909736f1b41ba08e27f5df48096acecf20ef97 SHA512 dd9e7e4a66b0cec9c09f8cd850e9b196b2df77ee6d404c79d0c6cd0ac3aa09d08dad513eb6a2a8b7e9e6f5025c51b52a292a8b57d8503a172a79939c8557988b WHIRLPOOL 8548fbf800c52b61959a7a3282953b967330ecdba3ce920a1a516effb1d781d32a611bb125b45a3da47396c8c773b7d08f96ca17985832604ecfbe004321309c
2133 -EBUILD icedtea-6.1.11.4.ebuild 10660 SHA256 8564fe27d190e559567e910528759779b7f2f54869320e49a0859b07c14659fd SHA512 59f049b7a75e529fc67e3f25d9d12daf1c0b807d226f82b1e36a5463ebcf51791327e8e8f6c71f4d60c517166b59a9a54ebea33bf2b753fddfad0d39ca28644c WHIRLPOOL ef1f12cde29752b12b4c0f2d521d6279a5ace3ea31e3a5e8ff98fc14b2cad8fa88ae251824527f84435f4d94069a8b37c5df514f35f03ab7a2765e0a4f67be00
2134 -EBUILD icedtea-7.2.1.1.ebuild 11131 SHA256 47c5aa1f16a1d99852674e096edd6530f9d6ff08beb095a8fdb9a4e51758a0ec SHA512 55ff267a4fc22a9ef26b339c8785e9898efad6d6f14f050c807143abd7a368c4fef13a4bd101044e597238a4417ae7412f64f136ff8559b3138773fac36100c4 WHIRLPOOL 34b0936a0ec4185c166e0d290661a850941744cf3a05ad049d9622475cd5c05399eb786eb6f9a201e4c29bd5928d865d3801e1c52f70029cfe650866b7146892
2135 -EBUILD icedtea-7.2.1.ebuild 10770 SHA256 282eeafdc55f375d48246a24a03c99b84427d1ef0927d31745b91ff4a0f86bad SHA512 b736da8d0155ac249c0ab1b6a8ad2a3c7adc86369bc7513217a7b38a8e36a5c8658c9151e259d4c36e631a029f09ecf12c45158ace0585c14840f250981aae36 WHIRLPOOL 315cdbe24b427508337d5e25a5faf8703f789baeaac51ca9c0c0a5d938e4ca403525bf465d54b23659f8388c1ff2f181210e5c31b96a900774d7d76bedf6422d
2136 -EBUILD icedtea-7.2.2.1.ebuild 11203 SHA256 3094ffef6577b34a9ac55d5a22351f0a18bb6754411cfa5e73b745a792ed25a0 SHA512 9c9dc1c7ac8918898be348c49d8afd414a2dce371e8df3add1be976881c934f8fa7bae41a99e1624417aa3bfac4fb2c3c77b3d3804925a2b21d369da94f0d2bf WHIRLPOOL e78a60b1ca973441e5f06d107bac6e02f6bd27ba48199bc4d2cde75973fe7271086e099089c4050d011fbbfb400928a4812a4c4531d043f8a7f49716e166e7dd
2137 -EBUILD icedtea-7.2.2.ebuild 10672 SHA256 c804007326276dcac72ceb6ad7c68cffc046ea75653e2d037510bfd4c2593791 SHA512 6a72cd6502f3f707e8d486fa07e3f461e3651324dc25a5c05f92e83895fbc7b18a6b555e9d785e1cb39d0ed7622e9a832fbe8d5cd63a0869dbdb83a38189517e WHIRLPOOL cd686bab60538d2d6cf595afe67fc0abf7fbbf2c28ee48faed66ec1f11362fc978d139bee6e0164ee1bb98006605e18640f41227ba143fd21e69a4c050a7c286
2138 -EBUILD icedtea-7.2.3.1.ebuild 10876 SHA256 51ed3d110a6abcf8072f2538e9be677609eba24a762ab41d4a6ef5c5854ce566 SHA512 447db9ce8cfdf1d00bd0c942e6924cf8af2e4ca96b3b0b99f01bc596d2f115dcb58dd559d9fc8304b1076c2e3a1a4ec8a84be9e3770d6fdda09cb7c67a406e21 WHIRLPOOL 08bc66777775bb946536a1fa4caf101d6e2fb265474ed5b465d6ff4cd486b88ad9e82ab0d85c58007072738c14b47c646482bd2617ac4054a2147f71fc68d195
2139 -EBUILD icedtea-7.2.3.2.ebuild 10876 SHA256 0a9b99bd9e9bbbc75940dc89e70be545dde3457d32e2ab58f850ba54d9e216e5 SHA512 ced3493603dc0c5f58a15327d3ed568ffeffc9c472118be19bd6735914d37b8aff872b678f88b44a2bd42cff8e1912e288e117f96c271c7bbec257d29aa696f5 WHIRLPOOL 9e31bae2842b920f49ea45b8cda6cba41b1ff8b1bd291cbcd19d1ca3e04c0b4aab541b216d487778615af1c879da27311d451cc9ef552c69d85c817ecac7c072
2140 -MISC ChangeLog 18055 SHA256 7885e96cc5d5ca76e8ee259adef5f91338d58cdf5cca671b51d975d2bd994820 SHA512 651e914fc03560a857c96c93ba16e971ac457ecc1dc2a6dff5074b35a4c2b550354197998c33bc7a12d794aa94aebc3e05803f696aea62d5a4f60850efeaa9b0 WHIRLPOOL e0b1dac5d088fdc84d146aaeab9e6137bec6571d8b46af2bd5b0c52e89a698b2810af252bb2167beab002357aaa5af1aeb3dc7572166418a40fd113585b52fe2
2141 +EBUILD icedtea-6.1.11.4.ebuild 10658 SHA256 427b41a560754d0b04bf7ab0bcfcf087d9c0d441b8ee47cd5dfbf56f6ee54266 SHA512 6487869f5c80b44d6882e0b7e07e4550caa29d12872e471fb111489f21193bb87a05b1ea3a43d6d22610ee52b7df6f55761dc1340ee8dc4de81ac764b969a977 WHIRLPOOL 12b06251a92b5748a09369722c9c5b594893b62313a558cf14ea9e8b91e8e17bbd40ba5f39d35ba56c1df1b8eca2f85812d19a78e31c6d1f8c9c78bcd2da5123
2142 +EBUILD icedtea-7.2.3.2.ebuild 10874 SHA256 019296d5c11411f45f944f48e439d1ab3c95b0e16e426f13c062e301563a58ab SHA512 c971d82120377f5e7e4d0255071183b74dec8ff96dc97eac4a90b50e729f4e5153c08f318ebed3a6571d779234b84e26e5c5cda5595e353d531b2b95cc8f9c19 WHIRLPOOL 78a395ce7b8e5e04db5f87f3d2ad85665487d1859812213903dee06020e93e0bae4ab1cf6aaf2373eef8ebd457957337be06d3f835f84d3b59cb509c8311475b
2143 +MISC ChangeLog 18989 SHA256 5efc673212929da94f13c486c8e7ba6eac28622d6d06f91b6201de2f85c44d2e SHA512 4c1cb15c966c9bd335f9c588d3292b3cc8223a84136ea8b93d3c68376694420ce1aac57a3aeae6136465c6a2a0ca094ba22589cc6c9c7df57e4dd0053713a6de WHIRLPOOL 27161615d002201c23d8202f68d41b0d55ef86feee71590287dd4f5979af827ce8a439193e71ebdf8be4f8302155a1b3e420f796675e7d964f24186bd19fea65
2144 MISC metadata.xml 1493 SHA256 13532771b5aeb1b23a22b1ea5947feabe6011d567d15e38e676e4045e8adcf12 SHA512 ecd4563d7550be63e20371b67510d16582d661914df3ccad31faa59e173aa51d81a3ae6b19518dfb86bce23f231ad0fc44f042ff187613fe2ec9680f1621061d WHIRLPOOL 3bb02e03a422667191a98bc0cfa695b0f35a565d38b979f413b2a0768d6fea2d47692279433ab85e4871ee5968e81e1e229a09f134f68e0c0966cecb9646a23a
2145
2146 diff --git a/dev-java/icedtea/files/icedtea-7-compile_for_7_cacao_mem.patch b/dev-java/icedtea/files/icedtea-7-compile_for_7_cacao_mem.patch
2147 deleted file mode 100644
2148 index 497a67f..0000000
2149 --- a/dev-java/icedtea/files/icedtea-7-compile_for_7_cacao_mem.patch
2150 +++ /dev/null
2151 @@ -1,85 +0,0 @@
2152 -# HG changeset patch
2153 -# User Andrew John Hughes <gnu_andrew@××××××××××.org>
2154 -# Date 1339588177 -3600
2155 -# Node ID df0999b55509faf1504b3ff55152a61a7cff57fc
2156 -# Parent e6d81fc2c9439652f903664d51a13732c73485ea
2157 -Make compile-for-7.patch apply after cacao/memory.patch
2158 -
2159 -2012-06-13 Andrew John Hughes <gnu_andrew@××××××××××.org>
2160 -
2161 - * Makefile.am:
2162 - Apply compile-for-7-cacao-mem.patch instead of
2163 - compile-for-7.patch when using a compiler that
2164 - supports diamond and either USING_CACAO or BUILD_CACAO
2165 - are set.
2166 - * patches/boot/compile-for-7-cacao-mem.patch:
2167 - Version of compile-for-7.patch post applying
2168 - cacao/memory.patch.
2169 -
2170 -diff --git a/Makefile.am b/Makefile.am
2171 ---- a/Makefile.am
2172 -+++ b/Makefile.am
2173 -@@ -364,8 +364,16 @@
2174 - if JAVAC_LACKS_DIAMOND
2175 - ICEDTEA_BOOT_PATCHES += patches/boot/ecj-diamond.patch
2176 - else
2177 -+if USING_CACAO
2178 -+ICEDTEA_BOOT_PATCHES += patches/boot/compile-for-7-cacao-mem.patch
2179 -+else
2180 -+if BUILD_CACAO
2181 -+ICEDTEA_BOOT_PATCHES += patches/boot/compile-for-7-cacao-mem.patch
2182 -+else
2183 - ICEDTEA_BOOT_PATCHES += patches/boot/compile-for-7.patch
2184 - endif
2185 -+endif
2186 -+endif
2187 -
2188 - if DTDTYPE_QNAME
2189 - ICEDTEA_BOOT_PATCHES += patches/boot/jaxws-getdtdtype.patch
2190 -diff --git a/patches/boot/compile-for-7-cacao-mem.patch b/patches/boot/compile-for-7-cacao-mem.patch
2191 -new file mode 100644
2192 ---- /dev/null
2193 -+++ b/patches/boot/compile-for-7-cacao-mem.patch
2194 -@@ -0,0 +1,42 @@
2195 -+diff -Nru openjdk-boot.orig/hotspot/make/linux/makefiles/rules.make openjdk-boot/hotspot/make/linux/makefiles/rules.make
2196 -+--- openjdk-boot.orig/hotspot/make/linux/makefiles/rules.make 2012-06-13 03:40:41.009311243 +0100
2197 -++++ openjdk-boot/hotspot/make/linux/makefiles/rules.make 2012-06-13 03:48:41.838257784 +0100
2198 -+@@ -139,8 +139,8 @@
2199 -+ RUN.JAR$(MAKE_VERBOSE) += >/dev/null
2200 -+
2201 -+ # Settings for javac
2202 -+-BOOT_SOURCE_LANGUAGE_VERSION = 6
2203 -+-BOOT_TARGET_CLASS_VERSION = 6
2204 -++BOOT_SOURCE_LANGUAGE_VERSION = 7
2205 -++BOOT_TARGET_CLASS_VERSION = 7
2206 -+ JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
2207 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
2208 -+
2209 -+diff -Nru openjdk-boot.orig/hotspot/make/solaris/makefiles/rules.make openjdk-boot/hotspot/make/solaris/makefiles/rules.make
2210 -+--- openjdk-boot.orig/hotspot/make/solaris/makefiles/rules.make 2012-06-13 03:40:41.009311243 +0100
2211 -++++ openjdk-boot/hotspot/make/solaris/makefiles/rules.make 2012-06-13 11:36:03.057522188 +0100
2212 -+@@ -131,8 +131,8 @@
2213 -+ RUN.JAR$(MAKE_VERBOSE) += >/dev/null
2214 -+
2215 -+ # Settings for javac
2216 -+-BOOT_SOURCE_LANGUAGE_VERSION = 6
2217 -+-BOOT_TARGET_CLASS_VERSION = 6
2218 -++BOOT_SOURCE_LANGUAGE_VERSION = 7
2219 -++BOOT_TARGET_CLASS_VERSION = 7
2220 -+ JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
2221 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
2222 -+
2223 -+diff -Nru openjdk-boot.orig/hotspot/make/windows/makefiles/rules.make openjdk-boot/hotspot/make/windows/makefiles/rules.make
2224 -+--- openjdk-boot.orig/hotspot/make/windows/makefiles/rules.make 2012-06-13 03:40:41.009311243 +0100
2225 -++++ openjdk-boot/hotspot/make/windows/makefiles/rules.make 2012-06-13 11:36:19.537797380 +0100
2226 -+@@ -43,8 +43,8 @@
2227 -+ !endif
2228 -+
2229 -+ # Settings for javac
2230 -+-BOOT_SOURCE_LANGUAGE_VERSION=6
2231 -+-BOOT_TARGET_CLASS_VERSION=6
2232 -++BOOT_SOURCE_LANGUAGE_VERSION=7
2233 -++BOOT_TARGET_CLASS_VERSION=7
2234 -+ JAVAC_FLAGS=-g -encoding ascii -J-Xmx256m
2235 -+ BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
2236 -+
2237
2238 diff --git a/dev-java/icedtea/files/icedtea-7-compiler_detection_cleanup.patch b/dev-java/icedtea/files/icedtea-7-compiler_detection_cleanup.patch
2239 deleted file mode 100644
2240 index af13d42..0000000
2241 --- a/dev-java/icedtea/files/icedtea-7-compiler_detection_cleanup.patch
2242 +++ /dev/null
2243 @@ -1,257 +0,0 @@
2244 -# HG changeset patch
2245 -# User Andrew John Hughes <gnu_andrew@××××××××××.org>
2246 -# Date 1339484856 -3600
2247 -# Node ID 1a9e619bc32e81697bf4200a607935ee00c8d388
2248 -# Parent 7ceb431c104f1da9cbabebdcc223b008e0177a71
2249 -Bring compiler detection into line with other jdk tools and check java/javac work before running other macros.
2250 -
2251 -2012-03-20 Andrew John Hughes <ahughes@××××××.com>
2252 -
2253 - * acinclude.m4:
2254 - (IT_FIND_COMPILER): Define only once and
2255 - rename from IT_FIND_JAVA_COMPILER.
2256 - (IT_FIND_ECJ): Use same form as detection
2257 - for java, javah, jar and rmic.
2258 - (IT_FIND_JAVAC): Likewise.
2259 - (IT_CHECK_JAVA_AND_JAVAC_WORK): New macro to check
2260 - java and javac actually work together to compile code
2261 - before running other tests such as the dtdtype one.
2262 - (IT_CHECK_FOR_CLASS): Depend on java/javac working.
2263 - (IT_GETDTDTYPE_CHECK): Likewise. Add -target 5.
2264 - (IT_JAVAH): Depend on java/javac working.
2265 - * configure.ac: Invoke IT_FIND_COMPILER rather than
2266 - IT_FIND_JAVA_COMPILER.
2267 -
2268 -diff --git a/acinclude.m4 b/acinclude.m4
2269 ---- a/acinclude.m4
2270 -+++ b/acinclude.m4
2271 -@@ -117,50 +117,41 @@
2272 - AC_SUBST(OS_PATH)
2273 - ])
2274 -
2275 --AC_DEFUN([IT_FIND_JAVA_COMPILER],
2276 -+AC_DEFUN([IT_FIND_COMPILER],
2277 - [
2278 -- JAVAC=${SYSTEM_JDK_DIR}/bin/javac
2279 - IT_FIND_JAVAC
2280 - IT_FIND_ECJ
2281 - IT_USING_ECJ
2282 -
2283 -+ AC_SUBST(ECJ)
2284 - AC_SUBST(JAVAC)
2285 - ])
2286 -
2287 --AC_DEFUN([IT_FIND_ECJ],
2288 -+AC_DEFUN_ONCE([IT_FIND_ECJ],
2289 - [
2290 -+ ECJ_DEFAULT=/usr/bin/ecj
2291 -+ AC_MSG_CHECKING([if an ecj binary was specified])
2292 - AC_ARG_WITH([ecj],
2293 -- [AS_HELP_STRING([--with-ecj[[=PATH]]],the path to an ecj binary)],
2294 -+ [AS_HELP_STRING(--with-ecj,bytecode compilation with ecj)],
2295 - [
2296 -- if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
2297 -- IT_CHECK_ECJ(${withval})
2298 -+ if test "x${withval}" = "xyes"; then
2299 -+ ECJ=no
2300 - else
2301 -- if test "x${withval}" != xno; then
2302 -- IT_CHECK_ECJ
2303 -- fi
2304 -+ ECJ="${withval}"
2305 - fi
2306 - ],
2307 - [
2308 -- IT_CHECK_ECJ
2309 -+ ECJ=no
2310 - ])
2311 -- if test "x${JAVAC}" = "x"; then
2312 -- if test "x{ECJ}" != "x"; then
2313 -- JAVAC="${ECJ}"
2314 -- fi
2315 -+ AC_MSG_RESULT(${ECJ})
2316 -+ if test "x${ECJ}" = "xno"; then
2317 -+ ECJ=${ECJ_DEFAULT}
2318 - fi
2319 --])
2320 --
2321 --AC_DEFUN([IT_CHECK_ECJ],
2322 --[
2323 -- if test "x$1" != x; then
2324 -- if test -f "$1"; then
2325 -- AC_MSG_CHECKING(for ecj)
2326 -- ECJ="$1"
2327 -- AC_MSG_RESULT(${ECJ})
2328 -- else
2329 -- AC_PATH_PROG(ECJ, "$1")
2330 -- fi
2331 -+ AC_MSG_CHECKING([if $ECJ is a valid executable file])
2332 -+ if test -x "${ECJ}" && test -f "${ECJ}"; then
2333 -+ AC_MSG_RESULT([yes])
2334 - else
2335 -+ ECJ=""
2336 - AC_PATH_PROG(ECJ, "ecj")
2337 - if test -z "${ECJ}"; then
2338 - AC_PATH_PROG(ECJ, "ecj-3.1")
2339 -@@ -171,43 +162,45 @@
2340 - if test -z "${ECJ}"; then
2341 - AC_PATH_PROG(ECJ, "ecj-3.3")
2342 - fi
2343 -+ if test -z "${ECJ}"; then
2344 -+ AC_PATH_PROG(ECJ, "ecj-3.4")
2345 -+ fi
2346 - fi
2347 - ])
2348 -
2349 --AC_DEFUN([IT_FIND_JAVAC],
2350 -+AC_DEFUN_ONCE([IT_FIND_JAVAC],
2351 - [
2352 -+ JAVAC_DEFAULT=${SYSTEM_JDK_DIR}/bin/javac
2353 -+ AC_MSG_CHECKING([if a javac binary was specified])
2354 - AC_ARG_WITH([javac],
2355 - [AS_HELP_STRING([--with-javac[[=PATH]]],the path to a javac binary)],
2356 - [
2357 -- if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
2358 -- IT_CHECK_JAVAC(${withval})
2359 -+ if test "x${withval}" = "xyes"; then
2360 -+ JAVAC=no
2361 - else
2362 -- if test "x${withval}" != xno; then
2363 -- IT_CHECK_JAVAC(${JAVAC})
2364 -- fi
2365 -+ JAVAC="${withval}"
2366 - fi
2367 - ],
2368 -- [
2369 -- IT_CHECK_JAVAC(${JAVAC})
2370 -+ [
2371 -+ JAVAC=no
2372 -+ ])
2373 -+ AC_MSG_RESULT(${JAVAC})
2374 -+ if test "x${JAVAC}" = "xno"; then
2375 -+ JAVAC=${JAVAC_DEFAULT}
2376 -+ fi
2377 -+ AC_MSG_CHECKING([if $JAVAC is a valid executable file])
2378 -+ if test -x "${JAVAC}" && test -f "${JAVAC}"; then
2379 -+ AC_MSG_RESULT([yes])
2380 -+ else
2381 -+ AC_MSG_RESULT([no])
2382 -+ JAVAC=""
2383 -+ AC_PATH_PROG(JAVAC, "javac")
2384 -+ fi
2385 -+ AC_SUBST(JAVAC)
2386 - ])
2387 - ])
2388 -
2389 --AC_DEFUN([IT_CHECK_JAVAC],
2390 --[
2391 -- if test "x$1" != x; then
2392 -- if test -f "$1"; then
2393 -- AC_MSG_CHECKING(for javac)
2394 -- JAVAC="$1"
2395 -- AC_MSG_RESULT(${JAVAC})
2396 -- else
2397 -- AC_PATH_PROG(JAVAC, "$1")
2398 -- fi
2399 -- else
2400 -- AC_PATH_PROG(JAVAC, "javac")
2401 -- fi
2402 --])
2403 --
2404 --AC_DEFUN([IT_FIND_JAVA],
2405 -+AC_DEFUN_ONCE([IT_FIND_JAVA],
2406 - [
2407 - JAVA_DEFAULT=${SYSTEM_JDK_DIR}/bin/java
2408 - AC_MSG_CHECKING([if a java binary was specified])
2409 -@@ -1158,6 +1151,7 @@
2410 - ])
2411 -
2412 - AC_DEFUN([IT_JAVAH],[
2413 -+AC_REQUIRE([IT_CHECK_JAVA_AND_JAVAC_WORK])
2414 - AC_CACHE_CHECK([if $JAVAH exhibits Classpath bug 39408], it_cv_cp39408_javah, [
2415 - SUPERCLASS=Test.java
2416 - SUBCLASS=TestImpl.java
2417 -@@ -1452,6 +1446,44 @@
2418 - AC_CONFIG_FILES([tz.properties])
2419 - ])
2420 -
2421 -+dnl check that javac and java work
2422 -+AC_DEFUN_ONCE([IT_CHECK_JAVA_AND_JAVAC_WORK],[
2423 -+ AC_REQUIRE([IT_FIND_JAVA])
2424 -+ AC_REQUIRE([IT_FIND_COMPILER])
2425 -+ AC_CACHE_CHECK([if the VM and compiler work together], it_cv_jdk_works, [
2426 -+ CLASS=Test.java
2427 -+ BYTECODE=$(echo $CLASS|sed 's#\.java##')
2428 -+ mkdir tmp.$$
2429 -+ cd tmp.$$
2430 -+ cat << \EOF > $CLASS
2431 -+[/* [#]line __oline__ "configure" */
2432 -+
2433 -+public class Test
2434 -+{
2435 -+ public static void main(String[] args)
2436 -+ {
2437 -+ System.out.println("Hello World!");
2438 -+ }
2439 -+}]
2440 -+EOF
2441 -+ if $JAVAC -cp . $JAVACFLAGS -source 5 -target 5 $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then
2442 -+ if $JAVA -classpath . $BYTECODE >&AS_MESSAGE_LOG_FD 2>&1; then
2443 -+ it_cv_jdk_works=yes;
2444 -+ else
2445 -+ it_cv_jdk_works=no;
2446 -+ AC_MSG_ERROR([VM failed to run compiled class.])
2447 -+ fi
2448 -+ else
2449 -+ it_cv_jdk_works=no;
2450 -+ AC_MSG_ERROR([Compiler failed to compile Java code.])
2451 -+ fi
2452 -+ rm -f $CLASS *.class
2453 -+ cd ..
2454 -+ rmdir tmp.$$
2455 -+ ])
2456 -+AC_PROVIDE([$0])dnl
2457 -+])
2458 -+
2459 - dnl Generic macro to check for a Java class
2460 - dnl Takes two arguments: the name of the macro
2461 - dnl and the name of the class. The macro name
2462 -@@ -1459,6 +1491,7 @@
2463 - dnl replaced by '_' and all letters capitalised.
2464 - dnl e.g. IT_CHECK_FOR_CLASS([JAVA_UTIL_SCANNER],[java.util.Scanner])
2465 - AC_DEFUN([IT_CHECK_FOR_CLASS],[
2466 -+AC_REQUIRE([IT_CHECK_JAVA_AND_JAVAC_WORK])
2467 - AC_CACHE_CHECK([if $2 is missing], it_cv_$1, [
2468 - CLASS=Test.java
2469 - BYTECODE=$(echo $CLASS|sed 's#\.java##')
2470 -@@ -1504,7 +1537,8 @@
2471 - AC_PROVIDE([$0])dnl
2472 - ])
2473 -
2474 --AC_DEFUN([IT_GETDTDTYPE_CHECK],[
2475 -+AC_DEFUN_ONCE([IT_GETDTDTYPE_CHECK],[
2476 -+ AC_REQUIRE([IT_CHECK_JAVA_AND_JAVAC_WORK])
2477 - AC_CACHE_CHECK([if javax.xml.stream.events.Attribute.getDTDType() wrongly returns a QName], it_cv_dtdtype, [
2478 - CLASS=Test.java
2479 - BYTECODE=$(echo $CLASS|sed 's#\.java##')
2480 -@@ -1561,7 +1595,7 @@
2481 - }
2482 - }]
2483 - EOF
2484 -- if $JAVAC -cp . $JAVACFLAGS -source 5 $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then
2485 -+ if $JAVAC -cp . $JAVACFLAGS -source 5 -target 5 $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then
2486 - if $JAVA -classpath . $BYTECODE >&AS_MESSAGE_LOG_FD 2>&1; then
2487 - it_cv_dtdtype=no;
2488 - else
2489 -diff --git a/configure.ac b/configure.ac
2490 ---- a/configure.ac
2491 -+++ b/configure.ac
2492 -@@ -97,7 +97,7 @@
2493 - IT_CHECK_IF_DOWNLOADING
2494 - IT_CHECK_FOR_JDK
2495 - IT_FIND_JAVA
2496 --IT_FIND_JAVA_COMPILER
2497 -+IT_FIND_COMPILER
2498 - IT_FIND_JAVAH
2499 - IT_FIND_JAR
2500 - IT_FIND_RMIC
2501
2502 diff --git a/dev-java/icedtea/files/icedtea-7-no_suffix.patch b/dev-java/icedtea/files/icedtea-7-no_suffix.patch
2503 deleted file mode 100644
2504 index 61bbd09..0000000
2505 --- a/dev-java/icedtea/files/icedtea-7-no_suffix.patch
2506 +++ /dev/null
2507 @@ -1,25 +0,0 @@
2508 -# HG changeset patch
2509 -# User Andrew John Hughes <ahughes@××××××.com>
2510 -# Date 1338297380 -3600
2511 -# Node ID fb4e64ae06a31c878cc711579fe87a6f626f73fb
2512 -# Parent 2c3c929e038c6c64d79ecf98005f5fd2f4d0f37d
2513 -Don't add a suffix for building the default, IcedTea.
2514 -
2515 -2012-05-25 Andrew John Hughes <ahughes@××××××.com>
2516 -
2517 - * Makefile.am:
2518 - (versioning): Don't add a suffix if building
2519 - the default project, 'icedtea'.
2520 -
2521 -diff --git a/Makefile.am b/Makefile.am
2522 ---- a/Makefile.am
2523 -+++ b/Makefile.am
2524 -@@ -1435,7 +1435,7 @@
2525 - echo "DISTRO_PACKAGE_VERSION=$(PKGVERSION)" \
2526 - >>openjdk/jdk/make/common/shared/Defs.gmk ;
2527 - endif
2528 -- if test x"$(PROJECT_NAME)" != "xjdk7"; then \
2529 -+ if test x"$(PROJECT_NAME)" != "xjdk7" && test x"$(PROJECT_NAME)" != "xicedtea"; then \
2530 - proj_suffix="-$(PROJECT_NAME)"; \
2531 - fi ; \
2532 - if test x"$(VERSION_SUFFIX)" != "x"; then \
2533
2534 diff --git a/dev-java/icedtea/files/icedtea-7.2.0-explicit-gthread.patch b/dev-java/icedtea/files/icedtea-7.2.0-explicit-gthread.patch
2535 deleted file mode 100644
2536 index 1f13e07..0000000
2537 --- a/dev-java/icedtea/files/icedtea-7.2.0-explicit-gthread.patch
2538 +++ /dev/null
2539 @@ -1,13 +0,0 @@
2540 ---- acinclude.m4.orig 2012-02-25 15:44:58.208371766 +0100
2541 -+++ acinclude.m4 2012-02-25 15:46:03.592027548 +0100
2542 -@@ -2011,7 +2011,9 @@
2543 - AC_MSG_RESULT(${ENABLE_SYSTEM_GTK})
2544 - if test x"${ENABLE_SYSTEM_GTK}" = "xyes"; then
2545 - dnl Check for Gtk+ headers and libraries.
2546 -- PKG_CHECK_MODULES(GTK, gtk+-2.0,[GTK_FOUND=yes],[GTK_FOUND=no])
2547 -+ dnl Explicitly include gthread-2.0 to get g_thread_init even on glib 2.32
2548 -+ dnl where it is deprecated.
2549 -+ PKG_CHECK_MODULES(GTK, gtk+-2.0 gthread-2.0,[GTK_FOUND=yes],[GTK_FOUND=no])
2550 - if test "x${GTK_FOUND}" = xno
2551 - then
2552 - AC_MSG_ERROR([Could not find Gtk+; install Gtk+ or build with --disable-system-gtk to use the in-tree headers.])
2553
2554 diff --git a/dev-java/icedtea/files/icedtea-7.2.0_pax_kernel_support.patch b/dev-java/icedtea/files/icedtea-7.2.0_pax_kernel_support.patch
2555 deleted file mode 100644
2556 index 2d8f8ce..0000000
2557 --- a/dev-java/icedtea/files/icedtea-7.2.0_pax_kernel_support.patch
2558 +++ /dev/null
2559 @@ -1,202 +0,0 @@
2560 -Author: Ralph Sennhaser <sera@g.o>
2561 -
2562 -The idea is to apply the pax markings before using a freshly built jdk. Be it
2563 -for running tests or building additonal vms or after bootstrap to build the
2564 -final jdk.
2565 -
2566 -There are currently two types of pax markings with the userspace utilities
2567 -chpax and paxctl. Both types of pax marking are base on modifing the ELFs. A
2568 -third type based on xattrs is in development.
2569 -
2570 -The embedded test_gamma.patch is taken from icedtea 2.0 itself.
2571 -
2572 -diff --git a/Makefile.am b/Makefile.am
2573 -index 129edf2..158b149 100644
2574 ---- a/Makefile.am
2575 -+++ b/Makefile.am
2576 -@@ -279,6 +279,10 @@ else
2577 - ICEDTEA_PATCHES += patches/nss-not-enabled-config.patch
2578 - endif
2579 -
2580 -+if WITH_PAX
2581 -+ICEDTEA_PATCHES += patches/test_gamma.patch
2582 -+endif
2583 -+
2584 - ICEDTEA_PATCHES += $(DISTRIBUTION_PATCHES)
2585 -
2586 - # Bootstrapping patches
2587 -@@ -300,7 +304,6 @@ ICEDTEA_BOOT_PATCHES = \
2588 - patches/boot/jar.patch \
2589 - patches/boot/symbols.patch \
2590 - patches/boot/tobin.patch \
2591 -- patches/boot/test_gamma.patch \
2592 - patches/boot/tools.jar.patch \
2593 - patches/boot/jopt.patch \
2594 - patches/boot/jaxp-dependency.patch \
2595 -@@ -320,6 +323,10 @@ ICEDTEA_BOOT_PATCHES = \
2596 - patches/boot/ecj-autoboxing.patch \
2597 - patches/boot/xsltproc.patch
2598 -
2599 -+if !WITH_PAX
2600 -+ICEDTEA_BOOT_PATCHES += patches/boot/test_gamma.patch
2601 -+endif
2602 -+
2603 - if CP39408_JAVAH
2604 - ICEDTEA_BOOT_PATCHES += patches/boot/pr39408.patch
2605 - endif
2606 -@@ -1612,6 +1619,7 @@ stamps/icedtea.stamp: stamps/bootstrap-directory-symlink-stage2.stamp \
2607 - $(ICEDTEA_ENV) \
2608 - -C openjdk/ \
2609 - $(ICEDTEA_BUILD_TARGET)
2610 -+ $(abs_top_builddir)/pax-mark-vm $(BUILD_OUTPUT_DIR)/j2sdk-image
2611 - mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
2612 - mkdir -p $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
2613 - mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
2614 -@@ -1765,6 +1773,7 @@ stamps/icedtea-boot.stamp: stamps/bootstrap-directory-symlink-stage1.stamp \
2615 - $(ICEDTEA_ENV_BOOT) \
2616 - -C openjdk-boot \
2617 - $(ICEDTEA_BUILD_TARGET)
2618 -+ $(abs_top_builddir)/pax-mark-vm $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
2619 - @echo "Bootstrapped IcedTea is served:" \
2620 - $(BOOT_BUILD_OUTPUT_DIR)
2621 - mkdir -p stamps
2622 -diff --git a/acinclude.m4 b/acinclude.m4
2623 -index 5310d71..f08f1a9 100644
2624 ---- a/acinclude.m4
2625 -+++ b/acinclude.m4
2626 -@@ -2181,3 +2181,49 @@ rmdir tmp.$$
2627 - AM_CONDITIONAL([NO_BYTECODE7], test x"${it_cv_bytecode7}" = "xyes")
2628 - AC_PROVIDE([$0])dnl
2629 - ])
2630 -+
2631 -+AC_DEFUN_ONCE([IT_WITH_PAX],
2632 -+[
2633 -+ AC_MSG_CHECKING([for pax utility to use])
2634 -+ AC_ARG_WITH([pax],
2635 -+ [AS_HELP_STRING(--with-pax=COMMAND,the command used for pax marking)],
2636 -+ [
2637 -+ PAX_COMMAND=${withval}
2638 -+ if test "x${PAX_COMMAND}" = "xno"; then
2639 -+ PAX_COMMAND="not specified"
2640 -+ fi
2641 -+ ],
2642 -+ [
2643 -+ PAX_COMMAND="not specified"
2644 -+ ])
2645 -+ case "x${PAX_COMMAND}" in
2646 -+ xchpax)
2647 -+ case "${host_cpu}" in
2648 -+ i?86)
2649 -+ PAX_COMMAND_ARGS="-msp"
2650 -+ ;;
2651 -+ *)
2652 -+ PAX_COMMAND_ARGS="-m"
2653 -+ ;;
2654 -+ esac
2655 -+ ;;
2656 -+ xpaxctl)
2657 -+ case "${host_cpu}" in
2658 -+ i?86)
2659 -+ PAX_COMMAND_ARGS="-msp"
2660 -+ ;;
2661 -+ *)
2662 -+ PAX_COMMAND_ARGS="-m"
2663 -+ ;;
2664 -+ esac
2665 -+ ;;
2666 -+ *)
2667 -+ PAX_COMMAND="not specified"
2668 -+ PAX_COMMAND_ARGS="not specified"
2669 -+ ;;
2670 -+ esac
2671 -+ AM_CONDITIONAL(WITH_PAX, test "x${PAX_COMMAND}" != "xnot specified")
2672 -+ AC_MSG_RESULT(${PAX_COMMAND})
2673 -+ AC_SUBST(PAX_COMMAND)
2674 -+ AC_SUBST(PAX_COMMAND_ARGS)
2675 -+])
2676 -diff --git a/configure.ac b/configure.ac
2677 -index e0b866b..7c665ef 100644
2678 ---- a/configure.ac
2679 -+++ b/configure.ac
2680 -@@ -146,6 +146,9 @@ IT_WITH_PROJECT
2681 - IT_ENABLE_HG
2682 - IT_WITH_TZDATA_DIR
2683 -
2684 -+IT_WITH_PAX
2685 -+AC_CONFIG_FILES([pax-mark-vm], [chmod +x pax-mark-vm])
2686 -+
2687 - AC_PATH_TOOL([HG],[hg])
2688 - if test "x${enable_hg}" = "xyes"; then
2689 - if test "x${HG}" = x; then
2690 -diff --git a/patches/test_gamma.patch b/patches/test_gamma.patch
2691 -new file mode 100644
2692 -index 0000000..7e8d3d6
2693 ---- /dev/null
2694 -+++ b/patches/test_gamma.patch
2695 -@@ -0,0 +1,47 @@
2696 -+diff -Nru ../openjdk.orig/openjdk/hotspot/make/linux/Makefile openjdk/hotspot/make/linux/Makefile
2697 -+--- ../openjdk.orig/openjdk/hotspot/make/linux/Makefile 2009-10-30 17:37:07.000000000 +0000
2698 -++++ openjdk/hotspot/make/linux/Makefile 2009-10-30 17:45:40.000000000 +0000
2699 -+@@ -287,42 +287,36 @@
2700 -+
2701 -+ $(TARGETS_C2): $(SUBDIRS_C2)
2702 -+ cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS)
2703 -+- cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && ./test_gamma
2704 -+ ifdef INSTALL
2705 -+ cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) install
2706 -+ endif
2707 -+
2708 -+ $(TARGETS_TIERED): $(SUBDIRS_TIERED)
2709 -+ cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS)
2710 -+- cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && ./test_gamma
2711 -+ ifdef INSTALL
2712 -+ cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) install
2713 -+ endif
2714 -+
2715 -+ $(TARGETS_C1): $(SUBDIRS_C1)
2716 -+ cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS)
2717 -+- cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && ./test_gamma
2718 -+ ifdef INSTALL
2719 -+ cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) install
2720 -+ endif
2721 -+
2722 -+ $(TARGETS_CORE): $(SUBDIRS_CORE)
2723 -+ cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS)
2724 -+- cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && ./test_gamma
2725 -+ ifdef INSTALL
2726 -+ cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install
2727 -+ endif
2728 -+
2729 -+ $(TARGETS_ZERO): $(SUBDIRS_ZERO)
2730 -+ cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS)
2731 -+- cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && ./test_gamma
2732 -+ ifdef INSTALL
2733 -+ cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install
2734 -+ endif
2735 -+
2736 -+ $(TARGETS_SHARK): $(SUBDIRS_SHARK)
2737 -+ cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS)
2738 -+- cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && ./test_gamma
2739 -+ ifdef INSTALL
2740 -+ cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) install
2741 -+ endif
2742 -+
2743 -diff --git a/pax-mark-vm.in b/pax-mark-vm.in
2744 -new file mode 100644
2745 -index 0000000..118bb61
2746 ---- /dev/null
2747 -+++ b/pax-mark-vm.in
2748 -@@ -0,0 +1,13 @@
2749 -+#!/bin/sh
2750 -+
2751 -+# Taken from Gentoo's pax-utils.eclass
2752 -+list_paxables() {
2753 -+ file "$@" 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//'
2754 -+}
2755 -+
2756 -+if test "@PAX_COMMAND@" != "not specified"; then
2757 -+ for paxable in `list_paxables "${1}"/bin/* "${1}"/jre/bin/*`; do
2758 -+ echo "PaX mark @PAX_COMMAND_ARGS@ ${paxable}"
2759 -+ @PAX_COMMAND@ @PAX_COMMAND_ARGS@ "${paxable}"
2760 -+ done
2761 -+fi
2762
2763 diff --git a/dev-java/icedtea/files/icedtea-7.2.1.1-pax_mark_rmic_java.patch b/dev-java/icedtea/files/icedtea-7.2.1.1-pax_mark_rmic_java.patch
2764 deleted file mode 100644
2765 index c665253..0000000
2766 --- a/dev-java/icedtea/files/icedtea-7.2.1.1-pax_mark_rmic_java.patch
2767 +++ /dev/null
2768 @@ -1,31 +0,0 @@
2769 -diff --git a/Makefile.am b/Makefile.am
2770 -index 49d8bc4..85ac971 100644
2771 ---- a/Makefile.am
2772 -+++ b/Makefile.am
2773 -@@ -277,7 +277,9 @@ ICEDTEA_PATCHES += patches/nss-not-enabled-config.patch
2774 - endif
2775 -
2776 - if WITH_PAX
2777 --ICEDTEA_PATCHES += patches/test_gamma.patch
2778 -+ICEDTEA_PATCHES += \
2779 -+ patches/test_gamma.patch \
2780 -+ patches/pax-mark-rmic-java.patch
2781 - endif
2782 -
2783 - ICEDTEA_PATCHES += $(DISTRIBUTION_PATCHES)
2784 -diff --git a/patches/pax-mark-rmic-java.patch b/patches/pax-mark-rmic-java.patch
2785 -new file mode 100644
2786 -index 0000000..ad80f3a
2787 ---- /dev/null
2788 -+++ b/patches/pax-mark-rmic-java.patch
2789 -@@ -0,0 +1,10 @@
2790 -+--- openjdk/jdk/make/com/sun/jmx/Makefile
2791 -++++ openjdk/jdk/make/com/sun/jmx/Makefile
2792 -+@@ -119,6 +119,7 @@
2793 -+
2794 -+ $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class
2795 -+ $(prep-target)
2796 -++ "$(TOPDIR)"/../../pax-mark-vm "$(OUTPUTDIR)"
2797 -+ $(RMIC) -classpath "$(CLASSDESTDIR)" \
2798 -+ -d $(CLASSDESTDIR) \
2799 -+ -v1.2 \
2800
2801 diff --git a/dev-java/icedtea/files/icedtea-7.2.1.1-pr986-cacao_memory_fix.patch b/dev-java/icedtea/files/icedtea-7.2.1.1-pr986-cacao_memory_fix.patch
2802 deleted file mode 100644
2803 index 17e5f2a..0000000
2804 --- a/dev-java/icedtea/files/icedtea-7.2.1.1-pr986-cacao_memory_fix.patch
2805 +++ /dev/null
2806 @@ -1,143 +0,0 @@
2807 -diff -Nru icedtea-2.1.1.orig/acinclude.m4 icedtea-2.1.1/acinclude.m4
2808 ---- icedtea-2.1.1.orig/acinclude.m4 2012-06-13 02:56:54.455836680 +0100
2809 -+++ icedtea-2.1.1/acinclude.m4 2012-06-13 02:57:31.660476528 +0100
2810 -@@ -2258,3 +2258,18 @@
2811 - AC_SUBST(PAX_COMMAND)
2812 - AC_SUBST(PAX_COMMAND_ARGS)
2813 - ])
2814 -+
2815 -+AC_DEFUN([IT_USING_CACAO],[
2816 -+ AC_REQUIRE([IT_FIND_JAVA])
2817 -+ AC_CACHE_CHECK([if we are using CACAO as the build VM], it_cv_cacao, [
2818 -+ if $JAVA -version 2>&1| grep '^CACAO' >&AS_MESSAGE_LOG_FD ; then
2819 -+ it_cv_cacao=yes;
2820 -+ else
2821 -+ it_cv_cacao=no;
2822 -+ fi
2823 -+ ])
2824 -+ USING_CACAO=$it_cv_cacao
2825 -+ AC_SUBST(USING_CACAO)
2826 -+ AM_CONDITIONAL(USING_CACAO, test "x${USING_CACAO}" = "xyes")
2827 -+ AC_PROVIDE([$0])dnl
2828 -+])
2829 -diff -Nru icedtea-2.1.1.orig/configure.ac icedtea-2.1.1/configure.ac
2830 ---- icedtea-2.1.1.orig/configure.ac 2012-06-13 02:56:54.459836748 +0100
2831 -+++ icedtea-2.1.1/configure.ac 2012-06-13 02:57:31.660476528 +0100
2832 -@@ -101,6 +101,7 @@
2833 - IT_FIND_JAR
2834 - IT_FIND_RMIC
2835 - IT_FIND_NATIVE2ASCII
2836 -+IT_USING_CACAO
2837 - if test "x$enable_bootstrap" = "xyes"; then
2838 - IT_FIND_ECJ_JAR
2839 - IT_FIND_TOOL([XSLTPROC], [xsltproc])
2840 -diff -Nru icedtea-2.1.1.orig/Makefile.am icedtea-2.1.1/Makefile.am
2841 ---- icedtea-2.1.1.orig/Makefile.am 2012-06-13 02:56:54.403835785 +0100
2842 -+++ icedtea-2.1.1/Makefile.am 2012-06-13 02:57:31.648476322 +0100
2843 -@@ -249,6 +249,11 @@
2844 - patches/cacao/launcher.patch \
2845 - patches/cacao/jsig.patch \
2846 - patches/cacao/memory.patch
2847 -+else
2848 -+if USING_CACAO
2849 -+ICEDTEA_PATCHES += \
2850 -+ patches/cacao/memory.patch
2851 -+endif
2852 - endif
2853 -
2854 - if ENABLE_CACAO
2855 -diff -Nru icedtea-2.1.1.orig/patches/cacao/launcher.patch icedtea-2.1.1/patches/cacao/launcher.patch
2856 ---- icedtea-2.1.1.orig/patches/cacao/launcher.patch 2012-06-13 02:28:23.950879620 +0100
2857 -+++ icedtea-2.1.1/patches/cacao/launcher.patch 2012-06-13 02:59:50.858865063 +0100
2858 -@@ -1,14 +1,3 @@
2859 ----- openjdk/jdk/make/docs/Makefile.orig 2010-08-27 20:01:53.000000000 +0200
2860 --+++ openjdk/jdk/make/docs/Makefile 2010-09-07 12:56:00.309691118 +0200
2861 --@@ -70,7 +70,7 @@
2862 -- ifeq ($(ARCH_DATA_MODEL),64)
2863 -- MAX_VM_MEMORY = 1024
2864 -- else
2865 --- MAX_VM_MEMORY = 512
2866 --+ MAX_VM_MEMORY = 768
2867 -- endif
2868 --
2869 -- # List of all possible directories for javadoc to look for sources
2870 - --- openjdk/jdk/src/share/bin/java.c.orig 2010-09-07 05:24:49.307192201 +0200
2871 - +++ openjdk/jdk/src/share/bin/java.c 2010-09-07 12:56:00.309691118 +0200
2872 - @@ -174,6 +174,8 @@
2873 -diff -Nru icedtea-2.1.1.orig/patches/cacao/memory.patch icedtea-2.1.1/patches/cacao/memory.patch
2874 ---- icedtea-2.1.1.orig/patches/cacao/memory.patch 2012-06-13 02:28:23.954879676 +0100
2875 -+++ icedtea-2.1.1/patches/cacao/memory.patch 2012-06-13 03:01:11.156239098 +0100
2876 -@@ -1,6 +1,70 @@
2877 ----- openjdk.orig/langtools/make/build.xml 2010-06-01 11:25:40.145287816 +0100
2878 --+++ openjdk/langtools/make/build.xml 2010-06-21 21:48:41.000000000 +0100
2879 --@@ -554,6 +554,7 @@
2880 -+diff -Nru openjdk.orig/hotspot/make/linux/makefiles/rules.make openjdk/hotspot/make/linux/makefiles/rules.make
2881 -+--- openjdk.orig/hotspot/make/linux/makefiles/rules.make 2012-06-07 19:21:17.000000000 +0100
2882 -++++ openjdk/hotspot/make/linux/makefiles/rules.make 2012-06-13 03:36:26.364575315 +0100
2883 -+@@ -141,7 +141,7 @@
2884 -+ # Settings for javac
2885 -+ BOOT_SOURCE_LANGUAGE_VERSION = 6
2886 -+ BOOT_TARGET_CLASS_VERSION = 6
2887 -+-JAVAC_FLAGS = -g -encoding ascii
2888 -++JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
2889 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
2890 -+
2891 -+ # With parallel makes, print a message at the end of compilation.
2892 -+diff -Nru openjdk.orig/hotspot/make/solaris/makefiles/rules.make openjdk/hotspot/make/solaris/makefiles/rules.make
2893 -+--- openjdk.orig/hotspot/make/solaris/makefiles/rules.make 2012-06-07 19:21:17.000000000 +0100
2894 -++++ openjdk/hotspot/make/solaris/makefiles/rules.make 2012-06-13 03:36:26.364575315 +0100
2895 -+@@ -133,7 +133,7 @@
2896 -+ # Settings for javac
2897 -+ BOOT_SOURCE_LANGUAGE_VERSION = 6
2898 -+ BOOT_TARGET_CLASS_VERSION = 6
2899 -+-JAVAC_FLAGS = -g -encoding ascii
2900 -++JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
2901 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
2902 -+
2903 -+ # With parallel makes, print a message at the end of compilation.
2904 -+diff -Nru openjdk.orig/hotspot/make/windows/makefiles/rules.make openjdk/hotspot/make/windows/makefiles/rules.make
2905 -+--- openjdk.orig/hotspot/make/windows/makefiles/rules.make 2012-06-07 19:21:17.000000000 +0100
2906 -++++ openjdk/hotspot/make/windows/makefiles/rules.make 2012-06-13 03:36:26.364575315 +0100
2907 -+@@ -45,7 +45,7 @@
2908 -+ # Settings for javac
2909 -+ BOOT_SOURCE_LANGUAGE_VERSION=6
2910 -+ BOOT_TARGET_CLASS_VERSION=6
2911 -+-JAVAC_FLAGS=-g -encoding ascii
2912 -++JAVAC_FLAGS=-g -encoding ascii -J-Xmx256m
2913 -+ BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
2914 -+
2915 -+ ProjectFile=jvm.vcproj
2916 -+diff -Nru openjdk.orig/jdk/make/common/shared/Platform.gmk openjdk/jdk/make/common/shared/Platform.gmk
2917 -+--- openjdk.orig/jdk/make/common/shared/Platform.gmk 2012-06-08 14:12:38.000000000 +0100
2918 -++++ openjdk/jdk/make/common/shared/Platform.gmk 2012-06-13 03:36:26.380575614 +0100
2919 -+@@ -447,7 +447,7 @@
2920 -+ else \
2921 -+ echo "false"; \
2922 -+ fi)
2923 -+- MAX_VM_MEMORY := 512
2924 -++ MAX_VM_MEMORY := 1536
2925 -+ MIN_VM_MEMORY := $(MAX_VM_MEMORY)
2926 -+ else
2927 -+ MB_OF_MEMORY := unknown
2928 -+diff -Nru openjdk.orig/jdk/make/docs/Makefile openjdk/jdk/make/docs/Makefile
2929 -+--- openjdk.orig/jdk/make/docs/Makefile 2012-06-08 14:12:38.000000000 +0100
2930 -++++ openjdk/jdk/make/docs/Makefile 2012-06-13 03:36:26.380575614 +0100
2931 -+@@ -69,9 +69,9 @@
2932 -+ # NOTE: javadoc will not complete without these larger settings.
2933 -+ # WARNING: This could cause thrashing on low memory machines.
2934 -+ ifeq ($(ARCH_DATA_MODEL),64)
2935 -+- MAX_VM_MEMORY = 1024
2936 -++ MAX_VM_MEMORY = 1792
2937 -+ else
2938 -+- MAX_VM_MEMORY = 512
2939 -++ MAX_VM_MEMORY = 768
2940 -+ endif
2941 -+
2942 -+ # List of all possible directories for javadoc to look for sources
2943 -+diff -Nru openjdk.orig/langtools/make/build.xml openjdk/langtools/make/build.xml
2944 -+--- openjdk.orig/langtools/make/build.xml 2012-02-15 08:26:56.000000000 +0000
2945 -++++ openjdk/langtools/make/build.xml 2012-06-13 03:36:26.380575614 +0100
2946 -+@@ -796,6 +796,7 @@
2947 - <compilerarg value="-implicit:none"/>
2948 - <compilerarg value="-Xprefer:source"/>
2949 - <compilerarg value="-J-Xbootclasspath/p:@{javac.bootclasspath}"/>
2950
2951 diff --git a/dev-java/icedtea/files/icedtea-7.2.2-no_suffix.patch b/dev-java/icedtea/files/icedtea-7.2.2-no_suffix.patch
2952 deleted file mode 100644
2953 index 61bbd09..0000000
2954 --- a/dev-java/icedtea/files/icedtea-7.2.2-no_suffix.patch
2955 +++ /dev/null
2956 @@ -1,25 +0,0 @@
2957 -# HG changeset patch
2958 -# User Andrew John Hughes <ahughes@××××××.com>
2959 -# Date 1338297380 -3600
2960 -# Node ID fb4e64ae06a31c878cc711579fe87a6f626f73fb
2961 -# Parent 2c3c929e038c6c64d79ecf98005f5fd2f4d0f37d
2962 -Don't add a suffix for building the default, IcedTea.
2963 -
2964 -2012-05-25 Andrew John Hughes <ahughes@××××××.com>
2965 -
2966 - * Makefile.am:
2967 - (versioning): Don't add a suffix if building
2968 - the default project, 'icedtea'.
2969 -
2970 -diff --git a/Makefile.am b/Makefile.am
2971 ---- a/Makefile.am
2972 -+++ b/Makefile.am
2973 -@@ -1435,7 +1435,7 @@
2974 - echo "DISTRO_PACKAGE_VERSION=$(PKGVERSION)" \
2975 - >>openjdk/jdk/make/common/shared/Defs.gmk ;
2976 - endif
2977 -- if test x"$(PROJECT_NAME)" != "xjdk7"; then \
2978 -+ if test x"$(PROJECT_NAME)" != "xjdk7" && test x"$(PROJECT_NAME)" != "xicedtea"; then \
2979 - proj_suffix="-$(PROJECT_NAME)"; \
2980 - fi ; \
2981 - if test x"$(VERSION_SUFFIX)" != "x"; then \
2982
2983 diff --git a/dev-java/icedtea/files/icedtea-7.2.2.1-pax_mark_rmic_java.patch b/dev-java/icedtea/files/icedtea-7.2.2.1-pax_mark_rmic_java.patch
2984 deleted file mode 100644
2985 index c665253..0000000
2986 --- a/dev-java/icedtea/files/icedtea-7.2.2.1-pax_mark_rmic_java.patch
2987 +++ /dev/null
2988 @@ -1,31 +0,0 @@
2989 -diff --git a/Makefile.am b/Makefile.am
2990 -index 49d8bc4..85ac971 100644
2991 ---- a/Makefile.am
2992 -+++ b/Makefile.am
2993 -@@ -277,7 +277,9 @@ ICEDTEA_PATCHES += patches/nss-not-enabled-config.patch
2994 - endif
2995 -
2996 - if WITH_PAX
2997 --ICEDTEA_PATCHES += patches/test_gamma.patch
2998 -+ICEDTEA_PATCHES += \
2999 -+ patches/test_gamma.patch \
3000 -+ patches/pax-mark-rmic-java.patch
3001 - endif
3002 -
3003 - ICEDTEA_PATCHES += $(DISTRIBUTION_PATCHES)
3004 -diff --git a/patches/pax-mark-rmic-java.patch b/patches/pax-mark-rmic-java.patch
3005 -new file mode 100644
3006 -index 0000000..ad80f3a
3007 ---- /dev/null
3008 -+++ b/patches/pax-mark-rmic-java.patch
3009 -@@ -0,0 +1,10 @@
3010 -+--- openjdk/jdk/make/com/sun/jmx/Makefile
3011 -++++ openjdk/jdk/make/com/sun/jmx/Makefile
3012 -+@@ -119,6 +119,7 @@
3013 -+
3014 -+ $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class
3015 -+ $(prep-target)
3016 -++ "$(TOPDIR)"/../../pax-mark-vm "$(OUTPUTDIR)"
3017 -+ $(RMIC) -classpath "$(CLASSDESTDIR)" \
3018 -+ -d $(CLASSDESTDIR) \
3019 -+ -v1.2 \
3020
3021 diff --git a/dev-java/icedtea/files/icedtea-7.2.2.1-pr986-cacao_memory_fix.patch b/dev-java/icedtea/files/icedtea-7.2.2.1-pr986-cacao_memory_fix.patch
3022 deleted file mode 100644
3023 index c76c9f3..0000000
3024 --- a/dev-java/icedtea/files/icedtea-7.2.2.1-pr986-cacao_memory_fix.patch
3025 +++ /dev/null
3026 @@ -1,184 +0,0 @@
3027 -# HG changeset patch
3028 -# User Andrew John Hughes <gnu_andrew@××××××××××.org>
3029 -# Date 1339542060 -3600
3030 -# Node ID e6d81fc2c9439652f903664d51a13732c73485ea
3031 -# Parent 1a9e619bc32e81697bf4200a607935ee00c8d388
3032 -PR986: Allow CACAO builds of IcedTea to be able to build IcedTea without bootstrap.
3033 -
3034 -2012-06-12 Andrew John Hughes <gnu_andrew@××××××××××.org>
3035 -
3036 - PR986
3037 - * Makefile.am:
3038 - (ICEDTEA_PATCHES): Add memory patch when
3039 - building using CACAO as well, even if the
3040 - result is not a CACAO build.
3041 - * acinclude.m4:
3042 - (IT_USING_CACAO): New macro; detects use of
3043 - CACAO as the build VM so memory limits can
3044 - be raised accordingly.
3045 - * configure.ac: Call IT_USING_CACAO.
3046 - * patches/cacao/launcher.patch:
3047 - Move memory increase to memory.patch.
3048 - * patches/cacao/memory.patch:
3049 - Extend with additional cases in HotSpot and
3050 - the JDK.
3051 -
3052 -diff --git a/Makefile.am b/Makefile.am
3053 ---- a/Makefile.am
3054 -+++ b/Makefile.am
3055 -@@ -249,6 +249,11 @@
3056 - patches/cacao/launcher.patch \
3057 - patches/cacao/jsig.patch \
3058 - patches/cacao/memory.patch
3059 -+else
3060 -+if USING_CACAO
3061 -+ICEDTEA_PATCHES += \
3062 -+ patches/cacao/memory.patch
3063 -+endif
3064 - endif
3065 -
3066 - if ENABLE_CACAO
3067 -diff --git a/acinclude.m4 b/acinclude.m4
3068 ---- a/acinclude.m4
3069 -+++ b/acinclude.m4
3070 -@@ -2278,3 +2278,18 @@
3071 - AC_SUBST(PAX_COMMAND)
3072 - AC_SUBST(PAX_COMMAND_ARGS)
3073 - ])
3074 -+
3075 -+AC_DEFUN([IT_USING_CACAO],[
3076 -+ AC_REQUIRE([IT_FIND_JAVA])
3077 -+ AC_CACHE_CHECK([if we are using CACAO as the build VM], it_cv_cacao, [
3078 -+ if $JAVA -version 2>&1| grep '^CACAO' >&AS_MESSAGE_LOG_FD ; then
3079 -+ it_cv_cacao=yes;
3080 -+ else
3081 -+ it_cv_cacao=no;
3082 -+ fi
3083 -+ ])
3084 -+ USING_CACAO=$it_cv_cacao
3085 -+ AC_SUBST(USING_CACAO)
3086 -+ AM_CONDITIONAL(USING_CACAO, test "x${USING_CACAO}" = "xyes")
3087 -+ AC_PROVIDE([$0])dnl
3088 -+])
3089 -diff --git a/configure.ac b/configure.ac
3090 ---- a/configure.ac
3091 -+++ b/configure.ac
3092 -@@ -102,6 +102,7 @@
3093 - IT_FIND_JAR
3094 - IT_FIND_RMIC
3095 - IT_FIND_NATIVE2ASCII
3096 -+IT_USING_CACAO
3097 - if test "x$enable_bootstrap" = "xyes"; then
3098 - IT_FIND_ECJ_JAR
3099 - IT_FIND_TOOL([XSLTPROC], [xsltproc])
3100 -diff --git a/patches/cacao/launcher.patch b/patches/cacao/launcher.patch
3101 ---- a/patches/cacao/launcher.patch
3102 -+++ b/patches/cacao/launcher.patch
3103 -@@ -1,15 +1,3 @@
3104 --diff -Nru openjdk.orig/jdk/make/docs/Makefile openjdk/jdk/make/docs/Makefile
3105 ----- openjdk.orig/jdk/make/docs/Makefile 2012-03-21 17:09:55.000000000 +0000
3106 --+++ openjdk/jdk/make/docs/Makefile 2012-03-23 00:46:49.461847958 +0000
3107 --@@ -73,7 +73,7 @@
3108 -- else ifeq ($(ARCH),universal)
3109 -- MAX_VM_MEMORY = 1024
3110 -- else
3111 --- MAX_VM_MEMORY = 512
3112 --+ MAX_VM_MEMORY = 768
3113 -- endif
3114 --
3115 -- # List of all possible directories for javadoc to look for sources
3116 - diff -Nru openjdk.orig/jdk/src/share/bin/java.c openjdk/jdk/src/share/bin/java.c
3117 - --- openjdk.orig/jdk/src/share/bin/java.c 2012-03-21 17:09:55.000000000 +0000
3118 - +++ openjdk/jdk/src/share/bin/java.c 2012-03-23 00:46:49.461847958 +0000
3119 -diff --git a/patches/cacao/memory.patch b/patches/cacao/memory.patch
3120 ---- a/patches/cacao/memory.patch
3121 -+++ b/patches/cacao/memory.patch
3122 -@@ -1,6 +1,85 @@
3123 ----- openjdk.orig/langtools/make/build.xml 2010-06-01 11:25:40.145287816 +0100
3124 --+++ openjdk/langtools/make/build.xml 2010-06-21 21:48:41.000000000 +0100
3125 --@@ -554,6 +554,7 @@
3126 -+diff -Nru openjdk.orig/hotspot/make/bsd/makefiles/rules.make openjdk/hotspot/make/bsd/makefiles/rules.make
3127 -+--- openjdk.orig/hotspot/make/bsd/makefiles/rules.make 2012-06-08 17:13:09.000000000 +0100
3128 -++++ openjdk/hotspot/make/bsd/makefiles/rules.make 2012-06-12 10:50:20.974290246 +0100
3129 -+@@ -128,7 +128,7 @@
3130 -+ # Settings for javac
3131 -+ BOOT_SOURCE_LANGUAGE_VERSION = 6
3132 -+ BOOT_TARGET_CLASS_VERSION = 6
3133 -+-JAVAC_FLAGS = -g -encoding ascii
3134 -++JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
3135 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
3136 -+
3137 -+ # With parallel makes, print a message at the end of compilation.
3138 -+diff -Nru openjdk.orig/hotspot/make/linux/makefiles/rules.make openjdk/hotspot/make/linux/makefiles/rules.make
3139 -+--- openjdk.orig/hotspot/make/linux/makefiles/rules.make 2012-06-08 17:13:09.000000000 +0100
3140 -++++ openjdk/hotspot/make/linux/makefiles/rules.make 2012-06-12 10:50:20.982290377 +0100
3141 -+@@ -128,7 +128,7 @@
3142 -+ # Settings for javac
3143 -+ BOOT_SOURCE_LANGUAGE_VERSION = 6
3144 -+ BOOT_TARGET_CLASS_VERSION = 6
3145 -+-JAVAC_FLAGS = -g -encoding ascii
3146 -++JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
3147 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
3148 -+
3149 -+ # With parallel makes, print a message at the end of compilation.
3150 -+diff -Nru openjdk.orig/hotspot/make/solaris/makefiles/rules.make openjdk/hotspot/make/solaris/makefiles/rules.make
3151 -+--- openjdk.orig/hotspot/make/solaris/makefiles/rules.make 2012-06-08 17:13:09.000000000 +0100
3152 -++++ openjdk/hotspot/make/solaris/makefiles/rules.make 2012-06-12 10:50:20.982290377 +0100
3153 -+@@ -120,7 +120,7 @@
3154 -+ # Settings for javac
3155 -+ BOOT_SOURCE_LANGUAGE_VERSION = 6
3156 -+ BOOT_TARGET_CLASS_VERSION = 6
3157 -+-JAVAC_FLAGS = -g -encoding ascii
3158 -++JAVAC_FLAGS = -g -encoding ascii -J-Xmx256m
3159 -+ BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
3160 -+
3161 -+ # With parallel makes, print a message at the end of compilation.
3162 -+diff -Nru openjdk.orig/hotspot/make/windows/makefiles/rules.make openjdk/hotspot/make/windows/makefiles/rules.make
3163 -+--- openjdk.orig/hotspot/make/windows/makefiles/rules.make 2012-06-08 17:13:09.000000000 +0100
3164 -++++ openjdk/hotspot/make/windows/makefiles/rules.make 2012-06-12 10:50:20.982290377 +0100
3165 -+@@ -45,7 +45,7 @@
3166 -+ # Settings for javac
3167 -+ BOOT_SOURCE_LANGUAGE_VERSION=6
3168 -+ BOOT_TARGET_CLASS_VERSION=6
3169 -+-JAVAC_FLAGS=-g -encoding ascii
3170 -++JAVAC_FLAGS=-g -encoding ascii -J-Xmx256m
3171 -+ BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
3172 -+
3173 -+ ProjectFile=jvm.vcproj
3174 -+diff -Nru openjdk.orig/jdk/make/common/shared/Platform.gmk openjdk/jdk/make/common/shared/Platform.gmk
3175 -+--- openjdk.orig/jdk/make/common/shared/Platform.gmk 2012-06-08 17:12:17.000000000 +0100
3176 -++++ openjdk/jdk/make/common/shared/Platform.gmk 2012-06-12 10:50:20.982290377 +0100
3177 -+@@ -537,7 +537,7 @@
3178 -+ else \
3179 -+ echo "false"; \
3180 -+ fi)
3181 -+- MAX_VM_MEMORY := 512
3182 -++ MAX_VM_MEMORY := 1536
3183 -+ MIN_VM_MEMORY := $(MAX_VM_MEMORY)
3184 -+ else
3185 -+ MB_OF_MEMORY := unknown
3186 -+diff -Nru openjdk.orig/jdk/make/docs/Makefile openjdk/jdk/make/docs/Makefile
3187 -+--- openjdk.orig/jdk/make/docs/Makefile 2012-06-08 17:12:17.000000000 +0100
3188 -++++ openjdk/jdk/make/docs/Makefile 2012-06-12 11:09:31.616702981 +0100
3189 -+@@ -69,11 +69,11 @@
3190 -+ # NOTE: javadoc will not complete without these larger settings.
3191 -+ # WARNING: This could cause thrashing on low memory machines.
3192 -+ ifeq ($(ARCH_DATA_MODEL),64)
3193 -+- MAX_VM_MEMORY = 1024
3194 -++ MAX_VM_MEMORY = 1792
3195 -+ else ifeq ($(ARCH),universal)
3196 -+- MAX_VM_MEMORY = 1024
3197 -++ MAX_VM_MEMORY = 1792
3198 -+ else
3199 -+- MAX_VM_MEMORY = 512
3200 -++ MAX_VM_MEMORY = 768
3201 -+ endif
3202 -+
3203 -+ # List of all possible directories for javadoc to look for sources
3204 -+diff -Nru openjdk.orig/langtools/make/build.xml openjdk/langtools/make/build.xml
3205 -+--- openjdk.orig/langtools/make/build.xml 2012-06-08 17:12:36.000000000 +0100
3206 -++++ openjdk/langtools/make/build.xml 2012-06-12 10:50:20.974290246 +0100
3207 -+@@ -796,6 +796,7 @@
3208 - <compilerarg value="-implicit:none"/>
3209 - <compilerarg value="-Xprefer:source"/>
3210 - <compilerarg value="-J-Xbootclasspath/p:@{javac.bootclasspath}"/>
3211
3212 diff --git a/dev-java/icedtea/files/icedtea-7.2.2.1-warnings_are_errors.patch b/dev-java/icedtea/files/icedtea-7.2.2.1-warnings_are_errors.patch
3213 deleted file mode 100644
3214 index 2822155..0000000
3215 --- a/dev-java/icedtea/files/icedtea-7.2.2.1-warnings_are_errors.patch
3216 +++ /dev/null
3217 @@ -1,217 +0,0 @@
3218 -diff --git a/Makefile.am b/Makefile.am
3219 -index 49d8bc4..b20ee99 100644
3220 ---- a/Makefile.am
3221 -+++ b/Makefile.am
3222 -@@ -235,7 +235,8 @@ REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java
3223 -
3224 - # Patch list
3225 -
3226 --ICEDTEA_PATCHES =
3227 -+ICEDTEA_PATCHES = \
3228 -+ patches/warnings-are-errors.patch
3229 -
3230 - # Conditional patches
3231 -
3232 -@@ -437,7 +438,9 @@ ICEDTEA_ENV = \
3233 - USE_SYSTEM_CUPS="true" \
3234 - CUPS_LIBS="${CUPS_LIBS}" \
3235 - CUPS_CFLAGS="${CUPS_CFLAGS}" \
3236 -- ALT_STRIP_POLICY=no_strip
3237 -+ ALT_STRIP_POLICY=no_strip \
3238 -+ COMPILER_WARNINGS_FATAL="@WARNINGS_ARE_ERRORS@" \
3239 -+ JAVAC_WARNINGS_FATAL="@WARNINGS_ARE_ERRORS@"
3240 -
3241 - if ENABLE_CACAO
3242 - ICEDTEA_ENV += \
3243 -diff --git a/acinclude.m4 b/acinclude.m4
3244 -index f0a336f..3dc4aa0 100644
3245 ---- a/acinclude.m4
3246 -+++ b/acinclude.m4
3247 -@@ -2244,3 +2244,23 @@ AC_DEFUN_ONCE([IT_WITH_PAX],
3248 - AC_SUBST(PAX_COMMAND)
3249 - AC_SUBST(PAX_COMMAND_ARGS)
3250 - ])
3251 -+
3252 -+AC_DEFUN_ONCE([IT_WARNINGS_ARE_ERRORS],
3253 -+[
3254 -+ AC_MSG_CHECKING([whether to treat warnings as errors.])
3255 -+ AC_ARG_ENABLE([warnings-are-errors],
3256 -+ [AS_HELP_STRING(--enable-warnings-are-errors,treat warnings as errors [[default=yes]])],
3257 -+ [
3258 -+ if test x"${enableval}" = "xyes"; then
3259 -+ WARNINGS_ARE_ERRORS="true"
3260 -+ else
3261 -+ WARNINGS_ARE_ERRORS="false"
3262 -+ fi
3263 -+ ],
3264 -+ [
3265 -+ dnl use local defaults
3266 -+ WARNINGS_ARE_ERRORS=
3267 -+ ])
3268 -+ AC_MSG_RESULT([${WARNINGS_ARE_ERRORS}])
3269 -+ AC_SUBST([WARNINGS_ARE_ERRORS])
3270 -+])
3271 -diff --git a/configure.ac b/configure.ac
3272 -index 36c9d77..af52bf1 100644
3273 ---- a/configure.ac
3274 -+++ b/configure.ac
3275 -@@ -54,6 +54,7 @@ IT_DISABLE_TESTS
3276 - IT_DISABLE_HOTSPOT_TESTS
3277 - IT_DISABLE_LANGTOOLS_TESTS
3278 - IT_DISABLE_JDK_TESTS
3279 -+IT_WARNINGS_ARE_ERRORS
3280 -
3281 - # Use xvfb-run if found to run gui tests (check-jdk).
3282 - AC_CHECK_PROG(XVFB_RUN_CMD, xvfb-run, [xvfb-run -a -e xvfb-errors], [])
3283 -diff --git a/patches/boot/ecj-opts.patch b/patches/boot/ecj-opts.patch
3284 -index 99ed532..284bd37 100644
3285 ---- a/patches/boot/ecj-opts.patch
3286 -+++ b/patches/boot/ecj-opts.patch
3287 -@@ -5,8 +5,8 @@ diff -Nru openjdk-boot.orig/jdk/make/java/nio/Makefile openjdk-boot/jdk/make/jav
3288 - PACKAGE = java.nio
3289 - LIBRARY = nio
3290 - PRODUCT = java
3291 ---OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial -Werror
3292 -+-OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial
3293 - +OTHER_JAVACFLAGS += -Xlint:serial -Werror
3294 -- include $(BUILDDIR)/common/Defs.gmk
3295 --
3296 -- NIO_SRC = $(SHARE_SRC)/classes/java/nio
3297 -+ ifneq ($(JAVAC_WARNINGS_FATAL),false)
3298 -+ OTHER_JAVACFLAGS += -Werror
3299 -+ endif
3300 -diff --git a/patches/warnings-are-errors.patch b/patches/warnings-are-errors.patch
3301 -new file mode 100644
3302 -index 0000000..7fe1e08
3303 ---- /dev/null
3304 -+++ b/patches/warnings-are-errors.patch
3305 -@@ -0,0 +1,129 @@
3306 -+--- openjdk/hotspot/make/linux/makefiles/adlc.make
3307 -++++ openjdk/hotspot/make/linux/makefiles/adlc.make
3308 -+@@ -67,8 +67,10 @@
3309 -+ CXXFLAGS += -DASSERT
3310 -+
3311 -+ # CFLAGS_WARN holds compiler options to suppress/enable warnings.
3312 -+-# Compiler warnings are treated as errors
3313 -+-CFLAGS_WARN = -Werror
3314 -++# Treat compiler warnings as errors, unless warnings are allowed
3315 -++ifneq ($(COMPILER_WARNINGS_FATAL),false)
3316 -++ CFLAGS_WARN = -Werror
3317 -++endif
3318 -+ CFLAGS += $(CFLAGS_WARN)
3319 -+
3320 -+ OBJECTNAMES = \
3321 -+--- openjdk/hotspot/make/linux/makefiles/gcc.make
3322 -++++ openjdk/hotspot/make/linux/makefiles/gcc.make
3323 -+@@ -149,8 +149,10 @@
3324 -+ CFLAGS += -pipe
3325 -+ endif
3326 -+
3327 -+-# Compiler warnings are treated as errors
3328 -+-WARNINGS_ARE_ERRORS = -Werror
3329 -++# Treat compiler warnings as errors, unless warnings are allowed
3330 -++ifneq ($(COMPILER_WARNINGS_FATAL),false)
3331 -++ WARNINGS_ARE_ERRORS = -Werror
3332 -++endif
3333 -+
3334 -+ # Except for a few acceptable ones
3335 -+ # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit
3336 -+--- openjdk/hotspot/make/solaris/makefiles/gcc.make
3337 -++++ openjdk/hotspot/make/solaris/makefiles/gcc.make
3338 -+@@ -111,8 +111,10 @@
3339 -+ endif
3340 -+
3341 -+
3342 -+-# Compiler warnings are treated as errors
3343 -+-WARNINGS_ARE_ERRORS = -Werror
3344 -++# Treat compiler warnings as errors, unless warnings are allowed
3345 -++ifneq ($(COMPILER_WARNINGS_FATAL),false)
3346 -++ WARNINGS_ARE_ERRORS = -Werror
3347 -++endif
3348 -+ # Enable these warnings. See 'info gcc' about details on these options
3349 -+ ADDITIONAL_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare
3350 -+ CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(ADDITIONAL_WARNINGS)
3351 -+--- openjdk/jdk/make/java/nio/Makefile
3352 -++++ openjdk/jdk/make/java/nio/Makefile
3353 -+@@ -31,7 +31,10 @@
3354 -+ PACKAGE = java.nio
3355 -+ LIBRARY = nio
3356 -+ PRODUCT = java
3357 -+-OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial -Werror
3358 -++OTHER_JAVACFLAGS += -Xmaxwarns 1000 -Xlint:serial
3359 -++ifneq ($(JAVAC_WARNINGS_FATAL),false)
3360 -++ OTHER_JAVACFLAGS += -Werror
3361 -++endif
3362 -+ include $(BUILDDIR)/common/Defs.gmk
3363 -+
3364 -+ NIO_SRC = $(SHARE_SRC)/classes/java/nio
3365 -+--- openjdk/jdk/make/java/sun_nio/Makefile
3366 -++++ openjdk/jdk/make/java/sun_nio/Makefile
3367 -+@@ -31,7 +31,11 @@
3368 -+ PACKAGE = sun.nio
3369 -+ PRODUCT = sun
3370 -+
3371 -+-OTHER_JAVACFLAGS += -Xlint:serial,-deprecation -Werror
3372 -++OTHER_JAVACFLAGS += -Xlint:serial,-deprecation
3373 -++ifneq ($(JAVAC_WARNINGS_FATAL),false)
3374 -++ OTHER_JAVACFLAGS += -Werror
3375 -++endif
3376 -++
3377 -+ include $(BUILDDIR)/common/Defs.gmk
3378 -+
3379 -+ #
3380 -+--- openjdk/jdk/make/sun/native2ascii/Makefile
3381 -++++ openjdk/jdk/make/sun/native2ascii/Makefile
3382 -+@@ -30,7 +30,10 @@
3383 -+ BUILDDIR = ../..
3384 -+ PACKAGE = sun.tools.native2ascii
3385 -+ PRODUCT = sun
3386 -+-OTHER_JAVACFLAGS += -Xlint:serial -Werror
3387 -++OTHER_JAVACFLAGS += -Xlint:serial
3388 -++ifneq ($(JAVAC_WARNINGS_FATAL),false)
3389 -++ OTHER_JAVACFLAGS += -Werror
3390 -++endif
3391 -+ include $(BUILDDIR)/common/Defs.gmk
3392 -+
3393 -+ # This program must contain a manifest that defines the execution level
3394 -+--- openjdk/jdk/make/sun/nio/cs/Makefile
3395 -++++ openjdk/jdk/make/sun/nio/cs/Makefile
3396 -+@@ -36,7 +36,10 @@
3397 -+ # This re-directs all the class files to a separate location
3398 -+ CLASSDESTDIR = $(TEMPDIR)/classes
3399 -+
3400 -+-OTHER_JAVACFLAGS += -Xlint:serial,-deprecation -Werror
3401 -++OTHER_JAVACFLAGS += -Xlint:serial,-deprecation
3402 -++ifneq ($(JAVAC_WARNINGS_FATAL),false)
3403 -++ OTHER_JAVACFLAGS += -Werror
3404 -++endif
3405 -+ include $(BUILDDIR)/common/Defs.gmk
3406 -+
3407 -+ #
3408 -+--- openjdk/jdk/make/tools/Makefile
3409 -++++ openjdk/jdk/make/tools/Makefile
3410 -+@@ -29,7 +29,10 @@
3411 -+
3412 -+ BUILDDIR = ..
3413 -+
3414 -+-SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=true JAVAC_WARNINGS_FATAL=true
3415 -++SUBDIRS_MAKEFLAGS += JAVAC_MAX_WARNINGS=true
3416 -++ifneq ($(JAVAC_WARNINGS_FATAL),false)
3417 -++ SUBDIRS_MAKEFLAGS += JAVAC_WARNINGS_FATAL=true
3418 -++endif
3419 -+ include $(BUILDDIR)/common/Defs.gmk
3420 -+
3421 -+ # Note: freetypecheck is built by Sanity.gmk if needed
3422 -+--- openjdk/langtools/make/Makefile
3423 -++++ openjdk/langtools/make/Makefile
3424 -+@@ -111,6 +111,10 @@
3425 -+ ANT_OPTIONS += -Ddebug.classfiles=true
3426 -+ endif
3427 -+
3428 -++ifeq ($(JAVAC_WARNINGS_FATAL),false)
3429 -++ ANT_OPTIONS += -Djavac.lint.opts=-Xlint:all,-deprecation
3430 -++endif
3431 -++
3432 -+ # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN)
3433 -+ # and the somewhat misnamed CLASS_VERSION (-target NN)
3434 -+ ifdef TARGET_CLASS_VERSION
3435
3436 diff --git a/dev-java/icedtea/files/icedtea-7.2.3.1-pax_mark_rmic_java.patch b/dev-java/icedtea/files/icedtea-7.2.3.1-pax_mark_rmic_java.patch
3437 deleted file mode 100644
3438 index c665253..0000000
3439 --- a/dev-java/icedtea/files/icedtea-7.2.3.1-pax_mark_rmic_java.patch
3440 +++ /dev/null
3441 @@ -1,31 +0,0 @@
3442 -diff --git a/Makefile.am b/Makefile.am
3443 -index 49d8bc4..85ac971 100644
3444 ---- a/Makefile.am
3445 -+++ b/Makefile.am
3446 -@@ -277,7 +277,9 @@ ICEDTEA_PATCHES += patches/nss-not-enabled-config.patch
3447 - endif
3448 -
3449 - if WITH_PAX
3450 --ICEDTEA_PATCHES += patches/test_gamma.patch
3451 -+ICEDTEA_PATCHES += \
3452 -+ patches/test_gamma.patch \
3453 -+ patches/pax-mark-rmic-java.patch
3454 - endif
3455 -
3456 - ICEDTEA_PATCHES += $(DISTRIBUTION_PATCHES)
3457 -diff --git a/patches/pax-mark-rmic-java.patch b/patches/pax-mark-rmic-java.patch
3458 -new file mode 100644
3459 -index 0000000..ad80f3a
3460 ---- /dev/null
3461 -+++ b/patches/pax-mark-rmic-java.patch
3462 -@@ -0,0 +1,10 @@
3463 -+--- openjdk/jdk/make/com/sun/jmx/Makefile
3464 -++++ openjdk/jdk/make/com/sun/jmx/Makefile
3465 -+@@ -119,6 +119,7 @@
3466 -+
3467 -+ $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class
3468 -+ $(prep-target)
3469 -++ "$(TOPDIR)"/../../pax-mark-vm "$(OUTPUTDIR)"
3470 -+ $(RMIC) -classpath "$(CLASSDESTDIR)" \
3471 -+ -d $(CLASSDESTDIR) \
3472 -+ -v1.2 \
3473
3474 diff --git a/dev-java/icedtea/icedtea-6.1.11.2.ebuild b/dev-java/icedtea/icedtea-6.1.11.2.ebuild
3475 deleted file mode 100644
3476 index 38fbc3d..0000000
3477 --- a/dev-java/icedtea/icedtea-6.1.11.2.ebuild
3478 +++ /dev/null
3479 @@ -1,316 +0,0 @@
3480 -# Copyright 1999-2012 Gentoo Foundation
3481 -# Distributed under the terms of the GNU General Public License v2
3482 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.2.ebuild,v 1.1 2012/05/14 16:27:04 sera Exp $
3483 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
3484 -
3485 -# *********************************************************
3486 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
3487 -# *********************************************************
3488 -
3489 -EAPI="5"
3490 -
3491 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
3492 -
3493 -ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
3494 -OPENJDK_BUILD="24"
3495 -OPENJDK_DATE="14_nov_2011"
3496 -OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
3497 -JAXP_TARBALL="jaxp144_03.zip"
3498 -JAXWS_TARBALL="jdk6-jaxws2_1_6-2011_06_13.zip"
3499 -JAF_TARBALL="jdk6-jaf-b20.zip"
3500 -CACAO_TARBALL="cff92704c4e0.tar.gz"
3501 -
3502 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
3503 -HOMEPAGE="http://icedtea.classpath.org"
3504 -SRC_URI="
3505 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
3506 - http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
3507 - http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
3508 - http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
3509 - http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
3510 - !amd64? ( !sparc? ( !x86? (
3511 - http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
3512 - ) ) )"
3513 -
3514 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
3515 -SLOT="6"
3516 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
3517 -
3518 -IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
3519 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
3520 -
3521 -# Ideally the following were optional at build time.
3522 -ALSA_COMMON_DEP="
3523 - >=media-libs/alsa-lib-1.0"
3524 -CUPS_COMMON_DEP="
3525 - >=net-print/cups-1.2.12"
3526 -X_COMMON_DEP="
3527 - dev-libs/glib
3528 - >=media-libs/freetype-2.3.5
3529 - >=x11-libs/gtk+-2.8:2
3530 - >=x11-libs/libX11-1.1.3
3531 - >=x11-libs/libXext-1.1.1
3532 - >=x11-libs/libXi-1.1.3
3533 - >=x11-libs/libXrender-0.9.4
3534 - >=x11-libs/libXtst-1.0.3"
3535 -X_DEPEND="
3536 - >=x11-libs/libXau-1.0.3
3537 - >=x11-libs/libXdmcp-1.0.2
3538 - >=x11-libs/libXinerama-1.0.2
3539 - >=x11-libs/libXp-1.0.0
3540 - x11-proto/inputproto
3541 - >=x11-proto/xextproto-7.1.1
3542 - x11-proto/xineramaproto
3543 - x11-proto/xproto"
3544 -
3545 -COMMON_DEP="
3546 - >=media-libs/giflib-4.1.6
3547 - >=media-libs/libpng-1.2:=
3548 - >=sys-libs/zlib-1.2.3
3549 - virtual/jpeg
3550 - javascript? ( dev-java/rhino:1.6 )
3551 - nss? ( >=dev-libs/nss-3.12.5-r1 )
3552 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
3553 - systemtap? ( >=dev-util/systemtap-1 )"
3554 -
3555 -# media-fonts/lklug needs ppc ppc64 keywords
3556 -RDEPEND="${COMMON_DEP}
3557 - !dev-java/icedtea6
3558 - X? (
3559 - ${X_COMMON_DEP}
3560 - media-fonts/dejavu
3561 - cjk? (
3562 - media-fonts/arphicfonts
3563 - media-fonts/baekmuk-fonts
3564 - !ppc? ( !ppc64? ( media-fonts/lklug ) )
3565 - media-fonts/lohit-fonts
3566 - media-fonts/sazanami
3567 - )
3568 - )
3569 - alsa? ( ${ALSA_COMMON_DEP} )
3570 - cups? ( ${CUPS_COMMON_DEP} )"
3571 -
3572 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
3573 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
3574 -# xext headers have two variants depending on version - bug #288855
3575 -# !eclipse-ecj-3.7 - bug #392587
3576 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
3577 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
3578 - || (
3579 - >=dev-java/gcj-jdk-4.3
3580 - dev-java/icedtea-bin:6
3581 - dev-java/icedtea:6
3582 - )
3583 - app-arch/cpio
3584 - app-arch/unzip
3585 - app-arch/zip
3586 - app-misc/ca-certificates
3587 - >=dev-java/ant-core-1.8.1
3588 - dev-java/ant-nodeps
3589 - dev-lang/perl
3590 - >=dev-libs/libxslt-1.1.26
3591 - dev-libs/openssl
3592 - virtual/pkgconfig
3593 - sys-apps/lsb-release
3594 - ${X_DEPEND}
3595 - jbootstrap? (
3596 - || ( <dev-java/eclipse-ecj-3.7 dev-java/ecj-gcj )
3597 - )
3598 - pax_kernel? ( sys-apps/paxctl )"
3599 -
3600 -PDEPEND="webstart? ( dev-java/icedtea-web:6 )
3601 - nsplugin? ( dev-java/icedtea-web:6[nsplugin] )"
3602 -
3603 -S="${WORKDIR}"/${ICEDTEA_PKG}
3604 -
3605 -pkg_setup() {
3606 - JAVA_PKG_WANT_BUILD_VM="
3607 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
3608 - gcj-jdk"
3609 - JAVA_PKG_WANT_SOURCE="1.5"
3610 - JAVA_PKG_WANT_TARGET="1.5"
3611 -
3612 - java-vm-2_pkg_setup
3613 - java-pkg-2_pkg_setup
3614 -}
3615 -
3616 -src_unpack() {
3617 - unpack ${ICEDTEA_PKG}.tar.gz
3618 -}
3619 -
3620 -java_prepare() {
3621 - # icedtea doesn't like some locales. #330433 #389717
3622 - export LANG="C" LC_ALL="C"
3623 -
3624 - epatch "${FILESDIR}"/${PN}-${SLOT}_pax_kernel_support.patch #389751
3625 - eautoreconf
3626 -}
3627 -
3628 -src_configure() {
3629 - local config bootstrap
3630 - local vm=$(java-pkg_get-current-vm)
3631 -
3632 - # IcedTea6 can't be built using IcedTea7; its class files are too new
3633 - if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
3634 - use jbootstrap && bootstrap=yes
3635 - elif has "${vm}" gcj-jdk; then
3636 - # gcj-jdk ensures ecj is present.
3637 - use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
3638 - bootstrap=yes
3639 - else
3640 - eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
3641 - die "Install a GNU Classpath JDK (gcj-jdk)"
3642 - fi
3643 -
3644 - if [[ ${bootstrap} ]]; then
3645 - config="${config} --enable-bootstrap"
3646 -
3647 - # icedtea-6 javac wrapper requires to always have ecj if bootstrapping #392337
3648 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
3649 - # Don't use eclipse-ecj-3.7 #392587
3650 - local ecj_all=( "${EPREFIX}"/usr/share/{eclipse-ecj,ecj-gcj}-* )
3651 - ecj_all=( "${ecj_all[@]/*eclipse-ecj-3.7*/}" )
3652 - if ! has "${ecj_jar%/lib/ecj.jar}" "${ecj_all[@]}"; then
3653 - ecj_jar="${ecj_jar%/lib/ecj.jar}"
3654 - ewarn "${ecj_jar##*/} set as system ecj, can't use for bootstrap"
3655 - ewarn "Found usable: ${ecj_all[@]##*/}"
3656 - ewarn "using ${ecj_all##*/} instead"
3657 - ecj_jar="${ecj_all}"/lib/ecj.jar
3658 - fi
3659 - config="${config} --with-ecj-jar=${ecj_jar}"
3660 - else
3661 - config="${config} --disable-bootstrap"
3662 - fi
3663 -
3664 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
3665 - # Otherwise use CACAO
3666 - if ! has "${ARCH}" amd64 sparc x86; then
3667 - config="${config} --enable-cacao --with-cacao-src-zip=${DISTDIR}/${CACAO_TARBALL}"
3668 - fi
3669 -
3670 - # OpenJDK-specific parallelism support. Bug #389791, #337827
3671 - # Implementation modified from waf-utils.eclass
3672 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
3673 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
3674 - config="${config} --with-parallel-jobs=${procs}";
3675 - einfo "Configuring using --with-parallel-jobs=${procs}"
3676 -
3677 - if use javascript ; then
3678 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
3679 - else
3680 - config="${config} --without-rhino"
3681 - fi
3682 -
3683 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
3684 -
3685 - econf ${config} \
3686 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
3687 - --with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
3688 - --with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
3689 - --with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
3690 - --with-jdk-home="$(java-config -O)" \
3691 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
3692 - $(use_enable !debug optimizations) \
3693 - $(use_enable doc docs) \
3694 - $(use_enable nss) \
3695 - $(use_enable pulseaudio pulse-java) \
3696 - $(use_enable systemtap) \
3697 - $(use_with pax_kernel pax paxctl)
3698 -}
3699 -
3700 -src_compile() {
3701 - # Would use GENTOO_VM otherwise.
3702 - export ANT_RESPECT_JAVA_HOME=TRUE
3703 -
3704 - # Load the least that's needed to avoid possible classpath collisions.
3705 - export ANT_TASKS="ant-nodeps"
3706 -
3707 - emake
3708 -}
3709 -
3710 -src_test() {
3711 - # Use Xvfb for tests
3712 - unset DISPLAY
3713 -
3714 - Xemake -j1 check
3715 -}
3716 -
3717 -src_install() {
3718 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
3719 - local ddest="${ED}/${dest}"
3720 - dodir "${dest}"
3721 -
3722 - dodoc README NEWS AUTHORS THANKYOU
3723 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
3724 -
3725 - cd openjdk.build/j2sdk-image || die
3726 -
3727 - # Ensures HeadlessGraphicsEnvironment is used.
3728 - if ! use X; then
3729 - rm -r jre/lib/$(get_system_arch)/xawt || die
3730 - fi
3731 -
3732 - #402507
3733 - mkdir jre/.systemPrefs || die
3734 - touch jre/.systemPrefs/.system.lock || die
3735 - touch jre/.systemPrefs/.systemRootModFile || die
3736 -
3737 - # doins can't handle symlinks.
3738 - cp -vRP bin include jre lib man "${ddest}" || die
3739 -
3740 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
3741 -
3742 - if use doc; then
3743 - # java-pkg_dohtml needed for package-list #302654
3744 - java-pkg_dohtml -r ../docs/* || die
3745 - fi
3746 -
3747 - if use examples; then
3748 - dodir "${dest}/share";
3749 - cp -vRP demo sample "${ddest}/share/" || die
3750 - fi
3751 -
3752 - if use source; then
3753 - cp src.zip "${ddest}" || die
3754 - fi
3755 -
3756 - # Fix the permissions.
3757 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
3758 -
3759 - # Needs to be done before generating cacerts
3760 - java-vm_set-pax-markings "${ddest}"
3761 -
3762 - # We need to generate keystore - bug #273306
3763 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
3764 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
3765 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
3766 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
3767 - openssl x509 -text -in "${c}" >> all.crt || die
3768 - done
3769 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
3770 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
3771 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
3772 -
3773 - # Bug 390663
3774 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
3775 - eprefixify "${T}"/fontconfig.Gentoo.properties
3776 - insinto "${dest}"/jre/lib
3777 - doins "${T}"/fontconfig.Gentoo.properties
3778 -
3779 - set_java_env "${FILESDIR}/icedtea.env"
3780 - if ! use X || ! use alsa || ! use cups; then
3781 - java-vm_revdep-mask "${dest}"
3782 - fi
3783 -}
3784 -
3785 -pkg_preinst() {
3786 - if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
3787 - # portage would preserve the symlink otherwise, related to bug #384397
3788 - rm -f "${EROOT}/usr/lib/jvm/icedtea6"
3789 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
3790 - elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
3791 - elog "If you had icedtea6 as system VM, the change should be automatic, however"
3792 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
3793 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
3794 - fi
3795 -}
3796
3797 diff --git a/dev-java/icedtea/icedtea-6.1.11.3.ebuild b/dev-java/icedtea/icedtea-6.1.11.3.ebuild
3798 deleted file mode 100644
3799 index a718c64..0000000
3800 --- a/dev-java/icedtea/icedtea-6.1.11.3.ebuild
3801 +++ /dev/null
3802 @@ -1,336 +0,0 @@
3803 -# Copyright 1999-2012 Gentoo Foundation
3804 -# Distributed under the terms of the GNU General Public License v2
3805 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.3.ebuild,v 1.2 2012/06/24 08:19:48 sera Exp $
3806 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
3807 -
3808 -# *********************************************************
3809 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
3810 -# *********************************************************
3811 -
3812 -EAPI="5"
3813 -
3814 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
3815 -
3816 -ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
3817 -OPENJDK_BUILD="24"
3818 -OPENJDK_DATE="14_nov_2011"
3819 -OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
3820 -JAXP_TARBALL="jaxp144_03.zip"
3821 -JAXWS_TARBALL="jdk6-jaxws2_1_6-2011_06_13.zip"
3822 -JAF_TARBALL="jdk6-jaf-b20.zip"
3823 -CACAO_TARBALL="cff92704c4e0.tar.gz"
3824 -JAMVM_TARBALL="jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz"
3825 -
3826 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
3827 -HOMEPAGE="http://icedtea.classpath.org"
3828 -SRC_URI="
3829 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
3830 - http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
3831 - http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
3832 - http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
3833 - http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
3834 - http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
3835 - http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}"
3836 -
3837 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
3838 -SLOT="6"
3839 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
3840 -
3841 -IUSE="+X +alsa cacao cjk +cups debug doc examples javascript +jbootstrap +nsplugin
3842 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
3843 -
3844 -# Ideally the following were optional at build time.
3845 -ALSA_COMMON_DEP="
3846 - >=media-libs/alsa-lib-1.0"
3847 -CUPS_COMMON_DEP="
3848 - >=net-print/cups-1.2.12"
3849 -X_COMMON_DEP="
3850 - dev-libs/glib
3851 - >=media-libs/freetype-2.3.5
3852 - >=x11-libs/gtk+-2.8:2
3853 - >=x11-libs/libX11-1.1.3
3854 - >=x11-libs/libXext-1.1.1
3855 - >=x11-libs/libXi-1.1.3
3856 - >=x11-libs/libXrender-0.9.4
3857 - >=x11-libs/libXtst-1.0.3"
3858 -X_DEPEND="
3859 - >=x11-libs/libXau-1.0.3
3860 - >=x11-libs/libXdmcp-1.0.2
3861 - >=x11-libs/libXinerama-1.0.2
3862 - >=x11-libs/libXp-1.0.0
3863 - x11-proto/inputproto
3864 - >=x11-proto/xextproto-7.1.1
3865 - x11-proto/xineramaproto
3866 - x11-proto/xproto"
3867 -
3868 -COMMON_DEP="
3869 - >=media-libs/giflib-4.1.6
3870 - >=media-libs/libpng-1.2:=
3871 - >=sys-libs/zlib-1.2.3
3872 - virtual/jpeg
3873 - javascript? ( dev-java/rhino:1.6 )
3874 - nss? ( >=dev-libs/nss-3.12.5-r1 )
3875 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
3876 - systemtap? ( >=dev-util/systemtap-1 )"
3877 -
3878 -# media-fonts/lklug needs ppc ppc64 keywords
3879 -RDEPEND="${COMMON_DEP}
3880 - !dev-java/icedtea6
3881 - X? (
3882 - ${X_COMMON_DEP}
3883 - media-fonts/dejavu
3884 - cjk? (
3885 - media-fonts/arphicfonts
3886 - media-fonts/baekmuk-fonts
3887 - !ppc? ( !ppc64? ( media-fonts/lklug ) )
3888 - media-fonts/lohit-fonts
3889 - media-fonts/sazanami
3890 - )
3891 - )
3892 - alsa? ( ${ALSA_COMMON_DEP} )
3893 - cups? ( ${CUPS_COMMON_DEP} )"
3894 -
3895 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
3896 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
3897 -# xext headers have two variants depending on version - bug #288855
3898 -# !eclipse-ecj-3.7 - bug #392587
3899 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
3900 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
3901 - || (
3902 - >=dev-java/gcj-jdk-4.3
3903 - dev-java/icedtea-bin:6
3904 - dev-java/icedtea:6
3905 - )
3906 - app-arch/cpio
3907 - app-arch/unzip
3908 - app-arch/zip
3909 - app-misc/ca-certificates
3910 - >=dev-java/ant-core-1.8.1
3911 - dev-java/ant-nodeps
3912 - dev-lang/perl
3913 - >=dev-libs/libxslt-1.1.26
3914 - dev-libs/openssl
3915 - virtual/pkgconfig
3916 - sys-apps/lsb-release
3917 - ${X_DEPEND}
3918 - jbootstrap? (
3919 - || ( <dev-java/eclipse-ecj-3.7 dev-java/ecj-gcj )
3920 - )
3921 - pax_kernel? ( sys-apps/paxctl )"
3922 -
3923 -PDEPEND="webstart? ( dev-java/icedtea-web:6 )
3924 - nsplugin? ( dev-java/icedtea-web:6[nsplugin] )"
3925 -
3926 -S="${WORKDIR}"/${ICEDTEA_PKG}
3927 -
3928 -pkg_setup() {
3929 - JAVA_PKG_WANT_BUILD_VM="
3930 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
3931 - gcj-jdk"
3932 - JAVA_PKG_WANT_SOURCE="1.5"
3933 - JAVA_PKG_WANT_TARGET="1.5"
3934 -
3935 - java-vm-2_pkg_setup
3936 - java-pkg-2_pkg_setup
3937 -}
3938 -
3939 -src_unpack() {
3940 - unpack ${ICEDTEA_PKG}.tar.gz
3941 -}
3942 -
3943 -java_prepare() {
3944 - # icedtea doesn't like some locales. #330433 #389717
3945 - export LANG="C" LC_ALL="C"
3946 -
3947 - epatch "${FILESDIR}"/${PN}-${SLOT}_pax_kernel_support.patch #389751 #422525
3948 - epatch "${FILESDIR}"/${PN}-${SLOT}-pass_javac_memory_args_to_vm.patch
3949 - eautoreconf
3950 -}
3951 -
3952 -bootstrap_impossible() {
3953 - # Fill this according to testing what works and what not
3954 - has "${1}" # icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
3955 -}
3956 -
3957 -src_configure() {
3958 - local config bootstrap enable_cacao
3959 - local vm=$(java-pkg_get-current-vm)
3960 -
3961 - # IcedTea6 can't be built using IcedTea7; its class files are too new
3962 - # Whether to bootstrap
3963 - bootstrap="disable"
3964 - if use jbootstrap; then
3965 - if bootstrap_impossible "${vm}"; then
3966 - einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
3967 - else
3968 - bootstrap="enable"
3969 - fi
3970 - fi
3971 -
3972 - if has "${vm}" gcj-jdk; then
3973 - # gcj-jdk ensures ecj is present.
3974 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
3975 - bootstrap="enable"
3976 - fi
3977 -
3978 - config="${config} --${bootstrap}-bootstrap"
3979 -
3980 - if [[ ${bootstrap} == enable ]]; then
3981 - # icedtea-6 javac wrapper requires to always have ecj if bootstrapping #392337
3982 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
3983 - # Don't use eclipse-ecj-3.7 #392587
3984 - local ecj_all=( "${EPREFIX}"/usr/share/{eclipse-ecj,ecj-gcj}-* )
3985 - ecj_all=( "${ecj_all[@]/*eclipse-ecj-3.7*/}" )
3986 - if ! has "${ecj_jar%/lib/ecj.jar}" "${ecj_all[@]}"; then
3987 - ecj_jar="${ecj_jar%/lib/ecj.jar}"
3988 - ewarn "${ecj_jar##*/} set as system ecj, can't use for bootstrap"
3989 - ewarn "Found usable: ${ecj_all[@]##*/}"
3990 - ewarn "using ${ecj_all##*/} instead"
3991 - ecj_jar="${ecj_all}"/lib/ecj.jar
3992 - fi
3993 - config="${config} --with-ecj-jar=${ecj_jar}"
3994 - fi
3995 -
3996 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
3997 - # Otherwise use CACAO
3998 - if ! has "${ARCH}" amd64 sparc x86; then
3999 - enable_cacao=yes
4000 - elif use cacao; then
4001 - ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
4002 - ewarn 'If so, please rebuild with USE="-cacao"'
4003 - enable_cacao=yes
4004 - fi
4005 -
4006 - if [[ ${enable_cacao} ]]; then
4007 - config="${config} --enable-cacao"
4008 - fi
4009 -
4010 - # OpenJDK-specific parallelism support. Bug #389791, #337827
4011 - # Implementation modified from waf-utils.eclass
4012 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
4013 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
4014 - config="${config} --with-parallel-jobs=${procs}";
4015 - einfo "Configuring using --with-parallel-jobs=${procs}"
4016 -
4017 - if use javascript ; then
4018 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
4019 - else
4020 - config="${config} --without-rhino"
4021 - fi
4022 -
4023 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
4024 -
4025 - econf ${config} \
4026 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
4027 - --with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
4028 - --with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
4029 - --with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
4030 - --with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
4031 - --with-jamvm-src-zip="${DISTDIR}/${JAMVM_TARBALL}" \
4032 - --with-jdk-home="$(java-config -O)" \
4033 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
4034 - $(use_enable !debug optimizations) \
4035 - $(use_enable doc docs) \
4036 - $(use_enable nss) \
4037 - $(use_enable pulseaudio pulse-java) \
4038 - $(use_enable systemtap) \
4039 - $(use_with pax_kernel pax paxctl)
4040 -}
4041 -
4042 -src_compile() {
4043 - # Would use GENTOO_VM otherwise.
4044 - export ANT_RESPECT_JAVA_HOME=TRUE
4045 -
4046 - # Load the least that's needed to avoid possible classpath collisions.
4047 - export ANT_TASKS="ant-nodeps"
4048 -
4049 - emake
4050 -}
4051 -
4052 -src_test() {
4053 - # Use Xvfb for tests
4054 - unset DISPLAY
4055 -
4056 - Xemake check
4057 -}
4058 -
4059 -src_install() {
4060 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
4061 - local ddest="${ED}/${dest}"
4062 - dodir "${dest}"
4063 -
4064 - dodoc README NEWS AUTHORS THANKYOU
4065 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
4066 - docompress -x /usr/share/doc/${PN}${SLOT}
4067 -
4068 - cd openjdk.build/j2sdk-image || die
4069 -
4070 - # Ensures HeadlessGraphicsEnvironment is used.
4071 - if ! use X; then
4072 - rm -r jre/lib/$(get_system_arch)/xawt || die
4073 - fi
4074 -
4075 - #402507
4076 - mkdir jre/.systemPrefs || die
4077 - touch jre/.systemPrefs/.system.lock || die
4078 - touch jre/.systemPrefs/.systemRootModFile || die
4079 -
4080 - # doins can't handle symlinks.
4081 - cp -vRP bin include jre lib man "${ddest}" || die
4082 -
4083 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
4084 -
4085 - if use doc; then
4086 - # java-pkg_dohtml needed for package-list #302654
4087 - java-pkg_dohtml -r ../docs/* || die
4088 - fi
4089 -
4090 - if use examples; then
4091 - dodir "${dest}/share";
4092 - cp -vRP demo sample "${ddest}/share/" || die
4093 - fi
4094 -
4095 - if use source; then
4096 - cp src.zip "${ddest}" || die
4097 - fi
4098 -
4099 - # Fix the permissions.
4100 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
4101 -
4102 - # Needs to be done before generating cacerts
4103 - java-vm_set-pax-markings "${ddest}"
4104 -
4105 - # We need to generate keystore - bug #273306
4106 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
4107 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
4108 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
4109 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
4110 - openssl x509 -text -in "${c}" >> all.crt || die
4111 - done
4112 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
4113 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
4114 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
4115 -
4116 - # Bug 390663
4117 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
4118 - eprefixify "${T}"/fontconfig.Gentoo.properties
4119 - insinto "${dest}"/jre/lib
4120 - doins "${T}"/fontconfig.Gentoo.properties
4121 -
4122 - set_java_env "${FILESDIR}/icedtea.env"
4123 - if ! use X || ! use alsa || ! use cups; then
4124 - java-vm_revdep-mask "${dest}"
4125 - fi
4126 -}
4127 -
4128 -pkg_preinst() {
4129 - if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
4130 - # portage would preserve the symlink otherwise, related to bug #384397
4131 - rm -f "${EROOT}/usr/lib/jvm/icedtea6"
4132 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
4133 - elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
4134 - elog "If you had icedtea6 as system VM, the change should be automatic, however"
4135 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
4136 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
4137 - fi
4138 -}
4139
4140 diff --git a/dev-java/icedtea/icedtea-6.1.11.4.ebuild b/dev-java/icedtea/icedtea-6.1.11.4.ebuild
4141 index e97c142..ad0c64e 100644
4142 --- a/dev-java/icedtea/icedtea-6.1.11.4.ebuild
4143 +++ b/dev-java/icedtea/icedtea-6.1.11.4.ebuild
4144 @@ -1,6 +1,6 @@
4145 # Copyright 1999-2012 Gentoo Foundation
4146 # Distributed under the terms of the GNU General Public License v2
4147 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.4.ebuild,v 1.1 2012/09/02 11:48:02 caster Exp $
4148 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.4.ebuild,v 1.2 2012/09/26 08:42:27 sera Exp $
4149 # Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
4150
4151 # *********************************************************
4152 @@ -213,7 +213,7 @@ src_configure() {
4153 einfo "Configuring using --with-parallel-jobs=${procs}"
4154
4155 if use javascript ; then
4156 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
4157 + config="${config} --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
4158 else
4159 config="${config} --without-rhino"
4160 fi
4161
4162 diff --git a/dev-java/icedtea/icedtea-7.2.1.1.ebuild b/dev-java/icedtea/icedtea-7.2.1.1.ebuild
4163 deleted file mode 100644
4164 index c310fc1..0000000
4165 --- a/dev-java/icedtea/icedtea-7.2.1.1.ebuild
4166 +++ /dev/null
4167 @@ -1,340 +0,0 @@
4168 -# Copyright 1999-2012 Gentoo Foundation
4169 -# Distributed under the terms of the GNU General Public License v2
4170 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.1.1.ebuild,v 1.2 2012/06/24 08:19:48 sera Exp $
4171 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
4172 -
4173 -# *********************************************************
4174 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
4175 -# *********************************************************
4176 -
4177 -EAPI="5"
4178 -
4179 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
4180 -
4181 -ICEDTEA_VER=$(get_version_component_range 2-)
4182 -ICEDTEA_BRANCH=$(get_version_component_range 2-3)
4183 -ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
4184 -OPENJDK_TARBALL="22cc03983e20.tar.gz"
4185 -CORBA_TARBALL="338c21646c76.tar.gz"
4186 -HOTSPOT_TARBALL="8b7c4c5f6ba9.tar.gz"
4187 -JAXP_TARBALL="7a8825b15df6.tar.gz"
4188 -JAXWS_TARBALL="7edfbfe974f2.tar.gz"
4189 -JDK_TARBALL="d5ddeffc4651.tar.gz"
4190 -LANGTOOLS_TARBALL="b534c4c6cd9b.tar.gz"
4191 -CACAO_TARBALL="a567bcb7f589.tar.gz"
4192 -JAMVM_TARBALL="jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz"
4193 -
4194 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
4195 -HOMEPAGE="http://icedtea.classpath.org"
4196 -SRC_URI="
4197 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
4198 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/archive/${OPENJDK_TARBALL}
4199 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/corba/archive/${CORBA_TARBALL}
4200 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxp/archive/${JAXP_TARBALL}
4201 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxws/archive/${JAXWS_TARBALL}
4202 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jdk/archive/${JDK_TARBALL}
4203 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/hotspot/archive/${HOTSPOT_TARBALL}
4204 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/langtools/archive/${LANGTOOLS_TARBALL}
4205 - http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
4206 - http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}"
4207 -
4208 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
4209 -SLOT="7"
4210 -KEYWORDS="~amd64 ~ia64 ~x86"
4211 -
4212 -IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
4213 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
4214 -
4215 -# Ideally the following were optional at build time.
4216 -ALSA_COMMON_DEP="
4217 - >=media-libs/alsa-lib-1.0"
4218 -CUPS_COMMON_DEP="
4219 - >=net-print/cups-1.2.12"
4220 -X_COMMON_DEP="
4221 - >=dev-libs/atk-1.30.0
4222 - >=dev-libs/glib-2.26
4223 - media-libs/fontconfig
4224 - >=media-libs/freetype-2.3.5
4225 - >=x11-libs/cairo-1.8.8
4226 - x11-libs/gdk-pixbuf:2
4227 - >=x11-libs/gtk+-2.8:2
4228 - >=x11-libs/libX11-1.1.3
4229 - >=x11-libs/libXext-1.1.1
4230 - >=x11-libs/libXi-1.1.3
4231 - >=x11-libs/libXrender-0.9.4
4232 - >=x11-libs/libXtst-1.0.3
4233 - >=x11-libs/pango-1.24.5"
4234 -X_DEPEND="
4235 - >=x11-libs/libXau-1.0.3
4236 - >=x11-libs/libXdmcp-1.0.2
4237 - >=x11-libs/libXinerama-1.0.2
4238 - >=x11-libs/libXp-1.0.0
4239 - x11-proto/inputproto
4240 - >=x11-proto/xextproto-7.1.1
4241 - x11-proto/xineramaproto
4242 - x11-proto/xproto"
4243 -
4244 -COMMON_DEP="
4245 - >=media-libs/giflib-4.1.6
4246 - media-libs/lcms:2
4247 - >=media-libs/libpng-1.2:=
4248 - >=sys-libs/zlib-1.2.3
4249 - virtual/jpeg
4250 - javascript? ( dev-java/rhino:1.6 )
4251 - nss? ( >=dev-libs/nss-3.12.5-r1 )
4252 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
4253 - systemtap? ( >=dev-util/systemtap-1 )"
4254 -
4255 -# cups is needed for X. #390945 #390975
4256 -RDEPEND="${COMMON_DEP}
4257 - !dev-java/icedtea:0
4258 - X? (
4259 - ${CUPS_COMMON_DEP}
4260 - ${X_COMMON_DEP}
4261 - media-fonts/dejavu
4262 - cjk? (
4263 - media-fonts/arphicfonts
4264 - media-fonts/baekmuk-fonts
4265 - media-fonts/lklug
4266 - media-fonts/lohit-fonts
4267 - media-fonts/sazanami
4268 - )
4269 - )
4270 - alsa? ( ${ALSA_COMMON_DEP} )
4271 - cups? ( ${CUPS_COMMON_DEP} )"
4272 -
4273 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
4274 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
4275 -# xext headers have two variants depending on version - bug #288855
4276 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
4277 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
4278 - || (
4279 - >=dev-java/gcj-jdk-4.3
4280 - dev-java/icedtea-bin:7
4281 - dev-java/icedtea-bin:6
4282 - dev-java/icedtea:7
4283 - dev-java/icedtea:6
4284 - )
4285 - app-arch/cpio
4286 - app-arch/unzip
4287 - app-arch/zip
4288 - app-misc/ca-certificates
4289 - >=dev-java/ant-core-1.8.1
4290 - dev-java/ant-nodeps
4291 - dev-lang/perl
4292 - >=dev-libs/libxslt-1.1.26
4293 - dev-libs/openssl
4294 - virtual/pkgconfig
4295 - sys-apps/attr
4296 - sys-apps/lsb-release
4297 - ${X_DEPEND}
4298 - pax_kernel? ( sys-apps/paxctl )"
4299 -
4300 -PDEPEND="webstart? ( dev-java/icedtea-web:7 )
4301 - nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
4302 -
4303 -S="${WORKDIR}"/${ICEDTEA_PKG}
4304 -
4305 -pkg_setup() {
4306 - JAVA_PKG_WANT_BUILD_VM="
4307 - icedtea-7 icedtea-bin-7 icedtea7
4308 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
4309 - gcj-jdk"
4310 - JAVA_PKG_WANT_SOURCE="1.5"
4311 - JAVA_PKG_WANT_TARGET="1.5"
4312 -
4313 - java-vm-2_pkg_setup
4314 - java-pkg-2_pkg_setup
4315 -}
4316 -
4317 -src_unpack() {
4318 - unpack ${ICEDTEA_PKG}.tar.gz
4319 -}
4320 -
4321 -java_prepare() {
4322 - # For bootstrap builds as the sandbox control file might not yet exist.
4323 - addpredict /proc/self/coredump_filter
4324 -
4325 - # icedtea doesn't like some locales. #330433 #389717
4326 - export LANG="C" LC_ALL="C"
4327 -
4328 - epatch "${FILESDIR}"/${PN}-7.2.0_pax_kernel_support.patch #389751
4329 - epatch "${FILESDIR}"/${PN}-${SLOT}-compiler_detection_cleanup.patch
4330 - epatch "${FILESDIR}"/${P}-pr986-cacao_memory_fix.patch
4331 - epatch "${FILESDIR}"/${PN}-${SLOT}-compile_for_7_cacao_mem.patch
4332 - epatch "${FILESDIR}"/${P}-pax_mark_rmic_java.patch #422525
4333 - eautoreconf
4334 -}
4335 -
4336 -bootstrap_impossible() {
4337 - # Fill this according to testing what works and what not
4338 - has "${1}" icedtea7 icedtea-7 icedtea-bin-7 icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
4339 -}
4340 -
4341 -src_configure() {
4342 - local config bootstrap
4343 - local vm=$(java-pkg_get-current-vm)
4344 -
4345 - # Whether to bootstrap
4346 - bootstrap="disable"
4347 - if use jbootstrap; then
4348 - if bootstrap_impossible "${vm}"; then
4349 - einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
4350 - else
4351 - bootstrap="enable"
4352 - fi
4353 - fi
4354 -
4355 - if has "${vm}" gcj-jdk; then
4356 - # gcj-jdk ensures ecj is present.
4357 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
4358 - bootstrap="enable"
4359 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
4360 - config="${config} --with-ecj-jar=${ecj_jar}"
4361 - fi
4362 -
4363 - config="${config} --${bootstrap}-bootstrap"
4364 -
4365 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
4366 - # Otherwise use JamVM as it's the only possibility right now
4367 - if ! has "${ARCH}" amd64 sparc x86; then
4368 - config="${config} --enable-jamvm"
4369 - fi
4370 -
4371 - # OpenJDK-specific parallelism support. Bug #389791, #337827
4372 - # Implementation modified from waf-utils.eclass
4373 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
4374 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
4375 - config="${config} --with-parallel-jobs=${procs}";
4376 - einfo "Configuring using --with-parallel-jobs=${procs}"
4377 -
4378 - if use javascript ; then
4379 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
4380 - else
4381 - config="${config} --without-rhino"
4382 - fi
4383 -
4384 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
4385 -
4386 - econf ${config} \
4387 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
4388 - --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
4389 - --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
4390 - --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
4391 - --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
4392 - --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
4393 - --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
4394 - --with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
4395 - --with-jamvm-src-zip="${DISTDIR}/${JAMVM_TARBALL}" \
4396 - --with-jdk-home="$(java-config -O)" \
4397 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
4398 - $(use_enable !debug optimizations) \
4399 - $(use_enable doc docs) \
4400 - $(use_enable nss) \
4401 - $(use_enable pulseaudio pulse-java) \
4402 - $(use_enable systemtap) \
4403 - $(use_with pax_kernel pax paxctl)
4404 -}
4405 -
4406 -src_compile() {
4407 - # Would use GENTOO_VM otherwise.
4408 - export ANT_RESPECT_JAVA_HOME=TRUE
4409 -
4410 - # Load the least that's needed to avoid possible classpath collisions.
4411 - export ANT_TASKS="ant-nodeps"
4412 -
4413 - emake -j 1
4414 -}
4415 -
4416 -src_test() {
4417 - # Use Xvfb for tests
4418 - unset DISPLAY
4419 -
4420 - Xemake -j1 check
4421 -}
4422 -
4423 -src_install() {
4424 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
4425 - local ddest="${ED}/${dest}"
4426 - dodir "${dest}"
4427 -
4428 - dodoc README NEWS AUTHORS
4429 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
4430 - docompress -x /usr/share/doc/${PN}${SLOT}
4431 -
4432 - cd openjdk.build/j2sdk-image || die
4433 -
4434 - # Ensures HeadlessGraphicsEnvironment is used.
4435 - if ! use X; then
4436 - rm -r jre/lib/$(get_system_arch)/xawt || die
4437 - fi
4438 -
4439 - # Don't hide classes
4440 - rm lib/ct.sym || die
4441 -
4442 - #402507
4443 - mkdir jre/.systemPrefs || die
4444 - touch jre/.systemPrefs/.system.lock || die
4445 - touch jre/.systemPrefs/.systemRootModFile || die
4446 -
4447 - # doins can't handle symlinks.
4448 - cp -vRP bin include jre lib man "${ddest}" || die
4449 -
4450 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
4451 -
4452 - if use doc; then
4453 - # java-pkg_dohtml needed for package-list #302654
4454 - java-pkg_dohtml -r ../docs/* || die
4455 - fi
4456 -
4457 - if use examples; then
4458 - dodir "${dest}/share";
4459 - cp -vRP demo sample "${ddest}/share/" || die
4460 - fi
4461 -
4462 - if use source; then
4463 - cp src.zip "${ddest}" || die
4464 - fi
4465 -
4466 - # Fix the permissions.
4467 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
4468 -
4469 - # Needs to be done before generating cacerts
4470 - java-vm_set-pax-markings "${ddest}"
4471 -
4472 - # We need to generate keystore - bug #273306
4473 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
4474 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
4475 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
4476 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
4477 - openssl x509 -text -in "${c}" >> all.crt || die
4478 - done
4479 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
4480 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
4481 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
4482 -
4483 - # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
4484 - # install it anyway. Bug 390663
4485 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
4486 - eprefixify "${T}"/fontconfig.Gentoo.properties
4487 - insinto "${dest}"/jre/lib
4488 - doins "${T}"/fontconfig.Gentoo.properties
4489 -
4490 - set_java_env "${FILESDIR}/icedtea.env"
4491 - if ! use X || ! use alsa || ! use cups; then
4492 - java-vm_revdep-mask "${dest}"
4493 - fi
4494 - java-vm_sandbox-predict /proc/self/coredump_filter
4495 -}
4496 -
4497 -pkg_preinst() {
4498 - if has_version "<=dev-java/icedtea-7.2.0:7"; then
4499 - # portage would preserve the symlink otherwise, related to bug #384397
4500 - rm -f "${EROOT}/usr/lib/jvm/icedtea7"
4501 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
4502 - elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
4503 - elog "If you had icedtea7 as system VM, the change should be automatic, however"
4504 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
4505 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
4506 - fi
4507 -}
4508
4509 diff --git a/dev-java/icedtea/icedtea-7.2.1.ebuild b/dev-java/icedtea/icedtea-7.2.1.ebuild
4510 deleted file mode 100644
4511 index fe989be..0000000
4512 --- a/dev-java/icedtea/icedtea-7.2.1.ebuild
4513 +++ /dev/null
4514 @@ -1,334 +0,0 @@
4515 -# Copyright 1999-2012 Gentoo Foundation
4516 -# Distributed under the terms of the GNU General Public License v2
4517 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.1.ebuild,v 1.4 2012/05/03 07:42:50 jdhore Exp $
4518 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
4519 -
4520 -# *********************************************************
4521 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
4522 -# *********************************************************
4523 -
4524 -EAPI="5"
4525 -
4526 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
4527 -
4528 -ICEDTEA_VER=$(get_version_component_range 2-)
4529 -ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
4530 -OPENJDK_TARBALL="22cc03983e20.tar.gz"
4531 -CORBA_TARBALL="5617f6c5cc94.tar.gz"
4532 -HOTSPOT_TARBALL="0e651e004747.tar.gz"
4533 -JAXP_TARBALL="1cf75c0e2c96.tar.gz"
4534 -JAXWS_TARBALL="7edfbfe974f2.tar.gz"
4535 -JDK_TARBALL="50f6f276a06c.tar.gz"
4536 -LANGTOOLS_TARBALL="b534c4c6cd9b.tar.gz"
4537 -JAMVM_TARBALL="jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz"
4538 -
4539 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
4540 -HOMEPAGE="http://icedtea.classpath.org"
4541 -SRC_URI="
4542 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
4543 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/archive/${OPENJDK_TARBALL}
4544 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/corba/archive/${CORBA_TARBALL}
4545 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jaxp/archive/${JAXP_TARBALL}
4546 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jaxws/archive/${JAXWS_TARBALL}
4547 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jdk/archive/${JDK_TARBALL}
4548 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/hotspot/archive/${HOTSPOT_TARBALL}
4549 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/langtools/archive/${LANGTOOLS_TARBALL}
4550 - !amd64? ( !sparc? ( !x86? (
4551 - http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}
4552 - ) ) )"
4553 -
4554 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
4555 -SLOT="7"
4556 -KEYWORDS="~amd64 ~ia64 ~x86"
4557 -
4558 -IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
4559 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
4560 -
4561 -# Ideally the following were optional at build time.
4562 -ALSA_COMMON_DEP="
4563 - >=media-libs/alsa-lib-1.0"
4564 -CUPS_COMMON_DEP="
4565 - >=net-print/cups-1.2.12"
4566 -X_COMMON_DEP="
4567 - >=dev-libs/atk-1.30.0
4568 - >=dev-libs/glib-2.26
4569 - media-libs/fontconfig
4570 - >=media-libs/freetype-2.3.5
4571 - >=x11-libs/cairo-1.8.8
4572 - x11-libs/gdk-pixbuf:2
4573 - >=x11-libs/gtk+-2.8:2
4574 - >=x11-libs/libX11-1.1.3
4575 - >=x11-libs/libXext-1.1.1
4576 - >=x11-libs/libXi-1.1.3
4577 - >=x11-libs/libXrender-0.9.4
4578 - >=x11-libs/libXtst-1.0.3
4579 - >=x11-libs/pango-1.24.5"
4580 -X_DEPEND="
4581 - >=x11-libs/libXau-1.0.3
4582 - >=x11-libs/libXdmcp-1.0.2
4583 - >=x11-libs/libXinerama-1.0.2
4584 - >=x11-libs/libXp-1.0.0
4585 - x11-proto/inputproto
4586 - >=x11-proto/xextproto-7.1.1
4587 - x11-proto/xineramaproto
4588 - x11-proto/xproto"
4589 -
4590 -COMMON_DEP="
4591 - >=media-libs/giflib-4.1.6
4592 - media-libs/lcms:2
4593 - >=media-libs/libpng-1.2:=
4594 - >=sys-libs/zlib-1.2.3
4595 - virtual/jpeg
4596 - javascript? ( dev-java/rhino:1.6 )
4597 - nss? ( >=dev-libs/nss-3.12.5-r1 )
4598 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
4599 - systemtap? ( >=dev-util/systemtap-1 )"
4600 -
4601 -# cups is needed for X. #390945 #390975
4602 -RDEPEND="${COMMON_DEP}
4603 - !dev-java/icedtea:0
4604 - X? (
4605 - ${CUPS_COMMON_DEP}
4606 - ${X_COMMON_DEP}
4607 - media-fonts/dejavu
4608 - cjk? (
4609 - media-fonts/arphicfonts
4610 - media-fonts/baekmuk-fonts
4611 - media-fonts/lklug
4612 - media-fonts/lohit-fonts
4613 - media-fonts/sazanami
4614 - )
4615 - )
4616 - alsa? ( ${ALSA_COMMON_DEP} )
4617 - cups? ( ${CUPS_COMMON_DEP} )"
4618 -
4619 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
4620 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
4621 -# xext headers have two variants depending on version - bug #288855
4622 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
4623 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
4624 - || (
4625 - >=dev-java/gcj-jdk-4.3
4626 - dev-java/icedtea-bin:7
4627 - dev-java/icedtea-bin:6
4628 - dev-java/icedtea:7
4629 - dev-java/icedtea:6
4630 - )
4631 - app-arch/cpio
4632 - app-arch/unzip
4633 - app-arch/zip
4634 - app-misc/ca-certificates
4635 - >=dev-java/ant-core-1.8.1
4636 - dev-java/ant-nodeps
4637 - dev-lang/perl
4638 - >=dev-libs/libxslt-1.1.26
4639 - dev-libs/openssl
4640 - virtual/pkgconfig
4641 - sys-apps/attr
4642 - sys-apps/lsb-release
4643 - || ( >=sys-devel/autoconf-2.65:2.5 <sys-devel/autoconf-2.64:2.5 )
4644 - ${X_DEPEND}
4645 - pax_kernel? ( sys-apps/paxctl )"
4646 -
4647 -PDEPEND="webstart? ( dev-java/icedtea-web:7 )
4648 - nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
4649 -
4650 -S="${WORKDIR}"/${ICEDTEA_PKG}
4651 -
4652 -pkg_setup() {
4653 - JAVA_PKG_WANT_BUILD_VM="
4654 - icedtea-7 icedtea-bin-7 icedtea7
4655 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
4656 - gcj-jdk"
4657 - JAVA_PKG_WANT_SOURCE="1.5"
4658 - JAVA_PKG_WANT_TARGET="1.5"
4659 -
4660 - java-vm-2_pkg_setup
4661 - java-pkg-2_pkg_setup
4662 -}
4663 -
4664 -src_unpack() {
4665 - unpack ${ICEDTEA_PKG}.tar.gz
4666 -}
4667 -
4668 -java_prepare() {
4669 - # For bootstrap builds as the sandbox control file might not yet exist.
4670 - addpredict /proc/self/coredump_filter
4671 -
4672 - # icedtea doesn't like some locales. #330433 #389717
4673 - export LANG="C" LC_ALL="C"
4674 -
4675 - epatch "${FILESDIR}"/${PN}-7.2.0_pax_kernel_support.patch #389751
4676 - epatch "${FILESDIR}"/${PN}-7.2.0-explicit-gthread.patch #402481
4677 - eautoreconf
4678 -}
4679 -
4680 -bootstrap_impossible() {
4681 - # Fill this according to testing what works and what not
4682 - has "${1}" icedtea7 icedtea-7 icedtea-bin-7 icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
4683 -}
4684 -
4685 -src_configure() {
4686 - local config bootstrap
4687 - local vm=$(java-pkg_get-current-vm)
4688 -
4689 - # Whether to bootstrap
4690 - bootstrap="disable"
4691 - if use jbootstrap; then
4692 - if bootstrap_impossible "${vm}"; then
4693 - einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
4694 - else
4695 - bootstrap="enable"
4696 - fi
4697 - fi
4698 -
4699 - if has "${vm}" gcj-jdk; then
4700 - # gcj-jdk ensures ecj is present.
4701 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
4702 - bootstrap="enable"
4703 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
4704 - config="${config} --with-ecj-jar=${ecj_jar}"
4705 - fi
4706 -
4707 - config="${config} --${bootstrap}-bootstrap"
4708 -
4709 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
4710 - # Otherwise use JamVM as it's the only possibility right now
4711 - if ! has "${ARCH}" amd64 sparc x86; then
4712 - config="${config} --enable-jamvm --with-jamvm-src-zip=${DISTDIR}/${JAMVM_TARBALL}"
4713 - fi
4714 -
4715 - # OpenJDK-specific parallelism support. Bug #389791, #337827
4716 - # Implementation modified from waf-utils.eclass
4717 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
4718 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
4719 - config="${config} --with-parallel-jobs=${procs}";
4720 - einfo "Configuring using --with-parallel-jobs=${procs}"
4721 -
4722 - if use javascript ; then
4723 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
4724 - else
4725 - config="${config} --without-rhino"
4726 - fi
4727 -
4728 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
4729 -
4730 - econf ${config} \
4731 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
4732 - --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
4733 - --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
4734 - --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
4735 - --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
4736 - --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
4737 - --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
4738 - --with-jdk-home="$(java-config -O)" \
4739 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
4740 - $(use_enable !debug optimizations) \
4741 - $(use_enable doc docs) \
4742 - $(use_enable nss) \
4743 - $(use_enable pulseaudio pulse-java) \
4744 - $(use_enable systemtap) \
4745 - $(use_with pax_kernel pax paxctl)
4746 -}
4747 -
4748 -src_compile() {
4749 - # Would use GENTOO_VM otherwise.
4750 - export ANT_RESPECT_JAVA_HOME=TRUE
4751 -
4752 - # Load the least that's needed to avoid possible classpath collisions.
4753 - export ANT_TASKS="ant-nodeps"
4754 -
4755 - emake -j 1
4756 -}
4757 -
4758 -src_test() {
4759 - # Use Xvfb for tests
4760 - unset DISPLAY
4761 -
4762 - Xemake -j1 check
4763 -}
4764 -
4765 -src_install() {
4766 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
4767 - local ddest="${ED}/${dest}"
4768 - dodir "${dest}"
4769 -
4770 - dodoc README NEWS AUTHORS
4771 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
4772 -
4773 - cd openjdk.build/j2sdk-image || die
4774 -
4775 - # Ensures HeadlessGraphicsEnvironment is used.
4776 - if ! use X; then
4777 - rm -r jre/lib/$(get_system_arch)/xawt || die
4778 - fi
4779 -
4780 - # Don't hide classes
4781 - rm lib/ct.sym || die
4782 -
4783 - #402507
4784 - mkdir jre/.systemPrefs || die
4785 - touch jre/.systemPrefs/.system.lock || die
4786 - touch jre/.systemPrefs/.systemRootModFile || die
4787 -
4788 - # doins can't handle symlinks.
4789 - cp -vRP bin include jre lib man "${ddest}" || die
4790 -
4791 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
4792 -
4793 - if use doc; then
4794 - # java-pkg_dohtml needed for package-list #302654
4795 - java-pkg_dohtml -r ../docs/* || die
4796 - fi
4797 -
4798 - if use examples; then
4799 - dodir "${dest}/share";
4800 - cp -vRP demo sample "${ddest}/share/" || die
4801 - fi
4802 -
4803 - if use source; then
4804 - cp src.zip "${ddest}" || die
4805 - fi
4806 -
4807 - # Fix the permissions.
4808 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
4809 -
4810 - # Needs to be done before generating cacerts
4811 - java-vm_set-pax-markings "${ddest}"
4812 -
4813 - # We need to generate keystore - bug #273306
4814 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
4815 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
4816 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
4817 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
4818 - openssl x509 -text -in "${c}" >> all.crt || die
4819 - done
4820 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
4821 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
4822 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
4823 -
4824 - # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
4825 - # install it anyway. Bug 390663
4826 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
4827 - eprefixify "${T}"/fontconfig.Gentoo.properties
4828 - insinto "${dest}"/jre/lib
4829 - doins "${T}"/fontconfig.Gentoo.properties
4830 -
4831 - set_java_env "${FILESDIR}/icedtea.env"
4832 - if ! use X || ! use alsa || ! use cups; then
4833 - java-vm_revdep-mask "${dest}"
4834 - fi
4835 - java-vm_sandbox-predict /proc/self/coredump_filter
4836 -}
4837 -
4838 -pkg_preinst() {
4839 - if has_version "<=dev-java/icedtea-7.2.0:7"; then
4840 - # portage would preserve the symlink otherwise, related to bug #384397
4841 - rm -f "${EROOT}/usr/lib/jvm/icedtea7"
4842 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
4843 - elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
4844 - elog "If you had icedtea7 as system VM, the change should be automatic, however"
4845 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
4846 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
4847 - fi
4848 -}
4849
4850 diff --git a/dev-java/icedtea/icedtea-7.2.2.1.ebuild b/dev-java/icedtea/icedtea-7.2.2.1.ebuild
4851 deleted file mode 100644
4852 index 3b7d2bc..0000000
4853 --- a/dev-java/icedtea/icedtea-7.2.2.1.ebuild
4854 +++ /dev/null
4855 @@ -1,343 +0,0 @@
4856 -# Copyright 1999-2012 Gentoo Foundation
4857 -# Distributed under the terms of the GNU General Public License v2
4858 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.2.1.ebuild,v 1.3 2012/06/27 19:08:57 sera Exp $
4859 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
4860 -
4861 -# *********************************************************
4862 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
4863 -# *********************************************************
4864 -
4865 -EAPI="5"
4866 -
4867 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
4868 -
4869 -ICEDTEA_VER=$(get_version_component_range 2-)
4870 -ICEDTEA_BRANCH=$(get_version_component_range 2-3)
4871 -ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
4872 -OPENJDK_TARBALL="0b776ef59474.tar.gz"
4873 -CORBA_TARBALL="38deb372c569.tar.gz"
4874 -HOTSPOT_TARBALL="889dffcf4a54.tar.gz"
4875 -JAXP_TARBALL="335fb0b059b7.tar.gz"
4876 -JAXWS_TARBALL="5471e01ef43b.tar.gz"
4877 -JDK_TARBALL="6c3b742b735d.tar.gz"
4878 -LANGTOOLS_TARBALL="beea46c7086b.tar.gz"
4879 -CACAO_TARBALL="a567bcb7f589.tar.gz"
4880 -JAMVM_TARBALL="jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz"
4881 -
4882 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
4883 -HOMEPAGE="http://icedtea.classpath.org"
4884 -SRC_URI="
4885 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
4886 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/archive/${OPENJDK_TARBALL}
4887 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/corba/archive/${CORBA_TARBALL}
4888 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxp/archive/${JAXP_TARBALL}
4889 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxws/archive/${JAXWS_TARBALL}
4890 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jdk/archive/${JDK_TARBALL}
4891 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/hotspot/archive/${HOTSPOT_TARBALL}
4892 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/langtools/archive/${LANGTOOLS_TARBALL}
4893 - http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
4894 - http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}"
4895 -
4896 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
4897 -SLOT="7"
4898 -KEYWORDS="~amd64 ~ia64 ~x86"
4899 -
4900 -IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
4901 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
4902 -
4903 -# Ideally the following were optional at build time.
4904 -ALSA_COMMON_DEP="
4905 - >=media-libs/alsa-lib-1.0"
4906 -CUPS_COMMON_DEP="
4907 - >=net-print/cups-1.2.12"
4908 -X_COMMON_DEP="
4909 - >=dev-libs/atk-1.30.0
4910 - >=dev-libs/glib-2.26
4911 - media-libs/fontconfig
4912 - >=media-libs/freetype-2.3.5
4913 - >=x11-libs/cairo-1.8.8
4914 - x11-libs/gdk-pixbuf:2
4915 - >=x11-libs/gtk+-2.8:2
4916 - >=x11-libs/libX11-1.1.3
4917 - >=x11-libs/libXext-1.1.1
4918 - >=x11-libs/libXi-1.1.3
4919 - >=x11-libs/libXrender-0.9.4
4920 - >=x11-libs/libXtst-1.0.3
4921 - >=x11-libs/pango-1.24.5"
4922 -X_DEPEND="
4923 - >=x11-libs/libXau-1.0.3
4924 - >=x11-libs/libXdmcp-1.0.2
4925 - >=x11-libs/libXinerama-1.0.2
4926 - >=x11-libs/libXp-1.0.0
4927 - x11-proto/inputproto
4928 - >=x11-proto/xextproto-7.1.1
4929 - x11-proto/xineramaproto
4930 - x11-proto/xproto"
4931 -
4932 -COMMON_DEP="
4933 - >=media-libs/giflib-4.1.6
4934 - media-libs/lcms:2
4935 - >=media-libs/libpng-1.2:=
4936 - >=sys-libs/zlib-1.2.3
4937 - virtual/jpeg
4938 - javascript? ( dev-java/rhino:1.6 )
4939 - nss? ( >=dev-libs/nss-3.12.5-r1 )
4940 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
4941 - systemtap? ( >=dev-util/systemtap-1 )"
4942 -
4943 -# cups is needed for X. #390945 #390975
4944 -RDEPEND="${COMMON_DEP}
4945 - !dev-java/icedtea:0
4946 - X? (
4947 - ${CUPS_COMMON_DEP}
4948 - ${X_COMMON_DEP}
4949 - media-fonts/dejavu
4950 - cjk? (
4951 - media-fonts/arphicfonts
4952 - media-fonts/baekmuk-fonts
4953 - media-fonts/lklug
4954 - media-fonts/lohit-fonts
4955 - media-fonts/sazanami
4956 - )
4957 - )
4958 - alsa? ( ${ALSA_COMMON_DEP} )
4959 - cups? ( ${CUPS_COMMON_DEP} )"
4960 -
4961 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
4962 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
4963 -# xext headers have two variants depending on version - bug #288855
4964 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
4965 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
4966 - || (
4967 - >=dev-java/gcj-jdk-4.3
4968 - dev-java/icedtea-bin:7
4969 - dev-java/icedtea-bin:6
4970 - dev-java/icedtea:7
4971 - dev-java/icedtea:6
4972 - )
4973 - app-arch/cpio
4974 - app-arch/unzip
4975 - app-arch/zip
4976 - app-misc/ca-certificates
4977 - >=dev-java/ant-core-1.8.1
4978 - dev-java/ant-nodeps
4979 - dev-lang/perl
4980 - >=dev-libs/libxslt-1.1.26
4981 - dev-libs/openssl
4982 - virtual/pkgconfig
4983 - sys-apps/attr
4984 - sys-apps/lsb-release
4985 - ${X_DEPEND}
4986 - pax_kernel? ( sys-apps/paxctl )"
4987 -
4988 -PDEPEND="webstart? ( dev-java/icedtea-web:7 )
4989 - nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
4990 -
4991 -S="${WORKDIR}"/${ICEDTEA_PKG}
4992 -
4993 -pkg_setup() {
4994 - JAVA_PKG_WANT_BUILD_VM="
4995 - icedtea-7 icedtea-bin-7 icedtea7
4996 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
4997 - gcj-jdk"
4998 - JAVA_PKG_WANT_SOURCE="1.5"
4999 - JAVA_PKG_WANT_TARGET="1.5"
5000 -
5001 - java-vm-2_pkg_setup
5002 - java-pkg-2_pkg_setup
5003 -}
5004 -
5005 -src_unpack() {
5006 - unpack ${ICEDTEA_PKG}.tar.gz
5007 -}
5008 -
5009 -java_prepare() {
5010 - # For bootstrap builds as the sandbox control file might not yet exist.
5011 - addpredict /proc/self/coredump_filter
5012 -
5013 - # icedtea doesn't like some locales. #330433 #389717
5014 - export LANG="C" LC_ALL="C"
5015 -
5016 - epatch "${FILESDIR}"/${PN}-${SLOT}-no_suffix.patch
5017 - epatch "${FILESDIR}"/${PN}-${SLOT}-compiler_detection_cleanup.patch
5018 - epatch "${FILESDIR}"/${P}-pr986-cacao_memory_fix.patch
5019 - epatch "${FILESDIR}"/${PN}-${SLOT}-compile_for_7_cacao_mem.patch
5020 - epatch "${FILESDIR}"/${P}-pax_mark_rmic_java.patch #422525
5021 - epatch "${FILESDIR}"/${P}-warnings_are_errors.patch #310503 #418359
5022 - eautoreconf
5023 -}
5024 -
5025 -bootstrap_impossible() {
5026 - # Fill this according to testing what works and what not
5027 - has "${1}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
5028 -}
5029 -
5030 -src_configure() {
5031 - local config bootstrap
5032 - local vm=$(java-pkg_get-current-vm)
5033 -
5034 - # Whether to bootstrap
5035 - bootstrap="disable"
5036 - if use jbootstrap; then
5037 - if bootstrap_impossible "${vm}"; then
5038 - einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
5039 - else
5040 - bootstrap="enable"
5041 - fi
5042 - fi
5043 -
5044 - if has "${vm}" gcj-jdk; then
5045 - # gcj-jdk ensures ecj is present.
5046 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
5047 - bootstrap="enable"
5048 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
5049 - config="${config} --with-ecj-jar=${ecj_jar}"
5050 - fi
5051 -
5052 - config="${config} --${bootstrap}-bootstrap"
5053 -
5054 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
5055 - # Otherwise use JamVM as it's the only possibility right now
5056 - if ! has "${ARCH}" amd64 sparc x86; then
5057 - config="${config} --enable-jamvm"
5058 - fi
5059 -
5060 - # OpenJDK-specific parallelism support. Bug #389791, #337827
5061 - # Implementation modified from waf-utils.eclass
5062 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
5063 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
5064 - config="${config} --with-parallel-jobs=${procs}";
5065 - einfo "Configuring using --with-parallel-jobs=${procs}"
5066 -
5067 - if use javascript ; then
5068 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
5069 - else
5070 - config="${config} --without-rhino"
5071 - fi
5072 -
5073 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
5074 -
5075 - econf ${config} \
5076 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
5077 - --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
5078 - --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
5079 - --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
5080 - --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
5081 - --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
5082 - --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
5083 - --with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
5084 - --with-jamvm-src-zip="${DISTDIR}/${JAMVM_TARBALL}" \
5085 - --with-jdk-home="$(java-config -O)" \
5086 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
5087 - --disable-downloading \
5088 - --disable-warnings-are-errors \
5089 - $(use_enable !debug optimizations) \
5090 - $(use_enable doc docs) \
5091 - $(use_enable nss) \
5092 - $(use_enable pulseaudio pulse-java) \
5093 - $(use_enable systemtap) \
5094 - $(use_with pax_kernel pax paxctl)
5095 -}
5096 -
5097 -src_compile() {
5098 - # Would use GENTOO_VM otherwise.
5099 - export ANT_RESPECT_JAVA_HOME=TRUE
5100 -
5101 - # Load the least that's needed to avoid possible classpath collisions.
5102 - export ANT_TASKS="ant-nodeps"
5103 -
5104 - emake
5105 -}
5106 -
5107 -src_test() {
5108 - # Use Xvfb for tests
5109 - unset DISPLAY
5110 -
5111 - Xemake check
5112 -}
5113 -
5114 -src_install() {
5115 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
5116 - local ddest="${ED}/${dest}"
5117 - dodir "${dest}"
5118 -
5119 - dodoc README NEWS AUTHORS
5120 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
5121 - docompress -x /usr/share/doc/${PN}${SLOT}
5122 -
5123 - cd openjdk.build/j2sdk-image || die
5124 -
5125 - # Ensures HeadlessGraphicsEnvironment is used.
5126 - if ! use X; then
5127 - rm -r jre/lib/$(get_system_arch)/xawt || die
5128 - fi
5129 -
5130 - # Don't hide classes
5131 - rm lib/ct.sym || die
5132 -
5133 - #402507
5134 - mkdir jre/.systemPrefs || die
5135 - touch jre/.systemPrefs/.system.lock || die
5136 - touch jre/.systemPrefs/.systemRootModFile || die
5137 -
5138 - # doins can't handle symlinks.
5139 - cp -vRP bin include jre lib man "${ddest}" || die
5140 -
5141 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
5142 -
5143 - if use doc; then
5144 - # java-pkg_dohtml needed for package-list #302654
5145 - java-pkg_dohtml -r ../docs/* || die
5146 - fi
5147 -
5148 - if use examples; then
5149 - dodir "${dest}/share";
5150 - cp -vRP demo sample "${ddest}/share/" || die
5151 - fi
5152 -
5153 - if use source; then
5154 - cp src.zip "${ddest}" || die
5155 - fi
5156 -
5157 - # Fix the permissions.
5158 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
5159 -
5160 - # Needs to be done before generating cacerts
5161 - java-vm_set-pax-markings "${ddest}"
5162 -
5163 - # We need to generate keystore - bug #273306
5164 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
5165 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
5166 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
5167 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
5168 - openssl x509 -text -in "${c}" >> all.crt || die
5169 - done
5170 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
5171 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
5172 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
5173 -
5174 - # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
5175 - # install it anyway. Bug 390663
5176 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
5177 - eprefixify "${T}"/fontconfig.Gentoo.properties
5178 - insinto "${dest}"/jre/lib
5179 - doins "${T}"/fontconfig.Gentoo.properties
5180 -
5181 - set_java_env "${FILESDIR}/icedtea.env"
5182 - if ! use X || ! use alsa || ! use cups; then
5183 - java-vm_revdep-mask "${dest}"
5184 - fi
5185 - java-vm_sandbox-predict /proc/self/coredump_filter
5186 -}
5187 -
5188 -pkg_preinst() {
5189 - if has_version "<=dev-java/icedtea-7.2.0:7"; then
5190 - # portage would preserve the symlink otherwise, related to bug #384397
5191 - rm -f "${EROOT}/usr/lib/jvm/icedtea7"
5192 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
5193 - elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
5194 - elog "If you had icedtea7 as system VM, the change should be automatic, however"
5195 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
5196 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
5197 - fi
5198 -}
5199
5200 diff --git a/dev-java/icedtea/icedtea-7.2.2.ebuild b/dev-java/icedtea/icedtea-7.2.2.ebuild
5201 deleted file mode 100644
5202 index c4a39df..0000000
5203 --- a/dev-java/icedtea/icedtea-7.2.2.ebuild
5204 +++ /dev/null
5205 @@ -1,334 +0,0 @@
5206 -# Copyright 1999-2012 Gentoo Foundation
5207 -# Distributed under the terms of the GNU General Public License v2
5208 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.2.ebuild,v 1.1 2012/06/10 13:56:19 sera Exp $
5209 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
5210 -
5211 -# *********************************************************
5212 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
5213 -# *********************************************************
5214 -
5215 -EAPI="5"
5216 -
5217 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
5218 -
5219 -ICEDTEA_VER=$(get_version_component_range 2-)
5220 -ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
5221 -OPENJDK_TARBALL="49a6fc8f712f.tar.gz"
5222 -CORBA_TARBALL="3231f3e9c517.tar.gz"
5223 -HOTSPOT_TARBALL="bfe5efd70bce.tar.gz"
5224 -JAXP_TARBALL="0036fe6fe7dc.tar.gz"
5225 -JAXWS_TARBALL="abfb890c262a.tar.gz"
5226 -JDK_TARBALL="839d0155f7cc.tar.gz"
5227 -LANGTOOLS_TARBALL="f855bdb37537.tar.gz"
5228 -JAMVM_TARBALL="jamvm-4617da717ecb05654ea5bb9572338061106a414d.tar.gz"
5229 -
5230 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
5231 -HOMEPAGE="http://icedtea.classpath.org"
5232 -SRC_URI="
5233 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
5234 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/archive/${OPENJDK_TARBALL}
5235 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/corba/archive/${CORBA_TARBALL}
5236 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jaxp/archive/${JAXP_TARBALL}
5237 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jaxws/archive/${JAXWS_TARBALL}
5238 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/jdk/archive/${JDK_TARBALL}
5239 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/hotspot/archive/${HOTSPOT_TARBALL}
5240 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_VER}/langtools/archive/${LANGTOOLS_TARBALL}
5241 - !amd64? ( !sparc? ( !x86? (
5242 - http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}
5243 - ) ) )"
5244 -
5245 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
5246 -SLOT="7"
5247 -KEYWORDS="~amd64 ~ia64 ~x86"
5248 -
5249 -IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
5250 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
5251 -
5252 -# Ideally the following were optional at build time.
5253 -ALSA_COMMON_DEP="
5254 - >=media-libs/alsa-lib-1.0"
5255 -CUPS_COMMON_DEP="
5256 - >=net-print/cups-1.2.12"
5257 -X_COMMON_DEP="
5258 - >=dev-libs/atk-1.30.0
5259 - >=dev-libs/glib-2.26
5260 - media-libs/fontconfig
5261 - >=media-libs/freetype-2.3.5
5262 - >=x11-libs/cairo-1.8.8
5263 - x11-libs/gdk-pixbuf:2
5264 - >=x11-libs/gtk+-2.8:2
5265 - >=x11-libs/libX11-1.1.3
5266 - >=x11-libs/libXext-1.1.1
5267 - >=x11-libs/libXi-1.1.3
5268 - >=x11-libs/libXrender-0.9.4
5269 - >=x11-libs/libXtst-1.0.3
5270 - >=x11-libs/pango-1.24.5"
5271 -X_DEPEND="
5272 - >=x11-libs/libXau-1.0.3
5273 - >=x11-libs/libXdmcp-1.0.2
5274 - >=x11-libs/libXinerama-1.0.2
5275 - >=x11-libs/libXp-1.0.0
5276 - x11-proto/inputproto
5277 - >=x11-proto/xextproto-7.1.1
5278 - x11-proto/xineramaproto
5279 - x11-proto/xproto"
5280 -
5281 -COMMON_DEP="
5282 - >=media-libs/giflib-4.1.6
5283 - media-libs/lcms:2
5284 - >=media-libs/libpng-1.2:=
5285 - >=sys-libs/zlib-1.2.3
5286 - virtual/jpeg
5287 - javascript? ( dev-java/rhino:1.6 )
5288 - nss? ( >=dev-libs/nss-3.12.5-r1 )
5289 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
5290 - systemtap? ( >=dev-util/systemtap-1 )"
5291 -
5292 -# cups is needed for X. #390945 #390975
5293 -RDEPEND="${COMMON_DEP}
5294 - !dev-java/icedtea:0
5295 - X? (
5296 - ${CUPS_COMMON_DEP}
5297 - ${X_COMMON_DEP}
5298 - media-fonts/dejavu
5299 - cjk? (
5300 - media-fonts/arphicfonts
5301 - media-fonts/baekmuk-fonts
5302 - media-fonts/lklug
5303 - media-fonts/lohit-fonts
5304 - media-fonts/sazanami
5305 - )
5306 - )
5307 - alsa? ( ${ALSA_COMMON_DEP} )
5308 - cups? ( ${CUPS_COMMON_DEP} )"
5309 -
5310 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
5311 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
5312 -# xext headers have two variants depending on version - bug #288855
5313 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
5314 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
5315 - || (
5316 - >=dev-java/gcj-jdk-4.3
5317 - dev-java/icedtea-bin:7
5318 - dev-java/icedtea-bin:6
5319 - dev-java/icedtea:7
5320 - dev-java/icedtea:6
5321 - )
5322 - app-arch/cpio
5323 - app-arch/unzip
5324 - app-arch/zip
5325 - app-misc/ca-certificates
5326 - >=dev-java/ant-core-1.8.1
5327 - dev-java/ant-nodeps
5328 - dev-lang/perl
5329 - >=dev-libs/libxslt-1.1.26
5330 - dev-libs/openssl
5331 - virtual/pkgconfig
5332 - sys-apps/attr
5333 - sys-apps/lsb-release
5334 - ${X_DEPEND}
5335 - pax_kernel? ( sys-apps/paxctl )"
5336 -
5337 -PDEPEND="webstart? ( dev-java/icedtea-web:7 )
5338 - nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
5339 -
5340 -S="${WORKDIR}"/${ICEDTEA_PKG}
5341 -
5342 -pkg_setup() {
5343 - JAVA_PKG_WANT_BUILD_VM="
5344 - icedtea-7 icedtea-bin-7 icedtea7
5345 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
5346 - gcj-jdk"
5347 - JAVA_PKG_WANT_SOURCE="1.5"
5348 - JAVA_PKG_WANT_TARGET="1.5"
5349 -
5350 - java-vm-2_pkg_setup
5351 - java-pkg-2_pkg_setup
5352 -}
5353 -
5354 -src_unpack() {
5355 - unpack ${ICEDTEA_PKG}.tar.gz
5356 -}
5357 -
5358 -java_prepare() {
5359 - # For bootstrap builds as the sandbox control file might not yet exist.
5360 - addpredict /proc/self/coredump_filter
5361 -
5362 - # icedtea doesn't like some locales. #330433 #389717
5363 - export LANG="C" LC_ALL="C"
5364 -
5365 - epatch "${FILESDIR}"/${P}-no_suffix.patch
5366 - eautoreconf
5367 -}
5368 -
5369 -bootstrap_impossible() {
5370 - # Fill this according to testing what works and what not
5371 - has "${1}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6 icedtea-7 icedtea-bin-7 icedtea7
5372 -}
5373 -
5374 -src_configure() {
5375 - local config bootstrap
5376 - local vm=$(java-pkg_get-current-vm)
5377 -
5378 - # Whether to bootstrap
5379 - bootstrap="disable"
5380 - if use jbootstrap; then
5381 - if bootstrap_impossible "${vm}"; then
5382 - einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
5383 - else
5384 - bootstrap="enable"
5385 - fi
5386 - fi
5387 -
5388 - if has "${vm}" gcj-jdk; then
5389 - # gcj-jdk ensures ecj is present.
5390 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
5391 - bootstrap="enable"
5392 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
5393 - config="${config} --with-ecj-jar=${ecj_jar}"
5394 - fi
5395 -
5396 - config="${config} --${bootstrap}-bootstrap"
5397 -
5398 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
5399 - # Otherwise use JamVM as it's the only possibility right now
5400 - if ! has "${ARCH}" amd64 sparc x86; then
5401 - config="${config} --enable-jamvm --with-jamvm-src-zip=${DISTDIR}/${JAMVM_TARBALL}"
5402 - fi
5403 -
5404 - # OpenJDK-specific parallelism support. Bug #389791, #337827
5405 - # Implementation modified from waf-utils.eclass
5406 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
5407 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
5408 - config="${config} --with-parallel-jobs=${procs}";
5409 - einfo "Configuring using --with-parallel-jobs=${procs}"
5410 -
5411 - if use javascript ; then
5412 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
5413 - else
5414 - config="${config} --without-rhino"
5415 - fi
5416 -
5417 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
5418 -
5419 - econf ${config} \
5420 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
5421 - --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
5422 - --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
5423 - --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
5424 - --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
5425 - --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
5426 - --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
5427 - --with-jdk-home="$(java-config -O)" \
5428 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
5429 - --disable-downloading \
5430 - $(use_enable !debug optimizations) \
5431 - $(use_enable doc docs) \
5432 - $(use_enable nss) \
5433 - $(use_enable pulseaudio pulse-java) \
5434 - $(use_enable systemtap) \
5435 - $(use_with pax_kernel pax paxctl)
5436 -}
5437 -
5438 -src_compile() {
5439 - # Would use GENTOO_VM otherwise.
5440 - export ANT_RESPECT_JAVA_HOME=TRUE
5441 -
5442 - # Load the least that's needed to avoid possible classpath collisions.
5443 - export ANT_TASKS="ant-nodeps"
5444 -
5445 - emake
5446 -}
5447 -
5448 -src_test() {
5449 - # Use Xvfb for tests
5450 - unset DISPLAY
5451 -
5452 - Xemake check
5453 -}
5454 -
5455 -src_install() {
5456 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
5457 - local ddest="${ED}/${dest}"
5458 - dodir "${dest}"
5459 -
5460 - dodoc README NEWS AUTHORS
5461 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
5462 - docompress -x /usr/share/doc/${PN}${SLOT}
5463 -
5464 - cd openjdk.build/j2sdk-image || die
5465 -
5466 - # Ensures HeadlessGraphicsEnvironment is used.
5467 - if ! use X; then
5468 - rm -r jre/lib/$(get_system_arch)/xawt || die
5469 - fi
5470 -
5471 - # Don't hide classes
5472 - rm lib/ct.sym || die
5473 -
5474 - #402507
5475 - mkdir jre/.systemPrefs || die
5476 - touch jre/.systemPrefs/.system.lock || die
5477 - touch jre/.systemPrefs/.systemRootModFile || die
5478 -
5479 - # doins can't handle symlinks.
5480 - cp -vRP bin include jre lib man "${ddest}" || die
5481 -
5482 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
5483 -
5484 - if use doc; then
5485 - # java-pkg_dohtml needed for package-list #302654
5486 - java-pkg_dohtml -r ../docs/* || die
5487 - fi
5488 -
5489 - if use examples; then
5490 - dodir "${dest}/share";
5491 - cp -vRP demo sample "${ddest}/share/" || die
5492 - fi
5493 -
5494 - if use source; then
5495 - cp src.zip "${ddest}" || die
5496 - fi
5497 -
5498 - # Fix the permissions.
5499 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
5500 -
5501 - # Needs to be done before generating cacerts
5502 - java-vm_set-pax-markings "${ddest}"
5503 -
5504 - # We need to generate keystore - bug #273306
5505 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
5506 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
5507 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
5508 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
5509 - openssl x509 -text -in "${c}" >> all.crt || die
5510 - done
5511 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
5512 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
5513 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
5514 -
5515 - # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
5516 - # install it anyway. Bug 390663
5517 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
5518 - eprefixify "${T}"/fontconfig.Gentoo.properties
5519 - insinto "${dest}"/jre/lib
5520 - doins "${T}"/fontconfig.Gentoo.properties
5521 -
5522 - set_java_env "${FILESDIR}/icedtea.env"
5523 - if ! use X || ! use alsa || ! use cups; then
5524 - java-vm_revdep-mask "${dest}"
5525 - fi
5526 - java-vm_sandbox-predict /proc/self/coredump_filter
5527 -}
5528 -
5529 -pkg_preinst() {
5530 - if has_version "<=dev-java/icedtea-7.2.0:7"; then
5531 - # portage would preserve the symlink otherwise, related to bug #384397
5532 - rm -f "${EROOT}/usr/lib/jvm/icedtea7"
5533 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
5534 - elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
5535 - elog "If you had icedtea7 as system VM, the change should be automatic, however"
5536 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
5537 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
5538 - fi
5539 -}
5540
5541 diff --git a/dev-java/icedtea/icedtea-7.2.3.1.ebuild b/dev-java/icedtea/icedtea-7.2.3.1.ebuild
5542 deleted file mode 100644
5543 index 1351aa4..0000000
5544 --- a/dev-java/icedtea/icedtea-7.2.3.1.ebuild
5545 +++ /dev/null
5546 @@ -1,337 +0,0 @@
5547 -# Copyright 1999-2012 Gentoo Foundation
5548 -# Distributed under the terms of the GNU General Public License v2
5549 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.3.1.ebuild,v 1.1 2012/08/31 14:28:28 caster Exp $
5550 -# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
5551 -
5552 -# *********************************************************
5553 -# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
5554 -# *********************************************************
5555 -
5556 -EAPI="5"
5557 -
5558 -inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
5559 -
5560 -ICEDTEA_VER=$(get_version_component_range 2-)
5561 -ICEDTEA_BRANCH=$(get_version_component_range 2-3)
5562 -ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
5563 -OPENJDK_TARBALL="a3fa5d49d528.tar.gz"
5564 -CORBA_TARBALL="e9b200124386.tar.gz"
5565 -HOTSPOT_TARBALL="3e0087ab5e92.tar.gz"
5566 -JAXP_TARBALL="9bd1d8e8b802.tar.gz"
5567 -JAXWS_TARBALL="9a744f20cfc5.tar.gz"
5568 -JDK_TARBALL="507eee662587.tar.gz"
5569 -LANGTOOLS_TARBALL="0cf6181d44db.tar.gz"
5570 -CACAO_TARBALL="a567bcb7f589.tar.gz"
5571 -JAMVM_TARBALL="jamvm-e70f2450890b82c37422616cc85e1a23385f03cd.tar.gz"
5572 -
5573 -DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
5574 -HOMEPAGE="http://icedtea.classpath.org"
5575 -SRC_URI="
5576 - http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
5577 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/archive/${OPENJDK_TARBALL}
5578 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/corba/archive/${CORBA_TARBALL}
5579 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxp/archive/${JAXP_TARBALL}
5580 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jaxws/archive/${JAXWS_TARBALL}
5581 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/jdk/archive/${JDK_TARBALL}
5582 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/hotspot/archive/${HOTSPOT_TARBALL}
5583 - http://icedtea.classpath.org/hg/release/icedtea7-forest-${ICEDTEA_BRANCH}/langtools/archive/${LANGTOOLS_TARBALL}
5584 - http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
5585 - http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL}"
5586 -
5587 -LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
5588 -SLOT="7"
5589 -KEYWORDS="~amd64 ~ia64 ~x86"
5590 -
5591 -IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
5592 - +nss pax_kernel pulseaudio +source systemtap test +webstart"
5593 -
5594 -# Ideally the following were optional at build time.
5595 -ALSA_COMMON_DEP="
5596 - >=media-libs/alsa-lib-1.0"
5597 -CUPS_COMMON_DEP="
5598 - >=net-print/cups-1.2.12"
5599 -X_COMMON_DEP="
5600 - >=dev-libs/atk-1.30.0
5601 - >=dev-libs/glib-2.26
5602 - media-libs/fontconfig
5603 - >=media-libs/freetype-2.3.5
5604 - >=x11-libs/cairo-1.8.8
5605 - x11-libs/gdk-pixbuf:2
5606 - >=x11-libs/gtk+-2.8:2
5607 - >=x11-libs/libX11-1.1.3
5608 - >=x11-libs/libXext-1.1.1
5609 - >=x11-libs/libXi-1.1.3
5610 - >=x11-libs/libXrender-0.9.4
5611 - >=x11-libs/libXtst-1.0.3
5612 - >=x11-libs/pango-1.24.5"
5613 -X_DEPEND="
5614 - >=x11-libs/libXau-1.0.3
5615 - >=x11-libs/libXdmcp-1.0.2
5616 - >=x11-libs/libXinerama-1.0.2
5617 - >=x11-libs/libXp-1.0.0
5618 - x11-proto/inputproto
5619 - >=x11-proto/xextproto-7.1.1
5620 - x11-proto/xineramaproto
5621 - x11-proto/xproto"
5622 -
5623 -COMMON_DEP="
5624 - >=media-libs/giflib-4.1.6
5625 - media-libs/lcms:2
5626 - >=media-libs/libpng-1.2:=
5627 - >=sys-libs/zlib-1.2.3
5628 - virtual/jpeg
5629 - javascript? ( dev-java/rhino:1.6 )
5630 - nss? ( >=dev-libs/nss-3.12.5-r1 )
5631 - pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
5632 - systemtap? ( >=dev-util/systemtap-1 )"
5633 -
5634 -# cups is needed for X. #390945 #390975
5635 -RDEPEND="${COMMON_DEP}
5636 - !dev-java/icedtea:0
5637 - X? (
5638 - ${CUPS_COMMON_DEP}
5639 - ${X_COMMON_DEP}
5640 - media-fonts/dejavu
5641 - cjk? (
5642 - media-fonts/arphicfonts
5643 - media-fonts/baekmuk-fonts
5644 - media-fonts/lklug
5645 - media-fonts/lohit-fonts
5646 - media-fonts/sazanami
5647 - )
5648 - )
5649 - alsa? ( ${ALSA_COMMON_DEP} )
5650 - cups? ( ${CUPS_COMMON_DEP} )"
5651 -
5652 -# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
5653 -# ca-certificates, perl and openssl are used for the cacerts keystore generation
5654 -# xext headers have two variants depending on version - bug #288855
5655 -# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
5656 -DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
5657 - || (
5658 - >=dev-java/gcj-jdk-4.3
5659 - dev-java/icedtea-bin:7
5660 - dev-java/icedtea-bin:6
5661 - dev-java/icedtea:7
5662 - dev-java/icedtea:6
5663 - )
5664 - app-arch/cpio
5665 - app-arch/unzip
5666 - app-arch/zip
5667 - app-misc/ca-certificates
5668 - >=dev-java/ant-core-1.8.1
5669 - dev-java/ant-nodeps
5670 - dev-lang/perl
5671 - >=dev-libs/libxslt-1.1.26
5672 - dev-libs/openssl
5673 - virtual/pkgconfig
5674 - sys-apps/attr
5675 - sys-apps/lsb-release
5676 - ${X_DEPEND}
5677 - pax_kernel? ( sys-apps/paxctl )"
5678 -
5679 -PDEPEND="webstart? ( dev-java/icedtea-web:7 )
5680 - nsplugin? ( dev-java/icedtea-web:7[nsplugin] )"
5681 -
5682 -S="${WORKDIR}"/${ICEDTEA_PKG}
5683 -
5684 -pkg_setup() {
5685 - JAVA_PKG_WANT_BUILD_VM="
5686 - icedtea-7 icedtea-bin-7 icedtea7
5687 - icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
5688 - gcj-jdk"
5689 - JAVA_PKG_WANT_SOURCE="1.5"
5690 - JAVA_PKG_WANT_TARGET="1.5"
5691 -
5692 - java-vm-2_pkg_setup
5693 - java-pkg-2_pkg_setup
5694 -}
5695 -
5696 -src_unpack() {
5697 - unpack ${ICEDTEA_PKG}.tar.gz
5698 -}
5699 -
5700 -java_prepare() {
5701 - # For bootstrap builds as the sandbox control file might not yet exist.
5702 - addpredict /proc/self/coredump_filter
5703 -
5704 - # icedtea doesn't like some locales. #330433 #389717
5705 - export LANG="C" LC_ALL="C"
5706 -
5707 - epatch "${FILESDIR}"/${P}-pax_mark_rmic_java.patch #422525
5708 - eautoreconf
5709 -}
5710 -
5711 -bootstrap_impossible() {
5712 - # Fill this according to testing what works and what not
5713 - has "${1}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
5714 -}
5715 -
5716 -src_configure() {
5717 - local config bootstrap
5718 - local vm=$(java-pkg_get-current-vm)
5719 -
5720 - # Whether to bootstrap
5721 - bootstrap="disable"
5722 - if use jbootstrap; then
5723 - if bootstrap_impossible "${vm}"; then
5724 - einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
5725 - else
5726 - bootstrap="enable"
5727 - fi
5728 - fi
5729 -
5730 - if has "${vm}" gcj-jdk; then
5731 - # gcj-jdk ensures ecj is present.
5732 - use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
5733 - bootstrap="enable"
5734 - local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
5735 - config="${config} --with-ecj-jar=${ecj_jar}"
5736 - fi
5737 -
5738 - config="${config} --${bootstrap}-bootstrap"
5739 -
5740 - # Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
5741 - # Otherwise use JamVM as it's the only possibility right now
5742 - if ! has "${ARCH}" amd64 sparc x86; then
5743 - config="${config} --enable-jamvm"
5744 - fi
5745 -
5746 - # OpenJDK-specific parallelism support. Bug #389791, #337827
5747 - # Implementation modified from waf-utils.eclass
5748 - # Note that "-j" is converted to "-j1" as the system doesn't support --load-average
5749 - local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
5750 - config="${config} --with-parallel-jobs=${procs}";
5751 - einfo "Configuring using --with-parallel-jobs=${procs}"
5752 -
5753 - if use javascript ; then
5754 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
5755 - else
5756 - config="${config} --without-rhino"
5757 - fi
5758 -
5759 - unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
5760 -
5761 - econf ${config} \
5762 - --with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
5763 - --with-corba-src-zip="${DISTDIR}/${CORBA_TARBALL}" \
5764 - --with-jaxp-src-zip="${DISTDIR}/${JAXP_TARBALL}" \
5765 - --with-jaxws-src-zip="${DISTDIR}/${JAXWS_TARBALL}" \
5766 - --with-jdk-src-zip="${DISTDIR}/${JDK_TARBALL}" \
5767 - --with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
5768 - --with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_TARBALL}" \
5769 - --with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
5770 - --with-jamvm-src-zip="${DISTDIR}/${JAMVM_TARBALL}" \
5771 - --with-jdk-home="$(java-config -O)" \
5772 - --with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
5773 - --disable-downloading --disable-Werror \
5774 - $(use_enable !debug optimizations) \
5775 - $(use_enable doc docs) \
5776 - $(use_enable nss) \
5777 - $(use_enable pulseaudio pulse-java) \
5778 - $(use_enable systemtap) \
5779 - $(use_with pax_kernel pax paxctl)
5780 -}
5781 -
5782 -src_compile() {
5783 - # Would use GENTOO_VM otherwise.
5784 - export ANT_RESPECT_JAVA_HOME=TRUE
5785 -
5786 - # Load the least that's needed to avoid possible classpath collisions.
5787 - export ANT_TASKS="ant-nodeps"
5788 -
5789 - emake
5790 -}
5791 -
5792 -src_test() {
5793 - # Use Xvfb for tests
5794 - unset DISPLAY
5795 -
5796 - Xemake check
5797 -}
5798 -
5799 -src_install() {
5800 - local dest="/usr/$(get_libdir)/icedtea${SLOT}"
5801 - local ddest="${ED}/${dest}"
5802 - dodir "${dest}"
5803 -
5804 - dodoc README NEWS AUTHORS
5805 - dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
5806 - docompress -x /usr/share/doc/${PN}${SLOT}
5807 -
5808 - cd openjdk.build/j2sdk-image || die
5809 -
5810 - # Ensures HeadlessGraphicsEnvironment is used.
5811 - if ! use X; then
5812 - rm -r jre/lib/$(get_system_arch)/xawt || die
5813 - fi
5814 -
5815 - # Don't hide classes
5816 - rm lib/ct.sym || die
5817 -
5818 - #402507
5819 - mkdir jre/.systemPrefs || die
5820 - touch jre/.systemPrefs/.system.lock || die
5821 - touch jre/.systemPrefs/.systemRootModFile || die
5822 -
5823 - # doins can't handle symlinks.
5824 - cp -vRP bin include jre lib man "${ddest}" || die
5825 -
5826 - dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
5827 -
5828 - if use doc; then
5829 - # java-pkg_dohtml needed for package-list #302654
5830 - java-pkg_dohtml -r ../docs/* || die
5831 - fi
5832 -
5833 - if use examples; then
5834 - dodir "${dest}/share";
5835 - cp -vRP demo sample "${ddest}/share/" || die
5836 - fi
5837 -
5838 - if use source; then
5839 - cp src.zip "${ddest}" || die
5840 - fi
5841 -
5842 - # Fix the permissions.
5843 - find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
5844 -
5845 - # Needs to be done before generating cacerts
5846 - java-vm_set-pax-markings "${ddest}"
5847 -
5848 - # We need to generate keystore - bug #273306
5849 - einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
5850 - mkdir "${T}/certgen" && cd "${T}/certgen" || die
5851 - cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
5852 - for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
5853 - openssl x509 -text -in "${c}" >> all.crt || die
5854 - done
5855 - ./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
5856 - cp -vRP cacerts "${ddest}/jre/lib/security/" || die
5857 - chmod 644 "${ddest}/jre/lib/security/cacerts" || die
5858 -
5859 - # OpenJDK7 should be able to use fontconfig instead, but wont hurt to
5860 - # install it anyway. Bug 390663
5861 - cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
5862 - eprefixify "${T}"/fontconfig.Gentoo.properties
5863 - insinto "${dest}"/jre/lib
5864 - doins "${T}"/fontconfig.Gentoo.properties
5865 -
5866 - set_java_env "${FILESDIR}/icedtea.env"
5867 - if ! use X || ! use alsa || ! use cups; then
5868 - java-vm_revdep-mask "${dest}"
5869 - fi
5870 - java-vm_sandbox-predict /proc/self/coredump_filter
5871 -}
5872 -
5873 -pkg_preinst() {
5874 - if has_version "<=dev-java/icedtea-7.2.0:7"; then
5875 - # portage would preserve the symlink otherwise, related to bug #384397
5876 - rm -f "${EROOT}/usr/lib/jvm/icedtea7"
5877 - elog "To unify the layout and simplify scripts, the identifier of Icedtea-7*"
5878 - elog "has changed from 'icedtea7' to 'icedtea-7' starting from version 7.2.0-r1"
5879 - elog "If you had icedtea7 as system VM, the change should be automatic, however"
5880 - elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
5881 - elog "and the same holds for any user VM settings. Sorry for the inconvenience."
5882 - fi
5883 -}
5884
5885 diff --git a/dev-java/icedtea/icedtea-7.2.3.2.ebuild b/dev-java/icedtea/icedtea-7.2.3.2.ebuild
5886 index 07c39cb..ad93f27 100644
5887 --- a/dev-java/icedtea/icedtea-7.2.3.2.ebuild
5888 +++ b/dev-java/icedtea/icedtea-7.2.3.2.ebuild
5889 @@ -1,6 +1,6 @@
5890 # Copyright 1999-2012 Gentoo Foundation
5891 # Distributed under the terms of the GNU General Public License v2
5892 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.3.2.ebuild,v 1.1 2012/09/02 10:52:37 caster Exp $
5893 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-7.2.3.2.ebuild,v 1.2 2012/09/26 08:42:27 sera Exp $
5894 # Build written by Andrew John Hughes (gnu_andrew@××××××××××.org)
5895
5896 # *********************************************************
5897 @@ -205,7 +205,7 @@ src_configure() {
5898 einfo "Configuring using --with-parallel-jobs=${procs}"
5899
5900 if use javascript ; then
5901 - config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
5902 + config="${config} --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
5903 else
5904 config="${config} --without-rhino"
5905 fi
5906
5907 diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
5908 index ba855e9..8bdb547 100644
5909 --- a/dev-libs/boost/Manifest
5910 +++ b/dev-libs/boost/Manifest
5911 @@ -61,8 +61,8 @@ EBUILD boost-1.46.1-r1.ebuild 16224 SHA256 9d7726f12645e301fcc9174880e45e44c9d1a
5912 EBUILD boost-1.47.0-r1.ebuild 15910 SHA256 f29520bcbd74fa8d75acfc6a1cd7f30329b401cc35b1197e67fc6da39e14ac00 SHA512 def45bb3289e0e2676169edce1423840e310e0d6de5680099cbf3bfb6422b56e97bc57a04a730179b2d52b0ebf1a280ecc111b735851cb23d332f15ae2d1e83f WHIRLPOOL 58b926d3c34f116c252de63a6002ce29fa29c1ff58e0d86e3b25ad3900425841ffe23005a2ec092320acfd854831625a193f03bde675b72cc921b33c62a3efac
5913 EBUILD boost-1.47.0.ebuild 15907 SHA256 e79d396d32d06b5e3353664d3c95de05448b935d5a36a6df83d32b01047b7c46 SHA512 4ddc6f2cbac138e5f4a12359a945da7c70536d8580a2cddd5f0271d5a8de69080843eb9bc547f6726ca5016e01b504a175e1de55854074ff7c4131f5138eda95 WHIRLPOOL 86c566793087c5a4e3ceaa94744715bd118126019212ad4a0d596ec0373e3354e449272d5902a44d8a824d2ef1f738c17038e17bd69a33b07719475da688bb10
5914 EBUILD boost-1.48.0-r2.ebuild 19807 SHA256 d3be1ac925eb52331fb6c077461611bab401bae59f933f02f0dbe111ed7abe50 SHA512 5e4b1058548320f79dba6ce46f6672ed798c7fc39cfd6a0447275c875ed0bea379fc3330e6171823d8b2b9027cb7f2bdbb699df8d6707aa8a6c77972e51e52e6 WHIRLPOOL f3e00d25862a96c4ef9db7b50f401ebd70c136c3cc31c5cd80056bffab3ce6c57e9232fdc0f05cc73b5d43349fc002b9e68f4a9cdbf6fed4e6a4d830e31ff97e
5915 -EBUILD boost-1.49.0-r1.ebuild 19767 SHA256 0cffe877c2c3ec044de7553ea5072f86f8b003d55677a27e0a161765029b3e93 SHA512 be65859f2d6b51b79ac5065a11f0678e3367140fc9289daac0c11a056a472504c8e0fa61b16afa0f1306d9e07de3f24862aef456d3487abcd8736590e71498b5 WHIRLPOOL 96ed10bd534ca0d43a88f04a33707ed8a4054401be3aae142e04cd2ef2335bbe0e35c00827bec68602cb87ba255de150ebfe0f45e790913917ad8495e6f3b1b1
5916 +EBUILD boost-1.49.0-r1.ebuild 19761 SHA256 c79f1cfba965c477bad0053726fc4a9e81be320b48d96627c62d2dcdc58996ea SHA512 5290eaf39d4a906d04cff6724e3df18739cb185be77b46505f18286b6d1f4c1259135bc27d7444b626c1c0457d836bf23f37ad46653e330d8b4fb7bc071b1c99 WHIRLPOOL 9cc912e2e6046631bd8580e5be54811b1a9a6d2323bfbac79acb2bf7b58d69abc0884eb2b97f3c5277ff23e5b09772be2b0c6eebcd332aaf63c6f1bb8fbb7f11
5917 EBUILD boost-1.50.0-r2.ebuild 19113 SHA256 ab574403829c1d68973df875d9372bfd77e77fc7b786ca9159426eb8f49825b3 SHA512 6cfff2f2af201038ccbf631d27ec1b616c0b945f1480450f4b5159e4ed58723b9f73b981881db0d6d4fdecb3c63f81aedebd19c3734006baaaf07ae22da4c778 WHIRLPOOL 8eabd65542b62c47e277367cd6d0b85092a9d279dd047191029e0772be92991a198830d5257658de9e39807c21aab145882d871bef6572c90cdebdc8c62df243
5918 EBUILD boost-1.50.0.ebuild 19767 SHA256 ff7baaa6e8957b8304d5124b0271f2dbd79bec6d584b940df2fdcb35935468a4 SHA512 23f5034e5859f4834523b210b3fbf4b5c46cb7a92f222b708f875ca21b4c3917c2937d5863fef0cc2a34941fba3d1097bd72e9ad18a4787565336db5c66ff1bc WHIRLPOOL 75fade824202de1e0afd0158db23420aad20a67b114402e96a84325f5d62f497df5f52be5f0fa9dff9a558a27989beebb63724d64eeca05f2c9bd1b836ce026a
5919 -MISC ChangeLog 41745 SHA256 860c944a30543cadbbd8a77149b29f57d12766f27b7ad7e4e407a10ffcb54310 SHA512 225128f3e3f51379e6b11c6309660246303eee968c668b7d46202a87c20115fe2670764808100530ad7617929c1007f5a75e5391c63b9f6e5d0f95a08f86a629 WHIRLPOOL 5000c4e7430c028d7b3a86e96f2314bb68714f20a7a612fed553237b240f8ff76cbcbac1d65a3992c16a0c4935c3b1a04fc527d547be524e99a42a42630fe5aa
5920 +MISC ChangeLog 41852 SHA256 9f59ce86c093bd09213e3c5c54b7e1990fdac27dbdf1f67f583709ff6d899ebd SHA512 57f976c46def4e48d9f9cd8dbcc1e08d6ac35d327bfaa98b400fc4097f9161bc09de5bba5b0f749eeddd44c122b276f4fa8bc14c183c8f6a0f45d6916f46d0cb WHIRLPOOL 884e9ef28e67c4f34f971e810d82115a5608a99a80b695dd27625862bea03c936d076d322065156cf73a01a05e8fc6a958b6d7800d464678d086395f5f2b84e5
5921 MISC metadata.xml 900 SHA256 145957b2e684c72aaa4fd6d2174e7ae66b2d8a36a49e144f6f99f3b9fa7fa811 SHA512 c3dec3e401bb1e27f37c81998079ed459adec357b6b044bcd08161d5a53ced18bf76d07d665c4f80bed1fe072b02ef84dc7a21316fee41f5c20ef893dfb93d09 WHIRLPOOL 05b7460e6f69943413caec2756b4e8054f9d884bf350027e5fbef56534279b25d6df937c94d8e96d5fb2ac01a109ef23d6d5359d48604f3f99fa7afdd83805e9
5922
5923 diff --git a/dev-libs/boost/boost-1.49.0-r1.ebuild b/dev-libs/boost/boost-1.49.0-r1.ebuild
5924 index c6000b9..e714930 100644
5925 --- a/dev-libs/boost/boost-1.49.0-r1.ebuild
5926 +++ b/dev-libs/boost/boost-1.49.0-r1.ebuild
5927 @@ -1,6 +1,6 @@
5928 # Copyright 1999-2012 Gentoo Foundation
5929 # Distributed under the terms of the GNU General Public License v2
5930 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.6 2012/09/06 13:37:44 blueness Exp $
5931 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.7 2012/09/23 12:28:19 ago Exp $
5932
5933 EAPI="5"
5934 PYTHON_DEPEND="python? *"
5935 @@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
5936
5937 LICENSE="Boost-1.0"
5938 SLOT="$(get_version_component_range 1-2)"
5939 -KEYWORDS="~alpha ~amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
5940 +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
5941 IUSE="debug doc +eselect icu mpi python static-libs test tools"
5942
5943 RDEPEND="icu? ( >=dev-libs/icu-3.3 )
5944
5945 diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest
5946 index 7144f8a..f5e1fbe 100644
5947 --- a/dev-libs/gjs/Manifest
5948 +++ b/dev-libs/gjs/Manifest
5949 @@ -1,6 +1,8 @@
5950 DIST gjs-1.30.1.tar.xz 455456 SHA256 f5db07ddf70458a33a5d0bdf83f84070fc234237ecb0d49a8676e67b52119a05 SHA512 59d63d279e34d6906b7bb9053110c1334f247ac10d61191b7950b57951f8048454a1745dba125a2f421b3d4f9939e87b507b2721f35bb2b4267f7f5decfc8383 WHIRLPOOL 120474a4c2d438e336e9558aace335bfbcf786da73f4876d47a88ad65d05dd4d9892dacc331f8084dc88a9c9bc6a2da092974469f24244b631a63e39e6248b5e
5951 DIST gjs-1.32.0.tar.xz 464372 SHA256 b9f1dc156c15806824c936bb08ddc5048f52f6921654146c47025a62457108c0 SHA512 58cbf0372a1f1494d10664c8d29c6ba02cebd23325b563cc83c2d63d34db141b91ed28efb5f31b08d43a52ddc2126e2a02fe85449891718d54350cab1eee8203 WHIRLPOOL e94bd8ec975f33f7d24dcbe27345a3b2b7208fa02e0d450c7e9865796b23f0bf8057b43d83889c6f6b9225738343ad85d51a98f1ca5967c5b2256956347fb677
5952 -EBUILD gjs-1.30.1.ebuild 1452 SHA256 2e9b24ec5f9bb37332d06255c194eee8ffae54375fef42e74307ca49f8d67205 SHA512 c56cceb27f8dd9bc7245f46424d725b6bb535546a5c731a66cf54ee89fbd241c9354972728b95ee8f47468e92fd211defc8e2fcd462b39163b751cf6324db72c WHIRLPOOL e79677ac5cc8d7c11d55c1db37db9ce3c52996e899a4106eb5badd2a4c707520e16926ba22769b27e3dfa899e5f623142e0cbf0814a03667877767fe3446d790
5953 -EBUILD gjs-1.32.0.ebuild 1549 SHA256 61ca1fb66f9b54520ae48d5bece979cf28fa738fadfa11a24666e49d44124bdb SHA512 b5ac128288cf65454b85e0dd79b68eab34424ae37f30af817207b00b32ef95c8adc04e4c86b675592b445bbf68b219e28822ad3a82a0b90be30f0f164830acf7 WHIRLPOOL c5e9df9015fd54e89689a15eb109998f7fc599d621e19a710d55478249dfbd0a88343df7ff779f34a4ceeae52edc804cec394869098898850c98ecd36a8f58e0
5954 -MISC ChangeLog 1715 SHA256 7bebd22a887113daac64b37c557474166060a70cdfff2eb4db71e5b2bfd08c2a SHA512 1ba66e9c67e718c828023be9b516db72e6bb45414458757b70e43a9198067ebf01ee156d6bc0869cd2ecf452576d0bb9e3713a602917a7160d2f6b3ed200bef2 WHIRLPOOL d9b8444c29a25dbb0aa9e320ac3bede77b023c56b8386312619ed4bb5f2fb0d9abf608c4a52c6555e145a576ddda917886a3154c7e9d821403651dd67578ae30
5955 +DIST gjs-1.34.0.tar.xz 474004 SHA256 3d62c717a0522a36c6faa1eb021872255e3cd285a72786afe23b7cca2e3084cb SHA512 938134f25f07e7cb9267f0f44944841d93143a3403cf002fc8393a342140b52b6540edfe90e5e0e1f10b40486914535ba6d57bb7c6e9f34ded11cde327293e1d WHIRLPOOL 53f11d800e69ea24b62b7f719118783fa0e397c807ee032baac3485031ae6627e20f7aa7b54fcc9cc850c0041e2b256fac5d076893d4ae5b784aa89b92508432
5956 +EBUILD gjs-1.30.1.ebuild 1464 SHA256 d5848a804223f67f09e040ed2610bfe2e9de8d59b6efe6ea2ab92604d766da40 SHA512 4d359d09f81aeca8e8efe2e9d4a00e566f886bf5045d04579f88546549845fb4a800780f63768bd7da035ae06f9875de80edbfb157d30b2d3aa61d496b7a082b WHIRLPOOL 8ba3440b85da86f8e07333dbeab58bb0bb2d92f48e3d718d2d8dcfa77616dc49af1ebf7ed6d2f0b67fd7e44993bf3e604f19c4e3bb159f8647c3fdee62509d32
5957 +EBUILD gjs-1.32.0.ebuild 1559 SHA256 ea07dce22c4b2ed6cf4e1f2ac8489713a51794f181e1ea13905e3eb03593f928 SHA512 95db7242b6547249eea314be649de613a46140158f013f6d3b00ac8ee53cb8e4ae27abdbd4588951d83a262d4c2ebda67026901408e8942dcf3545cc9c34fb31 WHIRLPOOL b139cf218ddbaa1f02995bea2f8b07440ddc876077328bf8d65a0c315a53f683d638fb417baa2bb3ce534ccdb5beb683deab504dc03814d515c20f3d1d9d9e4e
5958 +EBUILD gjs-1.34.0.ebuild 1599 SHA256 90f54dc4d78311c981fe403cf2fa0218ddc00fff0623898fa46eab832f14c087 SHA512 08d271c297aff6c062b4f42c4a91ffb785ebcbb8236ca95302ba021f70b4ea058d3e7b3afdedd194d09aca94c9f2fd53d5fe733445b6f564c4213afb985d4512 WHIRLPOOL bba9d0c404787f67388c2159489a14387bd659a2040deb175d909e58a61b44c860880bc8698a8fc9343dd7549c334bebafcd6dc60e3090d7495f1e8238783e49
5959 +MISC ChangeLog 1940 SHA256 9668d339327a80f892fd18fb4bcdaaa5b99216e18ffb213d77f50098b3576771 SHA512 3e0779e22c66b0a343aa687feabba46db28de5d73ad1f44c6970df2019df194fe0a9e1b1b17b4b1b2458e0ead62d80e102637fcacc49167d5346811da5c91389 WHIRLPOOL 8927f598a5074c2d378d61eb9c9907df4037c42f671aafc762f4bceb12a92e70b605f57d5b624a60c41f4aa8268a3c9a03e0a551cde2addae5b5bdd0f5b6f856
5960 MISC metadata.xml 160 SHA256 4d793ecb79b17794248102d8409d16bc27b1022c72038bd2d1241e129693d5f2 SHA512 677650c05f31fc27035e12f3f5e4b095715dfe12d2d3483f800bfbc6e986a98dbb1997cd52ad7a177b5c120c9b87fe5a2452a4f0f9852ac9a58262e0c5d576c9 WHIRLPOOL 070602fb27fee6a25035c9e93f5c2422270a5781fd11dac318d3f5c32cf9e49163abf7999729df230d3e181b6a1362982744e1f0ac016bf59a3458ae23abbb83
5961
5962 diff --git a/dev-libs/gjs/gjs-1.30.1.ebuild b/dev-libs/gjs/gjs-1.30.1.ebuild
5963 index bc1c62d..8b68b5a 100644
5964 --- a/dev-libs/gjs/gjs-1.30.1.ebuild
5965 +++ b/dev-libs/gjs/gjs-1.30.1.ebuild
5966 @@ -1,6 +1,6 @@
5967 # Copyright 1999-2012 Gentoo Foundation
5968 # Distributed under the terms of the GNU General Public License v2
5969 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.30.1.ebuild,v 1.2 2012/05/04 18:35:43 jdhore Exp $
5970 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.30.1.ebuild,v 1.3 2012/09/25 11:52:27 tetromino Exp $
5971
5972 EAPI="5"
5973 GCONF_DEBUG="no"
5974 @@ -12,7 +12,7 @@ inherit gnome2 python virtualx
5975 DESCRIPTION="Javascript bindings for GNOME"
5976 HOMEPAGE="http://live.gnome.org/Gjs"
5977
5978 -LICENSE="MIT MPL-1.1 LGPL-2 GPL-2"
5979 +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
5980 SLOT="0"
5981 IUSE="examples test"
5982 KEYWORDS="~amd64 ~x86"
5983
5984 diff --git a/dev-libs/gjs/gjs-1.32.0.ebuild b/dev-libs/gjs/gjs-1.32.0.ebuild
5985 index 6f59962..d5effe0 100644
5986 --- a/dev-libs/gjs/gjs-1.32.0.ebuild
5987 +++ b/dev-libs/gjs/gjs-1.32.0.ebuild
5988 @@ -1,6 +1,6 @@
5989 # Copyright 1999-2012 Gentoo Foundation
5990 # Distributed under the terms of the GNU General Public License v2
5991 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.32.0.ebuild,v 1.4 2012/08/13 18:40:42 blueness Exp $
5992 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.32.0.ebuild,v 1.5 2012/09/25 11:52:27 tetromino Exp $
5993
5994 EAPI="5"
5995 GCONF_DEBUG="no"
5996 @@ -12,7 +12,7 @@ inherit gnome2 pax-utils python virtualx
5997 DESCRIPTION="Javascript bindings for GNOME"
5998 HOMEPAGE="http://live.gnome.org/Gjs"
5999
6000 -LICENSE="MIT MPL-1.1 LGPL-2 GPL-2"
6001 +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
6002 SLOT="0"
6003 IUSE="examples test"
6004 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
6005
6006 diff --git a/dev-libs/gjs/gjs-1.32.0.ebuild b/dev-libs/gjs/gjs-1.34.0.ebuild
6007 similarity index 79%
6008 copy from dev-libs/gjs/gjs-1.32.0.ebuild
6009 copy to dev-libs/gjs/gjs-1.34.0.ebuild
6010 index 6f59962..fb2fc04 100644
6011 --- a/dev-libs/gjs/gjs-1.32.0.ebuild
6012 +++ b/dev-libs/gjs/gjs-1.34.0.ebuild
6013 @@ -1,8 +1,8 @@
6014 # Copyright 1999-2012 Gentoo Foundation
6015 # Distributed under the terms of the GNU General Public License v2
6016 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.32.0.ebuild,v 1.4 2012/08/13 18:40:42 blueness Exp $
6017 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gjs/gjs-1.34.0.ebuild,v 1.1 2012/09/25 11:52:27 tetromino Exp $
6018
6019 -EAPI="5"
6020 +EAPI="4"
6021 GCONF_DEBUG="no"
6022 GNOME2_LA_PUNT="yes"
6023 PYTHON_DEPEND="2"
6024 @@ -12,18 +12,19 @@ inherit gnome2 pax-utils python virtualx
6025 DESCRIPTION="Javascript bindings for GNOME"
6026 HOMEPAGE="http://live.gnome.org/Gjs"
6027
6028 -LICENSE="MIT MPL-1.1 LGPL-2 GPL-2"
6029 +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
6030 SLOT="0"
6031 IUSE="examples test"
6032 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
6033
6034 -RDEPEND=">=dev-libs/glib-2.31:2
6035 - >=dev-libs/gobject-introspection-1.31.22
6036 +RDEPEND=">=dev-libs/glib-2.32:2
6037 + >=dev-libs/gobject-introspection-1.33.10
6038
6039 dev-libs/dbus-glib
6040 sys-libs/readline
6041 x11-libs/cairo
6042 - >=dev-lang/spidermonkey-1.8.5:="
6043 + >=dev-lang/spidermonkey-1.8.5
6044 + virtual/libffi"
6045 DEPEND="${RDEPEND}
6046 sys-devel/gettext
6047 virtual/pkgconfig"
6048 @@ -37,8 +38,8 @@ pkg_setup() {
6049 G2CONF="${G2CONF}
6050 --disable-systemtap
6051 --disable-dtrace
6052 - --disable-coverage"
6053 -
6054 + --disable-coverage
6055 + $(use_enable test tests)"
6056 python_set_active_version 2
6057 python_pkg_setup
6058 }
6059
6060 diff --git a/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.610.0.ebuild b/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.610.0.ebuild
6061 new file mode 100644
6062 index 0000000..d91d0af
6063 --- /dev/null
6064 +++ b/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.610.0.ebuild
6065 @@ -0,0 +1,39 @@
6066 +# Copyright 1999-2012 Gentoo Foundation
6067 +# Distributed under the terms of the GNU General Public License v2
6068 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.610.0.ebuild,v 1.1 2012/09/24 18:09:38 tove Exp $
6069 +
6070 +EAPI=4
6071 +
6072 +WX_GTK_VER="2.8"
6073 +MODULE_AUTHOR=MDOOTSON
6074 +MODULE_VERSION=0.61
6075 +inherit wxwidgets perl-module
6076 +
6077 +DESCRIPTION="Building, finding and using wxWidgets binaries"
6078 +
6079 +SLOT="0"
6080 +KEYWORDS="~amd64 ~ia64 ~x86"
6081 +IUSE="test"
6082 +
6083 +RDEPEND="
6084 + || (
6085 + x11-libs/wxGTK:2.9[X,tiff]
6086 + >=x11-libs/wxGTK-2.8.11.0:2.8[X,tiff]
6087 + )
6088 + >=virtual/perl-Module-Pluggable-3.1-r1
6089 +"
6090 +DEPEND="${RDEPEND}
6091 + >=virtual/perl-ExtUtils-CBuilder-0.24
6092 + virtual/perl-Module-Build
6093 + test? (
6094 + dev-perl/Test-Pod
6095 + dev-perl/Test-Pod-Coverage
6096 + )
6097 +"
6098 +
6099 +SRC_TEST="do"
6100 +
6101 +src_configure() {
6102 + myconf=( --wxWidgets-build=0 )
6103 + perl-module_src_configure
6104 +}
6105
6106 diff --git a/dev-perl/Alien-wxWidgets/Manifest b/dev-perl/Alien-wxWidgets/Manifest
6107 index ddad0d4..9bdd210 100644
6108 --- a/dev-perl/Alien-wxWidgets/Manifest
6109 +++ b/dev-perl/Alien-wxWidgets/Manifest
6110 @@ -1,6 +1,8 @@
6111 DIST Alien-wxWidgets-0.59.tar.gz 662467 SHA256 2f813e3c752970d63c288586c4d032fb5fbce7b90a6c3e3418b83b17dd8e2e4c SHA512 149242b3664c7d436fa9da902bc05cd482a1c3b45cf0cebe3c8d4c2c09b00c8fbd05612496b5a4e0d57f41880b1f6ab213775862dcf28d1b75eadeb42583966f WHIRLPOOL 7196fba98873eaaf896a4164202ff0c7bb48cd48f62ef73034a72ec7ffadaecba04948582e899963a0118a09bf9f03984b7aff64893cbd9dc4afa73aaccedbd1
6112 DIST Alien-wxWidgets-0.60.tar.gz 666207 SHA256 282b283dbe989365cdb5c13dceaf6276949ac17603a9c7914e474fed9637dc1f SHA512 0abb8c01a445c440ebcff4a2a5eb2b4e2f8b20e679c7bbacb6dc97f878f21b8745320acf973922331212e4dc7ed103d1223adc121616ae94a6aa1dd950ae5534 WHIRLPOOL 41aa65671b6cfcd2812ab9faeae83294efe84f55da999052b49c6c6dab8dd7563406b74a1f5c9e4801b43a4e30853044218288a2bc1eb1d3b3b051e4f28f0e39
6113 +DIST Alien-wxWidgets-0.61.tar.gz 666365 SHA256 d8cb146f3c100a4dd904fbe1259ba1fc8eee25a2c25926cc4460d40c273495c3 SHA512 5d83211ef9f13836e162bd1492af2928f3b4a9c2044b7432efe086ce99c8989c3038e126bd75adf19307f9ef4fd1382e5a0332b14f4d82155def3b17da68c75f WHIRLPOOL 0c5e1d3d850de9a164c3540c086a13e10427132d5ab2e17f57e7b3ce5fde34a7cb70c2fc56044bf7e55c573a3d27f3ecb82c9172de056f6f2112eec5c2a19587
6114 EBUILD Alien-wxWidgets-0.590.0.ebuild 738 SHA256 c71bd0221420aec7e5fda2ccb80d7bfff5fa31dc25dbee9f01816b3c68990af1 SHA512 7ccd6c61a442be945a7adbaffc6d18a325b17fb8ae3558d33d8a08e00c09d070661299f2f2da3435ef901698440c78d0a778cf5d8afd641ff1780f000ca3befb WHIRLPOOL ad011750fe1c80d0d6efa910d1a5b76988cad9b0db4f7174459e77b0fd2110fc6dfe608326a7cf3edb03f9ca383c2b760bc66d0d6b54a7a169f2f99f9fc9ecd6
6115 EBUILD Alien-wxWidgets-0.600.0.ebuild 743 SHA256 030a6443c94d090c2592bbdae6f708a06fcd76d7e00985b8d0e7b4508e1828e9 SHA512 bb162ee9209db0b73f3808b26f26e19121059eb9e36873ac64ec2708a2f59b0a25c552802e55123a5e2618211260045404cdeb1572bd82f3d51fe7e869b98bd0 WHIRLPOOL 55606b8a8cd612a24b513b809254342b2c4120d33e0f97ab75dee263cfd3cf039ee215a03cba16608a1c555ebb17d221a0e0a629a234c6a9d124981007a4b2f6
6116 -MISC ChangeLog 6536 SHA256 93c66c553a80d112b9606543a24f29344c3e0a27ddaf83a922a2d66f58c7bb62 SHA512 18674d1bb8aef86c0de4ad674ea8ab2f598d8c46c09fd21a07cfb297c05f89a49e597cdaefe557cd0cf8b4efa3e27e3f85d63f33e874e0af2e0136b4657fc827 WHIRLPOOL 40fd549e22502fc84aa628871499abeacec60f39e21d88564cbf05d87d6ad28f02a59d688caf4ca1f60b5deed150217619c633e99663063238fe12601ceff5bd
6117 +EBUILD Alien-wxWidgets-0.610.0.ebuild 821 SHA256 b8fa75e23eca6b93506da3bb8a1fd0fb00c8b5331fd4644f3fd9d78299e7b640 SHA512 8f37abbe7b2d304ffde790a656c432a18a3c979045438e9309a19a45ec87c347fb35412c008bd2d5e3232d12159353ebd701e4d4ba668d5fb0b1923bf76d5a88 WHIRLPOOL 5d21429a330529a3f52f70529972259fd399b26de3eeccb300ae7c283e5af5bca949991dfb757f92ceae1dfcbf14fa3d6b46663549b0da8b7f28ec79ed9bb0ca
6118 +MISC ChangeLog 6675 SHA256 a232782ab7d723159f3406b99f76e26844749a3c858bf4cab76f6e0cb5f9f3a2 SHA512 59926b36f90e0c12eaf55740807479fdd67b53e6a40fa2570bb08a0e2a0840c59bf1333942dd1f6fd9c7fa959c7deeda610f631d0e6fcc9c1b489c8159002968 WHIRLPOOL 270ba9134308e4923c1a30a47ead9109513052afc95ff7cb9dc1c7719afbaccaa9e325d1ee412a7c9ef48cf935219dc6da30bee5953e556840149d82a3f4854c
6119 MISC metadata.xml 376 SHA256 7ff696a38937cfbe4e96b68e64ff9e35a7f9078c77a574b023b22d3dc1bdaffe SHA512 cbcb56be6b1ecd6398c4cdb68020125492ee45107c0f8670f906c479bf09122f319e5d742521d5a356f111a131fc13af0eb71b8b19bad531075dec7a8f9249f1 WHIRLPOOL 64251e95a543b363472be10d11c391ce359510faf795f688d810218257c0db9dd99d5b62fd51e1a09cb7bd12c6b8e7e578438161ea8a8d1b945af64d48978478
6120
6121 diff --git a/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.500.0.ebuild b/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.500.0.ebuild
6122 new file mode 100644
6123 index 0000000..7b879f6
6124 --- /dev/null
6125 +++ b/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.500.0.ebuild
6126 @@ -0,0 +1,24 @@
6127 +# Copyright 1999-2012 Gentoo Foundation
6128 +# Distributed under the terms of the GNU General Public License v2
6129 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-TimeZone/DateTime-TimeZone-1.500.0.ebuild,v 1.1 2012/09/24 17:53:43 tove Exp $
6130 +
6131 +EAPI=4
6132 +
6133 +MODULE_AUTHOR=DROLSKY
6134 +MODULE_VERSION=1.50
6135 +inherit perl-module
6136 +
6137 +DESCRIPTION="Time zone object base class and factory"
6138 +
6139 +SLOT="0"
6140 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
6141 +IUSE="test"
6142 +
6143 +RDEPEND="dev-perl/Class-Load
6144 + >=dev-perl/Params-Validate-0.72
6145 + >=dev-perl/Class-Singleton-1.03"
6146 +DEPEND="${RDEPEND}
6147 + >=virtual/perl-ExtUtils-MakeMaker-6.31
6148 + test? ( >=virtual/perl-Test-Simple-0.92 )"
6149 +
6150 +SRC_TEST="do"
6151
6152 diff --git a/dev-perl/DateTime-TimeZone/Manifest b/dev-perl/DateTime-TimeZone/Manifest
6153 index 9ae0d0f..c62bdd5 100644
6154 --- a/dev-perl/DateTime-TimeZone/Manifest
6155 +++ b/dev-perl/DateTime-TimeZone/Manifest
6156 @@ -2,9 +2,11 @@ DIST DateTime-TimeZone-1.22.tar.gz 540883 SHA256 0c52fdcb2e84410007271701fac9f62
6157 DIST DateTime-TimeZone-1.46.tar.gz 384097 SHA256 dc5789385f5845554d7039c9241abbea3bd72f10b19c4618e60986a19cb25571 SHA512 345516411e0a35c69c4c5ad325da3e79c04ab5ca077e5e4a2e5d881577ae2cad45ebdcaa8a04eb2272fb816f2adeadd9aa84158ac440288e8bfb01ce52b7bc52 WHIRLPOOL ce934cda44d04b32bb5908564d0c024e05ae75de136945ba59d735bc63c93c2c672cf0d90e519e9694a5fc7f32042e510847ac43c933265a67a1490f0d4dfd31
6158 DIST DateTime-TimeZone-1.48.tar.gz 384084 SHA256 b9726d846f9dc50a03e27219705933de79fd6943bb5009b13c75d32d2bf6dc77 SHA512 b67b06e909d7922df4cc59bbe2876945f81dfd8e5be7141d6281a8ba9a6a751492b084fcbfc79e8404aaa2c717a329b5282ddf9f5007a790bdcbea63244203fd WHIRLPOOL b63db46b23590f05e709bbc187ae389d78a9e419b5892a43bb07ba3c91834153eedc5585102f5eb77c933ba1b4650cbf1493a664a94d717a44273c624e8bd1fc
6159 DIST DateTime-TimeZone-1.49.tar.gz 384843 SHA256 e0e7d0cad8da11ca6b4fa6c09fa3388cf8d133129c6125defc52a5818af1e70e SHA512 17798d6853094e7d6d9a0354456071e3cb549f3740915da63d44569383d0eaa2d8847ab24d6f84169b8dcd64e6645de0d2b11bab0ff097b6f1ccffa2d990745c WHIRLPOOL df5441f0d9767afd3cd93de92d5aa584602b4c457b6234ea68f1da9539102f2ed8fe9d3ac148cfbbcc039e6a0335d5ed6e714d000abf84bcea61798b88ee5617
6160 +DIST DateTime-TimeZone-1.50.tar.gz 385925 SHA256 c4bfc42828336f1b39bad31ad5d3b9d8dd6caeb414b76894accfc7bcf58c37dd SHA512 483ea270a5ed7497e1d13fa2999a30e31d832b7323dbd5f6374ee8db49d65ef5081864d119ac377256db88ec5d5dd5cbb61c2a96459cf1380cf18e0c1e79a082 WHIRLPOOL 42d4a6d52133a417de22e3ff71d2355e4c18202b0d30e074bbce0e2841380f53e51aa8e0e7bc4bf19314bd658c2e7580b7abde370b375dd8877ed9f5ddb76f7f
6161 EBUILD DateTime-TimeZone-1.22.ebuild 783 SHA256 e421ae7d4c5d21fe51c66b476482c107086d573696c87f234a7063e4166b1e16 SHA512 ee337c4c06bea7462a46f87b7b957d1212a63e9eb60f8803e29df59ae677b04b97fc64f7a5d45f89881c6fc7f13fe5a03933482d430c2c93dd4273ad14be3fb0 WHIRLPOOL 0a0df9334b3a42a5f053b997fbff9c4274fdec177065c27243a327c47cdeec7cb416a54ec1c9ab1e729db385fe1bb3f194f752dd5a62c9b3657fd2a57ebd1d76
6162 EBUILD DateTime-TimeZone-1.460.0.ebuild 765 SHA256 209f588cb9b89d76aecb372129be88f504210c6d8b4478db43c18b9b8dc694dc SHA512 79bb2267ec41891876801829626d247b867287fb6a022eff6030ed3723cebfc8ed2b9853a62c7ef933322bcf6fc6629d608d7d567ff75076dfc08097ba3b1ffb WHIRLPOOL cb4d5cac1fb2c3da258d21afb3c068cc570db85e7753d41544374f0ba7e4b4b2d73f863aef95bc99c5a8c18dee34fc2962de5f4280475ddb7c702fa81f79c8e4
6163 EBUILD DateTime-TimeZone-1.480.0.ebuild 785 SHA256 315d27349bb817cae91a57633462fcc81b7cb8d91aaa8fc92e8705c6c5fce145 SHA512 371716cc6210d0648a14201bb29de7ecbfb78e2071dc36eba1be6ed5d5c5f948250c69b6a4f02c8f1d5ea6a208e5fa72cfa24b323963461c48b8a18020e6a1b2 WHIRLPOOL 2bffb7a02ea60654d7c55b2f16b0ba3152ff93119abbf119699beb8be02a4c6259ad57cb14e1bede7447361bea4b3dc89cc684c4806b69e59f1c054c6a58ba93
6164 EBUILD DateTime-TimeZone-1.490.0.ebuild 782 SHA256 78e5bfff8e978001df27709db94a2c2340d137afd8fc34c4e935e133cf41c83b SHA512 2a66c3fb8a4d9911da4efc22f8b41458e586e6f456a1c3b52caa3ac052b1d269954621b6ab86843b0668f2a7c3e354721549df4628460397ce5b6b7850eb7f3e WHIRLPOOL 4318ab32e317c163d0cb88d8c0f9e2ec60975025746849a4bd93aa59a317d977f8a67b81f84520320243a0bf240dc21ceb5e4955d6a28e174fc77406fb3db1f6
6165 -MISC ChangeLog 28423 SHA256 fd2c0ee6bae25ce19b8784ec6bd01a7b71b5f1d4da8f4bc61f8a7fa9c25f56ae SHA512 e1a56f7c62218355e445df2f7204ef6416ef2c2287e6979478c178e6ba48d2a0e3e6ec67a054348bdd205c80a31c4444b33e14e3d1c93132a538d614a552ca80 WHIRLPOOL 1ca270cd5e8d42b6025dd7ded82065ae871093aae8fba29fa91a00318598de9136e5527a011d61c7cad50ff793995ac2d1dc5101f83d403dc29a48cec10656c8
6166 +EBUILD DateTime-TimeZone-1.500.0.ebuild 780 SHA256 055d2e3ff55b149d9527f61ff22fa28f7a22f48c044f8d5c9f568fe0a1c9ce3f SHA512 0a6ca51a28b9bc93b39202718d23c1f42fb0e0fe8dd462599b9975b2cfef720cfe44ad3e5da34a0aefafbaec05bf8dc334f63d34ce9fd77a52dc54926c902c2a WHIRLPOOL 1094d6b1a7e654c171f25ee0bf8b5369f306340c4b1864f18d98d42e2f061021defa965d0ea5dec84a49595686cfa7c6d953c81021bda019ff27430030ed083e
6167 +MISC ChangeLog 28566 SHA256 9beb7a2c6bcab5a8c43b2871d719ce112a71f6cd740e9825903b673dee10a70f SHA512 c2e4b9bf13a4554e90211fc2310b969595290a39d7c21b860b819ffd95cc6aec7bb7c015747f69a54cc4800f43d240e75bf8139090b576273d85928de55e9728 WHIRLPOOL e6afcee46cfa18ee0ca448be03f76d713a84a305b1a03e74852d3d383861b9c26b24fe83f1dd2df26fe10801c5adb7a4be508ef31c1838a4d63a4cc2e2e3682a
6168 MISC metadata.xml 35193 SHA256 8e17b6597114fa3ad8bd3d2ce31c61570a9fa5f4cefec990de11d36ad0444674 SHA512 9e58ae6e7c120563f041010eb17ed697d985a0d27d6aebbf92196270afb8e81ca882fc76a222b9629c5c70826f848195d166610eb8d8bd7482d9421c1e30ff1c WHIRLPOOL 0e9e4c08b3ccaefb38f5e7e648a748ae3f618b906cd8d1c5c3cbd7ab743fcc347d3ad5a15df2574156ecddfb64c83dc0b5e616d875b68035335c03ae0b826adf
6169
6170 diff --git a/dev-perl/Devel-NYTProf/Devel-NYTProf-4.90.0.ebuild b/dev-perl/Devel-NYTProf/Devel-NYTProf-4.90.0.ebuild
6171 new file mode 100644
6172 index 0000000..8183d67
6173 --- /dev/null
6174 +++ b/dev-perl/Devel-NYTProf/Devel-NYTProf-4.90.0.ebuild
6175 @@ -0,0 +1,28 @@
6176 +# Copyright 1999-2012 Gentoo Foundation
6177 +# Distributed under the terms of the GNU General Public License v2
6178 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Devel-NYTProf/Devel-NYTProf-4.90.0.ebuild,v 1.1 2012/09/24 17:55:48 tove Exp $
6179 +
6180 +EAPI=4
6181 +
6182 +MODULE_AUTHOR=TIMB
6183 +MODULE_VERSION=4.09
6184 +inherit perl-module
6185 +
6186 +DESCRIPTION="Powerful feature-rich perl source code profiler"
6187 +
6188 +SLOT="0"
6189 +KEYWORDS="~amd64 ~x86"
6190 +IUSE="test"
6191 +
6192 +RDEPEND="
6193 + virtual/perl-Getopt-Long
6194 + dev-perl/JSON-Any
6195 +"
6196 +# virtual/perl-XSLoader
6197 +DEPEND="${RDEPEND}
6198 + test? (
6199 + virtual/perl-Scalar-List-Utils
6200 + >=virtual/perl-Test-Simple-0.84
6201 + )
6202 +"
6203 +SRC_TEST="do"
6204
6205 diff --git a/dev-perl/Devel-NYTProf/Manifest b/dev-perl/Devel-NYTProf/Manifest
6206 index 48fa316..a78f221 100644
6207 --- a/dev-perl/Devel-NYTProf/Manifest
6208 +++ b/dev-perl/Devel-NYTProf/Manifest
6209 @@ -1,4 +1,6 @@
6210 DIST Devel-NYTProf-4.08.tar.gz 413566 SHA256 e3ddb5c1ec8c44fbdecaa1990a28d16ea8d58036fcedef99d9fc2a15e6a39867 SHA512 ab19711e4dd13624673544e1383768a40e0413e45e0bdbaf5710972bd7fb6b13481d324f26b1cf5d0adcfeeed0fa10f20cb5503cd77e62efe0dc14c8cb67c3a4 WHIRLPOOL fd9caed73dde334c114f8f971dcfb98a351e978ff56387cb6fa4c9219a06227b0a90ee7dd0860f1e09f3eecde489d8ad694022bf9bae443195f9002e84b75aab
6211 +DIST Devel-NYTProf-4.09.tar.gz 413599 SHA256 9270afc427e03c6c604bceba9450dde484191342435e85849b784d53b3c3a153 SHA512 2840e28f600ea9d814f588e6fe5df0b5b08955c12e301b67b535eab4c50fa34a63f0da514bfed5c9feea71fa01614eeaf9781ad12baf2ae0a8b019bdda6798db WHIRLPOOL 9fd878c13a90894f8269481286502751fd42afbd387ec06d5333f3e047d486edfa1d7e02aa6f773e6bdf651df3e150db83998c1183b5b6263977dfdabf02d833
6212 EBUILD Devel-NYTProf-4.80.0.ebuild 604 SHA256 70f3c5c942550e5a63200b986ae14bf6bd161ac900e29d74f7ea2092eb9e09ee SHA512 b2c957a1638b8ee5333cc77cd732cccad20a73050d2d991aba0fafe23e38cfd78eabfc3e2b664af18fc12a603bb3dea6af724bb93e6b64f8ea4b42437c928022 WHIRLPOOL bf0da6d5692f0ffafcaa98c0b897b343e2bb3607ef3bf6ce0e6e01025de54f5906381bbca64e836eb2e8f5b9b77f5bf3f766578a56a8b74f3ba558a23f91511b
6213 -MISC ChangeLog 3464 SHA256 f16ad54e31a829b2cc2d89c294b541800925d18d06dd64c97e4918b48c5607ad SHA512 26811e7366e5260a3dd4817b3220367e858fa1316acd130d7a97c92b35ae959a82a78d54c88271f1fa9c3965809853d453bee3f6b597a4d8aee0c50e70527ab9 WHIRLPOOL fe4f99f1eaa28fa4e0ae570c253cccf596be69c9aa3a375f859ea6b4454bd0429cc69e3b846e3c39fa2e37f00ad8807f87d53a9ebda6ac5e10f7d419eebdd983
6214 +EBUILD Devel-NYTProf-4.90.0.ebuild 602 SHA256 7742e13c7212b30cae070c54d7ca521bd5f58bcca4bbd0e4577e5faff3961088 SHA512 60cc7d868c7b27c25b65e3db183080c1dfc6bd7beaff31a407c6b8e70aae6697bdb027d81699af94e381349f9269be51f9b2d2aec3c08a0c8323214f2fb8115f WHIRLPOOL f68280fa5e591c052d927c20f4ba7984dbba629759099e7840e2333451fc2054412b6c032f655343eedc7d9472d39d4fbf0e02cf91890eea21e0dedf3e1a20e0
6215 +MISC ChangeLog 3595 SHA256 292b7885ded77479d48fbb3632ac9dc2e15c11fe55996b646456a73effdeb682 SHA512 e641b156a3533705076f8ce52413c6586ea3b8c559a1bf2c9c17c916d405e7829f3d4aa02fd71c2d3f4ded99ab795ebfad6848d24e9511e215b4930a1b0f3072 WHIRLPOOL 02da73c6c8ade5bbf0a40ab6a0de8eacd22e4a960ab4c89b61963ec681ce05b96d8a20af3c68b7c117df3de1bb730a0daed769122ab21039935a0048c83c00ab
6216 MISC metadata.xml 1064 SHA256 4eaee55ab0e0a9a5e888e4a1ee5d5c3d0c9ffe5bbac6eda4d9af4ddce5deb901 SHA512 fca7267ed728980784e2c4c88a2a5952b1348ace0188a94e91feedf02992867184bd346b8b1e35a6ef6f76470b0f43c881c765694f22354c41d26ce3b3b80c7d WHIRLPOOL 9574ccfc5f6167f5ddaa8d14805457749b385f54d0517e6455c0082dfe08a8f4d372ed5a9ae4d6685ee2362d0b46c59bca01fa39a16446699b322188b61f6bef
6217
6218 diff --git a/dev-perl/Inline/Inline-0.500.0.ebuild b/dev-perl/Inline/Inline-0.500.0.ebuild
6219 index 661330a..294d2fc 100644
6220 --- a/dev-perl/Inline/Inline-0.500.0.ebuild
6221 +++ b/dev-perl/Inline/Inline-0.500.0.ebuild
6222 @@ -1,6 +1,6 @@
6223 # Copyright 1999-2012 Gentoo Foundation
6224 # Distributed under the terms of the GNU General Public License v2
6225 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Inline/Inline-0.500.0.ebuild,v 1.7 2012/06/17 13:53:53 armin76 Exp $
6226 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Inline/Inline-0.500.0.ebuild,v 1.8 2012/09/22 13:20:24 blueness Exp $
6227
6228 EAPI="5"
6229
6230 @@ -11,7 +11,7 @@ inherit perl-module
6231 DESCRIPTION="Write Perl subroutines in other languages"
6232
6233 SLOT="0"
6234 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc s390 sh sparc x86"
6235 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc s390 sh sparc x86"
6236 IUSE="test"
6237
6238 RDEPEND="virtual/perl-Digest-MD5
6239
6240 diff --git a/dev-perl/Inline/Manifest b/dev-perl/Inline/Manifest
6241 index b6835c5..3c6fd5d 100644
6242 --- a/dev-perl/Inline/Manifest
6243 +++ b/dev-perl/Inline/Manifest
6244 @@ -6,6 +6,6 @@ DIST Inline-0.50.tar.gz 104632 SHA256 6263fa1145efe9e96bcd60d10f9eabd93313e00cb1
6245 EBUILD Inline-0.44-r1.ebuild 919 SHA256 10be653817c023fbf606be52482ec10bd4c57f1e4a7029b0b8286eb2c0522cdd SHA512 f9347bb92eaf6f6c5f89f98840575162fe6e860bff948ce39667a1c992bdd0a663ea351d8051b54f91cc3415033c1a98a0bdfc34e84f95ce9a128270aff5bad8 WHIRLPOOL 9480a51ea71e2a78513342b42bff646de8988f5cb2e65309d3b77e57714d981bc7488f56156a35a02e553043a40fffd8a586ffdab8069b764f43a0ecb8aed874
6246 EBUILD Inline-0.470.0.ebuild 567 SHA256 66d1db66377fcd2608dc6f52489a90199a8b483170b0826a91426cb54f391c7a SHA512 589cb4941608554a0402dbc57f211c8b270f31a644be0e9280effaa8f4026d994676d0d51d366c98e5067583454e8715b3dbdcea91691583f17ac1460b4e39e2 WHIRLPOOL 20f3dfc7b08193c013bbb215c2514ee6f92a51446e3ef048116c724612adb660231b782435e1ab53e42623eef154899a8d4a11cd3648b432dcfcf5e424df142b
6247 EBUILD Inline-0.480.0.ebuild 669 SHA256 8d36cdd7f5d94fbaafa02d4a43805c07bdda2b57442da022e8e1e0dfb1eba0c6 SHA512 6de7ad9a74bf02e1e8c7f24530d628732d2e6934534d72398819e09bd4968741bb1fd7f8d3efdd78375a9d4afa51f1a35783011db157255b657c73396ff4355a WHIRLPOOL 67e298713fd6ef58ec987c3f5460541897a8a85a604d1a52cae818c2b897d2dfbb3b95a3814a8aa6a8b8a5c28882485efddc0486c4655bdfd43e3b7c1404ce10
6248 -EBUILD Inline-0.500.0.ebuild 658 SHA256 d60971181f4a94148d4f91a198e143543dd78e1841346e29c8b72286170f1106 SHA512 cbc8c6ebc260972ed7f5982742602603ed6995be4f2556ec780390be7e2af57e7cec9b34bfda3c6504c710f63e658458146576f5c51ecf86519bacf6f539d78a WHIRLPOOL 3a5340137c39b79259dfab61b1685244b030e2cd084b016e6a04d449095e77db58ee9da1c5b867636e6b404b437716c7c69dea127ba80d44a31809546bb76a20
6249 -MISC ChangeLog 5692 SHA256 b9df86e604fc695a9d07add8ced1e33ecf09cf0be42cc7e066c4aebe996acbb5 SHA512 54d51db0cceaaabce79eed2da5ab26dac439c44c87a0d0a319985bb603c0c63d10d5ffb762b6cb8b67c27142dbf8bc32c80112af569bce258e554e4960deacf3 WHIRLPOOL d1dcc326c95e19dffbc6cb266ae823d7feb5e8c797f8a2c3513d9e4f0b7857a4008873352e2a693fe4d7249c9f186b9875e17923996467f166fbc0af3a28e4df
6250 +EBUILD Inline-0.500.0.ebuild 664 SHA256 c0ee555156b212262e7600ad98dd49d3670cad5e6f7ce775db4d99b56ce51768 SHA512 325b9e35d8b1d3c7968c0ba280d602053b265100d400ab543eb501e5e42f658d02f323d5405ab75c93933eb72fd2c784576f42da366264eac88c6115fc632859 WHIRLPOOL bbf7ec9c0e4af4cce346d0c208eb43a5e82985f907b044e511f7eab3bf7404e7c750ac769508ff34790e1fa518c069520beb2f5c1194cfa90f22bae7e73656ba
6251 +MISC ChangeLog 5805 SHA256 67c13ba85e7fa1a67be731cb958e3b50598fa1a3d1e094227c197fa6050cf997 SHA512 071da821e119db623b0b4e9f397d993caab02ff62f0d4fed463496f6fe8c55a6050c62a76138d70454aca099fa852fb3742cb3f827c009fe19143027126308c1 WHIRLPOOL 9a335b08fc484be9d089a3041ee0a0b218639ed8294bbfdc9ee0ca275a3dee3d36062d64fd85e064d4674370b60d1d9c525e7db64a763a0c19dd38c94c6884c9
6252 MISC metadata.xml 783 SHA256 454497f1806ac76e2e2093cbf4e000dd55fc44ef1ea1cc89e0618e6aa1e48fc5 SHA512 ea2440cd867d9bd02e970fa1e457b46c4744c56448f79f07b108daa999180acb3297229e97d5821c858fc87832fdd1fbe399d5dd6c860a6b3df5a491f4640095 WHIRLPOOL 72c7959ff4e3833efad502f5a865dc1fc4e5372631d70c74ed76a9673344685225bf179918a1c6800446a815813e7ac74bf74747da0725566db4336cedde4ac7
6253
6254 diff --git a/dev-perl/Moose/Manifest b/dev-perl/Moose/Manifest
6255 index bbbedea..09dd0a6 100644
6256 --- a/dev-perl/Moose/Manifest
6257 +++ b/dev-perl/Moose/Manifest
6258 @@ -1,8 +1,10 @@
6259 DIST Moose-1.24.tar.gz 470108 SHA256 787ecd308bd6c2565739d092f8cf28f849721b8d197b1ef8eed14bd443a53791 SHA512 f18490633feb24565c4a595b21723bf1d3b29ddb459509cf97cda96d969362b6a43876c11e14bb0f80c773330fe3d3088078ec6c079d1ee8399232c137c91008 WHIRLPOOL 158277011c20628102669321d4b798d0121242d11cade6fb2a98db1d811118e5607d02c61256c38b6247c4c7ea383ef39bb26601193fb4380b452a0fd35fbfff
6260 DIST Moose-2.0402.tar.gz 677553 SHA256 d033fa37b7c7451312fdd1b758511afe43b4bba10acce063aaf219dbd7008a6e SHA512 9f3bbadb0bb8ffbc701e457fc670e630217de7b83c2d241e879086a03ddf4a19a291b6b55160248eab2a2c74dc981920422978e0189938f540ea2db404277882 WHIRLPOOL 06ff2b7250fe8605999551f51196482ea3537df532fcb5c92d40bf1b36ac450c64808391192e88c2d2b52bdec219b725bdae3841bcce10fb7cfd9fc3601a2a03
6261 DIST Moose-2.0603.tar.gz 696979 SHA256 279738dc91407ccb8c02cb444c3ed0feb4d4525549bece4fdde6c2bae371c356 SHA512 2ea47abb9668887e7d9f8f73cf785170e2ecfad66542cd65188513728fffbe42e27b23d94b1f5101e0c72880947e078b900133ce5a06cf0bc691109631f463af WHIRLPOOL 9a02953eef8c206eb6aae81d11c6f0a2f3b455e8d6018e27413515345c520cf870f3861baac2143e1f0e396945d7326e3786c3b623af7327858338e8746b8d06
6262 +DIST Moose-2.0604.tar.gz 696388 SHA256 121fa0032e3838faddfea63028458ff963fd527c63c6cea7a6c8f186169d9b5b SHA512 58ccb7e8e5065ae4b49c683295231e7e03fbee41ce18dfb68255b21087091c45227452acbb2eef61abfa94f661eaf888078cdc40a0640b96e9b7ab49d7d81cc3 WHIRLPOOL 995d955a17befed17a4dfe043e2c2239f17a2bf43e056863cd31615ea619e8e49ff71ba1044306dbab5277f1e782894386ef0f00f5e609838823d3c285e69795
6263 EBUILD Moose-1.240.ebuild 945 SHA256 481edc464dfbd4d305b70a283aa74875562d0ded772b31e82f860a0442ab408f SHA512 edc70160a9e955200690844c4d21b6747feb8a5f314452606690af8b434d878a241a3dbdfd5742aeb4633bc1e4ed743ec14acbadd40e4990e099d350ca657a38 WHIRLPOOL 88827f8321cc920e734c1d582f9aa547c71d81b3f26732e0f90d2b5f040aa865204871ae7cfccf839bfd11a20eed2eb7b283bb8e8918dbb1c35a073b6a7c492f
6264 EBUILD Moose-2.40.200.ebuild 2980 SHA256 80acb488a927ec656c11608aacca65add15e1c061adf3eccadb442faa48d7417 SHA512 bc63f583b1e6bac5761d5606c877f1c356db903a176a666cf9d5b1fbf8fb0358dba86bafb7caac3a85849fbbb86496068687b0ac715638fb00e22ee6c66d23b3 WHIRLPOOL ea325484dd9ba61149b03b1762d1f5949ccf967347f9ffe69f0522182a095b35d833606a19b8ef5f4396bdde47c1477f21169f62c022e8b2ab768328916e8059
6265 EBUILD Moose-2.60.300.ebuild 3078 SHA256 fc27f1cc39ede02b3f587e8b59c11b2d0e21c894b36c389e2d0e558eaf65d4b3 SHA512 3b5bd5a77572c3cdd8f98d18fdf4abcc5b95029050727e527493bf87957c2deb64c497caf98d50a7e648cbdf31c11ff2962ca092f93b7578112837fe7acbeeee WHIRLPOOL 6d5756db5dd1e1163f027d5f690f9210267d79e8a9f88f10a8d7067d6b1d70ff43f4d637f90e764f44b7be7360df2a9d296a00ba82a9d5474eddf36266a26613
6266 -MISC ChangeLog 12416 SHA256 688e58a7ba1e16fd859adafd3e49d70047b1284615434cb7d1906b4d2b51504f SHA512 a8b43890854a6fc8ca6deddbc090ca23605a5955bca5811c2b1b0b5402eb889c17274f0771a25829350cade19855531285fea28a85e25656702bd910afd54ee9 WHIRLPOOL 54702786532f6c6d7b093584f49b66a71709d91fd2fa1a04f5c2ee67ab68a2855771cec8104d47479f345d37236521f9cd3a73be7a2623ca67f69a9fd72e4fb1
6267 +EBUILD Moose-2.60.400.ebuild 3079 SHA256 68220bae0426b9b520654dd53f8102d5048ab6bbcc648902668ed8d2c8bfd386 SHA512 ef0110d9a8ea710a04c8947b0cd34c98b85905d94300864aa62dd29ec7fcc77a074fd7028f4aa5c74db622b236ac43654af6c49896a1787bf4385749d67c917e WHIRLPOOL e3a44b66d1a40abe791d715c1f8c5e7ad1f17c43d4a389445da103861078ad36b29984d9e553c0bf8fae05265f693bb26bd249c4d1d15a2bc8c1d0692bbb0768
6268 +MISC ChangeLog 12535 SHA256 a30e9a413c3195b60911e3d0e99ed46cd2a488c736f18c300adfe9d331269eda SHA512 5d282f15718f146e8a4f7aeb1644bee0be801c51d144fc2c0a764d4eb0915ce4c3fd2284dcccbf082e84d559029366a4826f35089d37d913d615c1a2e0ec5b0c WHIRLPOOL 2ade62fe2637dd22e02006268be3d071703825216a8893dacfbc885f1095dcb7ca209f5dde42bc281207fab8efbff19e761626c7ca068be8f79ac208b7840d28
6269 MISC metadata.xml 6552 SHA256 0b5fd9152322d033c663acf9478521d07e7f7955cc22d3dea6f1f302abed875f SHA512 21e68e88c32c27d108db0b32ca9a0c55f2b5efd4bf0811d73babd533950a879bf254e4f01f279949936bf2449d918e4806fe6d79205b8c5d7e2f93848d2c7f1f WHIRLPOOL c3e028254f3de2a52bec02a3d43ce24c10cc1479121c3bd2054ac9a0ae23d3981cc07c8f9d4e5001403fa1be4cf96ff30215083a7311d669eb424c594697dd95
6270
6271 diff --git a/dev-perl/Moose/Moose-2.60.400.ebuild b/dev-perl/Moose/Moose-2.60.400.ebuild
6272 new file mode 100644
6273 index 0000000..75e4584
6274 --- /dev/null
6275 +++ b/dev-perl/Moose/Moose-2.60.400.ebuild
6276 @@ -0,0 +1,100 @@
6277 +# Copyright 1999-2012 Gentoo Foundation
6278 +# Distributed under the terms of the GNU General Public License v2
6279 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Moose/Moose-2.60.400.ebuild,v 1.1 2012/09/23 12:34:08 tove Exp $
6280 +
6281 +EAPI="5"
6282 +
6283 +MODULE_AUTHOR=DOY
6284 +MODULE_VERSION=2.0604
6285 +inherit perl-module
6286 +
6287 +DESCRIPTION="A postmodern object system for Perl 5"
6288 +
6289 +SLOT="0"
6290 +KEYWORDS="~amd64 ~ppc ~x86 ~x64-macos"
6291 +IUSE="test"
6292 +
6293 +CONFLICTS="
6294 + !<=dev-perl/Catalyst-5.800.280
6295 + !<=dev-perl/Devel-REPL-1.003008
6296 + !<=dev-perl/Fey-0.360
6297 + !<=dev-perl/Fey-ORM-0.420
6298 + !<=dev-perl/File-ChangeNotify-0.150
6299 + !<=dev-perl/KiokuDB-0.510.0
6300 + !<=dev-perl/Markdent-0.160
6301 + !<=dev-perl/Mason-2.180.0
6302 + !<=dev-perl/MooseX-ABC-0.50.0
6303 + !<=dev-perl/MooseX-Aliases-0.80
6304 + !<=dev-perl/MooseX-AlwaysCoerce-0.130.0
6305 + !<=dev-perl/MooseX-Attribute-Deflator-2.1.7
6306 + !<=dev-perl/MooseX-Attribute-Dependent-1.1.0
6307 + !<=dev-perl/MooseX-Attribute-Prototype-0.100
6308 + !<=dev-perl/MooseX-AttributeHelpers-0.22
6309 + !<=dev-perl/MooseX-AttributeIndexes-1.0.0
6310 + !<=dev-perl/MooseX-AttributeInflate-0.20
6311 + !<=dev-perl/MooseX-CascadeClearing-0.30.0
6312 + !<=dev-perl/MooseX-ClassAttribute-0.250.0
6313 + !<=dev-perl/MooseX-Meta-Attribute-Index-0.40.0
6314 + !<=dev-perl/MooseX-Meta-Attribute-Lvalue-0.50.0
6315 + !<=dev-perl/MooseX-Constructor-AllErrors-0.12
6316 + !<=dev-perl/MooseX-FollowPBP-0.20
6317 + !<=dev-perl/MooseX-HasDefaults-0.20
6318 + !<=dev-perl/MooseX-InstanceTracking-0.40
6319 + !<=dev-perl/MooseX-LazyRequire-0.60.0
6320 + !<=dev-perl/MooseX-NonMoose-0.170.0
6321 + !<=dev-perl/MooseX-POE-0.214.0
6322 + !<=dev-perl/MooseX-Params-Validate-0.50
6323 + !<=dev-perl/MooseX-PrivateSetters-0.30.0
6324 + !<=dev-perl/MooseX-Role-Cmd-0.60
6325 + !<=dev-perl/MooseX-Role-Parameterized-0.230.0
6326 + !<=dev-perl/MooseX-Role-WithOverloading-0.070
6327 + !<=dev-perl/MooseX-Scaffold-0.50.0
6328 + !<=dev-perl/MooseX-SemiAffordanceAccessor-0.50
6329 + !<=dev-perl/MooseX-SetOnce-0.100.472
6330 + !<=dev-perl/MooseX-Singleton-0.250
6331 + !<=dev-perl/MooseX-StrictConstructor-0.120
6332 + !<=dev-perl/MooseX-Types-Parameterizable-0.50.0
6333 + !<=dev-perl/MooseX-Types-Signal-1.101930
6334 + !<=dev-perl/MooseX-Types-0.190
6335 + !<=dev-perl/MooseX-UndefTolerant-0.110.0
6336 + !<=dev-perl/PRANG-0.140.0
6337 + !<=dev-perl/Pod-Elemental-0.93.280
6338 + !<=dev-perl/Reaction-0.2.3
6339 + !<=dev-perl/Test-Able-0.100.0
6340 + !<=dev-perl/namespace-autoclean-0.08
6341 +"
6342 +
6343 +RDEPEND="
6344 + ${CONFLICTS}
6345 + !dev-perl/Class-MOP
6346 + >=dev-perl/Class-Load-0.90.0
6347 + >=dev-perl/Class-Load-XS-0.10.0
6348 + >=dev-perl/Dist-CheckConflicts-0.20
6349 + >=dev-perl/Data-OptList-0.107.0
6350 + dev-perl/Devel-GlobalDestruction
6351 + >=dev-perl/Eval-Closure-0.40.0
6352 + >=dev-perl/List-MoreUtils-0.280.0
6353 + >=dev-perl/MRO-Compat-0.05
6354 + >=dev-perl/Package-DeprecationManager-0.110.0
6355 + >=dev-perl/Package-Stash-0.320.0
6356 + >=dev-perl/Package-Stash-XS-0.240.0
6357 + >=dev-perl/Params-Util-1
6358 + >=virtual/perl-Scalar-List-Utils-1.19
6359 + >=dev-perl/Sub-Exporter-0.980
6360 + >=dev-perl/Sub-Name-0.05
6361 + >=dev-perl/Try-Tiny-0.20
6362 +"
6363 +DEPEND="${RDEPEND}
6364 + >=virtual/perl-ExtUtils-MakeMaker-6.56
6365 + test? (
6366 + dev-perl/PadWalker
6367 + dev-perl/Test-Fatal
6368 + >=virtual/perl-Test-Simple-0.88
6369 + dev-perl/Test-Requires
6370 + >=dev-perl/Test-Output-0.09
6371 + >=dev-perl/Test-Warn-0.11
6372 + dev-perl/Test-Deep
6373 + dev-perl/Module-Refresh
6374 + )"
6375 +
6376 +SRC_TEST=do
6377
6378 diff --git a/dev-perl/Parse-RecDescent/Manifest b/dev-perl/Parse-RecDescent/Manifest
6379 index 59b92ac..7a8d17b 100644
6380 --- a/dev-perl/Parse-RecDescent/Manifest
6381 +++ b/dev-perl/Parse-RecDescent/Manifest
6382 @@ -1,6 +1,6 @@
6383 DIST Parse-RecDescent-1.965001.tar.gz 154813 SHA256 00fa63039b062452d675712e58f0311d7323377af3cdd0fdccb1ecfe64b68d64 SHA512 630215cc3a4b424688fe8ff63d3b671eaeb091d6a5e4aad39444163c98b8c39acd05202b0d59487a63e0ad6b6986a8a7e9394a1b171fcecd3f0d3e6b5dd1b56b WHIRLPOOL 3e1e442d8ab29d5ca13cb01d0b712fc2daa48487a6c8f5992b2f12a04d5164c3f79f8170766cc9a30ea8d78f8f1a576f6fcdecf228a0ad6c2c2e51535890bbfb
6384 DIST Parse-RecDescent-1.967009.tar.gz 170858 SHA256 e1000f0b82256269fb8daa43aab166a7832fc18b4689af7c8d6d1a49fe75c687 SHA512 8423f4c61770ec77b67c656755dd952fb01b739405fe0586d502d9698f8b18e401ca7f40e7e88208af4a15c0f7d45c4ecf5f20032014cf650351763516515cae WHIRLPOOL 91af978877642f54bf4e8464343a79892242a49859df78c3f11962ca2e09eafcc69cbd2e935a5220e1552fa90907d0b02a866d4cfa3b4339ac16afb74a95d45e
6385 EBUILD Parse-RecDescent-1.965.1.ebuild 759 SHA256 7c5904bf1287fa4d0125ad8b34302494b23348fddb49f7f4bcd2480dfb2f6807 SHA512 3b215bd00969b28d3378e6ab2ca790bad9c493a25ffeaf9872243f91f507db57a554fe45999864b46d90540f74cf3aada7271693df7be59a801500bffba3a968 WHIRLPOOL 45f8f486f884418692b902529abb902b50ed545706ed7cc82147479069402bc63cacdc427c4a8356dd8cac69f115df31f4a5f201ffe35e533dba00ca0f3729f8
6386 -EBUILD Parse-RecDescent-1.967.9.ebuild 812 SHA256 308a9d63a20cad54b337db8b54b6c4a8a6b3ceec806cfb6a94fd468b4ebaa234 SHA512 db5fd4de322d17702401c637e1fbf23e51c2834359ba4f8f6293ec2c7f22a5c38597fe2344f3eec97a4bf3b501d16d969bce5643dfb6eea32244a46d598225b8 WHIRLPOOL 5520278b97cae68e1aaaea3ec72c03848a06fd6ffdd76ef9e53e7cf830d24be36bc27532a78318e34fb75b8033a940e275cc064e677f2c49771ecaefdbc5eefe
6387 -MISC ChangeLog 6701 SHA256 e49903749242c128871b16e3b3dd9888b4be584c5bfb4f749571f140f94b4452 SHA512 dec4bc4e62a580ceab3fe1a0a042ec997fd2ba8a10f29b04cd7d7f4e2c3f00984980aa08a7e6800c7b3c35e4ae827ff89e1ae41c114004a4326a1bc02e8a5909 WHIRLPOOL 6af172fda769cb9af2384e8358652b11e66632b81e959eba68f0bf3c6a18bcbadf48db7dcf0addb64a537d07d95f0b97ef00a4dbcaffbb90a718f0719695fc30
6388 +EBUILD Parse-RecDescent-1.967.9.ebuild 820 SHA256 f04f48ae14c99dc9ae61c6f088e9171eea530436cf185f2113407809bfeb7cdd SHA512 26ea8e16e4e25548eb5994cbd75c8f5b035d8ce1b7bc5b821ec4555f3899d788882f7e21d63d3d11147c5008deaba5a332d788132c2eac74d5e6889d980817ab WHIRLPOOL f85e79e5e23ba19a704fb387908e27d12e7760742d22c34f473ea87afbd2ebf48bba1c549d3a15ec0508757b49099573cd38d9a206fee555d6abbcf66e3b0614
6389 +MISC ChangeLog 6823 SHA256 51bfde5075e0dea9f51085e54b09dce452becdfc657e853f85f994b3c2edf3d3 SHA512 2fa5c9562cd213bc3c0100d041270e2d9653cfef08bec90898258ad5cd2068665874913f97fde48f009b67f20fd43a1fad4540ea11923eb1e7f966abafffa099 WHIRLPOOL e3f9a04f41bb9f4814a8f62aab44d5b7a0779b530320a1f313312614573edfacd6d285a07ea751cf08a0d8476932b4232a579872ddfb5bb8a665295dfc800e8c
6390 MISC metadata.xml 1571 SHA256 16e4f654cbe1642a59d68cdea0faf00cc0b5d4b1532b7dce743c9c4543b715a1 SHA512 749b15fba0ce4d837f76fb38683715b870b40c42b961fe9cf44b4285189c0fd227817d875ad65f131896adffa055d012ec52eecde647efca2af83252aa664b8c WHIRLPOOL d91903baa2320e9fcf8cca662b043d90fc1f0c7fe8eb71af6be32e26b96312391df282536159c7e27496bf465ee23b8a186de241458bff20ea2ccfd8ed98e859
6391
6392 diff --git a/dev-perl/Parse-RecDescent/Parse-RecDescent-1.967.9.ebuild b/dev-perl/Parse-RecDescent/Parse-RecDescent-1.967.9.ebuild
6393 index 47c5b0e..9c1ecb1 100644
6394 --- a/dev-perl/Parse-RecDescent/Parse-RecDescent-1.967.9.ebuild
6395 +++ b/dev-perl/Parse-RecDescent/Parse-RecDescent-1.967.9.ebuild
6396 @@ -1,6 +1,6 @@
6397 # Copyright 1999-2012 Gentoo Foundation
6398 # Distributed under the terms of the GNU General Public License v2
6399 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Parse-RecDescent/Parse-RecDescent-1.967.9.ebuild,v 1.4 2012/09/01 11:48:32 grobian Exp $
6400 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Parse-RecDescent/Parse-RecDescent-1.967.9.ebuild,v 1.5 2012/09/22 13:25:49 blueness Exp $
6401
6402 EAPI="5"
6403
6404 @@ -11,7 +11,7 @@ inherit perl-module
6405 DESCRIPTION="Parse::RecDescent - generate recursive-descent parsers"
6406
6407 SLOT="0"
6408 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
6409 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
6410 IUSE="test"
6411
6412 RDEPEND="
6413
6414 diff --git a/dev-perl/Plack/Manifest b/dev-perl/Plack/Manifest
6415 index 1306b0d..6cd90fe 100644
6416 --- a/dev-perl/Plack/Manifest
6417 +++ b/dev-perl/Plack/Manifest
6418 @@ -1,8 +1,10 @@
6419 DIST Plack-0.9989.tar.gz 235848 SHA256 d9d3d1d1a23636864851f290bc0a926ed54524dd793527432f0197abd5932b38 SHA512 aebe3ff5b63df78960d1e341d5544656215b70b641310155963b470d525d903b3feb8aacb9ff575a181d952e30521890df9b10a08ef5e4edc76f26543710540a WHIRLPOOL 893a8b0938a1d86c6cbcb32920533a9f6d298d74efc3064e74ecdbe28587593ba78d230562d41f56e3825d5aaa885c6d7b6161bb7c68ba45c42c6a7949831d69
6420 DIST Plack-1.0001.tar.gz 235400 SHA256 dc7415b51c51d0525da346c4b00d3c52aaa0b656b91a62e305c380e43732db03 SHA512 297ebd555d06ff78cd2cb00ccc858329152faae41563e22a65d33f70aa60e67c516f49a92713da15cbd5acf4c42a9cfe5a635b7ce598b8d684f14b0882f5e895 WHIRLPOOL 475d55ca87542d0ff10b046f6a64d6b1833a20ac478323d4bc1021e129c616c68a69406e6813156e8775a39e7edd1c62e615dc00745d1daa93292a9e264b6307
6421 DIST Plack-1.0003.tar.gz 236391 SHA256 68151b3371bd1a19f7e8e6c67a9b6e88e2a5e9eb64bd2d0af7d0cb7103b07d99 SHA512 20e419868ff63874c264ca5b291786d6a0872e6c3f581adff912e1d1f757d7ae02c1d8b377608b46ca3e7ed140ed5d21bbfcfeca31fff9496d9e295f11c0c97a WHIRLPOOL bc741d6517f67c2cccad44970755363096d570804de58c50e3ba3924309cc9f5036f017ee9247d02d1ab2997e3bff0008a216f0d25df340afae35651227fb2e1
6422 +DIST Plack-1.0004.tar.gz 237026 SHA256 ceb44cad54f7040527236cc1197ee54e1580d3a6caa2c705c093f70e1491d587 SHA512 344ff33d5641c393ada07d78d052e2f2537c1f7bfd46338dabe513d3c0d7ababe4123b378965a3c9efb18e47f1179a861f525e6f96903a5064b08a9565b3b238 WHIRLPOOL 479bdbfc9ce31ea026402ce8abd8a4183a91e3654966e0fc9031acef991a559da0b1ebcdd4d2f0ca6b49f643508e3d4f5213bad759b9bb46d5432bb3cd94822f
6423 EBUILD Plack-0.998.900.ebuild 853 SHA256 c4dd7eff5a76d74a8fe5884e8bf6dff0fbdbf9019ff167470ae2b0705c703ce4 SHA512 30fa9951f2b6034950ea511dcc02f221d1c1bb2ab86e46af3647a9655fd0ed70b10ca23ee37380bdf2c5a337e75852db44b1c4f4fd70dd8eb67237951fe42d41 WHIRLPOOL 2c4d0d964d37af24833d890fae63ac231d1334f3c72b6fbad716216eb907433ee340065de44e55c7a7444b87c530282d4658448311a999c69a63eb6788346f9f
6424 EBUILD Plack-1.0.100.ebuild 851 SHA256 d26ed817f145e5c6b2792e1f3d45d94a5b018cb43ee59e3849bee643559c26da SHA512 218811e69f133a21de924d098a8d1caeb5dc8c007a41a4aa17093850c24b2c8d602a1f57d2fafc2a9afea299d14e0faee0a335d46e3e4077dcd390f4e7c31fb0 WHIRLPOOL 8fa3197fb3e1a5530245347432b6d47431ece79e31446b88109a9d9705e566439709face537ce1c79d2925e3f9dae17ad9ecc29401905efb1615444293912a80
6425 EBUILD Plack-1.0.300.ebuild 851 SHA256 b323345feb86e450e6eb41520d5db965b57b22810d6530f1c13296420148ca26 SHA512 fd4e0240f08e7f91252c7e19408d660a5feb340202f75c3ff7fba8ee47e5fff5d3e02d0bc657b02d0e662037e29f5932cb9a90631cbd23708f2ec20e82f1c736 WHIRLPOOL 2d1ed69a5e1cb7fc7ad0d3ed9799909bb6ca6c9f8d785e6b841ebb3c3e288d69fe147cf997cbffac26b0beea5803e0a1f7e3ee9c8ba8841f5cac4a464b6ff740
6426 -MISC ChangeLog 5753 SHA256 51e82f1324ce506161893309648576c8370c69c04a949d4b9ea1d72180d10e77 SHA512 ef75bc1754e52b3751cadaead4032272f1553fe66913cfd76c57c1512b0467fa2aa4756730f42553f7b076a7a78c70514c6c3c303e9187f6b43edb7deee4a17a WHIRLPOOL fcaa925f21c02d076a0451810cee6cb9892ffbe409d0e7582444d49dbd38ccc23ab6e082116eebf954693258a6e52b6dde81cadb0ee9b75ed9d8c08b426ea240
6427 +EBUILD Plack-1.0.400.ebuild 851 SHA256 8eb4ab9a2904f822c956f3aae89a8d0608f773ff73a428577dcf92384290f084 SHA512 584ab5b4d0785f3e6d46fd65f6135858b42dfefb4f0ef368e3ff97d4c639b4a3b286e10ca386f50301a588fef44b22365d58cfe22be62a797398912d3c5824af WHIRLPOOL 7672e5b002d2660195f6366d722e370bb8faf1fb426930462eea00da5b836e69265464db1aa02eeedb7781baa3dbf150394d46862ec0739bf1a9494a5075f56c
6428 +MISC ChangeLog 5871 SHA256 fc91d39c27919dd76943bda6f75395a493e92625474c141b5ab854595449b226 SHA512 c8f20e9e7bedde4b559f22271923e44805aa54030576e05d6548a804883c8d00baf0c02aa836adbb548d44026b95f078910d50161373961e2bd2e47419c035ed WHIRLPOOL efd59aa1eba3524e50c23923993bf802bf9a94c88c860e9c9f74afb055ae814f043313bb8864d1ecf1b86888f252c58aa6439df44576f275c8ced56687ac2fcb
6429 MISC metadata.xml 5785 SHA256 d5ed86ab3030cb8d32159724d6600e89845fa04fd8c199b91587c24e338f079b SHA512 a7ce41882d170b18c28d07519b9ff88657930ed4ab8704cc0d6383697d15653af507e3b1cc2f619e9f22cc3240a7a83a0ab0c0b7587327512ef497d66a30266d WHIRLPOOL dc67de98f78b280e5aa21e652c8f5a73c94116251e098031e44520c510a58b5d5c3745ad41c4a56a6effa42f4b4dad5211519a54cd6ff2a92097fdc4220f7452
6430
6431 diff --git a/dev-perl/Plack/Plack-1.0.400.ebuild b/dev-perl/Plack/Plack-1.0.400.ebuild
6432 new file mode 100644
6433 index 0000000..82199dc
6434 --- /dev/null
6435 +++ b/dev-perl/Plack/Plack-1.0.400.ebuild
6436 @@ -0,0 +1,37 @@
6437 +# Copyright 1999-2012 Gentoo Foundation
6438 +# Distributed under the terms of the GNU General Public License v2
6439 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Plack/Plack-1.0.400.ebuild,v 1.1 2012/09/23 12:24:58 tove Exp $
6440 +
6441 +EAPI="5"
6442 +
6443 +MODULE_AUTHOR=MIYAGAWA
6444 +MODULE_VERSION=1.0004
6445 +inherit perl-module
6446 +
6447 +DESCRIPTION="PSGI toolkit and servers"
6448 +
6449 +SLOT="0"
6450 +KEYWORDS="~amd64 ~x86"
6451 +IUSE="test"
6452 +
6453 +RDEPEND="
6454 + >=dev-perl/libwww-perl-5.814.0
6455 + >=dev-perl/URI-1.590.0
6456 + virtual/perl-PodParser
6457 + >=dev-perl/File-ShareDir-1.0.0
6458 + dev-perl/Try-Tiny
6459 + virtual/perl-parent
6460 + >=dev-perl/Devel-StackTrace-1.230.0
6461 + >=dev-perl/Devel-StackTrace-AsHTML-0.110.0
6462 + dev-perl/Filesys-Notify-Simple
6463 + >=dev-perl/Hash-MultiValue-0.50.0
6464 + >=dev-perl/HTTP-Body-1.60.0
6465 + >=dev-perl/Test-TCP-0.110.0
6466 +"
6467 +DEPEND="${RDEPEND}
6468 + test? (
6469 + >=virtual/perl-Test-Simple-0.88
6470 + dev-perl/Test-Requires
6471 + )"
6472 +
6473 +SRC_TEST=do
6474
6475 diff --git a/dev-perl/SQL-Translator/Manifest b/dev-perl/SQL-Translator/Manifest
6476 index 98baa98..da9c667 100644
6477 --- a/dev-perl/SQL-Translator/Manifest
6478 +++ b/dev-perl/SQL-Translator/Manifest
6479 @@ -1,4 +1,6 @@
6480 DIST SQL-Translator-0.11012.tar.gz 418455 SHA256 b22bbcf1f83d2ffbdebed635a113764be8fbff16f7dd8e658d838316588be05f SHA512 b0e6dd8ce81fda3575b123a8ddd393220e7e44601bf19e5bb843e87d553eec052697d3c2cb2a082e2d6aaddc5927d6c763c1ace3c60e8d7fa5cff5da8f3d4d9f WHIRLPOOL 68248c90462754bcb43b4ced7ba7870e3312abcacf34a23f1f9a0c332bf9e84723c5c970f682928036508ed7bc69c3f5f4bb9518c2a6fc1fdb658715046f7036
6481 +DIST SQL-Translator-0.11013.tar.gz 418436 SHA256 69d5fb657a341503756a49e6ed184dc75d86c03dde6baee3ac0550c1eddf3663 SHA512 529b9c57168945e55b4c87f93c7f0073a9c4435a1124b31e6a1b7cffabaeffaa69701ea690fb103bfb2606f5f2cf82551eef2fedb76c30301e9c76110c6df53b WHIRLPOOL 45d2d41791b526b71777a3d544a872798d60588a939736473e5f7ae25eb3eaeec3560e73a5d1e71cea3b462f0714ee9de36a55419427c4c356f1adcfec7a299c
6482 EBUILD SQL-Translator-0.110.120.ebuild 1073 SHA256 a4867d5e76ca2a34ff8e67cbe6cfc6600662568102ba85e3eb80258213ad56b3 SHA512 65ba252d345f4dfd3b98ae44383d780c14bc22eee8f1175d3f16a848a636ae300f88989b42deca321a892c97143e859a3cde5ce442a3380e8ed93a9b61ddf279 WHIRLPOOL 1cc9524e19c931227bcee465e94da20d6cfb62c70e7814b7c0a542a8e59c3e72bb218afb4d8a3c4d8c14805080a37305de1d7c450c52efaba00aa9919affb8ec
6483 -MISC ChangeLog 3940 SHA256 92c948753f2a1b518b68f3e8f7da1f08549e51c1d8acb0f361da26b107d5cf32 SHA512 ffeb62c6788792c3d4015f3bb2edbcc75c0e323821089a42c4e4d6f7be8a27b514b29eae8b9be4448b0e767550d233f695a27e6cead58622ca3440237445d218 WHIRLPOOL 4395d55c6d4106a082e5fc1cfcdbdaa8777fe352a7a496af78e9c7b33b574cc8845e9c3f1f05f5ceb7e84ee76bae2cb4db1011e58e9c02af4109aca8e76c5ac3
6484 +EBUILD SQL-Translator-0.110.130.ebuild 1070 SHA256 5d286ad0331eafbaae58795053769f97ea0c2b2cdf1dc4d505977377bd7fbd78 SHA512 066a2df3804ad1df623142925618d66aaf411618fa113c6f8e884d3fb439b5034cd09e62e00c311d0b00db3e9617dff082f41b48cfb0703718fdc717d51603e3 WHIRLPOOL 2416a0d8d2ca4b3874484961f82f588a0ea58131958bb8ec64030d7b39f44d91f3a5bd9373349e7799eb6ca96e16e772f47ef00c90830fdbb3d74203faba0f4c
6485 +MISC ChangeLog 4078 SHA256 da82082df4686850cda80150eddf0bd14ee36c612f165189379d4c720d0f91d1 SHA512 eb62742ede8aaecc274d7feb7d8c5cf85a428bfbee14399cc8a30bab0418a4ec8a1e1c653eb3a893916b6ff9ddfd10bdbd919e07667baad6203c1d3218fcd561 WHIRLPOOL fb3e6803df6d644871100de4eabca9073c0630772f82c436d6104534415f9f0215d628021da0f864a4018f9e34bca9d8ec74619f0eb2ed051f81ee0458491aa5
6486 MISC metadata.xml 5885 SHA256 d2ba945fc00740fc8308dc7d3c88741e7948698bd8cb37bd9520a474cecd6477 SHA512 35f48caa0cebb347efb2e9480d1b139798818ceea02836e078f26ce36a9793558f25993448d9308d3f9e16704042ed13a5ee14074f15ca7f89c4d9bb41bd3273 WHIRLPOOL e2b0998db39f362b492d330e26040808e814ba85cca8e347f837ebd240a74015b878ef84af55d1f46aa15639bc4cb0884fc071ab233679ae85022871f3e62209
6487
6488 diff --git a/dev-perl/SQL-Translator/SQL-Translator-0.110.130.ebuild b/dev-perl/SQL-Translator/SQL-Translator-0.110.130.ebuild
6489 new file mode 100644
6490 index 0000000..9a1787b
6491 --- /dev/null
6492 +++ b/dev-perl/SQL-Translator/SQL-Translator-0.110.130.ebuild
6493 @@ -0,0 +1,46 @@
6494 +# Copyright 1999-2012 Gentoo Foundation
6495 +# Distributed under the terms of the GNU General Public License v2
6496 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/SQL-Translator/SQL-Translator-0.110.130.ebuild,v 1.1 2012/09/23 13:58:47 tove Exp $
6497 +
6498 +EAPI="5"
6499 +
6500 +MODULE_AUTHOR=FREW
6501 +MODULE_VERSION=${PV:2:6}
6502 +MODULE_VERSION=${PV:0:1}.${MODULE_VERSION/.}
6503 +inherit perl-module
6504 +
6505 +DESCRIPTION="Convert RDBMS SQL CREATE syntax"
6506 +
6507 +SLOT="0"
6508 +LICENSE="GPL-2"
6509 +KEYWORDS="~amd64 ~x86 ~ppc-aix ~x86-solaris"
6510 +IUSE="test"
6511 +
6512 +RDEPEND="
6513 + >=dev-perl/yaml-0.68
6514 + >=dev-perl/IO-stringy-2.110
6515 + dev-perl/Class-Base
6516 + >=dev-perl/Digest-SHA1-2.12
6517 + dev-perl/Class-Accessor
6518 + >=dev-perl/Parse-RecDescent-1.967.9
6519 + >=dev-perl/File-ShareDir-1.00
6520 + dev-perl/Class-MakeMethods
6521 + >=dev-perl/XML-Writer-0.606
6522 + dev-perl/Carp-Clan
6523 + dev-perl/Class-Data-Inheritable
6524 + dev-perl/DBI
6525 + dev-perl/Moo
6526 +"
6527 +DEPEND="${RDEPEND}
6528 + test? (
6529 + dev-perl/HTML-Parser
6530 + >=dev-perl/XML-LibXML-1.69
6531 + dev-perl/Spreadsheet-ParseExcel
6532 + >=dev-perl/Template-Toolkit-2.2
6533 + dev-perl/Test-Exception
6534 + dev-perl/Test-Differences
6535 + dev-perl/Test-Pod
6536 + )
6537 +"
6538 +
6539 +SRC_TEST=do
6540
6541 diff --git a/dev-perl/Sysadm-Install/Manifest b/dev-perl/Sysadm-Install/Manifest
6542 index a39ba42..79281de 100644
6543 --- a/dev-perl/Sysadm-Install/Manifest
6544 +++ b/dev-perl/Sysadm-Install/Manifest
6545 @@ -1,4 +1,6 @@
6546 DIST Sysadm-Install-0.39.tar.gz 28076 SHA256 536daff2f82f37e5e11fa03eaf1703466306612985526b05d4cc58b9dd22f728 SHA512 ceef305cce94a129625f726d7dae43904b8def9e0997f2290c9a35c0031e0de14752a27ccdbc43c45bb910f28c50fde960603247c714cabc4b27e23517fa41b5 WHIRLPOOL 5c552128ae568792e2850805724729107256e84ed42f0108914785418432cf8444b08296180bafb02a0120f5f1fb87e1e3f720165a9f76c0caaa12dae8f8ce88
6547 +DIST Sysadm-Install-0.40.tar.gz 28153 SHA256 df850ae9febea97f36ae999e0e403eb1f882739ff02244696f771d8f5b1ac2f6 SHA512 8f499960fb28112af4ace9cb6b709975814ede783a3c12b69cc67fe453625d7c0197b6afd667224c5a74b2b0da7929f7c5a922d95a48da3666abcf37414b9cd6 WHIRLPOOL cbd7e8f249c81d896263c001723cd9ce97c20ef5ba3c5181842859b8770d2dfbc5b36ec8244a5edb944600834e7ebd7ddf4995c03b58f6948a9278b61693388f
6548 EBUILD Sysadm-Install-0.390.0.ebuild 570 SHA256 5fa923d7e1890fa946ef9d17b90a41fdd3082f1a9c382b05ade77cf8ec32235c SHA512 cce9ccc1598721bb138b8fcc98e34c926899fb664df1ace35ffc8e572ad23dc28a0134f97a09dbfe22da4ea46ffff6641e8962545a05d4c6660bf85072675880 WHIRLPOOL 4b16194e43f04e9cc8e1adb472d133fffee3b0a0c8176c428f1c81e3f4d13d993510aa8897114c0245cdffbee7a1dcb98dc72361d51eba2003a75c94053cf905
6549 -MISC ChangeLog 1582 SHA256 3e9e182cbd7c963430b91ea6b557e3457fcd01a51e8d273972bc1e9988990081 SHA512 92566180af804fe3f820e7a691e9818c0a767cc5bdddafcd6575806fd02be40c12ca7a1b4e0baa6f451c760f9c678c2101c695d897d0e35361978453c366ae7a WHIRLPOOL 20492242dace5e7889636a94cdca36a6bd3a4818e3cf0f66e94499bfc810e06a7ceb0abe97c6f8c00bfa1b0bf67e39c42192786ddef40155d1c9200ad52b370f
6550 +EBUILD Sysadm-Install-0.400.0.ebuild 570 SHA256 e50a0d8ade033ddef74907367e07e2616d0b9bf8d52b5213c84fa14d4ee4fe2a SHA512 9a1e3facc0caf0a064012195d425fd9d038e7c6ef366a2b2618be46273148231fe99101fd3d010f44d0d9ca558bac17a39224ed846e6259420fe4f81749a10cf WHIRLPOOL 5f3ea17cd54ef1a34ff6c5dfd9b9bc60327432b4384d02386766d2ca2b018fe8e115f66dafc049f58475c320a85ac5c9e90fe556b8e0bd8303c50839e95ed5e6
6551 +MISC ChangeLog 1717 SHA256 8f43a182890c7b1d538e4f17f3c7a680524e80c5369a35a63b4d54e82e0e0f09 SHA512 88ce3f7aa32c130d80443045fdba74a4ef75c02272bd3f78ea0732733f4d40e210925272add966fa1c940081ffb999a34c50ff7a01c64bded2e3b3cf03289941 WHIRLPOOL 3571c02a94ee610dd3762481f0617f3bcb3f9f6e1e6beea85dc3087fb64d6f930e2d71491213683099c0de6f718a9b0ad87401c5c9d2b4c7a6d29380832a14ba
6552 MISC metadata.xml 481 SHA256 b3c9202df83e114942c779daa91a96f8318ed3c85cb13d35cc9976d68c843eba SHA512 2056024fbd0da797bf2d5fd5746bf6f0a1cc505fd9bbf438192f1e3b44602bbc72e1f18ea8acc4647ef9d5144cc3c728ed9eb82bc859d2391e796cd1eb013b74 WHIRLPOOL 5dfd7b9a6747f0693d4a140b792ab995a21380cdebce962895cf6d47dd24506e6369f5fcf72a2ea0b8036468109c90eca00eb2eac6bf6dc5d6a80a5db690874c
6553
6554 diff --git a/dev-perl/Sysadm-Install/Sysadm-Install-0.400.0.ebuild b/dev-perl/Sysadm-Install/Sysadm-Install-0.400.0.ebuild
6555 new file mode 100644
6556 index 0000000..a068b6d
6557 --- /dev/null
6558 +++ b/dev-perl/Sysadm-Install/Sysadm-Install-0.400.0.ebuild
6559 @@ -0,0 +1,23 @@
6560 +# Copyright 1999-2012 Gentoo Foundation
6561 +# Distributed under the terms of the GNU General Public License v2
6562 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Sysadm-Install/Sysadm-Install-0.400.0.ebuild,v 1.1 2012/09/23 12:19:04 tove Exp $
6563 +
6564 +EAPI="5"
6565 +
6566 +MODULE_AUTHOR=MSCHILLI
6567 +MODULE_VERSION=0.40
6568 +inherit perl-module
6569 +
6570 +DESCRIPTION="Typical installation tasks for system administrators"
6571 +
6572 +SLOT="0"
6573 +KEYWORDS="~amd64 ~x86"
6574 +IUSE="hammer"
6575 +
6576 +RDEPEND="dev-perl/TermReadKey
6577 + dev-perl/libwww-perl
6578 + >=dev-perl/Log-Log4perl-1.28
6579 + hammer? ( dev-perl/Expect )"
6580 +DEPEND="${RDEPEND}"
6581 +
6582 +SRC_TEST="do"
6583
6584 diff --git a/dev-perl/Test-Warn/Manifest b/dev-perl/Test-Warn/Manifest
6585 index 3a84f1d..d9a7801 100644
6586 --- a/dev-perl/Test-Warn/Manifest
6587 +++ b/dev-perl/Test-Warn/Manifest
6588 @@ -3,6 +3,6 @@ DIST Test-Warn-0.23.tar.gz 11316 SHA256 c035679567d817e38979de9f071ea109c4bc76d8
6589 DIST Test-Warn-0.24.tar.gz 11804 SHA256 b4f6b60c158cb8405861ddd045247c31d75d8cd89cab77ef608f999a39ab218b SHA512 58a7531b510d01f7ac12ab5170955dc55dcdf346766917c94375ee9ec89a536602f1f99d730441358a4a64b4d76cc073ebd7b113347bceec086f663bec2a7ae2 WHIRLPOOL c9ff708d4a47d43079da0d13a55cd2761bffc35425bd616f68a344019d47f39c35513c5d7b87d086e2cbecf947e06e8cad90549e7ff6df085b70597175e1ebe6
6590 EBUILD Test-Warn-0.21.ebuild 671 SHA256 068f20f8d75dd962d62eec4e4ddeadde39ca28daddc1d72bc1bc2b078593cc30 SHA512 b4b37fa29796d5afd50fe45995bf06a8ea0b38fce3434200ee39deecace576ed83cd0230ae421a0ea30786e89d4052e8cd330fcb441067165e9d43ebdbc73f57 WHIRLPOOL 6ba72988dfd210e668c020b7c1edc9f64bae365d61588d32b5bf4684388ae4f923cc6da93f203730b807da219c963d49fc5dc139f86d21cfd4844d981b144889
6591 EBUILD Test-Warn-0.230.0.ebuild 681 SHA256 327af8b15a23c7c39ac7f8003dc522577305503bfa8ef77b6eef448de1cb57e9 SHA512 9a5ca2f6d9c98595f6d3484eb98f2647ceacc8081e23bdd720461d58f36a51468aaffb63ded4649ff9e2f568babf3bafb9d48539f711ad2f42775e5f74624451 WHIRLPOOL bc1eceed65424fe2d16856ac00d9f5c0380adcc521033a41ece94859a0f3249829258a5371310c63a1d3622f422a6934a05177006ab7c00afa92b140ddc0906f
6592 -EBUILD Test-Warn-0.240.0.ebuild 711 SHA256 d130b4c99789f66e3d417fdaeddf37d529cdd678cd66252d76791dbe6a1030a0 SHA512 0c77ebfa79611b75283959a73a3e4f3445d1971fa267a4dc266c0b37de939d7f3b681844e75669e943914dab17c8011f4c78a097ed68bdce5848c95fe03ab0d7 WHIRLPOOL 8d312938844f0d799085fe916ba15063b64538cbd668cb3c2e3a26931b8b489a262619563525043e421ba462944105bc112c0306e3077289d28cff9e57558655
6593 -MISC ChangeLog 4994 SHA256 00a89ce6343dd3e635bf8130621b8211f1e9b9f878a38a42d785303f0877a0a1 SHA512 32c1659e80c44303883ab0ae1a348b41a114e8a5ea1d61c457a927a98f094191a54aabeda62be5eb90a8774fa4f6c1404e737c88f86f1c805e230f3d9e7a7139 WHIRLPOOL 79b37a627868971c886511007a12ff44a2b2423d258ef445fd9cc190d75c39710a12082c5e7ccec34cd22a44036228596c43ed2203215ca183f2bc5b2b722e56
6594 +EBUILD Test-Warn-0.240.0.ebuild 721 SHA256 60f0431b1470192be8b922072800639d3517cf3d292a7e361278a66c9c344e01 SHA512 42e2694d0c5c8e9cfe30db348393fd51bb95c1a2080668ebbae0dca0b298ab428e30e42c491bc6a543fef4c1f7efe367d5c5013cf874151f1d9a8b44b5d6ff7a WHIRLPOOL 119d5f902ca12a7ef76f47f51973f8f507102c85088f726da942602304cf3492f4879cbd866f175a5a7c3b5127377bd21bd8fa16d4fe0490b76d5f5199f4c011
6595 +MISC ChangeLog 5111 SHA256 04a9d17c64abfe68df3deb0f66b23ba076da4467da2d56d6245bbae8a93ed5c1 SHA512 c6783320f98dc949ef45c735440b38758403d7fb6c36c233d477955eb5865be8156e07f93f97f1fa699c455d4beab6d2fda2258c568013d2e023ae86d04f291a WHIRLPOOL 19299064a9b5d8b1c1c9276e90602da9029f644b07ac480b632635e3d338e6d3d8362cea6810334083835cfc2c87ad255a8465a5fb211afb09260be9c44f085a
6596 MISC metadata.xml 437 SHA256 f4561892f15095d83e7100db66edf73769a9cb555f0bd8eebc3a341f4d2f5bfa SHA512 87d07baa88eee2639bdde812fc99175ab9b45bb1e234823a289e13fb61f92bbe988f2278f0fad8f406a464e9301bdb945246975c3835fcf1215e39b287fd175e WHIRLPOOL 3390d3d32c292870f2e48b3d3be609696c782221a98956a6928252d66c2e04196175f994a33d21124745375a0cc76757e16013cf804d0435910ab2ce6a236e1f
6597
6598 diff --git a/dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild b/dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild
6599 index 422d99f..f9b0938 100644
6600 --- a/dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild
6601 +++ b/dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild
6602 @@ -1,6 +1,6 @@
6603 # Copyright 1999-2012 Gentoo Foundation
6604 # Distributed under the terms of the GNU General Public License v2
6605 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild,v 1.3 2012/08/08 01:32:52 naota Exp $
6606 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Test-Warn/Test-Warn-0.240.0.ebuild,v 1.4 2012/09/22 13:22:57 blueness Exp $
6607
6608 EAPI="5"
6609
6610 @@ -11,7 +11,7 @@ inherit perl-module
6611 DESCRIPTION="Perl extension to test methods for warnings"
6612
6613 SLOT="0"
6614 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
6615 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
6616 IUSE="test"
6617
6618 RDEPEND=">=dev-perl/Sub-Uplevel-0.12
6619
6620 diff --git a/dev-perl/Text-Table/Manifest b/dev-perl/Text-Table/Manifest
6621 index 613c88f..41d03d3 100644
6622 --- a/dev-perl/Text-Table/Manifest
6623 +++ b/dev-perl/Text-Table/Manifest
6624 @@ -1,6 +1,8 @@
6625 DIST Text-Table-1.124.tar.gz 25840 SHA256 d15c1d21cf666db4b3795afaa455e1a4fcea7e35893711830c42a01b48f0d1bf SHA512 8ba440c162de426c8ccff645c215f7329b9e0115e28bcc44402307ff293fc3b068f986554704584c6fd02633365b5328fac35f60c374b17df808ca211fd727c2 WHIRLPOOL 410419c2e98ea2fbec5824a85c507ecfa9be4d09311b4bffd4e09d4996b412cbeb5e577629882bd71016f1a0414ca58f6a43643d0c760ce9de68057bc52c3ad4
6626 DIST Text-Table-1.125.tar.gz 27445 SHA256 fa19230f1b0327a9453cd4aab583f37fcbd4b8db5d2bb2f2acd2d2fa394fc511 SHA512 4d966db1b7d90f1a34c9797201957e06b897b13896c487d1bbf457727ce3595cb54cc3f6f64bcfb3d6ac310608ae189bcd3281aaeda941f57af38e3493ea15f0 WHIRLPOOL 4c3764f725909744a00542372a36bffba46f19dbe95394d8af36160875dff42de9eac88075bfd192094d94b330ba437176a1d9e84fa39f57b1e47ad34cc800f0
6627 +DIST Text-Table-1.126.tar.gz 27579 SHA256 019ecd82bd7f700b595669b4e7b937ce227f542b27e8792ba490606006a569a3 SHA512 4ee1db3c4ed49299e5243e3e25ad10df0022512c2baa71ad44d53832f4332b7ea83094e18a900e13f964dd5f1a1af6cfcbcbc3418e7d84bcf467889f52e13550 WHIRLPOOL d83b0385979fc3ab3d648e436e817debc779a9ebdfa60bf580f1a0710946f71a404a7b7042af9063864ebb47580687d90f64aa345469ce6cd1cbc13f4b5c0e26
6628 EBUILD Text-Table-1.124.0.ebuild 568 SHA256 29323887bfc7b4b5440f8e8a0441537466ade2cbb0f8ccb1c552ca6ec7380f0a SHA512 de331429907549a858300124aa8737f20119959c5e8acc375582af4ffa29088f8965473e6962243035f16870be44ec0f483b30803b961ce5c50b4e7a3b4204b4 WHIRLPOOL eaabd3bc9693ad5769b43dbedf47531ee52f5881148e326a4ca5c66ba397bb24d44ba1351f140d809b55fbe76da116472418a5dc6db64b2bf7aabcc6b5139ba9
6629 EBUILD Text-Table-1.125.0.ebuild 723 SHA256 d031e9796ffff2fec2314e3fa833995210be48ad22ae7eaa3ba324effc65f0e0 SHA512 6705bd559798adde3774766c798d8ff562709b066d9447148951dc4fe0335a4359d24627da66a75bde6d52cf7e94e551ecb06882a0a08daa8f631b364948ee3c WHIRLPOOL 991f08ecfa4bbf448043e2bf56808d62547cb0591de83622790ad204e07d263c2cb9636debc0a1202dcb974b4a9dd308fbdba571c37a0659d24e22750fda5496
6630 -MISC ChangeLog 2066 SHA256 c0b51f385131f67e404ca0a0538fedf3eb2c88eaae6494e27c969eca60d0bdea SHA512 c4759a31f7438bc84dce68cd6f6a1487beb0f2d16f17bb93a7ce5b528e177a7e1a7f3fafd9440c21a37e82fabaf140c1cf8b816e1c0e45e04deefcfeca8790c2 WHIRLPOOL 8df12d2c0487df861138eb9f9806c2aa6e655a7c28c57f70a8817a8ae2a21a8522a6b3508ff85ceb3e5dd01bd79c86e0004efb317790b8f41a680facac86becf
6631 +EBUILD Text-Table-1.126.0.ebuild 721 SHA256 5a05486627fdce9f5c1e8fc151f430135ae0f998672a5b5538ba7b10c280d08c SHA512 b1a9b91828f785b0a9d7881376965191829565686d1d6dd037249e9e73258ca6042852d0aa5fcf7b8942f27bb33794fbfb86ecccf2de0ed712a8543164f29f65 WHIRLPOOL 359b19b55b032a44cd59dfd4cd01122c59d4afe4da842d326d88c965f58f783d4879141089f48c84c995e489529df55053c8f7cf520d7b1d101192f1cd623f61
6632 +MISC ChangeLog 2193 SHA256 3dc5fa5e00dfce679c667ff467956425d8356bdc0f5d4544264c02a9bad4d88d SHA512 4e89a86eb4bd72667b2bbcb1926503c5a5ba4e3d069e3b5708a46764838c26f16ff03f65fb2704051b0d7ba7a26af52b4768bf271c1994dd071c9efcaca5b41a WHIRLPOOL cd77847d20173dad19cb5200333755b88c700104d31b5677db67d59bf345f9df7d3d80a28c623d0dd6c4cf4576820a24e2f29f3e2d82be9d0da5bc5e0499e580
6633 MISC metadata.xml 397 SHA256 1e712e8ea2a18449d94bc05163dacabf5061106c66a44b812818948283506cc1 SHA512 dccf133dd08f63d89896e1b49d1ce5e35c57515405c618b19a795b570485aa2135319bbaf94a120dc15d55dcd30b0aa345816438f12061f3dad942f31711ec28 WHIRLPOOL e2863c3d39120638e7d33bbe9009a31c91c63ed2e76c00f30b8eb4f5caefff4fe919d325332f2afdf67c0c2622bb1424cf9c77c9985dd3334920974ab2c5cb77
6634
6635 diff --git a/dev-perl/Text-Table/Text-Table-1.126.0.ebuild b/dev-perl/Text-Table/Text-Table-1.126.0.ebuild
6636 new file mode 100644
6637 index 0000000..dc2c4fc
6638 --- /dev/null
6639 +++ b/dev-perl/Text-Table/Text-Table-1.126.0.ebuild
6640 @@ -0,0 +1,34 @@
6641 +# Copyright 1999-2012 Gentoo Foundation
6642 +# Distributed under the terms of the GNU General Public License v2
6643 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Table/Text-Table-1.126.0.ebuild,v 1.1 2012/09/24 18:19:11 tove Exp $
6644 +
6645 +EAPI=4
6646 +
6647 +MODULE_AUTHOR=SHLOMIF
6648 +MODULE_VERSION=1.126
6649 +inherit perl-module
6650 +
6651 +DESCRIPTION="Organize Data in Tables"
6652 +
6653 +LICENSE="ISC"
6654 +SLOT="0"
6655 +KEYWORDS="~amd64 ~x86"
6656 +IUSE="test"
6657 +
6658 +RDEPEND=">=dev-perl/Text-Aligner-0.50.0"
6659 +DEPEND="${RDEPEND}
6660 + >=virtual/perl-Module-Build-0.360.0
6661 + test? (
6662 + dev-perl/Test-Pod
6663 + dev-perl/Test-Pod-Coverage
6664 + )
6665 +"
6666 +
6667 +SRC_TEST="do"
6668 +
6669 +src_install() {
6670 + perl-module_src_install
6671 + docinto examples
6672 + docompress -x /usr/share/doc/${PF}/examples
6673 + dodoc examples/Text-Table-UTF8-example.pl
6674 +}
6675
6676 diff --git a/dev-perl/Tree-DAG_Node/Manifest b/dev-perl/Tree-DAG_Node/Manifest
6677 index 98722b6..4af4a5a 100644
6678 --- a/dev-perl/Tree-DAG_Node/Manifest
6679 +++ b/dev-perl/Tree-DAG_Node/Manifest
6680 @@ -1,4 +1,4 @@
6681 DIST Tree-DAG_Node-1.06.tar.gz 32843 SHA256 502570774dd3bf11345fb028ca4cdd79f04db12ee68a826f0c44e24da0e3db2a SHA512 dfdec2799b3ef2e20303001aa40df16be134e1c56d48acd61cb6397e66d7fb38beeb4efdbcd24fe16e2fcc15471e77dabb1fd2df0334e3e44024109a997ae71b WHIRLPOOL 08083b8136b710d68f342403ad601037fad7ffe04b0728a54dbd45f5bbda12a16c0265dddadc22ef7612fb6a0485402938adf577735c8b3fcec9c4b2b222990b
6682 -EBUILD Tree-DAG_Node-1.60.0.ebuild 544 SHA256 b0f005113a6f0bc6d4a6dbe91b836d75b83880e5480878ff6b26165757ee6653 SHA512 bb2077996ab4f305328a20d5fd3783bf5a23bca63efca518648ae54fecd05a41096b9a32fd606f6dcb395899a869f89df2bed78614f03f705e41745c095d323f WHIRLPOOL e306cc592173d2c6fe76996b901dd0ae7840380f88e8ca9a853bdbcdafc28a595cab01e0bb4ba5253085b4fef1399bf34386533a9db21bc25f4c7871a328dd90
6683 -MISC ChangeLog 3612 SHA256 2e6f2f790a28ed33e869f384edc31b5634bf91b219c03443ae980ef871aab4c4 SHA512 cc652bb74820ec4fc0e8fbf293b2216215bbc3871f0010a144e2ee64bb9dfcc414f111009b8acfd1aa0757bdf36d6fad5ff69a475ad56e2382958ca8bbbf8d4f WHIRLPOOL 920d5efe2a21dbb3b91ba3ec018b9d013ea5320e10b5789cdb4d98e87ffc3f46102da9fd8a9d44853b64f618431f78e918ae7e2e34725ba49f96a4f380a044fc
6684 +EBUILD Tree-DAG_Node-1.60.0.ebuild 554 SHA256 45e87c4de20cf282d7fee4769c4214874596380e26b771a265d0adb4c7098078 SHA512 50fcfc1214560cd017625b6b995f7521fa1724f08b5d42b5d4f1dd5b4cbee8ed4a5ccfe78cb0ee499d228ac566205a4267419f223b7d8503dbf33ee29c373c5a WHIRLPOOL a1eeaab04fc160e24906cf3654999626c4e8ecfa1cfd8264508d4cfc6c58a6e434e23e90d581c3239ffe6b84cdf5aaa3175efd65c779e898a0939ae5bd89f59a
6685 +MISC ChangeLog 3732 SHA256 1134b9ee6a88d63d80ced763bd2fb560afe43efcefcd8129205b8ed237c83f18 SHA512 e4d607696882dd27146b1c05ce5ea0ca2e3cbbe815ab526d186c47750fb39b71aafd1bf1198f723d849bf607954da165047f9cc146dc6301c9ec28fce4078017 WHIRLPOOL 3bb3b1307ab09e87db4a5f65ffabc7b1536825dcd058767f9e9edffb64cbcc4d90471f84c51685049eed489793b3dc076eecdb10fe175442f60276c58a283b88
6686 MISC metadata.xml 300 SHA256 0965c8a02048b4a5bff0fa68d562352248a50190991505f94508f42cac874498 SHA512 4290dd2e18fb73e8933796af67f613f0dcb9999079e1b369c4fe6c4ab8b3057ff3285d867465931587a41e78c0c90c54093c4bc6c08b579368f1de71f0554360 WHIRLPOOL 38c6c4e5df176ff8f3dd425efef99eb550aeb077e3ed2b8b142c06e141dee22e0cef59159f8b6f7955336a3786d64de21ce16137e65797c1b6f6189f86de1e6f
6687
6688 diff --git a/dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild b/dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild
6689 index e8cea63..39fa31e 100644
6690 --- a/dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild
6691 +++ b/dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild
6692 @@ -1,6 +1,6 @@
6693 # Copyright 1999-2012 Gentoo Foundation
6694 # Distributed under the terms of the GNU General Public License v2
6695 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild,v 1.13 2012/08/08 01:31:51 naota Exp $
6696 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Tree-DAG_Node/Tree-DAG_Node-1.60.0.ebuild,v 1.14 2012/09/22 13:21:38 blueness Exp $
6697
6698 EAPI="5"
6699
6700 @@ -11,7 +11,7 @@ inherit perl-module
6701 DESCRIPTION="(Super)class for representing nodes in a tree"
6702
6703 SLOT="0"
6704 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
6705 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
6706 IUSE=""
6707
6708 SRC_TEST="do"
6709
6710 diff --git a/dev-perl/Wx-Scintilla/Manifest b/dev-perl/Wx-Scintilla/Manifest
6711 index 924b803..c41808f 100644
6712 --- a/dev-perl/Wx-Scintilla/Manifest
6713 +++ b/dev-perl/Wx-Scintilla/Manifest
6714 @@ -1,5 +1,7 @@
6715 DIST Wx-Scintilla-0.34-patches.tar.gz 488 SHA256 3ca51b083080d0e1943c24db04251b1a1a8961ded91d18935f850e0004152bd4 SHA512 743468ea05f78f147664bc550ad6f2869db3876085d56f86b245ba568d58dfa50d957da22a29dbe322f10c5f25001d40927fdc19a83f616778e6b6c55e75d98f WHIRLPOOL 22b241121fc202386e81eb774fcfd0e6c686bdcaf3a3af4b5056465c2d35b9c21bc849702b26e4d6e386c7ea424f827c92f41788140a6f75d4c91906f4495813
6716 DIST Wx-Scintilla-0.3801.tar.gz 847738 SHA256 97283dc197c866050fc35fcdea347e2ce82c277727770a9ad097bdcc346eddde SHA512 723fb3d9e58d3b1ba7010675e35d8891406278ea60f4a8e07eac5fd89f85cdbf648a5607c60480f01217ebc91acb8bf586e8eacea04e65763c54089d3036b3d8 WHIRLPOOL 4a4df95a7917d1984c15e89dc9d0e5efd6166693f7cd8ad7907136805ccf6f2048eb183fb5ee73f4f5a933a87a36ca22ced4dbf1a300393923dbd405999fa4dd
6717 +DIST Wx-Scintilla-0.39.tar.gz 848565 SHA256 d6d67528a55552bb3fda2a1f22058c6c94a05eaf632dba5331afb3390defe0ea SHA512 d9ecec347c1f1382788e5ed7708b0caf86f2ff87db0fdb2b8fa07460c96b1a7921a9402431105beee61f4627f3694a79db7515ceb76b1ae4fb3f95c807afb4d4 WHIRLPOOL 229c694683e939cc1110171945aa18cddcb989c63e33c032ae755ba878717792d88f9670f968bd989e58c62066d7e8d4035962ae58975970876a6741a8285560
6718 EBUILD Wx-Scintilla-0.380.100.ebuild 884 SHA256 521d6deede58017976ddfc888749658ca5f5514de575a34e74e878c8042d0c4a SHA512 323ca2144c5e2940b4f9d2c4cde20a10dda08a89b14994db410e3767f036afea625b31d9623a325d1c4fda4cc4a7938e25acbb55c24645e647de32b9d6b8adde WHIRLPOOL b3e4017f1f9afb35b28b46c1c08a8fdcbab46907156eb2dc69c69b0637372dfda67affbda4d2f45528db331dc67e8d2c311cf8712be767d2b2df3481a774f548
6719 -MISC ChangeLog 1080 SHA256 5ae67781846cf320b27ecb22fc76535baa177d88ac5f1e75d23ed9ff42acf140 SHA512 d9595c6fa20bef72ccc7c9ca17590af56157761c7f366b07a03c1d85fd0fdc6ccfb3f02593b9fee12eb26693a865d33a21755a5a287bf3a6a9e01e4496da5493 WHIRLPOOL d19d8afa1be9b98fa62c4b91e090d7c738aeed3d2aacbdb3bda7220be5283048ebd4c5fa1504930a463bc1a72673ff3cb8b8d141e8dca36647811dd5487a4455
6720 +EBUILD Wx-Scintilla-0.390.0.ebuild 948 SHA256 d931e614960a698d5d85dd8dd95b4fddca2811ddb9a0890f32da447dd6847313 SHA512 92dec2c7875934828db029620f5cf7918193b20dc2269103017e006e275c12c120378a3905622c6f765c89219c6c30a1eaeb7fd39642889818c1c9ed16412c98 WHIRLPOOL 8dab5246201f55883a5fb40251d8cfe762a163cfc7158de9ca5ccb173bbffa1bfdfa128da00540622c7274eeff304f2adb44dfdca6ed823083d7a0f43f5659f5
6721 +MISC ChangeLog 1211 SHA256 4638362fb345e248cf515e2b5ef7250a01e98ef04373e9b427504d445a02d263 SHA512 d7f679c5882d5edd906a43fd9a2f6127e81a8173b6aa6b01f491ffaeb3f55f2df999cd9a4f8906415f17891adbccbe2684356f3e9bb10dd309f1037e990cac75 WHIRLPOOL 925045ad8de4d8bda86a73f51d25e140e2764c729c53311cb686ee215f59038d673cb205ce520b36aecf6335fbb7a175394bc3c8116e1a6f1104e4066e788ad0
6722 MISC metadata.xml 646 SHA256 3aa8bb78bcfe0310bccc2312be902982200330eeeec136416500a2e2c91d630c SHA512 45fbe21c18b8da0bc82c110a7829ee07432afc3f500366204862e6c6b08fa376aa7425569067ad42da33228a5e3ab22ee2b325c2aa8674a69dca01e31c111133 WHIRLPOOL f42a911774e430fe21ee5746a60c84eb1074097a825787f3cbb217411abcb56e589f50dd1a7167d843c770b689d0e2aef6fb6ce995b82ca3a0bcd863ed9dd420
6723
6724 diff --git a/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0.ebuild b/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0.ebuild
6725 new file mode 100644
6726 index 0000000..20b1813
6727 --- /dev/null
6728 +++ b/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0.ebuild
6729 @@ -0,0 +1,43 @@
6730 +# Copyright 1999-2012 Gentoo Foundation
6731 +# Distributed under the terms of the GNU General Public License v2
6732 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Wx-Scintilla/Wx-Scintilla-0.390.0.ebuild,v 1.1 2012/09/24 18:17:47 tove Exp $
6733 +
6734 +EAPI=4
6735 +
6736 +WX_GTK_VER="2.8"
6737 +#VIRTUALX_REQUIRED=test
6738 +#inherit virtualx
6739 +MODULE_AUTHOR=AZAWAWI
6740 +MODULE_VERSION=0.39
6741 +inherit wxwidgets perl-module
6742 +
6743 +DESCRIPTION="Scintilla source code editing component for wxWidgets"
6744 +SRC_URI+=" http://dev.gentoo.org/~tove/distfiles/dev-perl/${PN}-0.34-patches.tar.gz"
6745 +
6746 +LICENSE+=" Scintilla"
6747 +SLOT="0"
6748 +KEYWORDS="~amd64 ~x86"
6749 +IUSE=""
6750 +
6751 +RDEPEND="
6752 + dev-perl/Alien-wxWidgets
6753 + dev-perl/wxperl
6754 +"
6755 +DEPEND="${RDEPEND}
6756 + >=dev-perl/ExtUtils-XSpp-0.160.200
6757 + >=virtual/perl-Module-Build-0.360.0
6758 +"
6759 +
6760 +PATCHES=(
6761 + "${WORKDIR}"/${PN}-patches/0.34-flags.patch
6762 +)
6763 +
6764 +src_configure() {
6765 + myconf=( --verbose )
6766 + perl-module_src_configure
6767 +}
6768 +
6769 +#SRC_TEST=do
6770 +#src_test() {
6771 +# VIRTUALX_COMMAND="./Build" virtualmake test || die
6772 +#}
6773
6774 diff --git a/dev-perl/XML-Twig/Manifest b/dev-perl/XML-Twig/Manifest
6775 index e9a4a2a..8cc087d 100644
6776 --- a/dev-perl/XML-Twig/Manifest
6777 +++ b/dev-perl/XML-Twig/Manifest
6778 @@ -1,4 +1,6 @@
6779 DIST XML-Twig-3.39.tar.gz 369305 SHA256 33940ed00763cf4def0052b095ac79418da3902b4c6fa67b21e4bf929d1f7fb6 SHA512 e8588f32d61a7175cdd36ca2a34432ed09e017b19833d3b69c3c600e7123813cdf46d954e2ba792cfada753c3438add7ff8ea674aba8cd7c16b4279ef6399646 WHIRLPOOL 620f29a78e274ea2f9fe5ca40d2852bf75e54bd4e71149992473cb33dff39e131868fab9d0bb2c9d99f17faa2d109763c4501c796e5ce6e5d10e99258c4b93ac
6780 +DIST XML-Twig-3.41.tar.gz 388697 SHA256 20ed8ce932903b1bafd47542ac0e7965b4f0ff349450c1f410238ced6803a055 SHA512 e5163d2b469697c68bf9d3f6947184515f9b6195cef7f3b401a3234669d108864e4841530969118f862077847c41b616de084a26f3d2495b3f14eb6dabc44726 WHIRLPOOL d241c7a0be244b6477356afb6d580b4a99b8354802adb2aab1bea8a107eb9bb7a8eae927446fd3db84cacd457f5646c70975aebea9f8a69d6dcf281e15b494dd
6781 EBUILD XML-Twig-3.390.0.ebuild 830 SHA256 adaaf39cda2af7a8d93529276f83d279db98de0f49b2cde05545c4d46173b727 SHA512 f3fdc538a5045df193e684f036341ff723427bef26084cabecff83c71b64e992c18896f0a330ba0a6575ccd19e7ad338e40dd04409184849f2e71d113289a282 WHIRLPOOL 77cca57052b69dcb87eb47559910ab47882316100921d36f1bc8f1508ed0e3faf80b4f376dafdf421dd4ca673068703b4fcc8ebb311ebdb4d8ec44197c1aaf30
6782 -MISC ChangeLog 9943 SHA256 f22d88e9e9fdf9ff55d9f9fb58aa62949df0c42b896b7ca57885495f534d7241 SHA512 d6deb67567f81ddd6296a5416b4207edb91caa70e168221d130267908c472013313d5e71887459111ae654e8642eac21b4cb66c060108a67bffbcdff44f94c13 WHIRLPOOL 196d6e0222d1fbc8873315045b2f075c8d9ba84299dd1b5add0f458c74bd1f514d10d4e555c3a665bfb51a19eab7fb357a49a8822dd98145e20011c06cfab920
6783 +EBUILD XML-Twig-3.410.0.ebuild 834 SHA256 4fdc6aa5132ae208b056ea1ec687757611ec5ff5e41888306a71a02781181b39 SHA512 7e05953770fc13a87148915ae732a4c7e6c036372d4648a64bf54426ab257fededa7bdfabce11ad9ee3e536c54aa5c7c9ba4563818c8c8ad4ab0535750595377 WHIRLPOOL 6daf6a78c4cece6ab2954ca3c8794aadc7e7a61e08b93802149977bf03aadafffb9c75505e4559eb70e55b822e4a2207c360188a65cca9c60d0623b72d9655d8
6784 +MISC ChangeLog 10066 SHA256 2140a896cab81c8a1b5a5b1edbf820e68b16a67ea85ee8ca68decef98ebb391c SHA512 29eec197c54a75ecaa588760855def4414eb44f1ca8c7aabf763772ccb86e555945eed3744d54da93b2db9c5b7d6b0fa2ae3decdde3a80c4e8ad393edbd1edd4 WHIRLPOOL 4ff7755af933da644b9ea52499615f0ba58bb9146cec0822e2484aa8d2e5b801699f41d0a48a461a7715abb364a2ad12141e1621f032c57778b9d1cb8b99945b
6785 MISC metadata.xml 901 SHA256 8ed41fbcf56e10e1137f35fd4e1ed224e060ec8e422be85a44bcf4ea21e5674c SHA512 0a46983eea663cf7a0eb6eaf234dee82a32fc94f719dbd04b1da747c220f5618c80c17844a1f58db111b6f14ed4c430a1f4f29633246285e7ae732e2493d8139 WHIRLPOOL ca70ce3227e58291280d767a7b9fe860ff6ebd5bbcb2f1aa7d2da12bb9ad5508fd5ffbc2368b555d423520fb9ae1f4db3e5a5e644aee616b68790bab2347fb0e
6786
6787 diff --git a/dev-perl/XML-Twig/XML-Twig-3.410.0.ebuild b/dev-perl/XML-Twig/XML-Twig-3.410.0.ebuild
6788 new file mode 100644
6789 index 0000000..b51ff9c
6790 --- /dev/null
6791 +++ b/dev-perl/XML-Twig/XML-Twig-3.410.0.ebuild
6792 @@ -0,0 +1,29 @@
6793 +# Copyright 1999-2012 Gentoo Foundation
6794 +# Distributed under the terms of the GNU General Public License v2
6795 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Twig/XML-Twig-3.410.0.ebuild,v 1.1 2012/09/23 12:16:54 tove Exp $
6796 +
6797 +EAPI="5"
6798 +
6799 +MODULE_AUTHOR=MIROD
6800 +MODULE_VERSION=3.41
6801 +inherit perl-module
6802 +
6803 +DESCRIPTION="Process huge XML documents in tree mode"
6804 +
6805 +SLOT="0"
6806 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
6807 +IUSE="nls"
6808 +
6809 +# Twig ONLY works with expat 1.95.5
6810 +RDEPEND=">=dev-perl/XML-Parser-2.31
6811 + virtual/perl-Scalar-List-Utils
6812 + >=dev-libs/expat-1.95.5
6813 + dev-perl/Tie-IxHash
6814 + dev-perl/XML-SAX-Writer
6815 + dev-perl/XML-Handler-YAWriter
6816 + dev-perl/XML-XPath
6817 + dev-perl/libwww-perl
6818 + nls? ( >=dev-perl/Text-Iconv-1.2-r1 )"
6819 +DEPEND="${RDEPEND}"
6820 +
6821 +SRC_TEST="do"
6822
6823 diff --git a/dev-perl/YAML-Syck/Manifest b/dev-perl/YAML-Syck/Manifest
6824 index 57c4d08..256683d 100644
6825 --- a/dev-perl/YAML-Syck/Manifest
6826 +++ b/dev-perl/YAML-Syck/Manifest
6827 @@ -1,4 +1,6 @@
6828 DIST YAML-Syck-1.20.tar.gz 164384 SHA256 5a23dafeb76b04a536f7ad59499ff54a986d20ab4ac659d238304fac013e9d6f SHA512 a49cd972015e05aac22cf0414e9b6a85fa3f05d54e1855fae72869a8f2209a7cd5f1007350b372be6feaebed015dfd2c43e2345b27b6d84a56717802a5423c17 WHIRLPOOL eb64b3a7104970cd523964aeff25be15f9546f1f25d62180b6f2d1ee361b2d8c4d359d33725a3d2bfa605535c2d10c912463f9b94220316db6c6c4c7f484e007
6829 +DIST YAML-Syck-1.21.tar.gz 168765 SHA256 f43f39bc4cc4fa1e8aacd398b1c7f1bae39c0b44074b164c9da0be4f5ffebd15 SHA512 d607dff167d2255395eaf415d025a11dee967793a1430709da57081182d1ab3aebce72d6b06de2d0da2b4abcf23bb90f8324bba46141eda5e533bd14eefea1e8 WHIRLPOOL ec0943da442266f3b33432db01651711db3842ef014931d0f7d3f7558af3d2608e9c20f1d8f825e636039ac44cb79c463f811bf41c7fd2b74f612dcc04f306bc
6830 EBUILD YAML-Syck-1.200.0.ebuild 617 SHA256 15870db3d01c679609e3cd34b0a05d8f73a0afd59d4595f032e70ed9938aed13 SHA512 487cd3ae29060498240366932cf2d6f124557af63e0ca50dcf979bafda8e73262e1a12de87554cdf18c5d565d15283e34cd4ffe4aed779d8c872584c7878725f WHIRLPOOL c1d656a2dfc1a908b764e3e5080893e92be110bb495010629b75c227fdc443d991a872bd2f06142a4cf45f39e5c9d616447a3dcfe02a04cfe7dc455095a7693a
6831 -MISC ChangeLog 6289 SHA256 9003b2a2054c00a11199a95417d1962f5bab3299594c8f56cc5039b5e4fdaccd SHA512 2003020872d364f711075ab55a5bfebf469d07c0d5d3b46184c896a8c3d34760b58667ea693ef901b54308bab804956e813aff2aee67a80c6885f7256e4efe28 WHIRLPOOL d52773e4dd2f88a654e6276e86698ed201a6682264102ed37b4635cad2b15c6f306f95002db3e91428e0e7d04684bddaa0c3287a767b96acf9722723a7e61740
6832 +EBUILD YAML-Syck-1.210.0.ebuild 625 SHA256 a3f00d656e4ecd3f81721946e5bca533a4ef2a10daf2a3906d912106fb11cb46 SHA512 992856f0821da6c8ca0328a0979f1a74bbfd3a6090e1b08be601fa94b2e0426c836af97b6d521293d5f10345d7692a29de7f58b841422c17c67940367805206e WHIRLPOOL 8ce1f932a852b6f33b9282eebf3b19a4e89bc90b120a672ccdb82020ed9f45aac362d53b6271c549cf97ff8929c566797094d5706bbc22df75b8fbef169284eb
6833 +MISC ChangeLog 6414 SHA256 70b56e15aaafc1e0f38382eea51c6af2bbf805f38fbf6d9fd1dc63c73a3104f0 SHA512 af60702c773aed6b8e996c8ce87f54d4711eaa84fd941ac455bb0b1bb87e897102adc44fcb1327a6522432c76a72f43f9232b15b3c4aa071d9fc09a015a38a02 WHIRLPOOL 5ea40f82fa8495778e4ed43b91502226ddc75072768804ece0d72b526c69be6ec0b2b64b3249f2b67f72c8592c56c6b0ce67a99ca3a382c5d835db49ff1f07ce
6834 MISC metadata.xml 479 SHA256 346ef717930d403a2cd8f0a07748511f48e0891a213fe89686aeafff82dbc56a SHA512 8256b249ac5f539b0f97240e347c5eb6685b55692e8edc118a23bd5351bf0003bdbab3dbfe8d22bf5208a64704698404db750fc0d29f764b9ee71acdd303aabe WHIRLPOOL 2111bc6983029d8d363e268947893c6311c4990109a546fdb8fbf5487c1bc5511d4e3bac902270ff06ee3194520d86321459e520901adbcc38098551e888f431
6835
6836 diff --git a/dev-perl/YAML-Syck/YAML-Syck-1.210.0.ebuild b/dev-perl/YAML-Syck/YAML-Syck-1.210.0.ebuild
6837 new file mode 100644
6838 index 0000000..5ac59df
6839 --- /dev/null
6840 +++ b/dev-perl/YAML-Syck/YAML-Syck-1.210.0.ebuild
6841 @@ -0,0 +1,18 @@
6842 +# Copyright 1999-2012 Gentoo Foundation
6843 +# Distributed under the terms of the GNU General Public License v2
6844 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/YAML-Syck/YAML-Syck-1.210.0.ebuild,v 1.1 2012/09/23 08:46:20 tove Exp $
6845 +
6846 +EAPI="5"
6847 +
6848 +MODULE_AUTHOR=TODDR
6849 +MODULE_VERSION=1.21
6850 +inherit perl-module
6851 +
6852 +DESCRIPTION="Fast, lightweight YAML loader and dumper"
6853 +
6854 +LICENSE="MIT"
6855 +SLOT="0"
6856 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
6857 +IUSE=""
6858 +
6859 +SRC_TEST="do"
6860
6861 diff --git a/dev-perl/perl-ldap/Manifest b/dev-perl/perl-ldap/Manifest
6862 index c33157f..0e44d12 100644
6863 --- a/dev-perl/perl-ldap/Manifest
6864 +++ b/dev-perl/perl-ldap/Manifest
6865 @@ -1,8 +1,10 @@
6866 DIST perl-ldap-0.4001.tar.gz 254232 SHA256 fae2cf183b6b214ee904eea854ea84ba54b13ce28d8ea6d62f70760f4e8bfc6a SHA512 e4fe781f1d4c4a2b6365be4ff7a44ac8e7d96f0f5544281d6baaeaef4dbd173c77424fc105dbf61c6a2fbf9deff34cf08b470773ac34b83aca878a58fe2467de WHIRLPOOL bb1f29e73a4c5247d4896b5070c5f12a687796a9018fbc77aac3309c1c6842c12d751cf67e4eeb85e6318764109e605d7d3097cb6ffc1f46653c2b7e14cc7c1c
6867 DIST perl-ldap-0.44.tar.gz 262973 SHA256 6c398f32bf598ee139d111b5fd91cda1e77ca0fb3a57e9616909efdec5d4cacb SHA512 7a2bc4f7c4d2957c1e3eb24451687625e2ba5044818c34d2fe59162ea34a5218e3da4a8e01a5024c6dedf393733238a802436f6b9a0d884a59c520c6061d7e81 WHIRLPOOL 5c62e8c9affad750c142133c3cc875b84172d7afa6b1b92151f4bcc178520c143a11e397c7ab9a336e082d8880804d8c246ef3af292fe9635c1ebde5c1821b8b
6868 DIST perl-ldap-0.46.tar.gz 263688 SHA256 1a89b35515b1ff114ebcef1194be9c7599a3856ad3cfdc43970f38739d432f5c SHA512 40c9466b3d27601a1c0c5918c8b35e23952f630731407de53b2421585e0ab7ad7c0db4fbfdf6e9ddb5ab11e7bf99d91f99af4af8adbc47aab76c0227918bacc1 WHIRLPOOL 4f9f483be025f642101675fa96857ecc7315fe88b5514da1fb04efbef0b8eb73d2f03a6c14940689d77cba2cee8c635faa426bc921757ca9e701e30f0a207295
6869 +DIST perl-ldap-0.48.tar.gz 265877 SHA256 773e0e421021a76b1eef43ff57e8481ca6fd690ba1157c64ac7b1cf29d2d49f3 SHA512 b894833c9d4c13336d216c0208626ff8ed0d028d2c1a5200593d4839b53a4ec7ce3c1b606a734f0dcd841dc131b189925db603fb5c9a19fe18bd61875be618c4 WHIRLPOOL 71bda604f8fd2539badc13ef64c456454032780b1a1cbf8ce929c6ce8069c9e0e0a97c76a70fd19472f822a1c3588966559921b8044b94580766de2c5f44bbc0
6870 EBUILD perl-ldap-0.400.100.ebuild 852 SHA256 8af962cf6fdc5af2b09e54b267b0c52bf7d30594c4914a9c146f8bb0c38a135b SHA512 2dd258bc4eead8bf1acf29313b4a0fbc01c71354c0a5a952ef05128dbc8c2eb7ecda68ecddb273629fde100e42277f7b81cd6fe9b331d69a88b9bf65e8405da0 WHIRLPOOL c77a0b2c8bd4d611e60b930385f8a20a59e9a0e8f29231541cb264f72239b54d64d201e2d5ea850455be3424a8e60c9007ee28432967e6e10785685abb2a5bab
6871 EBUILD perl-ldap-0.440.0.ebuild 867 SHA256 0651be881e72a50bf055b310a20225efa2ea43de712da1f72dd0817d20adeee2 SHA512 72aba799354809692ffc13e861c20ebc1a085fea0e1f796552200121bdd75f23c80e20612474108b332a1ddcb1dd446f42d8719e9951a7aae2853fd2696aa477 WHIRLPOOL 8102eccd0318ef6a51fc498ca8886d728e7320d6e9133d343dd29a08e05665d4d20dd5a334d15880ae17ed322875e1fe47980c3ed0e0beb8765274da260f1980
6872 EBUILD perl-ldap-0.460.0.ebuild 875 SHA256 24e7c71cacc71f51b4b1a187feaca73577d9fa3ad6f28ad3defb6cabfeb9d0ce SHA512 e7480f7c2f2c37ac5e1173443206f58101b3e3e16ef41694ba441a57eb0a8bdc21ea361adb0dcc373fffa83418937b75ad16828a1e129b6a2564d2eb98ebfc29 WHIRLPOOL d831077f859f50be5e46c820eae30aec635ab7d6d0928267e7325934294ba3425763c49e3f5111c21f48cf4acb1cefa3ed8834f55fc3581ed469c5b0e3b84ac2
6873 -MISC ChangeLog 10800 SHA256 f80d39c298146515b4c93fc9dffcdfee3e0914b1b79de16cc32389586585599e SHA512 19a5a2c66030c699b7a26add133ba533b4a0e620751269e05552016f77be90a492997aa747f01c7642a1d94a8bf5f1e8b77e7b55cb1e387341a9da9437ffd70e WHIRLPOOL e2053a0a1ffed1612818b5bfd31b46638616c9837792ce46cfaa7d964b5447c86559561e4d497697c5ab7a2145a079a903bbc75d1526b6d546ee20bc64226e0b
6874 -MISC metadata.xml 3723 SHA256 a3d2deff0557f883c9447c490c6e9345229662ea1d35e9a72edd167fcbcabac2 SHA512 e907f2a0cca6d0d795f4d6c7021ea2312a241503014793abbb1049c78bf7c246ad316b8eef9e7361c6a7d26eb5551d1227e996defd71a05dd180d2c965058b47 WHIRLPOOL eb2be6da916c9cf9db5e2e32c6b2319f18be06ecf73311570e4fa0060c2bd6fd64e028207663fdadcb1aaddb1cbbdc0c320fa529b56df8bc4eac576faae8aa3e
6875 +EBUILD perl-ldap-0.480.0.ebuild 875 SHA256 cc735ee14e8fa45cb89691609b1b9d45e43d16caeae9e02f34d4220c514c8a18 SHA512 b88c05322204bde19574f1ad8540baaf4ad206c3fa7ee2922f85311b02abd6a81c2127a6d3158f9435f329ad6025fcf11d2735f9b9ce06f400a5135bfa466f53 WHIRLPOOL 9f50209dc2a9fabbecc97193e47cff2fd453b67dafebeb9078bc40a7236163961cda43d1ed7f89b42f0d37158835735782addb92db34f5a2de9d026ed8c53a75
6876 +MISC ChangeLog 10941 SHA256 5ff5fb0af952f1677deb8a129019c169c39a3e389791bae140645791e324e39e SHA512 d61a2a715092416a68caa80aa64a15bb012e87ab80022c3c2fd3fd75a3c281c4ebfb4c177b77e23d3ccd9af3cbc4814ff3fdc9f2825be57e5e2479f513543d41 WHIRLPOOL 6e998c2ba5beb49e94fbd2045723e7eaea7a68cb465d7315285822358768a8fc64e00075e26ca5b286f38296c7e6819b23e21cdda91ea163b1e45d968e2257e9
6877 +MISC metadata.xml 3790 SHA256 b09b398c8b9af39bbe03f0608d6a2bee5b8bd6b3cf77a6aafe5f882c64ee11e6 SHA512 184aa4b4031016cdda1e9fff046bf1d9aa8a3bc1977925f50f5989567ce10feb2c57f976ea2ce473a3ee665933c6f612e2285904257345b36c0a469c9ed52b91 WHIRLPOOL fda295d87eb5c3a510dfee188b07787bf9c0fe3deb69496918e0c793dbb69fea5ad6b3e293951f64e4c8281cd31b69b30b2f31db6318833aaf6587068ab59cdc
6878
6879 diff --git a/dev-perl/perl-ldap/perl-ldap-0.480.0.ebuild b/dev-perl/perl-ldap/perl-ldap-0.480.0.ebuild
6880 new file mode 100644
6881 index 0000000..d0d2d5c
6882 --- /dev/null
6883 +++ b/dev-perl/perl-ldap/perl-ldap-0.480.0.ebuild
6884 @@ -0,0 +1,34 @@
6885 +# Copyright 1999-2012 Gentoo Foundation
6886 +# Distributed under the terms of the GNU General Public License v2
6887 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-ldap/perl-ldap-0.480.0.ebuild,v 1.1 2012/09/23 08:26:36 tove Exp $
6888 +
6889 +EAPI="5"
6890 +
6891 +MODULE_AUTHOR=MARSCHAP
6892 +MODULE_VERSION=0.48
6893 +inherit perl-module
6894 +
6895 +DESCRIPTION="A collection of perl modules which provide an object-oriented interface to LDAP servers."
6896 +
6897 +SLOT="0"
6898 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
6899 +IUSE="sasl xml ssl"
6900 +
6901 +RDEPEND="
6902 + dev-perl/Convert-ASN1
6903 + dev-perl/URI
6904 + sasl? (
6905 + virtual/perl-Digest-MD5
6906 + dev-perl/Authen-SASL
6907 + )
6908 + xml? (
6909 + dev-perl/XML-Parser
6910 + dev-perl/XML-SAX
6911 + dev-perl/XML-SAX-Writer
6912 + )
6913 + ssl? (
6914 + >=dev-perl/IO-Socket-SSL-1.26
6915 + )"
6916 +DEPEND="${RDEPEND}"
6917 +
6918 +#SRC_TEST=do
6919
6920 diff --git a/dev-perl/wxperl/Manifest b/dev-perl/wxperl/Manifest
6921 index c2eca2f..5029ada 100644
6922 --- a/dev-perl/wxperl/Manifest
6923 +++ b/dev-perl/wxperl/Manifest
6924 @@ -1,8 +1,10 @@
6925 DIST Wx-0.9902.tar.gz 406639 SHA256 ea4982993de1a188d4bc130d785f10faa0fda4c8521b08b3768915d0ed8b7ebf SHA512 e6d1061319c0232b0f5109f314b88c771960aeb2ce18effd4bf040fd377edd0f9ab94f3359c318b52a40fe73bd8e1a0c9f90d87d5c23690435303e644e5bbfd3 WHIRLPOOL 59f4b30616931d3c89bd61076bbaf69592ec0facb3eb063387d8d34f004b5c42775b5bafe688d2bd5458af9556c023a6149a0e104d7ef34403eccb9c760dc353
6926 DIST Wx-0.9909.tar.gz 459405 SHA256 76bbb94d082f2a8eba5c22d94e976d5549e2a319df0ede52912790095690a879 SHA512 ffa7d2c997185a955e2940b048130dddc7bc08523eab0f208af995042038d0abb3aa35bd5661bd1a3bd7038f841f38283b909885a9864750e3c0f5d1a6007f96 WHIRLPOOL 6679b032a7bdb274564e7fb57b9a579adc9f2388ab8d958ece6ef13cdd3fbff2540b3b596e3a2b0b70a761dc9d2a42d6ed5a5ce4df45d4bbe9d58bdfdc4de329
6927 DIST Wx-0.9911.tar.gz 459762 SHA256 3f2cfb813c5d3a061aeb6742b7e2312b3bd75ec26ce3eeeec6bf583ec97c8b88 SHA512 3b12266b98b7b5c0ad9039b9f6e904778fb3caccf0c862d30f4db6341ad56571d99cb7b29a34b129742105f17b70bf4cf960d57511945ddb0f6d977bf0649fa5 WHIRLPOOL bc1cd8bdd657f2b0af1cb64cb29dc0d59eb50f2bbd16dcb65f2a742f13d6ea6acca474e5e9489d5303ce466726b0ae7d53945abead4bd9990cb0bbd5d84a87d8
6928 +DIST Wx-0.9912.tar.gz 465242 SHA256 82b01febb67f638fa7f97244789e030d8f27b635d42c96f23281df6d6e88268e SHA512 ea5f3fce04be8e2e41698b1da220d7cbc8a5b50867972d4a9697113e5c0157d05099ca01d8da2f52997aec21c959378cf1429ab2f6e2b089a55db30770bdc334 WHIRLPOOL 5fb640a74a7933e21d2751baa4dc1f5de1368abb4a72215f800449a413920e3c037bf1098f08757960438ce92dc3a9b8f29af5c51f6e58197f079697b2cedf50
6929 EBUILD wxperl-0.990.200.ebuild 654 SHA256 5856184976cdea920e7f15f1f92a20651602679fe9c49f3fb4d19874d915b3db SHA512 c7dc494ca73d62315c04c83c5170a045fd5f36199d2eff6a2a0e0ec7ebee5f74b90346ec86ece5b793fc548c10a5ffd7aa5c9776ee7e27ded959552e0bcc1627 WHIRLPOOL 4a796f945723e7525e1a35ab9c5bd98d39ceae9e5750dae88d4b70951b9c16d1ccf817b469cba285c9d459c8ffec8d78c9618e69282bd93ad3c7c818c9f3f001
6930 EBUILD wxperl-0.990.900.ebuild 654 SHA256 e24cc05da37f6db7949526d9687aafacd626fb998226c2093b2fd6f79e1f579f SHA512 45e2000c6b3d7327ec03ba55c8c7effd19023b50748e0bcd2db3e668aa631db367d09771200d7e70c64a16859e3868edcd0a4722b1eac53e71aa2258d6f8844b WHIRLPOOL 8f0cb10523f6494552b44ac27286d845f8a409f5f3943069beaa5413dc20edb49672cfb5021124bb6c11f54a0114b9c52c5e28a85eb7f55e652610514b1e012a
6931 EBUILD wxperl-0.991.100.ebuild 668 SHA256 3ffc5768eb39e787fa27e1b5f0cea75af2b4f35cee83bd3cfda522d2dec2aa52 SHA512 3d9271a994211371b6180b1550c8e752906322a5b0d4870f44f32e0aa1ce7d629d1a7eb5dc4a0e3ea3eca08a9bb8dbba528c657d627a98b20a884276b7093290 WHIRLPOOL 898dd20f9424f2e215bb63dbbd053cac13d311c30b2f106babe336bdf959b69253b33684d46cb009ca4db725ed902f09bde7ee6f89be128adf9949ccfd2b46d3
6932 -MISC ChangeLog 7027 SHA256 4d1eb7f62dd3bf392d033819aeaa449472a03997586d1ddc61b07c9f2c087857 SHA512 17542b0c0522f5819131401221cbbe63b32cbcfa9ea8c941b84ed50e8613630d8824e1a68de9f840ba799012385d2a34fa852a8e619c5f86dd5ef2e8f243736f WHIRLPOOL 2420ff29910f38e9600e9aad6403f253de3abe69d37b4760a9e95e88760a4d2c273baf2137e1c6893b0c6540f092f0a29de8f85cbe53bf84da5e508317404c96
6933 +EBUILD wxperl-0.991.200.ebuild 666 SHA256 4f713cec4916ecf5e818fb7004cdb45484fc7c9b10f7ce8bceaadb88e19eacd6 SHA512 f2e364b061edd6b322927fa03228728a267774d3d01e94c5d938c0dec310246f698cb03c2b002fd12d5a43f11992dc9a4ea330a273f5e491a1936f19c3a14164 WHIRLPOOL 78c6ab6b132b11826304338f73e0cc6b4152d1e3f6e3be29ccb76a974b53b6d03d1ca89e0ec13e40c22df5160e8dc6b330737ca04fb0b4104d4139651b08bee8
6934 +MISC ChangeLog 7150 SHA256 b0822f052019765fa453e36dfb554a4925b13b3f2bdf6766f7856e728459d8c3 SHA512 8c4b8ec0472c5059fbb6414e41a4e94656a18e905d00600ee6e97a4a2890bfa03ed0b9abf7331d77891dd8dee5b925063b371ca7270c8d5bf7ba3e9efc526704 WHIRLPOOL 1e6278a24bd181402e0545b613c7c679f93f3325ea9ab6e13258d4f8afd2db995d9ef0904c6e9f6243d86ec5c8787260e11a4418de664ccc2b06aa5862abb3df
6935 MISC metadata.xml 19384 SHA256 ca32fffc518593f84ccfdeb3d0a5eddf9f431d04816a4d644bd0ec19e1375b09 SHA512 960021b1bdb2dc1cf2148b1a13ed1d78dc5b5fe831790847edf87e09914d82745ebae2ec5b63e8dc192007f4a410ee9f4dbcb47b9c17f84960ccf2f9a90c7201 WHIRLPOOL f8970045ed0d264d4790b6336442e252391d5c4b57e15969e742d079a6ad618ba6ea09a108c1f062534c6fb3dfc857e53cf09e35ec9ddf22e89913fb0261f794
6936
6937 diff --git a/dev-perl/wxperl/wxperl-0.991.200.ebuild b/dev-perl/wxperl/wxperl-0.991.200.ebuild
6938 new file mode 100644
6939 index 0000000..3080c97
6940 --- /dev/null
6941 +++ b/dev-perl/wxperl/wxperl-0.991.200.ebuild
6942 @@ -0,0 +1,29 @@
6943 +# Copyright 1999-2012 Gentoo Foundation
6944 +# Distributed under the terms of the GNU General Public License v2
6945 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.991.200.ebuild,v 1.1 2012/09/24 18:13:42 tove Exp $
6946 +
6947 +EAPI=4
6948 +
6949 +MY_PN=Wx
6950 +WX_GTK_VER="2.8"
6951 +MODULE_AUTHOR=MDOOTSON
6952 +MODULE_VERSION=0.9912
6953 +inherit wxwidgets perl-module
6954 +
6955 +DESCRIPTION="Perl bindings for wxGTK"
6956 +HOMEPAGE="http://wxperl.sourceforge.net/ ${HOMEPAGE}"
6957 +
6958 +SLOT="0"
6959 +KEYWORDS="~amd64 ~x86"
6960 +IUSE=""
6961 +
6962 +RDEPEND="
6963 + >=dev-perl/Alien-wxWidgets-0.25
6964 + >=virtual/perl-File-Spec-0.82
6965 +"
6966 +DEPEND="${RDEPEND}
6967 + >=virtual/perl-ExtUtils-ParseXS-0.22.03
6968 + >=dev-perl/ExtUtils-XSpp-0.160.200
6969 +"
6970 +
6971 +MAKEOPTS="${MAKEOPTS} -j1"
6972
6973 diff --git a/dev-util/geany-plugins/Manifest b/dev-util/geany-plugins/Manifest
6974 index c88f1b5..df0b36f 100644
6975 --- a/dev-util/geany-plugins/Manifest
6976 +++ b/dev-util/geany-plugins/Manifest
6977 @@ -5,6 +5,7 @@ DIST geany-plugins-0.21.1.tar.gz 2652907 SHA256 e9d6eb4a65784be0a5c058f18309671d
6978 DIST geany-plugins-1.22.tar.gz 2836541 SHA256 3ea2b4e61934bbaf710222a4be15aec5c334fcddacf58194f006b7ee9cd9e768 SHA512 c5e239219e46bbe206578ed91f52ba044ad8c1f5a2b165ceed1392f39d6d8eb85447a0abb3359cd7ae48489cb41ef4f9b7ed6aa30d5adea0fcd037f33e90fdd0 WHIRLPOOL f745869183ee02cb9f320e8e5190f6f6cc7ce048e60c416509acf2ca152084da4b39f6d6ca35149dc55eae2e633afe8c4563eecddc98e28b0c82d81cb4ec6f3b
6979 EBUILD geany-plugins-0.20-r1.ebuild 1665 SHA256 2bb7d64f10ce990e93a74b44980c7b80011860005088260818356dcf2c4aaf34 SHA512 469651afb13f4f9e9459325fd70de6195cf257b0d23787785dd11d4e83bc8cd29b437a968400aeda85359b1cf57775fafa994ed2b9c4b04315d253554943cd74 WHIRLPOOL 108e1e1eab285659b09229c412854240cfb2191297006082c19c996551a6e88bc4fae9ace31f815177886e169079da88a350a3d128a886cd574789efe2423057
6980 EBUILD geany-plugins-0.21.1.ebuild 1677 SHA256 64ec29971d0f6d785cac4d19ac5b10011697dce9c085b328f3bf4c207a288316 SHA512 e371e38e75159338bb2c2fa50cbcf7d495cb31168a77145af31e71b27831656f6f00371762997fc928b6da6d2859cf46f57cf5f882a48236ef3228c6b9f453de WHIRLPOOL ddd6de6005be131bb3f39c991938baf1d79fedf8e7aa211a79ce72ac403be52f6160c07d20103d57ebe176fc0c40035f9f7218969dabd3c3a61526410d2ac709
6981 -EBUILD geany-plugins-1.22.ebuild 2024 SHA256 05cba728640713bd340e5e9796a618fc96855a16db7db71a0cfed6ebaab92735 SHA512 9c7adb05144392b57da08b056ca139f7f138ec2200a67f754c8a0c52c71771d9af2656cb30d5eb70c05ecfa6c4e6fb738981a9f3edd610188891d3b67f004194 WHIRLPOOL f5d04888cc357032c8687aaac8e69b7bc7f9dd40c2619a242c05f14f7b2ebf5e1bedf1e27b5c2ff055f75c7c40f9653fc29ef5c3974f2ec4df58f6357b6b6615
6982 -MISC ChangeLog 3180 SHA256 7033add189ba1936004ed5dc91b1707c21e163e37f58cdad2feebe2d8e226d92 SHA512 917176f7fc49bc276ee1d38bd42f3b112d581d6955220ab445ad4f629b385cb3d7e0aed3dbc33dbd099ec9d1a6b11444c78cc40ffde21b46ec597cc00fab9373 WHIRLPOOL b863c2b728d41a34266dc6f88e2ba69e3b3c169843349b78640988f809ea5b984305fca186499e9b7930fe6d18b876a0be2b9561481ca82424b3318e73f29e7b
6983 +EBUILD geany-plugins-1.22-r1.ebuild 2138 SHA256 d51d63428f6e51fa539cf4db6321bebfa2c1f938f7f8c583e479def22102e4ea SHA512 47425244e86880ca0d06919871ddf7a245899d086c15910542fa10c8cd9b89654aabd79cbb9b0c22dec4b238253f68b22b3f8114ef21aa546f245ed83f73086f WHIRLPOOL aa28549e4ac59349e6401b8cbd3b048311747041c809ef0b98ba2f65b98bdccf8ee36e94199ca4a3073b808e05feb89491781deeea284468ce61ca793f0591f3
6984 +EBUILD geany-plugins-1.22.ebuild 1960 SHA256 4979caea946964250fc2e3654187da3aae99d2a800b2f9bbf367369a879f4d0d SHA512 929b599c0095d0d91b3288cad12541c6283f3cfb2f715ecd3d43131a9eed498d0dfdabebfd437b1f7cc939f217c9713661b9db5f2c1df70e96e8c7b723ab4056 WHIRLPOOL 78317c47f7334cfba09699f98c26af45ae88c4c8be2c5794ce23411b230d8c13ff3d9da0ac9c2fe13c782156a2a93b393685e2789d8354242a288f5f01daaeb2
6985 +MISC ChangeLog 3784 SHA256 006d22ccca087b3ed53f45d31a456a771cf719206dafed1b90481d37d72d4415 SHA512 82a07bedb9f0971c88aa07b4148ceae316af139ad4d7b7374f80a7805725ea73e2cd02a7806a87f3955249294913347986a44240ea8e0f1bf81fca92ff117e73 WHIRLPOOL 941b7ff0b27630b4d2b73955e2af280dbf31ee4825cdc9b9b9b8992551ede36a8a8c30c96fcc27d40e4148ddb0c7a59e7848744bdaffc7a23a46d9b0c9221de1
6986 MISC metadata.xml 980 SHA256 8c8b2e01f44222aee29c75fea76da9d41aea9fbf0b3337f9525e7a5a58a71820 SHA512 64092d74c34f8b7b0d0e418fbb0fe79800a44718a8c86f95c2e9e811e42b430c3ccee3a6c513085d4a6de8490071a93b00562e2242abad5892005f87797573c0 WHIRLPOOL 19517c6bcda41e14848b0c94d616f089a9e4a48131db02d98aaa2b9c8032eaa1373eefe1d62e1febf8e3f3b3cc1a7edd5c206526e739c5fd839adf7b860494f2
6987
6988 diff --git a/dev-util/geany-plugins/geany-plugins-1.22.ebuild b/dev-util/geany-plugins/geany-plugins-1.22-r1.ebuild
6989 similarity index 84%
6990 copy from dev-util/geany-plugins/geany-plugins-1.22.ebuild
6991 copy to dev-util/geany-plugins/geany-plugins-1.22-r1.ebuild
6992 index 778cff3..468d000 100644
6993 --- a/dev-util/geany-plugins/geany-plugins-1.22.ebuild
6994 +++ b/dev-util/geany-plugins/geany-plugins-1.22-r1.ebuild
6995 @@ -1,10 +1,10 @@
6996 # Copyright 1999-2012 Gentoo Foundation
6997 # Distributed under the terms of the GNU General Public License v2
6998 -# $Header: /var/cvsroot/gentoo-x86/dev-util/geany-plugins/geany-plugins-1.22.ebuild,v 1.2 2012/09/13 12:21:20 ago Exp $
6999 +# $Header: /var/cvsroot/gentoo-x86/dev-util/geany-plugins/geany-plugins-1.22-r1.ebuild,v 1.1 2012/09/26 05:33:52 binki Exp $
7000
7001 -EAPI="5"
7002 +EAPI=4
7003
7004 -inherit autotools-utils versionator
7005 +inherit autotools-utils vala versionator
7006
7007 DESCRIPTION="A collection of different plugins for Geany"
7008 HOMEPAGE="http://plugins.geany.org/geany-plugins"
7009 @@ -12,12 +12,12 @@ SRC_URI="http://plugins.geany.org/${PN}/${P}.tar.gz"
7010
7011 LICENSE="GPL-2"
7012 SLOT="0"
7013 -KEYWORDS="amd64 ~ppc ~x86"
7014 +KEYWORDS="~amd64 ~ppc ~x86"
7015 IUSE="debugger devhelp enchant gpg gtkspell lua multiterm nls soup webkit"
7016
7017 LINGUAS="be ca da de es fr gl ja pt pt_BR ru tr zh_CN"
7018
7019 -RDEPEND=">=dev-util/geany-$(get_version_component_range 1-2):=
7020 +RDEPEND=">=dev-util/geany-$(get_version_component_range 1-2)
7021 dev-libs/libxml2:2
7022 dev-libs/glib:2
7023 debugger? ( x11-libs/vte:0 )
7024 @@ -33,8 +33,9 @@ RDEPEND=">=dev-util/geany-$(get_version_component_range 1-2):=
7025 gtkspell? ( app-text/gtkspell:2 )
7026 lua? ( dev-lang/lua )
7027 multiterm? (
7028 + $(vala_depend)
7029 x11-libs/gtk+:2
7030 - x11-libs/vte:0
7031 + >=x11-libs/vte-0.28:0
7032 )
7033 soup? ( net-libs/libsoup )
7034 webkit? (
7035 @@ -46,6 +47,11 @@ DEPEND="${RDEPEND}
7036 nls? ( sys-devel/gettext )
7037 virtual/pkgconfig"
7038
7039 +src_prepare() {
7040 + autotools-utils_src_prepare
7041 + use multiterm && vala_src_prepare
7042 +}
7043 +
7044 src_configure() {
7045 # GeanyGenDoc requires ctpl which isn't yet in portage
7046 local myeconfargs=(
7047
7048 diff --git a/dev-util/geany-plugins/geany-plugins-1.22.ebuild b/dev-util/geany-plugins/geany-plugins-1.22.ebuild
7049 index 778cff3..1467262 100644
7050 --- a/dev-util/geany-plugins/geany-plugins-1.22.ebuild
7051 +++ b/dev-util/geany-plugins/geany-plugins-1.22.ebuild
7052 @@ -1,6 +1,6 @@
7053 # Copyright 1999-2012 Gentoo Foundation
7054 # Distributed under the terms of the GNU General Public License v2
7055 -# $Header: /var/cvsroot/gentoo-x86/dev-util/geany-plugins/geany-plugins-1.22.ebuild,v 1.2 2012/09/13 12:21:20 ago Exp $
7056 +# $Header: /var/cvsroot/gentoo-x86/dev-util/geany-plugins/geany-plugins-1.22.ebuild,v 1.5 2012/09/27 00:11:29 blueness Exp $
7057
7058 EAPI="5"
7059
7060 @@ -12,8 +12,8 @@ SRC_URI="http://plugins.geany.org/${PN}/${P}.tar.gz"
7061
7062 LICENSE="GPL-2"
7063 SLOT="0"
7064 -KEYWORDS="amd64 ~ppc ~x86"
7065 -IUSE="debugger devhelp enchant gpg gtkspell lua multiterm nls soup webkit"
7066 +KEYWORDS="amd64 ppc x86"
7067 +IUSE="debugger devhelp enchant gpg gtkspell lua nls soup webkit"
7068
7069 LINGUAS="be ca da de es fr gl ja pt pt_BR ru tr zh_CN"
7070
7071 @@ -32,10 +32,6 @@ RDEPEND=">=dev-util/geany-$(get_version_component_range 1-2):=
7072 gpg? ( app-crypt/gpgme )
7073 gtkspell? ( app-text/gtkspell:2 )
7074 lua? ( dev-lang/lua )
7075 - multiterm? (
7076 - x11-libs/gtk+:2
7077 - x11-libs/vte:0
7078 - )
7079 soup? ( net-libs/libsoup )
7080 webkit? (
7081 net-libs/webkit-gtk:2
7082 @@ -53,6 +49,7 @@ src_configure() {
7083 --disable-cppcheck
7084 --disable-extra-c-warnings
7085 --disable-geanygendoc
7086 + --disable-multiterm
7087 --enable-geanygdb
7088 --enable-geanymacro
7089 --enable-geanynumberedbookmarks
7090 @@ -66,7 +63,6 @@ src_configure() {
7091 $(use_enable enchant spellcheck)
7092 $(use_enable gpg geanypg)
7093 $(use_enable gtkspell)
7094 - $(use_enable multiterm)
7095 $(use_enable lua geanylua)
7096 $(use_enable nls)
7097 # Having updatechecker... when you're using a package manager?
7098
7099 diff --git a/dev-util/geany/Manifest b/dev-util/geany/Manifest
7100 index 5393013..0c57c52 100644
7101 --- a/dev-util/geany/Manifest
7102 +++ b/dev-util/geany/Manifest
7103 @@ -1,6 +1,7 @@
7104 DIST geany-0.21.tar.bz2 3109890 SHA256 cc0609d4c4d3bd8cf772bc4994d51cb1f79a12da5a82f2335a381293c5123a8c SHA512 c9e964279ebd84f4fe1dffa73b4771483df011f7a521758a154f1ea1a3ee56d487427d45c6d59c1de3f6267187d2a21aaa08a83b416b32f9fd04e9d7ceff5582 WHIRLPOOL e8584cd5b33cf67c4762aa1f8e36c4caaf971d168947348e93a69b6a6da20a9deeb5f634a50cd4384052b0fdbc0712eb60e8666637810cd937520b994beb4127
7105 DIST geany-1.22.tar.bz2 3198289 SHA256 901a35a7395ef10a80fb10b3ab63bae3871693a4e82d56388e9521a27877577e SHA512 59c411dc8df9f92fd26dc1c4ba65d18c92a2a9e84ae4413153d697ccd90f00d1d437ce63700e3198869dc11dcb8c81920df57a75b5a95cebeb88a364418869cc WHIRLPOOL 8c63308feecf1abb730671c077efc97ee788ac2bed90d0400b7480946eeb9c84e16a3c7b38a46f356eb6f51d68972c8b7b4c0c62b37a3ab95ff003a712a494d0
7106 EBUILD geany-0.21-r1.ebuild 1438 SHA256 76486248d4b81f80f83c4b5765b7d041689477a0e32e0c7d9ed6df190b13881b SHA512 1455950903de12395a33843a6f7041015db8825db2848fced346b44a19fcbe335179b5581fc49e0908c318fa719d51434e892f68a15c68bb003fa69934feaec9 WHIRLPOOL 5cfeb108b1a74e765725c82a8aba063745d399bd6d891ab54454613edab251b9ce61bd2845cabf884989d2a4ebaf49bb71ca6b01e3e57802cae947f5d93ba922
7107 -EBUILD geany-1.22.ebuild 1455 SHA256 a7b45251bd2b7a67db0e82be59f7b76243304efd500068fcd51e17141af2085c SHA512 8c211cc832f5f1f60047a92a86b7fdd069f223aa665969a6c288bf04927bef5bb7cead8216b5e50e4339441cc60c51c0bdc8c88ca43c9c038f4831e18c3b10d1 WHIRLPOOL df8b331dedcc5d01a617074ba59a47f9bf9f43770ddd295949f5d43465a692f3dd51ecde1a3b29e9d307d2a5a50fc06178e53f993fcd3418bcc8d175e919ab08
7108 -MISC ChangeLog 7263 SHA256 fac09112963ec8b5e572b31c1fd318883672bc5ff7d9e8d5adcde556b76bae0a SHA512 4179bd4814b5457e6a7fae25f8f0ac4ead573845aebf241a0fd6e3a2c530cd8e14ad66acb12b6067dbc4064f256a65fd040810d682274059134d652961b647cb WHIRLPOOL 85b411863d1b24c486da4efee4702e35d2bac27bb9d0d115e520a763c30563ed9eb4586f1d981ef6f76caf8c368c767528bee5c4bb3c6099a5cbce800e49423f
7109 +EBUILD geany-1.22.ebuild 1458 SHA256 fb05b4d950bd31d1bea128e2f1b6c6c2566a140f4893236ee7c148950e86d900 SHA512 5bbe2ef0d0cca997d4c4c68108cd5e3703c4f5ce03e9fc4870436f84c7c2b3587969cbfefa6d142e2b3f62361211d95db1a11691082e6e297ceb3ff6d86b600c WHIRLPOOL c04bacdefc3ffe42155bb604400fbce9c26b6ac77aab47f11703c04c3d47010664b86e26422f175f9ed5171aec6c4ac1af5e9ef2120f22a3a8cd6bea8b2b2068
7110 +MISC ChangeLog 7472 SHA256 c0725b5382b455b1dd3f9f465efb7d98d01158c0032646babb9250b7e2603c1a SHA512 ec419e9f80c20b4eaec48bdda87092c804258eafa8bb517079dbac148bb239cc86fcac12ab9acc3203ec9f694fab732546588cb4ad5e1d00223aed34891db378 WHIRLPOOL cfe9ffc62c290ba436122502332577b6f83ca6dfd0756cce6b56e2125891ec1a0e5de9c3eacde9693042419c41e52113c2149d5ff501ea9899ea62beb2986792
7111 +MISC geany-1.22.ebuild.rej 341 SHA256 3f64f8e1d2f7a2faf2b331a280fc3b1602918d20b970d52e3037f8f21d9128cf SHA512 c7312a9c663dd771a3d29b622f31d441adf8e898a682708acc707163d792665f529b2c5776967848cf614f53ebfe3fed7ed2df668eebb63d40ffa5004c11b1e5 WHIRLPOOL 1de072cd5a92d1d5bb78417f3dbca584572306038bf4a34ba9c95393711db8df93fb240ba7c425323d9aa55e1519171fe08ba01f7e8f50f0fe4c30520f00a158
7112 MISC metadata.xml 1922 SHA256 2a7ea9ffd1605dbce99497564a98bbb49d20c2d62f11fed8c1d39ce7988645d4 SHA512 8d54c284469f12733610b66947c75e055bb46f41213573ce811e8fd2d48b3a90e822c753118d0a213e0f1262dd513681dede592fd27ef814b6455725ab186e57 WHIRLPOOL 041975002890b1fd0d28adb1823ec38da865efbd307666777fb1839c5e9f82d465c497f8e846845fa692cacff221e6eb0eb53083c0b8867fefb7e3d23d5e1441
7113
7114 diff --git a/dev-util/geany/geany-1.22.ebuild b/dev-util/geany/geany-1.22.ebuild
7115 index 806e371..09dd034 100644
7116 --- a/dev-util/geany/geany-1.22.ebuild
7117 +++ b/dev-util/geany/geany-1.22.ebuild
7118 @@ -1,6 +1,6 @@
7119 # Copyright 1999-2012 Gentoo Foundation
7120 # Distributed under the terms of the GNU General Public License v2
7121 -# $Header: /var/cvsroot/gentoo-x86/dev-util/geany/geany-1.22.ebuild,v 1.3 2012/09/13 12:20:38 ago Exp $
7122 +# $Header: /var/cvsroot/gentoo-x86/dev-util/geany/geany-1.22.ebuild,v 1.5 2012/09/27 00:08:59 blueness Exp $
7123
7124 EAPI="5"
7125 inherit eutils gnome2-utils
7126 @@ -14,7 +14,7 @@ SRC_URI="http://download.geany.org/${P}.tar.bz2"
7127
7128 LICENSE="GPL-2 Scintilla"
7129 SLOT="0/1"
7130 -KEYWORDS="amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
7131 +KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
7132 IUSE="+vte"
7133
7134 RDEPEND=">=x11-libs/gtk+-2.16:2
7135
7136 diff --git a/dev-util/geany/geany-1.22.ebuild.rej b/dev-util/geany/geany-1.22.ebuild.rej
7137 new file mode 100644
7138 index 0000000..92e58dd
7139 --- /dev/null
7140 +++ b/dev-util/geany/geany-1.22.ebuild.rej
7141 @@ -0,0 +1,11 @@
7142 +--- dev-util/geany/geany-1.22.ebuild 2012-09-24 09:44:25.000000000 -0400
7143 ++++ dev-util/geany/geany-1.22.ebuild 2012-09-24 13:58:43.000000000 -0400
7144 +@@ -13,7 +13,7 @@
7145 + SRC_URI="http://download.geany.org/${P}.tar.bz2"
7146 +
7147 + LICENSE="GPL-2 Scintilla"
7148 +-SLOT="0"
7149 ++SLOT="0/1"
7150 + KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
7151 + IUSE="+vte"
7152 +
7153
7154 diff --git a/dev-vcs/gitolite/Manifest b/dev-vcs/gitolite/Manifest
7155 index da9ed51..5a75d56 100644
7156 --- a/dev-vcs/gitolite/Manifest
7157 +++ b/dev-vcs/gitolite/Manifest
7158 @@ -10,6 +10,6 @@ EBUILD gitolite-2.2.ebuild 1734 SHA256 82fc1a5e80d6fb826e9cefc1450f3a3af0847d046
7159 EBUILD gitolite-2.3.1.ebuild 1751 SHA256 219f29141b7ddf74101d43b0b523b64cdfb73ce386b9062e989ce76259a0479b SHA512 643d69490835e1cc576d7a8845357f08b42329c11cb4ca367865fa7b2b6c2715fd60dcb6d8ee567903f2d19b90e7d8a50f8fa183fd29667479ed13f55b88fd1b WHIRLPOOL db835457d04b34fc6042703930d5b8cf72bcf38053cc06d0e28eda0443ee5456759acae20fb267f6a322735de50f01745ef6b42d6b42604fdf500e34d90532c9
7160 EBUILD gitolite-2.3.ebuild 1740 SHA256 f4932f5ceed77b0c1867f378f04ab9df3e62072472351247245cf12f830e1294 SHA512 78b8bcc965f7b7e54fcc04e99dac225505092218eae3c9547e0ca56993d682ee5762cf17373093d5131c1dc8c942edb022ed78d1aa9d82aae2fbdc42d118a196 WHIRLPOOL 6c82f94547447a51b4b80bdc09244df495847ccf0c57522c00c355c42759c334fe67032438c817596cb3fc24b267505b3ec71fb8d6a3846b1154d543f5df0cc8
7161 EBUILD gitolite-3.03.ebuild 2131 SHA256 f281e839c853aabe12bef757b4b80e96b9735756fd92b0b343763a965d640c96 SHA512 ee9a08bf4bac1846ef76c7a620917c422ad1d7abee533d7e2588cc995531b353587db2f1b95911404916d7f014f10a31c60781c7485f9691ac5c8d8d8f1a8d04 WHIRLPOOL 4a61c31e458580f0d6280be83607f96900e0ec644a70a7e87325834482f729c9cd5c3842eda30cc642b21d4df73169ee96c475ef4e4000cc825d42889380c797
7162 -EBUILD gitolite-3.04.ebuild 1914 SHA256 3ef95d9349346009c714b07fda01e0394821dce9e34675b17d1bf70106727ba4 SHA512 4041c3220e259793c9be13f65655182ddbd9c4d25e81c0391cf452da17ed7d8f6401c6faccab9c24d38ed1b1a4c29384a43b29fa9c93b691818dd6505fd5944a WHIRLPOOL 0529d9fe3ccd4e6029d7f4b39ba72317ad89d561051f19134b7284e0b2f59be6b7d5d91429547af2e8c507ec376af6a05ee8422859cedd1f53cab523b0ed65a5
7163 -MISC ChangeLog 3629 SHA256 14971669cf2ad5b60b5a2803f4765642e9e8fc7dfa2b6638b3fa59362f411cab SHA512 3c3c545cd707721c8c59dc138a120a2bfafd7169cd870b4dadfb7dcf1b172810c2555ea46ba74f5d2591c3d299c11c9fdc227d63f00708e54fa6199932bfc7a5 WHIRLPOOL 46d821240b89fcb9866e130929b4341ad8d11f3f6683b479e1c04968be8e3c5b09b48ad12af7b535fc1fc48f46077792acf201160f8526bd3bf585d624d4439b
7164 +EBUILD gitolite-3.04.ebuild 1945 SHA256 62f5e6e5811d7100795c09b1faa3b35d75fb7d6b77a4a420e5f5c1b09ace2ea3 SHA512 10073ad6f1b2c5fd592c71ec97427cbe0d5cbe734e462d4c2ce117fef2295b9309a6a8262bfbf50f722d4842dae20c3096cb9e7108be2f7bc3625a17fb879bf5 WHIRLPOOL 1286716ab88b25400a2e8ca92f7b94a8e0322cc1400175c829ba8e6ae1027782dbe70b7db066157161eedd7bbf3c080e9e42013c6cc3d80b46295941d1a993c9
7165 +MISC ChangeLog 3770 SHA256 30718d9cbc3f89f11d0d3b7ed07f0f2c8531d75a5ea4fe27deba1220320fb2aa SHA512 77b8e491cdcf3e1c0d5374493c9887f2a83b2c09c63723a9b6d06a451deffb2b4244c50d99c647ed329e4d9adfcaec74e5ce802082b33cf42ee0396715dc7cdf WHIRLPOOL 180e8df28a4f922630e6d2405a03e56da346e9b0b1f40e5c0f5824e398ba02ffe972b6d7423079140b80c6a14ad5ebf5d3cbdd760aebf675c059c65420ee5bbc
7166 MISC metadata.xml 779 SHA256 b4ffa2d440bbd0bad5a09952ae8b0240b7056ad2773cd36c617d89ac0b589e8b SHA512 119a713d329854b20633d292fddd5e38f2292a81c76de4fe776cb06168ba03a2bde59b954b5453ec5232645516a62b2d0a2ec68ad27f9d011dbc309ebd1d123a WHIRLPOOL 1abe55643411d0c9a0750d221784ecd085916a3f806af052b6c5c8dc93844bed9897400535545d387697663cd1bec73b37f7fbc25956d517583eef156b945cf7
7167
7168 diff --git a/dev-vcs/gitolite/gitolite-3.04.ebuild b/dev-vcs/gitolite/gitolite-3.04.ebuild
7169 index 2a52278..9946648 100644
7170 --- a/dev-vcs/gitolite/gitolite-3.04.ebuild
7171 +++ b/dev-vcs/gitolite/gitolite-3.04.ebuild
7172 @@ -1,10 +1,10 @@
7173 # Copyright 1999-2012 Gentoo Foundation
7174 # Distributed under the terms of the GNU General Public License v2
7175 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite/gitolite-3.04.ebuild,v 1.1 2012/08/26 13:00:38 idl0r Exp $
7176 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite/gitolite-3.04.ebuild,v 1.2 2012/09/22 15:17:47 idl0r Exp $
7177
7178 EAPI="5"
7179
7180 -inherit eutils perl-module user
7181 +inherit eutils perl-module user versionator
7182
7183 DESCRIPTION="Highly flexible server for git directory version tracker"
7184 HOMEPAGE="http://github.com/sitaramc/gitolite"
7185 @@ -68,11 +68,12 @@ src_install() {
7186 }
7187
7188 pkg_postinst() {
7189 - if has_version "=dev-vcs/gitolite-2*"; then
7190 + if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
7191 ewarn
7192 elog "***NOTE** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
7193 elog "Please read http://sitaramc.github.com/gitolite/install.html#migr first!"
7194 fi
7195 +
7196 # bug 352291
7197 ewarn
7198 elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
7199
7200 diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
7201 deleted file mode 100644
7202 index 3cd17dd..0000000
7203 --- a/eclass/autotools-utils.eclass
7204 +++ /dev/null
7205 @@ -1,497 +0,0 @@
7206 -# Copyright 1999-2012 Gentoo Foundation
7207 -# Distributed under the terms of the GNU General Public License v2
7208 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.56 2012/06/08 17:50:10 mgorny Exp $
7209 -
7210 -# @ECLASS: autotools-utils.eclass
7211 -# @MAINTAINER:
7212 -# Maciej Mrozowski <reavertm@g.o>
7213 -# Michał Górny <mgorny@g.o>
7214 -# @BLURB: common ebuild functions for autotools-based packages
7215 -# @DESCRIPTION:
7216 -# autotools-utils.eclass is autotools.eclass(5) and base.eclass(5) wrapper
7217 -# providing all inherited features along with econf arguments as Bash array,
7218 -# out of source build with overridable build dir location, static archives
7219 -# handling, libtool files removal.
7220 -#
7221 -# Please note that autotools-utils does not support mixing of its phase
7222 -# functions with regular econf/emake calls. If necessary, please call
7223 -# autotools-utils_src_compile instead of the latter.
7224 -#
7225 -# @EXAMPLE:
7226 -# Typical ebuild using autotools-utils.eclass:
7227 -#
7228 -# @CODE
7229 -# EAPI="2"
7230 -#
7231 -# inherit autotools-utils
7232 -#
7233 -# DESCRIPTION="Foo bar application"
7234 -# HOMEPAGE="http://example.org/foo/"
7235 -# SRC_URI="mirror://sourceforge/foo/${P}.tar.bz2"
7236 -#
7237 -# LICENSE="LGPL-2.1"
7238 -# KEYWORDS=""
7239 -# SLOT="0"
7240 -# IUSE="debug doc examples qt4 static-libs tiff"
7241 -#
7242 -# CDEPEND="
7243 -# media-libs/libpng:0
7244 -# qt4? (
7245 -# x11-libs/qt-core:4
7246 -# x11-libs/qt-gui:4
7247 -# )
7248 -# tiff? ( media-libs/tiff:0 )
7249 -# "
7250 -# RDEPEND="${CDEPEND}
7251 -# !media-gfx/bar
7252 -# "
7253 -# DEPEND="${CDEPEND}
7254 -# doc? ( app-doc/doxygen )
7255 -# "
7256 -#
7257 -# # bug 123456
7258 -# AUTOTOOLS_IN_SOURCE_BUILD=1
7259 -#
7260 -# DOCS=(AUTHORS ChangeLog README "Read me.txt" TODO)
7261 -#
7262 -# PATCHES=(
7263 -# "${FILESDIR}/${P}-gcc44.patch" # bug 123458
7264 -# "${FILESDIR}/${P}-as-needed.patch"
7265 -# "${FILESDIR}/${P}-unbundle_libpng.patch"
7266 -# )
7267 -#
7268 -# src_configure() {
7269 -# local myeconfargs=(
7270 -# $(use_enable debug)
7271 -# $(use_with qt4)
7272 -# $(use_enable threads multithreading)
7273 -# $(use_with tiff)
7274 -# )
7275 -# autotools-utils_src_configure
7276 -# }
7277 -#
7278 -# src_compile() {
7279 -# autotools-utils_src_compile
7280 -# use doc && autotools-utils_src_compile docs
7281 -# }
7282 -#
7283 -# src_install() {
7284 -# use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/apidocs/html/")
7285 -# autotools-utils_src_install
7286 -# if use examples; then
7287 -# dobin "${AUTOTOOLS_BUILD_DIR}"/foo_example{1,2,3} \\
7288 -# || die 'dobin examples failed'
7289 -# fi
7290 -# }
7291 -#
7292 -# @CODE
7293 -
7294 -# Keep variable names synced with cmake-utils and the other way around!
7295 -
7296 -case ${EAPI:-0} in
7297 - 2|3|4|5) ;;
7298 - *) die "EAPI=${EAPI} is not supported" ;;
7299 -esac
7300 -
7301 -# @ECLASS-VARIABLE: AUTOTOOLS_AUTORECONF
7302 -# @DEFAULT_UNSET
7303 -# @DESCRIPTION:
7304 -# Set to a non-empty value in order to enable running autoreconf
7305 -# in src_prepare() and adding autotools dependencies.
7306 -#
7307 -# This is usually necessary when using live sources or applying patches
7308 -# modifying configure.ac or Makefile.am files. Note that in the latter case
7309 -# setting this variable is obligatory even though the eclass will work without
7310 -# it (to add the necessary dependencies).
7311 -#
7312 -# The eclass will try to determine the correct autotools to run including a few
7313 -# external tools: gettext, glib-gettext, intltool, gtk-doc, gnome-doc-prepare.
7314 -# If your tool is not supported, please open a bug and we'll add support for it.
7315 -#
7316 -# Note that dependencies are added for autoconf, automake and libtool only.
7317 -# If your package needs one of the external tools listed above, you need to add
7318 -# appropriate packages to DEPEND yourself.
7319 -[[ ${AUTOTOOLS_AUTORECONF} ]] || : ${AUTOTOOLS_AUTO_DEPEND:=no}
7320 -
7321 -inherit autotools eutils libtool
7322 -
7323 -EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_test
7324 -
7325 -# @ECLASS-VARIABLE: AUTOTOOLS_BUILD_DIR
7326 -# @DEFAULT_UNSET
7327 -# @DESCRIPTION:
7328 -# Build directory, location where all autotools generated files should be
7329 -# placed. For out of source builds it defaults to ${WORKDIR}/${P}_build.
7330 -
7331 -# @ECLASS-VARIABLE: AUTOTOOLS_IN_SOURCE_BUILD
7332 -# @DEFAULT_UNSET
7333 -# @DESCRIPTION:
7334 -# Set to enable in-source build.
7335 -
7336 -# @ECLASS-VARIABLE: ECONF_SOURCE
7337 -# @DEFAULT_UNSET
7338 -# @DESCRIPTION:
7339 -# Specify location of autotools' configure script. By default it uses ${S}.
7340 -
7341 -# @ECLASS-VARIABLE: myeconfargs
7342 -# @DEFAULT_UNSET
7343 -# @DESCRIPTION:
7344 -# Optional econf arguments as Bash array. Should be defined before calling src_configure.
7345 -# @CODE
7346 -# src_configure() {
7347 -# local myeconfargs=(
7348 -# --disable-readline
7349 -# --with-confdir="/etc/nasty foo confdir/"
7350 -# $(use_enable debug cnddebug)
7351 -# $(use_enable threads multithreading)
7352 -# )
7353 -# autotools-utils_src_configure
7354 -# }
7355 -# @CODE
7356 -
7357 -# @ECLASS-VARIABLE: DOCS
7358 -# @DEFAULT_UNSET
7359 -# @DESCRIPTION:
7360 -# Array containing documents passed to dodoc command.
7361 -#
7362 -# Example:
7363 -# @CODE
7364 -# DOCS=( NEWS README )
7365 -# @CODE
7366 -
7367 -# @ECLASS-VARIABLE: HTML_DOCS
7368 -# @DEFAULT_UNSET
7369 -# @DESCRIPTION:
7370 -# Array containing documents passed to dohtml command.
7371 -#
7372 -# Example:
7373 -# @CODE
7374 -# HTML_DOCS=( doc/html/ )
7375 -# @CODE
7376 -
7377 -# @ECLASS-VARIABLE: PATCHES
7378 -# @DEFAULT_UNSET
7379 -# @DESCRIPTION:
7380 -# PATCHES array variable containing all various patches to be applied.
7381 -#
7382 -# Example:
7383 -# @CODE
7384 -# PATCHES=( "${FILESDIR}"/${P}-mypatch.patch )
7385 -# @CODE
7386 -
7387 -# Determine using IN or OUT source build
7388 -_check_build_dir() {
7389 - : ${ECONF_SOURCE:=${S}}
7390 - if [[ -n ${AUTOTOOLS_IN_SOURCE_BUILD} ]]; then
7391 - AUTOTOOLS_BUILD_DIR="${ECONF_SOURCE}"
7392 - else
7393 - : ${AUTOTOOLS_BUILD_DIR:=${WORKDIR}/${P}_build}
7394 - fi
7395 - echo ">>> Working in BUILD_DIR: \"$AUTOTOOLS_BUILD_DIR\""
7396 -}
7397 -
7398 -# @FUNCTION: remove_libtool_files
7399 -# @USAGE: [all]
7400 -# @DESCRIPTION:
7401 -# Determines unnecessary libtool files (.la) and libtool static archives (.a)
7402 -# and removes them from installation image.
7403 -#
7404 -# To unconditionally remove all libtool files, pass 'all' as argument.
7405 -# Otherwise, libtool archives required for static linking will be preserved.
7406 -#
7407 -# In most cases it's not necessary to manually invoke this function.
7408 -# See autotools-utils_src_install for reference.
7409 -remove_libtool_files() {
7410 - debug-print-function ${FUNCNAME} "$@"
7411 - local removing_all
7412 -
7413 - eqawarn "The remove_libtool_files() function was deprecated."
7414 - eqawarn "Please use prune_libtool_files() from eutils eclass instead."
7415 -
7416 - [[ ${#} -le 1 ]] || die "Invalid number of args to ${FUNCNAME}()"
7417 - if [[ ${#} -eq 1 ]]; then
7418 - case "${1}" in
7419 - all)
7420 - removing_all=1
7421 - ;;
7422 - *)
7423 - die "Invalid argument to ${FUNCNAME}(): ${1}"
7424 - esac
7425 - fi
7426 -
7427 - local pc_libs=()
7428 - if [[ ! ${removing_all} ]]; then
7429 - local arg
7430 - for arg in $(find "${D}" -name '*.pc' -exec \
7431 - sed -n -e 's;^Libs:;;p' {} +); do
7432 - [[ ${arg} == -l* ]] && pc_libs+=(lib${arg#-l}.la)
7433 - done
7434 - fi
7435 -
7436 - local f
7437 - find "${D}" -type f -name '*.la' -print0 | while read -r -d '' f; do
7438 - local shouldnotlink=$(sed -ne '/^shouldnotlink=yes$/p' "${f}")
7439 - local archivefile=${f/%.la/.a}
7440 - [[ "${f}" != "${archivefile}" ]] || die 'regex sanity check failed'
7441 -
7442 - # Remove static libs we're not supposed to link against.
7443 - if [[ ${shouldnotlink} ]]; then
7444 - einfo "Removing unnecessary ${archivefile#${D%/}}"
7445 - rm -f "${archivefile}" || die
7446 - # The .la file may be used by a module loader, so avoid removing it
7447 - # unless explicitly requested.
7448 - [[ ${removing_all} ]] || continue
7449 - fi
7450 -
7451 - # Remove .la files when:
7452 - # - user explicitly wants us to remove all .la files,
7453 - # - respective static archive doesn't exist,
7454 - # - they are covered by a .pc file already,
7455 - # - they don't provide any new information (no libs & no flags).
7456 - local removing
7457 - if [[ ${removing_all} ]]; then removing='forced'
7458 - elif [[ ! -f ${archivefile} ]]; then removing='no static archive'
7459 - elif has "$(basename "${f}")" "${pc_libs[@]}"; then
7460 - removing='covered by .pc'
7461 - elif [[ ! $(sed -n -e \
7462 - "s/^\(dependency_libs\|inherited_linker_flags\)='\(.*\)'$/\2/p" \
7463 - "${f}") ]]; then removing='no libs & flags'
7464 - fi
7465 -
7466 - if [[ ${removing} ]]; then
7467 - einfo "Removing unnecessary ${f#${D%/}} (${removing})"
7468 - rm -f "${f}" || die
7469 - fi
7470 - done
7471 -}
7472 -
7473 -# @FUNCTION: autotools-utils_autoreconf
7474 -# @DESCRIPTION:
7475 -# Reconfigure the sources (like gnome-autogen.sh or eautoreconf).
7476 -autotools-utils_autoreconf() {
7477 - debug-print-function ${FUNCNAME} "$@"
7478 -
7479 - eqawarn "The autotools-utils_autoreconf() function was deprecated."
7480 - eqawarn "Please call autotools-utils_src_prepare()"
7481 - eqawarn "with AUTOTOOLS_AUTORECONF set instead."
7482 -
7483 - # Override this func to not require unnecessary eaclocal calls.
7484 - autotools_check_macro() {
7485 - local x
7486 -
7487 - # Add a few additional variants as we don't get expansions.
7488 - [[ ${1} = AC_CONFIG_HEADERS ]] && set -- "${@}" \
7489 - AC_CONFIG_HEADER AM_CONFIG_HEADER
7490 -
7491 - for x; do
7492 - grep -h "^${x}" configure.{ac,in} 2>/dev/null
7493 - done
7494 - }
7495 -
7496 - einfo "Autoreconfiguring '${PWD}' ..."
7497 -
7498 - local auxdir=$(sed -n -e 's/^AC_CONFIG_AUX_DIR(\(.*\))$/\1/p' \
7499 - configure.{ac,in} 2>/dev/null)
7500 - if [[ ${auxdir} ]]; then
7501 - auxdir=${auxdir%%]}
7502 - mkdir -p ${auxdir##[}
7503 - fi
7504 -
7505 - # Support running additional tools like gnome-autogen.sh.
7506 - # Note: you need to add additional depends to the ebuild.
7507 -
7508 - # gettext
7509 - if [[ $(autotools_check_macro AM_GLIB_GNU_GETTEXT) ]]; then
7510 - echo 'no' | autotools_run_tool glib-gettextize --copy --force
7511 - elif [[ $(autotools_check_macro AM_GNU_GETTEXT) ]]; then
7512 - eautopoint --force
7513 - fi
7514 -
7515 - # intltool
7516 - if [[ $(autotools_check_macro AC_PROG_INTLTOOL IT_PROG_INTLTOOL) ]]
7517 - then
7518 - autotools_run_tool intltoolize --copy --automake --force
7519 - fi
7520 -
7521 - # gtk-doc
7522 - if [[ $(autotools_check_macro GTK_DOC_CHECK) ]]; then
7523 - autotools_run_tool gtkdocize --copy
7524 - fi
7525 -
7526 - # gnome-doc
7527 - if [[ $(autotools_check_macro GNOME_DOC_INIT) ]]; then
7528 - autotools_run_tool gnome-doc-prepare --copy --force
7529 - fi
7530 -
7531 - if [[ $(autotools_check_macro AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT) ]]
7532 - then
7533 - _elibtoolize --copy --force --install
7534 - fi
7535 -
7536 - eaclocal
7537 - eautoconf
7538 - eautoheader
7539 - FROM_EAUTORECONF=sure eautomake
7540 -
7541 - local x
7542 - for x in $(autotools_check_macro_val AC_CONFIG_SUBDIRS); do
7543 - if [[ -d ${x} ]] ; then
7544 - pushd "${x}" >/dev/null || die
7545 - autotools-utils_autoreconf
7546 - popd >/dev/null || die
7547 - fi
7548 - done
7549 -}
7550 -
7551 -# @FUNCTION: autotools-utils_src_prepare
7552 -# @DESCRIPTION:
7553 -# The src_prepare function.
7554 -#
7555 -# Supporting PATCHES array and user patches. See base.eclass(5) for reference.
7556 -autotools-utils_src_prepare() {
7557 - debug-print-function ${FUNCNAME} "$@"
7558 -
7559 - local want_autoreconf=${AUTOTOOLS_AUTORECONF}
7560 -
7561 - [[ ${PATCHES} ]] && epatch "${PATCHES[@]}"
7562 -
7563 - at_checksum() {
7564 - find '(' -name 'Makefile.am' \
7565 - -o -name 'configure.ac' \
7566 - -o -name 'configure.in' ')' \
7567 - -exec cksum {} + | sort -k2
7568 - }
7569 -
7570 - [[ ! ${want_autoreconf} ]] && local checksum=$(at_checksum)
7571 - epatch_user
7572 - if [[ ! ${want_autoreconf} ]]; then
7573 - if [[ ${checksum} != $(at_checksum) ]]; then
7574 - einfo 'Will autoreconfigure due to user patches applied.'
7575 - want_autoreconf=yep
7576 - fi
7577 - fi
7578 -
7579 - [[ ${want_autoreconf} ]] && eautoreconf
7580 - elibtoolize --patch-only
7581 -}
7582 -
7583 -# @FUNCTION: autotools-utils_src_configure
7584 -# @DESCRIPTION:
7585 -# The src_configure function. For out of source build it creates build
7586 -# directory and runs econf there. Configuration parameters defined
7587 -# in myeconfargs are passed here to econf. Additionally following USE
7588 -# flags are known:
7589 -#
7590 -# IUSE="static-libs" passes --enable-shared and either --disable-static/--enable-static
7591 -# to econf respectively.
7592 -autotools-utils_src_configure() {
7593 - debug-print-function ${FUNCNAME} "$@"
7594 -
7595 - [[ -z ${myeconfargs+1} || $(declare -p myeconfargs) == 'declare -a'* ]] \
7596 - || die 'autotools-utils.eclass: myeconfargs has to be an array.'
7597 -
7598 - [[ ${EAPI} == 2 ]] && ! use prefix && EPREFIX=
7599 -
7600 - # Common args
7601 - local econfargs=()
7602 -
7603 - _check_build_dir
7604 - if "${ECONF_SOURCE}"/configure --help 2>&1 | grep -q '^ *--docdir='; then
7605 - econfargs+=(
7606 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
7607 - )
7608 - fi
7609 -
7610 - # Handle static-libs found in IUSE, disable them by default
7611 - if in_iuse static-libs; then
7612 - econfargs+=(
7613 - --enable-shared
7614 - $(use_enable static-libs static)
7615 - )
7616 - fi
7617 -
7618 - # Append user args
7619 - econfargs+=("${myeconfargs[@]}")
7620 -
7621 - mkdir -p "${AUTOTOOLS_BUILD_DIR}" || die "mkdir '${AUTOTOOLS_BUILD_DIR}' failed"
7622 - pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
7623 - econf "${econfargs[@]}" "$@"
7624 - popd > /dev/null || die
7625 -}
7626 -
7627 -# @FUNCTION: autotools-utils_src_compile
7628 -# @DESCRIPTION:
7629 -# The autotools src_compile function, invokes emake in specified AUTOTOOLS_BUILD_DIR.
7630 -autotools-utils_src_compile() {
7631 - debug-print-function ${FUNCNAME} "$@"
7632 -
7633 - _check_build_dir
7634 - pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
7635 - emake "$@" || die 'emake failed'
7636 - popd > /dev/null || die
7637 -}
7638 -
7639 -# @FUNCTION: autotools-utils_src_install
7640 -# @DESCRIPTION:
7641 -# The autotools src_install function. Runs emake install, unconditionally
7642 -# removes unnecessary static libs (based on shouldnotlink libtool property)
7643 -# and removes unnecessary libtool files when static-libs USE flag is defined
7644 -# and unset.
7645 -#
7646 -# DOCS and HTML_DOCS arrays are supported. See base.eclass(5) for reference.
7647 -autotools-utils_src_install() {
7648 - debug-print-function ${FUNCNAME} "$@"
7649 -
7650 - _check_build_dir
7651 - pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
7652 - emake DESTDIR="${D}" "$@" install || die "emake install failed"
7653 - popd > /dev/null || die
7654 -
7655 - # Move docs installed by autotools (in EAPI < 4).
7656 - if [[ ${EAPI} == [23] ]] \
7657 - && path_exists "${D}${EPREFIX}"/usr/share/doc/${PF}/*; then
7658 - if [[ $(find "${D}${EPREFIX}"/usr/share/doc/${PF}/* -type d) ]]; then
7659 - eqawarn "autotools-utils: directories in docdir require at least EAPI 4"
7660 - else
7661 - mkdir "${T}"/temp-docdir
7662 - mv "${D}${EPREFIX}"/usr/share/doc/${PF}/* "${T}"/temp-docdir/ \
7663 - || die "moving docs to tempdir failed"
7664 -
7665 - dodoc "${T}"/temp-docdir/* || die "docdir dodoc failed"
7666 - rm -r "${T}"/temp-docdir || die
7667 - fi
7668 - fi
7669 -
7670 - # XXX: support installing them from builddir as well?
7671 - if [[ ${DOCS} ]]; then
7672 - dodoc "${DOCS[@]}" || die "dodoc failed"
7673 - else
7674 - local f
7675 - # same list as in PMS
7676 - for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \
7677 - THANKS BUGS FAQ CREDITS CHANGELOG; do
7678 - if [[ -s ${f} ]]; then
7679 - dodoc "${f}" || die "(default) dodoc ${f} failed"
7680 - fi
7681 - done
7682 - fi
7683 - if [[ ${HTML_DOCS} ]]; then
7684 - dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
7685 - fi
7686 -
7687 - # Remove libtool files and unnecessary static libs
7688 - prune_libtool_files
7689 -}
7690 -
7691 -# @FUNCTION: autotools-utils_src_test
7692 -# @DESCRIPTION:
7693 -# The autotools src_test function. Runs emake check in build directory.
7694 -autotools-utils_src_test() {
7695 - debug-print-function ${FUNCNAME} "$@"
7696 -
7697 - _check_build_dir
7698 - pushd "${AUTOTOOLS_BUILD_DIR}" > /dev/null || die
7699 - # Run default src_test as defined in ebuild.sh
7700 - default_src_test
7701 - popd > /dev/null || die
7702 -}
7703
7704 diff --git a/eclass/base.eclass b/eclass/base.eclass
7705 deleted file mode 100644
7706 index f9e28be..0000000
7707 --- a/eclass/base.eclass
7708 +++ /dev/null
7709 @@ -1,194 +0,0 @@
7710 -# Copyright 1999-2012 Gentoo Foundation
7711 -# Distributed under the terms of the GNU General Public License v2
7712 -# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.57 2012/07/09 02:38:05 floppym Exp $
7713 -
7714 -# @ECLASS: base.eclass
7715 -# @MAINTAINER:
7716 -# QA Team <qa@g.o>
7717 -# @AUTHOR:
7718 -# Original author: Dan Armak <danarmak@g.o>
7719 -# @BLURB: The base eclass defines some default functions and variables.
7720 -# @DESCRIPTION:
7721 -# The base eclass defines some default functions and variables.
7722 -
7723 -if [[ ${___ECLASS_ONCE_BASE} != "recur -_+^+_- spank" ]] ; then
7724 -___ECLASS_ONCE_BASE="recur -_+^+_- spank"
7725 -
7726 -inherit eutils
7727 -
7728 -BASE_EXPF="src_unpack src_compile src_install"
7729 -case "${EAPI:-0}" in
7730 - 2|3|4|5) BASE_EXPF+=" src_prepare src_configure" ;;
7731 - *) ;;
7732 -esac
7733 -
7734 -EXPORT_FUNCTIONS ${BASE_EXPF}
7735 -
7736 -# @ECLASS-VARIABLE: DOCS
7737 -# @DESCRIPTION:
7738 -# Array containing documents passed to dodoc command.
7739 -#
7740 -# DOCS=( "${S}/doc/document.txt" "${S}/doc/doc_folder/" )
7741 -
7742 -# @ECLASS-VARIABLE: HTML_DOCS
7743 -# @DESCRIPTION:
7744 -# Array containing documents passed to dohtml command.
7745 -#
7746 -# HTML_DOCS=( "${S}/doc/document.html" "${S}/doc/html_folder/" )
7747 -
7748 -# @ECLASS-VARIABLE: PATCHES
7749 -# @DESCRIPTION:
7750 -# PATCHES array variable containing all various patches to be applied.
7751 -# This variable is expected to be defined in global scope of ebuild.
7752 -# Make sure to specify the full path. This variable is utilised in
7753 -# src_unpack/src_prepare phase based on EAPI.
7754 -#
7755 -# NOTE: if using patches folders with special file suffixes you have to
7756 -# define one additional variable EPATCH_SUFFIX="something"
7757 -#
7758 -# PATCHES=( "${FILESDIR}/mypatch.patch" "${FILESDIR}/patches_folder/" )
7759 -
7760 -
7761 -# @FUNCTION: base_src_unpack
7762 -# @DESCRIPTION:
7763 -# The base src_unpack function, which is exported.
7764 -# Calls also src_prepare with eapi older than 2.
7765 -base_src_unpack() {
7766 - debug-print-function $FUNCNAME "$@"
7767 -
7768 - pushd "${WORKDIR}" > /dev/null
7769 -
7770 - if [[ $(type -t unpacker_src_unpack) == "function" ]] ; then
7771 - unpacker_src_unpack
7772 - elif [[ -n ${A} ]] ; then
7773 - unpack ${A}
7774 - fi
7775 - has src_prepare ${BASE_EXPF} || base_src_prepare
7776 -
7777 - popd > /dev/null
7778 -}
7779 -
7780 -# @FUNCTION: base_src_prepare
7781 -# @DESCRIPTION:
7782 -# The base src_prepare function, which is exported
7783 -# EAPI is greater or equal to 2. Here the PATCHES array is evaluated.
7784 -base_src_prepare() {
7785 - debug-print-function $FUNCNAME "$@"
7786 - debug-print "$FUNCNAME: PATCHES=$PATCHES"
7787 -
7788 - local patches_failed=0
7789 -
7790 - pushd "${S}" > /dev/null
7791 - if [[ "$(declare -p PATCHES 2>/dev/null 2>&1)" == "declare -a"* ]]; then
7792 - for x in "${PATCHES[@]}"; do
7793 - debug-print "$FUNCNAME: applying patch from ${x}"
7794 - if [[ -d "${x}" ]]; then
7795 - # Use standardized names and locations with bulk patching
7796 - # Patch directory is ${WORKDIR}/patch
7797 - # See epatch() in eutils.eclass for more documentation
7798 - EPATCH_SUFFIX=${EPATCH_SUFFIX:=patch}
7799 -
7800 - # in order to preserve normal EPATCH_SOURCE value that can
7801 - # be used other way than with base eclass store in local
7802 - # variable and restore later
7803 - oldval=${EPATCH_SOURCE}
7804 - EPATCH_SOURCE=${x}
7805 - EPATCH_FORCE=yes
7806 - epatch
7807 - EPATCH_SOURCE=${oldval}
7808 - elif [[ -f "${x}" ]]; then
7809 - epatch "${x}"
7810 - else
7811 - ewarn "QA: File or directory \"${x}\" does not exist."
7812 - ewarn "QA: Check your PATCHES array or add missing file/directory."
7813 - patches_failed=1
7814 - fi
7815 - done
7816 - [[ ${patches_failed} -eq 1 ]] && die "Some patches failed. See above messages."
7817 - else
7818 - for x in ${PATCHES}; do
7819 - debug-print "$FUNCNAME: patching from ${x}"
7820 - epatch "${x}"
7821 - done
7822 - fi
7823 -
7824 - # Apply user patches
7825 - debug-print "$FUNCNAME: applying user patches"
7826 - epatch_user
7827 -
7828 - popd > /dev/null
7829 -}
7830 -
7831 -# @FUNCTION: base_src_configure
7832 -# @DESCRIPTION:
7833 -# The base src_configure function, which is exported when
7834 -# EAPI is greater or equal to 2. Runs basic econf.
7835 -base_src_configure() {
7836 - debug-print-function $FUNCNAME "$@"
7837 -
7838 - # there is no pushd ${S} so we can override its place where to run
7839 - [[ -x ${ECONF_SOURCE:-.}/configure ]] && econf "$@"
7840 -}
7841 -
7842 -# @FUNCTION: base_src_compile
7843 -# @DESCRIPTION:
7844 -# The base src_compile function, calls src_configure with
7845 -# EAPI older than 2.
7846 -base_src_compile() {
7847 - debug-print-function $FUNCNAME "$@"
7848 -
7849 - has src_configure ${BASE_EXPF} || base_src_configure
7850 - base_src_make "$@"
7851 -}
7852 -
7853 -# @FUNCTION: base_src_make
7854 -# @DESCRIPTION:
7855 -# Actual function that runs emake command.
7856 -base_src_make() {
7857 - debug-print-function $FUNCNAME "$@"
7858 -
7859 - if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then
7860 - emake "$@" || die "died running emake, $FUNCNAME"
7861 - fi
7862 -}
7863 -
7864 -# @FUNCTION: base_src_install
7865 -# @DESCRIPTION:
7866 -# The base src_install function. Runs make install and
7867 -# installs documents and html documents from DOCS and HTML_DOCS
7868 -# arrays.
7869 -base_src_install() {
7870 - debug-print-function $FUNCNAME "$@"
7871 -
7872 - emake DESTDIR="${D}" "$@" install || die "died running make install, $FUNCNAME"
7873 - base_src_install_docs
7874 -}
7875 -
7876 -# @FUNCTION: base_src_install_docs
7877 -# @DESCRIPTION:
7878 -# Actual function that install documentation from
7879 -# DOCS and HTML_DOCS arrays.
7880 -base_src_install_docs() {
7881 - debug-print-function $FUNCNAME "$@"
7882 -
7883 - local x
7884 -
7885 - pushd "${S}" > /dev/null
7886 -
7887 - if [[ "$(declare -p DOCS 2>/dev/null 2>&1)" == "declare -a"* ]]; then
7888 - for x in "${DOCS[@]}"; do
7889 - debug-print "$FUNCNAME: docs: creating document from ${x}"
7890 - dodoc "${x}" || die "dodoc failed"
7891 - done
7892 - fi
7893 - if [[ "$(declare -p HTML_DOCS 2>/dev/null 2>&1)" == "declare -a"* ]]; then
7894 - for x in "${HTML_DOCS[@]}"; do
7895 - debug-print "$FUNCNAME: docs: creating html document from ${x}"
7896 - dohtml -r "${x}" || die "dohtml failed"
7897 - done
7898 - fi
7899 -
7900 - popd > /dev/null
7901 -}
7902 -
7903 -fi
7904
7905 diff --git a/eclass/bash-completion-r1.eclass b/eclass/bash-completion-r1.eclass
7906 deleted file mode 100644
7907 index 191e720..0000000
7908 --- a/eclass/bash-completion-r1.eclass
7909 +++ /dev/null
7910 @@ -1,52 +0,0 @@
7911 -# Copyright 1999-2011 Gentoo Foundation
7912 -# Distributed under the terms of the GNU General Public License v2
7913 -# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion-r1.eclass,v 1.2 2011/09/08 20:28:29 mgorny Exp $
7914 -
7915 -# @ECLASS: bash-completion-r1.eclass
7916 -# @MAINTAINER:
7917 -# mgorny@g.o
7918 -# @BLURB: A few quick functions to install bash-completion files
7919 -# @EXAMPLE:
7920 -#
7921 -# @CODE
7922 -# EAPI=4
7923 -#
7924 -# src_install() {
7925 -# default
7926 -#
7927 -# newbashcomp contrib/${PN}.bash-completion ${PN}
7928 -# }
7929 -# @CODE
7930 -
7931 -case ${EAPI:-0} in
7932 - 0|1|2|3|4|5) ;;
7933 - *) die "EAPI ${EAPI} unsupported (yet)."
7934 -esac
7935 -
7936 -# @FUNCTION: dobashcomp
7937 -# @USAGE: file [...]
7938 -# @DESCRIPTION:
7939 -# Install bash-completion files passed as args. Has EAPI-dependant failure
7940 -# behavior (like doins).
7941 -dobashcomp() {
7942 - debug-print-function ${FUNCNAME} "${@}"
7943 -
7944 - (
7945 - insinto /usr/share/bash-completion
7946 - doins "${@}"
7947 - )
7948 -}
7949 -
7950 -# @FUNCTION: newbashcomp
7951 -# @USAGE: file newname
7952 -# @DESCRIPTION:
7953 -# Install bash-completion file under a new name. Has EAPI-dependant failure
7954 -# behavior (like newins).
7955 -newbashcomp() {
7956 - debug-print-function ${FUNCNAME} "${@}"
7957 -
7958 - (
7959 - insinto /usr/share/bash-completion
7960 - newins "${@}"
7961 - )
7962 -}
7963
7964 diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
7965 deleted file mode 100644
7966 index 66978a2..0000000
7967 --- a/eclass/check-reqs.eclass
7968 +++ /dev/null
7969 @@ -1,351 +0,0 @@
7970 -# Copyright 1999-2011 Gentoo Foundation
7971 -# Distributed under the terms of the GNU General Public License v2
7972 -# $Header: /var/cvsroot/gentoo-x86/eclass/check-reqs.eclass,v 1.10 2011/09/06 13:57:51 scarabeus Exp $
7973 -
7974 -# @ECLASS: check-reqs.eclass
7975 -# @MAINTAINER:
7976 -# QA Team <qa@g.o>
7977 -# @AUTHOR:
7978 -# Bo Ørsted Andresen <zlin@g.o>
7979 -# Original Author: Ciaran McCreesh <ciaranm@g.o>
7980 -# @BLURB: Provides a uniform way of handling ebuild which have very high build requirements
7981 -# @DESCRIPTION:
7982 -# This eclass provides a uniform way of handling ebuilds which have very high
7983 -# build requirements in terms of memory or disk space. It provides a function
7984 -# which should usually be called during pkg_setup().
7985 -#
7986 -# The chosen action only happens when the system's resources are detected
7987 -# correctly and only if they are below the threshold specified by the package.
7988 -#
7989 -# @CODE
7990 -# # need this much memory (does *not* check swap)
7991 -# CHECKREQS_MEMORY="256M"
7992 -#
7993 -# # need this much temporary build space
7994 -# CHECKREQS_DISK_BUILD="2G"
7995 -#
7996 -# # install will need this much space in /usr
7997 -# CHECKREQS_DISK_USR="1G"
7998 -#
7999 -# # install will need this much space in /var
8000 -# CHECKREQS_DISK_VAR="1024M"
8001 -#
8002 -# @CODE
8003 -#
8004 -# If you don't specify a value for, say, CHECKREQS_MEMORY, then the test is not
8005 -# carried out.
8006 -#
8007 -# These checks should probably mostly work on non-Linux, and they should
8008 -# probably degrade gracefully if they don't. Probably.
8009 -
8010 -inherit eutils
8011 -
8012 -# @ECLASS-VARIABLE: CHECKREQS_MEMORY
8013 -# @DEFAULT_UNSET
8014 -# @DESCRIPTION:
8015 -# How much RAM is needed? Eg.: CHECKREQS_MEMORY=15M
8016 -
8017 -# @ECLASS-VARIABLE: CHECKREQS_DISK_BUILD
8018 -# @DEFAULT_UNSET
8019 -# @DESCRIPTION:
8020 -# How much diskspace is needed to build the package? Eg.: CHECKREQS_DISK_BUILD=2T
8021 -
8022 -# @ECLASS-VARIABLE: CHECKREQS_DISK_USR
8023 -# @DEFAULT_UNSET
8024 -# @DESCRIPTION:
8025 -# How much space in /usr is needed to install the package? Eg.: CHECKREQS_DISK_USR=15G
8026 -
8027 -# @ECLASS-VARIABLE: CHECKREQS_DISK_VAR
8028 -# @DEFAULT_UNSET
8029 -# @DESCRIPTION:
8030 -# How much space is needed in /var? Eg.: CHECKREQS_DISK_VAR=3000M
8031 -
8032 -EXPORT_FUNCTIONS pkg_setup
8033 -case "${EAPI:-0}" in
8034 - 0|1|2|3) ;;
8035 - 4|5) EXPORT_FUNCTIONS pkg_pretend ;;
8036 - *) die "EAPI=${EAPI} is not supported" ;;
8037 -esac
8038 -
8039 -# @FUNCTION: check_reqs
8040 -# @DESCRIPTION:
8041 -# Obsolete function executing all the checks and priting out results
8042 -check_reqs() {
8043 - debug-print-function ${FUNCNAME} "$@"
8044 -
8045 - echo
8046 - ewarn "QA: Package calling old ${FUNCNAME} function."
8047 - ewarn "QA: Please file a bug against the package."
8048 - ewarn "QA: It should call check-reqs_pkg_pretend and check-reqs_pkg_setup"
8049 - ewarn "QA: and possibly use EAPI=4 or later."
8050 - echo
8051 -
8052 - check-reqs_pkg_setup "$@"
8053 -}
8054 -
8055 -# @FUNCTION: check-reqs_pkg_setup
8056 -# @DESCRIPTION:
8057 -# Exported function running the resources checks in pkg_setup phase.
8058 -# It should be run in both phases to ensure condition changes between
8059 -# pkg_pretend and pkg_setup won't affect the build.
8060 -check-reqs_pkg_setup() {
8061 - debug-print-function ${FUNCNAME} "$@"
8062 -
8063 - check-reqs_prepare
8064 - check-reqs_run
8065 - check-reqs_output
8066 -}
8067 -
8068 -# @FUNCTION: check-reqs_pkg_pretend
8069 -# @DESCRIPTION:
8070 -# Exported function running the resources checks in pkg_pretend phase.
8071 -check-reqs_pkg_pretend() {
8072 - debug-print-function ${FUNCNAME} "$@"
8073 -
8074 - check-reqs_pkg_setup "$@"
8075 -}
8076 -
8077 -# @FUNCTION: check-reqs_prepare
8078 -# @DESCRIPTION:
8079 -# Internal function that checks the variables that should be defined.
8080 -check-reqs_prepare() {
8081 - debug-print-function ${FUNCNAME} "$@"
8082 -
8083 - if [[ -z ${CHECKREQS_MEMORY} &&
8084 - -z ${CHECKREQS_DISK_BUILD} &&
8085 - -z ${CHECKREQS_DISK_USR} &&
8086 - -z ${CHECKREQS_DISK_VAR} ]]; then
8087 - eerror "Set some check-reqs eclass variables if you want to use it."
8088 - eerror "If you are user and see this message file a bug against the package."
8089 - die "${FUNCNAME}: check-reqs eclass called but not actualy used!"
8090 - fi
8091 -}
8092 -
8093 -# @FUNCTION: check-reqs_run
8094 -# @DESCRIPTION:
8095 -# Internal function that runs the check based on variable settings.
8096 -check-reqs_run() {
8097 - debug-print-function ${FUNCNAME} "$@"
8098 -
8099 - # some people are *censored*
8100 - unset CHECKREQS_FAILED
8101 -
8102 - [[ -n ${CHECKREQS_MEMORY} ]] && \
8103 - check-reqs_memory \
8104 - ${CHECKREQS_MEMORY}
8105 -
8106 - [[ -n ${CHECKREQS_DISK_BUILD} ]] && \
8107 - check-reqs_disk \
8108 - "${T}" \
8109 - "${CHECKREQS_DISK_BUILD}"
8110 -
8111 - [[ -n ${CHECKREQS_DISK_USR} ]] && \
8112 - check-reqs_disk \
8113 - "${EROOT}/usr" \
8114 - "${CHECKREQS_DISK_USR}"
8115 -
8116 - [[ -n ${CHECKREQS_DISK_VAR} ]] && \
8117 - check-reqs_disk \
8118 - "${EROOT}/var" \
8119 - "${CHECKREQS_DISK_VAR}"
8120 -}
8121 -
8122 -# @FUNCTION: check-reqs_get_mebibytes
8123 -# @DESCRIPTION:
8124 -# Internal function that returns number in mebibytes.
8125 -# Converts from 1G=1024 or 1T=1048576
8126 -check-reqs_get_mebibytes() {
8127 - debug-print-function ${FUNCNAME} "$@"
8128 -
8129 - [[ -z ${1} ]] && die "Usage: ${FUNCNAME} [size]"
8130 -
8131 - local unit=${1:(-1)}
8132 - local size=${1%[GMT]}
8133 -
8134 - case ${unit} in
8135 - G) echo $((1024 * size)) ;;
8136 - [M0-9]) echo ${size} ;;
8137 - T) echo $((1024 * 1024 * size)) ;;
8138 - *)
8139 - die "${FUNCNAME}: Unknown unit: ${unit}"
8140 - ;;
8141 - esac
8142 -}
8143 -
8144 -# @FUNCTION: check-reqs_get_number
8145 -# @DESCRIPTION:
8146 -# Internal function that returns number without the unit.
8147 -# Converts from 1G=1 or 150T=150.
8148 -check-reqs_get_number() {
8149 - debug-print-function ${FUNCNAME} "$@"
8150 -
8151 - [[ -z ${1} ]] && die "Usage: ${FUNCNAME} [size]"
8152 -
8153 - local unit=${1:(-1)}
8154 - local size=${1%[GMT]}
8155 -
8156 - # Check for unset units and warn about them.
8157 - # Backcompat.
8158 - if [[ ${size} == ${1} ]]; then
8159 - ewarn "QA: Package does not specify unit for the size check"
8160 - ewarn "QA: Assuming mebibytes."
8161 - ewarn "QA: File bug against the package. It should specify the unit."
8162 - fi
8163 -
8164 - echo ${size}
8165 -}
8166 -
8167 -# @FUNCTION: check-reqs_get_unit
8168 -# @DESCRIPTION:
8169 -# Internal function that returns number without the unit.
8170 -# Converts from 1G=1 or 150T=150.
8171 -check-reqs_get_unit() {
8172 - debug-print-function ${FUNCNAME} "$@"
8173 -
8174 - [[ -z ${1} ]] && die "Usage: ${FUNCNAME} [size]"
8175 -
8176 - local unit=${1:(-1)}
8177 -
8178 - case ${unit} in
8179 - G) echo "gibibytes" ;;
8180 - [M0-9]) echo "mebibytes" ;;
8181 - T) echo "tebibytes" ;;
8182 - *)
8183 - die "${FUNCNAME}: Unknown unit: ${unit}"
8184 - ;;
8185 - esac
8186 -}
8187 -
8188 -# @FUNCTION: check-reqs_output
8189 -# @DESCRIPTION:
8190 -# Internal function that prints the warning and dies if required based on
8191 -# the test results.
8192 -check-reqs_output() {
8193 - debug-print-function ${FUNCNAME} "$@"
8194 -
8195 - local msg="ewarn"
8196 -
8197 - [[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && msg="eerror"
8198 - if [[ -n ${CHECKREQS_FAILED} ]]; then
8199 - ${msg}
8200 - ${msg} "Space constrains set in the ebuild were not met!"
8201 - ${msg} "The build will most probably fail, you should enhance the space"
8202 - ${msg} "as per failed tests."
8203 - ${msg}
8204 -
8205 - [[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && \
8206 - die "Build requirements not met!"
8207 - fi
8208 -}
8209 -
8210 -# @FUNCTION: check-reqs_memory
8211 -# @DESCRIPTION:
8212 -# Internal function that checks size of RAM.
8213 -check-reqs_memory() {
8214 - debug-print-function ${FUNCNAME} "$@"
8215 -
8216 - [[ -z ${1} ]] && die "Usage: ${FUNCNAME} [size]"
8217 -
8218 - local size=${1}
8219 - local actual_memory
8220 -
8221 - check-reqs_start_phase \
8222 - ${size} \
8223 - "RAM"
8224 -
8225 - if [[ -r /proc/meminfo ]] ; then
8226 - actual_memory=$(awk '/MemTotal/ { print $2 }' /proc/meminfo)
8227 - else
8228 - actual_memory=$(sysctl hw.physmem 2>/dev/null )
8229 - [[ "$?" == "0" ]] &&
8230 - actual_memory=$(echo $actual_memory | sed -e 's/^[^:=]*[:=]//' )
8231 - fi
8232 - if [[ -n ${actual_memory} ]] ; then
8233 - if [[ ${actual_memory} -lt $((1024 * $(check-reqs_get_mebibytes ${size}))) ]] ; then
8234 - eend 1
8235 - check-reqs_unsatisfied \
8236 - ${size} \
8237 - "RAM"
8238 - else
8239 - eend 0
8240 - fi
8241 - else
8242 - eend 1
8243 - ewarn "Couldn't determine amount of memory, skipping..."
8244 - fi
8245 -}
8246 -
8247 -# @FUNCTION: check-reqs_disk
8248 -# @DESCRIPTION:
8249 -# Internal function that checks space on the harddrive.
8250 -check-reqs_disk() {
8251 - debug-print-function ${FUNCNAME} "$@"
8252 -
8253 - [[ -z ${2} ]] && die "Usage: ${FUNCNAME} [path] [size]"
8254 -
8255 - local path=${1}
8256 - local size=${2}
8257 - local space_megs
8258 -
8259 - check-reqs_start_phase \
8260 - ${size} \
8261 - "disk space at \"${path}\""
8262 -
8263 - space_megs=$(df -Pm "${1}" 2>/dev/null | awk 'FNR == 2 {print $4}')
8264 -
8265 - if [[ $? == 0 && -n ${space_megs} ]] ; then
8266 - if [[ ${space_megs} -lt $(check-reqs_get_mebibytes ${size}) ]] ; then
8267 - eend 1
8268 - check-reqs_unsatisfied \
8269 - ${size} \
8270 - "disk space at \"${path}\""
8271 - else
8272 - eend 0
8273 - fi
8274 - else
8275 - eend 1
8276 - ewarn "Couldn't determine disk space, skipping..."
8277 - fi
8278 -}
8279 -
8280 -# @FUNCTION: check-reqs_start_phase
8281 -# @DESCRIPTION:
8282 -# Internal function that inform about started check
8283 -check-reqs_start_phase() {
8284 - debug-print-function ${FUNCNAME} "$@"
8285 -
8286 - [[ -z ${2} ]] && die "Usage: ${FUNCNAME} [size] [location]"
8287 -
8288 - local size=${1}
8289 - local location=${2}
8290 - local sizeunit="$(check-reqs_get_number ${size}) $(check-reqs_get_unit ${size})"
8291 -
8292 - ebegin "Checking for at least ${sizeunit} ${location}"
8293 -}
8294 -
8295 -# @FUNCTION: check-reqs_unsatisfied
8296 -# @DESCRIPTION:
8297 -# Internal function that inform about check result.
8298 -# It has different output between pretend and setup phase,
8299 -# where in pretend phase it is fatal.
8300 -check-reqs_unsatisfied() {
8301 - debug-print-function ${FUNCNAME} "$@"
8302 -
8303 - [[ -z ${2} ]] && die "Usage: ${FUNCNAME} [size] [location]"
8304 -
8305 - local msg="ewarn"
8306 - local size=${1}
8307 - local location=${2}
8308 - local sizeunit="$(check-reqs_get_number ${size}) $(check-reqs_get_unit ${size})"
8309 -
8310 - [[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && msg="eerror"
8311 - ${msg} "There is NOT at least ${sizeunit} ${location}"
8312 -
8313 - # @ECLASS-VARIABLE: CHECKREQS_FAILED
8314 - # @DESCRIPTION:
8315 - # @INTERNAL
8316 - # If set the checks failed and eclass should abort the build.
8317 - # Internal, do not set yourself.
8318 - CHECKREQS_FAILED="true"
8319 -}
8320 -
8321
8322 diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
8323 deleted file mode 100644
8324 index e265e42..0000000
8325 --- a/eclass/cmake-utils.eclass
8326 +++ /dev/null
8327 @@ -1,529 +0,0 @@
8328 -# Copyright 1999-2012 Gentoo Foundation
8329 -# Distributed under the terms of the GNU General Public License v2
8330 -# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.81 2012/09/20 10:32:40 kensington Exp $
8331 -
8332 -# @ECLASS: cmake-utils.eclass
8333 -# @MAINTAINER:
8334 -# kde@g.o
8335 -# @AUTHOR:
8336 -# Tomáš Chvátal <scarabeus@g.o>
8337 -# Maciej Mrozowski <reavertm@g.o>
8338 -# (undisclosed contributors)
8339 -# Original author: Zephyrus (zephyrus@××××××.it)
8340 -# @BLURB: common ebuild functions for cmake-based packages
8341 -# @DESCRIPTION:
8342 -# The cmake-utils eclass is base.eclass(5) wrapper that makes creating ebuilds for
8343 -# cmake-based packages much easier.
8344 -# It provides all inherited features (DOCS, HTML_DOCS, PATCHES) along with out-of-source
8345 -# builds (default), in-source builds and an implementation of the well-known use_enable
8346 -# and use_with functions for CMake.
8347 -
8348 -# @ECLASS-VARIABLE: WANT_CMAKE
8349 -# @DESCRIPTION:
8350 -# Specify if cmake-utils eclass should depend on cmake optionaly or not.
8351 -# This is usefull when only part of aplication is using cmake build system.
8352 -# Valid values are: always [default], optional (where the value is the useflag
8353 -# used for optionality)
8354 -WANT_CMAKE="${WANT_CMAKE:-always}"
8355 -
8356 -# @ECLASS-VARIABLE: CMAKE_MIN_VERSION
8357 -# @DESCRIPTION:
8358 -# Specify the minimum required CMake version. Default is 2.8.4
8359 -CMAKE_MIN_VERSION="${CMAKE_MIN_VERSION:-2.8.4}"
8360 -
8361 -# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES_LIST
8362 -# @DESCRIPTION:
8363 -# Space-separated list of CMake modules that will be removed in $S during src_prepare,
8364 -# in order to force packages to use the system version.
8365 -CMAKE_REMOVE_MODULES_LIST="${CMAKE_REMOVE_MODULES_LIST:-FindBLAS FindLAPACK}"
8366 -
8367 -# @ECLASS-VARIABLE: CMAKE_REMOVE_MODULES
8368 -# @DESCRIPTION:
8369 -# Do we want to remove anything? yes or whatever else for no
8370 -CMAKE_REMOVE_MODULES="${CMAKE_REMOVE_MODULES:-yes}"
8371 -
8372 -# @ECLASS-VARIABLE: CMAKE_MAKEFILE_GENERATOR
8373 -# @DESCRIPTION:
8374 -# Specify a makefile generator to be used by cmake. At this point only "make"
8375 -# and "ninja" is supported.
8376 -CMAKE_MAKEFILE_GENERATOR="${CMAKE_MAKEFILE_GENERATOR:-make}"
8377 -
8378 -CMAKEDEPEND=""
8379 -case ${WANT_CMAKE} in
8380 - always)
8381 - ;;
8382 - *)
8383 - IUSE+=" ${WANT_CMAKE}"
8384 - CMAKEDEPEND+="${WANT_CMAKE}? ( "
8385 - ;;
8386 -esac
8387 -inherit toolchain-funcs multilib flag-o-matic base
8388 -
8389 -CMAKE_EXPF="src_compile src_test src_install"
8390 -case ${EAPI:-0} in
8391 - 4|5|3|2) CMAKE_EXPF+=" src_configure" ;;
8392 - 1|0) ;;
8393 - *) die "Unknown EAPI, Bug eclass maintainers." ;;
8394 -esac
8395 -EXPORT_FUNCTIONS ${CMAKE_EXPF}
8396 -
8397 -if [[ ${PN} != cmake ]]; then
8398 - CMAKEDEPEND+=" >=dev-util/cmake-${CMAKE_MIN_VERSION}"
8399 -fi
8400 -
8401 -CMAKEDEPEND+=" userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
8402 -
8403 -[[ ${WANT_CMAKE} = always ]] || CMAKEDEPEND+=" )"
8404 -
8405 -DEPEND="${CMAKEDEPEND}"
8406 -unset CMAKEDEPEND
8407 -
8408 -# Internal functions used by cmake-utils_use_*
8409 -_use_me_now() {
8410 - debug-print-function ${FUNCNAME} "$@"
8411 -
8412 - local uper capitalised x
8413 - [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]"
8414 - if [[ ! -z $3 ]]; then
8415 - # user specified the use name so use it
8416 - echo "-D$1$3=$(use $2 && echo ON || echo OFF)"
8417 - else
8418 - # use all various most used combinations
8419 - uper=$(echo ${2} | tr '[:lower:]' '[:upper:]')
8420 - capitalised=$(echo ${2} | sed 's/\<\(.\)\([^ ]*\)/\u\1\L\2/g')
8421 - for x in $2 $uper $capitalised; do
8422 - echo "-D$1$x=$(use $2 && echo ON || echo OFF) "
8423 - done
8424 - fi
8425 -}
8426 -_use_me_now_inverted() {
8427 - debug-print-function ${FUNCNAME} "$@"
8428 -
8429 - local uper capitalised x
8430 - [[ -z $2 ]] && die "cmake-utils_use-$1 <USE flag> [<flag name>]"
8431 - if [[ ! -z $3 ]]; then
8432 - # user specified the use name so use it
8433 - echo "-D$1$3=$(use $2 && echo OFF || echo ON)"
8434 - else
8435 - # use all various most used combinations
8436 - uper=$(echo ${2} | tr '[:lower:]' '[:upper:]')
8437 - capitalised=$(echo ${2} | sed 's/\<\(.\)\([^ ]*\)/\u\1\L\2/g')
8438 - for x in $2 $uper $capitalised; do
8439 - echo "-D$1$x=$(use $2 && echo OFF || echo ON) "
8440 - done
8441 - fi
8442 -}
8443 -
8444 -# @ECLASS-VARIABLE: CMAKE_BUILD_DIR
8445 -# @DESCRIPTION:
8446 -# Build directory where all cmake processed files should be generated.
8447 -# For in-source build it's fixed to ${CMAKE_USE_DIR}.
8448 -# For out-of-source build it can be overriden, by default it uses
8449 -# ${WORKDIR}/${P}_build.
8450 -
8451 -# @ECLASS-VARIABLE: CMAKE_BUILD_TYPE
8452 -# @DESCRIPTION:
8453 -# Set to override default CMAKE_BUILD_TYPE. Only useful for packages
8454 -# known to make use of "if (CMAKE_BUILD_TYPE MATCHES xxx)".
8455 -# If about to be set - needs to be set before invoking cmake-utils_src_configure.
8456 -# You usualy do *NOT* want nor need to set it as it pulls CMake default build-type
8457 -# specific compiler flags overriding make.conf.
8458 -: ${CMAKE_BUILD_TYPE:=Gentoo}
8459 -
8460 -# @ECLASS-VARIABLE: CMAKE_IN_SOURCE_BUILD
8461 -# @DESCRIPTION:
8462 -# Set to enable in-source build.
8463 -
8464 -# @ECLASS-VARIABLE: CMAKE_USE_DIR
8465 -# @DESCRIPTION:
8466 -# Sets the directory where we are working with cmake.
8467 -# For example when application uses autotools and only one
8468 -# plugin needs to be done by cmake.
8469 -# By default it uses ${S}.
8470 -
8471 -# @ECLASS-VARIABLE: CMAKE_VERBOSE
8472 -# @DESCRIPTION:
8473 -# Set to OFF to disable verbose messages during compilation
8474 -: ${CMAKE_VERBOSE:=ON}
8475 -
8476 -# @ECLASS-VARIABLE: PREFIX
8477 -# @DESCRIPTION:
8478 -# Eclass respects PREFIX variable, though it's not recommended way to set
8479 -# install/lib/bin prefixes.
8480 -# Use -DCMAKE_INSTALL_PREFIX=... CMake variable instead.
8481 -: ${PREFIX:=/usr}
8482 -
8483 -# @ECLASS-VARIABLE: CMAKE_BINARY
8484 -# @DESCRIPTION:
8485 -# Eclass can use different cmake binary than the one provided in by system.
8486 -: ${CMAKE_BINARY:=cmake}
8487 -
8488 -# Determine using IN or OUT source build
8489 -_check_build_dir() {
8490 - : ${CMAKE_USE_DIR:=${S}}
8491 - if [[ -n ${CMAKE_IN_SOURCE_BUILD} ]]; then
8492 - # we build in source dir
8493 - CMAKE_BUILD_DIR="${CMAKE_USE_DIR}"
8494 - else
8495 - : ${CMAKE_BUILD_DIR:=${WORKDIR}/${P}_build}
8496 - fi
8497 - mkdir -p "${CMAKE_BUILD_DIR}"
8498 - echo ">>> Working in BUILD_DIR: \"$CMAKE_BUILD_DIR\""
8499 -}
8500 -
8501 -# Determine which generator to use
8502 -_generator_to_use() {
8503 - if [[ ${CMAKE_MAKEFILE_GENERATOR} = "ninja" ]]; then
8504 - has_version dev-util/ninja && echo "Ninja" && return
8505 - fi
8506 - echo "Unix Makefiles"
8507 -}
8508 -
8509 -# @FUNCTION: cmake-utils_use_with
8510 -# @USAGE: <USE flag> [flag name]
8511 -# @DESCRIPTION:
8512 -# Based on use_with. See ebuild(5).
8513 -#
8514 -# `cmake-utils_use_with foo FOO` echoes -DWITH_FOO=ON if foo is enabled
8515 -# and -DWITH_FOO=OFF if it is disabled.
8516 -cmake-utils_use_with() { _use_me_now WITH_ "$@" ; }
8517 -
8518 -# @FUNCTION: cmake-utils_use_enable
8519 -# @USAGE: <USE flag> [flag name]
8520 -# @DESCRIPTION:
8521 -# Based on use_enable. See ebuild(5).
8522 -#
8523 -# `cmake-utils_use_enable foo FOO` echoes -DENABLE_FOO=ON if foo is enabled
8524 -# and -DENABLE_FOO=OFF if it is disabled.
8525 -cmake-utils_use_enable() { _use_me_now ENABLE_ "$@" ; }
8526 -
8527 -# @FUNCTION: cmake-utils_use_disable
8528 -# @USAGE: <USE flag> [flag name]
8529 -# @DESCRIPTION:
8530 -# Based on inversion of use_enable. See ebuild(5).
8531 -#
8532 -# `cmake-utils_use_enable foo FOO` echoes -DDISABLE_FOO=OFF if foo is enabled
8533 -# and -DDISABLE_FOO=ON if it is disabled.
8534 -cmake-utils_use_disable() { _use_me_now_inverted DISABLE_ "$@" ; }
8535 -
8536 -# @FUNCTION: cmake-utils_use_no
8537 -# @USAGE: <USE flag> [flag name]
8538 -# @DESCRIPTION:
8539 -# Based on use_disable. See ebuild(5).
8540 -#
8541 -# `cmake-utils_use_no foo FOO` echoes -DNO_FOO=OFF if foo is enabled
8542 -# and -DNO_FOO=ON if it is disabled.
8543 -cmake-utils_use_no() { _use_me_now_inverted NO_ "$@" ; }
8544 -
8545 -# @FUNCTION: cmake-utils_use_want
8546 -# @USAGE: <USE flag> [flag name]
8547 -# @DESCRIPTION:
8548 -# Based on use_enable. See ebuild(5).
8549 -#
8550 -# `cmake-utils_use_want foo FOO` echoes -DWANT_FOO=ON if foo is enabled
8551 -# and -DWANT_FOO=OFF if it is disabled.
8552 -cmake-utils_use_want() { _use_me_now WANT_ "$@" ; }
8553 -
8554 -# @FUNCTION: cmake-utils_use_build
8555 -# @USAGE: <USE flag> [flag name]
8556 -# @DESCRIPTION:
8557 -# Based on use_enable. See ebuild(5).
8558 -#
8559 -# `cmake-utils_use_build foo FOO` echoes -DBUILD_FOO=ON if foo is enabled
8560 -# and -DBUILD_FOO=OFF if it is disabled.
8561 -cmake-utils_use_build() { _use_me_now BUILD_ "$@" ; }
8562 -
8563 -# @FUNCTION: cmake-utils_use_has
8564 -# @USAGE: <USE flag> [flag name]
8565 -# @DESCRIPTION:
8566 -# Based on use_enable. See ebuild(5).
8567 -#
8568 -# `cmake-utils_use_has foo FOO` echoes -DHAVE_FOO=ON if foo is enabled
8569 -# and -DHAVE_FOO=OFF if it is disabled.
8570 -cmake-utils_use_has() { _use_me_now HAVE_ "$@" ; }
8571 -
8572 -# @FUNCTION: cmake-utils_use_use
8573 -# @USAGE: <USE flag> [flag name]
8574 -# @DESCRIPTION:
8575 -# Based on use_enable. See ebuild(5).
8576 -#
8577 -# `cmake-utils_use_use foo FOO` echoes -DUSE_FOO=ON if foo is enabled
8578 -# and -DUSE_FOO=OFF if it is disabled.
8579 -cmake-utils_use_use() { _use_me_now USE_ "$@" ; }
8580 -
8581 -# @FUNCTION: cmake-utils_use
8582 -# @USAGE: <USE flag> [flag name]
8583 -# @DESCRIPTION:
8584 -# Based on use_enable. See ebuild(5).
8585 -#
8586 -# `cmake-utils_use foo FOO` echoes -DFOO=ON if foo is enabled
8587 -# and -DFOO=OFF if it is disabled.
8588 -cmake-utils_use() { _use_me_now "" "$@" ; }
8589 -
8590 -# Internal function for modifying hardcoded definitions.
8591 -# Removes dangerous definitions that override Gentoo settings.
8592 -_modify-cmakelists() {
8593 - debug-print-function ${FUNCNAME} "$@"
8594 -
8595 - # Only edit the files once
8596 - grep -qs "<<< Gentoo configuration >>>" CMakeLists.txt && return 0
8597 -
8598 - # Comment out all set (<some_should_be_user_defined_variable> value)
8599 - # TODO Add QA checker - inform when variable being checked for below is set in CMakeLists.txt
8600 - find "${CMAKE_USE_DIR}" -name CMakeLists.txt \
8601 - -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_BUILD_TYPE.*)/{s/^/#IGNORE /g}' {} + \
8602 - -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_COLOR_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + \
8603 - -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_INSTALL_PREFIX.*)/{s/^/#IGNORE /g}' {} + \
8604 - -exec sed -i -e '/^[[:space:]]*[sS][eE][tT][[:space:]]*([[:space:]]*CMAKE_VERBOSE_MAKEFILE.*)/{s/^/#IGNORE /g}' {} + \
8605 - || die "${LINENO}: failed to disable hardcoded settings"
8606 -
8607 - # NOTE Append some useful summary here
8608 - cat >> "${CMAKE_USE_DIR}"/CMakeLists.txt <<- _EOF_
8609 -
8610 - MESSAGE(STATUS "<<< Gentoo configuration >>>
8611 - Build type \${CMAKE_BUILD_TYPE}
8612 - Install path \${CMAKE_INSTALL_PREFIX}
8613 - Compiler flags:
8614 - C \${CMAKE_C_FLAGS}
8615 - C++ \${CMAKE_CXX_FLAGS}
8616 - Linker flags:
8617 - Executable \${CMAKE_EXE_LINKER_FLAGS}
8618 - Module \${CMAKE_MODULE_LINKER_FLAGS}
8619 - Shared \${CMAKE_SHARED_LINKER_FLAGS}\n")
8620 - _EOF_
8621 -}
8622 -
8623 -enable_cmake-utils_src_configure() {
8624 - debug-print-function ${FUNCNAME} "$@"
8625 -
8626 - [[ "${CMAKE_REMOVE_MODULES}" == "yes" ]] && {
8627 - local name
8628 - for name in ${CMAKE_REMOVE_MODULES_LIST} ; do
8629 - find "${S}" -name ${name}.cmake -exec rm -v {} +
8630 - done
8631 - }
8632 -
8633 - _check_build_dir
8634 -
8635 - # check if CMakeLists.txt exist and if no then die
8636 - if [[ ! -e ${CMAKE_USE_DIR}/CMakeLists.txt ]] ; then
8637 - eerror "Unable to locate CMakeLists.txt under:"
8638 - eerror "\"${CMAKE_USE_DIR}/CMakeLists.txt\""
8639 - eerror "Consider not inheriting the cmake eclass."
8640 - die "FATAL: Unable to find CMakeLists.txt"
8641 - fi
8642 -
8643 - # Remove dangerous things.
8644 - _modify-cmakelists
8645 -
8646 - # Fix xdg collision with sandbox
8647 - export XDG_CONFIG_HOME="${T}"
8648 -
8649 - # @SEE CMAKE_BUILD_TYPE
8650 - if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
8651 - # Handle release builds
8652 - if ! has debug ${IUSE//+} || ! use debug; then
8653 - append-cppflags -DNDEBUG
8654 - fi
8655 - fi
8656 -
8657 - # Prepare Gentoo override rules (set valid compiler, append CPPFLAGS)
8658 - local build_rules=${CMAKE_BUILD_DIR}/gentoo_rules.cmake
8659 - cat > "${build_rules}" <<- _EOF_
8660 - SET (CMAKE_C_COMPILER $(type -P $(tc-getCC)) CACHE FILEPATH "C compiler" FORCE)
8661 - SET (CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "C compile command" FORCE)
8662 - SET (CMAKE_CXX_COMPILER $(type -P $(tc-getCXX)) CACHE FILEPATH "C++ compiler" FORCE)
8663 - SET (CMAKE_CXX_COMPILE_OBJECT "<CMAKE_CXX_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS> -o <OBJECT> -c <SOURCE>" CACHE STRING "C++ compile command" FORCE)
8664 - _EOF_
8665 -
8666 - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
8667 -
8668 - if [[ ${EPREFIX} ]]; then
8669 - cat >> "${build_rules}" <<- _EOF_
8670 - # in Prefix we need rpath and must ensure cmake gets our default linker path
8671 - # right ... except for Darwin hosts
8672 - IF (NOT APPLE)
8673 - SET (CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE)
8674 - SET (CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)"
8675 - CACHE STRING "" FORCE)
8676 -
8677 - ELSE ()
8678 -
8679 - SET(CMAKE_PREFIX_PATH "${EPREFIX}${PREFIX}" CACHE STRING ""FORCE)
8680 - SET(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE)
8681 - SET(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE)
8682 - SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE CACHE BOOL "")
8683 - SET(CMAKE_INSTALL_RPATH "${EPREFIX}${PREFIX}/lib;${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE)
8684 - SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE)
8685 - SET(CMAKE_INSTALL_NAME_DIR "${EPREFIX}${PREFIX}/lib" CACHE STRING "" FORCE)
8686 -
8687 - ENDIF (NOT APPLE)
8688 - _EOF_
8689 - fi
8690 -
8691 - # Common configure parameters (invariants)
8692 - local common_config=${CMAKE_BUILD_DIR}/gentoo_common_config.cmake
8693 - local libdir=$(get_libdir)
8694 - cat > "${common_config}" <<- _EOF_
8695 - SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE)
8696 - SET (CMAKE_INSTALL_LIBDIR ${libdir} CACHE PATH "Output directory for libraries")
8697 - _EOF_
8698 - [[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]] && echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}"
8699 -
8700 - # Convert mycmakeargs to an array, for backwards compatibility
8701 - # Make the array a local variable since <=portage-2.1.6.x does not
8702 - # support global arrays (see bug #297255).
8703 - if [[ $(declare -p mycmakeargs 2>&-) != "declare -a mycmakeargs="* ]]; then
8704 - local mycmakeargs_local=(${mycmakeargs})
8705 - else
8706 - local mycmakeargs_local=("${mycmakeargs[@]}")
8707 - fi
8708 -
8709 - # Common configure parameters (overridable)
8710 - # NOTE CMAKE_BUILD_TYPE can be only overriden via CMAKE_BUILD_TYPE eclass variable
8711 - # No -DCMAKE_BUILD_TYPE=xxx definitions will be in effect.
8712 - local cmakeargs=(
8713 - --no-warn-unused-cli
8714 - -C "${common_config}"
8715 - -G "$(_generator_to_use)"
8716 - -DCMAKE_INSTALL_PREFIX="${EPREFIX}${PREFIX}"
8717 - "${mycmakeargs_local[@]}"
8718 - -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}"
8719 - -DCMAKE_INSTALL_DO_STRIP=OFF
8720 - -DCMAKE_USER_MAKE_RULES_OVERRIDE="${build_rules}"
8721 - "${MYCMAKEARGS}"
8722 - )
8723 -
8724 - pushd "${CMAKE_BUILD_DIR}" > /dev/null
8725 - debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: mycmakeargs is ${mycmakeargs_local[*]}"
8726 - echo "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}"
8727 - "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"
8728 - popd > /dev/null
8729 -}
8730 -
8731 -enable_cmake-utils_src_compile() {
8732 - debug-print-function ${FUNCNAME} "$@"
8733 -
8734 - has src_configure ${CMAKE_EXPF} || cmake-utils_src_configure
8735 - cmake-utils_src_make "$@"
8736 -}
8737 -
8738 -# @FUNCTION: cmake-utils_src_make
8739 -# @DESCRIPTION:
8740 -# Function for building the package. Automatically detects the build type.
8741 -# All arguments are passed to emake.
8742 -cmake-utils_src_make() {
8743 - debug-print-function ${FUNCNAME} "$@"
8744 -
8745 - _check_build_dir
8746 - pushd "${CMAKE_BUILD_DIR}" > /dev/null
8747 - if [[ $(_generator_to_use) = Ninja ]]; then
8748 - # first check if Makefile exist otherwise die
8749 - [[ -e build.ninja ]] || die "Makefile not found. Error during configure stage."
8750 - if [[ "${CMAKE_VERBOSE}" != "OFF" ]]; then
8751 - #TODO get load average from portage (-l option)
8752 - ninja ${MAKEOPTS} -v "$@"
8753 - else
8754 - ninja "$@"
8755 - fi || die "ninja failed!"
8756 - else
8757 - # first check if Makefile exist otherwise die
8758 - [[ -e Makefile ]] || die "Makefile not found. Error during configure stage."
8759 - if [[ "${CMAKE_VERBOSE}" != "OFF" ]]; then
8760 - emake VERBOSE=1 "$@" || die "Make failed!"
8761 - else
8762 - emake "$@" || die "Make failed!"
8763 - fi
8764 - fi
8765 - popd > /dev/null
8766 -}
8767 -
8768 -enable_cmake-utils_src_install() {
8769 - debug-print-function ${FUNCNAME} "$@"
8770 -
8771 - _check_build_dir
8772 - pushd "${CMAKE_BUILD_DIR}" > /dev/null
8773 - if [[ $(_generator_to_use) = Ninja ]]; then
8774 - DESTDIR=${D} ninja install "$@" || die "died running ninja install"
8775 - base_src_install_docs
8776 - else
8777 - base_src_install "$@"
8778 - fi
8779 - popd > /dev/null
8780 -
8781 - # Backward compatibility, for non-array variables
8782 - if [[ -n "${DOCS}" ]] && [[ "$(declare -p DOCS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
8783 - dodoc ${DOCS} || die "dodoc failed"
8784 - fi
8785 - if [[ -n "${HTML_DOCS}" ]] && [[ "$(declare -p HTML_DOCS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
8786 - dohtml -r ${HTML_DOCS} || die "dohtml failed"
8787 - fi
8788 -}
8789 -
8790 -enable_cmake-utils_src_test() {
8791 - debug-print-function ${FUNCNAME} "$@"
8792 - local ctestargs
8793 -
8794 - _check_build_dir
8795 - pushd "${CMAKE_BUILD_DIR}" > /dev/null
8796 - [[ -e CTestTestfile.cmake ]] || { echo "No tests found. Skipping."; return 0 ; }
8797 -
8798 - [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
8799 -
8800 - if ctest ${ctestargs} "$@" ; then
8801 - einfo "Tests succeeded."
8802 - else
8803 - if [[ -n "${CMAKE_YES_I_WANT_TO_SEE_THE_TEST_LOG}" ]] ; then
8804 - # on request from Diego
8805 - eerror "Tests failed. Test log ${CMAKE_BUILD_DIR}/Testing/Temporary/LastTest.log follows:"
8806 - eerror "--START TEST LOG--------------------------------------------------------------"
8807 - cat "${CMAKE_BUILD_DIR}/Testing/Temporary/LastTest.log"
8808 - eerror "--END TEST LOG----------------------------------------------------------------"
8809 - die "Tests failed."
8810 - else
8811 - die "Tests failed. When you file a bug, please attach the following file: \n\t${CMAKE_BUILD_DIR}/Testing/Temporary/LastTest.log"
8812 - fi
8813 - fi
8814 - popd > /dev/null
8815 -}
8816 -
8817 -# @FUNCTION: cmake-utils_src_configure
8818 -# @DESCRIPTION:
8819 -# General function for configuring with cmake. Default behaviour is to start an
8820 -# out-of-source build.
8821 -cmake-utils_src_configure() {
8822 - _execute_optionaly "src_configure" "$@"
8823 -}
8824 -
8825 -# @FUNCTION: cmake-utils_src_compile
8826 -# @DESCRIPTION:
8827 -# General function for compiling with cmake. Default behaviour is to check for
8828 -# EAPI and respectively to configure as well or just compile.
8829 -# Automatically detects the build type. All arguments are passed to emake.
8830 -cmake-utils_src_compile() {
8831 - _execute_optionaly "src_compile" "$@"
8832 -}
8833 -
8834 -# @FUNCTION: cmake-utils_src_install
8835 -# @DESCRIPTION:
8836 -# Function for installing the package. Automatically detects the build type.
8837 -cmake-utils_src_install() {
8838 - _execute_optionaly "src_install" "$@"
8839 -}
8840 -
8841 -# @FUNCTION: cmake-utils_src_test
8842 -# @DESCRIPTION:
8843 -# Function for testing the package. Automatically detects the build type.
8844 -cmake-utils_src_test() {
8845 - _execute_optionaly "src_test" "$@"
8846 -}
8847 -
8848 -# Optionally executes phases based on WANT_CMAKE variable/USE flag.
8849 -_execute_optionaly() {
8850 - local phase="$1" ; shift
8851 - if [[ ${WANT_CMAKE} = always ]]; then
8852 - enable_cmake-utils_${phase} "$@"
8853 - else
8854 - use ${WANT_CMAKE} && enable_cmake-utils_${phase} "$@"
8855 - fi
8856 -}
8857
8858 diff --git a/eclass/emboss.eclass b/eclass/emboss.eclass
8859 deleted file mode 100644
8860 index c411d0a..0000000
8861 --- a/eclass/emboss.eclass
8862 +++ /dev/null
8863 @@ -1,132 +0,0 @@
8864 -# Copyright 1999-2011 Gentoo Foundation
8865 -# Distributed under the terms of the GNU General Public License v2
8866 -# $Header: /var/cvsroot/gentoo-x86/eclass/emboss.eclass,v 1.2 2011/08/22 04:46:31 vapier Exp $
8867 -
8868 -# @ECLASS: emboss.eclass
8869 -# @MAINTAINER:
8870 -# sci-biology@g.o
8871 -# jlec@g.o
8872 -# @AUTHOR:
8873 -# Original author: Author Olivier Fisette <ofisette@×××××.com>
8874 -# Next gen author: Justin Lecher <jlec@g.o>
8875 -# @BLURB: Use this to easy install EMBOSS and EMBASSY programs (EMBOSS add-ons).
8876 -# @DESCRIPTION:
8877 -# The inheriting ebuild must set EAPI=4 and provide EBO_DESCRIPTION before the inherit line.
8878 -# KEYWORDS should be set. Additionally "(R|P)DEPEND"encies and other standard
8879 -# ebuild variables can be extended (FOO+=" bar").
8880 -# Default installation of following DOCS="AUTHORS ChangeLog NEWS README"
8881 -#
8882 -# Example:
8883 -#
8884 -# EAPI="4"
8885 -#
8886 -# EBO_DESCRIPTION="applications from the CBS group"
8887 -#
8888 -# inherit emboss
8889 -
8890 -# @ECLASS-VARIABLE: EBO_DESCRIPTION
8891 -# @DESCRIPTION:
8892 -# Should be set. Completes the generic description of the embassy module as follows:
8893 -#
8894 -# EMBOSS integrated version of ${EBO_DESCRIPTION},
8895 -# e.g.
8896 -# "EMBOSS integrated version of applications from the CBS group"
8897 -#
8898 -# Defaults to the upstream name of the module.
8899 -
8900 -# @ECLASS-VARIABLE: EBO_EAUTORECONF
8901 -# @DESCRIPTION:
8902 -# Set to 'no', if you don't want eautoreconf to be run after patching.
8903 -: ${EBO_EAUTORECONF:=yes}
8904 -
8905 -# @ECLASS-VARIABLE: EBO_EXTRA_ECONF
8906 -# @DEFAULT_UNSET
8907 -# @DESCRIPTION:
8908 -# Extra config options passed to econf, similar to EXTRA_ECONF.
8909 -
8910 -case ${EAPI:-0} in
8911 - 4|5) ;;
8912 - *) die "this eclass doesn't support < EAPI 4" ;;
8913 -esac
8914 -
8915 -inherit autotools eutils
8916 -
8917 -HOMEPAGE="http://emboss.sourceforge.net/"
8918 -LICENSE="LGPL-2 GPL-2"
8919 -
8920 -SLOT="0"
8921 -IUSE="mysql pdf png postgres static-libs X"
8922 -
8923 -DEPEND="
8924 - dev-libs/expat
8925 - dev-libs/libpcre:3
8926 - sci-libs/plplot
8927 - sys-libs/zlib
8928 - mysql? ( dev-db/mysql )
8929 - pdf? ( media-libs/libharu )
8930 - png? ( media-libs/gd[png] )
8931 - postgres? ( dev-db/postgresql-base )
8932 - X? ( x11-libs/libXt )"
8933 -RDEPEND="${DEPEND}"
8934 -
8935 -if [[ ${PN} == embassy-* ]]; then
8936 - # The EMBASSY package name, retrieved from the inheriting ebuild's name
8937 - EN=${PN:8}
8938 - # The full name and version of the EMBASSY package (excluding the Gentoo
8939 - # revision number)
8940 - EF=$(echo ${EN} | tr "[:lower:]" "[:upper:]")-${PV}
8941 - : ${EBO_DESCRIPTION:=${EN}}
8942 - DESCRIPTION="EMBOSS integrated version of ${EBO_DESCRIPTION}"
8943 - SRC_URI="ftp://emboss.open-bio.org/pub/EMBOSS/${EF}.tar.gz -> embassy-${EN}-${PV}.tar.gz"
8944 - DEPEND+=" >=sci-biology/emboss-6.3.1_p4[mysql=,pdf=,png=,postgres=,static-libs=,X=]"
8945 -
8946 - S="${WORKDIR}"/${EF}
8947 -fi
8948 -
8949 -DOCS="AUTHORS ChangeLog NEWS README"
8950 -
8951 -# @FUNCTION: emboss_src_prepare
8952 -# @DESCRIPTION:
8953 -# Does following things
8954 -#
8955 -# 1. Patches with "${FILESDIR}"/${PF}.patch, if present
8956 -# 2. Runs eautoreconf, unless EBO_EAUTORECONF is set to no
8957 -#
8958 -
8959 -emboss_src_prepare() {
8960 - [[ -f ${FILESDIR}/${PF}.patch ]] && epatch "${FILESDIR}"/${PF}.patch
8961 - [[ ${EBO_EAUTORECONF} == yes ]] && eautoreconf
8962 -}
8963 -
8964 -# @FUNCTION: emboss_src_configure
8965 -# @DESCRIPTION:
8966 -# runs econf with following options.
8967 -#
8968 -# $(use_with X x)
8969 -# $(use_with png pngdriver)
8970 -# $(use_with pdf hpdf)
8971 -# $(use_with mysql mysql)
8972 -# $(use_with postgres postgresql)
8973 -# $(use_enable static-libs static)
8974 -# --enable-large
8975 -# --without-java
8976 -# --enable-systemlibs
8977 -# --docdir="${EPREFIX}/usr/share/doc/${PF}"
8978 -# ${EBO_EXTRA_ECONF}
8979 -
8980 -emboss_src_configure() {
8981 - econf \
8982 - $(use_with X x) \
8983 - $(use_with png pngdriver) \
8984 - $(use_with pdf hpdf) \
8985 - $(use_with mysql mysql) \
8986 - $(use_with postgres postgresql) \
8987 - $(use_enable static-libs static) \
8988 - --enable-large \
8989 - --without-java \
8990 - --enable-systemlibs \
8991 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
8992 - ${EBO_EXTRA_ECONF}
8993 -}
8994 -
8995 -EXPORT_FUNCTIONS src_prepare src_configure
8996
8997 diff --git a/eclass/emul-linux-x86.eclass b/eclass/emul-linux-x86.eclass
8998 deleted file mode 100644
8999 index 5458113..0000000
9000 --- a/eclass/emul-linux-x86.eclass
9001 +++ /dev/null
9002 @@ -1,77 +0,0 @@
9003 -# Copyright 1999-2011 Gentoo Foundation
9004 -# Distributed under the terms of the GNU General Public License v2
9005 -# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.10 2011/12/27 17:55:12 fauli Exp $
9006 -
9007 -#
9008 -# Original Author: Mike Doty <kingtaco@g.o>
9009 -# Adapted from emul-libs.eclass
9010 -# Purpose: Providing a template for the app-emulation/emul-linux-* packages
9011 -#
9012 -
9013 -inherit versionator
9014 -
9015 -if version_is_at_least 20110129; then
9016 - IUSE="development"
9017 -else
9018 - IUSE=""
9019 -fi
9020 -
9021 -case "${EAPI:-0}" in
9022 - 0|1)
9023 - EXPORT_FUNCTIONS src_unpack src_install
9024 - ;;
9025 - 2|3|4|5)
9026 - EXPORT_FUNCTIONS src_unpack src_prepare src_install
9027 - ;;
9028 - *) die "EAPI=${EAPI} is not supported" ;;
9029 -esac
9030 -
9031 -if version_is_at_least 20110722; then
9032 - SRC_URI="http://dev.gentoo.org/~pacho/emul/${P}.tar.xz"
9033 -else
9034 - if version_is_at_least 20110129; then
9035 - SRC_URI="http://dev.gentoo.org/~pacho/emul/${P}.tar.bz2"
9036 - else
9037 - SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2"
9038 - fi
9039 -fi
9040 -
9041 -DESCRIPTION="Provides precompiled 32bit libraries"
9042 -#HOMEPAGE="http://amd64.gentoo.org/emul/content.xml"
9043 -HOMEPAGE="http://dev.gentoo.org/~pacho/emul.html"
9044 -
9045 -RESTRICT="strip"
9046 -S=${WORKDIR}
9047 -
9048 -SLOT="0"
9049 -
9050 -DEPEND=">=sys-apps/findutils-4.2.26"
9051 -RDEPEND=""
9052 -
9053 -emul-linux-x86_src_unpack() {
9054 - unpack ${A}
9055 - cd "${S}"
9056 - has ${EAPI:-0} 0 1 && emul-linux-x86_src_prepare
9057 -}
9058 -
9059 -emul-linux-x86_src_prepare() {
9060 - ALLOWED=${ALLOWED:-^${S}/etc/env.d}
9061 - has development "${IUSE//+}" && use development && ALLOWED="${ALLOWED}|/usr/lib32/pkgconfig"
9062 - find "${S}" ! -type d ! -name '*.so*' | egrep -v "${ALLOWED}" | xargs -d $'\n' rm -f || die 'failed to remove everything but *.so*'
9063 -}
9064 -
9065 -emul-linux-x86_src_install() {
9066 - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
9067 - for dir in etc/env.d etc/revdep-rebuild ; do
9068 - if [[ -d "${S}"/${dir} ]] ; then
9069 - for f in "${S}"/${dir}/* ; do
9070 - mv -f "$f"{,-emul}
9071 - done
9072 - fi
9073 - done
9074 -
9075 - # remove void directories
9076 - find "${S}" -depth -type d -print0 | xargs -0 rmdir 2&>/dev/null
9077 -
9078 - cp -pPR "${S}"/* "${ED}"/ || die "copying files failed!"
9079 -}
9080
9081 diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
9082 deleted file mode 100644
9083 index ee2dc7d..0000000
9084 --- a/eclass/enlightenment.eclass
9085 +++ /dev/null
9086 @@ -1,171 +0,0 @@
9087 -# Copyright 1999-2011 Gentoo Foundation
9088 -# Distributed under the terms of the GNU General Public License v2
9089 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.93 2012/09/12 06:03:47 vapier Exp $
9090 -
9091 -# @ECLASS: enlightenment.eclass
9092 -# @MAINTAINER:
9093 -# enlightenment@g.o
9094 -# @BLURB: simplify enlightenment package management
9095 -
9096 -inherit eutils libtool
9097 -
9098 -# @ECLASS-VARIABLE: E_PYTHON
9099 -# @DEFAULT_UNSET
9100 -# @DESCRIPTION:
9101 -# if defined, the package is based on Python/distutils
9102 -
9103 -# @ECLASS-VARIABLE: E_CYTHON
9104 -# @DEFAULT_UNSET
9105 -# @DESCRIPTION:
9106 -# if defined, the package is Cython bindings (implies E_PYTHON)
9107 -
9108 -# E_STATE's:
9109 -# release [default]
9110 -# KEYWORDS arch
9111 -# SRC_URI $P.tar.gz
9112 -# S $WORKDIR/$P
9113 -#
9114 -# snap $PV has .200##### datestamp or .### counter
9115 -# KEYWORDS ~arch
9116 -# SRC_URI $P.tar.bz2
9117 -# S $WORKDIR/$P
9118 -#
9119 -# live $PV has a 9999 marker
9120 -# KEYWORDS ""
9121 -# SRC_URI svn/etc... up
9122 -# S $WORKDIR/$E_S_APPEND
9123 -#
9124 -# Overrides:
9125 -# KEYWORDS EKEY_STATE
9126 -# SRC_URI EURI_STATE
9127 -# S EURI_STATE
9128 -
9129 -E_LIVE_SERVER_DEFAULT_SVN="http://svn.enlightenment.org/svn/e/trunk"
9130 -
9131 -E_STATE="release"
9132 -if [[ ${PV} == *9999* ]] ; then
9133 - E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}
9134 - E_STATE="live"
9135 - WANT_AUTOTOOLS="yes"
9136 -
9137 - ESVN_URI_APPEND=${ESVN_URI_APPEND:-${PN}}
9138 - ESVN_PROJECT="enlightenment/${ESVN_SUB_PROJECT}"
9139 - ESVN_REPO_URI=${ESVN_SERVER:-${E_LIVE_SERVER_DEFAULT_SVN}}/${ESVN_SUB_PROJECT}/${ESVN_URI_APPEND}
9140 - E_S_APPEND=${ESVN_URI_APPEND}
9141 - E_LIVE_SOURCE="svn"
9142 - inherit subversion
9143 -elif [[ -n ${E_SNAP_DATE} ]] ; then
9144 - E_STATE="snap"
9145 -else
9146 - E_STATE="release"
9147 -fi
9148 -
9149 -# Parse requested python state
9150 -: ${E_PYTHON:=${E_CYTHON}}
9151 -if [[ -n ${E_PYTHON} ]] ; then
9152 - PYTHON_DEPEND="2:2.4"
9153 -
9154 - inherit python
9155 -fi
9156 -
9157 -if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
9158 - WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
9159 - WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
9160 - inherit autotools
9161 -fi
9162 -
9163 -ENLIGHTENMENT_EXPF="src_unpack src_compile src_install"
9164 -case "${EAPI:-0}" in
9165 - 2|3|4|5) ENLIGHTENMENT_EXPF+=" src_prepare src_configure" ;;
9166 - *) ;;
9167 -esac
9168 -EXPORT_FUNCTIONS ${ENLIGHTENMENT_EXPF}
9169 -
9170 -DESCRIPTION="A DR17 production"
9171 -HOMEPAGE="http://www.enlightenment.org/"
9172 -case ${EURI_STATE:-${E_STATE}} in
9173 - release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";;
9174 - snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";;
9175 - live) SRC_URI="";;
9176 -esac
9177 -
9178 -LICENSE="BSD"
9179 -SLOT="0"
9180 -case ${EKEY_STATE:-${E_STATE}} in
9181 - release) KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
9182 - snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-interix ~x86-solaris ~x64-solaris";;
9183 - live) KEYWORDS="";;
9184 -esac
9185 -IUSE="nls doc"
9186 -
9187 -DEPEND="doc? ( app-doc/doxygen )
9188 - ${E_PYTHON:+>=dev-python/setuptools-0.6_rc9}
9189 - ${E_CYTHON:+>=dev-python/cython-0.12.1}"
9190 -RDEPEND="nls? ( sys-devel/gettext )"
9191 -
9192 -case ${EURI_STATE:-${E_STATE}} in
9193 - release) S=${WORKDIR}/${P};;
9194 - snap) S=${WORKDIR}/${P};;
9195 - live) S=${WORKDIR}/${E_S_APPEND};;
9196 -esac
9197 -
9198 -enlightenment_src_unpack() {
9199 - if [[ ${E_STATE} == "live" ]] ; then
9200 - case ${E_LIVE_SOURCE} in
9201 - svn) subversion_src_unpack;;
9202 - *) die "eek!";;
9203 - esac
9204 - else
9205 - unpack ${A}
9206 - fi
9207 - has src_prepare ${ENLIGHTENMENT_EXPF} || enlightenment_src_prepare
9208 -}
9209 -
9210 -enlightenment_src_prepare() {
9211 - epatch_user
9212 - [[ -s gendoc ]] && chmod a+rx gendoc
9213 - if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
9214 - [[ -d po ]] && eautopoint -f
9215 - # autotools require README, when README.in is around, but README
9216 - # is created later in configure step
9217 - [[ -f README.in ]] && touch README
9218 - export SVN_REPO_PATH=${ESVN_WC_PATH}
9219 - eautoreconf
9220 - fi
9221 - epunt_cxx
9222 - elibtoolize
9223 -}
9224 -
9225 -enlightenment_src_configure() {
9226 - # gstreamer sucks, work around it doing stupid stuff
9227 - export GST_REGISTRY="${S}/registry.xml"
9228 - has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)"
9229 -
9230 - econf ${MY_ECONF}
9231 -}
9232 -
9233 -enlightenment_src_compile() {
9234 - has src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
9235 -
9236 - emake || die
9237 -
9238 - if use doc ; then
9239 - if [[ -x ./gendoc ]] ; then
9240 - ./gendoc || die
9241 - elif emake -j1 -n doc >&/dev/null ; then
9242 - emake doc || die
9243 - fi
9244 - fi
9245 -}
9246 -
9247 -enlightenment_src_install() {
9248 - emake install DESTDIR="${D}" || die
9249 - find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
9250 - for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do
9251 - [[ -f ${d} ]] && dodoc ${d}
9252 - done
9253 - use doc && [[ -d doc ]] && dohtml -r doc/*
9254 - if has static-libs ${IUSE} ; then
9255 - use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
9256 - fi
9257 -}
9258
9259 diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
9260 deleted file mode 100644
9261 index 817d1b1..0000000
9262 --- a/eclass/fortran-2.eclass
9263 +++ /dev/null
9264 @@ -1,154 +0,0 @@
9265 -# Copyright 1999-2011 Gentoo Foundation
9266 -# Distributed under the terms of the GNU General Public License v2
9267 -# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.5 2011/08/22 04:46:31 vapier Exp $
9268 -
9269 -# @ECLASS: fortran-2.eclass
9270 -# @MAINTAINER:
9271 -# jlec@g.o
9272 -# sci@g.o
9273 -# @AUTHOR:
9274 -# Author Justin Lecher <jlec@g.o>
9275 -# Test functions provided by Sebastien Fabbro and Kacper Kowalik
9276 -# @BLURB: Simplify fortran compiler management
9277 -# @DESCRIPTION:
9278 -# If you need a fortran compiler, then you should be inheriting this eclass and
9279 -# adding virtual/fortran to your dependencies.
9280 -# The eclass tests for working fortran compilers
9281 -# and exports the variables FC and F77.
9282 -# Optionally, it checks for extended capabilities based on
9283 -# the variable options selected in the ebuild
9284 -# The only phase function exported is fortran-2_pkg_setup.
9285 -
9286 -# @ECLASS-VARIABLE: FORTRAN_NEED_OPENMP
9287 -# @DESCRIPTION:
9288 -# Set to "1" in order to automatically have the eclass abort if the fortran
9289 -# compiler lacks openmp support.
9290 -: ${FORTRAN_NEED_OPENMP:=0}
9291 -
9292 -# @ECLASS-VARIABLE: FORTRAN_STANDARD
9293 -# @DESCRIPTION:
9294 -# Set this, if a special dialect needs to be supported.
9295 -# Generally not needed as default is sufficient.
9296 -#
9297 -# Valid settings are any combination of: 77 90 95 2003
9298 -: ${FORTRAN_STANDARD:=77}
9299 -
9300 -inherit toolchain-funcs
9301 -
9302 -# @FUNCTION: _write_testsuite
9303 -# @INTERNAL
9304 -# @DESCRIPTION:
9305 -# writes fortran test code
9306 -_write_testsuite() {
9307 - local filebase=${T}/test-fortran
9308 -
9309 - # f77 code
9310 - cat <<- EOF > "${filebase}.f"
9311 - end
9312 - EOF
9313 -
9314 - # f90/95 code
9315 - cat <<- EOF > "${filebase}.f90"
9316 - end
9317 - EOF
9318 -
9319 - # f2003 code
9320 - cat <<- EOF > "${filebase}.f03"
9321 - procedure(), pointer :: p
9322 - end
9323 - EOF
9324 -}
9325 -
9326 -# @FUNCTION: _compile_test
9327 -# @INTERNAL
9328 -# @DESCRIPTION:
9329 -# Takes fortran compiler as first argument and dialect as second.
9330 -# Checks whether the passed fortran compiler speaks the fortran dialect
9331 -_compile_test() {
9332 - local filebase=${T}/test-fortran
9333 - local fcomp=${1}
9334 - local fdia=${2}
9335 - local fcode=${filebase}.f${fdia}
9336 - local ret
9337 -
9338 - [[ $# -eq 0 ]] && die "_compile_test() needs at least one argument"
9339 -
9340 - [[ -f ${fcode} ]] || _write_testsuite
9341 -
9342 - ${fcomp} "${fcode}" -o "${fcode}.x" >&/dev/null
9343 - ret=$?
9344 -
9345 - rm -f "${fcode}.x"
9346 - return ${ret}
9347 -}
9348 -
9349 -# @FUNCTION: _fortran-has-openmp
9350 -# @INTERNAL
9351 -# @DESCRIPTION:
9352 -# See if the fortran supports OpenMP.
9353 -_fortran-has-openmp() {
9354 - local flag
9355 - local filebase=${T}/test-fc-openmp
9356 - local fcode=${filebase}.f
9357 - local ret
9358 - local _fc=$(tc-getFC)
9359 -
9360 - cat <<- EOF > "${fcode}"
9361 - call omp_get_num_threads
9362 - end
9363 - EOF
9364 -
9365 - for flag in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp; do
9366 - ${_fc} ${flag} "${fcode}" -o "${fcode}.x" >&/dev/null
9367 - ret=$?
9368 - (( ${ret} )) || break
9369 - done
9370 -
9371 - rm -f "${fcode}.x"
9372 - return ${ret}
9373 -}
9374 -
9375 -# @FUNCTION: _die_msg
9376 -# @INTERNAL
9377 -# @DESCRIPTION:
9378 -# Detailed description how to handle fortran support
9379 -_die_msg() {
9380 - echo
9381 - eerror "Please install currently selected gcc version with USE=fortran."
9382 - eerror "If you intend to use a different compiler then gfortran, please"
9383 - eerror "set FC variable accordingly and take care that the neccessary"
9384 - eerror "fortran dialects are support."
9385 - echo
9386 - die "Currently no working fortran compiler is available"
9387 -}
9388 -
9389 -# @FUNCTION: fortran-2_pkg_setup
9390 -# @DESCRIPTION:
9391 -# Setup functionallity, checks for a valid fortran compiler and optionally for its openmp support.
9392 -fortran-2_pkg_setup() {
9393 - local dialect
9394 -
9395 - : ${F77:=$(tc-getFC)}
9396 -
9397 - : ${FORTRAN_STANDARD:=77}
9398 - for dialect in ${FORTRAN_STANDARD}; do
9399 - case ${dialect} in
9400 - 77) _compile_test $(tc-getF77) || _die_msg ;;
9401 - 90|95) _compile_test $(tc-getFC) 90 || _die_msg ;;
9402 - 2003) _compile_test $(tc-getFC) 03 || _die_msg ;;
9403 - 2008) die "Future" ;;
9404 - *) die "${dialect} is not a Fortran dialect." ;;
9405 - esac
9406 - done
9407 -
9408 - if [[ ${FORTRAN_NEED_OPENMP} == 1 ]]; then
9409 - _fortran-has-openmp || \
9410 - die "Please install current gcc with USE=openmp or set the FC variable to a compiler that supports OpenMP"
9411 - fi
9412 - tc-export F77 FC
9413 -}
9414 -
9415 -case ${EAPI:-0} in
9416 - 0|1|2|3|4|5) EXPORT_FUNCTIONS pkg_setup ;;
9417 - *) die "EAPI=${EAPI} is not supported" ;;
9418 -esac
9419
9420 diff --git a/eclass/fox.eclass b/eclass/fox.eclass
9421 deleted file mode 100644
9422 index 07c28c2..0000000
9423 --- a/eclass/fox.eclass
9424 +++ /dev/null
9425 @@ -1,230 +0,0 @@
9426 -# Copyright 1999-2012 Gentoo Foundation
9427 -# Distributed under the terms of the GNU General Public License v2
9428 -# $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.16 2012/08/13 15:54:08 mabi Exp $
9429 -
9430 -# @ECLASS: fox.eclass
9431 -# @MAINTAINER:
9432 -# mabi@g.o
9433 -# @BLURB: Functionality required the FOX Toolkit and it's applications
9434 -# @DESCRIPTION:
9435 -# This eclass allows building SLOT-able FOX Toolkit installations
9436 -# (x11-libs/fox: headers, libs, and docs), which are by design
9437 -# parallel-installable, while installing only one version of the utils
9438 -# (dev-util/reswrap) and apps (app-editors/adie, sci-calculators/calculator,
9439 -# x11-misc/pathfinder, and x11-misc/shutterbug).
9440 -#
9441 -# Version numbering follows the kernel-style odd-even minor version
9442 -# designation. Even-number minor versions are API stable, which patch
9443 -# releases aimed mostly at the library; apps generally won't need to be
9444 -# bumped for a patch release.
9445 -#
9446 -# Odd-number versions are development branches with their own SLOT and
9447 -# are API unstable; changes are made to the apps, and likely need to be
9448 -# bumped together with the library.
9449 -#
9450 -# Here are sample [R]DEPENDs for the fox apps
9451 -# 1.6: 'x11-libs/fox:1.6'
9452 -# 1.7: '~x11-libs/fox-${PV}'
9453 -#
9454 -# EAPI phase trickery borrowed from enlightenment.eclass
9455 -
9456 -inherit autotools versionator
9457 -
9458 -
9459 -FOX_EXPF="src_unpack src_compile src_install pkg_postinst"
9460 -case "${EAPI:-0}" in
9461 - 2|3|4|5) FOX_EXPF+=" src_prepare src_configure" ;;
9462 - *) ;;
9463 -esac
9464 -EXPORT_FUNCTIONS ${FOX_EXPF}
9465 -
9466 -# @ECLASS-VARIABLE: FOX_PV
9467 -# @DESCRIPTION:
9468 -# The version of the FOX Toolkit provided or required by the package
9469 -: ${FOX_PV:=${PV}}
9470 -
9471 -# @ECLASS-VARIABLE: FOXVER
9472 -# @INTERNAL
9473 -# @DESCRIPTION:
9474 -# The major.minor version of FOX_PV, usually acts as $SLOT and is used in
9475 -# building the applications
9476 -FOXVER=$(get_version_component_range 1-2 ${FOX_PV})
9477 -
9478 -# @ECLASS-VARIABLE: FOX_APPS
9479 -# @INTERNAL
9480 -# @DESCRIPTION:
9481 -# The applications originally packaged in the FOX Toolkit
9482 -FOX_APPS="adie calculator pathfinder shutterbug"
9483 -
9484 -# @ECLASS-VARIABLE: FOXCONF
9485 -# @DEFAULT_UNSET
9486 -# @DESCRIPTION:
9487 -# Set this to add additional configuration options during src_configure
9488 -
9489 -DESCRIPTION="C++ based Toolkit for developing Graphical User Interfaces easily and effectively"
9490 -HOMEPAGE="http://www.fox-toolkit.org/"
9491 -SRC_URI="ftp://ftp.fox-toolkit.org/pub/fox-${FOX_PV}.tar.gz"
9492 -
9493 -IUSE="debug doc profile"
9494 -
9495 -if [[ ${PN} != fox ]] ; then
9496 - FOX_COMPONENT="${FOX_COMPONENT:-${PN}}"
9497 -fi
9498 -
9499 -if [[ -z ${FOX_COMPONENT} ]] ; then
9500 - DOXYGEN_DEP="doc? ( app-doc/doxygen )"
9501 -fi
9502 -
9503 -if [[ ${PN} != reswrap ]] ; then
9504 - RESWRAP_DEP="dev-util/reswrap"
9505 -fi
9506 -
9507 -DEPEND="${DOXYGEN_DEP}
9508 - ${RESWRAP_DEP}
9509 - >=sys-apps/sed-4"
9510 -
9511 -S="${WORKDIR}/fox-${FOX_PV}"
9512 -
9513 -fox_src_unpack() {
9514 - unpack ${A}
9515 - cd "${S}"
9516 -
9517 - has src_prepare ${FOX_EXPF} || fox_src_prepare
9518 -}
9519 -
9520 -fox_src_prepare() {
9521 - # fox changed from configure.in to configure.am in 1.6.38
9522 - local confFile="configure.ac"
9523 - [[ -r "configure.in" ]] && confFile="configure.in"
9524 -
9525 - # Respect system CXXFLAGS
9526 - sed -i -e 's:CXXFLAGS=""::' $confFile || die "sed ${confFile} error"
9527 -
9528 - # don't strip binaries
9529 - sed -i -e '/LDFLAGS="-s ${LDFLAGS}"/d' $confFile || die "sed ${confFile} error"
9530 -
9531 - # don't build apps from top-level (i.e. x11-libs/fox)
9532 - # utils == reswrap
9533 - local d
9534 - for d in ${FOX_APPS} utils windows ; do
9535 - sed -i -e "s:${d}::" Makefile.am || die "sed Makefile.am error"
9536 - done
9537 -
9538 - # use the installed reswrap for everything else
9539 - for d in ${FOX_APPS} chart controlpanel tests ; do
9540 - [[ -d ${d} ]] &&
9541 - (sed -i -e 's:$(top_builddir)/utils/reswrap:reswrap:' \
9542 - ${d}/Makefile.am || die "sed ${d}/Makefile.am error")
9543 - done
9544 -
9545 - # use the installed headers and library for apps
9546 - for d in ${FOX_APPS} ; do
9547 - sed -i \
9548 - -e "s:-I\$(top_srcdir)/include -I\$(top_builddir)/include:-I\$(includedir)/fox-${FOXVER}:" \
9549 - -e 's:$(top_builddir)/src/libFOX:-lFOX:' \
9550 - -e 's:$(top_builddir)/lib/libFOX:-lFOX:' \
9551 - -e 's:\.la::' \
9552 - ${d}/Makefile.am || die "sed ${d}/Makefile.am error"
9553 - done
9554 -
9555 - eautoreconf
9556 -}
9557 -
9558 -fox_src_configure() {
9559 - use debug && FOXCONF+=" --enable-debug" \
9560 - || FOXCONF+=" --enable-release"
9561 -
9562 - econf ${FOXCONF} \
9563 - $(use_with profile profiling)
9564 -}
9565 -
9566 -
9567 -fox_src_compile() {
9568 - has src_configure ${FOX_EXPF} || fox_src_configure
9569 -
9570 - cd "${S}/${FOX_COMPONENT}"
9571 - emake || die "compile error"
9572 -
9573 - # build class reference docs (FOXVER >= 1.2)
9574 - if use doc && [[ -z ${FOX_COMPONENT} ]] ; then
9575 - emake -C "${S}"/doc docs || die "doxygen error"
9576 - fi
9577 -}
9578 -
9579 -fox_src_install() {
9580 - cd "${S}/${FOX_COMPONENT}"
9581 -
9582 - emake install \
9583 - DESTDIR="${D}" \
9584 - htmldir=/usr/share/doc/${PF}/html \
9585 - artdir=/usr/share/doc/${PF}/html/art \
9586 - screenshotsdir=/usr/share/doc/${PF}/html/screenshots \
9587 - || die "install error"
9588 -
9589 - # create desktop menu items for apps
9590 - case ${FOX_COMPONENT} in
9591 - adie)
9592 - newicon big_gif.gif adie.gif
9593 - make_desktop_entry adie "Adie Text Editor" adie.gif
9594 - ;;
9595 - calculator)
9596 - newicon bigcalc.gif foxcalc.gif
9597 - make_desktop_entry calculator "FOX Calculator" foxcalc.gif
9598 - ;;
9599 - pathfinder)
9600 - newicon iconpath.gif pathfinder.gif
9601 - make_desktop_entry PathFinder "PathFinder" pathfinder.gif "FileManager"
9602 - ;;
9603 - shutterbug)
9604 - doicon shutterbug.gif
9605 - make_desktop_entry shutterbug "ShutterBug" shutterbug.gif "Graphics"
9606 - ;;
9607 - esac
9608 -
9609 - for doc in ADDITIONS AUTHORS LICENSE_ADDENDUM README TRACING ; do
9610 - [ -f $doc ] && dodoc $doc
9611 - done
9612 -
9613 - # remove documentation if USE=-doc
9614 - use doc || rm -fr "${D}/usr/share/doc/${PF}/html"
9615 -
9616 - # install class reference docs if USE=doc
9617 - if use doc && [[ -z ${FOX_COMPONENT} ]] ; then
9618 - dohtml -r "${S}/doc/ref"
9619 - fi
9620 -
9621 - # slot fox-config
9622 - if [[ -f ${D}/usr/bin/fox-config ]] ; then
9623 - mv "${D}/usr/bin/fox-config" "${D}/usr/bin/fox-${FOXVER}-config" \
9624 - || die "failed to install fox-config"
9625 - fi
9626 -}
9627 -
9628 -fox_pkg_postinst() {
9629 - if [ -z "${FOX_COMPONENT}" ] ; then
9630 - echo
9631 - einfo "Multiple versions of the FOX Toolkit library may now be installed"
9632 - einfo "in parallel SLOTs on the same system."
9633 - einfo
9634 - einfo "The reswrap utility and the applications included in the FOX Toolkit"
9635 - einfo "(adie, calculator, pathfinder, shutterbug) are now available as"
9636 - einfo "separate ebuilds."
9637 - echo
9638 -
9639 - if version_is_at_least "1.7.25"; then
9640 - einfo "Fox versions after 1.7.25 ships a pkg-config file called fox17.pc"
9641 - einfo "instead of the previous fox-config tool."
9642 - einfo "You now get all info via pkg-config:"
9643 - einfo
9644 - einfo "pkg-config fox17 --libs (etc.)"
9645 - else
9646 - einfo "The fox-config script has been installed as fox-${FOXVER}-config."
9647 - einfo "The fox-wrapper package is used to direct calls to fox-config"
9648 - einfo "to the correct versioned script, based on the WANT_FOX variable."
9649 - einfo "For example:"
9650 - einfo
9651 - einfo " WANT_FOX=\"${FOXVER}\" fox-config <options>"
9652 - fi
9653 - einfo
9654 - fi
9655 -}
9656
9657 diff --git a/eclass/games-ggz.eclass b/eclass/games-ggz.eclass
9658 deleted file mode 100644
9659 index 6ad837b..0000000
9660 --- a/eclass/games-ggz.eclass
9661 +++ /dev/null
9662 @@ -1,78 +0,0 @@
9663 -# Copyright 1999-2011 Gentoo Foundation
9664 -# Distributed under the terms of the GNU General Public License v2
9665 -# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.8 2012/04/23 07:16:34 mr_bones_ Exp $
9666 -
9667 -inherit base
9668 -
9669 -# For GGZ Gaming Zone packages
9670 -
9671 -GAMES_GGZ_EXPF="src_compile src_install pkg_postinst pkg_postrm"
9672 -case "${EAPI:-0}" in
9673 - 2|3|4|5) GAMES_GGZ_EXPF+=" src_configure" ;;
9674 - 0|1) : ;;
9675 - *) die "EAPI=${EAPI} is not supported" ;;
9676 -esac
9677 -EXPORT_FUNCTIONS ${GAMES_GGZ_EXPF}
9678 -
9679 -HOMEPAGE="http://www.ggzgamingzone.org/"
9680 -SRC_URI="mirror://ggz/${PV}/${P}.tar.gz"
9681 -
9682 -GGZ_MODDIR="/usr/share/ggz/modules"
9683 -
9684 -games-ggz_src_configure() {
9685 - local reg="--enable-noregistry=\"${GGZ_MODDIR}\""
9686 - [[ ${PN} == ggz-client-libs ]] && reg=''
9687 - econf \
9688 - --disable-dependency-tracking \
9689 - $reg \
9690 - $(has debug ${IUSE} && ! use debug && echo --disable-debug) \
9691 - "$@"
9692 -}
9693 -
9694 -games-ggz_src_compile() {
9695 - has src_configure ${GAMES_GGZ_EXPF} || games-ggz_src_configure
9696 - emake || die "emake failed"
9697 -}
9698 -
9699 -games-ggz_src_install() {
9700 - emake DESTDIR="${D}" install || die "emake install failed"
9701 - local f
9702 - for f in AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO ; do
9703 - [[ -f ${f} ]] && dodoc ${f}
9704 - done
9705 -}
9706 -
9707 -# Update ggz.modules with the .dsc files from ${GGZ_MODDIR}.
9708 -games-ggz_update_modules() {
9709 - [[ ${EBUILD_PHASE} == "postinst" || ${EBUILD_PHASE} == "postrm" ]] \
9710 - || die "${FUNCNAME} can only be used in pkg_postinst or pkg_postrm"
9711 -
9712 - # ggz-config needs libggz, so it could be broken
9713 - ggz-config -h &> /dev/null || return 1
9714 -
9715 - local confdir=${ROOT}/etc
9716 - local moddir=${ROOT}/${GGZ_MODDIR}
9717 - local dsc rval=0
9718 -
9719 - mkdir -p "${confdir}"
9720 - echo -n > "${confdir}"/ggz.modules
9721 - if [[ -d ${moddir} ]] ; then
9722 - ebegin "Updating GGZ modules"
9723 - cd "${moddir}"
9724 - find . -type f -name '*.dsc' | while read dsc ; do
9725 - DESTDIR=${ROOT} ggz-config -Dim "${dsc}" || ((rval++))
9726 - done
9727 - eend ${rval}
9728 - fi
9729 - return ${rval}
9730 -}
9731 -
9732 -# Register new modules
9733 -games-ggz_pkg_postinst() {
9734 - games-ggz_update_modules
9735 -}
9736 -
9737 -# Unregister old modules
9738 -games-ggz_pkg_postrm() {
9739 - games-ggz_update_modules
9740 -}
9741
9742 diff --git a/eclass/games.eclass b/eclass/games.eclass
9743 deleted file mode 100644
9744 index 991725d..0000000
9745 --- a/eclass/games.eclass
9746 +++ /dev/null
9747 @@ -1,225 +0,0 @@
9748 -# Copyright 1999-2012 Gentoo Foundation
9749 -# Distributed under the terms of the GNU General Public License v2
9750 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.152 2012/09/15 16:16:53 zmedico Exp $
9751 -
9752 -# devlist: games@g.o
9753 -#
9754 -# This is the games eclass for standardizing the install of games ...
9755 -# you better have a *good* reason why you're *not* using games.eclass
9756 -# in a games-* ebuild
9757 -
9758 -if [[ ${___ECLASS_ONCE_GAMES} != "recur -_+^+_- spank" ]] ; then
9759 -___ECLASS_ONCE_GAMES="recur -_+^+_- spank"
9760 -
9761 -inherit base multilib toolchain-funcs eutils user
9762 -
9763 -case ${EAPI:-0} in
9764 - 0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;;
9765 - 2|3|4|5) EXPORT_FUNCTIONS pkg_setup src_configure src_compile pkg_preinst pkg_postinst ;;
9766 - *) die "no support for EAPI=${EAPI} yet" ;;
9767 -esac
9768 -
9769 -export GAMES_PREFIX=${GAMES_PREFIX:-/usr/games}
9770 -export GAMES_PREFIX_OPT=${GAMES_PREFIX_OPT:-/opt}
9771 -export GAMES_DATADIR=${GAMES_DATADIR:-/usr/share/games}
9772 -export GAMES_DATADIR_BASE=${GAMES_DATADIR_BASE:-/usr/share} # some packages auto append 'games'
9773 -export GAMES_SYSCONFDIR=${GAMES_SYSCONFDIR:-/etc/games}
9774 -export GAMES_STATEDIR=${GAMES_STATEDIR:-/var/games}
9775 -export GAMES_LOGDIR=${GAMES_LOGDIR:-/var/log/games}
9776 -export GAMES_BINDIR=${GAMES_BINDIR:-${GAMES_PREFIX}/bin}
9777 -export GAMES_ENVD="90games"
9778 -# if you want to use a different user/group than games.games,
9779 -# just add these two variables to your environment (aka /etc/profile)
9780 -export GAMES_USER=${GAMES_USER:-root}
9781 -export GAMES_USER_DED=${GAMES_USER_DED:-games}
9782 -export GAMES_GROUP=${GAMES_GROUP:-games}
9783 -
9784 -games_get_libdir() {
9785 - echo ${GAMES_PREFIX}/$(get_libdir)
9786 -}
9787 -
9788 -egamesconf() {
9789 - econf \
9790 - --prefix="${GAMES_PREFIX}" \
9791 - --libdir="$(games_get_libdir)" \
9792 - --datadir="${GAMES_DATADIR}" \
9793 - --sysconfdir="${GAMES_SYSCONFDIR}" \
9794 - --localstatedir="${GAMES_STATEDIR}" \
9795 - "$@"
9796 -}
9797 -
9798 -gameswrapper() {
9799 - # dont want to pollute calling env
9800 - (
9801 - into "${GAMES_PREFIX}"
9802 - cmd=$1
9803 - shift
9804 - ${cmd} "$@"
9805 - )
9806 -}
9807 -
9808 -dogamesbin() { gameswrapper ${FUNCNAME/games} "$@"; }
9809 -dogamessbin() { gameswrapper ${FUNCNAME/games} "$@"; }
9810 -dogameslib() { gameswrapper ${FUNCNAME/games} "$@"; }
9811 -dogameslib.a() { gameswrapper ${FUNCNAME/games} "$@"; }
9812 -dogameslib.so() { gameswrapper ${FUNCNAME/games} "$@"; }
9813 -newgamesbin() { gameswrapper ${FUNCNAME/games} "$@"; }
9814 -newgamessbin() { gameswrapper ${FUNCNAME/games} "$@"; }
9815 -
9816 -games_make_wrapper() { gameswrapper ${FUNCNAME/games_} "$@"; }
9817 -
9818 -gamesowners() { chown ${GAMES_USER}:${GAMES_GROUP} "$@"; }
9819 -gamesperms() { chmod u+rw,g+r-w,o-rwx "$@"; }
9820 -prepgamesdirs() {
9821 - local dir f mode
9822 - for dir in \
9823 - "${GAMES_PREFIX}" "${GAMES_PREFIX_OPT}" "${GAMES_DATADIR}" \
9824 - "${GAMES_SYSCONFDIR}" "${GAMES_STATEDIR}" "$(games_get_libdir)" \
9825 - "${GAMES_BINDIR}" "$@"
9826 - do
9827 - [[ ! -d ${D}/${dir} ]] && continue
9828 - (
9829 - gamesowners -R "${D}/${dir}"
9830 - find "${D}/${dir}" -type d -print0 | xargs -0 chmod 750
9831 - mode=o-rwx,g+r,g-w
9832 - [[ ${dir} = ${GAMES_STATEDIR} ]] && mode=o-rwx,g+r
9833 - find "${D}/${dir}" -type f -print0 | xargs -0 chmod $mode
9834 -
9835 - # common trees should not be games owned #264872
9836 - if [[ ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then
9837 - fowners root:root "${dir}"
9838 - fperms 755 "${dir}"
9839 - for d in $(get_libdir) bin ; do
9840 - # check if dirs exist to avoid "nonfatal" option
9841 - if [[ -e ${D}/${dir}/${d} ]] ; then
9842 - fowners root:root "${dir}/${d}"
9843 - fperms 755 "${dir}/${d}"
9844 - fi
9845 - done
9846 - fi
9847 - ) &>/dev/null
9848 -
9849 - f=$(find "${D}/${dir}" -perm +4000 -a -uid 0 2>/dev/null)
9850 - if [[ -n ${f} ]] ; then
9851 - eerror "A game was detected that is setuid root!"
9852 - eerror "${f}"
9853 - die "refusing to merge a setuid root game"
9854 - fi
9855 - done
9856 - [[ -d ${D}/${GAMES_BINDIR} ]] || return 0
9857 - find "${D}/${GAMES_BINDIR}" -maxdepth 1 -type f -exec chmod 750 '{}' \;
9858 -}
9859 -
9860 -gamesenv() {
9861 - local d libdirs
9862 -
9863 - for d in $(get_all_libdirs) ; do
9864 - libdirs="${libdirs}:${GAMES_PREFIX}/${d}"
9865 - done
9866 -
9867 - # Wish we could use doevnd here, but we dont want the env
9868 - # file to be tracked in the CONTENTS of every game
9869 - cat <<-EOF > "${ROOT}"/etc/env.d/${GAMES_ENVD}
9870 - LDPATH="${libdirs:1}"
9871 - PATH="${GAMES_BINDIR}"
9872 - EOF
9873 -}
9874 -
9875 -games_pkg_setup() {
9876 - tc-export CC CXX LD AR RANLIB
9877 -
9878 - enewgroup "${GAMES_GROUP}" 35
9879 - [[ ${GAMES_USER} != "root" ]] \
9880 - && enewuser "${GAMES_USER}" 35 -1 "${GAMES_PREFIX}" "${GAMES_GROUP}"
9881 - [[ ${GAMES_USER_DED} != "root" ]] \
9882 - && enewuser "${GAMES_USER_DED}" 36 /bin/bash "${GAMES_PREFIX}" "${GAMES_GROUP}"
9883 -
9884 - # Dear portage team, we are so sorry. Lots of love, games team.
9885 - # See Bug #61680
9886 - [[ ${USERLAND} != "GNU" ]] && return 0
9887 - [[ $(egetshell "${GAMES_USER_DED}") == "/bin/false" ]] \
9888 - && usermod -s /bin/bash "${GAMES_USER_DED}"
9889 -}
9890 -
9891 -games_src_configure() {
9892 - [[ -x ./configure ]] && egamesconf
9893 -}
9894 -
9895 -games_src_compile() {
9896 - case ${EAPI:-0} in
9897 - 0|1) games_src_configure ;;
9898 - esac
9899 - base_src_make
9900 -}
9901 -
9902 -games_pkg_preinst() {
9903 - local f
9904 -
9905 - while read f ; do
9906 - if [[ -e ${ROOT}/${GAMES_STATEDIR}/${f} ]] ; then
9907 - cp -p \
9908 - "${ROOT}/${GAMES_STATEDIR}/${f}" \
9909 - "${D}/${GAMES_STATEDIR}/${f}" \
9910 - || die "cp failed"
9911 - # make the date match the rest of the install
9912 - touch "${D}/${GAMES_STATEDIR}/${f}"
9913 - fi
9914 - done < <(find "${D}/${GAMES_STATEDIR}" -type f -printf '%P\n' 2>/dev/null)
9915 -}
9916 -
9917 -# pkg_postinst function ... create env.d entry and warn about games group
9918 -games_pkg_postinst() {
9919 - gamesenv
9920 - if [[ -z "${GAMES_SHOW_WARNING}" ]] ; then
9921 - ewarn "Remember, in order to play games, you have to"
9922 - ewarn "be in the '${GAMES_GROUP}' group."
9923 - echo
9924 - case ${CHOST} in
9925 - *-darwin*) ewarn "Just run 'niutil -appendprop / /groups/games users <USER>'";;
9926 - *-freebsd*|*-dragonfly*) ewarn "Just run 'pw groupmod ${GAMES_GROUP} -m <USER>'";;
9927 - *) ewarn "Just run 'gpasswd -a <USER> ${GAMES_GROUP}', then have <USER> re-login.";;
9928 - esac
9929 - echo
9930 - einfo "For more info about Gentoo gaming in general, see our website:"
9931 - einfo " http://games.gentoo.org/"
9932 - echo
9933 - fi
9934 -}
9935 -
9936 -# Unpack .uz2 files for UT2003/UT2004
9937 -# $1: directory or file to unpack
9938 -games_ut_unpack() {
9939 - local ut_unpack="$1"
9940 - local f=
9941 -
9942 - if [[ -z ${ut_unpack} ]] ; then
9943 - die "You must provide an argument to games_ut_unpack"
9944 - fi
9945 - if [[ -f ${ut_unpack} ]] ; then
9946 - uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" \
9947 - || die "uncompressing file ${ut_unpack}"
9948 - fi
9949 - if [[ -d ${ut_unpack} ]] ; then
9950 - while read f ; do
9951 - uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" \
9952 - || die "uncompressing file ${f}"
9953 - rm -f "${ut_unpack}/${f}" || die "deleting compressed file ${f}"
9954 - done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' -printf '%f\n' 2>/dev/null)
9955 - fi
9956 -}
9957 -
9958 -# Unpacks .umod/.ut2mod/.ut4mod files for UT/UT2003/UT2004
9959 -# Usage: games_umod_unpack $1
9960 -# oh, and don't forget to set 'dir' and 'Ddir'
9961 -games_umod_unpack() {
9962 - local umod=$1
9963 - mkdir -p "${Ddir}"/System
9964 - cp "${dir}"/System/{ucc-bin,{Manifest,Def{ault,User}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} "${Ddir}"/System
9965 - cd "${Ddir}"/System
9966 - UT_DATA_PATH=${Ddir}/System ./ucc-bin umodunpack -x "${S}/${umod}" -nohomedir &> /dev/null \
9967 - || die "uncompressing file ${umod}"
9968 - rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log} &>/dev/null \
9969 - || die "Removing temporary files"
9970 -}
9971 -
9972 -fi
9973
9974 diff --git a/eclass/git.eclass b/eclass/git.eclass
9975 deleted file mode 100644
9976 index 8899129..0000000
9977 --- a/eclass/git.eclass
9978 +++ /dev/null
9979 @@ -1,470 +0,0 @@
9980 -# Copyright 1999-2011 Gentoo Foundation
9981 -# Distributed under the terms of the GNU General Public License v2
9982 -# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.58 2011/12/14 23:40:18 vapier Exp $
9983 -
9984 -# @DEPRECATED
9985 -# This eclass has been superseded by git-2 eclass.
9986 -# Please modify your ebuilds to use that one instead.
9987 -
9988 -# @ECLASS: git.eclass
9989 -# @MAINTAINER:
9990 -# Donnie Berkholz <dberkholz@g.o>
9991 -# @BLURB: Fetching and unpacking of git repositories
9992 -# @DESCRIPTION:
9993 -# The git eclass provides functions to fetch, patch and bootstrap
9994 -# software sources from git repositories and is based on the subversion eclass.
9995 -# It is necessary to define at least the EGIT_REPO_URI variable.
9996 -# @THANKS TO:
9997 -# Fernando J. Pereda <ferdy@g.o>
9998 -
9999 -inherit eutils
10000 -
10001 -EGIT="git.eclass"
10002 -
10003 -# We DEPEND on a not too ancient git version
10004 -DEPEND=">=dev-vcs/git-1.6"
10005 -
10006 -EXPORTED_FUNCTIONS="src_unpack"
10007 -case "${EAPI:-0}" in
10008 - 4|5|3|2) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;;
10009 - 1|0) ;;
10010 - *) die "EAPI=${EAPI} is not supported" ;;
10011 -esac
10012 -EXPORT_FUNCTIONS ${EXPORTED_FUNCTIONS}
10013 -
10014 -# define some nice defaults but only if nothing is set already
10015 -: ${HOMEPAGE:=http://git-scm.com/}
10016 -
10017 -# @ECLASS-VARIABLE: EGIT_QUIET
10018 -# @DESCRIPTION:
10019 -# Set to non-empty value to supress some eclass messages.
10020 -: ${EGIT_QUIET:=${ESCM_QUIET}}
10021 -
10022 -# @ECLASS-VARIABLE: EGIT_STORE_DIR
10023 -# @DESCRIPTION:
10024 -# Storage directory for git sources.
10025 -# Can be redefined.
10026 -: ${EGIT_STORE_DIR:="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/git-src"}
10027 -
10028 -# @ECLASS-VARIABLE: EGIT_UNPACK_DIR
10029 -# @DESCRIPTION:
10030 -# Directory to unpack git sources in.
10031 -
10032 -# @ECLASS-VARIABLE: EGIT_HAS_SUBMODULES
10033 -# @DESCRIPTION:
10034 -# Set this to non-empty value to enable submodule support (slower).
10035 -: ${EGIT_HAS_SUBMODULES:=}
10036 -
10037 -# @ECLASS-VARIABLE: EGIT_FETCH_CMD
10038 -# @DESCRIPTION:
10039 -# Command for cloning the repository.
10040 -: ${EGIT_FETCH_CMD:="git clone"}
10041 -
10042 -# @ECLASS-VARIABLE: EGIT_UPDATE_CMD
10043 -# @DESCRIPTION:
10044 -# Git fetch command.
10045 -if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then
10046 - EGIT_UPDATE_CMD="git pull -f -u"
10047 -else
10048 - EGIT_UPDATE_CMD="git fetch -f -u"
10049 -fi
10050 -
10051 -# @ECLASS-VARIABLE: EGIT_DIFFSTAT_CMD
10052 -# @DESCRIPTION:
10053 -# Git command for diffstat.
10054 -EGIT_DIFFSTAT_CMD="git --no-pager diff --stat"
10055 -
10056 -# @ECLASS-VARIABLE: EGIT_OPTIONS
10057 -# @DESCRIPTION:
10058 -# This variable value is passed to clone and fetch.
10059 -: ${EGIT_OPTIONS:=}
10060 -
10061 -# @ECLASS-VARIABLE: EGIT_MASTER
10062 -# @DESCRIPTION:
10063 -# Variable for specifying master branch.
10064 -# Usefull when upstream don't have master branch.
10065 -: ${EGIT_MASTER:=master}
10066 -
10067 -# @ECLASS-VARIABLE: EGIT_REPO_URI
10068 -# @DESCRIPTION:
10069 -# URI for the repository
10070 -# e.g. http://foo, git://bar
10071 -# Supported protocols:
10072 -# http://
10073 -# https://
10074 -# git://
10075 -# git+ssh://
10076 -# rsync://
10077 -# ssh://
10078 -eval X="\$${PN//[-+]/_}_LIVE_REPO"
10079 -if [[ ${X} = "" ]]; then
10080 - : ${EGIT_REPO_URI:=}
10081 -else
10082 - EGIT_REPO_URI="${X}"
10083 -fi
10084 -# @ECLASS-VARIABLE: EGIT_PROJECT
10085 -# @DESCRIPTION:
10086 -# Project name, it must be unique across EGIT_STORE_DIR.
10087 -# Git eclass will check out the git repository into ${EGIT_STORE_DIR}/${EGIT_PROJECT}/${EGIT_REPO_URI##*/}
10088 -# Default is ${PN}.
10089 -: ${EGIT_PROJECT:=${PN}}
10090 -
10091 -# @ECLASS-VARIABLE: EGIT_BOOTSTRAP
10092 -# @DESCRIPTION:
10093 -# bootstrap script or command like autogen.sh or etc...
10094 -: ${EGIT_BOOTSTRAP:=}
10095 -
10096 -# @ECLASS-VARIABLE: EGIT_OFFLINE
10097 -# @DESCRIPTION:
10098 -# Set this variable to a non-empty value to disable the automatic updating of
10099 -# an GIT source tree. This is intended to be set outside the git source
10100 -# tree by users.
10101 -: ${EGIT_OFFLINE:=${ESCM_OFFLINE}}
10102 -
10103 -# @ECLASS-VARIABLE: EGIT_PATCHES
10104 -# @DESCRIPTION:
10105 -# Similar to PATCHES array from base.eclass
10106 -# Only difference is that this patches are applied before bootstrap.
10107 -# Please take note that this variable should be bash array.
10108 -
10109 -# @ECLASS-VARIABLE: EGIT_BRANCH
10110 -# @DESCRIPTION:
10111 -# git eclass can fetch any branch in git_fetch().
10112 -eval X="\$${PN//[-+]/_}_LIVE_BRANCH"
10113 -if [[ "${X}" = "" ]]; then
10114 - : ${EGIT_BRANCH:=master}
10115 -else
10116 - EGIT_BRANCH="${X}"
10117 -fi
10118 -
10119 -# @ECLASS-VARIABLE: EGIT_COMMIT
10120 -# @DESCRIPTION:
10121 -# git eclass can checkout any commit.
10122 -eval X="\$${PN//[-+]/_}_LIVE_COMMIT"
10123 -if [[ "${X}" = "" ]]; then
10124 - : ${EGIT_COMMIT:=${EGIT_BRANCH}}
10125 -else
10126 - EGIT_COMMIT="${X}"
10127 -fi
10128 -
10129 -# @ECLASS-VARIABLE: EGIT_REPACK
10130 -# @DESCRIPTION:
10131 -# Set to non-empty value to repack objects to save disk space. However this can
10132 -# take a long time with VERY big repositories.
10133 -: ${EGIT_REPACK:=}
10134 -
10135 -# @ECLASS-VARIABLE: EGIT_PRUNE
10136 -# @DESCRIPTION:
10137 -# Set to non-empty value to prune loose objects on each fetch. This is useful
10138 -# if upstream rewinds and rebases branches often.
10139 -: ${EGIT_PRUNE:=}
10140 -
10141 -# @FUNCTION: git_submodules
10142 -# @DESCRIPTION:
10143 -# Internal function wrapping the submodule initialisation and update
10144 -git_submodules() {
10145 - if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then
10146 - debug-print "git submodule init"
10147 - git submodule init
10148 - debug-print "git submodule sync"
10149 - git submodule sync
10150 - debug-print "git submodule update"
10151 - git submodule update
10152 - fi
10153 -}
10154 -
10155 -# @FUNCTION: git_branch
10156 -# @DESCRIPTION:
10157 -# Internal function that changes branch for the repo based on EGIT_TREE and
10158 -# EGIT_BRANCH variables.
10159 -git_branch() {
10160 - local branchname=branch-${EGIT_BRANCH} src=origin/${EGIT_BRANCH}
10161 - if [[ "${EGIT_COMMIT}" != "${EGIT_BRANCH}" ]]; then
10162 - branchname=tree-${EGIT_COMMIT}
10163 - src=${EGIT_COMMIT}
10164 - fi
10165 - debug-print "git checkout -b ${branchname} ${src}"
10166 - git checkout -b ${branchname} ${src} &> /dev/null
10167 -
10168 - unset branchname src
10169 -}
10170 -
10171 -# @FUNCTION: git_fetch
10172 -# @DESCRIPTION:
10173 -# Gets repository from EGIT_REPO_URI and store it in specified EGIT_STORE_DIR
10174 -git_fetch() {
10175 - debug-print-function ${FUNCNAME} "$@"
10176 -
10177 - eqawarn "git.eclass is deprecated."
10178 - eqawarn "Please update your ebuilds to use git-2 instead. For details, see"
10179 - eqawarn "http://archives.gentoo.org/gentoo-dev/msg_b7ba363cae580845819ae3501fb157e9.xml"
10180 -
10181 - local GIT_DIR EGIT_CLONE_DIR oldsha1 cursha1 extra_clone_opts upstream_branch
10182 - [[ -z ${EGIT_HAS_SUBMODULES} ]] && export GIT_DIR
10183 -
10184 - # choose if user wants elog or just einfo.
10185 - if [[ -n ${EGIT_QUIET} ]]; then
10186 - elogcmd="einfo"
10187 - else
10188 - elogcmd="elog"
10189 - fi
10190 -
10191 - # If we have same branch and the tree we can do --depth 1 clone
10192 - # which outputs into really smaller data transfers.
10193 - # Sadly we can do shallow copy for now because quite a few packages need .git
10194 - # folder.
10195 - #[[ ${EGIT_COMMIT} = ${EGIT_BRANCH} ]] && \
10196 - # EGIT_FETCH_CMD="${EGIT_FETCH_CMD} --depth 1"
10197 - if [[ -n ${EGIT_TREE} ]] ; then
10198 - EGIT_COMMIT=${EGIT_TREE}
10199 - ewarn "QA: Usage of deprecated EGIT_TREE variable detected."
10200 - ewarn "QA: Use EGIT_COMMIT variable instead."
10201 - fi
10202 -
10203 - # EGIT_REPO_URI is empty.
10204 - [[ -z ${EGIT_REPO_URI} ]] && die "${EGIT}: EGIT_REPO_URI is empty."
10205 -
10206 - # check for the protocol or pull from a local repo.
10207 - if [[ -z ${EGIT_REPO_URI%%:*} ]] ; then
10208 - case ${EGIT_REPO_URI%%:*} in
10209 - git*|http|https|rsync|ssh) ;;
10210 - *) die "${EGIT}: protocol for fetch from "${EGIT_REPO_URI%:*}" is not yet implemented in eclass." ;;
10211 - esac
10212 - fi
10213 -
10214 - # initial clone, we have to create master git storage directory and play
10215 - # nicely with sandbox
10216 - if [[ ! -d ${EGIT_STORE_DIR} ]] ; then
10217 - debug-print "${FUNCNAME}: initial clone. creating git directory"
10218 - addwrite /
10219 - mkdir -m 775 -p "${EGIT_STORE_DIR}" \
10220 - || die "${EGIT}: can't mkdir ${EGIT_STORE_DIR}."
10221 - export SANDBOX_WRITE="${SANDBOX_WRITE%%:/}"
10222 - fi
10223 -
10224 - cd -P "${EGIT_STORE_DIR}" || die "${EGIT}: can't chdir to ${EGIT_STORE_DIR}"
10225 - EGIT_STORE_DIR=${PWD}
10226 -
10227 - # allow writing into EGIT_STORE_DIR
10228 - addwrite "${EGIT_STORE_DIR}"
10229 -
10230 - [[ -z ${EGIT_REPO_URI##*/} ]] && EGIT_REPO_URI="${EGIT_REPO_URI%/}"
10231 - EGIT_CLONE_DIR="${EGIT_PROJECT}"
10232 -
10233 - debug-print "${FUNCNAME}: EGIT_OPTIONS = \"${EGIT_OPTIONS}\""
10234 -
10235 - GIT_DIR="${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}"
10236 - # we also have to remove all shallow copied repositories
10237 - # and fetch them again
10238 - if [[ -e "${GIT_DIR}/shallow" ]]; then
10239 - rm -rf "${GIT_DIR}"
10240 - einfo "The ${EGIT_CLONE_DIR} was shallow copy. Refetching."
10241 - fi
10242 - # repack from bare copy to normal one
10243 - if [[ -n ${EGIT_HAS_SUBMODULES} ]] && [[ -d ${GIT_DIR} && ! -d ${GIT_DIR}/.git ]]; then
10244 - rm -rf "${GIT_DIR}"
10245 - einfo "The ${EGIT_CLONE_DIR} was bare copy. Refetching."
10246 - fi
10247 - if [[ -z ${EGIT_HAS_SUBMODULES} ]] && [[ -d ${GIT_DIR} && -d ${GIT_DIR}/.git ]]; then
10248 - rm -rf "${GIT_DIR}"
10249 - einfo "The ${EGIT_CLONE_DIR} was not a bare copy. Refetching."
10250 - fi
10251 -
10252 - if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then
10253 - upstream_branch=origin/${EGIT_BRANCH}
10254 - else
10255 - upstream_branch=${EGIT_BRANCH}
10256 - extra_clone_opts=--bare
10257 - fi
10258 -
10259 - if [[ ! -d ${GIT_DIR} ]] ; then
10260 - # first clone
10261 - ${elogcmd} "GIT NEW clone -->"
10262 - ${elogcmd} " repository: ${EGIT_REPO_URI}"
10263 -
10264 - debug-print "${EGIT_FETCH_CMD} ${extra_clone_opts} ${EGIT_OPTIONS} \"${EGIT_REPO_URI}\" ${GIT_DIR}"
10265 - ${EGIT_FETCH_CMD} ${extra_clone_opts} ${EGIT_OPTIONS} "${EGIT_REPO_URI}" ${GIT_DIR} \
10266 - || die "${EGIT}: can't fetch from ${EGIT_REPO_URI}."
10267 -
10268 - pushd "${GIT_DIR}" &> /dev/null
10269 - cursha1=$(git rev-parse ${upstream_branch})
10270 - ${elogcmd} " at the commit: ${cursha1}"
10271 -
10272 - git_submodules
10273 - popd &> /dev/null
10274 - elif [[ -n ${EGIT_OFFLINE} ]] ; then
10275 - pushd "${GIT_DIR}" &> /dev/null
10276 - cursha1=$(git rev-parse ${upstream_branch})
10277 - ${elogcmd} "GIT offline update -->"
10278 - ${elogcmd} " repository: ${EGIT_REPO_URI}"
10279 - ${elogcmd} " at the commit: ${cursha1}"
10280 - popd &> /dev/null
10281 - else
10282 - pushd "${GIT_DIR}" &> /dev/null
10283 - # Git urls might change, so unconditionally set it here
10284 - git config remote.origin.url "${EGIT_REPO_URI}"
10285 -
10286 - # fetch updates
10287 - ${elogcmd} "GIT update -->"
10288 - ${elogcmd} " repository: ${EGIT_REPO_URI}"
10289 -
10290 - oldsha1=$(git rev-parse ${upstream_branch})
10291 -
10292 - if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then
10293 - debug-print "${EGIT_UPDATE_CMD} ${EGIT_OPTIONS}"
10294 - # fix branching
10295 - git checkout ${EGIT_MASTER}
10296 - for x in $(git branch |grep -v "* ${EGIT_MASTER}" |tr '\n' ' '); do
10297 - git branch -D ${x}
10298 - done
10299 - ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} \
10300 - || die "${EGIT}: can't update from ${EGIT_REPO_URI}."
10301 - else
10302 - debug-print "${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} origin ${EGIT_BRANCH}:${EGIT_BRANCH}"
10303 - ${EGIT_UPDATE_CMD} ${EGIT_OPTIONS} origin ${EGIT_BRANCH}:${EGIT_BRANCH} \
10304 - || die "${EGIT}: can't update from ${EGIT_REPO_URI}."
10305 - fi
10306 -
10307 - git_submodules
10308 - cursha1=$(git rev-parse ${upstream_branch})
10309 -
10310 - # write out message based on the revisions
10311 - if [[ "${oldsha1}" != "${cursha1}" ]]; then
10312 - ${elogcmd} " updating from commit: ${oldsha1}"
10313 - ${elogcmd} " to commit: ${cursha1}"
10314 - else
10315 - ${elogcmd} " at the commit: ${cursha1}"
10316 - # @ECLASS-VARIABLE: LIVE_FAIL_FETCH_IF_REPO_NOT_UPDATED
10317 - # @DESCRIPTION:
10318 - # If this variable is set to TRUE in make.conf or somewhere in
10319 - # enviroment the package will fail if there is no update, thus in
10320 - # combination with --keep-going it would lead in not-updating
10321 - # pakcages that are up-to-date.
10322 - # TODO: this can lead to issues if more projects/packages use same repo
10323 - [[ ${LIVE_FAIL_FETCH_IF_REPO_NOT_UPDATED} = true ]] && \
10324 - debug-print "${FUNCNAME}: Repository \"${EGIT_REPO_URI}\" is up-to-date. Skipping." && \
10325 - die "${EGIT}: Repository \"${EGIT_REPO_URI}\" is up-to-date. Skipping."
10326 - fi
10327 - ${EGIT_DIFFSTAT_CMD} ${oldsha1}..${upstream_branch}
10328 - popd &> /dev/null
10329 - fi
10330 -
10331 - pushd "${GIT_DIR}" &> /dev/null
10332 - if [[ -n ${EGIT_REPACK} ]] || [[ -n ${EGIT_PRUNE} ]]; then
10333 - ebegin "Garbage collecting the repository"
10334 - local args
10335 - [[ -n ${EGIT_PRUNE} ]] && args='--prune'
10336 - git gc ${args}
10337 - eend $?
10338 - fi
10339 - popd &> /dev/null
10340 -
10341 - # export the git version
10342 - export EGIT_VERSION="${cursha1}"
10343 -
10344 - # log the repo state
10345 - [[ "${EGIT_COMMIT}" != "${EGIT_BRANCH}" ]] && ${elogcmd} " commit: ${EGIT_COMMIT}"
10346 - ${elogcmd} " branch: ${EGIT_BRANCH}"
10347 - ${elogcmd} " storage directory: \"${GIT_DIR}\""
10348 -
10349 - if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then
10350 - pushd "${GIT_DIR}" &> /dev/null
10351 - debug-print "rsync -rlpgo . \"${EGIT_UNPACK_DIR:-${S}}\""
10352 - time rsync -rlpgo . "${EGIT_UNPACK_DIR:-${S}}"
10353 - popd &> /dev/null
10354 - else
10355 - unset GIT_DIR
10356 - debug-print "git clone -l -s -n \"${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}\" \"${EGIT_UNPACK_DIR:-${S}}\""
10357 - git clone -l -s -n "${EGIT_STORE_DIR}/${EGIT_CLONE_DIR}" "${EGIT_UNPACK_DIR:-${S}}"
10358 - fi
10359 -
10360 - pushd "${EGIT_UNPACK_DIR:-${S}}" &> /dev/null
10361 - git_branch
10362 - # submodules always reqire net (thanks to branches changing)
10363 - [[ -z ${EGIT_OFFLINE} ]] && git_submodules
10364 - popd &> /dev/null
10365 -
10366 - echo ">>> Unpacked to ${EGIT_UNPACK_DIR:-${S}}"
10367 -}
10368 -
10369 -# @FUNCTION: git_bootstrap
10370 -# @DESCRIPTION:
10371 -# Runs bootstrap command if EGIT_BOOTSTRAP variable contains some value
10372 -# Remember that what ever gets to the EGIT_BOOTSTRAP variable gets evaled by bash.
10373 -git_bootstrap() {
10374 - debug-print-function ${FUNCNAME} "$@"
10375 -
10376 - if [[ -n ${EGIT_BOOTSTRAP} ]] ; then
10377 - pushd "${S}" > /dev/null
10378 - einfo "Starting bootstrap"
10379 -
10380 - if [[ -f ${EGIT_BOOTSTRAP} ]]; then
10381 - # we have file in the repo which we should execute
10382 - debug-print "$FUNCNAME: bootstraping with file \"${EGIT_BOOTSTRAP}\""
10383 -
10384 - if [[ -x ${EGIT_BOOTSTRAP} ]]; then
10385 - eval "./${EGIT_BOOTSTRAP}" \
10386 - || die "${EGIT}: bootstrap script failed"
10387 - else
10388 - eerror "\"${EGIT_BOOTSTRAP}\" is not executable."
10389 - eerror "Report upstream, or bug ebuild maintainer to remove bootstrap command."
10390 - die "${EGIT}: \"${EGIT_BOOTSTRAP}\" is not executable."
10391 - fi
10392 - else
10393 - # we execute some system command
10394 - debug-print "$FUNCNAME: bootstraping with commands \"${EGIT_BOOTSTRAP}\""
10395 -
10396 - eval "${EGIT_BOOTSTRAP}" \
10397 - || die "${EGIT}: bootstrap commands failed."
10398 -
10399 - fi
10400 -
10401 - einfo "Bootstrap finished"
10402 - popd > /dev/null
10403 - fi
10404 -}
10405 -
10406 -# @FUNCTION: git_apply_patches
10407 -# @DESCRIPTION:
10408 -# Apply patches from EGIT_PATCHES bash array.
10409 -# Preferred is using the variable as bash array but for now it allows to write
10410 -# it also as normal space separated string list. (This part of code should be
10411 -# removed when all ebuilds get converted on bash array).
10412 -git_apply_patches() {
10413 - debug-print-function ${FUNCNAME} "$@"
10414 -
10415 - pushd "${EGIT_UNPACK_DIR:-${S}}" > /dev/null
10416 - if [[ ${#EGIT_PATCHES[@]} -gt 1 ]] ; then
10417 - for i in "${EGIT_PATCHES[@]}"; do
10418 - debug-print "$FUNCNAME: git_autopatch: patching from ${i}"
10419 - epatch "${i}"
10420 - done
10421 - elif [[ -n ${EGIT_PATCHES} ]]; then
10422 - # no need for loop if space separated string is passed.
10423 - debug-print "$FUNCNAME: git_autopatch: patching from ${EGIT_PATCHES}"
10424 - epatch "${EGIT_PATCHES}"
10425 - fi
10426 -
10427 - popd > /dev/null
10428 -}
10429 -
10430 -# @FUNCTION: git_src_unpack
10431 -# @DESCRIPTION:
10432 -# src_upack function, calls src_prepare one if EAPI!=2.
10433 -git_src_unpack() {
10434 - debug-print-function ${FUNCNAME} "$@"
10435 -
10436 - git_fetch || die "${EGIT}: unknown problem in git_fetch()."
10437 -
10438 - has src_prepare ${EXPORTED_FUNCTIONS} || git_src_prepare
10439 -}
10440 -
10441 -# @FUNCTION: git_src_prepare
10442 -# @DESCRIPTION:
10443 -# src_prepare function for git stuff. Patches, bootstrap...
10444 -git_src_prepare() {
10445 - debug-print-function ${FUNCNAME} "$@"
10446 -
10447 - git_apply_patches
10448 - git_bootstrap
10449 -}
10450
10451 diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass
10452 deleted file mode 100644
10453 index f27c738..0000000
10454 --- a/eclass/gnome2-utils.eclass
10455 +++ /dev/null
10456 @@ -1,426 +0,0 @@
10457 -# Copyright 1999-2012 Gentoo Foundation
10458 -# Distributed under the terms of the GNU General Public License v2
10459 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.28 2012/06/21 15:10:59 naota Exp $
10460 -
10461 -# @ECLASS: gnome2-utils.eclass
10462 -# @MAINTAINER:
10463 -# gnome@g.o
10464 -# @BLURB: Auxiliary functions commonly used by Gnome packages.
10465 -# @DESCRIPTION:
10466 -# This eclass provides a set of auxiliary functions needed by most Gnome
10467 -# packages. It may be used by non-Gnome packages as needed for handling various
10468 -# Gnome stack related functions such as:
10469 -# * Gtk+ icon cache management
10470 -# * GSettings schemas management
10471 -# * GConf schemas management
10472 -# * scrollkeeper (old Gnome help system) management
10473 -
10474 -case "${EAPI:-0}" in
10475 - 0|1|2|3|4|5) ;;
10476 - *) die "EAPI=${EAPI} is not supported" ;;
10477 -esac
10478 -
10479 -# @ECLASS-VARIABLE: GCONFTOOL_BIN
10480 -# @INTERNAL
10481 -# @DESCRIPTION:
10482 -# Path to gconftool-2
10483 -: ${GCONFTOOL_BIN:="/usr/bin/gconftool-2"}
10484 -
10485 -# @ECLASS-VARIABLE: SCROLLKEEPER_DIR
10486 -# @INTERNAL
10487 -# @DESCRIPTION:
10488 -# Directory where scrollkeeper-update should do its work
10489 -: ${SCROLLKEEPER_DIR:="/var/lib/scrollkeeper"}
10490 -
10491 -# @ECLASS-VARIABLE: SCROLLKEEPER_UPDATE_BIN
10492 -# @INTERNAL
10493 -# @DESCRIPTION:
10494 -# Path to scrollkeeper-update
10495 -: ${SCROLLKEEPER_UPDATE_BIN:="/usr/bin/scrollkeeper-update"}
10496 -
10497 -# @ECLASS-VARIABLE: GTK_UPDATE_ICON_CACHE
10498 -# @INTERNAL
10499 -# @DESCRIPTION:
10500 -# Path to gtk-update-icon-cache
10501 -: ${GTK_UPDATE_ICON_CACHE:="/usr/bin/gtk-update-icon-cache"}
10502 -
10503 -# @ECLASS-VARIABLE: GLIB_COMPILE_SCHEMAS
10504 -# @INTERNAL
10505 -# @DESCRIPTION:
10506 -# Path to glib-compile-schemas
10507 -: ${GLIB_COMPILE_SCHEMAS:="/usr/bin/glib-compile-schemas"}
10508 -
10509 -# @ECLASS-VARIABLE: GNOME2_ECLASS_SCHEMAS
10510 -# @INTERNAL
10511 -# @DEFAULT_UNSET
10512 -# @DESCRIPTION:
10513 -# List of GConf schemas provided by the package
10514 -
10515 -# @ECLASS-VARIABLE: GNOME2_ECLASS_ICONS
10516 -# @INTERNAL
10517 -# @DEFAULT_UNSET
10518 -# @DESCRIPTION:
10519 -# List of icons provided by the package
10520 -
10521 -# @ECLASS-VARIABLE: GNOME2_ECLASS_SCROLLS
10522 -# @INTERNAL
10523 -# @DEFAULT_UNSET
10524 -# @DESCRIPTION:
10525 -# List of scrolls (documentation files) provided by the package
10526 -
10527 -# @ECLASS-VARIABLE: GNOME2_ECLASS_GLIB_SCHEMAS
10528 -# @INTERNAL
10529 -# @DEFAULT_UNSET
10530 -# @DESCRIPTION:
10531 -# List of GSettings schemas provided by the package
10532 -
10533 -DEPEND=">=sys-apps/sed-4"
10534 -
10535 -
10536 -# @FUNCTION: gnome2_environment_reset
10537 -# @DESCRIPTION:
10538 -# Reset various variables inherited from root's evironment to a reasonable
10539 -# default for ebuilds to help avoid access violations and test failures.
10540 -gnome2_environment_reset() {
10541 - # Respected by >=glib-2.30.1-r1
10542 - export G_HOME="${T}"
10543 -
10544 - # GST_REGISTRY is to work around gst utilities trying to read/write /root
10545 - export GST_REGISTRY="${T}/registry.xml"
10546 -
10547 - # XXX: code for resetting XDG_* directories should probably be moved into
10548 - # a separate function in a non-gnome eclass
10549 - export XDG_DATA_HOME="${T}/.local/share"
10550 - export XDG_CONFIG_HOME="${T}/.config"
10551 - export XDG_CACHE_HOME="${T}/.cache"
10552 - export XDG_RUNTIME_DIR="${T}/run"
10553 - mkdir -p "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_CACHE_HOME}" \
10554 - "${XDG_RUNTIME_DIR}"
10555 - # This directory needs to be owned by the user, and chmod 0700
10556 - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
10557 - chmod 0700 "${XDG_RUNTIME_DIR}"
10558 -}
10559 -
10560 -# @FUNCTION: gnome2_gconf_savelist
10561 -# @DESCRIPTION:
10562 -# Find the GConf schemas that are about to be installed and save their location
10563 -# in the GNOME2_ECLASS_SCHEMAS environment variable.
10564 -# This function should be called from pkg_preinst.
10565 -gnome2_gconf_savelist() {
10566 - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
10567 - pushd "${ED}" &> /dev/null
10568 - export GNOME2_ECLASS_SCHEMAS=$(find 'etc/gconf/schemas/' -name '*.schemas' 2> /dev/null)
10569 - popd &> /dev/null
10570 -}
10571 -
10572 -# @FUNCTION: gnome2_gconf_install
10573 -# @DESCRIPTION:
10574 -# Applies any schema files installed by the current ebuild to Gconf's database
10575 -# using gconftool-2.
10576 -# This function should be called from pkg_postinst.
10577 -gnome2_gconf_install() {
10578 - has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
10579 - local updater="${EROOT}${GCONFTOOL_BIN}"
10580 -
10581 - if [[ ! -x "${updater}" ]]; then
10582 - debug-print "${updater} is not executable"
10583 - return
10584 - fi
10585 -
10586 - if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
10587 - debug-print "No GNOME 2 GConf schemas found"
10588 - return
10589 - fi
10590 -
10591 - # We are ready to install the GCONF Scheme now
10592 - unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10593 - export GCONF_CONFIG_SOURCE="$("${updater}" --get-default-source | sed "s;:/;:${ROOT};")"
10594 -
10595 - einfo "Installing GNOME 2 GConf schemas"
10596 -
10597 - local F
10598 - for F in ${GNOME2_ECLASS_SCHEMAS}; do
10599 - if [[ -e "${EROOT}${F}" ]]; then
10600 - debug-print "Installing schema: ${F}"
10601 - "${updater}" --makefile-install-rule "${EROOT}${F}" 1>/dev/null
10602 - fi
10603 - done
10604 -
10605 - # have gconf reload the new schemas
10606 - pids=$(pgrep -x gconfd-2)
10607 - if [[ $? == 0 ]] ; then
10608 - ebegin "Reloading GConf schemas"
10609 - kill -HUP ${pids}
10610 - eend $?
10611 - fi
10612 -}
10613 -
10614 -# @FUNCTION: gnome2_gconf_uninstall
10615 -# @DESCRIPTION:
10616 -# Removes schema files previously installed by the current ebuild from Gconf's
10617 -# database.
10618 -gnome2_gconf_uninstall() {
10619 - has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
10620 - local updater="${EROOT}${GCONFTOOL_BIN}"
10621 -
10622 - if [[ ! -x "${updater}" ]]; then
10623 - debug-print "${updater} is not executable"
10624 - return
10625 - fi
10626 -
10627 - if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
10628 - debug-print "No GNOME 2 GConf schemas found"
10629 - return
10630 - fi
10631 -
10632 - unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10633 - export GCONF_CONFIG_SOURCE="$("${updater}" --get-default-source | sed "s;:/;:${ROOT};")"
10634 -
10635 - einfo "Uninstalling GNOME 2 GConf schemas"
10636 -
10637 - local F
10638 - for F in ${GNOME2_ECLASS_SCHEMAS}; do
10639 - if [[ -e "${EROOT}${F}" ]]; then
10640 - debug-print "Uninstalling gconf schema: ${F}"
10641 - "${updater}" --makefile-uninstall-rule "${EROOT}${F}" 1>/dev/null
10642 - fi
10643 - done
10644 -
10645 - # have gconf reload the new schemas
10646 - pids=$(pgrep -x gconfd-2)
10647 - if [[ $? == 0 ]] ; then
10648 - ebegin "Reloading GConf schemas"
10649 - kill -HUP ${pids}
10650 - eend $?
10651 - fi
10652 -}
10653 -
10654 -# @FUNCTION: gnome2_icon_savelist
10655 -# @DESCRIPTION:
10656 -# Find the icons that are about to be installed and save their location
10657 -# in the GNOME2_ECLASS_ICONS environment variable.
10658 -# This function should be called from pkg_preinst.
10659 -gnome2_icon_savelist() {
10660 - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
10661 - pushd "${ED}" &> /dev/null
10662 - export GNOME2_ECLASS_ICONS=$(find 'usr/share/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null)
10663 - popd &> /dev/null
10664 -}
10665 -
10666 -# @FUNCTION: gnome2_icon_cache_update
10667 -# @DESCRIPTION:
10668 -# Updates Gtk+ icon cache files under /usr/share/icons if the current ebuild
10669 -# have installed anything under that location.
10670 -# This function should be called from pkg_postinst and pkg_postrm.
10671 -gnome2_icon_cache_update() {
10672 - has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
10673 - local updater="${EROOT}${GTK_UPDATE_ICON_CACHE}"
10674 -
10675 - if [[ ! -x "${updater}" ]] ; then
10676 - debug-print "${updater} is not executable"
10677 - return
10678 - fi
10679 -
10680 - if [[ -z "${GNOME2_ECLASS_ICONS}" ]]; then
10681 - debug-print "No icon cache to update"
10682 - return
10683 - fi
10684 -
10685 - ebegin "Updating icons cache"
10686 -
10687 - local retval=0
10688 - local fails=( )
10689 -
10690 - for dir in ${GNOME2_ECLASS_ICONS}
10691 - do
10692 - if [[ -f "${EROOT}${dir}/index.theme" ]] ; then
10693 - local rv=0
10694 -
10695 - "${updater}" -qf "${EROOT}${dir}"
10696 - rv=$?
10697 -
10698 - if [[ ! $rv -eq 0 ]] ; then
10699 - debug-print "Updating cache failed on ${EROOT}${dir}"
10700 -
10701 - # Add to the list of failures
10702 - fails[$(( ${#fails[@]} + 1 ))]="${EROOT}${dir}"
10703 -
10704 - retval=2
10705 - fi
10706 - elif [[ $(ls "${EROOT}${dir}") = "icon-theme.cache" ]]; then
10707 - # Clear stale cache files after theme uninstallation
10708 - rm "${EROOT}${dir}/icon-theme.cache"
10709 - fi
10710 -
10711 - if [[ -z $(ls "${EROOT}${dir}") ]]; then
10712 - # Clear empty theme directories after theme uninstallation
10713 - rmdir "${EROOT}${dir}"
10714 - fi
10715 - done
10716 -
10717 - eend ${retval}
10718 -
10719 - for f in "${fails[@]}" ; do
10720 - eerror "Failed to update cache with icon $f"
10721 - done
10722 -}
10723 -
10724 -# @FUNCTION: gnome2_omf_fix
10725 -# @DESCRIPTION:
10726 -# Workaround applied to Makefile rules in order to remove redundant
10727 -# calls to scrollkeeper-update and sandbox violations.
10728 -# This function should be called from src_prepare.
10729 -gnome2_omf_fix() {
10730 - local omf_makefiles filename
10731 -
10732 - omf_makefiles="$@"
10733 -
10734 - if [[ -f ${S}/omf.make ]] ; then
10735 - omf_makefiles="${omf_makefiles} ${S}/omf.make"
10736 - fi
10737 -
10738 - if [[ -f ${S}/gnome-doc-utils.make ]] ; then
10739 - omf_makefiles="${omf_makefiles} ${S}/gnome-doc-utils.make"
10740 - fi
10741 -
10742 - # testing fixing of all makefiles found
10743 - # The sort is important to ensure .am is listed before the respective .in for
10744 - # maintainer mode regeneration not kicking in due to .am being newer than .in
10745 - for filename in $(find "${S}" -name "Makefile.in" -o -name "Makefile.am" |sort) ; do
10746 - omf_makefiles="${omf_makefiles} ${filename}"
10747 - done
10748 -
10749 - ebegin "Fixing OMF Makefiles"
10750 -
10751 - local retval=0
10752 - local fails=( )
10753 -
10754 - for omf in ${omf_makefiles} ; do
10755 - sed -i -e 's:scrollkeeper-update:true:' "${omf}"
10756 - retval=$?
10757 -
10758 - if [[ $retval -ne 0 ]] ; then
10759 - debug-print "updating of ${omf} failed"
10760 -
10761 - # Add to the list of failures
10762 - fails[$(( ${#fails[@]} + 1 ))]=$omf
10763 -
10764 - retval=2
10765 - fi
10766 - done
10767 -
10768 - eend $retval
10769 -
10770 - for f in "${fails[@]}" ; do
10771 - eerror "Failed to update OMF Makefile $f"
10772 - done
10773 -}
10774 -
10775 -# @FUNCTION: gnome2_scrollkeeper_savelist
10776 -# @DESCRIPTION:
10777 -# Find the scrolls that are about to be installed and save their location
10778 -# in the GNOME2_ECLASS_SCROLLS environment variable.
10779 -# This function should be called from pkg_preinst.
10780 -gnome2_scrollkeeper_savelist() {
10781 - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
10782 - pushd "${ED}" &> /dev/null
10783 - export GNOME2_ECLASS_SCROLLS=$(find 'usr/share/omf' -type f -name "*.omf" 2> /dev/null)
10784 - popd &> /dev/null
10785 -}
10786 -
10787 -# @FUNCTION: gnome2_scrollkeeper_update
10788 -# @DESCRIPTION:
10789 -# Updates the global scrollkeeper database.
10790 -# This function should be called from pkg_postinst and pkg_postrm.
10791 -gnome2_scrollkeeper_update() {
10792 - has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
10793 - local updater="${EROOT}${SCROLLKEEPER_UPDATE_BIN}"
10794 -
10795 - if [[ ! -x "${updater}" ]] ; then
10796 - debug-print "${updater} is not executable"
10797 - return
10798 - fi
10799 -
10800 - if [[ -z "${GNOME2_ECLASS_SCROLLS}" ]]; then
10801 - debug-print "No scroll cache to update"
10802 - return
10803 - fi
10804 -
10805 - ebegin "Updating scrollkeeper database ..."
10806 - "${updater}" -q -p "${EROOT}${SCROLLKEEPER_DIR}"
10807 - eend $?
10808 -}
10809 -
10810 -# @FUNCTION: gnome2_schemas_savelist
10811 -# @DESCRIPTION:
10812 -# Find if there is any GSettings schema to install and save the list in
10813 -# GNOME2_ECLASS_GLIB_SCHEMAS variable.
10814 -# This function should be called from pkg_preinst.
10815 -gnome2_schemas_savelist() {
10816 - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
10817 - pushd "${ED}" &>/dev/null
10818 - export GNOME2_ECLASS_GLIB_SCHEMAS=$(find 'usr/share/glib-2.0/schemas' -name '*.gschema.xml' 2>/dev/null)
10819 - popd &>/dev/null
10820 -}
10821 -
10822 -# @FUNCTION: gnome2_schemas_update
10823 -# @USAGE: gnome2_schemas_update
10824 -# @DESCRIPTION:
10825 -# Updates GSettings schemas if GNOME2_ECLASS_GLIB_SCHEMAS has some.
10826 -# This function should be called from pkg_postinst and pkg_postrm.
10827 -gnome2_schemas_update() {
10828 - has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
10829 - local updater="${EROOT}${GLIB_COMPILE_SCHEMAS}"
10830 -
10831 - if [[ ! -x ${updater} ]]; then
10832 - debug-print "${updater} is not executable"
10833 - return
10834 - fi
10835 -
10836 - if [[ -z ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
10837 - debug-print "No GSettings schemas to update"
10838 - return
10839 - fi
10840 -
10841 - ebegin "Updating GSettings schemas"
10842 - ${updater} --allow-any-name "$@" "${EROOT%/}/usr/share/glib-2.0/schemas" &>/dev/null
10843 - eend $?
10844 -}
10845 -
10846 -# @FUNCTION: gnome2_query_immodules_gtk2
10847 -# @USAGE: gnome2_query_immodules_gtk2
10848 -# @DESCRIPTION:
10849 -# Updates gtk2 immodules/gdk-pixbuf loaders listing.
10850 -gnome2_query_immodules_gtk2() {
10851 - local GTK2_CONFDIR="/etc/gtk-2.0/$(get_abi_CHOST)"
10852 -
10853 - local query_exec="${EPREFIX}/usr/bin/gtk-query-immodules-2.0"
10854 - local gtk_conf="${EPREFIX}${GTK2_CONFDIR}/gtk.immodules"
10855 - local gtk_conf_dir=$(dirname "${gtk_conf}")
10856 -
10857 - einfo "Generating Gtk2 immodules/gdk-pixbuf loaders listing:"
10858 - einfo "-> ${gtk_conf}"
10859 -
10860 - mkdir -p "${gtk_conf_dir}"
10861 - local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules)
10862 - if [ -z "${tmp_file}" ]; then
10863 - ewarn "gtk_query_immodules: cannot create temporary file"
10864 - return 1
10865 - fi
10866 -
10867 - if ${query_exec} > "${tmp_file}"; then
10868 - cat "${tmp_file}" > "${gtk_conf}" || \
10869 - ewarn "Failed to write to ${gtk_conf}"
10870 - else
10871 - ewarn "Cannot update gtk.immodules, file generation failed"
10872 - fi
10873 - rm "${tmp_file}"
10874 -}
10875 -
10876 -# @FUNCTION: gnome2_query_immodules_gtk3
10877 -# @USAGE: gnome2_query_immodules_gtk3
10878 -# @DESCRIPTION:
10879 -# Updates gtk3 immodules/gdk-pixbuf loaders listing.
10880 -gnome2_query_immodules_gtk3() {
10881 - "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache
10882 -}
10883
10884 diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
10885 deleted file mode 100644
10886 index ccffdb6..0000000
10887 --- a/eclass/gnome2.eclass
10888 +++ /dev/null
10889 @@ -1,236 +0,0 @@
10890 -# Copyright 1999-2012 Gentoo Foundation
10891 -# Distributed under the terms of the GNU General Public License v2
10892 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.106 2012/05/09 08:23:14 pacho Exp $
10893 -
10894 -# @ECLASS: gnome2.eclass
10895 -# @MAINTAINER:
10896 -# gnome@g.o
10897 -# @BLURB:
10898 -# @DESCRIPTION:
10899 -# Exports portage base functions used by ebuilds written for packages using the
10900 -# GNOME framework. For additional functions, see gnome2-utils.eclass.
10901 -
10902 -inherit fdo-mime libtool gnome.org gnome2-utils
10903 -
10904 -case "${EAPI:-0}" in
10905 - 0|1)
10906 - EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm
10907 - ;;
10908 - 2|3|4|5)
10909 - EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
10910 - ;;
10911 - *) die "EAPI=${EAPI} is not supported" ;;
10912 -esac
10913 -
10914 -# @ECLASS-VARIABLE: G2CONF
10915 -# @DEFAULT-UNSET
10916 -# @DESCRIPTION:
10917 -# Extra configure opts passed to econf
10918 -G2CONF=${G2CONF:-""}
10919 -
10920 -# @ECLASS-VARIABLE: GNOME2_LA_PUNT
10921 -# @DESCRIPTION:
10922 -# Should we delete all the .la files?
10923 -# NOT to be used without due consideration.
10924 -GNOME2_LA_PUNT=${GNOME2_LA_PUNT:-"no"}
10925 -
10926 -# @ECLASS-VARIABLE: ELTCONF
10927 -# @DEFAULT-UNSET
10928 -# @DESCRIPTION:
10929 -# Extra options passed to elibtoolize
10930 -ELTCONF=${ELTCONF:-""}
10931 -
10932 -# @ECLASS-VARIABLE: USE_EINSTALL
10933 -# @DEFAULT-UNSET
10934 -# @DEPRECATED
10935 -# @DESCRIPTION:
10936 -# Should we use EINSTALL instead of DESTDIR
10937 -USE_EINSTALL=${USE_EINSTALL:-""}
10938 -
10939 -# @ECLASS-VARIABLE: SCROLLKEEPER_UPDATE
10940 -# @DEPRECATED
10941 -# @DESCRIPTION:
10942 -# Whether to run scrollkeeper for this package or not.
10943 -SCROLLKEEPER_UPDATE=${SCROLLKEEPER_UPDATE:-"1"}
10944 -
10945 -# @ECLASS-VARIABLE: DOCS
10946 -# @DEFAULT-UNSET
10947 -# @DESCRIPTION:
10948 -# String containing documents passed to dodoc command.
10949 -
10950 -# @ECLASS-VARIABLE: GCONF_DEBUG
10951 -# @DEFAULT_UNSET
10952 -# @DESCRIPTION:
10953 -# Whether to handle debug or not.
10954 -# Some gnome applications support various levels of debugging (yes, no, minimum,
10955 -# etc), but using --disable-debug also removes g_assert which makes debugging
10956 -# harder. This variable should be set to yes for such packages for the eclass
10957 -# to handle it properly. It will enable minimal debug with USE=-debug.
10958 -# Note that this is most commonly found in configure.ac as GNOME_DEBUG_CHECK.
10959 -
10960 -
10961 -if [[ ${GCONF_DEBUG} != "no" ]]; then
10962 - IUSE="debug"
10963 -fi
10964 -
10965 -
10966 -# @FUNCTION: gnome2_src_unpack
10967 -# @DESCRIPTION:
10968 -# Stub function for old EAPI.
10969 -gnome2_src_unpack() {
10970 - unpack ${A}
10971 - cd "${S}"
10972 - has ${EAPI:-0} 0 1 && gnome2_src_prepare
10973 -}
10974 -
10975 -# @FUNCTION: gnome2_src_prepare
10976 -# @DESCRIPTION:
10977 -# Prepare environment for build, fix build of scrollkeeper documentation,
10978 -# run elibtoolize.
10979 -gnome2_src_prepare() {
10980 - # Prevent assorted access violations and test failures
10981 - gnome2_environment_reset
10982 -
10983 - # Prevent scrollkeeper access violations
10984 - gnome2_omf_fix
10985 -
10986 - # Run libtoolize
10987 - if has ${EAPI:-0} 0 1 2 3; then
10988 - elibtoolize ${ELTCONF}
10989 - else
10990 - # Everything is fatal EAPI 4 onwards
10991 - nonfatal elibtoolize ${ELTCONF}
10992 - fi
10993 -
10994 -}
10995 -
10996 -# @FUNCTION: gnome2_src_configure
10997 -# @DESCRIPTION:
10998 -# Gnome specific configure handling
10999 -gnome2_src_configure() {
11000 - # Update the GNOME configuration options
11001 - if [[ ${GCONF_DEBUG} != 'no' ]] ; then
11002 - if use debug ; then
11003 - G2CONF="${G2CONF} --enable-debug=yes"
11004 - fi
11005 - fi
11006 -
11007 - # Prevent a QA warning
11008 - if has doc ${IUSE} ; then
11009 - grep -q "enable-gtk-doc" configure && G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
11010 - fi
11011 -
11012 - # Pass --disable-maintainer-mode when needed
11013 - if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then
11014 - G2CONF="${G2CONF} --disable-maintainer-mode"
11015 - fi
11016 -
11017 - # Pass --disable-scrollkeeper when possible
11018 - if grep -q "disable-scrollkeeper" configure; then
11019 - G2CONF="${G2CONF} --disable-scrollkeeper"
11020 - fi
11021 -
11022 - # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
11023 - addwrite "$(unset HOME; echo ~)/.gnome2"
11024 -
11025 - econf "$@" ${G2CONF}
11026 -}
11027 -
11028 -# @FUNCTION: gnome2_src_compile
11029 -# @DESCRIPTION:
11030 -# Stub function for old EAPI.
11031 -gnome2_src_compile() {
11032 - has ${EAPI:-0} 0 1 && gnome2_src_configure "$@"
11033 - emake || die "compile failure"
11034 -}
11035 -
11036 -# @FUNCTION: gnome2_src_install
11037 -# @DESCRIPTION:
11038 -# Gnome specific install. Handles typical GConf and scrollkeeper setup
11039 -# in packages and removal of .la files if requested
11040 -gnome2_src_install() {
11041 - has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
11042 - # if this is not present, scrollkeeper-update may segfault and
11043 - # create bogus directories in /var/lib/
11044 - local sk_tmp_dir="/var/lib/scrollkeeper"
11045 - dodir "${sk_tmp_dir}" || die "dodir failed"
11046 -
11047 - # we must delay gconf schema installation due to sandbox
11048 - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
11049 -
11050 - if [[ -z "${USE_EINSTALL}" || "${USE_EINSTALL}" = "0" ]]; then
11051 - debug-print "Installing with 'make install'"
11052 - emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" install || die "install failed"
11053 - else
11054 - debug-print "Installing with 'einstall'"
11055 - einstall "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" || die "einstall failed"
11056 - fi
11057 -
11058 - unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
11059 -
11060 - # Manual document installation
11061 - if [[ -n "${DOCS}" ]]; then
11062 - dodoc ${DOCS} || die "dodoc failed"
11063 - fi
11064 -
11065 - # Do not keep /var/lib/scrollkeeper because:
11066 - # 1. The scrollkeeper database is regenerated at pkg_postinst()
11067 - # 2. ${ED}/var/lib/scrollkeeper contains only indexes for the current pkg
11068 - # thus it makes no sense if pkg_postinst ISN'T run for some reason.
11069 - rm -rf "${ED}${sk_tmp_dir}"
11070 - rmdir "${ED}/var/lib" 2>/dev/null
11071 - rmdir "${ED}/var" 2>/dev/null
11072 -
11073 - # Make sure this one doesn't get in the portage db
11074 - rm -fr "${ED}/usr/share/applications/mimeinfo.cache"
11075 -
11076 - # Delete all .la files
11077 - if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
11078 - ebegin "Removing .la files"
11079 - if ! { has static-libs ${IUSE//+} && use static-libs; }; then
11080 - find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
11081 - fi
11082 - eend
11083 - fi
11084 -}
11085 -
11086 -# @FUNCTION: gnome2_pkg_preinst
11087 -# @DESCRIPTION:
11088 -# Finds Icons, GConf and GSettings schemas for later handling in pkg_postinst
11089 -gnome2_pkg_preinst() {
11090 - gnome2_gconf_savelist
11091 - gnome2_icon_savelist
11092 - gnome2_schemas_savelist
11093 - gnome2_scrollkeeper_savelist
11094 -}
11095 -
11096 -# @FUNCTION: gnome2_pkg_postinst
11097 -# @DESCRIPTION:
11098 -# Handle scrollkeeper, GConf, GSettings, Icons, desktop and mime
11099 -# database updates.
11100 -gnome2_pkg_postinst() {
11101 - gnome2_gconf_install
11102 - fdo-mime_desktop_database_update
11103 - fdo-mime_mime_database_update
11104 - gnome2_icon_cache_update
11105 - gnome2_schemas_update
11106 - gnome2_scrollkeeper_update
11107 -}
11108 -
11109 -# @#FUNCTION: gnome2_pkg_prerm
11110 -# @#DESCRIPTION:
11111 -# # FIXME Handle GConf schemas removal
11112 -#gnome2_pkg_prerm() {
11113 -# gnome2_gconf_uninstall
11114 -#}
11115 -
11116 -# @FUNCTION: gnome2_pkg_postrm
11117 -# @DESCRIPTION:
11118 -# Handle scrollkeeper, GSettings, Icons, desktop and mime database updates.
11119 -gnome2_pkg_postrm() {
11120 - fdo-mime_desktop_database_update
11121 - fdo-mime_mime_database_update
11122 - gnome2_icon_cache_update
11123 - gnome2_schemas_update
11124 - gnome2_scrollkeeper_update
11125 -}
11126
11127 diff --git a/eclass/gst-plugins-bad.eclass b/eclass/gst-plugins-bad.eclass
11128 deleted file mode 100644
11129 index 2689d5d..0000000
11130 --- a/eclass/gst-plugins-bad.eclass
11131 +++ /dev/null
11132 @@ -1,155 +0,0 @@
11133 -# Copyright 1999-2012 Gentoo Foundation
11134 -# Distributed under the terms of the GNU General Public License v2
11135 -# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-bad.eclass,v 1.44 2012/06/20 08:49:27 scarabeus Exp $
11136 -
11137 -#
11138 -# Original Author: Saleem Abdulrasool <compnerd@g.o>
11139 -# Based on the work of foser <foser@g.o> and zaheerm <zaheerm@g.o>
11140 -# Purpose: This elcass is designed to help package external gst-plugins per
11141 -# plugin rather than in a single package.
11142 -#
11143 -
11144 -inherit eutils multilib versionator gst-plugins10
11145 -
11146 -GSTBAD_EXPF="src_unpack src_compile src_install"
11147 -case "${EAPI:-0}" in
11148 - 2|3|4|5) GSTBAD_EXPF+=" src_prepare src_configure" ;;
11149 - 0|1) ;;
11150 - *) die "EAPI=\"${EAPI}\" is not supported yet" ;;
11151 -esac
11152 -
11153 -
11154 -EXPORT_FUNCTIONS ${GSTBAD_EXPF}
11155 -
11156 -# This list is current for gst-plugins-bad-0.10.21.
11157 -my_gst_plugins_bad="directsound directdraw osx_video quicktime vcd
11158 -assrender amrwb apexsink bz2 cdaudio celt cog dc1394 directfb dirac dts divx
11159 -faac faad fbdev flite gsm jp2k kate ladspa lv2 libmms
11160 -modplug mimic mpeg2enc mplex musepack musicbrainz mythtv nas neon ofa rsvg
11161 -timidity wildmidi sdl sdltest sndfile soundtouch spc gme swfdec xvid
11162 -dvb wininet acm vdpau schro zbar resindvd vp8"
11163 -
11164 -# When adding conditionals like below, be careful about having leading spaces
11165 -
11166 -# Changes in 0.10.22:
11167 -# New curlsink element in a new curl plugin
11168 -# New Blackmagic Decklink source and sink
11169 -# New Linear Systems SDI plugin
11170 -if version_is_at_least "0.10.22"; then
11171 - my_gst_plugins_bad+=" curl decklink linsys"
11172 -fi
11173 -
11174 -# Unused ancient theora decoder, better one in -base long ago
11175 -if ! version_is_at_least "0.10.22"; then
11176 - my_gst_plugins_bad+=" theoradec"
11177 -fi
11178 -
11179 -# Changes in 0.10.21:
11180 -# New opencv and apple_media plugins
11181 -if version_is_at_least "0.10.21"; then
11182 - my_gst_plugins_bad+=" opencv apple_media"
11183 -fi
11184 -
11185 -# exif for a specific jifmux tests purpose only.
11186 -# Made automagic in 0.10.22, which is fine as a non-installed test
11187 -if [ ${PV} == "0.10.21" ]; then
11188 - my_gst_plugins_bad+=" exif"
11189 -fi
11190 -
11191 -# jack moved to -good, metadata removed (functionality in base classes)
11192 -# alsaspdif gone (gst-plugins-alsa from -base can do spdif on its own long ago)
11193 -if ! version_is_at_least "0.10.21"; then
11194 - my_gst_plugins_bad+=" jack metadata alsa"
11195 -fi
11196 -
11197 -# Changes in 0.10.20:
11198 -# New split plugins rtmp, gsettings and shm
11199 -if version_is_at_least "0.10.20"; then
11200 - my_gst_plugins_bad+=" rtmp gsettings shm"
11201 -fi
11202 -
11203 -MY_PN="gst-plugins-bad"
11204 -MY_P=${MY_PN}-${PV}
11205 -
11206 -SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-bad/${MY_P}.tar.bz2"
11207 -
11208 -# added to remove circular deps
11209 -# 6/2/2006 - zaheerm
11210 -if [ "${PN}" != "${MY_PN}" ]; then
11211 -RDEPEND="=media-libs/gstreamer-0.10*
11212 - =media-libs/gst-plugins-base-0.10*
11213 - >=dev-libs/glib-2.6"
11214 -DEPEND="${RDEPEND}
11215 - sys-apps/sed
11216 - virtual/pkgconfig
11217 - sys-devel/gettext"
11218 -
11219 -# -bad-0.10.20 uses orc optionally instead of liboil unconditionally.
11220 -# While <0.10.20 configure always check for liboil, it is used only by non-split
11221 -# plugins in gst/ (legacyresample and mpegdemux), so we only builddep for all
11222 -# old packages, and have a RDEPEND in old versions of media-libs/gst-plugins-bad
11223 -if ! version_is_at_least "0.10.20"; then
11224 -DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
11225 -fi
11226 -
11227 -RESTRICT=test
11228 -fi
11229 -S=${WORKDIR}/${MY_P}
11230 -
11231 -gst-plugins-bad_src_unpack() {
11232 -# local makefiles
11233 -
11234 - unpack ${A}
11235 - has src_prepare ${GSTBAD_EXPF} || gst-plugins-bad_src_prepare
11236 -}
11237 -
11238 -gst-plugins-bad_src_prepare() {
11239 - # Link with the syswide installed gst-libs if needed
11240 - gst-plugins10_find_plugin_dir
11241 - sed -e "s:\$(top_builddir)/gst-libs/gst/interfaces/libgstphotography:${ROOT}/usr/$(get_libdir)/libgstphotography:" \
11242 - -e "s:\$(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor:${ROOT}/usr/$(get_libdir)/libgstsignalprocessor:" \
11243 - -e "s:\$(top_builddir)/gst-libs/gst/video/libgstbasevideo:${ROOT}/usr/$(get_libdir)/libgstbasevideo:" \
11244 - -e "s:\$(top_builddir)/gst-libs/gst/basecamerabinsrc/libgstbasecamerabinsrc:${ROOT}/usr/$(get_libdir)/libgstbasecamerabinsrc:" \
11245 - -i Makefile.in
11246 -
11247 - # Remove generation of any other Makefiles except the plugin's Makefile
11248 -# if [[ -d "${S}/sys/${GST_PLUGINS_BUILD_DIR}" ]] ; then
11249 -# makefiles="Makefile sys/Makefile sys/${GST_PLUGINS_BUILD_DIR}/Makefile"
11250 -# elif [[ -d "${S}/ext/${GST_PLUGINS_BUILD_DIR}" ]] ; then
11251 -# makefiles="Makefile ext/Makefile ext/${GST_PLUGINS_BUILD_DIR}/Makefile"
11252 -# fi
11253 -
11254 -# sed -e "s:ac_config_files=.*:ac_config_files='${makefiles}':" \
11255 -# -i ${S}/configure
11256 -}
11257 -
11258 -gst-plugins-bad_src_configure() {
11259 - local plugin gst_conf
11260 -
11261 - einfo "Configuring to build ${GST_PLUGINS_BUILD} plugin(s) ..."
11262 -
11263 - for plugin in ${my_gst_plugins_bad} ; do
11264 - gst_conf+=" --disable-${plugin}"
11265 - done
11266 -
11267 - for plugin in ${GST_PLUGINS_BUILD} ; do
11268 - gst_conf+=" --enable-${plugin}"
11269 - done
11270 -
11271 - cd ${S}
11272 - econf ${@} --with-package-name="Gentoo GStreamer Ebuild" --with-package-origin="http://www.gentoo.org" ${gst_conf}
11273 -}
11274 -
11275 -gst-plugins-bad_src_compile() {
11276 - has src_configure ${GSTBAD_EXPF} || gst-plugins-bad_src_configure ${@}
11277 -
11278 - gst-plugins10_find_plugin_dir
11279 - emake || die "compile failure"
11280 -}
11281 -
11282 -gst-plugins-bad_src_install() {
11283 - gst-plugins10_find_plugin_dir
11284 - einstall || die "install failed"
11285 -
11286 - [[ -e README ]] && dodoc README
11287 -}
11288
11289 diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
11290 deleted file mode 100644
11291 index 575e3de..0000000
11292 --- a/eclass/gtk-sharp-module.eclass
11293 +++ /dev/null
11294 @@ -1,547 +0,0 @@
11295 -# Copyright 1999-2012 Gentoo Foundation
11296 -# Distributed under the terms of the GNU General Public License v2
11297 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.35 2012/05/02 18:31:42 jdhore Exp $
11298 -
11299 -# @ECLASS: gtk-sharp-module.eclass
11300 -# @MAINTAINER:
11301 -# dotnet@g.o
11302 -# @BLURB: Manages the modules of the gtk-, gnome-, and gnome-desktop-sharp tarballs
11303 -# @DESCRIPTION:
11304 -# This eclass provides phase functions and helper functions for the modules
11305 -# of the gtk-sharp, gnome-sharp and gnome-desktop-sharp tarballs.
11306 -# PLEASE TAKE NOTE: ONLY FOR EAPI-2 EBUILDS
11307 -
11308 -WANT_AUTOMAKE=none
11309 -WANT_AUTOCONF=none
11310 -
11311 -inherit eutils mono multilib libtool autotools base versionator
11312 -
11313 -case ${EAPI:-0} in
11314 - 2|3|4|5) ;;
11315 - *) die "Unknown EAPI." ;;
11316 -esac
11317 -
11318 -# @ECLASS-VARIABLE: GTK_SHARP_MODULE
11319 -# @DESCRIPTION:
11320 -# The name of the Gtk# module.
11321 -# Default value: ${PN/-sharp/}
11322 -GTK_SHARP_MODULE=${GTK_SHARP_MODULE:=${PN/-sharp/}}
11323 -
11324 -# @ECLASS-VARIABLE: GTK_SHARP_MODULE_DIR
11325 -# @DESCRIPTION:
11326 -# The subdirectory of S in which GTK_SHARP_MODULE is installed.
11327 -# Default value: ${PN/-sharp/}
11328 -GTK_SHARP_MODULE_DIR=${GTK_SHARP_MODULE_DIR:=${PN/-sharp/}}
11329 -
11330 -# @ECLASS-VARIABLE: GTK_SHARP_REQUIRED_VERSION
11331 -# @DESCRIPTION:
11332 -# The version of the gtk-sharp tarball this package requires.
11333 -# Optional.
11334 -GTK_SHARP_REQUIRED_VERSION="${GTK_SHARP_REQUIRED_VERSION}"
11335 -
11336 -# @ECLASS-VARIABLE: gapi_users_list
11337 -# @DESCRIPTION:
11338 -# List of modules that use one of gapi2-codegen, gapi2-fixup or gapi2-parser
11339 -# No ebuild-serviceable parts inside.
11340 -gapi_users_list="art gnome gnomevfs ${gnome_desktop_sharp_module_list} atk gtk gdk glade pango"
11341 -
11342 -# @ECLASS-VARIABLE: PV_MAJOR
11343 -# @DESCRIPTION:
11344 -# The first two components of the PV variable.
11345 -PV_MAJOR=$(get_version_component_range 1-2)
11346 -
11347 -# @FUNCTION: add_bdepend
11348 -# @USAGE: <package atom>
11349 -# @DESCRIPTION:
11350 -# Adds to the DEPEND variable
11351 -add_bdepend() {
11352 - [[ ${#@} -eq 1 ]] || die "${FUNCNAME} needs ONE (1) argument"
11353 - DEPEND="${DEPEND} $@"
11354 -}
11355 -
11356 -# @FUNCTION: add_rdepend
11357 -# @USAGE: <package atom>
11358 -# @DESCRIPTION:
11359 -# Adds to the RDEPEND variable
11360 -add_rdepend() {
11361 - [[ ${#@} -eq 1 ]] || die "${FUNCNAME} needs ONE (1) argument"
11362 - RDEPEND="${RDEPEND} $@"
11363 -}
11364 -
11365 -# @FUNCTION: add_depend
11366 -# @USAGE: <package atom>
11367 -# @DESCRIPTION:
11368 -# Adds to the DEPEND and RDEPEND variables
11369 -add_depend() {
11370 - [[ ${#@} -eq 1 ]] || die "${FUNCNAME} needs ONE (1) argument"
11371 - DEPEND="${DEPEND} $@"
11372 - RDEPEND="${RDEPEND} $@"
11373 -}
11374 -
11375 -# @ECLASS-VARIABLE: TARBALL
11376 -# @DESCRIPTION:
11377 -# The GtkSharp modules are currently divided into three seperate tarball
11378 -# distributions. The TARBALL variable holds the name of the tarball
11379 -# to which GTK_SHARP_MODULE belongs.
11380 -case ${GTK_SHARP_MODULE} in
11381 - glib|glade|gtk|gdk|atk|pango|gtk-dotnet|gtk-gapi|gtk-docs)
11382 - TARBALL="gtk-sharp"
11383 - case ${PVR} in
11384 - 2.12.*)
11385 - SRC_URI="mirror://gentoo/${TARBALL}-2.12.7.patch.bz2"
11386 - #Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno
11387 - #Upstream bug #470390 for the gtk-sharp-2.12.7.patch
11388 - PATCHES=(
11389 - "${WORKDIR}/${TARBALL}-2.12.7.patch"
11390 - )
11391 - EAUTORECONF="YES"
11392 - add_bdepend "=sys-devel/automake-1.10*"
11393 - add_bdepend ">=sys-devel/autoconf-2.61"
11394 - ;;
11395 - esac
11396 - ;;
11397 - art|gnome|gnomevfs|gconf)
11398 - TARBALL="gnome-sharp"
11399 - add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
11400 - has "${GTK_SHARP_MODULE}" "${gapi_users_list}" && \
11401 - add_bdepend "=dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}*"
11402 - case ${PVR} in
11403 - 2.24.1*)
11404 - SRC_URI="mirror://gentoo/${TARBALL}-2.24.1.patch.bz2"
11405 - # Upstream bug: https://bugzilla.novell.com/show_bug.cgi?id=483251
11406 - PATCHES=(
11407 - "${WORKDIR}/${TARBALL}-2.24.1.patch"
11408 - )
11409 - EAUTORECONF="YES"
11410 - add_bdepend "=sys-devel/automake-1.10*"
11411 - add_bdepend ">=sys-devel/autoconf-2.61"
11412 - ;;
11413 - 2.24.2*)
11414 - add_depend ">=dev-lang/mono-2.7"
11415 - ;;
11416 - esac
11417 - ;;
11418 - gnome-desktop|gnome-print|gnome-panel|gtkhtml|gtksourceview|nautilusburn|rsvg|vte|wnck)
11419 - TARBALL="gnome-desktop-sharp"
11420 - add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
11421 - add_depend "=dev-dotnet/gnome-sharp-2.24*"
11422 - add_depend "gnome-base/gnome-desktop:2"
11423 - add_bdepend "=dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}*"
11424 - ;;
11425 - *)
11426 - eerror "Huh? Sonny boy, looks like your GTK_SHARP_MODULE is not on the approved list. BAILING!"
11427 - die "How did we get here!!?"
11428 - ;;
11429 -esac
11430 -
11431 -case ${PF} in
11432 - #gtk-sharp tarball
11433 - gtk-sharp-docs*)
11434 - add_depend ">=virtual/monodoc-2.0"
11435 - ;;
11436 - gtk-sharp-gapi*)
11437 - add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
11438 - add_depend "dev-perl/XML-LibXML"
11439 - ;;
11440 - gtk-sharp-*)
11441 - add_bdepend "~dev-dotnet/gtk-sharp-gapi-${PV}"
11442 - add_depend "~dev-dotnet/glib-sharp-${PV}"
11443 - add_depend "~dev-dotnet/atk-sharp-${PV}"
11444 - add_depend "~dev-dotnet/gdk-sharp-${PV}"
11445 - add_depend "~dev-dotnet/pango-sharp-${PV}"
11446 - ;;
11447 - gdk-sharp-*)
11448 - add_bdepend "~dev-dotnet/gtk-sharp-gapi-${PV}"
11449 - add_depend "~dev-dotnet/glib-sharp-${PV}"
11450 - add_depend "x11-libs/gtk+:2"
11451 - add_depend "~dev-dotnet/pango-sharp-${PV}"
11452 - add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
11453 - ;;
11454 - atk-sharp-*)
11455 - add_bdepend "~dev-dotnet/gtk-sharp-gapi-${PV}"
11456 - add_depend "~dev-dotnet/glib-sharp-${PV}"
11457 - add_depend "dev-libs/atk"
11458 - add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
11459 - ;;
11460 - glib-sharp-*)
11461 - add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
11462 - add_depend "dev-libs/glib:2"
11463 - ;;
11464 - pango-sharp-*)
11465 - add_bdepend "~dev-dotnet/gtk-sharp-gapi-${PV}"
11466 - add_depend "~dev-dotnet/glib-sharp-${PV}"
11467 - add_depend "x11-libs/pango"
11468 - add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
11469 - ;;
11470 - gtk-dotnet-*)
11471 - add_depend "~dev-dotnet/glib-sharp-${PV}"
11472 - add_depend "~dev-dotnet/gdk-sharp-${PV}"
11473 - add_depend "~dev-dotnet/pango-sharp-${PV}"
11474 - add_depend "~dev-dotnet/gtk-sharp-${PV}"
11475 - add_depend "dev-lang/mono[-minimal]"
11476 - add_rdepend "!<=dev-dotnet/gtk-sharp-2.12.7:2"
11477 - ;;
11478 - glade-sharp-*)
11479 - add_bdepend "~dev-dotnet/gtk-sharp-gapi-${PV}"
11480 - add_depend "~dev-dotnet/glib-sharp-${PV}"
11481 - add_depend "~dev-dotnet/atk-sharp-${PV}"
11482 - add_depend "~dev-dotnet/gdk-sharp-${PV}"
11483 - add_depend "~dev-dotnet/gtk-sharp-${PV}"
11484 - add_depend "~dev-dotnet/pango-sharp-${PV}"
11485 - add_depend ">=gnome-base/libglade-2.3.6:2.0"
11486 - ;;
11487 - #gnome-sharp tarball
11488 - art-sharp-*)
11489 - add_depend ">=media-libs/libart_lgpl-2.3.20"
11490 - ;;
11491 - gnome-sharp-*)
11492 - add_depend ">=gnome-base/libgnomeui-${PV_MAJOR}"
11493 - add_depend "~dev-dotnet/gnomevfs-sharp-${PV}"
11494 - add_depend "~dev-dotnet/art-sharp-${PV}"
11495 - add_depend ">=gnome-base/libgnomecanvas-${GNOMECANVAS_REQUIRED_VERSION}"
11496 - add_depend ">=x11-libs/gtk+-2.14.0:2"
11497 - ;;
11498 - gconf-sharp-*)
11499 - add_depend ">=gnome-base/gconf-${PV_MAJOR}:2"
11500 - add_depend "=dev-dotnet/glade-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
11501 - add_depend "~dev-dotnet/gnome-sharp-${PV}"
11502 - add_depend "~dev-dotnet/art-sharp-${PV}"
11503 - ;;
11504 - gnomevfs-sharp-*)
11505 - add_depend ">=gnome-base/gnome-vfs-${PV_MAJOR}:2"
11506 - ;;
11507 - #gnome-desktop-sharp tarball
11508 - gnome-desktop-sharp-*)
11509 - # NOTE: libgnome-desktop-2.so has been known to make binary-
11510 - # incompatible changes, requiring .so bumps. gnome-desktop-sharp
11511 - # is locked to a specific .so.n version, so strict dependencies
11512 - # may be required in the future (as it has in the past).
11513 - add_depend ">=gnome-base/gnome-desktop-${PV_MAJOR}:2"
11514 - ;;
11515 - gnome-panel-sharp-*)
11516 - add_depend ">=gnome-base/gnome-panel-${PV_MAJOR}"
11517 - ;;
11518 - gnome-print-sharp-*)
11519 - add_depend "gnome-base/libgnomeprint:2.2"
11520 - add_depend "gnome-base/libgnomeprintui:2.2"
11521 - ;;
11522 - gtkhtml-sharp-*)
11523 - #NOTE: gtkhtml dependency must follow gtkhtml-sharp version.
11524 - #i.e. gtkhtml-sharp-2.24.0 >=gtkhtml-3.24
11525 - # gtkhtml-sharp-2.16.0 >=gtkhtml-3.16
11526 - # See bug 249540 for unpleasant side effects.
11527 - add_depend ">=gnome-extra/gtkhtml-$(($(get_version_component_range 1) + 1 )).$(get_version_component_range 2):3.14"
11528 - ;;
11529 - gtksourceview-sharp-*)
11530 - add_depend ">=x11-libs/gtksourceview-${GTKSOURCEVIEW_REQUIRED_VERSION}:2.0"
11531 - ;;
11532 - nautilusburn-sharp-*)
11533 - add_depend ">=gnome-extra/nautilus-cd-burner-2.24.0"
11534 - ;;
11535 - rsvg-sharp-*)
11536 - add_depend ">=gnome-base/librsvg-${RSVG_REQUIRED_VERSION}:2"
11537 - ;;
11538 - vte-sharp-*)
11539 - add_depend ">=x11-libs/vte-${VTE_REQUIRED_VERSION}:0"
11540 - ;;
11541 - wnck-sharp-*)
11542 - add_depend ">=x11-libs/libwnck-${PV_MAJOR}:1"
11543 - ;;
11544 -esac
11545 -
11546 -# @ECLASS-VARIABLE: DESCRIPTION
11547 -# @DESCRIPTION:
11548 -# Default value: GtkSharp's ${GTK_SHARP_MODULE} module of the ${TARBALL} tarball
11549 -DESCRIPTION="GtkSharp's ${GTK_SHARP_MODULE} module of the ${TARBALL} tarball"
11550 -# @ECLASS-VARIABLE: HOMEPAGE
11551 -# @DESCRIPTION:
11552 -# Default value: http://www.mono-project.com/GtkSharp
11553 -HOMEPAGE="http://www.mono-project.com/GtkSharp"
11554 -# @ECLASS-VARIABLE: LICENSE
11555 -# @DESCRIPTION:
11556 -# Default value: LGPL-2.1
11557 -LICENSE="LGPL-2.1"
11558 -
11559 -add_depend ">=dev-lang/mono-2.0.1"
11560 -add_bdepend ">=sys-apps/sed-4"
11561 -add_bdepend "virtual/pkgconfig"
11562 -add_bdepend ">=app-shells/bash-3.1"
11563 -
11564 -IUSE="debug"
11565 -# @ECLASS-VARIABLE: S
11566 -# @DESCRIPTION:
11567 -# Default value: ${WORKDIR}/${TARBALL}-${PV}
11568 -S="${WORKDIR}/${TARBALL}-${PV}"
11569 -# @ECLASS-VARIABLE: SRC_URI
11570 -# @DESCRIPTION:
11571 -# Default value: mirror://gnome/sources/${TARBALL}/${PV_MAJOR}/${TARBALL}-${PV}.tar.bz2
11572 -SRC_URI="${SRC_URI}
11573 - mirror://gnome/sources/${TARBALL}/${PV_MAJOR}/${TARBALL}-${PV}.tar.bz2"
11574 -
11575 -# @FUNCTION: get_sharp_apis
11576 -# @USAGE: <type> <pkgconfig-package>
11577 -# @RETURN: .NET API files
11578 -# @DESCRIPTION:
11579 -# Given a valid pkg-config package, will return a list of API xml files.
11580 -# <type> can be either --prefixed or --bare. If prefixed, each API file
11581 -# will be prefixed with -I:
11582 -get_sharp_apis() {
11583 - [[ ${#@} -eq 2 ]] || die "${FUNCNAME} needs two arguments"
11584 - get_sharp_assemblies "$@"
11585 -}
11586 -
11587 -# @FUNCTION: get_sharp_assemblies
11588 -# @USAGE: <type> <pkgconfig-package>
11589 -# @RETURN: .NET .dll assemblies
11590 -# @DESCRIPTION:
11591 -# Given a valid pkg-config package, will return a list of .dll assemblies.
11592 -# <type> can be either --prefixed or --bare. If prefixed, each .dll file
11593 -# will be prefixed with -r:
11594 -get_sharp_assemblies() {
11595 - [[ ${#@} -eq 2 ]] || die "${FUNCNAME} needs two arguments"
11596 - local string config=libs prefix="-r:"
11597 - local -a rvalue
11598 - [[ "${FUNCNAME[1]}" = "get_sharp_apis" ]] && config=cflags && prefix="-I:"
11599 - for string in $(pkg-config --${config} ${2} 2> /dev/null)
11600 - do
11601 - rvalue+=( ${string#-?:} )
11602 - done
11603 -
11604 - case $1 in
11605 - --bare)
11606 - :
11607 - ;;
11608 - --prefixed)
11609 - for (( i=0 ; i< ${#rvalue[@]} ; i++ ))
11610 - do
11611 - rvalue[$i]=${prefix}${rvalue[$i]}
11612 - done
11613 - ;;
11614 - *)
11615 - die "${FUNCNAME}: Unknown parameter"
11616 - ;;
11617 - esac
11618 - echo "${rvalue[@]}"
11619 -}
11620 -
11621 -# @FUNCTION: phase_hook
11622 -# @USAGE: <prefix>
11623 -# @DESCRIPTION:
11624 -# Looks for functions named <prefix>_caller_suffix and executes them.
11625 -# _caller_suffix is the calling function with the prefix
11626 -# gtk-sharp-module removed.
11627 -phase_hook() {
11628 - [[ ${#@} -eq 1 ]] || die "${FUNCNAME} needs one argument"
11629 - if [[ "$(type -t ${1}${FUNCNAME[1]#gtk-sharp-module})" = "function" ]]
11630 - then
11631 - ebegin "Phase-hook: Running ${1}${FUNCNAME[1]#gtk-sharp-module}"
11632 - ${1}${FUNCNAME[1]#gtk-sharp-module}
11633 - eend 0
11634 - fi
11635 -}
11636 -
11637 -# @FUNCTION: ac_path_prog_override
11638 -# @USAGE: <PROG> [path]
11639 -# @DESCRIPTION:
11640 -# Override AC_PATH_PROG() autoconf macros. Path will be set to " " if
11641 -# not specified.
11642 -ac_path_prog_override() {
11643 - if [[ ${#@} -lt 1 || ${#@} -gt 2 ]]
11644 - then
11645 - eerror "${FUNCNAME[0]} requires at least one parameter and takes at most two:"
11646 - eerror "AC_PATH_PROG(PARAM1, param2)"
11647 - die "${FUNCNAME[0]} requires at least one parameter and takes at most two:"
11648 - fi
11649 - export ac_cv_path_${1}="${2:- }"
11650 -}
11651 -
11652 -
11653 -# @FUNCTION: pkg_check_modules_override
11654 -# @USAGE: <GROUP> [package1] [package2]
11655 -# @DESCRIPTION:
11656 -# Will export the appropriate variables to override PKG_CHECK_MODULES autoconf
11657 -# macros, with the string " " by default. If packages are specified, they will
11658 -# be looked up with pkg-config and the appropriate LIBS and CFLAGS substituted.
11659 -# LIBS and CFLAGS can also be specified per-package with the following syntax:
11660 -# @CODE
11661 -# package=LIBS%CFLAGS
11662 -# @CODE
11663 -# = and % have no effect unless both are specified.
11664 -# Here is an example:
11665 -# @CODE
11666 -# pkg_check_modules_override GASH "gtk+-2.0=-jule%" gobject-2.0
11667 -# @CODE
11668 -# The above example will do:
11669 -# export GASH_CFLAGS+=" -jule"
11670 -# export GASH_LIBS+=" "
11671 -# export GASH_CFLAGS+=" $(pkg-config --cflags gobject-2.0)"
11672 -# export GASH_LIBS+=" $(pkg-config --libs gobject-2.0)"
11673 -#
11674 -# NOTE: If a package is not found, the string " " will be inserted in place of
11675 -# <GROUP>_CFLAGS and <GROUP>_LIBS
11676 -pkg_check_modules_override() {
11677 - local package
11678 - local group="${1}"
11679 - local packages="${*:2}"
11680 - export ${group}_CFLAGS=" "
11681 - export ${group}_LIBS=" "
11682 -
11683 - if [[ ${#@} -lt 1 ]]
11684 - then
11685 - eerror "${FUNCNAME[0]} requires at least one parameter: GROUP"
11686 - eerror "PKG_CHECK_MODULES(GROUP, package1 package2 etc)"
11687 - die "${FUNCNAME[0]} requires at least one parameter: GROUP"
11688 - fi
11689 -
11690 - for package in $packages
11691 - do
11692 - if [[ ${package/=} != ${package} && ${package/\%} != ${package} ]]
11693 - then
11694 - package_cflag_libs=${package##*=}
11695 - export ${group}_CFLAGS+=" ${package_cflag_libs%%\%*}"
11696 - export ${group}_LIBS+=" ${package_cflag_libs##*\%}"
11697 - else
11698 - if pkg-config --exists $package
11699 - then
11700 - export ${group}_CFLAGS+=" $(pkg-config --cflags $package)"
11701 - export ${group}_LIBS+=" $(pkg-config --libs $package)"
11702 - else
11703 - export ${group}_CFLAGS+=" "
11704 - export ${group}_LIBS+=" "
11705 - fi
11706 - fi
11707 - done
11708 -}
11709 -
11710 -# @FUNCTION: gtk-sharp-tarball-post_src_prepare
11711 -# @DESCRIPTION:
11712 -# Runs a M-m-m-monster sed on GTK_SHARP_MODULE_DIR to convert references to
11713 -# local assemblies to the installed ones. Is only called by src_prepare when
11714 -# $GTK_SHARP_MODULE is a member of $gtk_sharp_module_list.
11715 -gtk-sharp-tarball-post_src_prepare() {
11716 - has "${EAPI:-0}" 2 && ! use prefix && EPREFIX=
11717 - cd "${S}/${GTK_SHARP_MODULE_DIR}"
11718 - sed -i \
11719 - -e "s; \$(srcdir)/../glib/glib-api.xml; $(get_sharp_apis --bare glib-sharp-2.0);" \
11720 - -e "s; ../pango/pango-api.xml; $(get_sharp_apis --bare pango-sharp-2.0);" \
11721 - -e "s; ../atk/atk-api.xml; $(get_sharp_apis --bare atk-sharp-2.0);" \
11722 - -e "s; ../gdk/gdk-api.xml; $(get_sharp_apis --bare gdk-sharp-2.0);" \
11723 - -e "s; ../gtk/gtk-api.xml; $(get_sharp_apis --bare gtk-sharp-2.0);" \
11724 - -e "s; \.\./glib/glib-sharp.dll; $(get_sharp_assemblies --bare glib-sharp-2.0);g" \
11725 - -e "s; \.\./pango/pango-sharp.dll; $(get_sharp_assemblies --bare pango-sharp-2.0);g" \
11726 - -e "s; \.\./atk/atk-sharp.dll; $(get_sharp_assemblies --bare atk-sharp-2.0);g" \
11727 - -e "s; \.\./gdk/gdk-sharp.dll; $(get_sharp_assemblies --bare gdk-sharp-2.0);g" \
11728 - -e "s; \.\./gtk/gtk-sharp.dll; $(get_sharp_assemblies --bare gtk-sharp-2.0);g" \
11729 - -e "s;\$(RUNTIME) \$(top_builddir)/parser/gapi-fixup.exe;${EPREFIX}/usr/bin/gapi2-fixup;" \
11730 - -e "s;\$(RUNTIME) \$(top_builddir)/generator/gapi_codegen.exe;${EPREFIX}/usr/bin/gapi2-codegen;" \
11731 - -e "s:\$(SYMBOLS) \$(top_builddir)/parser/gapi-fixup.exe:\$(SYMBOLS):" \
11732 - -e "s:\$(INCLUDE_API) \$(top_builddir)/generator/gapi_codegen.exe:\$(INCLUDE_API):" \
11733 - $(find . -name Makefile.in) || die "failed to fix ${TARBALL}-tarball makefiles"
11734 -}
11735 -
11736 -# @FUNCTION: gnome-sharp-tarball-post_src_prepare
11737 -# @DESCRIPTION:
11738 -# Runs a M-m-m-monster sed on GTK_SHARP_MODULE_DIR to convert references to
11739 -# local assemblies to the installed ones. Is only called by src_prepare when
11740 -# $GTK_SHARP_MODULE is a member of $gnome_sharp_module_list.
11741 -gnome-sharp-tarball-post_src_prepare() {
11742 - cd "${S}/${GTK_SHARP_MODULE_DIR}"
11743 - sed -i \
11744 - -e "s; ../gnomevfs/gnome-vfs-api.xml; $(get_sharp_apis --bare gnome-vfs-sharp-2.0);" \
11745 - -e "s; ../art/art-api.xml; $(get_sharp_apis --bare art-sharp-2.0);" \
11746 - -e "s; \.\./art/art-sharp.dll; $(get_sharp_assemblies --bare art-sharp-2.0);g" \
11747 - -e "s; \.\./gnomevfs/gnome-vfs-sharp.dll; $(get_sharp_assemblies --bare gnome-vfs-sharp-2.0);g" \
11748 - -e "s;/r:\$(top_builddir)/art/art-sharp.dll;$(get_sharp_assemblies --prefixed art-sharp-2.0);" \
11749 - -e "s;/r:\$(top_builddir)/gnome/gnome-sharp.dll;$(get_sharp_assemblies --prefixed gnome-sharp-2.0);" \
11750 - $(find . -name Makefile.in) || die "failed to fix ${TARBALL}-tarball makefiles"
11751 -}
11752 -
11753 -# @FUNCTION: gtk-sharp-module_src_prepare
11754 -# @DESCRIPTION:
11755 -# Runs autopatch from base.eclass, eautoreconf if EAUTORECONF is set to any
11756 -# value.
11757 -# Contains a phase_hook, runs very last.
11758 -# phase_hook prefix trigger: ${TARBALL}-tarball-post
11759 -# Is exported.
11760 -gtk-sharp-module_src_prepare() {
11761 - base_src_prepare
11762 -# @ECLASS-VARIABLE: EAUTORECONF
11763 -# @DESCRIPTION:
11764 -# If set, EAUTORECONF will be run during src_prepare.
11765 - [[ ${EAUTORECONF} ]] && eautoreconf
11766 - phase_hook ${TARBALL}-tarball-post
11767 - elibtoolize
11768 -}
11769 -
11770 -# @FUNCTION: gtk-sharp-tarball_src_configure
11771 -# @DESCRIPTION:
11772 -# Sets some environment variables that will allow us to make the dependencies
11773 -# for each ebuild be only its own dependencies, without patching configure.
11774 -# Is only called by gtk-sharp-module_src_configure when $GTK_SHARP_MODULE
11775 -# is a member of $gtk_sharp_module_list.
11776 -gtk-sharp-tarball_src_configure() {
11777 - pkg_check_modules_override GLIB gobject-2.0
11778 - pkg_check_modules_override GIO gio-2.0
11779 - pkg_check_modules_override PANGO pango
11780 - pkg_check_modules_override ATK atk
11781 - pkg_check_modules_override GTK gtk+-2.0
11782 - pkg_check_modules_override GLADE libglade-2.0
11783 -}
11784 -
11785 -# @FUNCTION: gnome-sharp-tarball_src_configure
11786 -# @DESCRIPTION:
11787 -# Sets some environment variables that will allow us to make the dependencies
11788 -# for each ebuild be only its own dependencies. Without patching configure.
11789 -# Is only called by gtk-sharp-module_src_configure when $GTK_SHARP_MODULE
11790 -# is a member of $gnome_sharp_module_list.
11791 -gnome-sharp-tarball_src_configure() {
11792 - has "${EAPI:-0}" 2 && ! use prefix && EPREFIX=
11793 - pkg_check_modules_override GLADESHARP glade-sharp-2.0
11794 - pkg_check_modules_override GAPI gapi-2.0
11795 - ac_path_prog_override GAPI_PARSER "${EPREFIX}"/usr/bin/gapi2-parser
11796 - ac_path_prog_override GAPI_CODEGEN "${EPREFIX}"/usr/bin/gapi2-codegen
11797 - ac_path_prog_override GAPI_FIXUP "${EPREFIX}"/usr/bin/gapi2-fixup
11798 -}
11799 -
11800 -# @FUNCTION: gtk-sharp-module_src_configure
11801 -# @USAGE: [econf-arguments]
11802 -# @DESCRIPTION:
11803 -# Calls econf with some default values.
11804 -# Contains a phase_hook, run before econf.
11805 -# phase_hook prefix trigger: ${TARBALL}-tarball
11806 -# Is exported.
11807 -gtk-sharp-module_src_configure() {
11808 - phase_hook ${TARBALL}-tarball
11809 - econf --disable-static \
11810 - --disable-dependency-tracking \
11811 - --disable-maintainer-mode \
11812 - $(use debug &&echo "--enable-debug" ) \
11813 - ${@} || die "econf failed"
11814 -}
11815 -
11816 -# @FUNCTION: gtk-sharp-module_src_compile
11817 -# @DESCRIPTION:
11818 -# Calls emake in the subdir of the module.
11819 -# Sets CSC=/usr/bin/gmcs. Deletes top_srcdir Makefiles to prevent recursing in
11820 -# case we missed some dll references.
11821 -# Is exported.
11822 -gtk-sharp-module_src_compile() {
11823 - rm -f "${S}"/Makefile* &> /dev/null
11824 - cd "${S}/${GTK_SHARP_MODULE_DIR}"
11825 - emake CSC=/usr/bin/gmcs || die "emake failed"
11826 -}
11827 -
11828 -# @FUNCTION: gtk-sharp-module_src_install
11829 -# @DESCRIPTION:
11830 -# Installs the module. Fixes up lib paths so they're multilib-safe.
11831 -# Gets rid of .la files.
11832 -# Is exported.
11833 -gtk-sharp-module_src_install() {
11834 - cd "${S}/${GTK_SHARP_MODULE_DIR}"
11835 - emake DESTDIR="${D}" install || die "emake install failed"
11836 - mono_multilib_comply
11837 - find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
11838 - [[ $(find "${D}" -type f|wc -l) -lt 3 ]] && die "Too few files. This smells like a failed install."
11839 -}
11840 -
11841 -EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install
11842
11843 diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
11844 deleted file mode 100644
11845 index 27ed820..0000000
11846 --- a/eclass/haskell-cabal.eclass
11847 +++ /dev/null
11848 @@ -1,519 +0,0 @@
11849 -# Copyright 1999-2012 Gentoo Foundation
11850 -# Distributed under the terms of the GNU General Public License v2
11851 -# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.33 2012/07/08 19:16:46 slyfox Exp $
11852 -
11853 -# @ECLASS: haskell-cabal.eclass
11854 -# @MAINTAINER:
11855 -# Haskell herd <haskell@g.o>
11856 -# @AUTHOR:
11857 -# Original author: Andres Loeh <kosmikus@g.o>
11858 -# Original author: Duncan Coutts <dcoutts@g.o>
11859 -# @BLURB: for packages that make use of the Haskell Common Architecture for Building Applications and Libraries (cabal)
11860 -# @DESCRIPTION:
11861 -# Basic instructions:
11862 -#
11863 -# Before inheriting the eclass, set CABAL_FEATURES to
11864 -# reflect the tools and features that the package makes
11865 -# use of.
11866 -#
11867 -# Currently supported features:
11868 -# haddock -- for documentation generation
11869 -# hscolour -- generation of colourised sources
11870 -# alex -- lexer/scanner generator
11871 -# happy -- parser generator
11872 -# c2hs -- C interface generator
11873 -# cpphs -- C preprocessor clone written in Haskell
11874 -# profile -- if package supports to build profiling-enabled libraries
11875 -# bootstrap -- only used for the cabal package itself
11876 -# bin -- the package installs binaries
11877 -# lib -- the package installs libraries
11878 -# nocabaldep -- don't add dependency on cabal.
11879 -# only used for packages that _must_ not pull the dependency
11880 -# on cabal, but still use this eclass (e.g. haskell-updater).
11881 -# test-suite -- add support for cabal test-suites (introduced in Cabal-1.8)
11882 -
11883 -inherit ghc-package multilib
11884 -
11885 -# @ECLASS-VARIABLE: CABAL_EXTRA_CONFIGURE_FLAGS
11886 -# @DESCRIPTION:
11887 -# User-specified additional parameters passed to 'setup configure'.
11888 -# example: /etc/make.conf: CABAL_EXTRA_CONFIGURE_FLAGS=--enable-shared
11889 -: ${CABAL_EXTRA_CONFIGURE_FLAGS:=}
11890 -
11891 -# @ECLASS-VARIABLE: CABAL_EXTRA_BUILD_FLAGS
11892 -# @DESCRIPTION:
11893 -# User-specified additional parameters passed to 'setup build'.
11894 -# example: /etc/make.conf: CABAL_EXTRA_BUILD_FLAGS=-v
11895 -: ${CABAL_EXTRA_BUILD_FLAGS:=}
11896 -
11897 -# @ECLASS-VARIABLE: GHC_BOOTSTRAP_FLAGS
11898 -# @DESCRIPTION:
11899 -# User-specified additional parameters for ghc when building
11900 -# _only_ 'setup' binary bootstrap.
11901 -# example: /etc/make.conf: GHC_BOOTSTRAP_FLAGS=-dynamic to make
11902 -# linking 'setup' faster.
11903 -: ${GHC_BOOTSTRAP_FLAGS:=}
11904 -
11905 -HASKELL_CABAL_EXPF="pkg_setup src_compile src_test src_install"
11906 -
11907 -case "${EAPI:-0}" in
11908 - 2|3|4|5) HASKELL_CABAL_EXPF+=" src_configure" ;;
11909 - *) ;;
11910 -esac
11911 -
11912 -EXPORT_FUNCTIONS ${HASKELL_CABAL_EXPF}
11913 -
11914 -for feature in ${CABAL_FEATURES}; do
11915 - case ${feature} in
11916 - haddock) CABAL_USE_HADDOCK=yes;;
11917 - hscolour) CABAL_USE_HSCOLOUR=yes;;
11918 - hoogle) CABAL_USE_HOOGLE=yes;;
11919 - alex) CABAL_USE_ALEX=yes;;
11920 - happy) CABAL_USE_HAPPY=yes;;
11921 - c2hs) CABAL_USE_C2HS=yes;;
11922 - cpphs) CABAL_USE_CPPHS=yes;;
11923 - profile) CABAL_USE_PROFILE=yes;;
11924 - bootstrap) CABAL_BOOTSTRAP=yes;;
11925 - bin) CABAL_HAS_BINARIES=yes;;
11926 - lib) CABAL_HAS_LIBRARIES=yes;;
11927 - nocabaldep) CABAL_FROM_GHC=yes;;
11928 - test-suite) CABAL_TEST_SUITE=yes;;
11929 - *) CABAL_UNKNOWN="${CABAL_UNKNOWN} ${feature}";;
11930 - esac
11931 -done
11932 -
11933 -if [[ -n "${CABAL_USE_HADDOCK}" ]]; then
11934 - IUSE="${IUSE} doc"
11935 - # don't require depend on itself to build docs.
11936 - # ebuild bootstraps docs from just built binary
11937 - [[ ${CATEGORY}/${PN} = "dev-haskell/haddock" ]] || DEPEND="${DEPEND} doc? ( dev-haskell/haddock )"
11938 -fi
11939 -
11940 -if [[ -n "${CABAL_USE_HSCOLOUR}" ]]; then
11941 - IUSE="${IUSE} hscolour"
11942 - DEPEND="${DEPEND} hscolour? ( dev-haskell/hscolour )"
11943 -fi
11944 -
11945 -if [[ -n "${CABAL_USE_ALEX}" ]]; then
11946 - DEPEND="${DEPEND} dev-haskell/alex"
11947 -fi
11948 -
11949 -if [[ -n "${CABAL_USE_HAPPY}" ]]; then
11950 - DEPEND="${DEPEND} dev-haskell/happy"
11951 -fi
11952 -
11953 -if [[ -n "${CABAL_USE_C2HS}" ]]; then
11954 - DEPEND="${DEPEND} dev-haskell/c2hs"
11955 -fi
11956 -
11957 -if [[ -n "${CABAL_USE_CPPHS}" ]]; then
11958 - DEPEND="${DEPEND} dev-haskell/cpphs"
11959 -fi
11960 -
11961 -if [[ -n "${CABAL_USE_PROFILE}" ]]; then
11962 - IUSE="${IUSE} profile"
11963 -fi
11964 -
11965 -if [[ -n "${CABAL_TEST_SUITE}" ]]; then
11966 - IUSE="${IUSE} test"
11967 -fi
11968 -
11969 -# We always use a standalone version of Cabal, rather than the one that comes
11970 -# with GHC. But of course we can't depend on cabal when building cabal itself.
11971 -if [[ -z ${CABAL_MIN_VERSION} ]]; then
11972 - CABAL_MIN_VERSION=1.1.4
11973 -fi
11974 -if [[ -z "${CABAL_BOOTSTRAP}" && -z "${CABAL_FROM_GHC}" ]]; then
11975 - DEPEND="${DEPEND} >=dev-haskell/cabal-${CABAL_MIN_VERSION}"
11976 -fi
11977 -
11978 -# Libraries require GHC to be installed.
11979 -if [[ -n "${CABAL_HAS_LIBRARIES}" ]]; then
11980 - RDEPEND="${RDEPEND} dev-lang/ghc"
11981 -fi
11982 -
11983 -# returns the version of cabal currently in use
11984 -_CABAL_VERSION_CACHE=""
11985 -cabal-version() {
11986 - if [[ -z "${_CABAL_VERSION_CACHE}" ]]; then
11987 - if [[ "${CABAL_BOOTSTRAP}" ]]; then
11988 - # We're bootstrapping cabal, so the cabal version is the version
11989 - # of this package itself.
11990 - _CABAL_VERSION_CACHE="${PV}"
11991 - elif [[ "${CABAL_FROM_GHC}" ]]; then
11992 - local cabal_package=$(echo "$(ghc-libdir)"/Cabal-*)
11993 - # /path/to/ghc/Cabal-${VER} -> ${VER}
11994 - _CABAL_VERSION_CACHE="${cabal_package/*Cabal-/}"
11995 - else
11996 - # We ask portage, not ghc, so that we only pick up
11997 - # portage-installed cabal versions.
11998 - _CABAL_VERSION_CACHE="$(ghc-extractportageversion dev-haskell/cabal)"
11999 - fi
12000 - fi
12001 - echo "${_CABAL_VERSION_CACHE}"
12002 -}
12003 -
12004 -cabal-bootstrap() {
12005 - local setupmodule
12006 - local cabalpackage
12007 - if [[ -f "${S}/Setup.lhs" ]]; then
12008 - setupmodule="${S}/Setup.lhs"
12009 - elif [[ -f "${S}/Setup.hs" ]]; then
12010 - setupmodule="${S}/Setup.hs"
12011 - else
12012 - die "No Setup.lhs or Setup.hs found"
12013 - fi
12014 -
12015 - if [[ -z "${CABAL_BOOTSTRAP}" && -z "${CABAL_FROM_GHC}" ]] && ! ghc-sanecabal "${CABAL_MIN_VERSION}"; then
12016 - eerror "The package dev-haskell/cabal is not correctly installed for"
12017 - eerror "the currently active version of ghc ($(ghc-version)). Please"
12018 - eerror "run haskell-updater or re-build dev-haskell/cabal."
12019 - die "cabal is not correctly installed"
12020 - fi
12021 -
12022 - # We build the setup program using the latest version of
12023 - # cabal that we have installed
12024 - cabalpackage=Cabal-$(cabal-version)
12025 - einfo "Using cabal-$(cabal-version)."
12026 -
12027 - make_setup() {
12028 - set -- -package "${cabalpackage}" --make "${setupmodule}" \
12029 - ${GHC_BOOTSTRAP_FLAGS} \
12030 - "$@" \
12031 - -o setup
12032 - echo $(ghc-getghc) ${HCFLAGS} "$@"
12033 - $(ghc-getghc) "$@"
12034 - }
12035 - if $(ghc-supports-shared-libraries); then
12036 - # # some custom build systems might use external libraries,
12037 - # # for which we don't have shared libs, so keep static fallback
12038 - # Disabled '-dynamic' as ghc does not embed RPATH to used extra-libraries:
12039 - # bug #411789, http://hackage.haskell.org/trac/ghc/ticket/5743#comment:3
12040 - # make_setup -dynamic "$@" ||
12041 - make_setup "$@" || die "compiling ${setupmodule} failed"
12042 - else
12043 - make_setup "$@" || die "compiling ${setupmodule} failed"
12044 - fi
12045 -}
12046 -
12047 -cabal-mksetup() {
12048 - local setupdir
12049 -
12050 - if [[ -n $1 ]]; then
12051 - setupdir=$1
12052 - else
12053 - setupdir=${S}
12054 - fi
12055 -
12056 - rm -f "${setupdir}"/Setup.{lhs,hs}
12057 -
12058 - echo 'import Distribution.Simple; main = defaultMainWithHooks defaultUserHooks' \
12059 - > $setupdir/Setup.hs || die "failed to create default Setup.hs"
12060 -}
12061 -
12062 -cabal-hscolour() {
12063 - set -- hscolour "$@"
12064 - echo ./setup "$@"
12065 - ./setup "$@" || die "setup hscolour failed"
12066 -}
12067 -
12068 -cabal-haddock() {
12069 - set -- haddock "$@"
12070 - echo ./setup "$@"
12071 - ./setup "$@" || die "setup haddock failed"
12072 -}
12073 -
12074 -cabal-hscolour-haddock() {
12075 - # --hyperlink-source implies calling 'setup hscolour'
12076 - set -- haddock --hyperlink-source
12077 - echo ./setup "$@"
12078 - ./setup "$@" --hyperlink-source || die "setup haddock --hyperlink-source failed"
12079 -}
12080 -
12081 -cabal-configure() {
12082 - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
12083 -
12084 - if [[ -n "${CABAL_USE_HADDOCK}" ]] && use doc; then
12085 - cabalconf="${cabalconf} --with-haddock=${EPREFIX}/usr/bin/haddock"
12086 - fi
12087 - if [[ -n "${CABAL_USE_PROFILE}" ]] && use profile; then
12088 - cabalconf="${cabalconf} --enable-library-profiling"
12089 - fi
12090 - if [[ -n "${CABAL_USE_ALEX}" ]]; then
12091 - cabalconf="${cabalconf} --with-alex=${EPREFIX}/usr/bin/alex"
12092 - fi
12093 -
12094 - if [[ -n "${CABAL_USE_HAPPY}" ]]; then
12095 - cabalconf="${cabalconf} --with-happy=${EPREFIX}/usr/bin/happy"
12096 - fi
12097 -
12098 - if [[ -n "${CABAL_USE_C2HS}" ]]; then
12099 - cabalconf="${cabalconf} --with-c2hs=${EPREFIX}/usr/bin/c2hs"
12100 - fi
12101 - if [[ -n "${CABAL_USE_CPPHS}" ]]; then
12102 - cabalconf="${cabalconf} --with-cpphs=${EPREFIX}/usr/bin/cpphs"
12103 - fi
12104 - if [[ -n "${CABAL_TEST_SUITE}" ]]; then
12105 - cabalconf="${cabalconf} $(use_enable test tests)"
12106 - fi
12107 -
12108 - local option
12109 - for option in ${HCFLAGS}
12110 - do
12111 - cabalconf+=" --ghc-option=$option"
12112 - done
12113 -
12114 - # Building GHCi libs on ppc64 causes "TOC overflow".
12115 - if use ppc64; then
12116 - cabalconf="${cabalconf} --disable-library-for-ghci"
12117 - fi
12118 -
12119 - # currently cabal does not respect CFLAGS and LDFLAGS on it's own (bug #333217)
12120 - # so translate LDFLAGS to ghc parameters (without filtering)
12121 - local flag
12122 - for flag in $LDFLAGS; do cabalconf="${cabalconf} --ghc-option=-optl$flag"; done
12123 -
12124 - # disable executable stripping for the executables, as portage will
12125 - # strip by itself, and pre-stripping gives a QA warning.
12126 - # cabal versions previous to 1.4 does not strip executables, and does
12127 - # not accept the flag.
12128 - # this fixes numerous bugs, amongst them;
12129 - # bug #251881, bug #251882, bug #251884, bug #251886, bug #299494
12130 - cabalconf="${cabalconf} --disable-executable-stripping"
12131 -
12132 - cabalconf="${cabalconf} --docdir=${EPREFIX}/usr/share/doc/${PF}"
12133 - # As of Cabal 1.2, configure is quite quiet. For diagnostic purposes
12134 - # it's better if the configure chatter is in the build logs:
12135 - cabalconf="${cabalconf} --verbose"
12136 -
12137 - # We build shared version of our Cabal where ghc ships it's shared
12138 - # version of it. We will link ./setup as dynamic binary againt Cabal later.
12139 - [[ ${CATEGORY}/${PN} == "dev-haskell/cabal" ]] && \
12140 - $(ghc-supports-shared-libraries) && \
12141 - cabalconf="${cabalconf} --enable-shared"
12142 -
12143 - set -- configure \
12144 - --ghc --prefix="${EPREFIX}"/usr \
12145 - --with-compiler="$(ghc-getghc)" \
12146 - --with-hc-pkg="$(ghc-getghcpkg)" \
12147 - --prefix="${EPREFIX}"/usr \
12148 - --libdir="${EPREFIX}"/usr/$(get_libdir) \
12149 - --libsubdir=${P}/ghc-$(ghc-version) \
12150 - --datadir="${EPREFIX}"/usr/share/ \
12151 - --datasubdir=${P}/ghc-$(ghc-version) \
12152 - ${cabalconf} \
12153 - ${CABAL_CONFIGURE_FLAGS} \
12154 - ${CABAL_EXTRA_CONFIGURE_FLAGS} \
12155 - "$@"
12156 - echo ./setup "$@"
12157 - ./setup "$@" || die "setup configure failed"
12158 -}
12159 -
12160 -cabal-build() {
12161 - unset LANG LC_ALL LC_MESSAGES
12162 - set -- build ${CABAL_EXTRA_BUILD_FLAGS} "$@"
12163 - echo ./setup "$@"
12164 - ./setup "$@" \
12165 - || die "setup build failed"
12166 -}
12167 -
12168 -cabal-copy() {
12169 - has "${EAPI:-0}" 0 1 2 && ! use prefix && ED=${D}
12170 -
12171 - set -- copy --destdir="${D}" "$@"
12172 - echo ./setup "$@"
12173 - ./setup "$@" || die "setup copy failed"
12174 -
12175 - # cabal is a bit eager about creating dirs,
12176 - # so remove them if they are empty
12177 - rmdir "${ED}/usr/bin" 2> /dev/null
12178 -}
12179 -
12180 -cabal-pkg() {
12181 - # This does not actually register since we're using true instead
12182 - # of ghc-pkg. So it just leaves the .conf file and we can
12183 - # register that ourselves (if it exists).
12184 -
12185 - if [[ -n ${CABAL_HAS_LIBRARIES} ]]; then
12186 - # Newer cabal can generate a package conf for us:
12187 - ./setup register --gen-pkg-config="${T}/${P}.conf"
12188 - ghc-setup-pkg "${T}/${P}.conf"
12189 - ghc-install-pkg
12190 - fi
12191 -}
12192 -
12193 -# Some cabal libs are bundled along with some versions of ghc
12194 -# eg filepath-1.0 comes with ghc-6.6.1
12195 -# by putting CABAL_CORE_LIB_GHC_PV="6.6.1" in an ebuild we are declaring that
12196 -# when building with this version of ghc, the ebuild is a dummy that is it will
12197 -# install no files since the package is already included with ghc.
12198 -# However portage still records the dependency and we can upgrade the package
12199 -# to a later one that's not included with ghc.
12200 -# You can also put a space separated list, eg CABAL_CORE_LIB_GHC_PV="6.6 6.6.1".
12201 -cabal-is-dummy-lib() {
12202 - for version in ${CABAL_CORE_LIB_GHC_PV[*]}; do
12203 - [[ "$(ghc-version)" == ${version} ]] && return 0
12204 - done
12205 - return 1
12206 -}
12207 -
12208 -# exported function: check if cabal is correctly installed for
12209 -# the currently active ghc (we cannot guarantee this with portage)
12210 -haskell-cabal_pkg_setup() {
12211 - if [[ -z "${CABAL_HAS_BINARIES}" ]] && [[ -z "${CABAL_HAS_LIBRARIES}" ]]; then
12212 - eqawarn "QA Notice: Neither bin nor lib are in CABAL_FEATURES."
12213 - fi
12214 - if [[ -n "${CABAL_UNKNOWN}" ]]; then
12215 - eqawarn "QA Notice: Unknown entry in CABAL_FEATURES: ${CABAL_UNKNOWN}"
12216 - fi
12217 - if cabal-is-dummy-lib; then
12218 - einfo "${P} is included in ghc-${CABAL_CORE_LIB_GHC_PV}, nothing to install."
12219 - fi
12220 -}
12221 -
12222 -haskell-cabal_src_configure() {
12223 - cabal-is-dummy-lib && return
12224 -
12225 - pushd "${S}" > /dev/null
12226 -
12227 - cabal-bootstrap
12228 -
12229 - cabal-configure "$@"
12230 -
12231 - popd > /dev/null
12232 -}
12233 -
12234 -# exported function: nice alias
12235 -cabal_src_configure() {
12236 - haskell-cabal_src_configure "$@"
12237 -}
12238 -
12239 -# exported function: cabal-style bootstrap configure and compile
12240 -cabal_src_compile() {
12241 - # it's a common mistake when one bumps ebuild to EAPI="2" (and upper)
12242 - # and forgets to separate src_compile() to src_configure()/src_compile().
12243 - # Such error leads to default src_configure and we lose all passed flags.
12244 - if ! has "${EAPI:-0}" 0 1; then
12245 - local passed_flag
12246 - for passed_flag in "$@"; do
12247 - [[ ${passed_flag} == --flags=* ]] && \
12248 - eqawarn "QA Notice: Cabal option '${passed_flag}' has effect only in src_configure()"
12249 - done
12250 - fi
12251 -
12252 - cabal-is-dummy-lib && return
12253 -
12254 - has src_configure ${HASKELL_CABAL_EXPF} || haskell-cabal_src_configure "$@"
12255 - cabal-build
12256 -
12257 - if [[ -n "${CABAL_USE_HADDOCK}" ]] && use doc; then
12258 - if [[ -n "${CABAL_USE_HSCOLOUR}" ]] && use hscolour; then
12259 - # hscolour and haddock
12260 - cabal-hscolour-haddock
12261 - else
12262 - # just haddock
12263 - cabal-haddock
12264 - fi
12265 - else
12266 - if [[ -n "${CABAL_USE_HSCOLOUR}" ]] && use hscolour; then
12267 - # just hscolour
12268 - cabal-hscolour
12269 - fi
12270 - fi
12271 -}
12272 -
12273 -haskell-cabal_src_compile() {
12274 - pushd "${S}" > /dev/null
12275 -
12276 - cabal_src_compile "$@"
12277 -
12278 - popd > /dev/null
12279 -}
12280 -
12281 -haskell-cabal_src_test() {
12282 - pushd "${S}" > /dev/null
12283 -
12284 - if cabal-is-dummy-lib; then
12285 - einfo ">>> No tests for dummy library: ${CATEGORY}/${PF}"
12286 - else
12287 - einfo ">>> Test phase [cabal test]: ${CATEGORY}/${PF}"
12288 - set -- test "$@"
12289 - echo ./setup "$@"
12290 - ./setup "$@" || die "cabal test failed"
12291 - fi
12292 -
12293 - popd > /dev/null
12294 -}
12295 -
12296 -# exported function: cabal-style copy and register
12297 -cabal_src_install() {
12298 - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
12299 -
12300 - if ! cabal-is-dummy-lib; then
12301 - cabal-copy
12302 - cabal-pkg
12303 - fi
12304 -
12305 - # create a dummy local package conf file for haskell-updater
12306 - # if it does not exist (dummy libraries and binaries w/o libraries)
12307 - local ghc_confdir_with_prefix="$(ghc-confdir)"
12308 - # remove EPREFIX
12309 - dodir ${ghc_confdir_with_prefix#${EPREFIX}}
12310 - local conf_file="${D}/$(ghc-confdir)/$(ghc-localpkgconf)"
12311 - [[ -e $conf_file ]] || echo '[]' > "$conf_file" || die
12312 -
12313 - # make sure installed packages do not destroy ghc's
12314 - # bundled packages
12315 - local initial_pkg_db=${ROOT}/$(ghc-libdir)/package.conf.d.initial
12316 - if [[ -e ${initial_pkg_db} ]]; then
12317 - local checked_pkg
12318 - for checked_pkg in $(ghc-listpkg "${conf_file}")
12319 - do
12320 - local initial_pkg
12321 - for initial_pkg in $(ghc-listpkg "${initial_pkg_db}"); do
12322 - if [[ ${checked_pkg} = ${initial_pkg} ]]; then
12323 - eerror "Package ${checked_pkg} is shipped with $(ghc-version)."
12324 - eerror "Ebuild author forgot CABAL_CORE_LIB_GHC_PV entry."
12325 - eerror "Found in ${initial_pkg_db}."
12326 - die
12327 - fi
12328 - done
12329 - done
12330 - fi
12331 -}
12332 -
12333 -haskell-cabal_src_install() {
12334 - pushd "${S}" > /dev/null
12335 -
12336 - cabal_src_install
12337 -
12338 - popd > /dev/null
12339 -}
12340 -
12341 -# ebuild.sh:use_enable() taken as base
12342 -#
12343 -# Usage examples:
12344 -#
12345 -# CABAL_CONFIGURE_FLAGS=$(cabal_flag gui)
12346 -# leads to "--flags=gui" or "--flags=-gui" (useflag 'gui')
12347 -#
12348 -# CABAL_CONFIGURE_FLAGS=$(cabal_flag gtk gui)
12349 -# also leads to "--flags=gui" or " --flags=-gui" (useflag 'gtk')
12350 -#
12351 -cabal_flag() {
12352 - if [[ -z "$1" ]]; then
12353 - echo "!!! cabal_flag() called without a parameter." >&2
12354 - echo "!!! cabal_flag() <USEFLAG> [<cabal_flagname>]" >&2
12355 - return 1
12356 - fi
12357 -
12358 - local UWORD=${2:-$1}
12359 -
12360 - if use "$1"; then
12361 - echo "--flags=${UWORD}"
12362 - else
12363 - echo "--flags=-${UWORD}"
12364 - fi
12365 -
12366 - return 0
12367 -}
12368
12369 diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
12370 deleted file mode 100644
12371 index 14c0db4..0000000
12372 --- a/eclass/kde4-functions.eclass
12373 +++ /dev/null
12374 @@ -1,485 +0,0 @@
12375 -# Copyright 1999-2012 Gentoo Foundation
12376 -# Distributed under the terms of the GNU General Public License v2
12377 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.61 2012/08/19 11:12:35 johu Exp $
12378 -
12379 -inherit versionator
12380 -
12381 -# @ECLASS: kde4-functions.eclass
12382 -# @MAINTAINER:
12383 -# kde@g.o
12384 -# @BLURB: Common ebuild functions for KDE 4 packages
12385 -# @DESCRIPTION:
12386 -# This eclass contains all functions shared by the different eclasses,
12387 -# for KDE 4 ebuilds.
12388 -
12389 -# @ECLASS-VARIABLE: EAPI
12390 -# @DESCRIPTION:
12391 -# Currently kde4 eclasses support EAPI 3 and 4.
12392 -case ${EAPI:-0} in
12393 - 4|5|3) : ;;
12394 - *) die "EAPI=${EAPI} is not supported" ;;
12395 -esac
12396 -
12397 -# @ECLASS-VARIABLE: KDE_OVERRIDE_MINIMAL
12398 -# @DESCRIPTION:
12399 -# For use only in very few well-defined cases; normally it should be unset.
12400 -# If this variable is set, all calls to add_kdebase_dep return a dependency on
12401 -# at least this version, independent of the version of the package itself.
12402 -# If you know exactly that one specific NEW KDE component builds and runs fine
12403 -# with all the rest of KDE at an OLDER version, you can set this old version here.
12404 -# Warning- may lead to general instability and kill your pet targh.
12405 -
12406 -# @ECLASS-VARIABLE: KDEBASE
12407 -# @DESCRIPTION:
12408 -# This gets set to a non-zero value when a package is considered a kde or
12409 -# kdevelop ebuild.
12410 -if [[ ${CATEGORY} = kde-base ]]; then
12411 - debug-print "${ECLASS}: KDEBASE ebuild recognized"
12412 - KDEBASE=kde-base
12413 -elif [[ ${KMNAME-${PN}} = kdevelop ]]; then
12414 - debug-print "${ECLASS}: KDEVELOP ebuild recognized"
12415 - KDEBASE=kdevelop
12416 -fi
12417 -
12418 -# determine the build type
12419 -if [[ ${PV} = *9999* ]]; then
12420 - KDE_BUILD_TYPE="live"
12421 -else
12422 - KDE_BUILD_TYPE="release"
12423 -fi
12424 -export KDE_BUILD_TYPE
12425 -
12426 -# Set reponame and SCM for modules that have fully migrated to git
12427 -# (hack - it's here because it needs to be before SCM inherits from kde4-base)
12428 -if [[ ${KDE_BUILD_TYPE} == live ]]; then
12429 - case "${KMNAME}" in
12430 - kdebase-workspace)
12431 - KDE_SCM="git"
12432 - EGIT_REPONAME=${EGIT_REPONAME:=kde-workspace}
12433 - ;;
12434 - kdebase-runtime)
12435 - KDE_SCM="git"
12436 - EGIT_REPONAME=${EGIT_REPONAME:=kde-runtime}
12437 - ;;
12438 - kdebase-apps)
12439 - KDE_SCM="git"
12440 - EGIT_REPONAME=${EGIT_REPONAME:=kde-baseapps}
12441 - ;;
12442 - kde-workspace|kde-runtime|kde-baseapps)
12443 - KDE_SCM="git"
12444 - ;;
12445 - esac
12446 -fi
12447 -
12448 -# @ECLASS-VARIABLE: KDE_SCM
12449 -# @DESCRIPTION:
12450 -# If this is a live package which scm does it use
12451 -# Everything else uses svn by default
12452 -KDE_SCM="${KDE_SCM:-svn}"
12453 -case ${KDE_SCM} in
12454 - svn|git) ;;
12455 - *) die "KDE_SCM: ${KDE_SCM} is not supported" ;;
12456 -esac
12457 -
12458 -# @ECLASS-VARIABLE: KDE_LINGUAS
12459 -# @DESCRIPTION:
12460 -# This is a whitespace-separated list of translations this ebuild supports.
12461 -# These translations are automatically added to IUSE. Therefore ebuilds must set
12462 -# this variable before inheriting any eclasses. To enable only selected
12463 -# translations, ebuilds must call enable_selected_linguas(). kde4-{base,meta}.eclass does
12464 -# this for you.
12465 -#
12466 -# Example: KDE_LINGUAS="de en_GB nl"
12467 -if [[ ${KDE_BUILD_TYPE} != live || -n ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
12468 - for _lingua in ${KDE_LINGUAS}; do
12469 - IUSE="${IUSE} linguas_${_lingua}"
12470 - done
12471 -fi
12472 -
12473 -# @FUNCTION: buildsycoca
12474 -# @DESCRIPTION:
12475 -# Function to rebuild the KDE System Configuration Cache.
12476 -# All KDE ebuilds should run this in pkg_postinst and pkg_postrm.
12477 -buildsycoca() {
12478 - debug-print-function ${FUNCNAME} "$@"
12479 -
12480 - # We no longer need to run kbuildsycoca4, as kded does that automatically, as needed
12481 -
12482 - # fix permission for some directories
12483 - for x in usr/share/{config,kde4}; do
12484 - DIRS=${EROOT}usr
12485 - [[ -d "${EROOT}${x}" ]] || break # nothing to do if directory does not exist
12486 - # fixes Bug 318237
12487 - if use userland_BSD ; then
12488 - [[ $(stat -f %p "${EROOT}${x}") != 40755 ]]
12489 - local stat_rtn="$?"
12490 - else
12491 - [[ $(stat --format=%a "${EROOT}${x}") != 755 ]]
12492 - local stat_rtn=$?
12493 - fi
12494 - if [[ $stat_rtn != 1 ]] ; then
12495 - ewarn "QA Notice:"
12496 - ewarn "Package ${PN} is breaking ${EROOT}${x} permissions."
12497 - ewarn "Please report this issue to gentoo bugzilla."
12498 - einfo "Permissions will get adjusted automatically now."
12499 - find "${EROOT}${x}" -type d -print0 | xargs -0 chmod 755
12500 - fi
12501 - done
12502 -}
12503 -
12504 -# @FUNCTION: comment_all_add_subdirectory
12505 -# @USAGE: [list of directory names]
12506 -# @DESCRIPTION:
12507 -# Recursively comment all add_subdirectory instructions in listed directories,
12508 -# except those in cmake/.
12509 -comment_all_add_subdirectory() {
12510 - find "$@" -name CMakeLists.txt -print0 | grep -vFzZ "./cmake" | \
12511 - xargs -0 sed -i \
12512 - -e '/^[[:space:]]*add_subdirectory/s/^/#DONOTCOMPILE /' \
12513 - -e '/^[[:space:]]*ADD_SUBDIRECTORY/s/^/#DONOTCOMPILE /' \
12514 - -e '/^[[:space:]]*macro_optional_add_subdirectory/s/^/#DONOTCOMPILE /' \
12515 - -e '/^[[:space:]]*MACRO_OPTIONAL_ADD_SUBDIRECTORY/s/^/#DONOTCOMPILE /' \
12516 - || die "${LINENO}: Initial sed died"
12517 -}
12518 -
12519 -# @FUNCTION: enable_selected_linguas
12520 -# @DESCRIPTION:
12521 -# Enable translations based on LINGUAS settings and translations supported by
12522 -# the package (see KDE_LINGUAS). By default, translations are found in "${S}"/po
12523 -# but this default can be overridden by defining KDE_LINGUAS_DIR.
12524 -enable_selected_linguas() {
12525 - debug-print-function ${FUNCNAME} "$@"
12526 -
12527 - local x
12528 -
12529 - # if there is no linguas defined we enable everything
12530 - if ! $(env | grep -q "^LINGUAS="); then
12531 - return 0
12532 - fi
12533 -
12534 - # @ECLASS-VARIABLE: KDE_LINGUAS_DIR
12535 - # @DESCRIPTION:
12536 - # Specified folder where application translations are located.
12537 - # Can be defined as array of folders where translations are located.
12538 - # Note that space separated list of dirs is not supported.
12539 - # Default value is set to "po".
12540 - if [[ "$(declare -p KDE_LINGUAS_DIR 2>/dev/null 2>&1)" == "declare -a"* ]]; then
12541 - debug-print "$FUNCNAME: we have these subfolders defined: ${KDE_LINGUAS_DIR}"
12542 - for x in ${KDE_LINGUAS_DIR[@]}; do
12543 - _enable_selected_linguas_dir ${x}
12544 - done
12545 - else
12546 - KDE_LINGUAS_DIR=${KDE_LINGUAS_DIR:="po"}
12547 - _enable_selected_linguas_dir ${KDE_LINGUAS_DIR}
12548 - fi
12549 -}
12550 -
12551 -# @FUNCTION: enable_selected_doc_linguas
12552 -# @DESCRIPTION:
12553 -# Enable only selected linguas enabled doc folders.
12554 -enable_selected_doc_linguas() {
12555 - debug-print-function ${FUNCNAME} "$@"
12556 -
12557 - # @ECLASS-VARIABLE: KDE_DOC_DIRS
12558 - # @DESCRIPTION:
12559 - # Variable specifying whitespace separated patterns for documentation locations.
12560 - # Default is "doc/%lingua"
12561 - KDE_DOC_DIRS=${KDE_DOC_DIRS:='doc/%lingua'}
12562 - local linguas
12563 - for pattern in ${KDE_DOC_DIRS}; do
12564 -
12565 - local handbookdir=`dirname ${pattern}`
12566 - local translationdir=`basename ${pattern}`
12567 - # Do filename pattern supplied, treat as directory
12568 - [[ ${handbookdir} = '.' ]] && handbookdir=${translationdir} && translationdir=
12569 - [[ -d ${handbookdir} ]] || die 'wrong doc dir specified'
12570 -
12571 - if ! use handbook; then
12572 - # Disable whole directory
12573 - sed -e "/add_subdirectory[[:space:]]*([[:space:]]*${handbookdir}[[:space:]]*)/s/^/#DONOTCOMPILE /" \
12574 - -e "/ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*${handbookdir}[[:space:]]*)/s/^/#DONOTCOMPILE /" \
12575 - -i CMakeLists.txt || die 'failed to comment out all handbooks'
12576 - else
12577 - # if there is no linguas defined we enable everything (i.e. comment out nothing)
12578 - if ! $(env | grep -q "^LINGUAS="); then
12579 - return 0
12580 - fi
12581 -
12582 - # Disable subdirectories recursively
12583 - comment_all_add_subdirectory "${handbookdir}"
12584 - # Add requested translations
12585 - local lingua
12586 - for lingua in en ${KDE_LINGUAS}; do
12587 - if [[ ${lingua} = en ]] || use linguas_${lingua}; then
12588 - if [[ -d ${handbookdir}/${translationdir//%lingua/${lingua}} ]]; then
12589 - sed -e "/add_subdirectory[[:space:]]*([[:space:]]*${translationdir//%lingua/${lingua}}/s/^#DONOTCOMPILE //" \
12590 - -e "/ADD_SUBDIRECTORY[[:space:]]*([[:space:]]*${translationdir//%lingua/${lingua}}/s/^#DONOTCOMPILE //" \
12591 - -i "${handbookdir}"/CMakeLists.txt && ! has ${lingua} ${linguas} && linguas="${linguas} ${lingua}"
12592 - fi
12593 - fi
12594 - done
12595 - fi
12596 -
12597 - done
12598 - [[ -n "${linguas}" ]] && einfo "Enabling handbook translations:${linguas}"
12599 -}
12600 -
12601 -# @FUNCTION: migrate_store_dir
12602 -# @DESCRIPTION:
12603 -# Universal store dir migration
12604 -# * performs split of kdebase to kdebase-apps when needed
12605 -# * moves playground/extragear kde4-base-style to toplevel dir
12606 -migrate_store_dir() {
12607 - if [[ ${KDE_SCM} != svn ]]; then
12608 - die "migrate_store_dir() only makes sense for subversion"
12609 - fi
12610 -
12611 - local cleandir="${ESVN_STORE_DIR}/KDE"
12612 -
12613 - if [[ -d ${cleandir} ]]; then
12614 - ewarn "'${cleandir}' has been found. Moving contents to new location."
12615 - addwrite "${ESVN_STORE_DIR}"
12616 - # Split kdebase
12617 - local module
12618 - if pushd "${cleandir}"/kdebase/kdebase > /dev/null; then
12619 - for module in `find . -maxdepth 1 -type d -name [a-z0-9]\*`; do
12620 - module="${module#./}"
12621 - mkdir -p "${ESVN_STORE_DIR}/kdebase-${module}" && mv -f "${module}" "${ESVN_STORE_DIR}/kdebase-${module}" || \
12622 - die "Failed to move to '${ESVN_STORE_DIR}/kdebase-${module}'."
12623 - done
12624 - popd > /dev/null
12625 - rm -fr "${cleandir}/kdebase" || \
12626 - die "Failed to remove ${cleandir}/kdebase. You need to remove it manually."
12627 - fi
12628 - # Move the rest
12629 - local pkg
12630 - for pkg in "${cleandir}"/*; do
12631 - mv -f "${pkg}" "${ESVN_STORE_DIR}"/ || eerror "Failed to move '${pkg}'"
12632 - done
12633 - rmdir "${cleandir}" || die "Could not move obsolete KDE store dir. Please move '${cleandir}' contents to appropriate location (possibly ${ESVN_STORE_DIR}) and manually remove '${cleandir}' in order to continue."
12634 - fi
12635 -
12636 - if ! has kde4-meta ${INHERITED}; then
12637 - case ${KMNAME} in
12638 - extragear*|playground*)
12639 - local scmlocalpath="${ESVN_STORE_DIR}"/"${KMNAME}"/"${PN}"
12640 - if [[ -d "${scmlocalpath}" ]]; then
12641 - local destdir="${ESVN_STORE_DIR}"/"${ESVN_PROJECT}"/"`basename "${ESVN_REPO_URI}"`"
12642 - ewarn "'${scmlocalpath}' has been found."
12643 - ewarn "Moving contents to new location: ${destdir}"
12644 - addwrite "${ESVN_STORE_DIR}"
12645 - mkdir -p "${ESVN_STORE_DIR}"/"${ESVN_PROJECT}" && mv -f "${scmlocalpath}" "${destdir}" \
12646 - || die "Failed to move to '${scmlocalpath}'"
12647 - # Try cleaning empty directories
12648 - rmdir "`dirname "${scmlocalpath}"`" 2> /dev/null
12649 - fi
12650 - ;;
12651 - esac
12652 - fi
12653 -}
12654 -
12655 -# Functions handling KMLOADLIBS and KMSAVELIBS
12656 -
12657 -# @FUNCTION: save_library_dependencies
12658 -# @DESCRIPTION:
12659 -# Add exporting CMake dependencies for current package
12660 -save_library_dependencies() {
12661 - local depsfile="${T}/${PN}"
12662 -
12663 - ebegin "Saving library dependencies in ${depsfile##*/}"
12664 - echo "EXPORT_LIBRARY_DEPENDENCIES(\"${depsfile}\")" >> "${S}/CMakeLists.txt" || \
12665 - die "Failed to save the library dependencies."
12666 - eend $?
12667 -}
12668 -
12669 -# @FUNCTION: install_library_dependencies
12670 -# @DESCRIPTION:
12671 -# Install generated CMake library dependencies to /var/lib/kde
12672 -install_library_dependencies() {
12673 - local depsfile="${T}/${PN}"
12674 -
12675 - ebegin "Installing library dependencies as ${depsfile##*/}"
12676 - insinto /var/lib/kde
12677 - doins "${depsfile}" || die "Failed to install library dependencies."
12678 - eend $?
12679 -}
12680 -
12681 -# @FUNCTION: load_library_dependencies
12682 -# @DESCRIPTION:
12683 -# Inject specified library dependencies in current package
12684 -load_library_dependencies() {
12685 - local pn i depsfile
12686 - ebegin "Injecting library dependencies from '${KMLOADLIBS}'"
12687 -
12688 - i=0
12689 - for pn in ${KMLOADLIBS} ; do
12690 - ((i++))
12691 - depsfile="${EPREFIX}/var/lib/kde/${pn}"
12692 - [[ -r ${depsfile} ]] || depsfile="${EPREFIX}/var/lib/kde/${pn}:$(get_kde_version)"
12693 - [[ -r ${depsfile} ]] || die "Depsfile '${depsfile}' not accessible. You probably need to reinstall ${pn}."
12694 - sed -i -e "${i}iINCLUDE(\"${depsfile}\")" "${S}/CMakeLists.txt" || \
12695 - die "Failed to include library dependencies for ${pn}"
12696 - done
12697 - eend $?
12698 -}
12699 -
12700 -# @FUNCTION: add_blocker
12701 -# @DESCRIPTION:
12702 -# Create correct RDEPEND value for blocking correct package.
12703 -# Useful for file-collision blocks.
12704 -# Parameters are package and version(s) to block.
12705 -# add_blocker kdelibs 4.2.4
12706 -# If no version is specified, then all versions will be blocked.
12707 -# If the version is 0, then no versions will be blocked.
12708 -# If a second version ending in ":3.5" is passed, then the version listed for
12709 -# that slot will be blocked as well.
12710 -#
12711 -# Examples:
12712 -# # Block all versions of kdelibs
12713 -# add_blocker kdelibs
12714 -#
12715 -# # Block all versions of kdelibs older than 4.3.50
12716 -# add_blocker kdelibs 4.3.50
12717 -#
12718 -# # Block kdelibs 3.5.10 and older, but not any version of
12719 -# # kdelibs from KDE 4
12720 -# add_blocker kdelibs 0 3.5.10:3.5
12721 -add_blocker() {
12722 - debug-print-function ${FUNCNAME} "$@"
12723 -
12724 - [[ -z ${1} ]] && die "Missing parameter"
12725 - local pkg=kde-base/$1 atom old_ver="unset" use
12726 - if [[ $pkg == *\[*\] ]]; then
12727 - use=${pkg/#*\[/[}
12728 - pkg=${pkg%\[*\]}
12729 - fi
12730 -
12731 - [[ "$3" == *:3.5 ]] && old_ver=${3%:3.5}
12732 -
12733 - # If the version passed is "0", do nothing
12734 - if [[ ${2} != 0 ]]; then
12735 - # If no version was passed, block all versions in this slot
12736 - if [[ -z ${2} ]]; then
12737 - atom=${pkg}
12738 - # If the version passed begins with a "<", then use "<" instead of "<="
12739 - elif [[ ${2::1} == "<" ]]; then
12740 - # this also removes the first character of the version, which is a "<"
12741 - atom="<${pkg}-${2:1}"
12742 - else
12743 - atom="<=${pkg}-${2}"
12744 - fi
12745 - RDEPEND+=" !${atom}:4${use}"
12746 - fi
12747 -
12748 - # Do the same thing as above for :3.5, except that we don't want any
12749 - # output if no parameter was passed.
12750 - if [[ ${old_ver} != "unset" ]]; then
12751 - if [[ -z ${old_ver} ]]; then
12752 - atom=${pkg}
12753 - elif [[ ${old_ver::1} == "<" ]]; then
12754 - atom="<${pkg}-${old_ver:1}"
12755 - else
12756 - atom="<=${pkg}-${old_ver}"
12757 - fi
12758 - RDEPEND+=" !${atom}:3.5${use}"
12759 - fi
12760 -}
12761 -
12762 -# @FUNCTION: add_kdebase_dep
12763 -# @DESCRIPTION:
12764 -# Create proper dependency for kde-base/ dependencies.
12765 -# This takes 1 to 3 arguments. The first being the package name, the optional
12766 -# second is additional USE flags to append, and the optional third is the
12767 -# version to use instead of the automatic version (use sparingly).
12768 -# The output of this should be added directly to DEPEND/RDEPEND, and may be
12769 -# wrapped in a USE conditional (but not an || conditional without an extra set
12770 -# of parentheses).
12771 -add_kdebase_dep() {
12772 - debug-print-function ${FUNCNAME} "$@"
12773 -
12774 - local ver
12775 -
12776 - if [[ -n ${3} ]]; then
12777 - ver=${3}
12778 - elif [[ -n ${KDE_OVERRIDE_MINIMAL} ]]; then
12779 - ver=${KDE_OVERRIDE_MINIMAL}
12780 - elif [[ ${KDEBASE} != kde-base ]]; then
12781 - ver=${KDE_MINIMAL}
12782 - # if building stable-live version depend just on the raw KDE version
12783 - # to allow merging packages against more stable basic stuff
12784 - elif [[ ${PV} == *.9999 ]]; then
12785 - ver=$(get_kde_version)
12786 - else
12787 - ver=${PV}
12788 - fi
12789 -
12790 - [[ -z ${1} ]] && die "Missing parameter"
12791 -
12792 - echo " >=kde-base/${1}-${ver}:4[aqua=${2:+,${2}}]"
12793 -}
12794 -
12795 -# local function to enable specified translations for specified directory
12796 -# used from kde4-functions_enable_selected_linguas function
12797 -_enable_selected_linguas_dir() {
12798 - local lingua linguas sr_mess wp
12799 - local dir=${1}
12800 -
12801 - [[ -d ${dir} ]] || die "linguas dir \"${dir}\" does not exist"
12802 - comment_all_add_subdirectory "${dir}"
12803 - pushd "${dir}" > /dev/null
12804 -
12805 - # fix all various crazy sr@Latn variations
12806 - # this part is only ease for ebuilds, so there wont be any die when this
12807 - # fail at any point
12808 - sr_mess="sr@latn sr@latin sr@Latin"
12809 - for wp in ${sr_mess}; do
12810 - [[ -e ${wp}.po ]] && mv "${wp}.po" "sr@××××.po"
12811 - if [[ -d ${wp} ]]; then
12812 - # move dir and fix cmakelists
12813 - mv "${wp}" "sr@Latn"
12814 - sed -i \
12815 - -e "s:${wp}:sr@Latn:g" \
12816 - CMakeLists.txt
12817 - fi
12818 - done
12819 -
12820 - for lingua in ${KDE_LINGUAS}; do
12821 - if [[ -e ${lingua}.po ]]; then
12822 - mv "${lingua}.po" "${lingua}.po.old"
12823 - fi
12824 - done
12825 -
12826 - for lingua in ${KDE_LINGUAS}; do
12827 - if use linguas_${lingua} ; then
12828 - if [[ -d ${lingua} ]]; then
12829 - linguas="${linguas} ${lingua}"
12830 - sed -e "/add_subdirectory([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \
12831 - -e "/ADD_SUBDIRECTORY([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \
12832 - -i CMakeLists.txt || die "Sed to uncomment linguas_${lingua} failed."
12833 - fi
12834 - if [[ -e ${lingua}.po.old ]]; then
12835 - linguas="${linguas} ${lingua}"
12836 - mv "${lingua}.po.old" "${lingua}.po"
12837 - fi
12838 - fi
12839 - done
12840 - [[ -n ${linguas} ]] && echo ">>> Enabling languages: ${linguas}"
12841 -
12842 - popd > /dev/null
12843 -}
12844 -
12845 -# @FUNCTION: get_kde_version
12846 -# @DESCRIPTION:
12847 -# Translates an ebuild version into a major.minor KDE SC
12848 -# release version. If no version is specified, ${PV} is used.
12849 -get_kde_version() {
12850 - local ver=${1:-${PV}}
12851 - local major=$(get_major_version ${ver})
12852 - local minor=$(get_version_component_range 2 ${ver})
12853 - local micro=$(get_version_component_range 3 ${ver})
12854 - if [[ ${ver} == 9999 ]]; then
12855 - echo live
12856 - else
12857 - (( micro < 50 )) && echo ${major}.${minor} || echo ${major}.$((minor + 1))
12858 - fi
12859 -}
12860
12861 diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
12862 deleted file mode 100644
12863 index 7b02c0a..0000000
12864 --- a/eclass/leechcraft.eclass
12865 +++ /dev/null
12866 @@ -1,64 +0,0 @@
12867 -# Copyright 1999-2012 Gentoo Foundation
12868 -# Distributed under the terms of the GNU General Public License v2
12869 -# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.5 2012/07/17 04:29:05 vapier Exp $
12870 -#
12871 -# @ECLASS: leechcraft.eclass
12872 -# @MAINTAINER:
12873 -# leechcraft@g.o
12874 -# @AUTHOR:
12875 -# 0xd34df00d@×××××.com
12876 -# NightNord@××××××.ru
12877 -# @BLURB: Common functions and setup utilities for the LeechCraft app
12878 -# @DESCRIPTION:
12879 -# The leechcraft eclass contains a common set of functions and steps
12880 -# needed to build LeechCraft core or its plugins.
12881 -#
12882 -# Though this eclass seems to be small at the moment, it seems like a
12883 -# good idea to make all plugins inherit from it, since all plugins
12884 -# have mostly the same configuring/build process.
12885 -#
12886 -# Thanks for original eclass to Andrian Nord <NightNord@××××××.ru>.
12887 -#
12888 -# Only EAPI >1 supported
12889 -
12890 -case ${EAPI:-0} in
12891 - 4|5|3|2) ;;
12892 - 0|1) die "EAPI not supported, bug ebuild mantainer" ;;
12893 - *) die "Unknown EAPI, bug eclass maintainers" ;;
12894 -esac
12895 -
12896 -inherit cmake-utils versionator
12897 -
12898 -if [[ ${PV} == 9999 ]]; then
12899 - EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git"
12900 - EGIT_PROJECT="leechcraft"
12901 -
12902 - inherit git-2
12903 -else
12904 - local suffix
12905 - if version_is_at_least 0.4.95; then
12906 - DEPEND="app-arch/xz-utils"
12907 - suffix="xz"
12908 - else
12909 - suffix="bz2"
12910 - fi
12911 - SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.${suffix}"
12912 - S="${WORKDIR}/leechcraft-${PV}"
12913 -fi
12914 -
12915 -HOMEPAGE="http://leechcraft.org/"
12916 -LICENSE="GPL-3"
12917 -
12918 -# @ECLASS-VARIABLE: LEECHCRAFT_PLUGIN_CATEGORY
12919 -# @DEFAULT_UNSET
12920 -# @DESCRIPTION:
12921 -# Set this to the category of the plugin, if any.
12922 -: ${LEECHCRAFT_PLUGIN_CATEGORY:=}
12923 -
12924 -if [[ "${LEECHCRAFT_PLUGIN_CATEGORY}" ]]; then
12925 - CMAKE_USE_DIR="${S}"/src/plugins/${LEECHCRAFT_PLUGIN_CATEGORY}/${PN#leechcraft-}
12926 -elif [[ ${PN} != leechcraft-core ]]; then
12927 - CMAKE_USE_DIR="${S}"/src/plugins/${PN#leechcraft-}
12928 -else
12929 - CMAKE_USE_DIR="${S}"/src
12930 -fi
12931
12932 diff --git a/eclass/mozlinguas.eclass b/eclass/mozlinguas.eclass
12933 deleted file mode 100644
12934 index 3648364..0000000
12935 --- a/eclass/mozlinguas.eclass
12936 +++ /dev/null
12937 @@ -1,144 +0,0 @@
12938 -# Copyright 1999-2012 Gentoo Foundation
12939 -# Distributed under the terms of the GNU General Public License v2
12940 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v 1.4 2012/07/19 12:09:05 scarabeus Exp $
12941 -
12942 -# @ECLASS: mozlinguas.eclass
12943 -# @MAINTAINER:
12944 -# mozilla@g.o
12945 -# @AUTHOR:
12946 -# Nirbheek Chauhan <nirbheek@g.o>
12947 -# @BLURB: Handle language packs for mozilla products
12948 -# @DESCRIPTION:
12949 -# Sets IUSE according to MOZ_LANGS (language packs available). Also exports
12950 -# src_unpack and src_install for use in ebuilds.
12951 -
12952 -inherit mozextension
12953 -
12954 -case "${EAPI:-0}" in
12955 - 0|1)
12956 - die "EAPI ${EAPI:-0} does not support the '->' SRC_URI operator";;
12957 - 2|3|4|5)
12958 - EXPORT_FUNCTIONS src_unpack src_install;;
12959 - *)
12960 - die "EAPI ${EAPI} is not supported, contact eclass maintainers";;
12961 -esac
12962 -
12963 -# @ECLASS-VARIABLE: MOZ_LANGS
12964 -# @DESCRIPTION:
12965 -# Array containing the list of language pack xpis available for
12966 -# this release. The list can be updated with scripts/get_langs.sh from the
12967 -# mozilla overlay.
12968 -# @DEFAULT-UNSET
12969 -: ${MOZ_LANGS:=()}
12970 -
12971 -# @ECLASS-VARIABLE: MOZ_PV
12972 -# @DESCRIPTION:
12973 -# Ebuild package version converted to equivalent upstream version.
12974 -# Defaults to ${PV}, and should be overridden for alphas, betas, and RCs
12975 -: ${MOZ_PV:="${PV}"}
12976 -
12977 -# @ECLASS-VARIABLE: MOZ_PN
12978 -# @DESCRIPTION:
12979 -# Ebuild package name converted to equivalent upstream name.
12980 -# Defaults to ${PN}, and should be overridden for binary ebuilds.
12981 -: ${MOZ_PN:="${PN}"}
12982 -
12983 -# @ECLASS-VARIABLE: MOZ_P
12984 -# @DESCRIPTION:
12985 -# Ebuild package name + version converted to upstream equivalent.
12986 -# Defaults to ${MOZ_PN}-${MOZ_PV}
12987 -: ${MOZ_P:="${MOZ_PN}-${MOZ_PV}"}
12988 -
12989 -# @ECLASS-VARIABLE: MOZ_FTP_URI
12990 -# @DEFAULT-UNSET
12991 -# @DESCRIPTION:
12992 -# The ftp URI prefix for the release tarballs and language packs.
12993 -: ${MOZ_FTP_URI:=""}
12994 -
12995 -# @ECLASS-VARIABLE: MOZ_LANGPACK_PREFIX
12996 -# @DESCRIPTION:
12997 -# The relative path till the lang code in the langpack file URI.
12998 -# Defaults to ${MOZ_PV}/linux-i686/xpi/
12999 -: ${MOZ_LANGPACK_PREFIX:="${MOZ_PV}/linux-i686/xpi/"}
13000 -
13001 -# @ECLASS-VARIABLE: MOZ_LANGPACK_SUFFIX
13002 -# @DESCRIPTION:
13003 -# The suffix after the lang code in the langpack file URI.
13004 -# Defaults to '.xpi'
13005 -: ${MOZ_LANGPACK_SUFFIX:=".xpi"}
13006 -
13007 -# Add linguas_* to IUSE according to available language packs
13008 -# No language packs for alphas and betas
13009 -if ! [[ ${PV} =~ alpha|beta ]] || { [[ ${PN} == seamonkey ]] && ! [[ ${PV} =~ alpha ]] ; } ; then
13010 - for x in "${MOZ_LANGS[@]}" ; do
13011 - # en and en_US are handled internally
13012 - if [[ ${x} == en ]] || [[ ${x} == en-US ]]; then
13013 - continue
13014 - fi
13015 - SRC_URI+="
13016 - linguas_${x/-/_}?
13017 - ( ${MOZ_FTP_URI}/${MOZ_LANGPACK_PREFIX}${x}${MOZ_LANGPACK_SUFFIX} -> ${MOZ_P}-${x}.xpi )"
13018 - IUSE+=" linguas_${x/-/_}"
13019 - # We used to do some magic if specific/generic locales were missing, but
13020 - # we stopped doing that due to bug 325195.
13021 - done
13022 -fi
13023 -unset x
13024 -
13025 -# @FUNCTION: mozlinguas_export
13026 -# @INTERNAL
13027 -# @DESCRIPTION:
13028 -# Generate the list of language packs called "mozlinguas"
13029 -# This list is used to unpack and install the xpi language packs
13030 -mozlinguas_export() {
13031 - if [[ ${PN} == seamonkey ]] ; then
13032 - [[ ${PV} =~ alpha ]] && return
13033 - else
13034 - [[ ${PV} =~ alpha|beta ]] && return
13035 - fi
13036 - local lingua
13037 - mozlinguas=()
13038 - for lingua in ${LINGUAS}; do
13039 - if has ${lingua} en en_US; then
13040 - # For mozilla products, en and en_US are handled internally
13041 - continue
13042 - # If this language is supported by ${P},
13043 - elif has ${lingua} "${MOZ_LANGS[@]//-/_}"; then
13044 - # Add the language to mozlinguas, if it isn't already there
13045 - has ${lingua//_/-} "${mozlinguas[@]}" || mozlinguas+=(${lingua//_/-})
13046 - continue
13047 - # For each short lingua that isn't in MOZ_LANGS,
13048 - # We used to add *all* long MOZ_LANGS to the mozlinguas list,
13049 - # but we stopped doing that due to bug 325195.
13050 - else
13051 - :
13052 - fi
13053 - ewarn "Sorry, but ${P} does not support the ${lingua} locale"
13054 - done
13055 -}
13056 -
13057 -# @FUNCTION: mozlinguas_src_unpack
13058 -# @DESCRIPTION:
13059 -# Unpack xpi language packs according to the user's LINGUAS settings
13060 -mozlinguas_src_unpack() {
13061 - local x
13062 - mozlinguas_export
13063 - for x in "${mozlinguas[@]}"; do
13064 - # FIXME: Add support for unpacking xpis to portage
13065 - xpi_unpack "${MOZ_P}-${x}.xpi"
13066 - done
13067 - if [[ "${mozlinguas[*]}" != "" && "${mozlinguas[*]}" != "en" ]]; then
13068 - einfo "Selected language packs (first will be default): ${mozlinguas[*]}"
13069 - fi
13070 -}
13071 -
13072 -# @FUNCTION: mozlinguas_src_install
13073 -# @DESCRIPTION:
13074 -# Install xpi language packs according to the user's LINGUAS settings
13075 -mozlinguas_src_install() {
13076 - local x
13077 - mozlinguas_export
13078 - for x in "${mozlinguas[@]}"; do
13079 - xpi_install "${WORKDIR}/${MOZ_P}-${x}"
13080 - done
13081 -}
13082
13083 diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass
13084 deleted file mode 100644
13085 index f292775..0000000
13086 --- a/eclass/mysql-v2.eclass
13087 +++ /dev/null
13088 @@ -1,702 +0,0 @@
13089 -# Copyright 1999-2012 Gentoo Foundation
13090 -# Distributed under the terms of the GNU General Public License v2
13091 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.18 2012/09/10 02:07:08 ferringb Exp $
13092 -
13093 -# @ECLASS: mysql-v2.eclass
13094 -# @MAINTAINER:
13095 -# Maintainers:
13096 -# - MySQL Team <mysql-bugs@g.o>
13097 -# - Robin H. Johnson <robbat2@g.o>
13098 -# - Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
13099 -# @BLURB: This eclass provides most of the functions for mysql ebuilds
13100 -# @DESCRIPTION:
13101 -# The mysql-v2.eclass is the base eclass to build the mysql and
13102 -# alternative projects (mariadb) ebuilds.
13103 -# This eclass uses the mysql-autotools and mysql-cmake eclasses for the
13104 -# specific bits related to the build system.
13105 -# It provides the src_unpack, src_prepare, src_configure, src_compile,
13106 -# src_install, pkg_preinst, pkg_postinst, pkg_config and pkg_postrm
13107 -# phase hooks.
13108 -
13109 -# @ECLASS-VARIABLE: BUILD
13110 -# @DESCRIPTION:
13111 -# Build type of the mysql version
13112 -: ${BUILD:=autotools}
13113 -
13114 -case ${BUILD} in
13115 - "cmake")
13116 - BUILD_INHERIT="mysql-cmake"
13117 - ;;
13118 - "autotools")
13119 - BUILD_INHERIT="mysql-autotools"
13120 -
13121 - WANT_AUTOCONF="latest"
13122 - WANT_AUTOMAKE="latest"
13123 - ;;
13124 - *)
13125 - die "${BUILD} is not a valid build system for mysql"
13126 - ;;
13127 -esac
13128 -
13129 -MYSQL_EXTRAS=""
13130 -
13131 -# @ECLASS-VARIABLE: MYSQL_EXTRAS_VER
13132 -# @DESCRIPTION:
13133 -# The version of the MYSQL_EXTRAS repo to use to build mysql
13134 -# Use "none" to disable it's use
13135 -[[ "${MY_EXTRAS_VER}" == "live" ]] && MYSQL_EXTRAS="git-2"
13136 -
13137 -inherit eutils flag-o-matic gnuconfig ${MYSQL_EXTRAS} ${BUILD_INHERIT} mysql_fx versionator toolchain-funcs
13138 -
13139 -#
13140 -# Supported EAPI versions and export functions
13141 -#
13142 -
13143 -case "${EAPI:-0}" in
13144 - 3|4|5) ;;
13145 - *) die "Unsupported EAPI: ${EAPI}" ;;
13146 -esac
13147 -
13148 -EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_config pkg_postrm
13149 -
13150 -#
13151 -# VARIABLES:
13152 -#
13153 -
13154 -# Shorten the path because the socket path length must be shorter than 107 chars
13155 -# and we will run a mysql server during test phase
13156 -S="${WORKDIR}/mysql"
13157 -
13158 -[[ "${MY_EXTRAS_VER}" == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z"
13159 -if [[ "${MY_EXTRAS_VER}" == "live" ]]; then
13160 - EGIT_PROJECT=mysql-extras
13161 - EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
13162 -fi
13163 -
13164 -# @ECLASS-VARIABLE: MYSQL_PV_MAJOR
13165 -# @DESCRIPTION:
13166 -# Upstream MySQL considers the first two parts of the version number to be the
13167 -# major version. Upgrades that change major version should always run
13168 -# mysql_upgrade.
13169 -MYSQL_PV_MAJOR="$(get_version_component_range 1-2 ${PV})"
13170 -
13171 -# @ECLASS-VARIABLE: MYSQL_VERSION_ID
13172 -# @DESCRIPTION:
13173 -# MYSQL_VERSION_ID will be:
13174 -# major * 10e6 + minor * 10e4 + micro * 10e2 + gentoo revision number, all [0..99]
13175 -# This is an important part, because many of the choices the MySQL ebuild will do
13176 -# depend on this variable.
13177 -# In particular, the code below transforms a $PVR like "5.0.18-r3" in "5001803"
13178 -# We also strip off upstream's trailing letter that they use to respin tarballs
13179 -MYSQL_VERSION_ID=""
13180 -tpv="${PV%[a-z]}"
13181 -tpv=( ${tpv//[-._]/ } ) ; tpv[3]="${PVR:${#PV}}" ; tpv[3]="${tpv[3]##*-r}"
13182 -for vatom in 0 1 2 3 ; do
13183 - # pad to length 2
13184 - tpv[${vatom}]="00${tpv[${vatom}]}"
13185 - MYSQL_VERSION_ID="${MYSQL_VERSION_ID}${tpv[${vatom}]:0-2}"
13186 -done
13187 -# strip leading "0" (otherwise it's considered an octal number by BASH)
13188 -MYSQL_VERSION_ID=${MYSQL_VERSION_ID##"0"}
13189 -
13190 -# This eclass should only be used with at least mysql-5.1.50
13191 -mysql_version_is_at_least "5.1.50" || die "This eclass should only be used with >=mysql-5.1.50"
13192 -
13193 -# @ECLASS-VARIABLE: XTRADB_VER
13194 -# @DEFAULT_UNSET
13195 -# @DESCRIPTION:
13196 -# Version of the XTRADB storage engine
13197 -
13198 -# @ECLASS-VARIABLE: PERCONA_VER
13199 -# @DEFAULT_UNSET
13200 -# @DESCRIPTION:
13201 -# Designation by PERCONA for a MySQL version to apply an XTRADB release
13202 -
13203 -# Work out the default SERVER_URI correctly
13204 -if [ -z "${SERVER_URI}" ]; then
13205 - [ -z "${MY_PV}" ] && MY_PV="${PV//_/-}"
13206 - if [ "${PN}" == "mariadb" ]; then
13207 - MARIA_FULL_PV="$(replace_version_separator 3 '-' ${MY_PV})"
13208 - MARIA_FULL_P="${PN}-${MARIA_FULL_PV}"
13209 - SERVER_URI="
13210 - http://ftp.osuosl.org/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13211 - http://ftp.rediris.es/mirror/MariaDB/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13212 - http://maria.llarian.net/download/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13213 - http://launchpad.net/maria/${MYSQL_PV_MAJOR}/ongoing/+download/${MARIA_FULL_P}.tar.gz
13214 - http://mirrors.fe.up.pt/pub/${PN}/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13215 - http://ftp-stud.hs-esslingen.de/pub/Mirrors/${PN}/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13216 - "
13217 - else
13218 - URI_DIR="MySQL"
13219 - URI_FILE="mysql"
13220 - URI_A="${URI_FILE}-${MY_PV}.tar.gz"
13221 - MIRROR_PV=$(get_version_component_range 1-2 ${PV})
13222 - # Recently upstream switched to an archive site, and not on mirrors
13223 - SERVER_URI="http://downloads.mysql.com/archives/${URI_FILE}-${MIRROR_PV}/${URI_A}
13224 - mirror://mysql/Downloads/${URI_DIR}-${PV%.*}/${URI_A}"
13225 - fi
13226 -fi
13227 -
13228 -# Define correct SRC_URIs
13229 -SRC_URI="${SERVER_URI}"
13230 -
13231 -# Gentoo patches to MySQL
13232 -[[ ${MY_EXTRAS_VER} != live ]] && [[ ${MY_EXTRAS_VER} != none ]] \
13233 -&& SRC_URI="${SRC_URI}
13234 - mirror://gentoo/mysql-extras-${MY_EXTRAS_VER}.tar.bz2
13235 - http://g3nt8.org/patches/mysql-extras-${MY_EXTRAS_VER}.tar.bz2
13236 - http://dev.gentoo.org/~robbat2/distfiles/mysql-extras-${MY_EXTRAS_VER}.tar.bz2
13237 - http://dev.gentoo.org/~jmbsvicetto/distfiles/mysql-extras-${MY_EXTRAS_VER}.tar.bz2"
13238 -
13239 -DESCRIPTION="A fast, multi-threaded, multi-user SQL database server."
13240 -HOMEPAGE="http://www.mysql.com/"
13241 -if [[ "${PN}" == "mariadb" ]]; then
13242 - HOMEPAGE="http://mariadb.org/"
13243 - DESCRIPTION="MariaDB is a MySQL fork with 3rd-party patches and additional storage engines merged."
13244 -fi
13245 -LICENSE="GPL-2"
13246 -SLOT="0"
13247 -
13248 -case "${BUILD}" in
13249 - "autotools")
13250 - IUSE="big-tables debug embedded minimal +perl selinux ssl static test"
13251 - ;;
13252 - "cmake")
13253 - IUSE="debug embedded minimal +perl selinux ssl static test"
13254 - ;;
13255 -esac
13256 -
13257 -IUSE="${IUSE} latin1"
13258 -
13259 -IUSE="${IUSE} extraengine"
13260 -IUSE="${IUSE} cluster"
13261 -
13262 -IUSE="${IUSE} max-idx-128"
13263 -IUSE="${IUSE} berkdb"
13264 -IUSE="${IUSE} +community profiling"
13265 -
13266 -[[ ${PN} == "mariadb" ]] \
13267 -&& IUSE="${IUSE} libevent"
13268 -
13269 -[[ ${PN} == "mariadb" ]] \
13270 -&& mysql_version_is_at_least "5.2" \
13271 -&& IUSE="${IUSE} oqgraph"
13272 -
13273 -[[ ${PN} == "mariadb" ]] \
13274 -&& mysql_version_is_at_least "5.2.5" \
13275 -&& IUSE="${IUSE} sphinx"
13276 -
13277 -mysql_version_is_at_least "5.5.7" \
13278 -&& IUSE="${IUSE} systemtap"
13279 -
13280 -#
13281 -# DEPENDENCIES:
13282 -#
13283 -
13284 -# Be warned, *DEPEND are version-dependant
13285 -# These are used for both runtime and compiletime
13286 -DEPEND="
13287 - ssl? ( >=dev-libs/openssl-0.9.6d )
13288 - kernel_linux? ( sys-process/procps )
13289 - >=sys-apps/sed-4
13290 - >=sys-apps/texinfo-4.7-r1
13291 - >=sys-libs/readline-4.1
13292 - >=sys-libs/zlib-1.2.3
13293 -"
13294 -
13295 -[[ ${PN} == mariadb ]] \
13296 -&& DEPEND="${DEPEND} libevent? ( >=dev-libs/libevent-1.4 )"
13297 -
13298 -# Having different flavours at the same time is not a good idea
13299 -for i in "mysql" "mariadb" ; do
13300 - [[ ${i} == ${PN} ]] ||
13301 - DEPEND="${DEPEND} !dev-db/${i}"
13302 -done
13303 -
13304 -# prefix: first need to implement something for #196294
13305 -RDEPEND="${DEPEND}
13306 - !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) )
13307 - selinux? ( sec-policy/selinux-mysql )
13308 -"
13309 -
13310 -DEPEND="${DEPEND}
13311 - virtual/yacc
13312 -"
13313 -
13314 -DEPEND="${DEPEND} static? ( sys-libs/ncurses[static-libs] )"
13315 -
13316 -# compile-time-only
13317 -DEPEND="${DEPEND} >=dev-util/cmake-2.4.3"
13318 -
13319 -# compile-time-only
13320 -mysql_version_is_at_least "5.5.8" \
13321 -&& DEPEND="${DEPEND} >=dev-util/cmake-2.6.3"
13322 -
13323 -[[ "${PN}" == "mariadb" ]] \
13324 -&& mysql_version_is_at_least "5.2" \
13325 -&& DEPEND="${DEPEND} oqgraph? ( >=dev-libs/boost-1.40.0 )"
13326 -
13327 -[[ "${PN}" == "mariadb" ]] \
13328 -&& mysql_version_is_at_least "5.2.5" \
13329 -&& DEPEND="${DEPEND} sphinx? ( app-misc/sphinx )"
13330 -
13331 -mysql_version_is_at_least "5.5.7" \
13332 -&& DEPEND="${DEPEND} systemtap? ( >=dev-util/systemtap-1.3 )"
13333 -
13334 -# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
13335 -PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
13336 -
13337 -# For other stuff to bring us in
13338 -PDEPEND="${PDEPEND} =virtual/mysql-${MYSQL_PV_MAJOR}"
13339 -
13340 -#
13341 -# External patches
13342 -#
13343 -
13344 -# MariaDB has integrated PBXT
13345 -# PBXT_VERSION means that we have a PBXT patch for this PV
13346 -# PBXT was only introduced after 5.1.12
13347 -pbxt_patch_available() {
13348 - [[ ${PN} != "mariadb" ]] \
13349 - && [[ -n "${PBXT_VERSION}" ]]
13350 - return $?
13351 -}
13352 -
13353 -pbxt_available() {
13354 - pbxt_patch_available || [[ ${PN} == "mariadb" ]]
13355 - return $?
13356 -}
13357 -
13358 -# Get the percona tarball if XTRADB_VER and PERCONA_VER are both set
13359 -# MariaDB has integrated XtraDB
13360 -# XTRADB_VERS means that we have a XTRADB patch for this PV
13361 -# XTRADB was only introduced after 5.1.26
13362 -xtradb_patch_available() {
13363 - [[ ${PN} != "mariadb" ]] \
13364 - && [[ -n "${XTRADB_VER}" && -n "${PERCONA_VER}" ]]
13365 - return $?
13366 -}
13367 -
13368 -
13369 -if pbxt_patch_available; then
13370 -
13371 - PBXT_P="pbxt-${PBXT_VERSION}"
13372 - PBXT_SRC_URI="http://www.primebase.org/download/${PBXT_P}.tar.gz mirror://sourceforge/pbxt/${PBXT_P}.tar.gz"
13373 - SRC_URI="${SRC_URI} pbxt? ( ${PBXT_SRC_URI} )"
13374 -
13375 -fi
13376 -
13377 -# PBXT_NEWSTYLE means pbxt is in storage/ and gets enabled as other plugins
13378 -# vs. built outside the dir
13379 -if pbxt_available; then
13380 -
13381 - IUSE="${IUSE} pbxt"
13382 - PBXT_NEWSTYLE=1
13383 -fi
13384 -
13385 -if xtradb_patch_available; then
13386 - XTRADB_P="percona-xtradb-${XTRADB_VER}"
13387 - XTRADB_SRC_URI_COMMON="${PERCONA_VER}/source/${XTRADB_P}.tar.gz"
13388 - XTRADB_SRC_B1="http://www.percona.com/"
13389 - XTRADB_SRC_B2="${XTRADB_SRC_B1}/percona-builds/"
13390 - XTRADB_SRC_URI1="${XTRADB_SRC_B2}/Percona-Server/Percona-Server-${XTRADB_SRC_URI_COMMON}"
13391 - XTRADB_SRC_URI2="${XTRADB_SRC_B2}/xtradb/${XTRADB_SRC_URI_COMMON}"
13392 - XTRADB_SRC_URI3="${XTRADB_SRC_B1}/${PN}/xtradb/${XTRADB_SRC_URI_COMMON}"
13393 - SRC_URI="${SRC_URI} xtradb? ( ${XTRADB_SRC_URI1} ${XTRADB_SRC_URI2} ${XTRADB_SRC_URI3} )"
13394 - IUSE="${IUSE} xtradb"
13395 -fi
13396 -
13397 -#
13398 -# HELPER FUNCTIONS:
13399 -#
13400 -
13401 -# @FUNCTION: mysql-v2_disable_test
13402 -# @DESCRIPTION:
13403 -# Helper function to disable specific tests.
13404 -mysql-v2_disable_test() {
13405 - ${BUILD_INHERIT}_disable_test "$@"
13406 -}
13407 -
13408 -# @FUNCTION: mysql-v2_configure_minimal
13409 -# @DESCRIPTION:
13410 -# Helper function to configure minimal build
13411 -configure_minimal() {
13412 - ${BUILD_INHERIT}_configure_minimal "$@"
13413 -}
13414 -
13415 -# @FUNCTION: mysql-v2_configure_common
13416 -# @DESCRIPTION:
13417 -# Helper function to configure common builds
13418 -configure_common() {
13419 - ${BUILD_INHERIT}_configure_common "$@"
13420 -}
13421 -
13422 -#
13423 -# EBUILD FUNCTIONS
13424 -#
13425 -
13426 -# @FUNCTION: mysql-v2_pkg_setup
13427 -# @DESCRIPTION:
13428 -# Perform some basic tests and tasks during pkg_setup phase:
13429 -# die if FEATURES="test", USE="-minimal" and not using FEATURES="userpriv"
13430 -# check for conflicting use flags
13431 -# create new user and group for mysql
13432 -# warn about deprecated features
13433 -mysql-v2_pkg_setup() {
13434 -
13435 - if has test ${FEATURES} ; then
13436 - if ! use minimal ; then
13437 - if ! has userpriv ${FEATURES} ; then
13438 - eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
13439 - fi
13440 - fi
13441 - fi
13442 -
13443 - # Check for USE flag problems in pkg_setup
13444 - if use static && use ssl ; then
13445 - M="MySQL does not support being built statically with SSL support enabled!"
13446 - eerror "${M}"
13447 - die "${M}"
13448 - fi
13449 -
13450 - if ! mysql_version_is_at_least "5.2" \
13451 - && use debug ; then
13452 - # Also in package.use.mask
13453 - die "Bug #344885: Upstream has broken USE=debug for 5.1 series >=5.1.51"
13454 - fi
13455 -
13456 - if ( use cluster || use extraengine || use embedded ) \
13457 - && use minimal ; then
13458 - M="USE flags 'cluster', 'extraengine', 'embedded' conflict with 'minimal' USE flag!"
13459 - eerror "${M}"
13460 - die "${M}"
13461 - fi
13462 -
13463 - if xtradb_patch_available \
13464 - && use xtradb \
13465 - && use embedded ; then
13466 - M="USE flags 'xtradb' and 'embedded' conflict and cause build failures"
13467 - eerror "${M}"
13468 - die "${M}"
13469 - fi
13470 -
13471 - # This should come after all of the die statements
13472 - enewgroup mysql 60 || die "problem adding 'mysql' group"
13473 - enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
13474 -
13475 - if use cluster; then
13476 - ewarn "Upstream has noted that the NDB cluster support in the 5.0 and"
13477 - ewarn "5.1 series should NOT be put into production. In the near"
13478 - ewarn "future, it will be disabled from building."
13479 - fi
13480 -}
13481 -
13482 -# @FUNCTION: mysql-v2_src_unpack
13483 -# @DESCRIPTION:
13484 -# Unpack the source code
13485 -mysql-v2_src_unpack() {
13486 -
13487 - # Initialize the proper variables first
13488 - mysql_init_vars
13489 -
13490 - unpack ${A}
13491 - # Grab the patches
13492 - [[ "${MY_EXTRAS_VER}" == "live" ]] && S="${WORKDIR}/mysql-extras" git-2_src_unpack
13493 -
13494 - mv -f "${WORKDIR}/${MY_SOURCEDIR}" "${S}"
13495 -}
13496 -
13497 -# @FUNCTION: mysql-v2_src_prepare
13498 -# @DESCRIPTION:
13499 -# Apply patches to the source code and remove unneeded bundled libs.
13500 -mysql-v2_src_prepare() {
13501 - ${BUILD_INHERIT}_src_prepare "$@"
13502 -}
13503 -
13504 -# @FUNCTION: mysql-v2_src_configure
13505 -# @DESCRIPTION:
13506 -# Configure mysql to build the code for Gentoo respecting the use flags.
13507 -mysql-v2_src_configure() {
13508 - ${BUILD_INHERIT}_src_configure "$@"
13509 -}
13510 -
13511 -# @FUNCTION: mysql-v2_src_compile
13512 -# @DESCRIPTION:
13513 -# Compile the mysql code.
13514 -mysql-v2_src_compile() {
13515 - ${BUILD_INHERIT}_src_compile "$@"
13516 -}
13517 -
13518 -# @FUNCTION: mysql-v2_src_install
13519 -# @DESCRIPTION:
13520 -# Install mysql.
13521 -mysql-v2_src_install() {
13522 - ${BUILD_INHERIT}_src_install "$@"
13523 -}
13524 -
13525 -# @FUNCTION: mysql-v2_pkg_preinst
13526 -# @DESCRIPTION:
13527 -# Create the user and groups for mysql - die if that fails.
13528 -mysql-v2_pkg_preinst() {
13529 - enewgroup mysql 60 || die "problem adding 'mysql' group"
13530 - enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
13531 -}
13532 -
13533 -# @FUNCTION: mysql-v2_pkg_postinst
13534 -# @DESCRIPTION:
13535 -# Run post-installation tasks:
13536 -# create the dir for logfiles if non-existant
13537 -# touch the logfiles and secure them
13538 -# install scripts
13539 -# issue required steps for optional features
13540 -# issue deprecation warnings
13541 -mysql-v2_pkg_postinst() {
13542 -
13543 - # Make sure the vars are correctly initialized
13544 - mysql_init_vars
13545 -
13546 - # Check FEATURES="collision-protect" before removing this
13547 - [[ -d "${ROOT}${MY_LOGDIR}" ]] || install -d -m0750 -o mysql -g mysql "${ROOT}${MY_LOGDIR}"
13548 -
13549 - # Secure the logfiles
13550 - touch "${ROOT}${MY_LOGDIR}"/mysql.{log,err}
13551 - chown mysql:mysql "${ROOT}${MY_LOGDIR}"/mysql*
13552 - chmod 0660 "${ROOT}${MY_LOGDIR}"/mysql*
13553 -
13554 - # Minimal builds don't have the MySQL server
13555 - if ! use minimal ; then
13556 - docinto "support-files"
13557 - for script in \
13558 - support-files/my-*.cnf \
13559 - support-files/magic \
13560 - support-files/ndb-config-2-node.ini
13561 - do
13562 - [[ -f "${script}" ]] \
13563 - && dodoc "${script}"
13564 - done
13565 -
13566 - docinto "scripts"
13567 - for script in scripts/mysql* ; do
13568 - [[ -f "${script}" ]] \
13569 - && [[ "${script%.sh}" == "${script}" ]] \
13570 - && dodoc "${script}"
13571 - done
13572 -
13573 - einfo
13574 - elog "You might want to run:"
13575 - elog "\"emerge --config =${CATEGORY}/${PF}\""
13576 - elog "if this is a new install."
13577 - einfo
13578 -
13579 - einfo
13580 - elog "If you are upgrading major versions, you should run the"
13581 - elog "mysql_upgrade tool."
13582 - einfo
13583 - fi
13584 -
13585 - if pbxt_available && use pbxt ; then
13586 - # TODO: explain it better
13587 - elog " mysql> INSTALL PLUGIN pbxt SONAME 'libpbxt.so';"
13588 - elog " mysql> CREATE TABLE t1 (c1 int, c2 text) ENGINE=pbxt;"
13589 - elog "if, after that, you cannot start the MySQL server,"
13590 - elog "remove the ${MY_DATADIR}/mysql/plugin.* files, then"
13591 - elog "use the MySQL upgrade script to restore the table"
13592 - elog "or execute the following SQL command:"
13593 - elog " CREATE TABLE IF NOT EXISTS plugin ("
13594 - elog " name char(64) binary DEFAULT '' NOT NULL,"
13595 - elog " dl char(128) DEFAULT '' NOT NULL,"
13596 - elog " PRIMARY KEY (name)"
13597 - elog " ) CHARACTER SET utf8 COLLATE utf8_bin;"
13598 - fi
13599 -
13600 - mysql_check_version_range "4.0 to 5.0.99.99" \
13601 - && use berkdb \
13602 - && elog "Berkeley DB support is deprecated and will be removed in future versions!"
13603 -}
13604 -
13605 -# @FUNCTION: mysql-v2_pkg_config
13606 -# @DESCRIPTION:
13607 -# Configure mysql environment.
13608 -mysql-v2_pkg_config() {
13609 -
13610 - local old_MY_DATADIR="${MY_DATADIR}"
13611 -
13612 - # Make sure the vars are correctly initialized
13613 - mysql_init_vars
13614 -
13615 - [[ -z "${MY_DATADIR}" ]] && die "Sorry, unable to find MY_DATADIR"
13616 -
13617 - if built_with_use ${CATEGORY}/${PN} minimal ; then
13618 - die "Minimal builds do NOT include the MySQL server"
13619 - fi
13620 -
13621 - if [[ ( -n "${MY_DATADIR}" ) && ( "${MY_DATADIR}" != "${old_MY_DATADIR}" ) ]]; then
13622 - local MY_DATADIR_s="${ROOT}/${MY_DATADIR}"
13623 - MY_DATADIR_s="${MY_DATADIR_s%%/}"
13624 - local old_MY_DATADIR_s="${ROOT}/old_MY_DATADIR}"
13625 - old_MY_DATADIR_s="${old_MY_DATADIR_s%%/}"
13626 -
13627 - if [[ -d "${old_MY_DATADIR_s}" ]]; then
13628 - if [[ -d "${MY_DATADIR_s}" ]]; then
13629 - ewarn "Both ${old_MY_DATADIR_s} and ${MY_DATADIR_s} exist"
13630 - ewarn "Attempting to use ${MY_DATADIR_s} and preserving ${old_MY_DATADIR_s}"
13631 - else
13632 - elog "Moving MY_DATADIR from ${old_MY_DATADIR_s} to ${MY_DATADIR_s}"
13633 - mv --strip-trailing-slashes -T "${old_MY_DATADIR_s}" "${MY_DATADIR_s}" \
13634 - || die "Moving MY_DATADIR failed"
13635 - fi
13636 - else
13637 - ewarn "Previous MY_DATADIR (${old_MY_DATADIR_s}) does not exist"
13638 - if [[ -d "${MY_DATADIR_s}" ]]; then
13639 - ewarn "Attempting to use ${MY_DATADIR_s}"
13640 - else
13641 - eerror "New MY_DATADIR (${MY_DATADIR_s}) does not exist"
13642 - die "Configuration Failed! Please reinstall ${CATEGORY}/${PN}"
13643 - fi
13644 - fi
13645 - fi
13646 -
13647 - local pwd1="a"
13648 - local pwd2="b"
13649 - local maxtry=15
13650 -
13651 - if [ -z "${MYSQL_ROOT_PASSWORD}" -a -f "${EROOT}/root/.my.cnf" ]; then
13652 - MYSQL_ROOT_PASSWORD="$(sed -n -e '/^password=/s,^password=,,gp' "${EROOT}/root/.my.cnf")"
13653 - fi
13654 -
13655 - if [[ -d "${ROOT}/${MY_DATADIR}/mysql" ]] ; then
13656 - ewarn "You have already a MySQL database in place."
13657 - ewarn "(${ROOT}/${MY_DATADIR}/*)"
13658 - ewarn "Please rename or delete it if you wish to replace it."
13659 - die "MySQL database already exists!"
13660 - fi
13661 -
13662 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
13663 - # localhost. Also causes weird failures.
13664 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
13665 -
13666 - if [ -z "${MYSQL_ROOT_PASSWORD}" ]; then
13667 -
13668 - einfo "Please provide a password for the mysql 'root' user now, in the"
13669 - einfo "MYSQL_ROOT_PASSWORD env var or through the /root/.my.cnf file."
13670 - ewarn "Avoid [\"'\\_%] characters in the password"
13671 - read -rsp " >" pwd1 ; echo
13672 -
13673 - einfo "Retype the password"
13674 - read -rsp " >" pwd2 ; echo
13675 -
13676 - if [[ "x$pwd1" != "x$pwd2" ]] ; then
13677 - die "Passwords are not the same"
13678 - fi
13679 - MYSQL_ROOT_PASSWORD="${pwd1}"
13680 - unset pwd1 pwd2
13681 - fi
13682 -
13683 - local options=""
13684 - local sqltmp="$(emktemp)"
13685 -
13686 - local help_tables="${ROOT}${MY_SHAREDSTATEDIR}/fill_help_tables.sql"
13687 - [[ -r "${help_tables}" ]] \
13688 - && cp "${help_tables}" "${TMPDIR}/fill_help_tables.sql" \
13689 - || touch "${TMPDIR}/fill_help_tables.sql"
13690 - help_tables="${TMPDIR}/fill_help_tables.sql"
13691 -
13692 - pushd "${TMPDIR}" &>/dev/null
13693 - "${EROOT}/usr/bin/mysql_install_db" "--basedir=${EPREFIX}/usr" >"${TMPDIR}"/mysql_install_db.log 2>&1
13694 - if [ $? -ne 0 ]; then
13695 - grep -B5 -A999 -i "ERROR" "${TMPDIR}"/mysql_install_db.log 1>&2
13696 - die "Failed to run mysql_install_db. Please review ${EPREFIX}/var/log/mysql/mysqld.err AND ${TMPDIR}/mysql_install_db.log"
13697 - fi
13698 - popd &>/dev/null
13699 - [[ -f "${ROOT}/${MY_DATADIR}/mysql/user.frm" ]] \
13700 - || die "MySQL databases not installed"
13701 - chown -R mysql:mysql "${ROOT}/${MY_DATADIR}" 2>/dev/null
13702 - chmod 0750 "${ROOT}/${MY_DATADIR}" 2>/dev/null
13703 -
13704 - # Figure out which options we need to disable to do the setup
13705 - helpfile="${TMPDIR}/mysqld-help"
13706 - ${EROOT}/usr/sbin/mysqld --verbose --help >"${helpfile}" 2>/dev/null
13707 - for opt in grant-tables host-cache name-resolve networking slave-start bdb \
13708 - federated innodb ssl log-bin relay-log slow-query-log external-locking \
13709 - ndbcluster \
13710 - ; do
13711 - optexp="--(skip-)?${opt}" optfull="--skip-${opt}"
13712 - egrep -sq -- "${optexp}" "${helpfile}" && options="${options} ${optfull}"
13713 - done
13714 - # But some options changed names
13715 - egrep -sq external-locking "${helpfile}" && \
13716 - options="${options/skip-locking/skip-external-locking}"
13717 -
13718 - # Filling timezones, see
13719 - # http://dev.mysql.com/doc/mysql/en/time-zone-support.html
13720 - "${EROOT}/usr/bin/mysql_tzinfo_to_sql" "${EROOT}/usr/share/zoneinfo" > "${sqltmp}" 2>/dev/null
13721 -
13722 - if [[ -r "${help_tables}" ]] ; then
13723 - cat "${help_tables}" >> "${sqltmp}"
13724 - fi
13725 -
13726 - einfo "Creating the mysql database and setting proper"
13727 - einfo "permissions on it ..."
13728 -
13729 - local socket="${EROOT}/var/run/mysqld/mysqld${RANDOM}.sock"
13730 - local pidfile="${EROOT}/var/run/mysqld/mysqld${RANDOM}.pid"
13731 - local mysqld="${EROOT}/usr/sbin/mysqld \
13732 - ${options} \
13733 - --user=mysql \
13734 - --basedir=${EROOT}/usr \
13735 - --datadir=${ROOT}/${MY_DATADIR} \
13736 - --max_allowed_packet=8M \
13737 - --net_buffer_length=16K \
13738 - --default-storage-engine=MyISAM \
13739 - --socket=${socket} \
13740 - --pid-file=${pidfile}"
13741 - #einfo "About to start mysqld: ${mysqld}"
13742 - ebegin "Starting mysqld"
13743 - ${mysqld} &
13744 - rc=$?
13745 - while ! [[ -S "${socket}" || "${maxtry}" -lt 1 ]] ; do
13746 - maxtry=$((${maxtry}-1))
13747 - echo -n "."
13748 - sleep 1
13749 - done
13750 - eend $rc
13751 -
13752 - if ! [[ -S "${socket}" ]]; then
13753 - die "Completely failed to start up mysqld with: ${mysqld}"
13754 - fi
13755 -
13756 - ebegin "Setting root password"
13757 - # Do this from memory, as we don't want clear text passwords in temp files
13758 - local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'"
13759 - "${EROOT}/usr/bin/mysql" \
13760 - --socket=${socket} \
13761 - -hlocalhost \
13762 - -e "${sql}"
13763 - eend $?
13764 -
13765 - ebegin "Loading \"zoneinfo\", this step may require a few seconds ..."
13766 - "${EROOT}/usr/bin/mysql" \
13767 - --socket=${socket} \
13768 - -hlocalhost \
13769 - -uroot \
13770 - -p"${MYSQL_ROOT_PASSWORD}" \
13771 - mysql < "${sqltmp}"
13772 - rc=$?
13773 - eend $?
13774 - [ $rc -ne 0 ] && ewarn "Failed to load zoneinfo!"
13775 -
13776 - # Stop the server and cleanup
13777 - einfo "Stopping the server ..."
13778 - kill $(< "${pidfile}" )
13779 - rm -f "${sqltmp}"
13780 - wait %1
13781 - einfo "Done"
13782 -}
13783 -
13784 -# @FUNCTION: mysql-v2_pkg_postrm
13785 -# @DESCRIPTION:
13786 -# Remove mysql symlinks.
13787 -mysql-v2_pkg_postrm() {
13788 -
13789 - : # mysql_lib_symlinks "${ED}"
13790 -}
13791
13792 diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
13793 deleted file mode 100644
13794 index 332ac4c..0000000
13795 --- a/eclass/mysql.eclass
13796 +++ /dev/null
13797 @@ -1,1478 +0,0 @@
13798 -# Copyright 1999-2012 Gentoo Foundation
13799 -# Distributed under the terms of the GNU General Public License v2
13800 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.174 2012/09/10 02:07:08 ferringb Exp $
13801 -
13802 -# @ECLASS: mysql.eclass
13803 -# @MAINTAINER:
13804 -# MySQL Team <mysql-bugs@g.o>
13805 -# Luca Longinotti <chtekk@g.o>
13806 -# Robin H. Johnson <robbat2@g.o>
13807 -# @AUTHOR:
13808 -# Francesco Riosa (Retired) <vivo@g.o>
13809 -# @BLURB: This eclass provides most of the functions for mysql ebuilds
13810 -# @DESCRIPTION:
13811 -# The mysql.eclass provides almost all the code to build the mysql ebuilds
13812 -# including the src_unpack, src_prepare, src_configure, src_compile,
13813 -# scr_install, pkg_preinst, pkg_postinst, pkg_config and pkg_postrm
13814 -# phase hooks.
13815 -
13816 -WANT_AUTOCONF="latest"
13817 -WANT_AUTOMAKE="latest"
13818 -
13819 -inherit eutils flag-o-matic gnuconfig autotools multilib mysql_fx versionator toolchain-funcs
13820 -
13821 -# Shorten the path because the socket path length must be shorter than 107 chars
13822 -# and we will run a mysql server during test phase
13823 -S="${WORKDIR}/mysql"
13824 -
13825 -[[ "${MY_EXTRAS_VER}" == "latest" ]] && MY_EXTRAS_VER="20090228-0714Z"
13826 -if [[ "${MY_EXTRAS_VER}" == "live" ]]; then
13827 - EGIT_PROJECT=mysql-extras
13828 - EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
13829 - inherit git-2
13830 -fi
13831 -
13832 -case "${EAPI:-0}" in
13833 - 2 | 3 | 4 | 5)
13834 - EXPORT_FUNCTIONS pkg_setup \
13835 - src_unpack src_prepare \
13836 - src_configure src_compile \
13837 - src_install \
13838 - pkg_preinst pkg_postinst \
13839 - pkg_config pkg_postrm
13840 - IUSE_DEFAULT_ON='+'
13841 - ;;
13842 - 0 | 1)
13843 - EXPORT_FUNCTIONS pkg_setup \
13844 - src_unpack \
13845 - src_compile \
13846 - src_install \
13847 - pkg_preinst pkg_postinst \
13848 - pkg_config pkg_postrm
13849 - ;;
13850 - *)
13851 - die "Unsupported EAPI: ${EAPI}" ;;
13852 -esac
13853 -
13854 -
13855 -# @ECLASS-VARIABLE: MYSQL_PV_MAJOR
13856 -# @DESCRIPTION:
13857 -# Upstream MySQL considers the first two parts of the version number to be the
13858 -# major version. Upgrades that change major version should always run
13859 -# mysql_upgrade.
13860 -MYSQL_PV_MAJOR="$(get_version_component_range 1-2 ${PV})"
13861 -
13862 -# Cluster is a special case...
13863 -if [[ "${PN}" == "mysql-cluster" ]]; then
13864 - case $PV in
13865 - 6.1*|7.0*|7.1*) MYSQL_PV_MAJOR=5.1 ;;
13866 - esac
13867 -fi
13868 -
13869 -
13870 -# @ECLASS-VARIABLE: MYSQL_VERSION_ID
13871 -# @DESCRIPTION:
13872 -# MYSQL_VERSION_ID will be:
13873 -# major * 10e6 + minor * 10e4 + micro * 10e2 + gentoo revision number, all [0..99]
13874 -# This is an important part, because many of the choices the MySQL ebuild will do
13875 -# depend on this variable.
13876 -# In particular, the code below transforms a $PVR like "5.0.18-r3" in "5001803"
13877 -# We also strip off upstream's trailing letter that they use to respin tarballs
13878 -
13879 -MYSQL_VERSION_ID=""
13880 -tpv="${PV%[a-z]}"
13881 -tpv=( ${tpv//[-._]/ } ) ; tpv[3]="${PVR:${#PV}}" ; tpv[3]="${tpv[3]##*-r}"
13882 -for vatom in 0 1 2 3 ; do
13883 - # pad to length 2
13884 - tpv[${vatom}]="00${tpv[${vatom}]}"
13885 - MYSQL_VERSION_ID="${MYSQL_VERSION_ID}${tpv[${vatom}]:0-2}"
13886 -done
13887 -# strip leading "0" (otherwise it's considered an octal number by BASH)
13888 -MYSQL_VERSION_ID=${MYSQL_VERSION_ID##"0"}
13889 -
13890 -# @ECLASS-VARIABLE: MYSQL_COMMUNITY_FEATURES
13891 -# @DESCRIPTION:
13892 -# Specifiy if community features are available. Possible values are 1 (yes)
13893 -# and 0 (no).
13894 -# Community features are available in mysql-community
13895 -# AND in the re-merged mysql-5.0.82 and newer
13896 -if [ "${PN}" == "mysql-community" -o "${PN}" == "mariadb" ]; then
13897 - MYSQL_COMMUNITY_FEATURES=1
13898 -elif [ "${PV#5.0}" != "${PV}" ] && mysql_version_is_at_least "5.0.82"; then
13899 - MYSQL_COMMUNITY_FEATURES=1
13900 -elif [ "${PV#5.1}" != "${PV}" ] && mysql_version_is_at_least "5.1.28"; then
13901 - MYSQL_COMMUNITY_FEATURES=1
13902 -elif [ "${PV#5.4}" != "${PV}" ] ; then
13903 - MYSQL_COMMUNITY_FEATURES=1
13904 -elif [ "${PV#5.5}" != "${PV}" ] ; then
13905 - MYSQL_COMMUNITY_FEATURES=1
13906 -elif [ "${PV#6}" != "${PV}" ] ; then
13907 - MYSQL_COMMUNITY_FEATURES=1
13908 -elif [ "${PV#7}" != "${PV}" ] ; then
13909 - MYSQL_COMMUNITY_FEATURES=1
13910 -else
13911 - MYSQL_COMMUNITY_FEATURES=0
13912 -fi
13913 -
13914 -# @ECLASS-VARIABLE: XTRADB_VER
13915 -# @DESCRIPTION:
13916 -# Version of the XTRADB storage engine
13917 -XTRADB_VER="${XTRADB_VER}"
13918 -
13919 -# @ECLASS-VARIABLE: PERCONA_VER
13920 -# @DESCRIPTION:
13921 -# Designation by PERCONA for a MySQL version to apply an XTRADB release
13922 -PERCONA_VER="${PERCONA_VER}"
13923 -
13924 -# Be warned, *DEPEND are version-dependant
13925 -# These are used for both runtime and compiletime
13926 -DEPEND="ssl? ( >=dev-libs/openssl-0.9.6d )
13927 - kernel_linux? ( sys-process/procps )
13928 - >=sys-apps/sed-4
13929 - >=sys-apps/texinfo-4.7-r1
13930 - >=sys-libs/readline-4.1
13931 - >=sys-libs/zlib-1.2.3"
13932 -
13933 -[[ "${PN}" == "mariadb" ]] \
13934 -&& DEPEND="${DEPEND} libevent? ( >=dev-libs/libevent-1.4 )"
13935 -
13936 -# Having different flavours at the same time is not a good idea
13937 -for i in "mysql" "mysql-community" "mysql-cluster" "mariadb" ; do
13938 - [[ "${i}" == ${PN} ]] ||
13939 - DEPEND="${DEPEND} !dev-db/${i}"
13940 -done
13941 -
13942 -# prefix: first need to implement something for #196294
13943 -RDEPEND="${DEPEND}
13944 - !minimal? ( !prefix? ( dev-db/mysql-init-scripts ) )
13945 - selinux? ( sec-policy/selinux-mysql )"
13946 -
13947 -DEPEND="${DEPEND}
13948 - virtual/yacc"
13949 -
13950 -if [ "${EAPI:-0}" = "2" ]; then
13951 - DEPEND="${DEPEND} static? ( sys-libs/ncurses[static-libs] )"
13952 -fi
13953 -
13954 -# compile-time-only
13955 -mysql_version_is_at_least "5.1" \
13956 -|| DEPEND="${DEPEND} berkdb? ( sys-apps/ed )"
13957 -
13958 -# compile-time-only
13959 -mysql_version_is_at_least "5.1.12" \
13960 -&& DEPEND="${DEPEND} >=dev-util/cmake-2.4.3"
13961 -
13962 -[[ "${PN}" == "mariadb" ]] \
13963 -&& mysql_version_is_at_least "5.2" \
13964 -&& DEPEND="${DEPEND} oqgraph? ( >=dev-libs/boost-1.40.0 )"
13965 -#SphinxSE is included but is not available in 5.2.4 due to a missing plug.in file
13966 -# sphinx? ( app-misc/sphinx )"
13967 -
13968 -# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
13969 -PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
13970 -
13971 -# For other stuff to bring us in
13972 -PDEPEND="${PDEPEND} =virtual/mysql-${MYSQL_PV_MAJOR}"
13973 -
13974 -# Work out the default SERVER_URI correctly
13975 -if [ -z "${SERVER_URI}" ]; then
13976 - [ -z "${MY_PV}" ] && MY_PV="${PV//_/-}"
13977 - if [ "${PN}" == "mariadb" ]; then
13978 - MARIA_FULL_PV="$(replace_version_separator 3 '-' ${PV})"
13979 - MARIA_FULL_P="${PN}-${MARIA_FULL_PV}"
13980 - SERVER_URI="
13981 - http://ftp.osuosl.org/pub/mariadb/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13982 - http://ftp.rediris.es/mirror/MariaDB/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13983 - http://maria.llarian.net/download/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13984 - http://launchpad.net/maria/${MYSQL_PV_MAJOR}/ongoing/+download/${MARIA_FULL_P}.tar.gz
13985 - http://mirrors.fe.up.pt/pub/${PN}/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13986 - http://ftp-stud.hs-esslingen.de/pub/Mirrors/${PN}/${MARIA_FULL_P}/kvm-tarbake-jaunty-x86/${MARIA_FULL_P}.tar.gz
13987 - "
13988 - # The community and cluster builds are on the mirrors
13989 - elif [[ "${MYSQL_COMMUNITY_FEATURES}" == "1" || ${PN} == "mysql-cluster" ]] ; then
13990 - if [[ "${PN}" == "mysql-cluster" ]] ; then
13991 - URI_DIR="MySQL-Cluster"
13992 - URI_FILE="mysql-cluster-gpl"
13993 - else
13994 - URI_DIR="MySQL"
13995 - URI_FILE="mysql"
13996 - fi
13997 - URI_A="${URI_FILE}-${MY_PV}.tar.gz"
13998 - MIRROR_PV=$(get_version_component_range 1-2 ${PV})
13999 - # Recently upstream switched to an archive site, and not on mirrors
14000 - SERVER_URI="http://downloads.mysql.com/archives/${URI_FILE}-${MIRROR_PV}/${URI_A}
14001 - mirror://mysql/Downloads/${URI_DIR}-${PV%.*}/${URI_A}"
14002 - # The (old) enterprise source is on the primary site only
14003 - elif [ "${PN}" == "mysql" ]; then
14004 - SERVER_URI="ftp://ftp.mysql.com/pub/mysql/src/mysql-${MY_PV}.tar.gz"
14005 - fi
14006 -fi
14007 -
14008 -# Define correct SRC_URIs
14009 -SRC_URI="${SERVER_URI}"
14010 -
14011 -# Gentoo patches to MySQL
14012 -[[ ${MY_EXTRAS_VER} != live ]] \
14013 -&& SRC_URI="${SRC_URI}
14014 - mirror://gentoo/mysql-extras-${MY_EXTRAS_VER}.tar.bz2
14015 - http://g3nt8.org/patches/mysql-extras-${MY_EXTRAS_VER}.tar.bz2
14016 - http://dev.gentoo.org/~robbat2/distfiles/mysql-extras-${MY_EXTRAS_VER}.tar.bz2"
14017 -
14018 -DESCRIPTION="A fast, multi-threaded, multi-user SQL database server."
14019 -HOMEPAGE="http://www.mysql.com/"
14020 -if [[ "${PN}" == "mariadb" ]]; then
14021 - HOMEPAGE="http://askmonty.org/"
14022 - DESCRIPTION="MariaDB is a MySQL fork with 3rd-party patches and additional storage engines merged."
14023 -fi
14024 -if [[ "${PN}" == "mysql-community" ]]; then
14025 - DESCRIPTION="${DESCRIPTION} (obsolete, move to dev-db/mysql)"
14026 -fi
14027 -LICENSE="GPL-2"
14028 -SLOT="0"
14029 -IUSE="big-tables debug embedded minimal ${IUSE_DEFAULT_ON}perl selinux ssl static test"
14030 -
14031 -mysql_version_is_at_least "4.1" \
14032 -&& IUSE="${IUSE} latin1"
14033 -
14034 -if mysql_version_is_at_least "4.1.3" ; then
14035 - IUSE="${IUSE} extraengine"
14036 - if [[ "${PN}" != "mysql-cluster" ]] ; then
14037 - IUSE="${IUSE} cluster"
14038 - fi
14039 -fi
14040 -
14041 -mysql_version_is_at_least "5.0" \
14042 -|| IUSE="${IUSE} raid"
14043 -
14044 -mysql_version_is_at_least "5.0.18" \
14045 -&& IUSE="${IUSE} max-idx-128"
14046 -
14047 -mysql_version_is_at_least "5.1" \
14048 -|| IUSE="${IUSE} berkdb"
14049 -
14050 -[ "${MYSQL_COMMUNITY_FEATURES}" == "1" ] \
14051 -&& IUSE="${IUSE} ${IUSE_DEFAULT_ON}community profiling"
14052 -
14053 -[[ "${PN}" == "mariadb" ]] \
14054 -&& IUSE="${IUSE} libevent"
14055 -
14056 -[[ "${PN}" == "mariadb" ]] \
14057 -&& mysql_version_is_at_least "5.2" \
14058 -&& IUSE="${IUSE} oqgraph"
14059 -#SphinxSE is included but is not available in 5.2.4 due to a missing plug.in file
14060 -#&& IUSE="${IUSE} oqgraph sphinx"
14061 -
14062 -# MariaDB has integrated PBXT
14063 -# PBXT_VERSION means that we have a PBXT patch for this PV
14064 -# PBXT was only introduced after 5.1.12
14065 -pbxt_patch_available() {
14066 - [[ "${PN}" != "mariadb" ]] \
14067 - && mysql_version_is_at_least "5.1.12" \
14068 - && [[ -n "${PBXT_VERSION}" ]]
14069 - return $?
14070 -}
14071 -
14072 -pbxt_available() {
14073 - pbxt_patch_available || [[ "${PN}" == "mariadb" ]]
14074 - return $?
14075 -}
14076 -
14077 -# Get the percona tarball if XTRADB_VER and PERCONA_VER are both set
14078 -# MariaDB has integrated XtraDB
14079 -# XTRADB_VERS means that we have a XTRADB patch for this PV
14080 -# XTRADB was only introduced after 5.1.26
14081 -xtradb_patch_available() {
14082 - [[ "${PN}" != "mariadb" ]] \
14083 - && mysql_version_is_at_least "5.1.26" \
14084 - && [[ -n "${XTRADB_VER}" && -n "${PERCONA_VER}" ]]
14085 - return $?
14086 -}
14087 -
14088 -
14089 -pbxt_patch_available \
14090 -&& PBXT_P="pbxt-${PBXT_VERSION}" \
14091 -&& PBXT_SRC_URI="http://www.primebase.org/download/${PBXT_P}.tar.gz mirror://sourceforge/pbxt/${PBXT_P}.tar.gz" \
14092 -&& SRC_URI="${SRC_URI} pbxt? ( ${PBXT_SRC_URI} )" \
14093 -
14094 -# PBXT_NEWSTYLE means pbxt is in storage/ and gets enabled as other plugins
14095 -# vs. built outside the dir
14096 -pbxt_available \
14097 -&& IUSE="${IUSE} pbxt" \
14098 -&& mysql_version_is_at_least "5.1.40" \
14099 -&& PBXT_NEWSTYLE=1
14100 -
14101 -xtradb_patch_available \
14102 -&& XTRADB_P="percona-xtradb-${XTRADB_VER}" \
14103 -&& XTRADB_SRC_URI_COMMON="${PERCONA_VER}/source/${XTRADB_P}.tar.gz" \
14104 -&& XTRADB_SRC_B1="http://www.percona.com/" \
14105 -&& XTRADB_SRC_B2="${XTRADB_SRC_B1}/percona-builds/" \
14106 -&& XTRADB_SRC_URI1="${XTRADB_SRC_B2}/Percona-Server/Percona-Server-${XTRADB_SRC_URI_COMMON}" \
14107 -&& XTRADB_SRC_URI2="${XTRADB_SRC_B2}/xtradb/${XTRADB_SRC_URI_COMMON}" \
14108 -&& XTRADB_SRC_URI3="${XTRADB_SRC_B1}/${PN}/xtradb/${XTRADB_SRC_URI_COMMON}" \
14109 -&& SRC_URI="${SRC_URI} xtradb? ( ${XTRADB_SRC_URI1} ${XTRADB_SRC_URI2} ${XTRADB_SRC_URI3} )" \
14110 -&& IUSE="${IUSE} xtradb"
14111 -
14112 -#
14113 -# HELPER FUNCTIONS:
14114 -#
14115 -
14116 -# @FUNCTION: mysql_disable_test
14117 -# @DESCRIPTION:
14118 -# Helper function to disable specific tests.
14119 -mysql_disable_test() {
14120 - local rawtestname testname testsuite reason mysql_disable_file
14121 - rawtestname="${1}" ; shift
14122 - reason="${@}"
14123 - ewarn "test '${rawtestname}' disabled: '${reason}'"
14124 -
14125 - testsuite="${rawtestname/.*}"
14126 - testname="${rawtestname/*.}"
14127 - mysql_disable_file="${S}/mysql-test/t/disabled.def"
14128 - #einfo "rawtestname=${rawtestname} testname=${testname} testsuite=${testsuite}"
14129 - echo ${testname} : ${reason} >> "${mysql_disable_file}"
14130 -
14131 - # ${S}/mysql-tests/t/disabled.def
14132 - #
14133 - # ${S}/mysql-tests/suite/federated/disabled.def
14134 - #
14135 - # ${S}/mysql-tests/suite/jp/t/disabled.def
14136 - # ${S}/mysql-tests/suite/ndb/t/disabled.def
14137 - # ${S}/mysql-tests/suite/rpl/t/disabled.def
14138 - # ${S}/mysql-tests/suite/parts/t/disabled.def
14139 - # ${S}/mysql-tests/suite/rpl_ndb/t/disabled.def
14140 - # ${S}/mysql-tests/suite/ndb_team/t/disabled.def
14141 - # ${S}/mysql-tests/suite/binlog/t/disabled.def
14142 - # ${S}/mysql-tests/suite/innodb/t/disabled.def
14143 - if [ -n "${testsuite}" ]; then
14144 - for mysql_disable_file in \
14145 - ${S}/mysql-test/suite/${testsuite}/disabled.def \
14146 - ${S}/mysql-test/suite/${testsuite}/t/disabled.def \
14147 - FAILED ; do
14148 - [ -f "${mysql_disable_file}" ] && break
14149 - done
14150 - if [ "${mysql_disabled_file}" != "FAILED" ]; then
14151 - echo "${testname} : ${reason}" >> "${mysql_disable_file}"
14152 - else
14153 - ewarn "Could not find testsuite disabled.def location for ${rawtestname}"
14154 - fi
14155 - fi
14156 -}
14157 -
14158 -# @FUNCTION: mysql_init_vars
14159 -# @DESCRIPTION:
14160 -# void mysql_init_vars()
14161 -# Initialize global variables
14162 -# 2005-11-19 <vivo@g.o>
14163 -mysql_init_vars() {
14164 - MY_SHAREDSTATEDIR=${MY_SHAREDSTATEDIR="${EPREFIX}/usr/share/mysql"}
14165 - MY_SYSCONFDIR=${MY_SYSCONFDIR="${EPREFIX}/etc/mysql"}
14166 - MY_LIBDIR=${MY_LIBDIR="${EPREFIX}/usr/$(get_libdir)/mysql"}
14167 - MY_LOCALSTATEDIR=${MY_LOCALSTATEDIR="${EPREFIX}/var/lib/mysql"}
14168 - MY_LOGDIR=${MY_LOGDIR="${EPREFIX}/var/log/mysql"}
14169 - MY_INCLUDEDIR=${MY_INCLUDEDIR="${EPREFIX}/usr/include/mysql"}
14170 -
14171 - if [[ -z "${MY_DATADIR}" ]] ; then
14172 - MY_DATADIR=""
14173 - if [[ -f ${MY_SYSCONFDIR}/my.cnf ]] ; then
14174 - MY_DATADIR=`"my_print_defaults" mysqld 2>/dev/null \
14175 - | sed -ne '/datadir/s|^--datadir=||p' \
14176 - | tail -n1`
14177 - if [[ -z "${MY_DATADIR}" ]] ; then
14178 - MY_DATADIR=`grep ^datadir ${MY_SYSCONFDIR}/my.cnf \
14179 - | sed -e 's/.*=\s*//' \
14180 - | tail -n1`
14181 - fi
14182 - fi
14183 - if [[ -z "${MY_DATADIR}" ]] ; then
14184 - MY_DATADIR="${MY_LOCALSTATEDIR}"
14185 - einfo "Using default MY_DATADIR"
14186 - fi
14187 - elog "MySQL MY_DATADIR is ${MY_DATADIR}"
14188 -
14189 - if [[ -z "${PREVIOUS_DATADIR}" ]] ; then
14190 - if [[ -e "${MY_DATADIR}" ]] ; then
14191 - # If you get this and you're wondering about it, see bug #207636
14192 - elog "MySQL datadir found in ${MY_DATADIR}"
14193 - elog "A new one will not be created."
14194 - PREVIOUS_DATADIR="yes"
14195 - else
14196 - PREVIOUS_DATADIR="no"
14197 - fi
14198 - export PREVIOUS_DATADIR
14199 - fi
14200 - else
14201 - if [[ ${EBUILD_PHASE} == "config" ]]; then
14202 - local new_MY_DATADIR
14203 - new_MY_DATADIR=`"my_print_defaults" mysqld 2>/dev/null \
14204 - | sed -ne '/datadir/s|^--datadir=||p' \
14205 - | tail -n1`
14206 -
14207 - if [[ ( -n "${new_MY_DATADIR}" ) && ( "${new_MY_DATADIR}" != "${MY_DATADIR}" ) ]]; then
14208 - ewarn "MySQL MY_DATADIR has changed"
14209 - ewarn "from ${MY_DATADIR}"
14210 - ewarn "to ${new_MY_DATADIR}"
14211 - MY_DATADIR="${new_MY_DATADIR}"
14212 - fi
14213 - fi
14214 - fi
14215 -
14216 - if [ "${MY_SOURCEDIR:-unset}" == "unset" ]; then
14217 - MY_SOURCEDIR=${SERVER_URI##*/}
14218 - MY_SOURCEDIR=${MY_SOURCEDIR%.tar*}
14219 - fi
14220 -
14221 - export MY_SHAREDSTATEDIR MY_SYSCONFDIR
14222 - export MY_LIBDIR MY_LOCALSTATEDIR MY_LOGDIR
14223 - export MY_INCLUDEDIR MY_DATADIR MY_SOURCEDIR
14224 -}
14225 -
14226 -configure_minimal() {
14227 - # These are things we exclude from a minimal build, please
14228 - # note that the server actually does get built and installed,
14229 - # but we then delete it before packaging.
14230 - local minimal_exclude_list="server embedded-server extra-tools innodb bench berkeley-db row-based-replication readline"
14231 -
14232 - for i in ${minimal_exclude_list} ; do
14233 - myconf="${myconf} --without-${i}"
14234 - done
14235 - myconf="${myconf} --with-extra-charsets=none"
14236 - myconf="${myconf} --enable-local-infile"
14237 -
14238 - if use static ; then
14239 - myconf="${myconf} --with-client-ldflags=-all-static"
14240 - myconf="${myconf} --disable-shared --with-pic"
14241 - else
14242 - myconf="${myconf} --enable-shared --enable-static"
14243 - fi
14244 -
14245 - if mysql_version_is_at_least "4.1" && ! use latin1 ; then
14246 - myconf="${myconf} --with-charset=utf8"
14247 - myconf="${myconf} --with-collation=utf8_general_ci"
14248 - else
14249 - myconf="${myconf} --with-charset=latin1"
14250 - myconf="${myconf} --with-collation=latin1_swedish_ci"
14251 - fi
14252 -}
14253 -
14254 -configure_common() {
14255 - myconf="${myconf} $(use_with big-tables)"
14256 - myconf="${myconf} --enable-local-infile"
14257 - myconf="${myconf} --with-extra-charsets=all"
14258 - myconf="${myconf} --with-mysqld-user=mysql"
14259 - myconf="${myconf} --with-server"
14260 - myconf="${myconf} --with-unix-socket-path=${EPREFIX}/var/run/mysqld/mysqld.sock"
14261 - myconf="${myconf} --without-libwrap"
14262 -
14263 - if use static ; then
14264 - myconf="${myconf} --with-mysqld-ldflags=-all-static"
14265 - myconf="${myconf} --with-client-ldflags=-all-static"
14266 - myconf="${myconf} --disable-shared --with-pic"
14267 - else
14268 - myconf="${myconf} --enable-shared --enable-static"
14269 - fi
14270 -
14271 - if use debug ; then
14272 - myconf="${myconf} --with-debug=full"
14273 - else
14274 - myconf="${myconf} --without-debug"
14275 - mysql_version_is_at_least "4.1.3" \
14276 - && ( use cluster || [[ "${PN}" == "mysql-cluster" ]] ) \
14277 - && myconf="${myconf} --without-ndb-debug"
14278 - fi
14279 -
14280 - if [ -n "${MYSQL_DEFAULT_CHARSET}" -a -n "${MYSQL_DEFAULT_COLLATION}" ]; then
14281 - ewarn "You are using a custom charset of ${MYSQL_DEFAULT_CHARSET}"
14282 - ewarn "and a collation of ${MYSQL_DEFAULT_COLLATION}."
14283 - ewarn "You MUST file bugs without these variables set."
14284 - myconf="${myconf} --with-charset=${MYSQL_DEFAULT_CHARSET}"
14285 - myconf="${myconf} --with-collation=${MYSQL_DEFAULT_COLLATION}"
14286 - elif mysql_version_is_at_least "4.1" && ! use latin1 ; then
14287 - myconf="${myconf} --with-charset=utf8"
14288 - myconf="${myconf} --with-collation=utf8_general_ci"
14289 - else
14290 - myconf="${myconf} --with-charset=latin1"
14291 - myconf="${myconf} --with-collation=latin1_swedish_ci"
14292 - fi
14293 -
14294 - if use embedded ; then
14295 - myconf="${myconf} --with-embedded-privilege-control"
14296 - myconf="${myconf} --with-embedded-server"
14297 - else
14298 - myconf="${myconf} --without-embedded-privilege-control"
14299 - myconf="${myconf} --without-embedded-server"
14300 - fi
14301 -
14302 -}
14303 -
14304 -configure_40_41_50() {
14305 - myconf="${myconf} --with-zlib-dir=${EPREFIX}/usr"
14306 - myconf="${myconf} $(use_with perl bench)"
14307 - myconf="${myconf} --enable-assembler"
14308 - myconf="${myconf} --with-extra-tools"
14309 - myconf="${myconf} --with-innodb"
14310 - myconf="${myconf} --without-readline"
14311 - myconf="${myconf} $(use_with ssl openssl "${EPREFIX}/usr")"
14312 - mysql_version_is_at_least "5.0" || myconf="${myconf} $(use_with raid)"
14313 -
14314 - # --with-vio is not needed anymore, it's on by default and
14315 - # has been removed from configure
14316 - # Apply to 4.x and 5.0.[0-3]
14317 - if use ssl ; then
14318 - mysql_version_is_at_least "5.0.4" || myconf="${myconf} --with-vio"
14319 - fi
14320 -
14321 - if mysql_version_is_at_least "5.0.60" ; then
14322 - if use berkdb ; then
14323 - elog "Berkeley DB support was disabled due to build failures"
14324 - elog "on multiple arches, go to a version earlier than 5.0.60"
14325 - elog "if you want it again. Gentoo bug #224067."
14326 - fi
14327 - myconf="${myconf} --without-berkeley-db"
14328 - elif use berkdb ; then
14329 - # The following fix is due to a bug with bdb on SPARC's. See:
14330 - # http://www.geocrawler.com/mail/msg.php3?msg_id=4754814&list=8
14331 - # It comes down to non-64-bit safety problems.
14332 - if use alpha || use amd64 || use hppa || use mips || use sparc ; then
14333 - elog "Berkeley DB support was disabled due to compatibility issues on this arch"
14334 - myconf="${myconf} --without-berkeley-db"
14335 - else
14336 - myconf="${myconf} --with-berkeley-db=./bdb"
14337 - fi
14338 - else
14339 - myconf="${myconf} --without-berkeley-db"
14340 - fi
14341 -
14342 - if mysql_version_is_at_least "4.1.3" ; then
14343 - myconf="${myconf} --with-geometry"
14344 - if [[ "${PN}" != "mysql-cluster" ]] ; then
14345 - myconf="${myconf} $(use_with cluster ndbcluster)"
14346 - fi
14347 - fi
14348 -
14349 - if mysql_version_is_at_least "4.1.3" && use extraengine ; then
14350 - # http://dev.mysql.com/doc/mysql/en/archive-storage-engine.html
14351 - myconf="${myconf} --with-archive-storage-engine"
14352 -
14353 - # http://dev.mysql.com/doc/mysql/en/csv-storage-engine.html
14354 - myconf="${myconf} --with-csv-storage-engine"
14355 -
14356 - # http://dev.mysql.com/doc/mysql/en/blackhole-storage-engine.html
14357 - myconf="${myconf} --with-blackhole-storage-engine"
14358 -
14359 - # http://dev.mysql.com/doc/mysql/en/federated-storage-engine.html
14360 - # http://dev.mysql.com/doc/mysql/en/federated-description.html
14361 - # http://dev.mysql.com/doc/mysql/en/federated-limitations.html
14362 - if mysql_version_is_at_least "5.0.3" ; then
14363 - elog "Before using the Federated storage engine, please be sure to read"
14364 - elog "http://dev.mysql.com/doc/mysql/en/federated-limitations.html"
14365 - myconf="${myconf} --with-federated-storage-engine"
14366 - fi
14367 - fi
14368 -
14369 - if [ "${MYSQL_COMMUNITY_FEATURES}" == "1" ]; then
14370 - myconf="${myconf} `use_enable community community-features`"
14371 - if use community; then
14372 - myconf="${myconf} `use_enable profiling`"
14373 - else
14374 - myconf="${myconf} --disable-profiling"
14375 - fi
14376 - fi
14377 -
14378 - mysql_version_is_at_least "5.0.18" \
14379 - && use max-idx-128 \
14380 - && myconf="${myconf} --with-max-indexes=128"
14381 -}
14382 -
14383 -configure_51() {
14384 - # TODO: !!!! readd --without-readline
14385 - # the failure depend upon config/ac-macros/readline.m4 checking into
14386 - # readline.h instead of history.h
14387 - myconf="${myconf} $(use_with ssl ssl "${EPREFIX}"/usr)"
14388 - myconf="${myconf} --enable-assembler"
14389 - myconf="${myconf} --with-geometry"
14390 - myconf="${myconf} --with-readline"
14391 - myconf="${myconf} --with-zlib-dir=${EPREFIX}/usr/"
14392 - myconf="${myconf} --without-pstack"
14393 - myconf="${myconf} --with-plugindir=${EPREFIX}/usr/$(get_libdir)/mysql/plugin"
14394 -
14395 - # This is an explict die here, because if we just forcibly disable it, then the
14396 - # user's data is not accessible.
14397 - use max-idx-128 && die "Bug #336027: upstream has a corruption issue with max-idx-128 presently"
14398 - #use max-idx-128 && myconf="${myconf} --with-max-indexes=128"
14399 - if [ "${MYSQL_COMMUNITY_FEATURES}" == "1" ]; then
14400 - myconf="${myconf} $(use_enable community community-features)"
14401 - if use community; then
14402 - myconf="${myconf} $(use_enable profiling)"
14403 - else
14404 - myconf="${myconf} --disable-profiling"
14405 - fi
14406 - fi
14407 -
14408 - # Scan for all available plugins
14409 - local plugins_avail="$(
14410 - LANG=C \
14411 - find "${S}" \
14412 - \( \
14413 - -name 'plug.in' \
14414 - -o -iname 'configure.in' \
14415 - -o -iname 'configure.ac' \
14416 - \) \
14417 - -print0 \
14418 - | xargs -0 sed -r -n \
14419 - -e '/^MYSQL_STORAGE_ENGINE/{
14420 - s~MYSQL_STORAGE_ENGINE\([[:space:]]*\[?([-_a-z0-9]+)\]?.*,~\1 ~g ;
14421 - s~^([^ ]+).*~\1~gp;
14422 - }' \
14423 - | tr -s '\n' ' '
14424 - )"
14425 -
14426 - # 5.1 introduces a new way to manage storage engines (plugins)
14427 - # like configuration=none
14428 - # This base set are required, and will always be statically built.
14429 - local plugins_sta="csv myisam myisammrg heap"
14430 - local plugins_dyn=""
14431 - local plugins_dis="example ibmdb2i"
14432 -
14433 - # These aren't actually required by the base set, but are really useful:
14434 - plugins_sta="${plugins_sta} archive blackhole"
14435 -
14436 - # default in 5.5.4
14437 - if mysql_version_is_at_least "5.5.4" ; then
14438 - plugins_sta="${plugins_sta} partition"
14439 - fi
14440 - # Now the extras
14441 - if use extraengine ; then
14442 - # like configuration=max-no-ndb, archive and example removed in 5.1.11
14443 - # not added yet: ibmdb2i
14444 - # Not supporting as examples: example,daemon_example,ftexample
14445 - plugins_sta="${plugins_sta} partition"
14446 -
14447 - if [[ "${PN}" != "mariadb" ]] ; then
14448 - elog "Before using the Federated storage engine, please be sure to read"
14449 - elog "http://dev.mysql.com/doc/refman/5.1/en/federated-limitations.html"
14450 - plugins_dyn="${plugins_sta} federated"
14451 - else
14452 - elog "MariaDB includes the FederatedX engine. Be sure to read"
14453 - elog "http://askmonty.org/wiki/index.php/Manual:FederatedX_storage_engine"
14454 - plugins_dyn="${plugins_sta} federatedx"
14455 - fi
14456 - else
14457 - plugins_dis="${plugins_dis} partition federated"
14458 - fi
14459 -
14460 - # Upstream specifically requests that InnoDB always be built:
14461 - # - innobase, innodb_plugin
14462 - # Build falcon if available for 6.x series.
14463 - for i in innobase falcon ; do
14464 - [ -e "${S}"/storage/${i} ] && plugins_sta="${plugins_sta} ${i}"
14465 - done
14466 - for i in innodb_plugin ; do
14467 - [ -e "${S}"/storage/${i} ] && plugins_dyn="${plugins_dyn} ${i}"
14468 - done
14469 -
14470 - # like configuration=max-no-ndb
14471 - if ( use cluster || [[ "${PN}" == "mysql-cluster" ]] ) ; then
14472 - plugins_sta="${plugins_sta} ndbcluster partition"
14473 - plugins_dis="${plugins_dis//partition}"
14474 - myconf="${myconf} --with-ndb-binlog"
14475 - else
14476 - plugins_dis="${plugins_dis} ndbcluster"
14477 - fi
14478 -
14479 - if [[ "${PN}" == "mariadb" ]] ; then
14480 - # In MariaDB, InnoDB is packaged in the xtradb directory, so it's not
14481 - # caught above.
14482 - # This is not optional, without it several upstream testcases fail.
14483 - # Also strongly recommended by upstream.
14484 - if [[ "${PV}" < "5.2.0" ]] ; then
14485 - myconf="${myconf} --with-maria-tmp-tables"
14486 - plugins_sta="${plugins_sta} maria"
14487 - else
14488 - myconf="${myconf} --with-aria-tmp-tables"
14489 - plugins_sta="${plugins_sta} aria"
14490 - fi
14491 -
14492 - [ -e "${S}"/storage/innobase ] || [ -e "${S}"/storage/xtradb ] ||
14493 - die "The ${P} package doesn't provide innobase nor xtradb"
14494 -
14495 - for i in innobase xtradb ; do
14496 - [ -e "${S}"/storage/${i} ] && plugins_sta="${plugins_sta} ${i}"
14497 - done
14498 -
14499 - myconf="${myconf} $(use_with libevent)"
14500 -
14501 - if mysql_version_is_at_least "5.2" ; then
14502 - #This should include sphinx, but the 5.2.4 archive forgot the plug.in file
14503 - #for i in oqgraph sphinx ; do
14504 - for i in oqgraph ; do
14505 - use ${i} \
14506 - && plugins_dyn="${plugins_dyn} ${i}" \
14507 - || plugins_dis="${plugins_dis} ${i}"
14508 - done
14509 - fi
14510 - fi
14511 -
14512 - if pbxt_available && [[ "${PBXT_NEWSTYLE}" == "1" ]]; then
14513 - use pbxt \
14514 - && plugins_dyn="${plugins_dyn} pbxt" \
14515 - || plugins_dis="${plugins_dis} pbxt"
14516 - fi
14517 -
14518 - use static && \
14519 - plugins_sta="${plugins_sta} ${plugins_dyn}" && \
14520 - plugins_dyn=""
14521 -
14522 - einfo "Available plugins: ${plugins_avail}"
14523 - einfo "Dynamic plugins: ${plugins_dyn}"
14524 - einfo "Static plugins: ${plugins_sta}"
14525 - einfo "Disabled plugins: ${plugins_dis}"
14526 -
14527 - # These are the static plugins
14528 - myconf="${myconf} --with-plugins=${plugins_sta// /,}"
14529 - # And the disabled ones
14530 - for i in ${plugins_dis} ; do
14531 - myconf="${myconf} --without-plugin-${i}"
14532 - done
14533 -}
14534 -
14535 -pbxt_src_configure() {
14536 - mysql_init_vars
14537 -
14538 - pushd "${WORKDIR}/pbxt-${PBXT_VERSION}" &>/dev/null
14539 -
14540 - einfo "Reconfiguring dir '${PWD}'"
14541 - eautoreconf
14542 -
14543 - local myconf=""
14544 - myconf="${myconf} --with-mysql=${S} --libdir=${EPREFIX}/usr/$(get_libdir)"
14545 - use debug && myconf="${myconf} --with-debug=full"
14546 - econf ${myconf} || die "Problem configuring PBXT storage engine"
14547 -}
14548 -
14549 -pbxt_src_compile() {
14550 -
14551 - # Be backwards compatible for now
14552 - if [[ $EAPI != 2 ]]; then
14553 - pbxt_src_configure
14554 - fi
14555 - # TODO: is it safe/needed to use emake here ?
14556 - make || die "Problem making PBXT storage engine (${myconf})"
14557 -
14558 - popd
14559 - # TODO: modify test suite for PBXT
14560 -}
14561 -
14562 -pbxt_src_install() {
14563 - pushd "${WORKDIR}/pbxt-${PBXT_VERSION}" &>/dev/null
14564 - emake install DESTDIR="${D}" || die "Failed to install PBXT"
14565 - popd
14566 -}
14567 -
14568 -#
14569 -# EBUILD FUNCTIONS
14570 -#
14571 -# @FUNCTION: mysql_pkg_setup
14572 -# @DESCRIPTION:
14573 -# Perform some basic tests and tasks during pkg_setup phase:
14574 -# die if FEATURES="test", USE="-minimal" and not using FEATURES="userpriv"
14575 -# check for conflicting use flags
14576 -# create new user and group for mysql
14577 -# warn about deprecated features
14578 -mysql_pkg_setup() {
14579 - if has test ${FEATURES} ; then
14580 - if ! use minimal ; then
14581 - if [[ $UID -eq 0 ]]; then
14582 - eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
14583 - fi
14584 - fi
14585 - fi
14586 -
14587 - # bug 350844
14588 - case "${EAPI:-0}" in
14589 - 0 | 1)
14590 - if use static && ! built_with_use sys-libs/ncurses static-libs; then
14591 - die "To build MySQL statically you need to enable static-libs for sys-libs/ncurses"
14592 - fi
14593 - ;;
14594 - esac
14595 -
14596 - # Check for USE flag problems in pkg_setup
14597 - if use static && use ssl ; then
14598 - M="MySQL does not support being built statically with SSL support enabled!"
14599 - eerror "${M}"
14600 - die "${M}"
14601 - fi
14602 -
14603 - if mysql_version_is_at_least "5.1.51" \
14604 - && ! mysql_version_is_at_least "5.2" \
14605 - && use debug ; then
14606 - # Also in package.use.mask
14607 - die "Bug #344885: Upstream has broken USE=debug for 5.1 series >=5.1.51"
14608 - fi
14609 -
14610 - if ! mysql_version_is_at_least "5.0" \
14611 - && use raid \
14612 - && use static ; then
14613 - eerror "USE flags 'raid' and 'static' conflict, you cannot build MySQL statically"
14614 - eerror "with RAID support enabled."
14615 - die "USE flags 'raid' and 'static' conflict!"
14616 - fi
14617 -
14618 - if mysql_version_is_at_least "4.1.3" \
14619 - && ( use cluster || use extraengine || use embedded ) \
14620 - && use minimal ; then
14621 - M="USE flags 'cluster', 'extraengine', 'embedded' conflict with 'minimal' USE flag!"
14622 - eerror "${M}"
14623 - die "${M}"
14624 - fi
14625 -
14626 - if mysql_version_is_at_least "5.1" \
14627 - && xtradb_patch_available \
14628 - && use xtradb \
14629 - && use embedded ; then
14630 - M="USE flags 'xtradb' and 'embedded' conflict and cause build failures"
14631 - eerror "${M}"
14632 - die "${M}"
14633 - fi
14634 -
14635 - # Bug #290570, 284946, 307251
14636 - # Upstream changes made us need a fairly new GCC4.
14637 - # But only for 5.0.8[3-6]!
14638 - if mysql_version_is_at_least "5.0.83" && ! mysql_version_is_at_least 5.0.87 ; then
14639 - GCC_VER=$(gcc-version)
14640 - case ${CHOST}:${GCC_VER} in
14641 - *-darwin*:4.*) : ;; # bug #310615
14642 - *:2*|*:3*|*:4.0|*:4.1|*:4.2)
14643 - eerror "Some releases of MySQL required a very new GCC, and then"
14644 - eerror "later release relaxed that requirement again. Either pick a"
14645 - eerror "MySQL >=5.0.87, or use a newer GCC."
14646 - die "Active GCC too old!" ;;
14647 - esac
14648 - fi
14649 -
14650 - # This should come after all of the die statements
14651 - enewgroup mysql 60 || die "problem adding 'mysql' group"
14652 - enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
14653 -
14654 - mysql_check_version_range "4.0 to 5.0.99.99" \
14655 - && use berkdb \
14656 - && elog "Berkeley DB support is deprecated and will be removed in future versions!"
14657 -
14658 - if [ "${PN}" != "mysql-cluster" ] && use cluster; then
14659 - ewarn "Upstream has noted that the NDB cluster support in the 5.0 and"
14660 - ewarn "5.1 series should NOT be put into production. In the near"
14661 - ewarn "future, it will be disabled from building."
14662 - ewarn ""
14663 - ewarn "If you need NDB support, you should instead move to the new"
14664 - ewarn "mysql-cluster package that represents that upstream NDB"
14665 - ewarn "development."
14666 - fi
14667 -}
14668 -
14669 -# @FUNCTION: mysql_src_unpack
14670 -# @DESCRIPTION:
14671 -# Unpack the source code and call mysql_src_prepare for EAPI < 2.
14672 -mysql_src_unpack() {
14673 - # Initialize the proper variables first
14674 - mysql_init_vars
14675 -
14676 - unpack ${A}
14677 - # Grab the patches
14678 - [[ "${MY_EXTRAS_VER}" == "live" ]] && S="${WORKDIR}/mysql-extras" git_src_unpack
14679 -
14680 - mv -f "${WORKDIR}/${MY_SOURCEDIR}" "${S}"
14681 -
14682 - # Be backwards compatible for now
14683 - case ${EAPI:-0} in
14684 - 2) : ;;
14685 - 0 | 1) mysql_src_prepare ;;
14686 - esac
14687 -}
14688 -
14689 -# @FUNCTION: mysql_src_prepare
14690 -# @DESCRIPTION:
14691 -# Apply patches to the source code and remove unneeded bundled libs.
14692 -mysql_src_prepare() {
14693 - cd "${S}"
14694 -
14695 - # Apply the patches for this MySQL version
14696 - EPATCH_SUFFIX="patch"
14697 - mkdir -p "${EPATCH_SOURCE}" || die "Unable to create epatch directory"
14698 - # Clean out old items
14699 - rm -f "${EPATCH_SOURCE}"/*
14700 - # Now link in right patches
14701 - mysql_mv_patches
14702 - # And apply
14703 - epatch
14704 -
14705 - # last -fPIC fixup, per bug #305873
14706 - i="${S}"/storage/innodb_plugin/plug.in
14707 - [ -f "${i}" ] && sed -i -e '/CFLAGS/s,-prefer-non-pic,,g' "${i}"
14708 -
14709 - # Additional checks, remove bundled zlib (Cluster needs this, for static
14710 - # memory management in zlib, leave available for Cluster)
14711 - if [[ "${PN}" != "mysql-cluster" ]] ; then
14712 - rm -f "${S}/zlib/"*.[ch]
14713 - sed -i -e "s/zlib\/Makefile dnl/dnl zlib\/Makefile/" "${S}/configure.in"
14714 - fi
14715 - rm -f "scripts/mysqlbug"
14716 -
14717 - # Make charsets install in the right place
14718 - find . -name 'Makefile.am' \
14719 - -exec sed --in-place -e 's!$(pkgdatadir)!'${MY_SHAREDSTATEDIR}'!g' {} \;
14720 -
14721 - if mysql_version_is_at_least "4.1" ; then
14722 - # Remove what needs to be recreated, so we're sure it's actually done
14723 - einfo "Cleaning up old buildscript files"
14724 - find . -name Makefile \
14725 - -o -name Makefile.in \
14726 - -o -name configure \
14727 - -exec rm -f {} \;
14728 - rm -f "ltmain.sh"
14729 - rm -f "scripts/mysqlbug"
14730 - fi
14731 -
14732 - local rebuilddirlist d
14733 -
14734 - if xtradb_patch_available && use xtradb ; then
14735 - einfo "Adding storage engine: Percona XtraDB (replacing InnoDB)"
14736 - pushd "${S}"/storage >/dev/null
14737 - i="innobase"
14738 - o="${WORKDIR}/storage-${i}.mysql-upstream"
14739 - # Have we been here already?
14740 - [ -d "${o}" ] && rm -f "${i}"
14741 - # Or maybe we haven't
14742 - [ -d "${i}" -a ! -d "${o}" ] && mv "${i}" "${o}"
14743 - cp -ral "${WORKDIR}/${XTRADB_P}" "${i}"
14744 - popd >/dev/null
14745 - fi
14746 -
14747 - if pbxt_patch_available && [[ "${PBXT_NEWSTYLE}" == "1" ]] && use pbxt ; then
14748 - einfo "Adding storage engine: PBXT"
14749 - pushd "${S}"/storage >/dev/null
14750 - i='pbxt'
14751 - [ -d "${i}" ] && rm -rf "${i}"
14752 - cp -ral "${WORKDIR}/${PBXT_P}" "${i}"
14753 - popd >/dev/null
14754 - fi
14755 -
14756 - if mysql_version_is_at_least "5.1.12" ; then
14757 - rebuilddirlist="."
14758 - # This does not seem to be needed presently. robbat2 2010/02/23
14759 - #einfo "Updating innobase cmake"
14760 - ## TODO: check this with a cmake expert
14761 - #cmake \
14762 - # -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \
14763 - # -DCMAKE_CXX_COMPILER=$(type -P $(tc-getCXX)) \
14764 - # "storage/innobase"
14765 - else
14766 - rebuilddirlist=". innobase"
14767 - fi
14768 -
14769 - for d in ${rebuilddirlist} ; do
14770 - einfo "Reconfiguring dir '${d}'"
14771 - pushd "${d}" &>/dev/null
14772 - eautoreconf
14773 - popd &>/dev/null
14774 - done
14775 -
14776 - if mysql_check_version_range "4.1 to 5.0.99.99" \
14777 - && use berkdb ; then
14778 - einfo "Fixing up berkdb buildsystem"
14779 - [[ -w "bdb/dist/ltmain.sh" ]] && cp -f "ltmain.sh" "bdb/dist/ltmain.sh"
14780 - cp -f "${EPREFIX}/usr/share/aclocal/libtool.m4" "bdb/dist/aclocal/libtool.ac" \
14781 - || die "Could not copy libtool.m4 to bdb/dist/"
14782 - #These files exist only with libtool-2*, and need to be included.
14783 - if [ -f ${EPREFIX}'/usr/share/aclocal/ltsugar.m4' ]; then
14784 - cat "${EPREFIX}/usr/share/aclocal/ltsugar.m4" >> "bdb/dist/aclocal/libtool.ac"
14785 - cat "${EPREFIX}/usr/share/aclocal/ltversion.m4" >> "bdb/dist/aclocal/libtool.ac"
14786 - cat "${EPREFIX}/usr/share/aclocal/lt~obsolete.m4" >> "bdb/dist/aclocal/libtool.ac"
14787 - cat "${EPREFIX}/usr/share/aclocal/ltoptions.m4" >> "bdb/dist/aclocal/libtool.ac"
14788 - fi
14789 - pushd "bdb/dist" &>/dev/null
14790 - sh s_all \
14791 - || die "Failed bdb reconfigure"
14792 - popd &>/dev/null
14793 - fi
14794 -}
14795 -
14796 -# @FUNCTION: mysql_src_configure
14797 -# @DESCRIPTION:
14798 -# Configure mysql to build the code for Gentoo respecting the use flags.
14799 -mysql_src_configure() {
14800 - # Make sure the vars are correctly initialized
14801 - mysql_init_vars
14802 -
14803 - # $myconf is modified by the configure_* functions
14804 - local myconf=""
14805 -
14806 - if use minimal ; then
14807 - configure_minimal
14808 - else
14809 - configure_common
14810 - if mysql_version_is_at_least "5.1.10" ; then
14811 - configure_51
14812 - else
14813 - configure_40_41_50
14814 - fi
14815 - fi
14816 -
14817 - # Bug #114895, bug #110149
14818 - filter-flags "-O" "-O[01]"
14819 -
14820 - # glib-2.3.2_pre fix, bug #16496
14821 - append-flags "-DHAVE_ERRNO_AS_DEFINE=1"
14822 -
14823 - # As discovered by bug #246652, doing a double-level of SSP causes NDB to
14824 - # fail badly during cluster startup.
14825 - if [[ $(gcc-major-version) -lt 4 ]]; then
14826 - filter-flags "-fstack-protector-all"
14827 - fi
14828 -
14829 - CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing"
14830 - CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
14831 - mysql_version_is_at_least "5.0" \
14832 - && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
14833 - export CXXFLAGS
14834 -
14835 - # bug #283926, with GCC4.4, this is required to get correct behavior.
14836 - append-flags -fno-strict-aliasing
14837 -
14838 - # bug #335185, #335995, with >= GCC4.3.3 on x86 only, omit-frame-pointer
14839 - # causes a mis-compile.
14840 - # Upstream bugs:
14841 - # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38562
14842 - # http://bugs.mysql.com/bug.php?id=45205
14843 - use x86 && version_is_at_least "4.3.3" "$(gcc-fullversion)" && \
14844 - append-flags -fno-omit-frame-pointer && \
14845 - filter-flags -fomit-frame-pointer
14846 -
14847 - econf \
14848 - --libexecdir="${EPREFIX}"/usr/sbin \
14849 - --sysconfdir=${MY_SYSCONFDIR} \
14850 - --localstatedir=${MY_LOCALSTATEDIR} \
14851 - --sharedstatedir=${MY_SHAREDSTATEDIR} \
14852 - --libdir=${MY_LIBDIR} \
14853 - --includedir=${MY_INCLUDEDIR} \
14854 - --with-low-memory \
14855 - --with-client-ldflags=-lstdc++ \
14856 - --enable-thread-safe-client \
14857 - --with-comment="Gentoo Linux ${PF}" \
14858 - --without-docs \
14859 - --with-LIBDIR="$(get_libdir)" \
14860 - ${myconf} || die "econf failed"
14861 -
14862 - # TODO: Move this before autoreconf !!!
14863 - find . -type f -name Makefile -print0 \
14864 - | xargs -0 -n100 sed -i \
14865 - -e 's|^pkglibdir *= *$(libdir)/mysql|pkglibdir = $(libdir)|;s|^pkgincludedir *= *$(includedir)/mysql|pkgincludedir = $(includedir)|'
14866 -
14867 - if [[ $EAPI == 2 ]] && [[ "${PBXT_NEWSTYLE}" != "1" ]]; then
14868 - pbxt_patch_available && use pbxt && pbxt_src_configure
14869 - fi
14870 -}
14871 -
14872 -# @FUNCTION: mysql_src_compile
14873 -# @DESCRIPTION:
14874 -# Compile the mysql code.
14875 -mysql_src_compile() {
14876 - # Be backwards compatible for now
14877 - case ${EAPI:-0} in
14878 - 2) : ;;
14879 - 0 | 1) mysql_src_configure ;;
14880 - esac
14881 -
14882 - emake || die "emake failed"
14883 -
14884 - if [[ "${PBXT_NEWSTYLE}" != "1" ]]; then
14885 - pbxt_patch_available && use pbxt && pbxt_src_compile
14886 - fi
14887 -}
14888 -
14889 -# @FUNCTION: mysql_src_install
14890 -# @DESCRIPTION:
14891 -# Install mysql.
14892 -mysql_src_install() {
14893 - # Make sure the vars are correctly initialized
14894 - mysql_init_vars
14895 -
14896 - emake install \
14897 - DESTDIR="${D}" \
14898 - benchdir_root=${MY_SHAREDSTATEDIR} \
14899 - testroot="${MY_SHAREDSTATEDIR}" \
14900 - || die "emake install failed"
14901 -
14902 - if [[ "${PBXT_NEWSTYLE}" != "1" ]]; then
14903 - pbxt_patch_available && use pbxt && pbxt_src_install
14904 - fi
14905 -
14906 - # Convenience links
14907 - einfo "Making Convenience links for mysqlcheck multi-call binary"
14908 - dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqlanalyze"
14909 - dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqlrepair"
14910 - dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqloptimize"
14911 -
14912 - # Various junk (my-*.cnf moved elsewhere)
14913 - einfo "Removing duplicate /usr/share/mysql files"
14914 - rm -Rf "${ED}/usr/share/info"
14915 - for removeme in "mysql-log-rotate" mysql.server* \
14916 - binary-configure* my-*.cnf mi_test_all*
14917 - do
14918 - rm -f "${D}"/${MY_SHAREDSTATEDIR}/${removeme}
14919 - done
14920 -
14921 - # Clean up stuff for a minimal build
14922 - if use minimal ; then
14923 - einfo "Remove all extra content for minimal build"
14924 - rm -Rf "${D}${MY_SHAREDSTATEDIR}"/{mysql-test,sql-bench}
14925 - rm -f "${ED}"/usr/bin/{mysql{_install_db,manager*,_secure_installation,_fix_privilege_tables,hotcopy,_convert_table_format,d_multi,_fix_extensions,_zap,_explain_log,_tableinfo,d_safe,_install,_waitpid,binlog,test},myisam*,isam*,pack_isam}
14926 - rm -f "${ED}/usr/sbin/mysqld"
14927 - rm -f "${D}${MY_LIBDIR}"/lib{heap,merge,nisam,my{sys,strings,sqld,isammrg,isam},vio,dbug}.a
14928 - fi
14929 -
14930 - # Unless they explicitly specific USE=test, then do not install the
14931 - # testsuite. It DOES have a use to be installed, esp. when you want to do a
14932 - # validation of your database configuration after tuning it.
14933 - if use !test ; then
14934 - rm -rf "${D}"/${MY_SHAREDSTATEDIR}/mysql-test
14935 - fi
14936 -
14937 - # Configuration stuff
14938 - case ${MYSQL_PV_MAJOR} in
14939 - 3*|4.0) mysql_mycnf_version="4.0" ;;
14940 - 4.[1-9]|5.0) mysql_mycnf_version="4.1" ;;
14941 - 5.[1-9]|6*|7*) mysql_mycnf_version="5.1" ;;
14942 - esac
14943 - einfo "Building default my.cnf (${mysql_mycnf_version})"
14944 - insinto "${MY_SYSCONFDIR#${EPREFIX}}"
14945 - doins scripts/mysqlaccess.conf
14946 - mycnf_src="my.cnf-${mysql_mycnf_version}"
14947 - sed -e "s!@DATADIR@!${MY_DATADIR}!g" \
14948 - -e "s!/tmp!${EPREFIX}/tmp!" \
14949 - -e "s!/usr!${EPREFIX}/usr!" \
14950 - -e "s!= /var!= ${EPREFIX}/var!" \
14951 - "${FILESDIR}/${mycnf_src}" \
14952 - > "${TMPDIR}/my.cnf.ok"
14953 - use prefix && sed -i -e '/^user[ ]*= mysql$/d' "${TMPDIR}/my.cnf.ok"
14954 - if use latin1 ; then
14955 - sed -i \
14956 - -e "/character-set/s|utf8|latin1|g" \
14957 - "${TMPDIR}/my.cnf.ok"
14958 - fi
14959 - newins "${TMPDIR}/my.cnf.ok" my.cnf
14960 -
14961 - # Minimal builds don't have the MySQL server
14962 - if ! use minimal ; then
14963 - einfo "Creating initial directories"
14964 - # Empty directories ...
14965 - diropts "-m0750"
14966 - if [[ "${PREVIOUS_DATADIR}" != "yes" ]] ; then
14967 - dodir "${MY_DATADIR#${EPREFIX}}"
14968 - keepdir "${MY_DATADIR#${EPREFIX}}"
14969 - chown -R mysql:mysql "${D}/${MY_DATADIR}"
14970 - fi
14971 -
14972 - diropts "-m0755"
14973 - for folder in "${MY_LOGDIR#${EPREFIX}}" "/var/run/mysqld" ; do
14974 - dodir "${folder}"
14975 - keepdir "${folder}"
14976 - chown -R mysql:mysql "${ED}/${folder}"
14977 - done
14978 - fi
14979 -
14980 - # Docs
14981 - einfo "Installing docs"
14982 - for i in README ChangeLog EXCEPTIONS-CLIENT INSTALL-SOURCE ; do
14983 - [[ -f "$i" ]] && dodoc "$i"
14984 - done
14985 - doinfo "${S}"/Docs/mysql.info
14986 -
14987 - # Minimal builds don't have the MySQL server
14988 - if ! use minimal ; then
14989 - einfo "Including support files and sample configurations"
14990 - docinto "support-files"
14991 - for script in \
14992 - "${S}"/support-files/my-*.cnf \
14993 - "${S}"/support-files/magic \
14994 - "${S}"/support-files/ndb-config-2-node.ini
14995 - do
14996 - [[ -f "$script" ]] && dodoc "${script}"
14997 - done
14998 -
14999 - docinto "scripts"
15000 - for script in "${S}"/scripts/mysql* ; do
15001 - [[ -f "$script" ]] && [[ "${script%.sh}" == "${script}" ]] && dodoc "${script}"
15002 - done
15003 -
15004 - fi
15005 -
15006 - mysql_lib_symlinks "${ED}"
15007 -}
15008 -
15009 -# @FUNCTION: mysql_pkg_preinst
15010 -# @DESCRIPTION:
15011 -# Create the user and groups for mysql - die if that fails.
15012 -mysql_pkg_preinst() {
15013 - enewgroup mysql 60 || die "problem adding 'mysql' group"
15014 - enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
15015 -}
15016 -
15017 -# @FUNCTION: mysql_pkg_postinst
15018 -# @DESCRIPTION:
15019 -# Run post-installation tasks:
15020 -# create the dir for logfiles if non-existant
15021 -# touch the logfiles and secure them
15022 -# install scripts
15023 -# issue required steps for optional features
15024 -# issue deprecation warnings
15025 -mysql_pkg_postinst() {
15026 - # Make sure the vars are correctly initialized
15027 - mysql_init_vars
15028 -
15029 - # Check FEATURES="collision-protect" before removing this
15030 - [[ -d "${EROOT}/var/log/mysql" ]] || install -d -m0750 -o mysql -g mysql "${ROOT}${MY_LOGDIR}"
15031 -
15032 - # Secure the logfiles
15033 - touch "${ROOT}${MY_LOGDIR}"/mysql.{log,err}
15034 - chown mysql:mysql "${ROOT}${MY_LOGDIR}"/mysql*
15035 - chmod 0660 "${ROOT}${MY_LOGDIR}"/mysql*
15036 -
15037 - # Minimal builds don't have the MySQL server
15038 - if ! use minimal ; then
15039 - docinto "support-files"
15040 - for script in \
15041 - support-files/my-*.cnf \
15042 - support-files/magic \
15043 - support-files/ndb-config-2-node.ini
15044 - do
15045 - [[ -f "${script}" ]] \
15046 - && dodoc "${script}"
15047 - done
15048 -
15049 - docinto "scripts"
15050 - for script in scripts/mysql* ; do
15051 - [[ -f "${script}" ]] \
15052 - && [[ "${script%.sh}" == "${script}" ]] \
15053 - && dodoc "${script}"
15054 - done
15055 -
15056 - einfo
15057 - elog "You might want to run:"
15058 - elog "\"emerge --config =${CATEGORY}/${PF}\""
15059 - elog "if this is a new install."
15060 - einfo
15061 -
15062 - einfo
15063 - elog "If you are upgrading major versions, you should run the"
15064 - elog "mysql_upgrade tool."
15065 - einfo
15066 - fi
15067 -
15068 - if pbxt_available && use pbxt ; then
15069 - # TODO: explain it better
15070 - elog " mysql> INSTALL PLUGIN pbxt SONAME 'libpbxt.so';"
15071 - elog " mysql> CREATE TABLE t1 (c1 int, c2 text) ENGINE=pbxt;"
15072 - elog "if, after that, you cannot start the MySQL server,"
15073 - elog "remove the ${MY_DATADIR}/mysql/plugin.* files, then"
15074 - elog "use the MySQL upgrade script to restore the table"
15075 - elog "or execute the following SQL command:"
15076 - elog " CREATE TABLE IF NOT EXISTS plugin ("
15077 - elog " name char(64) binary DEFAULT '' NOT NULL,"
15078 - elog " dl char(128) DEFAULT '' NOT NULL,"
15079 - elog " PRIMARY KEY (name)"
15080 - elog " ) CHARACTER SET utf8 COLLATE utf8_bin;"
15081 - fi
15082 -
15083 - mysql_check_version_range "4.0 to 5.0.99.99" \
15084 - && use berkdb \
15085 - && elog "Berkeley DB support is deprecated and will be removed in future versions!"
15086 -}
15087 -
15088 -# @FUNCTION: mysql_pkg_config
15089 -# @DESCRIPTION:
15090 -# Configure mysql environment.
15091 -mysql_pkg_config() {
15092 - local old_MY_DATADIR="${MY_DATADIR}"
15093 -
15094 - # Make sure the vars are correctly initialized
15095 - mysql_init_vars
15096 -
15097 - [[ -z "${MY_DATADIR}" ]] && die "Sorry, unable to find MY_DATADIR"
15098 -
15099 - if built_with_use ${CATEGORY}/${PN} minimal ; then
15100 - die "Minimal builds do NOT include the MySQL server"
15101 - fi
15102 -
15103 - if [[ ( -n "${MY_DATADIR}" ) && ( "${MY_DATADIR}" != "${old_MY_DATADIR}" ) ]]; then
15104 - local MY_DATADIR_s="${ROOT}/${MY_DATADIR}"
15105 - MY_DATADIR_s="${MY_DATADIR_s%%/}"
15106 - local old_MY_DATADIR_s="${ROOT}/${old_MY_DATADIR}"
15107 - old_MY_DATADIR_s="${old_MY_DATADIR_s%%/}"
15108 -
15109 - if [[ -d "${old_MY_DATADIR_s}" ]]; then
15110 - if [[ -d "${MY_DATADIR_s}" ]]; then
15111 - ewarn "Both ${old_MY_DATADIR_s} and ${MY_DATADIR_s} exist"
15112 - ewarn "Attempting to use ${MY_DATADIR_s} and preserving ${old_MY_DATADIR_s}"
15113 - else
15114 - elog "Moving MY_DATADIR from ${old_MY_DATADIR_s} to ${MY_DATADIR_s}"
15115 - mv --strip-trailing-slashes -T "${old_MY_DATADIR_s}" "${MY_DATADIR_s}" \
15116 - || die "Moving MY_DATADIR failed"
15117 - fi
15118 - else
15119 - ewarn "Previous MY_DATADIR (${old_MY_DATADIR_s}) does not exist"
15120 - if [[ -d "${MY_DATADIR_s}" ]]; then
15121 - ewarn "Attempting to use ${MY_DATADIR_s}"
15122 - else
15123 - eerror "New MY_DATADIR (${MY_DATADIR_s}) does not exist"
15124 - die "Configuration Failed! Please reinstall ${CATEGORY}/${PN}"
15125 - fi
15126 - fi
15127 - fi
15128 -
15129 - local pwd1="a"
15130 - local pwd2="b"
15131 - local maxtry=15
15132 -
15133 - if [ -z "${MYSQL_ROOT_PASSWORD}" -a -f "${EROOT}/root/.my.cnf" ]; then
15134 - MYSQL_ROOT_PASSWORD="$(sed -n -e '/^password=/s,^password=,,gp' "${EROOT}/root/.my.cnf")"
15135 - fi
15136 -
15137 - if [[ -d "${ROOT}/${MY_DATADIR}/mysql" ]] ; then
15138 - ewarn "You have already a MySQL database in place."
15139 - ewarn "(${ROOT}/${MY_DATADIR}/*)"
15140 - ewarn "Please rename or delete it if you wish to replace it."
15141 - die "MySQL database already exists!"
15142 - fi
15143 -
15144 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
15145 - # localhost. Also causes weird failures.
15146 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
15147 -
15148 - if [ -z "${MYSQL_ROOT_PASSWORD}" ]; then
15149 -
15150 - einfo "Please provide a password for the mysql 'root' user now, in the"
15151 - einfo "MYSQL_ROOT_PASSWORD env var or through the /root/.my.cnf file."
15152 - ewarn "Avoid [\"'\\_%] characters in the password"
15153 - read -rsp " >" pwd1 ; echo
15154 -
15155 - einfo "Retype the password"
15156 - read -rsp " >" pwd2 ; echo
15157 -
15158 - if [[ "x$pwd1" != "x$pwd2" ]] ; then
15159 - die "Passwords are not the same"
15160 - fi
15161 - MYSQL_ROOT_PASSWORD="${pwd1}"
15162 - unset pwd1 pwd2
15163 - fi
15164 -
15165 - local options=""
15166 - local sqltmp="$(emktemp)"
15167 -
15168 - local help_tables="${ROOT}${MY_SHAREDSTATEDIR}/fill_help_tables.sql"
15169 - [[ -r "${help_tables}" ]] \
15170 - && cp "${help_tables}" "${TMPDIR}/fill_help_tables.sql" \
15171 - || touch "${TMPDIR}/fill_help_tables.sql"
15172 - help_tables="${TMPDIR}/fill_help_tables.sql"
15173 -
15174 - pushd "${TMPDIR}" &>/dev/null
15175 - "${EROOT}/usr/bin/mysql_install_db" >"${TMPDIR}"/mysql_install_db.log 2>&1
15176 - if [ $? -ne 0 ]; then
15177 - grep -B5 -A999 -i "ERROR" "${TMPDIR}"/mysql_install_db.log 1>&2
15178 - die "Failed to run mysql_install_db. Please review /var/log/mysql/mysqld.err AND ${TMPDIR}/mysql_install_db.log"
15179 - fi
15180 - popd &>/dev/null
15181 - [[ -f "${ROOT}/${MY_DATADIR}/mysql/user.frm" ]] \
15182 - || die "MySQL databases not installed"
15183 - chown -R mysql:mysql "${ROOT}/${MY_DATADIR}" 2>/dev/null
15184 - chmod 0750 "${ROOT}/${MY_DATADIR}" 2>/dev/null
15185 -
15186 - # Figure out which options we need to disable to do the setup
15187 - helpfile="${TMPDIR}/mysqld-help"
15188 - ${EROOT}/usr/sbin/mysqld --verbose --help >"${helpfile}" 2>/dev/null
15189 - for opt in grant-tables host-cache name-resolve networking slave-start bdb \
15190 - federated innodb ssl log-bin relay-log slow-query-log external-locking \
15191 - ndbcluster \
15192 - ; do
15193 - optexp="--(skip-)?${opt}" optfull="--skip-${opt}"
15194 - egrep -sq -- "${optexp}" "${helpfile}" && options="${options} ${optfull}"
15195 - done
15196 - # But some options changed names
15197 - egrep -sq external-locking "${helpfile}" && \
15198 - options="${options/skip-locking/skip-external-locking}"
15199 -
15200 - if mysql_version_is_at_least "4.1.3" ; then
15201 - # Filling timezones, see
15202 - # http://dev.mysql.com/doc/mysql/en/time-zone-support.html
15203 - "${EROOT}/usr/bin/mysql_tzinfo_to_sql" "${EROOT}/usr/share/zoneinfo" > "${sqltmp}" 2>/dev/null
15204 -
15205 - if [[ -r "${help_tables}" ]] ; then
15206 - cat "${help_tables}" >> "${sqltmp}"
15207 - fi
15208 - fi
15209 -
15210 - einfo "Creating the mysql database and setting proper"
15211 - einfo "permissions on it ..."
15212 -
15213 - use prefix || options="${options} --user=mysql"
15214 -
15215 - local socket="${EROOT}/var/run/mysqld/mysqld${RANDOM}.sock"
15216 - local pidfile="${EROOT}/var/run/mysqld/mysqld${RANDOM}.pid"
15217 - local mysqld="${EROOT}/usr/sbin/mysqld \
15218 - ${options} \
15219 - --user=mysql \
15220 - --basedir=${EROOT}/usr \
15221 - --datadir=${ROOT}/${MY_DATADIR} \
15222 - --max_allowed_packet=8M \
15223 - --net_buffer_length=16K \
15224 - --default-storage-engine=MyISAM \
15225 - --socket=${socket} \
15226 - --pid-file=${pidfile}"
15227 - #einfo "About to start mysqld: ${mysqld}"
15228 - ebegin "Starting mysqld"
15229 - ${mysqld} &
15230 - rc=$?
15231 - while ! [[ -S "${socket}" || "${maxtry}" -lt 1 ]] ; do
15232 - maxtry=$((${maxtry}-1))
15233 - echo -n "."
15234 - sleep 1
15235 - done
15236 - eend $rc
15237 -
15238 - if ! [[ -S "${socket}" ]]; then
15239 - die "Completely failed to start up mysqld with: ${mysqld}"
15240 - fi
15241 -
15242 - ebegin "Setting root password"
15243 - # Do this from memory, as we don't want clear text passwords in temp files
15244 - local sql="UPDATE mysql.user SET Password = PASSWORD('${MYSQL_ROOT_PASSWORD}') WHERE USER='root'"
15245 - "${EROOT}/usr/bin/mysql" \
15246 - --socket=${socket} \
15247 - -hlocalhost \
15248 - -e "${sql}"
15249 - eend $?
15250 -
15251 - ebegin "Loading \"zoneinfo\", this step may require a few seconds ..."
15252 - "${EROOT}/usr/bin/mysql" \
15253 - --socket=${socket} \
15254 - -hlocalhost \
15255 - -uroot \
15256 - -p"${MYSQL_ROOT_PASSWORD}" \
15257 - mysql < "${sqltmp}"
15258 - rc=$?
15259 - eend $?
15260 - [ $rc -ne 0 ] && ewarn "Failed to load zoneinfo!"
15261 -
15262 - # Stop the server and cleanup
15263 - einfo "Stopping the server ..."
15264 - kill $(< "${pidfile}" )
15265 - rm -f "${sqltmp}"
15266 - wait %1
15267 - einfo "Done"
15268 -}
15269 -
15270 -# @FUNCTION: mysql_pkg_postrm
15271 -# @DESCRIPTION:
15272 -# Remove mysql symlinks.
15273 -mysql_pkg_postrm() {
15274 - : # mysql_lib_symlinks "${ED}"
15275 -}
15276
15277 diff --git a/eclass/obs-service.eclass b/eclass/obs-service.eclass
15278 deleted file mode 100644
15279 index f3384b8..0000000
15280 --- a/eclass/obs-service.eclass
15281 +++ /dev/null
15282 @@ -1,109 +0,0 @@
15283 -# Copyright 1999-2012 Gentoo Foundation
15284 -# Distributed under the terms of the GNU General Public License v2
15285 -# $Header: /var/cvsroot/gentoo-x86/eclass/obs-service.eclass,v 1.3 2012/08/17 13:04:25 scarabeus Exp $
15286 -
15287 -# @ECLASS: obs-service.eclass
15288 -# @MAINTAINER:
15289 -# suse@g.o
15290 -# @BLURB: Reduces code duplication in the Open Build Service services.
15291 -# @DESCRIPTION:
15292 -# This eclass makes it easier to package Open Build Service services. Based on
15293 -# provided information it will set all needed variables and takes care of
15294 -# installation.
15295 -#
15296 -# @EXAMPLE:
15297 -# Typical ebuild using obs-service.eclass:
15298 -#
15299 -# @CODE
15300 -# EAPI=4
15301 -#
15302 -# inherit obs-service
15303 -#
15304 -# KEYWORDS=""
15305 -#
15306 -# DEPEND=""
15307 -# RDEPEND="${DEPEND}"
15308 -#
15309 -# @CODE
15310 -
15311 -# @ECLASS-VARIABLE: OBS_SERVICE_NAME
15312 -# @DESCRIPTION:
15313 -# Name of the service. If not set, it is taken from ${PN}.
15314 -
15315 -# @ECLASS-VARIABLE: OPENSUSE_RELEASE
15316 -# @DESCRIPTION:
15317 -# From which stable openSUSE realease to take a package.
15318 -
15319 -# @ECLASS-VARIABLE: ADDITIONAL_FILES
15320 -# @DEFAULT_UNSET
15321 -# @DESCRIPTION:
15322 -# If any additional files are needed.
15323 -
15324 -case "${EAPI:-0}" in
15325 - 4|5) : ;;
15326 - *) die "EAPI=${EAPI} is not supported" ;;
15327 -esac
15328 -
15329 -HOMEPAGE="http://en.opensuse.org/openSUSE:OSC"
15330 -LICENSE="GPL-2"
15331 -SLOT="0"
15332 -IUSE=""
15333 -RDEPEND="dev-util/osc"
15334 -
15335 -[[ -n ${OBS_SERVICE_NAME} ]] || OBS_SERVICE_NAME=${PN/obs-service-/}
15336 -[[ -n ${OPENSUSE_RELEASE} ]] || OBS_PROJECT="openSUSE:Tools"
15337 -
15338 -DESCRIPTION="Open Build Service client module - ${OBS_SERVICE_NAME} service"
15339 -OBS_PACKAGE="obs-service-${OBS_SERVICE_NAME}"
15340 -
15341 -inherit obs-download
15342 -
15343 -SRC_URI="${OBS_URI}/${OBS_SERVICE_NAME}"
15344 -SRC_URI+=" ${OBS_URI}/${OBS_SERVICE_NAME}.service"
15345 -
15346 -for i in ${ADDITIONAL_FILES}; do
15347 - SRC_URI+=" ${OBS_URI}/${i}"
15348 -done
15349 -
15350 -# @FUNCTION: obs-service_src_unpack
15351 -# @DESCRIPTION:
15352 -# Just copy files. Files are not compressed.
15353 -obs-service_src_unpack() {
15354 - debug-print-function ${FUNCNAME} "$@"
15355 - cd "${DISTDIR}"
15356 - mkdir -p "${S}"
15357 - cp ${A} "${S}"
15358 -}
15359 -
15360 -# @FUNCTION: obs-service_src_prepare
15361 -# @DESCRIPTION:
15362 -# Replaces all /usr/lib/build directories with /usr/share/suse-build to reflect
15363 -# where suse-build is installed in Gentoo.
15364 -obs-service_src_prepare() {
15365 - debug-print-function ${FUNCNAME} "$@"
15366 - debug-print "Replacing all paths to find suse-build in Gentoo"
15367 - find "${S}" -type f -exec \
15368 - sed -i 's|/usr/lib/build|/usr/share/suse-build|g' {} +
15369 -}
15370 -
15371 -# @FUNCTION: obs-service_src_install
15372 -# @DESCRIPTION:
15373 -# Does the installation of the downloaded files.
15374 -obs-service_src_install() {
15375 - debug-print-function ${FUNCNAME} "$@"
15376 - debug-print "Installing service \"${OBS_SERVICE_NAME}\""
15377 - exeinto /usr/lib/obs/service
15378 - doexe "${S}"/${OBS_SERVICE_NAME}
15379 - insinto /usr/lib/obs/service
15380 - doins "${S}"/${OBS_SERVICE_NAME}.service
15381 - if [[ -n ${ADDITIONAL_FILES} ]]; then
15382 - debug-print "Installing following additional files:"
15383 - debug-print " ${ADDITIONAL_FILES}"
15384 - exeinto /usr/lib/obs/service/${OBS_SERVICE_NAME}.files
15385 - for i in ${ADDITIONAL_FILES}; do
15386 - doexe "${S}"/${i}
15387 - done
15388 - fi
15389 -}
15390 -
15391 -EXPORT_FUNCTIONS src_install src_prepare src_unpack
15392
15393 diff --git a/eclass/office-ext.eclass b/eclass/office-ext.eclass
15394 deleted file mode 100644
15395 index c10b7a9..0000000
15396 --- a/eclass/office-ext.eclass
15397 +++ /dev/null
15398 @@ -1,178 +0,0 @@
15399 -# Copyright 1999-2012 Gentoo Foundation
15400 -# Distributed under the terms of the GNU General Public License v2
15401 -# $Header: /var/cvsroot/gentoo-x86/eclass/office-ext.eclass,v 1.6 2012/06/08 03:36:09 vapier Exp $
15402 -
15403 -# @ECLASS: office-ext.eclass
15404 -# @MAINTAINER:
15405 -# The office team <openoffice@g.o>
15406 -# @AUTHOR:
15407 -# Tomáš Chvátal <scarabeus@g.o>
15408 -# @BLURB: Eclass for installing libreoffice/openoffice extensions
15409 -# @DESCRIPTION:
15410 -# Eclass for easing maitenance of libreoffice/openoffice extensions.
15411 -
15412 -case "${EAPI:-0}" in
15413 - 4|5) OEXT_EXPORTED_FUNCTIONS="src_unpack src_install pkg_postinst pkg_prerm" ;;
15414 - *) die "EAPI=${EAPI} is not supported" ;;
15415 -esac
15416 -
15417 -inherit eutils multilib
15418 -
15419 -UNOPKG_BINARY="${EPREFIX}/usr/bin/unopkg"
15420 -
15421 -# @ECLASS-VARIABLE: OO_EXTENSIONS
15422 -# @REQUIRED
15423 -# @DESCRIPTION:
15424 -# Array containing list of extensions to install.
15425 -[[ -z ${OO_EXTENSIONS} ]] && die "OO_EXTENSIONS variable is unset."
15426 -if [[ "$(declare -p OO_EXTENSIONS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
15427 - die "OO_EXTENSIONS variable is not an array."
15428 -fi
15429 -
15430 -DEPEND="virtual/ooo"
15431 -RDEPEND="virtual/ooo"
15432 -
15433 -# Most projects actually do not provide any workdir and we do not unpack the
15434 -# .oxt file at all.
15435 -S="${WORKDIR}"
15436 -
15437 -# @FUNCTION: office-ext_src_unpack
15438 -# @DESCRIPTION:
15439 -# Flush the cache after removal of an extension.
15440 -office-ext_src_unpack() {
15441 - debug-print-function ${FUNCNAME} "$@"
15442 - local i
15443 -
15444 - default
15445 -
15446 - for i in ${OO_EXTENSIONS[@]}; do
15447 - # Copy only if the oxt is present, sometimes they are in tarballs
15448 - # so we want to fail only when we do need to do the cp.
15449 - if [[ -f "${DISTDIR}/${i}" ]] ; then
15450 - debug-print "${FUNCNAME}: cp -v \"${DISTDIR}/${i}\" \"${S}\""
15451 - cp -v "${DISTDIR}/${i}" "${S}" || die
15452 - fi
15453 - done
15454 -}
15455 -
15456 -# @FUNCTION: office-ext_flush_unopkg_cache
15457 -# @DESCRIPTION:
15458 -# Flush the cache after removal of an extension.
15459 -office-ext_flush_unopkg_cache() {
15460 - debug-print-function ${FUNCNAME} "$@"
15461 -
15462 - debug-print "${FUNCNAME}: ${UNOPKG_BINARY} list --shared > /dev/null"
15463 - ${UNOPKG_BINARY} list --shared > /dev/null
15464 -}
15465 -
15466 -# @FUNCTION: office-ext_get_implementation
15467 -# @DESCRIPTION:
15468 -# Determine the implementation we are building against.
15469 -office-ext_get_implementation() {
15470 - debug-print-function ${FUNCNAME} "$@"
15471 - local implementations=(
15472 - "libreoffice"
15473 - "openoffice"
15474 - )
15475 - local i
15476 -
15477 - for i in "${implementations[@]}"; do
15478 - if [[ -d "${EPREFIX}/usr/$(get_libdir)/${i}" ]]; then
15479 - debug-print "${FUNCNAME}: Determined implementation is: \"${EPREFIX}/usr/$(get_libdir)/${i}\""
15480 - echo "${EPREFIX}/usr/$(get_libdir)/${i}"
15481 - return
15482 - fi
15483 - done
15484 -
15485 - die "Unable to determine libreoffice/openoffice implementation!"
15486 -}
15487 -
15488 -# @FUNCTION: office-ext_add_extension
15489 -# @DESCRIPTION:
15490 -# Install the extension into the libreoffice/openoffice.
15491 -office-ext_add_extension() {
15492 - debug-print-function ${FUNCNAME} "$@"
15493 - local ext=$1
15494 - local tmpdir=$(mktemp -d --tmpdir="${T}")
15495 -
15496 - debug-print "${FUNCNAME}: ${UNOPKG_BINARY} add --shared \"${ext}\""
15497 - ebegin "Adding office extension: \"${ext}\""
15498 - ${UNOPKG_BINARY} add --suppress-license \
15499 - --shared "${ext}" \
15500 - "-env:UserInstallation=file:///${tmpdir}" \
15501 - "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
15502 - eend $?
15503 - rm -rf "${tmpdir}"
15504 -}
15505 -
15506 -# @FUNCTION: office-ext_remove_extension
15507 -# @DESCRIPTION:
15508 -# Remove the extension from the libreoffice/openoffice.
15509 -office-ext_remove_extension() {
15510 - debug-print-function ${FUNCNAME} "$@"
15511 - local ext=$1
15512 - local tmpdir=$(mktemp -d --tmpdir="${T}")
15513 -
15514 - debug-print "${FUNCNAME}: ${UNOPKG_BINARY} remove --shared \"${ext}\""
15515 - ebegin "Removing office extension: \"${ext}\""
15516 - ${UNOPKG_BINARY} remove --suppress-license \
15517 - --shared "${ext}" \
15518 - "-env:UserInstallation=file:///${tmpdir}" \
15519 - "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1"
15520 - eend $?
15521 - office-ext_flush_unopkg_cache
15522 - rm -rf "${tmpdir}"
15523 -}
15524 -
15525 -# @FUNCTION: office-ext_src_install
15526 -# @DESCRIPTION:
15527 -# Install the extension source to the proper location.
15528 -office-ext_src_install() {
15529 - debug-print-function ${FUNCNAME} "$@"
15530 - debug-print "Extensions: ${OO_EXTENSIONS[@]}"
15531 - local i
15532 -
15533 - # subshell to not pollute rest of the env with the insinto redefinition
15534 - (
15535 - dodir $(office-ext_get_implementation)/share/extension/install/
15536 - insinto $(office-ext_get_implementation)/share/extension/install/
15537 - for i in ${OO_EXTENSIONS[@]}; do
15538 - doins "${i}"
15539 - done
15540 - )
15541 -
15542 - einfo "Remember that if you replace your office implementation,"
15543 - einfo "you need to recompile all the extensions."
15544 - einfo "Your current implementation location is: "
15545 - einfo " $(office-ext_get_implementation)"
15546 -}
15547 -
15548 -# @FUNCTION: office-ext_pkg_postinst
15549 -# @DESCRIPTION:
15550 -# Add the extensions to the libreoffice/openoffice.
15551 -office-ext_pkg_postinst() {
15552 - debug-print-function ${FUNCNAME} "$@"
15553 - debug-print "Extensions: ${OO_EXTENSIONS[@]}"
15554 - local i
15555 -
15556 - for i in ${OO_EXTENSIONS[@]}; do
15557 - office-ext_add_extension "$(office-ext_get_implementation)/share/extension/install/${i}"
15558 - done
15559 -
15560 -}
15561 -
15562 -# @FUNCTION: office-ext_pkg_prerm
15563 -# @DESCRIPTION:
15564 -# Remove the extensions from the libreoffice/openoffice.
15565 -office-ext_pkg_prerm() {
15566 - debug-print-function ${FUNCNAME} "$@"
15567 - debug-print "Extensions: ${OO_EXTENSIONS[@]}"
15568 - local i
15569 -
15570 - for i in ${OO_EXTENSIONS[@]}; do
15571 - office-ext_remove_extension "${i}"
15572 - done
15573 -}
15574 -
15575 -EXPORT_FUNCTIONS ${OEXT_EXPORTED_FUNCTIONS}
15576 -unset OEXT_EXPORTED_FUNCTIONS
15577
15578 diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass
15579 index 16b23bb..8df7b05 100644
15580 --- a/eclass/perl-module.eclass
15581 +++ b/eclass/perl-module.eclass
15582 @@ -1,6 +1,6 @@
15583 # Copyright 1999-2012 Gentoo Foundation
15584 # Distributed under the terms of the GNU General Public License v2
15585 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.134 2012/09/15 16:16:53 zmedico Exp $
15586 +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.135 2012/09/27 16:35:41 axs Exp $
15587
15588 # @ECLASS: perl-module.eclass
15589 # @MAINTAINER:
15590 @@ -35,7 +35,7 @@ case "${EAPI:-0}" in
15591 DEPEND="dev-lang/perl:=[-build]"
15592 ;;
15593 *)
15594 - DEPEND="dev-lang/perl:*[-build]"
15595 + DEPEND="dev-lang/perl[-build]"
15596 ;;
15597 esac
15598 ;;
15599
15600 diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass
15601 deleted file mode 100644
15602 index f734537..0000000
15603 --- a/eclass/php-ext-source-r2.eclass
15604 +++ /dev/null
15605 @@ -1,372 +0,0 @@
15606 -# Copyright 1999-2012 Gentoo Foundation
15607 -# Distributed under the terms of the GNU General Public License v2
15608 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.29 2012/08/22 15:06:20 olemarkus Exp $
15609 -
15610 -# @ECLASS: php-ext-source-r2.eclass
15611 -# @MAINTAINER:
15612 -# Gentoo PHP team <php-bugs@g.o>
15613 -# @AUTHOR:
15614 -# Author: Tal Peer <coredumb@g.o>
15615 -# Author: Stuart Herbert <stuart@g.o>
15616 -# Author: Luca Longinotti <chtekk@g.o>
15617 -# Author: Jakub Moc <jakub@g.o> (documentation)
15618 -# Author: Ole Markus With <olemarkus@g.o>
15619 -# @BLURB: A unified interface for compiling and installing standalone PHP extensions.
15620 -# @DESCRIPTION:
15621 -# This eclass provides a unified interface for compiling and installing standalone
15622 -# PHP extensions (modules).
15623 -
15624 -inherit flag-o-matic autotools multilib
15625 -
15626 -EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
15627 -
15628 -DEPEND=">=sys-devel/m4-1.4.3
15629 - >=sys-devel/libtool-1.5.18"
15630 -RDEPEND=""
15631 -
15632 -# Because of USE deps, we require at least EAPI 2
15633 -case ${EAPI} in
15634 - 2|3|4|5) ;;
15635 - *)
15636 - die "php-ext-source-r2 is not compatible with EAPI=${EAPI}"
15637 -esac
15638 -
15639 -# @ECLASS-VARIABLE: PHP_EXT_NAME
15640 -# @DESCRIPTION:
15641 -# The extension name. This must be set, otherwise the eclass dies.
15642 -# Only automagically set by php-ext-pecl-r2.eclass, so unless your ebuild
15643 -# inherits that eclass, you must set this manually before inherit.
15644 -[[ -z "${PHP_EXT_NAME}" ]] && die "No module name specified for the php-ext-source-r2 eclass"
15645 -
15646 -# @ECLASS-VARIABLE: PHP_EXT_INI
15647 -# @DESCRIPTION:
15648 -# Controls whether or not to add a line to php.ini for the extension.
15649 -# Defaults to "yes" and should not be changed in most cases.
15650 -[[ -z "${PHP_EXT_INI}" ]] && PHP_EXT_INI="yes"
15651 -
15652 -# @ECLASS-VARIABLE: PHP_EXT_ZENDEXT
15653 -# @DESCRIPTION:
15654 -# Controls whether the extension is a ZendEngine extension or not.
15655 -# Defaults to "no" and if you don't know what is it, you don't need it.
15656 -[[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no"
15657 -
15658 -# @ECLASS-VARIABLE: USE_PHP
15659 -# @DESCRIPTION:
15660 -# Lists the PHP slots compatibile the extension is compatibile with
15661 -[[ -z "${USE_PHP}" ]] && USE_PHP="php5-3"
15662 -
15663 -# @ECLASS-VARIABLE: PHP_EXT_OPTIONAL_USE
15664 -# @DESCRIPTION:
15665 -# If set, this is the USE flag that the PHP dependencies are behind
15666 -# Most commonly set as PHP_EXT_OPTIONAL_USE=php to get the dependencies behind
15667 -# USE=php.
15668 -
15669 -# @ECLASS-VARIABLE: PHP_EXT_S
15670 -# @DESCRIPTION:
15671 -# The relative location of the temporary build directory for the PHP extension within
15672 -# the source package. This is useful for packages that bundle the PHP extension.
15673 -# Defaults to ${S}
15674 -[[ -z "${PHP_EXT_S}" ]] && PHP_EXT_S="${S}"
15675 -
15676 -#Make sure at least one target is installed. Abuses USE dependencies.
15677 -for target in ${USE_PHP}; do
15678 - IUSE="${IUSE} php_targets_${target}"
15679 - target=${target/+}
15680 - SELFDEPEND="${SELFDEPEND} =${CATEGORY}/${PF}[php_targets_${target}]"
15681 - slot=${target/php}
15682 - slot=${slot/-/.}
15683 - PHPDEPEND="${PHPDEPEND}
15684 - php_targets_${target}? ( dev-lang/php:${slot} )"
15685 -done
15686 -
15687 -RDEPEND="${RDEPEND}
15688 - ${PHP_EXT_OPTIONAL_USE}${PHP_EXT_OPTIONAL_USE:+? ( }
15689 - || ( ${SELFDEPEND} )
15690 - ${PHPDEPEND}
15691 - ${PHP_EXT_OPTIONAL_USE:+ )}"
15692 -
15693 -DEPEND="${DEPEND}
15694 - ${PHP_EXT_OPTIONAL_USE}${PHP_EXT_OPTIONAL_USE:+? ( }
15695 - ${PHPDEPEND}
15696 - ${PHP_EXT_OPTIONAL_USE:+ )}
15697 -"
15698 -
15699 -# @FUNCTION: php-ext-source-r2_src_unpack
15700 -# @DESCRIPTION:
15701 -# runs standard src_unpack + _phpize
15702 -
15703 -# @VARIABLE: PHP_EXT_SKIP_PHPIZE
15704 -# @DESCRIPTION:
15705 -# phpize will be run by default for all ebuilds that use
15706 -# php-ext-source-r2_src_unpack
15707 -# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
15708 -php-ext-source-r2_src_unpack() {
15709 - unpack ${A}
15710 - local slot orig_s="${PHP_EXT_S}"
15711 - for slot in $(php_get_slots); do
15712 - cp -r "${orig_s}" "${WORKDIR}/${slot}" || die "Failed to copy source ${orig_s} to PHP target directory"
15713 - done
15714 -}
15715 -
15716 -php-ext-source-r2_src_prepare() {
15717 - local slot orig_s="${PHP_EXT_S}"
15718 - for slot in $(php_get_slots); do
15719 - php_init_slot_env ${slot}
15720 - php-ext-source-r2_phpize
15721 - done
15722 -}
15723 -
15724 -# @FUNCTION: php-ext-source-r2_phpize
15725 -# @DESCRIPTION:
15726 -# Runs phpize and autotools in addition to the standard src_unpack
15727 -php-ext-source-r2_phpize() {
15728 - if [[ "${PHP_EXT_SKIP_PHPIZE}" != 'yes' ]] ; then
15729 - # Create configure out of config.m4
15730 - # I wish I could run this to solve #329071, but I cannot
15731 - #autotools_run_tool ${PHPIZE}
15732 - ${PHPIZE}
15733 - # force run of libtoolize and regeneration of related autotools
15734 - # files (bug 220519)
15735 - rm aclocal.m4
15736 - eautoreconf
15737 - fi
15738 -}
15739 -
15740 -# @FUNCTION: php-ext-source-r2_src_configure
15741 -# @DESCRIPTION:
15742 -# Takes care of standard configure for PHP extensions (modules).
15743 -
15744 -# @VARIABLE: my_conf
15745 -# @DESCRIPTION:
15746 -# Set this in the ebuild to pass configure options to econf.
15747 -php-ext-source-r2_src_configure() {
15748 - # net-snmp creates this file #385403
15749 - addpredict /usr/share/snmp/mibs/.index
15750 - addpredict /var/lib/net-snmp/mib_indexes
15751 -
15752 - local slot
15753 - for slot in $(php_get_slots); do
15754 - php_init_slot_env ${slot}
15755 - # Set the correct config options
15756 - econf --with-php-config=${PHPCONFIG} ${my_conf} || die "Unable to configure code to compile"
15757 - done
15758 -}
15759 -
15760 -# @FUNCTION: php-ext-source-r2_src_compile
15761 -# @DESCRIPTION:
15762 -# Takes care of standard compile for PHP extensions (modules).
15763 -php-ext-source-r2_src_compile() {
15764 - # net-snmp creates this file #324739
15765 - addpredict /usr/share/snmp/mibs/.index
15766 - addpredict /var/lib/net-snmp/mib_indexes
15767 -
15768 - # shm extension createss a semaphore file #173574
15769 - addpredict /session_mm_cli0.sem
15770 - local slot
15771 - for slot in $(php_get_slots); do
15772 - php_init_slot_env ${slot}
15773 - emake || die "Unable to make code"
15774 -
15775 - done
15776 -}
15777 -
15778 -# @FUNCTION: php-ext-source-r2_src_install
15779 -# @DESCRIPTION:
15780 -# Takes care of standard install for PHP extensions (modules).
15781 -
15782 -# @VARIABLE: DOCS
15783 -# @DESCRIPTION:
15784 -# Set in ebuild if you wish to install additional, package-specific documentation.
15785 -php-ext-source-r2_src_install() {
15786 - local slot
15787 - for slot in $(php_get_slots); do
15788 - php_init_slot_env ${slot}
15789 -
15790 - # Let's put the default module away
15791 - insinto "${EXT_DIR}"
15792 - newins "modules/${PHP_EXT_NAME}.so" "${PHP_EXT_NAME}.so" || die "Unable to install extension"
15793 -
15794 - local doc
15795 - for doc in ${DOCS} ; do
15796 - [[ -s ${doc} ]] && dodoc ${doc}
15797 - done
15798 -
15799 - INSTALL_ROOT="${D}" emake install-headers
15800 - done
15801 - php-ext-source-r2_createinifiles
15802 -}
15803 -
15804 -
15805 -php_get_slots() {
15806 - local s slot
15807 - for slot in ${USE_PHP}; do
15808 - use php_targets_${slot} && s+=" ${slot/-/.}"
15809 - done
15810 - echo $s
15811 -}
15812 -
15813 -php_init_slot_env() {
15814 - libdir=$(get_libdir)
15815 -
15816 - PHPIZE="/usr/${libdir}/${1}/bin/phpize"
15817 - PHPCONFIG="/usr/${libdir}/${1}/bin/php-config"
15818 - PHPCLI="/usr/${libdir}/${1}/bin/php"
15819 - PHPCGI="/usr/${libdir}/${1}/bin/php-cgi"
15820 - PHP_PKG="$(best_version =dev-lang/php-${1:3}*)"
15821 - PHPPREFIX="/usr/${libdir}/${slot}"
15822 - EXT_DIR="$(${PHPCONFIG} --extension-dir 2>/dev/null)"
15823 - PHP_CURRENTSLOT=${1:3}
15824 -
15825 - PHP_EXT_S="${WORKDIR}/${1}"
15826 - cd "${PHP_EXT_S}"
15827 -}
15828 -
15829 -php-ext-source-r2_buildinilist() {
15830 - # Work out the list of <ext>.ini files to edit/add to
15831 - if [[ -z "${PHPSAPILIST}" ]] ; then
15832 - PHPSAPILIST="apache2 cli cgi fpm embed"
15833 - fi
15834 -
15835 - PHPINIFILELIST=""
15836 - local x
15837 - for x in ${PHPSAPILIST} ; do
15838 - if [[ -f "/etc/php/${x}-${1}/php.ini" ]] ; then
15839 - PHPINIFILELIST="${PHPINIFILELIST} etc/php/${x}-${1}/ext/${PHP_EXT_NAME}.ini"
15840 - fi
15841 - done
15842 - PHPFULLINIFILELIST="${PHPFULLINIFILELIST} ${PHPINIFILELIST}"
15843 -}
15844 -
15845 -# @FUNCTION: php-ext-source-r2_createinifiles
15846 -# @DESCRIPTION:
15847 -# Builds ini files for every enabled slot and SAPI
15848 -php-ext-source-r2_createinifiles() {
15849 - local slot
15850 - for slot in $(php_get_slots); do
15851 - php_init_slot_env ${slot}
15852 - # Pull in the PHP settings
15853 -
15854 - # Build the list of <ext>.ini files to edit/add to
15855 - php-ext-source-r2_buildinilist ${slot}
15856 -
15857 -
15858 - # Add the needed lines to the <ext>.ini files
15859 - local file
15860 - if [[ "${PHP_EXT_INI}" = "yes" ]] ; then
15861 - for file in ${PHPINIFILELIST}; do
15862 - php-ext-source-r2_addextension "${PHP_EXT_NAME}.so" "${file}"
15863 - done
15864 - fi
15865 -
15866 - # Symlink the <ext>.ini files from ext/ to ext-active/
15867 - local inifile
15868 - for inifile in ${PHPINIFILELIST} ; do
15869 - if [[ -n "${PHP_EXT_INIFILE}" ]]; then
15870 - cat "${FILESDIR}/${PHP_EXT_INIFILE}" > "${inifile}"
15871 - einfo "Added content of ${FILESDIR}/${PHP_EXT_INIFILE} to ${inifile}"
15872 - fi
15873 -
15874 -
15875 -
15876 -
15877 - inidir="${inifile/${PHP_EXT_NAME}.ini/}"
15878 - inidir="${inidir/ext/ext-active}"
15879 - dodir "/${inidir}"
15880 - dosym "/${inifile}" "/${inifile/ext/ext-active}"
15881 - done
15882 -
15883 - # Add support for installing PHP files into a version dependant directory
15884 - PHP_EXT_SHARED_DIR="/usr/share/php/${PHP_EXT_NAME}"
15885 - done
15886 -}
15887 -
15888 -php-ext-source-r2_addextension() {
15889 - if [[ "${PHP_EXT_ZENDEXT}" = "yes" ]] ; then
15890 - # We need the full path for ZendEngine extensions
15891 - # and we need to check for debugging enabled!
15892 - if has_version "dev-lang/php:${PHP_CURRENTSLOT}[threads]" ; then
15893 - if has_version "dev-lang/php:${PHP_CURRENTSLOT}[debug]" ; then
15894 - ext_type="zend_extension_debug_ts"
15895 - else
15896 - ext_type="zend_extension_ts"
15897 - fi
15898 - ext_file="${EXT_DIR}/${1}"
15899 - else
15900 - if has_version "dev-lang/php:${PHP_CURRENTSLOT}[debug]"; then
15901 - ext_type="zend_extension_debug"
15902 - else
15903 - ext_type="zend_extension"
15904 - fi
15905 - ext_file="${EXT_DIR}/${1}"
15906 - fi
15907 -
15908 - # php-5.3 unifies zend_extension loading and just requires the
15909 - # zend_extension keyword with no suffix
15910 - # TODO: drop previous code and this check once <php-5.3 support is
15911 - # discontinued
15912 - if has_version '>=dev-lang/php-5.3' ; then
15913 - ext_type="zend_extension"
15914 - fi
15915 - else
15916 - # We don't need the full path for normal extensions!
15917 - ext_type="extension"
15918 - ext_file="${1}"
15919 - fi
15920 -
15921 - php-ext-source-r2_addtoinifile "${ext_type}" "${ext_file}" "${2}" "Extension added"
15922 -}
15923 -
15924 -# $1 - Setting name
15925 -# $2 - Setting value
15926 -# $3 - File to add to
15927 -# $4 - Sanitized text to output
15928 -php-ext-source-r2_addtoinifile() {
15929 - local inifile="${WORKDIR}/${3}"
15930 - if [[ ! -d $(dirname ${inifile}) ]] ; then
15931 - mkdir -p $(dirname ${inifile})
15932 - fi
15933 -
15934 - # Are we adding the name of a section?
15935 - if [[ ${1:0:1} == "[" ]] ; then
15936 - echo "${1}" >> "${inifile}"
15937 - my_added="${1}"
15938 - else
15939 - echo "${1}=${2}" >> "${inifile}"
15940 - my_added="${1}=${2}"
15941 - fi
15942 -
15943 - if [[ -z "${4}" ]] ; then
15944 - einfo "Added '${my_added}' to /${3}"
15945 - else
15946 - einfo "${4} to /${3}"
15947 - fi
15948 -
15949 - insinto /$(dirname ${3})
15950 - doins "${inifile}"
15951 -}
15952 -
15953 -# @FUNCTION: php-ext-source-r2_addtoinifiles
15954 -# @USAGE: <setting name> <setting value> [message to output]; or just [section name]
15955 -# @DESCRIPTION:
15956 -# Add value settings to php.ini file installed by the extension (module).
15957 -# You can also add a [section], see examples below.
15958 -#
15959 -# @CODE
15960 -# Add some settings for the extension:
15961 -#
15962 -# php-ext-source-r2_addtoinifiles "zend_optimizer.optimization_level" "15"
15963 -# php-ext-source-r2_addtoinifiles "zend_optimizer.enable_loader" "0"
15964 -# php-ext-source-r2_addtoinifiles "zend_optimizer.disable_licensing" "0"
15965 -#
15966 -# Adding values to a section in php.ini file installed by the extension:
15967 -#
15968 -# php-ext-source-r2_addtoinifiles "[Debugger]"
15969 -# php-ext-source-r2_addtoinifiles "debugger.enabled" "on"
15970 -# php-ext-source-r2_addtoinifiles "debugger.profiler_enabled" "on"
15971 -# @CODE
15972 -php-ext-source-r2_addtoinifiles() {
15973 - local x
15974 - for x in ${PHPFULLINIFILELIST} ; do
15975 - php-ext-source-r2_addtoinifile "${1}" "${2}" "${x}" "${3}"
15976 - done
15977 -}
15978
15979 diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
15980 deleted file mode 100644
15981 index f27b980..0000000
15982 --- a/eclass/python-distutils-ng.eclass
15983 +++ /dev/null
15984 @@ -1,391 +0,0 @@
15985 -# Copyright 1999-2012 Gentoo Foundation
15986 -# Distributed under the terms of the GNU General Public License v2
15987 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.26 2012/06/10 14:23:43 floppym Exp $
15988 -
15989 -# @ECLASS: python-distutils-ng
15990 -# @MAINTAINER:
15991 -# Python herd <python@g.o>
15992 -# @AUTHOR:
15993 -# Author: Krzysztof Pawlik <nelchael@g.o>
15994 -# @BLURB: Install Python packages using distutils.
15995 -# @DESCRIPTION:
15996 -# The Python eclass is designed to allow an easier installation of Python
15997 -# packages and their incorporation into the Gentoo Linux system.
15998 -#
15999 -# This eclass provides functions for following phases:
16000 -# - src_prepare - you can define python_prepare_all function that will be run
16001 -# before creating implementation-specific directory and python_prepare
16002 -# function that will be run for each implementation
16003 -# - src_configure - you can define python_configure function that will be run
16004 -# for each implementation
16005 -# - src_compile - you can define python_compile function that will be run for
16006 -# each implementation, default function will run `setup.py build'
16007 -# - src_test - you can define python_test function that will be run for each
16008 -# implementation
16009 -# - src_install - you can define python_install function that will be run for
16010 -# each implementation and python_install_all that will be run in original
16011 -# directory (so it will not contain any implementation-specific files)
16012 -
16013 -# @ECLASS-VARIABLE: PYTHON_COMPAT
16014 -# @DEFAULT_UNSET
16015 -# @DESCRIPTION:
16016 -# This variable contains a space separated list of implementations (see above) a
16017 -# package is compatible to. It must be set before the `inherit' call. The
16018 -# default is to enable all implementations.
16019 -
16020 -if [[ -z "${PYTHON_COMPAT}" ]]; then
16021 - # Default: pure python, support all implementations
16022 - PYTHON_COMPAT=" python2_5 python2_6 python2_7"
16023 - PYTHON_COMPAT+=" python3_1 python3_2"
16024 - PYTHON_COMPAT+=" jython2_5"
16025 - PYTHON_COMPAT+=" pypy1_8 pypy1_9"
16026 -fi
16027 -
16028 -# @ECLASS-VARIABLE: PYTHON_OPTIONAL
16029 -# @DEFAULT_UNSET
16030 -# @DESCRIPTION:
16031 -# Set the value to "yes" to make the dependency on a Python interpreter
16032 -# optional.
16033 -
16034 -# @ECLASS-VARIABLE: PYTHON_DISABLE_COMPILATION
16035 -# @DEFAULT_UNSET
16036 -# @DESCRIPTION:
16037 -# Set the value to "yes" to skip compilation and/or optimization of Python
16038 -# modules.
16039 -
16040 -# @ECLASS-VARIABLE: PYTHON_DISABLE_SCRIPT_REDOS
16041 -# @DEFAULT_UNSET
16042 -# @DESCRIPTION:
16043 -# Set to any value to disable automatic reinstallation of scripts in bin
16044 -# directories. See python-distutils-ng_src_install function.
16045 -
16046 -EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
16047 -
16048 -case "${EAPI}" in
16049 - 0|1|2|3)
16050 - die "Unsupported EAPI=${EAPI} (too old) for python-distutils-ng.eclass" ;;
16051 - 4|5)
16052 - # EAPI=4 needed for REQUIRED_USE
16053 - S="${S:-${WORKDIR}/${P}}"
16054 - ;;
16055 - *)
16056 - die "Unsupported EAPI=${EAPI} (unknown) for python-distutils-ng.eclass" ;;
16057 -esac
16058 -
16059 -DEPEND="${DEPEND} !<sys-apps/portage-2.1.10.58"
16060 -
16061 -# @FUNCTION: _python-distutils-ng_get_binary_for_implementation
16062 -# @USAGE: implementation
16063 -# @RETURN: Full path to Python binary for given implementation.
16064 -# @DESCRIPTION:
16065 -# This function returns full path for Python binary for given implementation.
16066 -#
16067 -# Binary returned by this function should be used instead of simply calling
16068 -# `python'.
16069 -_python-distutils-ng_get_binary_for_implementation() {
16070 - local impl="${1/_/.}"
16071 - case "${impl}" in
16072 - python?.?|jython?.?)
16073 - echo "/usr/bin/${impl}" ;;
16074 - pypy?.?)
16075 - echo "/usr/bin/pypy-c${impl: -3}" ;;
16076 - *)
16077 - die "Unsupported implementation: ${1}" ;;
16078 - esac
16079 -}
16080 -
16081 -required_use_str=""
16082 -for impl in ${PYTHON_COMPAT}; do
16083 - required_use_str+=" python_targets_${impl}"
16084 -done
16085 -required_use_str=" || ( ${required_use_str} )"
16086 -if [[ "${PYTHON_OPTIONAL}" = "yes" ]]; then
16087 - IUSE+=" python"
16088 - REQUIRED_USE+=" python? ( ${required_use_str} )"
16089 -else
16090 - REQUIRED_USE+=" ${required_use_str}"
16091 -fi
16092 -unset required_use_str
16093 -
16094 -for impl in ${PYTHON_COMPAT}; do
16095 - IUSE+=" python_targets_${impl}"
16096 - dep_str="${impl/_/.}"
16097 - case "${dep_str}" in
16098 - python?.?)
16099 - dep_str="dev-lang/python:${dep_str: -3}" ;;
16100 - jython?.?)
16101 - dep_str="dev-java/jython:${dep_str: -3}" ;;
16102 - pypy?.?)
16103 - dep_str="dev-python/pypy:${dep_str: -3}" ;;
16104 - *)
16105 - die "Unsupported implementation: ${impl}" ;;
16106 - esac
16107 - dep_str="python_targets_${impl}? ( ${dep_str} )"
16108 -
16109 - if [[ "${PYTHON_OPTIONAL}" = "yes" ]]; then
16110 - RDEPEND="${RDEPEND} python? ( ${dep_str} )"
16111 - DEPEND="${DEPEND} python? ( ${dep_str} )"
16112 - else
16113 - RDEPEND="${RDEPEND} ${dep_str}"
16114 - DEPEND="${DEPEND} ${dep_str}"
16115 - fi
16116 - unset dep_str
16117 -done
16118 -
16119 -_PACKAGE_SPECIFIC_S="${S#${WORKDIR}/}"
16120 -
16121 -# @FUNCTION: _python-distutils-ng_run_for_impl
16122 -# @USAGE: implementation command_to_run
16123 -# @DESCRIPTION:
16124 -# Run command_to_run using specified Python implementation.
16125 -#
16126 -# This will run the command_to_run in implementation-specific working directory.
16127 -_python-distutils-ng_run_for_impl() {
16128 - local impl="${1}"
16129 - local command="${2}"
16130 -
16131 - local S="${WORKDIR}/impl_${impl}/${_PACKAGE_SPECIFIC_S}"
16132 - PYTHON="$(_python-distutils-ng_get_binary_for_implementation "${impl}")"
16133 - EPYTHON="${impl/_/.}"
16134 -
16135 - einfo "Running ${command} in ${S} for ${impl}"
16136 -
16137 - pushd "${S}" &> /dev/null
16138 - "${command}" "${impl}" "${PYTHON}"
16139 - popd &> /dev/null
16140 -}
16141 -
16142 -# @FUNCTION: _python-distutils-ng_run_for_each_impl
16143 -# @USAGE: command_to_run
16144 -# @DESCRIPTION:
16145 -# Run command_to_run for all enabled Python implementations.
16146 -#
16147 -# See also _python-distutils-ng_run_for_impl
16148 -_python-distutils-ng_run_for_each_impl() {
16149 - local command="${1}"
16150 -
16151 - for impl in ${PYTHON_COMPAT}; do
16152 - use "python_targets_${impl}" ${PYTHON_COMPAT} || continue
16153 - _python-distutils-ng_run_for_impl "${impl}" "${command}"
16154 - done
16155 -}
16156 -
16157 -# @FUNCTION: _python-distutils-ng_default_distutils_compile
16158 -# @DESCRIPTION:
16159 -# Default src_compile for distutils-based packages.
16160 -_python-distutils-ng_default_distutils_compile() {
16161 - "${PYTHON}" setup.py build || die
16162 -}
16163 -
16164 -# @FUNCTION: _python-distutils-ng_default_distutils_install
16165 -# @DESCRIPTION:
16166 -# Default src_install for distutils-based packages.
16167 -_python-distutils-ng_default_distutils_install() {
16168 - local compile_flags="--compile -O2"
16169 -
16170 - case "${1}" in
16171 - jython*)
16172 - # Jython does not support optimizations
16173 - compile_flags="--compile" ;;
16174 - esac
16175 -
16176 - unset PYTHONDONTWRITEBYTECODE
16177 - [[ -n "${PYTHON_DISABLE_COMPILATION}" ]] && compile_flags="--no-compile"
16178 - "${PYTHON}" setup.py install ${compile_flags} --root="${D}" || die
16179 -}
16180 -
16181 -# @FUNCTION: python-distutils-ng_rewrite_hashbang
16182 -# @USAGE: script_file_name implementation
16183 -# @DESCRIPTION:
16184 -# Rewrite #! line in named script, dies if #! line is not for Python or missing.
16185 -python-distutils-ng_rewrite_hashbang() {
16186 - [[ -n "${1}" ]] || die "Missing file name"
16187 - [[ -n "${2}" ]] || die "Missing implementation"
16188 - local file_name="${1}"
16189 - local binary="$(_python-distutils-ng_get_binary_for_implementation "${2}")"
16190 - [[ $(head -n 1 "${file_name}") == '#!'*(python|jython|pypy-c)* ]] || \
16191 - die "Missing or invalid #! line in ${file_name}"
16192 - sed -i -e "1c#!${binary}" "${file_name}" || die
16193 -}
16194 -
16195 -# @FUNCTION: python-distutils-ng_redoscript
16196 -# @USAGE: script_file_path [destination_directory]
16197 -# @DESCRIPTION:
16198 -# Reinstall script installed already by setup.py. This works by first moving the
16199 -# script to ${T} directory and later running python-distutils-ng_doscript on it.
16200 -# script_file_path has to be a full path relative to ${D}.
16201 -# Warning: this function can be run automatically by the eclass in src_install,
16202 -# see python-distutils-ng_src_install and PYTHON_DISABLE_SCRIPT_REDOS variable.
16203 -python-distutils-ng_redoscript() {
16204 - local sbn="$(basename "${1}")"
16205 - mkdir -p "${T}/_${sbn}/" || die "failed to create directory"
16206 - mv "${D}${1}" "${T}/_${sbn}/${sbn}" || die "failed to move file"
16207 - python-distutils-ng_doscript "${T}/_${sbn}/${sbn}" "${2}"
16208 -}
16209 -
16210 -# @FUNCTION: python-distutils-ng_doscript
16211 -# @USAGE: script_file_name [destination_directory]
16212 -# @DESCRIPTION:
16213 -# Install given script file in destination directory (for default value check
16214 -# python-distutils-ng_newscript) for all enabled implementations using original
16215 -# script name as a base name.
16216 -#
16217 -# See also python-distutils-ng_newscript for more details.
16218 -python-distutils-ng_doscript() {
16219 - python-distutils-ng_newscript "${1}" "$(basename "${1}")" "${2}"
16220 -}
16221 -
16222 -# @FUNCTION: python-distutils-ng_newscript
16223 -# @USAGE: script_file_name new_file_name [destination_directory]
16224 -# @DESCRIPTION:
16225 -# Install given script file in destination directory for all enabled
16226 -# implementations using new_file_name as a base name.
16227 -#
16228 -# Destination directory defaults to /usr/bin.
16229 -#
16230 -# If only one Python implementation is enabled the script will be installed
16231 -# as-is. Otherwise each script copy will have the name mangled to
16232 -# "new_file_name-IMPLEMENTATION". For every installed script new hash-bang line
16233 -# will be inserted to reference specific Python interpreter.
16234 -#
16235 -# In case of multiple implementations there will be also a symlink with name
16236 -# equal to new_file_name that will be a symlink to default implementation, which
16237 -# defaults to value of PYTHON_DEFAULT_IMPLEMENTATION, if not specified the
16238 -# function will pick default implementation: it will the be first enabled one
16239 -# from the following list:
16240 -# python2_7, python2_6, python2_5, python3_2, python3_1, pypy1_8, pypy1_7, jython2_5
16241 -python-distutils-ng_newscript() {
16242 - [[ -n "${1}" ]] || die "Missing source file name"
16243 - [[ -n "${2}" ]] || die "Missing destination file name"
16244 - local source_file="${1}"
16245 - local destination_file="${2}"
16246 - local default_impl="${PYTHON_DEFAULT_IMPLEMENTATION}"
16247 - local enabled_impls=0
16248 - local destination_directory="/usr/bin"
16249 - [[ -n "${3}" ]] && destination_directory="${3}"
16250 -
16251 - for impl in ${PYTHON_COMPAT}; do
16252 - use "python_targets_${impl}" || continue
16253 - enabled_impls=$((enabled_impls + 1))
16254 - done
16255 -
16256 - if [[ -z "${default_impl}" ]]; then
16257 - for impl in python{2_7,2_6,2_5,3_2,3_1} pypy{1_9,1_8,1_7} jython2_5; do
16258 - use "python_targets_${impl}" || continue
16259 - default_impl="${impl}"
16260 - break
16261 - done
16262 - else
16263 - use "python_targets_${default_impl}" || \
16264 - die "default implementation ${default_impl} not enabled"
16265 - fi
16266 -
16267 - [[ -n "${default_impl}" ]] || die "Could not select default implementation"
16268 -
16269 - dodir "${destination_directory}"
16270 - insinto "${destination_directory}"
16271 - if [[ "${enabled_impls}" = "1" ]]; then
16272 - einfo "Installing ${source_file} for single implementation (${default_impl}) in ${destination_directory}"
16273 - newins "${source_file}" "${destination_file}"
16274 - fperms 755 "${destination_directory}/${destination_file}"
16275 - python-distutils-ng_rewrite_hashbang "${D}${destination_directory}/${destination_file}" "${default_impl}"
16276 - else
16277 - einfo "Installing ${source_file} for multiple implementations (default: ${default_impl}) in ${destination_directory}"
16278 - for impl in ${PYTHON_COMPAT}; do
16279 - use "python_targets_${impl}" ${PYTHON_COMPAT} || continue
16280 -
16281 - newins "${source_file}" "${destination_file}-${impl}"
16282 - fperms 755 "${destination_directory}/${destination_file}-${impl}"
16283 - python-distutils-ng_rewrite_hashbang "${D}${destination_directory}/${destination_file}-${impl}" "${impl}"
16284 - done
16285 -
16286 - dosym "${destination_file}-${default_impl}" "${destination_directory}/${destination_file}"
16287 - fi
16288 -}
16289 -
16290 -# Phase function: src_prepare
16291 -python-distutils-ng_src_prepare() {
16292 - [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
16293 -
16294 - # Try to run binary for each implementation:
16295 - for impl in ${PYTHON_COMPAT}; do
16296 - use "python_targets_${impl}" ${PYTHON_COMPAT} || continue
16297 - $(_python-distutils-ng_get_binary_for_implementation "${impl}") \
16298 - -c "import sys" || die
16299 - done
16300 -
16301 - # Run prepare shared by all implementations:
16302 - if type python_prepare_all &> /dev/null; then
16303 - einfo "Running python_prepare_all in ${S} for all"
16304 - python_prepare_all
16305 - fi
16306 -
16307 - # Create a copy of S for each implementation:
16308 - for impl in ${PYTHON_COMPAT}; do
16309 - use "python_targets_${impl}" ${PYTHON_COMPAT} || continue
16310 -
16311 - einfo "Creating copy for ${impl} in ${WORKDIR}/impl_${impl}"
16312 - mkdir -p "${WORKDIR}/impl_${impl}" || die
16313 - cp -pr "${S}" "${WORKDIR}/impl_${impl}/${_PACKAGE_SPECIFIC_S}" || die
16314 - done
16315 -
16316 - # Run python_prepare for each implementation:
16317 - if type python_prepare &> /dev/null; then
16318 - _python-distutils-ng_run_for_each_impl python_prepare
16319 - fi
16320 -}
16321 -
16322 -# Phase function: src_configure
16323 -python-distutils-ng_src_configure() {
16324 - [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
16325 -
16326 - if type python_configure &> /dev/null; then
16327 - _python-distutils-ng_run_for_each_impl python_configure
16328 - fi
16329 -}
16330 -
16331 -# Phase function: src_compile
16332 -python-distutils-ng_src_compile() {
16333 - [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
16334 -
16335 - if type python_compile &> /dev/null; then
16336 - _python-distutils-ng_run_for_each_impl python_compile
16337 - else
16338 - _python-distutils-ng_run_for_each_impl \
16339 - _python-distutils-ng_default_distutils_compile
16340 - fi
16341 -}
16342 -
16343 -# Phase function: src_test
16344 -python-distutils-ng_src_test() {
16345 - [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
16346 -
16347 - if type python_test &> /dev/null; then
16348 - _python-distutils-ng_run_for_each_impl python_test
16349 - fi
16350 -}
16351 -
16352 -# Phase function: src_install
16353 -python-distutils-ng_src_install() {
16354 - [[ "${PYTHON_OPTIONAL}" = "yes" ]] && { use python || return; }
16355 -
16356 - if type python_install &> /dev/null; then
16357 - _python-distutils-ng_run_for_each_impl python_install
16358 - else
16359 - _python-distutils-ng_run_for_each_impl \
16360 - _python-distutils-ng_default_distutils_install
16361 - fi
16362 -
16363 - if type python_install_all &> /dev/null; then
16364 - einfo "Running python_install_all in ${S} for all"
16365 - pushd "${S}" &> /dev/null
16366 - python_install_all
16367 - popd &> /dev/null
16368 - fi
16369 -
16370 - if [[ -z "${PYTHON_DISABLE_SCRIPT_REDOS}" ]]; then
16371 - for script_file in $(find "${D}"{,usr/}{,s}bin/ -type f -executable 2> /dev/null); do
16372 - python-distutils-ng_redoscript "/${script_file#${D}}"
16373 - done
16374 - fi
16375 -}
16376
16377 diff --git a/eclass/python.eclass b/eclass/python.eclass
16378 deleted file mode 100644
16379 index fb15953..0000000
16380 --- a/eclass/python.eclass
16381 +++ /dev/null
16382 @@ -1,3191 +0,0 @@
16383 -# Copyright 1999-2012 Gentoo Foundation
16384 -# Distributed under the terms of the GNU General Public License v2
16385 -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.157 2012/08/16 23:57:32 floppym Exp $
16386 -
16387 -# @ECLASS: python.eclass
16388 -# @MAINTAINER:
16389 -# Gentoo Python Project <python@g.o>
16390 -# @BLURB: Eclass for Python packages
16391 -# @DESCRIPTION:
16392 -# The python eclass contains miscellaneous, useful functions for Python packages.
16393 -
16394 -# Must call inherit before EXPORT_FUNCTIONS to avoid QA warning.
16395 -if [[ -z "${_PYTHON_ECLASS_INHERITED}" ]]; then
16396 - inherit multilib
16397 -fi
16398 -
16399 -# Export pkg_setup every time to avoid issues with eclass inheritance order.
16400 -if ! has "${EAPI:-0}" 0 1 2 3 || { has "${EAPI:-0}" 2 3 && [[ -n "${PYTHON_USE_WITH}" || -n "${PYTHON_USE_WITH_OR}" ]]; }; then
16401 - EXPORT_FUNCTIONS pkg_setup
16402 -fi
16403 -
16404 -# Avoid processing this eclass more than once.
16405 -if [[ -z "${_PYTHON_ECLASS_INHERITED}" ]]; then
16406 -_PYTHON_ECLASS_INHERITED="1"
16407 -
16408 -if ! has "${EAPI:-0}" 0 1 2 3 4 5; then
16409 - die "API of python.eclass in EAPI=\"${EAPI}\" not established"
16410 -fi
16411 -
16412 -_CPYTHON2_GLOBALLY_SUPPORTED_ABIS=(2.4 2.5 2.6 2.7)
16413 -_CPYTHON3_GLOBALLY_SUPPORTED_ABIS=(3.1 3.2)
16414 -_JYTHON_GLOBALLY_SUPPORTED_ABIS=(2.5-jython)
16415 -_PYPY_GLOBALLY_SUPPORTED_ABIS=(2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9)
16416 -_PYTHON_GLOBALLY_SUPPORTED_ABIS=(${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]} ${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]} ${_JYTHON_GLOBALLY_SUPPORTED_ABIS[@]} ${_PYPY_GLOBALLY_SUPPORTED_ABIS[@]})
16417 -
16418 -# ================================================================================================
16419 -# ===================================== HANDLING OF METADATA =====================================
16420 -# ================================================================================================
16421 -
16422 -_PYTHON_ABI_PATTERN_REGEX="([[:alnum:]]|\.|-|\*|\[|\])+"
16423 -
16424 -_python_check_python_abi_matching() {
16425 - local pattern patterns patterns_list="0" PYTHON_ABI
16426 -
16427 - while (($#)); do
16428 - case "$1" in
16429 - --patterns-list)
16430 - patterns_list="1"
16431 - ;;
16432 - --)
16433 - shift
16434 - break
16435 - ;;
16436 - -*)
16437 - die "${FUNCNAME}(): Unrecognized option '$1'"
16438 - ;;
16439 - *)
16440 - break
16441 - ;;
16442 - esac
16443 - shift
16444 - done
16445 -
16446 - if [[ "$#" -ne 2 ]]; then
16447 - die "${FUNCNAME}() requires 2 arguments"
16448 - fi
16449 -
16450 - PYTHON_ABI="$1"
16451 -
16452 - if [[ "${patterns_list}" == "0" ]]; then
16453 - pattern="$2"
16454 -
16455 - if [[ "${pattern}" == *"-cpython" ]]; then
16456 - [[ "${PYTHON_ABI}" =~ ^[[:digit:]]+\.[[:digit:]]+$ && "${PYTHON_ABI}" == ${pattern%-cpython} ]]
16457 - elif [[ "${pattern}" == *"-jython" ]]; then
16458 - [[ "${PYTHON_ABI}" == ${pattern} ]]
16459 - elif [[ "${pattern}" == *"-pypy-"* ]]; then
16460 - [[ "${PYTHON_ABI}" == ${pattern} ]]
16461 - else
16462 - if [[ "${PYTHON_ABI}" =~ ^[[:digit:]]+\.[[:digit:]]+$ ]]; then
16463 - [[ "${PYTHON_ABI}" == ${pattern} ]]
16464 - elif [[ "${PYTHON_ABI}" =~ ^[[:digit:]]+\.[[:digit:]]+-jython$ ]]; then
16465 - [[ "${PYTHON_ABI%-jython}" == ${pattern} ]]
16466 - elif [[ "${PYTHON_ABI}" =~ ^[[:digit:]]+\.[[:digit:]]+-pypy-[[:digit:]]+\.[[:digit:]]+$ ]]; then
16467 - [[ "${PYTHON_ABI%-pypy-*}" == ${pattern} ]]
16468 - else
16469 - die "${FUNCNAME}(): Unrecognized Python ABI '${PYTHON_ABI}'"
16470 - fi
16471 - fi
16472 - else
16473 - patterns="${2// /$'\n'}"
16474 -
16475 - while read pattern; do
16476 - if _python_check_python_abi_matching "${PYTHON_ABI}" "${pattern}"; then
16477 - return 0
16478 - fi
16479 - done <<< "${patterns}"
16480 -
16481 - return 1
16482 - fi
16483 -}
16484 -
16485 -_python_implementation() {
16486 - if [[ "${CATEGORY}/${PN}" == "dev-lang/python" ]]; then
16487 - return 0
16488 - elif [[ "${CATEGORY}/${PN}" == "dev-java/jython" ]]; then
16489 - return 0
16490 - elif [[ "${CATEGORY}/${PN}" == "dev-python/pypy" ]]; then
16491 - return 0
16492 - else
16493 - return 1
16494 - fi
16495 -}
16496 -
16497 -_python_package_supporting_installation_for_multiple_python_abis() {
16498 - if has "${EAPI:-0}" 0 1 2 3 4 5; then
16499 - if [[ -n "${SUPPORT_PYTHON_ABIS}" ]]; then
16500 - return 0
16501 - else
16502 - return 1
16503 - fi
16504 - else
16505 - die "${FUNCNAME}(): Support for EAPI=\"${EAPI}\" not implemented"
16506 - fi
16507 -}
16508 -
16509 -# @ECLASS-VARIABLE: PYTHON_DEPEND
16510 -# @DESCRIPTION:
16511 -# Specification of dependency on dev-lang/python.
16512 -# Syntax:
16513 -# PYTHON_DEPEND: [[!]USE_flag? ]<version_components_group>[ version_components_group]
16514 -# version_components_group: <major_version[:[minimal_version][:maximal_version]]>
16515 -# major_version: <2|3|*>
16516 -# minimal_version: <minimal_major_version.minimal_minor_version>
16517 -# maximal_version: <maximal_major_version.maximal_minor_version>
16518 -
16519 -_python_parse_PYTHON_DEPEND() {
16520 - local major_version maximal_version minimal_version python_all="0" python_maximal_version python_minimal_version python_versions=() python2="0" python2_maximal_version python2_minimal_version python3="0" python3_maximal_version python3_minimal_version USE_flag= version_components_group version_components_group_regex version_components_groups
16521 -
16522 - version_components_group_regex="(2|3|\*)(:([[:digit:]]+\.[[:digit:]]+)?(:([[:digit:]]+\.[[:digit:]]+)?)?)?"
16523 - version_components_groups="${PYTHON_DEPEND}"
16524 -
16525 - if [[ "${version_components_groups}" =~ ^((\!)?[[:alnum:]_-]+\?\ )?${version_components_group_regex}(\ ${version_components_group_regex})?$ ]]; then
16526 - if [[ "${version_components_groups}" =~ ^(\!)?[[:alnum:]_-]+\? ]]; then
16527 - USE_flag="${version_components_groups%\? *}"
16528 - version_components_groups="${version_components_groups#* }"
16529 - fi
16530 - if [[ "${version_components_groups}" =~ ("*".*" "|" *"|^2.*\ (2|\*)|^3.*\ (3|\*)) ]]; then
16531 - die "Invalid syntax of PYTHON_DEPEND: Incorrectly specified groups of versions"
16532 - fi
16533 -
16534 - version_components_groups="${version_components_groups// /$'\n'}"
16535 - while read version_components_group; do
16536 - major_version="${version_components_group:0:1}"
16537 - minimal_version="${version_components_group:2}"
16538 - minimal_version="${minimal_version%:*}"
16539 - maximal_version="${version_components_group:$((3 + ${#minimal_version}))}"
16540 -
16541 - if [[ "${major_version}" =~ ^(2|3)$ ]]; then
16542 - if [[ -n "${minimal_version}" && "${major_version}" != "${minimal_version:0:1}" ]]; then
16543 - die "Invalid syntax of PYTHON_DEPEND: Minimal version '${minimal_version}' not in specified group of versions"
16544 - fi
16545 - if [[ -n "${maximal_version}" && "${major_version}" != "${maximal_version:0:1}" ]]; then
16546 - die "Invalid syntax of PYTHON_DEPEND: Maximal version '${maximal_version}' not in specified group of versions"
16547 - fi
16548 - fi
16549 -
16550 - if [[ "${major_version}" == "2" ]]; then
16551 - python2="1"
16552 - python_versions=("${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}")
16553 - python2_minimal_version="${minimal_version}"
16554 - python2_maximal_version="${maximal_version}"
16555 - elif [[ "${major_version}" == "3" ]]; then
16556 - python3="1"
16557 - python_versions=("${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}")
16558 - python3_minimal_version="${minimal_version}"
16559 - python3_maximal_version="${maximal_version}"
16560 - else
16561 - python_all="1"
16562 - python_versions=("${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}" "${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}")
16563 - python_minimal_version="${minimal_version}"
16564 - python_maximal_version="${maximal_version}"
16565 - fi
16566 -
16567 - if [[ -n "${minimal_version}" ]] && ! has "${minimal_version}" "${python_versions[@]}"; then
16568 - die "Invalid syntax of PYTHON_DEPEND: Unrecognized minimal version '${minimal_version}'"
16569 - fi
16570 - if [[ -n "${maximal_version}" ]] && ! has "${maximal_version}" "${python_versions[@]}"; then
16571 - die "Invalid syntax of PYTHON_DEPEND: Unrecognized maximal version '${maximal_version}'"
16572 - fi
16573 -
16574 - if [[ -n "${minimal_version}" && -n "${maximal_version}" && "${minimal_version}" > "${maximal_version}" ]]; then
16575 - die "Invalid syntax of PYTHON_DEPEND: Minimal version '${minimal_version}' greater than maximal version '${maximal_version}'"
16576 - fi
16577 - done <<< "${version_components_groups}"
16578 -
16579 - _PYTHON_ATOMS=()
16580 -
16581 - _append_accepted_versions_range() {
16582 - local accepted_version="0" i
16583 - for ((i = "${#python_versions[@]}"; i >= 0; i--)); do
16584 - if [[ "${python_versions[${i}]}" == "${python_maximal_version}" ]]; then
16585 - accepted_version="1"
16586 - fi
16587 - if [[ "${accepted_version}" == "1" ]]; then
16588 - _PYTHON_ATOMS+=("=dev-lang/python-${python_versions[${i}]}*")
16589 - fi
16590 - if [[ "${python_versions[${i}]}" == "${python_minimal_version}" ]]; then
16591 - accepted_version="0"
16592 - fi
16593 - done
16594 - }
16595 -
16596 - if [[ "${python_all}" == "1" ]]; then
16597 - if [[ -z "${python_minimal_version}" && -z "${python_maximal_version}" ]]; then
16598 - _PYTHON_ATOMS+=("dev-lang/python")
16599 - else
16600 - python_versions=("${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}" "${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}")
16601 - python_minimal_version="${python_minimal_version:-${python_versions[0]}}"
16602 - python_maximal_version="${python_maximal_version:-${python_versions[${#python_versions[@]}-1]}}"
16603 - _append_accepted_versions_range
16604 - fi
16605 - else
16606 - if [[ "${python3}" == "1" ]]; then
16607 - if [[ -z "${python3_minimal_version}" && -z "${python3_maximal_version}" ]]; then
16608 - _PYTHON_ATOMS+=("=dev-lang/python-3*")
16609 - else
16610 - python_versions=("${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}")
16611 - python_minimal_version="${python3_minimal_version:-${python_versions[0]}}"
16612 - python_maximal_version="${python3_maximal_version:-${python_versions[${#python_versions[@]}-1]}}"
16613 - _append_accepted_versions_range
16614 - fi
16615 - fi
16616 - if [[ "${python2}" == "1" ]]; then
16617 - if [[ -z "${python2_minimal_version}" && -z "${python2_maximal_version}" ]]; then
16618 - _PYTHON_ATOMS+=("=dev-lang/python-2*")
16619 - else
16620 - python_versions=("${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}")
16621 - python_minimal_version="${python2_minimal_version:-${python_versions[0]}}"
16622 - python_maximal_version="${python2_maximal_version:-${python_versions[${#python_versions[@]}-1]}}"
16623 - _append_accepted_versions_range
16624 - fi
16625 - fi
16626 - fi
16627 -
16628 - unset -f _append_accepted_versions_range
16629 -
16630 - if [[ "${#_PYTHON_ATOMS[@]}" -gt 1 ]]; then
16631 - DEPEND+="${DEPEND:+ }${USE_flag}${USE_flag:+? ( }|| ( ${_PYTHON_ATOMS[@]} )${USE_flag:+ )}"
16632 - RDEPEND+="${RDEPEND:+ }${USE_flag}${USE_flag:+? ( }|| ( ${_PYTHON_ATOMS[@]} )${USE_flag:+ )}"
16633 - else
16634 - DEPEND+="${DEPEND:+ }${USE_flag}${USE_flag:+? ( }${_PYTHON_ATOMS[@]}${USE_flag:+ )}"
16635 - RDEPEND+="${RDEPEND:+ }${USE_flag}${USE_flag:+? ( }${_PYTHON_ATOMS[@]}${USE_flag:+ )}"
16636 - fi
16637 - else
16638 - die "Invalid syntax of PYTHON_DEPEND"
16639 - fi
16640 -}
16641 -
16642 -if _python_implementation; then
16643 - DEPEND=">=app-admin/eselect-python-20091230"
16644 - RDEPEND="${DEPEND}"
16645 - PDEPEND="app-admin/python-updater"
16646 -fi
16647 -
16648 -if [[ -n "${PYTHON_DEPEND}" ]]; then
16649 - _python_parse_PYTHON_DEPEND
16650 -else
16651 - _PYTHON_ATOMS=("dev-lang/python")
16652 -fi
16653 -unset -f _python_parse_PYTHON_DEPEND
16654 -
16655 -if [[ -n "${NEED_PYTHON}" ]]; then
16656 - eerror "Use PYTHON_DEPEND variable instead of NEED_PYTHON variable."
16657 - die "NEED_PYTHON variable is banned"
16658 -fi
16659 -
16660 -# @ECLASS-VARIABLE: PYTHON_USE_WITH
16661 -# @DESCRIPTION:
16662 -# Set this to a space separated list of USE flags the Python slot in use must be built with.
16663 -
16664 -# @ECLASS-VARIABLE: PYTHON_USE_WITH_OR
16665 -# @DESCRIPTION:
16666 -# Set this to a space separated list of USE flags of which one must be turned on for the slot in use.
16667 -
16668 -# @ECLASS-VARIABLE: PYTHON_USE_WITH_OPT
16669 -# @DESCRIPTION:
16670 -# Set this to a name of a USE flag if you need to make either PYTHON_USE_WITH or
16671 -# PYTHON_USE_WITH_OR atoms conditional under a USE flag.
16672 -
16673 -if ! has "${EAPI:-0}" 0 1 && [[ -n ${PYTHON_USE_WITH} || -n ${PYTHON_USE_WITH_OR} ]]; then
16674 - _PYTHON_USE_WITH_ATOMS_ARRAY=()
16675 - if [[ -n "${PYTHON_USE_WITH}" ]]; then
16676 - for _PYTHON_ATOM in "${_PYTHON_ATOMS[@]}"; do
16677 - _PYTHON_USE_WITH_ATOMS_ARRAY+=("${_PYTHON_ATOM}[${PYTHON_USE_WITH// /,}]")
16678 - done
16679 - elif [[ -n "${PYTHON_USE_WITH_OR}" ]]; then
16680 - for _USE_flag in ${PYTHON_USE_WITH_OR}; do
16681 - for _PYTHON_ATOM in "${_PYTHON_ATOMS[@]}"; do
16682 - _PYTHON_USE_WITH_ATOMS_ARRAY+=("${_PYTHON_ATOM}[${_USE_flag}]")
16683 - done
16684 - done
16685 - unset _USE_flag
16686 - fi
16687 - if [[ "${#_PYTHON_USE_WITH_ATOMS_ARRAY[@]}" -gt 1 ]]; then
16688 - _PYTHON_USE_WITH_ATOMS="|| ( ${_PYTHON_USE_WITH_ATOMS_ARRAY[@]} )"
16689 - else
16690 - _PYTHON_USE_WITH_ATOMS="${_PYTHON_USE_WITH_ATOMS_ARRAY[@]}"
16691 - fi
16692 - if [[ -n "${PYTHON_USE_WITH_OPT}" ]]; then
16693 - _PYTHON_USE_WITH_ATOMS="${PYTHON_USE_WITH_OPT}? ( ${_PYTHON_USE_WITH_ATOMS} )"
16694 - fi
16695 - DEPEND+="${DEPEND:+ }${_PYTHON_USE_WITH_ATOMS}"
16696 - RDEPEND+="${RDEPEND:+ }${_PYTHON_USE_WITH_ATOMS}"
16697 - unset _PYTHON_ATOM _PYTHON_USE_WITH_ATOMS _PYTHON_USE_WITH_ATOMS_ARRAY
16698 -fi
16699 -
16700 -unset _PYTHON_ATOMS
16701 -
16702 -# ================================================================================================
16703 -# =================================== MISCELLANEOUS FUNCTIONS ====================================
16704 -# ================================================================================================
16705 -
16706 -_python_abi-specific_local_scope() {
16707 - [[ " ${FUNCNAME[@]:2} " =~ " "(_python_final_sanity_checks|python_execute_function|python_mod_optimize|python_mod_cleanup)" " ]]
16708 -}
16709 -
16710 -_python_initialize_prefix_variables() {
16711 - if has "${EAPI:-0}" 0 1 2; then
16712 - if [[ -n "${ROOT}" && -z "${EROOT}" ]]; then
16713 - EROOT="${ROOT%/}${EPREFIX}/"
16714 - fi
16715 - if [[ -n "${D}" && -z "${ED}" ]]; then
16716 - ED="${D%/}${EPREFIX}/"
16717 - fi
16718 - fi
16719 -}
16720 -
16721 -unset PYTHON_SANITY_CHECKS_EXECUTED PYTHON_SKIP_SANITY_CHECKS
16722 -
16723 -_python_initial_sanity_checks() {
16724 - if [[ "$(declare -p PYTHON_SANITY_CHECKS_EXECUTED 2> /dev/null)" != "declare -- PYTHON_SANITY_CHECKS_EXECUTED="* || " ${FUNCNAME[@]:1} " =~ " "(python_set_active_version|python_pkg_setup)" " && -z "${PYTHON_SKIP_SANITY_CHECKS}" ]]; then
16725 - # Ensure that /usr/bin/python and /usr/bin/python-config are valid.
16726 - if [[ "$(readlink "${EPREFIX}/usr/bin/python")" != "python-wrapper" ]]; then
16727 - eerror "'${EPREFIX}/usr/bin/python' is not valid symlink."
16728 - eerror "Use \`eselect python set \${python_interpreter}\` to fix this problem."
16729 - die "'${EPREFIX}/usr/bin/python' is not valid symlink"
16730 - fi
16731 - if [[ "$(<"${EPREFIX}/usr/bin/python-config")" != *"Gentoo python-config wrapper script"* ]]; then
16732 - eerror "'${EPREFIX}/usr/bin/python-config' is not valid script"
16733 - eerror "Use \`eselect python set \${python_interpreter}\` to fix this problem."
16734 - die "'${EPREFIX}/usr/bin/python-config' is not valid script"
16735 - fi
16736 - fi
16737 -}
16738 -
16739 -_python_final_sanity_checks() {
16740 - if ! _python_implementation && [[ "$(declare -p PYTHON_SANITY_CHECKS_EXECUTED 2> /dev/null)" != "declare -- PYTHON_SANITY_CHECKS_EXECUTED="* || " ${FUNCNAME[@]:1} " =~ " "(python_set_active_version|python_pkg_setup)" " && -z "${PYTHON_SKIP_SANITY_CHECKS}" ]]; then
16741 - local PYTHON_ABI="${PYTHON_ABI}"
16742 - for PYTHON_ABI in ${PYTHON_ABIS-${PYTHON_ABI}}; do
16743 - # Ensure that appropriate version of Python is installed.
16744 - if ! has_version "$(python_get_implementational_package)"; then
16745 - die "$(python_get_implementational_package) is not installed"
16746 - fi
16747 -
16748 - # Ensure that EPYTHON variable is respected.
16749 - if [[ "$(EPYTHON="$(PYTHON)" python -c "${_PYTHON_ABI_EXTRACTION_COMMAND}")" != "${PYTHON_ABI}" ]]; then
16750 - eerror "Path to 'python': '$(type -p python)'"
16751 - eerror "ABI: '${ABI}'"
16752 - eerror "DEFAULT_ABI: '${DEFAULT_ABI}'"
16753 - eerror "EPYTHON: '$(PYTHON)'"
16754 - eerror "PYTHON_ABI: '${PYTHON_ABI}'"
16755 - eerror "Locally active version of Python: '$(EPYTHON="$(PYTHON)" python -c "${_PYTHON_ABI_EXTRACTION_COMMAND}")'"
16756 - die "'python' does not respect EPYTHON variable"
16757 - fi
16758 - done
16759 - fi
16760 - PYTHON_SANITY_CHECKS_EXECUTED="1"
16761 -}
16762 -
16763 -# @ECLASS-VARIABLE: PYTHON_COLORS
16764 -# @DESCRIPTION:
16765 -# User-configurable colored output.
16766 -PYTHON_COLORS="${PYTHON_COLORS:-0}"
16767 -
16768 -_python_set_color_variables() {
16769 - if [[ "${PYTHON_COLORS}" != "0" && "${NOCOLOR:-false}" =~ ^(false|no)$ ]]; then
16770 - _BOLD=$'\e[1m'
16771 - _RED=$'\e[1;31m'
16772 - _GREEN=$'\e[1;32m'
16773 - _BLUE=$'\e[1;34m'
16774 - _CYAN=$'\e[1;36m'
16775 - _NORMAL=$'\e[0m'
16776 - else
16777 - _BOLD=
16778 - _RED=
16779 - _GREEN=
16780 - _BLUE=
16781 - _CYAN=
16782 - _NORMAL=
16783 - fi
16784 -}
16785 -
16786 -_python_check_python_pkg_setup_execution() {
16787 - [[ " ${FUNCNAME[@]:1} " =~ " "(python_set_active_version|python_pkg_setup)" " ]] && return
16788 -
16789 - if ! has "${EAPI:-0}" 0 1 2 3 && [[ -z "${PYTHON_PKG_SETUP_EXECUTED}" ]]; then
16790 - die "python_pkg_setup() not called"
16791 - fi
16792 -}
16793 -
16794 -# @FUNCTION: python_pkg_setup
16795 -# @DESCRIPTION:
16796 -# Perform sanity checks and initialize environment.
16797 -#
16798 -# This function is exported in EAPI 2 and 3 when PYTHON_USE_WITH or PYTHON_USE_WITH_OR variable
16799 -# is set and always in EAPI >=4. Calling of this function is mandatory in EAPI >=4.
16800 -python_pkg_setup() {
16801 - if [[ "${EBUILD_PHASE}" != "setup" ]]; then
16802 - die "${FUNCNAME}() can be used only in pkg_setup() phase"
16803 - fi
16804 -
16805 - if [[ "$#" -ne 0 ]]; then
16806 - die "${FUNCNAME}() does not accept arguments"
16807 - fi
16808 -
16809 - export JYTHON_SYSTEM_CACHEDIR="1"
16810 - addwrite "${EPREFIX}/var/cache/jython"
16811 -
16812 - if _python_package_supporting_installation_for_multiple_python_abis; then
16813 - _python_calculate_PYTHON_ABIS
16814 - export EPYTHON="$(PYTHON -f)"
16815 - else
16816 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
16817 - fi
16818 -
16819 - if ! has "${EAPI:-0}" 0 1 && [[ -n "${PYTHON_USE_WITH}" || -n "${PYTHON_USE_WITH_OR}" ]]; then
16820 - if [[ "${PYTHON_USE_WITH_OPT}" ]]; then
16821 - if [[ "${PYTHON_USE_WITH_OPT}" == !* ]]; then
16822 - use ${PYTHON_USE_WITH_OPT#!} && return
16823 - else
16824 - use !${PYTHON_USE_WITH_OPT} && return
16825 - fi
16826 - fi
16827 -
16828 - python_pkg_setup_check_USE_flags() {
16829 - local python_atom USE_flag
16830 - python_atom="$(python_get_implementational_package)"
16831 -
16832 - for USE_flag in ${PYTHON_USE_WITH}; do
16833 - if ! has_version "${python_atom}[${USE_flag}]"; then
16834 - eerror "Please rebuild ${python_atom} with the following USE flags enabled: ${PYTHON_USE_WITH}"
16835 - die "Please rebuild ${python_atom} with the following USE flags enabled: ${PYTHON_USE_WITH}"
16836 - fi
16837 - done
16838 -
16839 - for USE_flag in ${PYTHON_USE_WITH_OR}; do
16840 - if has_version "${python_atom}[${USE_flag}]"; then
16841 - return
16842 - fi
16843 - done
16844 -
16845 - if [[ ${PYTHON_USE_WITH_OR} ]]; then
16846 - eerror "Please rebuild ${python_atom} with at least one of the following USE flags enabled: ${PYTHON_USE_WITH_OR}"
16847 - die "Please rebuild ${python_atom} with at least one of the following USE flags enabled: ${PYTHON_USE_WITH_OR}"
16848 - fi
16849 - }
16850 -
16851 - if _python_package_supporting_installation_for_multiple_python_abis; then
16852 - PYTHON_SKIP_SANITY_CHECKS="1" python_execute_function -q python_pkg_setup_check_USE_flags
16853 - else
16854 - python_pkg_setup_check_USE_flags
16855 - fi
16856 -
16857 - unset -f python_pkg_setup_check_USE_flags
16858 - fi
16859 -
16860 - PYTHON_PKG_SETUP_EXECUTED="1"
16861 -}
16862 -
16863 -_PYTHON_SHEBANG_BASE_PART_REGEX='^#![[:space:]]*([^[:space:]]*/usr/bin/env[[:space:]]+)?([^[:space:]]*/)?(jython|pypy-c|python)'
16864 -
16865 -# @FUNCTION: python_convert_shebangs
16866 -# @USAGE: [-q|--quiet] [-r|--recursive] [-x|--only-executables] [--] <Python_ABI|Python_version> <file|directory> [files|directories]
16867 -# @DESCRIPTION:
16868 -# Convert shebangs in specified files. Directories can be specified only with --recursive option.
16869 -python_convert_shebangs() {
16870 - _python_check_python_pkg_setup_execution
16871 -
16872 - local argument file files=() only_executables="0" python_interpreter quiet="0" recursive="0" shebangs_converted="0"
16873 -
16874 - while (($#)); do
16875 - case "$1" in
16876 - -r|--recursive)
16877 - recursive="1"
16878 - ;;
16879 - -q|--quiet)
16880 - quiet="1"
16881 - ;;
16882 - -x|--only-executables)
16883 - only_executables="1"
16884 - ;;
16885 - --)
16886 - shift
16887 - break
16888 - ;;
16889 - -*)
16890 - die "${FUNCNAME}(): Unrecognized option '$1'"
16891 - ;;
16892 - *)
16893 - break
16894 - ;;
16895 - esac
16896 - shift
16897 - done
16898 -
16899 - if [[ "$#" -eq 0 ]]; then
16900 - die "${FUNCNAME}(): Missing Python version and files or directories"
16901 - elif [[ "$#" -eq 1 ]]; then
16902 - die "${FUNCNAME}(): Missing files or directories"
16903 - fi
16904 -
16905 - if [[ -n "$(_python_get_implementation --ignore-invalid "$1")" ]]; then
16906 - python_interpreter="$(PYTHON "$1")"
16907 - else
16908 - python_interpreter="python$1"
16909 - fi
16910 - shift
16911 -
16912 - for argument in "$@"; do
16913 - if [[ ! -e "${argument}" ]]; then
16914 - die "${FUNCNAME}(): '${argument}' does not exist"
16915 - elif [[ -f "${argument}" ]]; then
16916 - files+=("${argument}")
16917 - elif [[ -d "${argument}" ]]; then
16918 - if [[ "${recursive}" == "1" ]]; then
16919 - while read -d $'\0' -r file; do
16920 - files+=("${file}")
16921 - done < <(find "${argument}" $([[ "${only_executables}" == "1" ]] && echo -perm /111) -type f -print0)
16922 - else
16923 - die "${FUNCNAME}(): '${argument}' is not a regular file"
16924 - fi
16925 - else
16926 - die "${FUNCNAME}(): '${argument}' is not a regular file or a directory"
16927 - fi
16928 - done
16929 -
16930 - for file in "${files[@]}"; do
16931 - file="${file#./}"
16932 - [[ "${only_executables}" == "1" && ! -x "${file}" ]] && continue
16933 -
16934 - if [[ "$(head -n1 "${file}")" =~ ${_PYTHON_SHEBANG_BASE_PART_REGEX} ]]; then
16935 - [[ "$(sed -ne "2p" "${file}")" =~ ^"# Gentoo '".*"' wrapper script generated by python_generate_wrapper_scripts()"$ ]] && continue
16936 -
16937 - shebangs_converted="1"
16938 -
16939 - if [[ "${quiet}" == "0" ]]; then
16940 - einfo "Converting shebang in '${file}'"
16941 - fi
16942 -
16943 - sed -e "1s:^#![[:space:]]*\([^[:space:]]*/usr/bin/env[[:space:]]\)\?[[:space:]]*\([^[:space:]]*/\)\?\(jython\|pypy-c\|python\)\([[:digit:]]\+\(\.[[:digit:]]\+\)\?\)\?\(\$\|[[:space:]].*\):#!\1\2${python_interpreter}\6:" -i "${file}" || die "Conversion of shebang in '${file}' failed"
16944 - fi
16945 - done
16946 -
16947 - if [[ "${shebangs_converted}" == "0" ]]; then
16948 - ewarn "${FUNCNAME}(): Python scripts not found"
16949 - fi
16950 -}
16951 -
16952 -# @FUNCTION: python_clean_py-compile_files
16953 -# @USAGE: [-q|--quiet]
16954 -# @DESCRIPTION:
16955 -# Clean py-compile files to disable byte-compilation.
16956 -python_clean_py-compile_files() {
16957 - _python_check_python_pkg_setup_execution
16958 -
16959 - local file files=() quiet="0"
16960 -
16961 - while (($#)); do
16962 - case "$1" in
16963 - -q|--quiet)
16964 - quiet="1"
16965 - ;;
16966 - -*)
16967 - die "${FUNCNAME}(): Unrecognized option '$1'"
16968 - ;;
16969 - *)
16970 - die "${FUNCNAME}(): Invalid usage"
16971 - ;;
16972 - esac
16973 - shift
16974 - done
16975 -
16976 - while read -d $'\0' -r file; do
16977 - files+=("${file#./}")
16978 - done < <(find -name py-compile -type f -print0)
16979 -
16980 - for file in "${files[@]}"; do
16981 - if [[ "${quiet}" == "0" ]]; then
16982 - einfo "Cleaning '${file}' file"
16983 - fi
16984 - echo "#!/bin/sh" > "${file}"
16985 - done
16986 -}
16987 -
16988 -# @FUNCTION: python_clean_installation_image
16989 -# @USAGE: [-q|--quiet]
16990 -# @DESCRIPTION:
16991 -# Delete needless files in installation image.
16992 -#
16993 -# This function can be used only in src_install() phase.
16994 -python_clean_installation_image() {
16995 - if [[ "${EBUILD_PHASE}" != "install" ]]; then
16996 - die "${FUNCNAME}() can be used only in src_install() phase"
16997 - fi
16998 -
16999 - _python_check_python_pkg_setup_execution
17000 - _python_initialize_prefix_variables
17001 -
17002 - local file files=() quiet="0"
17003 -
17004 - while (($#)); do
17005 - case "$1" in
17006 - -q|--quiet)
17007 - quiet="1"
17008 - ;;
17009 - -*)
17010 - die "${FUNCNAME}(): Unrecognized option '$1'"
17011 - ;;
17012 - *)
17013 - die "${FUNCNAME}(): Invalid usage"
17014 - ;;
17015 - esac
17016 - shift
17017 - done
17018 -
17019 - while read -d $'\0' -r file; do
17020 - files+=("${file}")
17021 - done < <(find "${ED}" "(" -name "*.py[co]" -o -name "*\$py.class" ")" -type f -print0)
17022 -
17023 - if [[ "${#files[@]}" -gt 0 ]]; then
17024 - if [[ "${quiet}" == "0" ]]; then
17025 - ewarn "Deleting byte-compiled Python modules needlessly generated by build system:"
17026 - fi
17027 - for file in "${files[@]}"; do
17028 - if [[ "${quiet}" == "0" ]]; then
17029 - ewarn " ${file}"
17030 - fi
17031 - rm -f "${file}"
17032 -
17033 - # Delete empty __pycache__ directories.
17034 - if [[ "${file%/*}" == *"/__pycache__" ]]; then
17035 - rmdir "${file%/*}" 2> /dev/null
17036 - fi
17037 - done
17038 - fi
17039 -
17040 - python_clean_sitedirs() {
17041 - if [[ -d "${ED}$(python_get_sitedir)" ]]; then
17042 - find "${ED}$(python_get_sitedir)" "(" -name "*.c" -o -name "*.h" -o -name "*.la" ")" -type f -print0 | xargs -0 rm -f
17043 - fi
17044 - }
17045 - if _python_package_supporting_installation_for_multiple_python_abis; then
17046 - python_execute_function -q python_clean_sitedirs
17047 - else
17048 - python_clean_sitedirs
17049 - fi
17050 -
17051 - unset -f python_clean_sitedirs
17052 -}
17053 -
17054 -# ================================================================================================
17055 -# =========== FUNCTIONS FOR PACKAGES SUPPORTING INSTALLATION FOR MULTIPLE PYTHON ABIS ============
17056 -# ================================================================================================
17057 -
17058 -# @ECLASS-VARIABLE: SUPPORT_PYTHON_ABIS
17059 -# @DESCRIPTION:
17060 -# Set this in EAPI <= 4 to indicate that current package supports installation for
17061 -# multiple Python ABIs.
17062 -
17063 -# @ECLASS-VARIABLE: PYTHON_TESTS_RESTRICTED_ABIS
17064 -# @DESCRIPTION:
17065 -# Space-separated list of Python ABI patterns. Testing in Python ABIs matching any Python ABI
17066 -# patterns specified in this list is skipped.
17067 -
17068 -# @ECLASS-VARIABLE: PYTHON_EXPORT_PHASE_FUNCTIONS
17069 -# @DESCRIPTION:
17070 -# Set this to export phase functions for the following ebuild phases:
17071 -# src_prepare(), src_configure(), src_compile(), src_test(), src_install().
17072 -if ! has "${EAPI:-0}" 0 1; then
17073 - python_src_prepare() {
17074 - if [[ "${EBUILD_PHASE}" != "prepare" ]]; then
17075 - die "${FUNCNAME}() can be used only in src_prepare() phase"
17076 - fi
17077 -
17078 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17079 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17080 - fi
17081 -
17082 - _python_check_python_pkg_setup_execution
17083 -
17084 - if [[ "$#" -ne 0 ]]; then
17085 - die "${FUNCNAME}() does not accept arguments"
17086 - fi
17087 -
17088 - python_copy_sources
17089 - }
17090 -
17091 - for python_default_function in src_configure src_compile src_test; do
17092 - eval "python_${python_default_function}() {
17093 - if [[ \"\${EBUILD_PHASE}\" != \"${python_default_function#src_}\" ]]; then
17094 - die \"\${FUNCNAME}() can be used only in ${python_default_function}() phase\"
17095 - fi
17096 -
17097 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17098 - die \"\${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs\"
17099 - fi
17100 -
17101 - _python_check_python_pkg_setup_execution
17102 -
17103 - python_execute_function -d -s -- \"\$@\"
17104 - }"
17105 - done
17106 - unset python_default_function
17107 -
17108 - python_src_install() {
17109 - if [[ "${EBUILD_PHASE}" != "install" ]]; then
17110 - die "${FUNCNAME}() can be used only in src_install() phase"
17111 - fi
17112 -
17113 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17114 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17115 - fi
17116 -
17117 - _python_check_python_pkg_setup_execution
17118 -
17119 - if has "${EAPI:-0}" 0 1 2 3; then
17120 - python_execute_function -d -s -- "$@"
17121 - else
17122 - python_installation() {
17123 - emake DESTDIR="${T}/images/${PYTHON_ABI}" install "$@"
17124 - }
17125 - python_execute_function -s python_installation "$@"
17126 - unset python_installation
17127 -
17128 - python_merge_intermediate_installation_images "${T}/images"
17129 - fi
17130 - }
17131 -
17132 - if [[ -n "${PYTHON_EXPORT_PHASE_FUNCTIONS}" ]]; then
17133 - EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
17134 - fi
17135 -fi
17136 -
17137 -if has "${EAPI:-0}" 0 1 2 3 4 5; then
17138 - unset PYTHON_ABIS
17139 -fi
17140 -
17141 -_python_calculate_PYTHON_ABIS() {
17142 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17143 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17144 - fi
17145 -
17146 - _python_initial_sanity_checks
17147 -
17148 - if [[ "$(declare -p PYTHON_ABIS 2> /dev/null)" != "declare -x PYTHON_ABIS="* ]] && has "${EAPI:-0}" 0 1 2 3 4 5; then
17149 - local PYTHON_ABI
17150 -
17151 - if [[ "$(declare -p USE_PYTHON 2> /dev/null)" == "declare -x USE_PYTHON="* ]]; then
17152 - local cpython_enabled="0"
17153 -
17154 - if [[ -z "${USE_PYTHON}" ]]; then
17155 - die "USE_PYTHON variable is empty"
17156 - fi
17157 -
17158 - for PYTHON_ABI in ${USE_PYTHON}; do
17159 - if ! has "${PYTHON_ABI}" "${_PYTHON_GLOBALLY_SUPPORTED_ABIS[@]}"; then
17160 - die "USE_PYTHON variable contains invalid value '${PYTHON_ABI}'"
17161 - fi
17162 -
17163 - if has "${PYTHON_ABI}" "${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}" "${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}"; then
17164 - cpython_enabled="1"
17165 - fi
17166 -
17167 - if ! _python_check_python_abi_matching --patterns-list "${PYTHON_ABI}" "${RESTRICT_PYTHON_ABIS}"; then
17168 - export PYTHON_ABIS+="${PYTHON_ABIS:+ }${PYTHON_ABI}"
17169 - fi
17170 - done
17171 -
17172 - if [[ -z "${PYTHON_ABIS//[${IFS}]/}" ]]; then
17173 - die "USE_PYTHON variable does not enable any Python ABI supported by ${CATEGORY}/${PF}"
17174 - fi
17175 -
17176 - if [[ "${cpython_enabled}" == "0" ]]; then
17177 - die "USE_PYTHON variable does not enable any CPython ABI"
17178 - fi
17179 - else
17180 - local python_version python2_version python3_version support_python_major_version
17181 -
17182 - if ! has_version "dev-lang/python"; then
17183 - die "${FUNCNAME}(): 'dev-lang/python' is not installed"
17184 - fi
17185 -
17186 - python_version="$("${EPREFIX}/usr/bin/python" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')"
17187 -
17188 - if has_version "=dev-lang/python-2*"; then
17189 - if [[ "$(readlink "${EPREFIX}/usr/bin/python2")" != "python2."* ]]; then
17190 - die "'${EPREFIX}/usr/bin/python2' is not valid symlink"
17191 - fi
17192 -
17193 - python2_version="$("${EPREFIX}/usr/bin/python2" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')"
17194 -
17195 - support_python_major_version="0"
17196 - for PYTHON_ABI in "${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}"; do
17197 - if ! _python_check_python_abi_matching --patterns-list "${PYTHON_ABI}" "${RESTRICT_PYTHON_ABIS}"; then
17198 - support_python_major_version="1"
17199 - break
17200 - fi
17201 - done
17202 - if [[ "${support_python_major_version}" == "1" ]]; then
17203 - if _python_check_python_abi_matching --patterns-list "${python2_version}" "${RESTRICT_PYTHON_ABIS}"; then
17204 - die "Active version of CPython 2 is not supported by ${CATEGORY}/${PF}"
17205 - fi
17206 - else
17207 - python2_version=""
17208 - fi
17209 - fi
17210 -
17211 - if has_version "=dev-lang/python-3*"; then
17212 - if [[ "$(readlink "${EPREFIX}/usr/bin/python3")" != "python3."* ]]; then
17213 - die "'${EPREFIX}/usr/bin/python3' is not valid symlink"
17214 - fi
17215 -
17216 - python3_version="$("${EPREFIX}/usr/bin/python3" -c 'from sys import version_info; print(".".join(str(x) for x in version_info[:2]))')"
17217 -
17218 - support_python_major_version="0"
17219 - for PYTHON_ABI in "${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}"; do
17220 - if ! _python_check_python_abi_matching --patterns-list "${PYTHON_ABI}" "${RESTRICT_PYTHON_ABIS}"; then
17221 - support_python_major_version="1"
17222 - break
17223 - fi
17224 - done
17225 - if [[ "${support_python_major_version}" == "1" ]]; then
17226 - if _python_check_python_abi_matching --patterns-list "${python3_version}" "${RESTRICT_PYTHON_ABIS}"; then
17227 - die "Active version of CPython 3 is not supported by ${CATEGORY}/${PF}"
17228 - fi
17229 - else
17230 - python3_version=""
17231 - fi
17232 - fi
17233 -
17234 - if [[ -z "${python2_version}" && -z "${python3_version}" ]]; then
17235 - eerror "${CATEGORY}/${PF} requires at least one of the following packages:"
17236 - for PYTHON_ABI in "${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}" "${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}"; do
17237 - if ! _python_check_python_abi_matching --patterns-list "${PYTHON_ABI}" "${RESTRICT_PYTHON_ABIS}"; then
17238 - eerror " dev-lang/python:${PYTHON_ABI}"
17239 - fi
17240 - done
17241 - die "No supported version of CPython installed"
17242 - fi
17243 -
17244 - if [[ -n "${python2_version}" && "${python_version}" == "2."* && "${python_version}" != "${python2_version}" ]]; then
17245 - eerror "Python wrapper is configured incorrectly or '${EPREFIX}/usr/bin/python2' symlink"
17246 - eerror "is set incorrectly. Use \`eselect python\` to fix configuration."
17247 - die "Incorrect configuration of Python"
17248 - fi
17249 - if [[ -n "${python3_version}" && "${python_version}" == "3."* && "${python_version}" != "${python3_version}" ]]; then
17250 - eerror "Python wrapper is configured incorrectly or '${EPREFIX}/usr/bin/python3' symlink"
17251 - eerror "is set incorrectly. Use \`eselect python\` to fix configuration."
17252 - die "Incorrect configuration of Python"
17253 - fi
17254 -
17255 - PYTHON_ABIS="${python2_version} ${python3_version}"
17256 - PYTHON_ABIS="${PYTHON_ABIS# }"
17257 - export PYTHON_ABIS="${PYTHON_ABIS% }"
17258 - fi
17259 - fi
17260 -
17261 - _python_final_sanity_checks
17262 -}
17263 -
17264 -_python_prepare_flags() {
17265 - local array=() deleted_flag element flags new_value old_flag old_value operator pattern prefix variable
17266 -
17267 - for variable in CPPFLAGS CFLAGS CXXFLAGS LDFLAGS; do
17268 - eval "_PYTHON_SAVED_${variable}=\"\${!variable}\""
17269 - for prefix in PYTHON_USER_ PYTHON_; do
17270 - if [[ "$(declare -p ${prefix}${variable} 2> /dev/null)" == "declare -a ${prefix}${variable}="* ]]; then
17271 - eval "array=(\"\${${prefix}${variable}[@]}\")"
17272 - for element in "${array[@]}"; do
17273 - if [[ "${element}" =~ ^${_PYTHON_ABI_PATTERN_REGEX}\ (\+|-)\ .+ ]]; then
17274 - pattern="${element%% *}"
17275 - element="${element#* }"
17276 - operator="${element%% *}"
17277 - flags="${element#* }"
17278 - if _python_check_python_abi_matching "${PYTHON_ABI}" "${pattern}"; then
17279 - if [[ "${operator}" == "+" ]]; then
17280 - eval "export ${variable}+=\"\${variable:+ }${flags}\""
17281 - elif [[ "${operator}" == "-" ]]; then
17282 - flags="${flags// /$'\n'}"
17283 - old_value="${!variable// /$'\n'}"
17284 - new_value=""
17285 - while read old_flag; do
17286 - while read deleted_flag; do
17287 - if [[ "${old_flag}" == ${deleted_flag} ]]; then
17288 - continue 2
17289 - fi
17290 - done <<< "${flags}"
17291 - new_value+="${new_value:+ }${old_flag}"
17292 - done <<< "${old_value}"
17293 - eval "export ${variable}=\"\${new_value}\""
17294 - fi
17295 - fi
17296 - else
17297 - die "Element '${element}' of ${prefix}${variable} array has invalid syntax"
17298 - fi
17299 - done
17300 - elif [[ -n "$(declare -p ${prefix}${variable} 2> /dev/null)" ]]; then
17301 - die "${prefix}${variable} should be indexed array"
17302 - fi
17303 - done
17304 - done
17305 -}
17306 -
17307 -_python_restore_flags() {
17308 - local variable
17309 -
17310 - for variable in CPPFLAGS CFLAGS CXXFLAGS LDFLAGS; do
17311 - eval "${variable}=\"\${_PYTHON_SAVED_${variable}}\""
17312 - unset _PYTHON_SAVED_${variable}
17313 - done
17314 -}
17315 -
17316 -# @FUNCTION: python_execute_function
17317 -# @USAGE: [--action-message message] [-d|--default-function] [--failure-message message] [-f|--final-ABI] [--nonfatal] [-q|--quiet] [-s|--separate-build-dirs] [--source-dir source_directory] [--] <function> [arguments]
17318 -# @DESCRIPTION:
17319 -# Execute specified function for each value of PYTHON_ABIS, optionally passing additional
17320 -# arguments. The specified function can use PYTHON_ABI and BUILDDIR variables.
17321 -python_execute_function() {
17322 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17323 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17324 - fi
17325 -
17326 - _python_check_python_pkg_setup_execution
17327 - _python_set_color_variables
17328 -
17329 - local action action_message action_message_template default_function="0" failure_message failure_message_template final_ABI="0" function iterated_PYTHON_ABIS nonfatal="0" previous_directory previous_directory_stack previous_directory_stack_length PYTHON_ABI quiet="0" return_code separate_build_dirs="0" source_dir
17330 -
17331 - while (($#)); do
17332 - case "$1" in
17333 - --action-message)
17334 - action_message_template="$2"
17335 - shift
17336 - ;;
17337 - -d|--default-function)
17338 - default_function="1"
17339 - ;;
17340 - --failure-message)
17341 - failure_message_template="$2"
17342 - shift
17343 - ;;
17344 - -f|--final-ABI)
17345 - final_ABI="1"
17346 - ;;
17347 - --nonfatal)
17348 - nonfatal="1"
17349 - ;;
17350 - -q|--quiet)
17351 - quiet="1"
17352 - ;;
17353 - -s|--separate-build-dirs)
17354 - separate_build_dirs="1"
17355 - ;;
17356 - --source-dir)
17357 - source_dir="$2"
17358 - shift
17359 - ;;
17360 - --)
17361 - shift
17362 - break
17363 - ;;
17364 - -*)
17365 - die "${FUNCNAME}(): Unrecognized option '$1'"
17366 - ;;
17367 - *)
17368 - break
17369 - ;;
17370 - esac
17371 - shift
17372 - done
17373 -
17374 - if [[ -n "${source_dir}" && "${separate_build_dirs}" == 0 ]]; then
17375 - die "${FUNCNAME}(): '--source-dir' option can be specified only with '--separate-build-dirs' option"
17376 - fi
17377 -
17378 - if [[ "${default_function}" == "0" ]]; then
17379 - if [[ "$#" -eq 0 ]]; then
17380 - die "${FUNCNAME}(): Missing function name"
17381 - fi
17382 - function="$1"
17383 - shift
17384 -
17385 - if [[ -z "$(type -t "${function}")" ]]; then
17386 - die "${FUNCNAME}(): '${function}' function is not defined"
17387 - fi
17388 - else
17389 - if has "${EAPI:-0}" 0 1; then
17390 - die "${FUNCNAME}(): '--default-function' option cannot be used in this EAPI"
17391 - fi
17392 -
17393 - if [[ "${EBUILD_PHASE}" == "configure" ]]; then
17394 - if has "${EAPI}" 2 3; then
17395 - python_default_function() {
17396 - econf "$@"
17397 - }
17398 - else
17399 - python_default_function() {
17400 - nonfatal econf "$@"
17401 - }
17402 - fi
17403 - elif [[ "${EBUILD_PHASE}" == "compile" ]]; then
17404 - python_default_function() {
17405 - emake "$@"
17406 - }
17407 - elif [[ "${EBUILD_PHASE}" == "test" ]]; then
17408 - python_default_function() {
17409 - # Stolen from portage's _eapi0_src_test()
17410 - local emake_cmd="${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE}"
17411 - if ${emake_cmd} -j1 -n check &> /dev/null; then
17412 - ${emake_cmd} -j1 check "$@"
17413 - elif ${emake_cmd} -j1 -n test &> /dev/null; then
17414 - ${emake_cmd} -j1 test "$@"
17415 - fi
17416 - }
17417 - elif [[ "${EBUILD_PHASE}" == "install" ]]; then
17418 - python_default_function() {
17419 - emake DESTDIR="${D}" install "$@"
17420 - }
17421 - else
17422 - die "${FUNCNAME}(): '--default-function' option cannot be used in this ebuild phase"
17423 - fi
17424 - function="python_default_function"
17425 - fi
17426 -
17427 - # Ensure that python_execute_function() cannot be directly or indirectly called by python_execute_function().
17428 - if _python_abi-specific_local_scope; then
17429 - die "${FUNCNAME}(): Invalid call stack"
17430 - fi
17431 -
17432 - if [[ "${quiet}" == "0" ]]; then
17433 - [[ "${EBUILD_PHASE}" == "setup" ]] && action="Setting up"
17434 - [[ "${EBUILD_PHASE}" == "unpack" ]] && action="Unpacking"
17435 - [[ "${EBUILD_PHASE}" == "prepare" ]] && action="Preparation"
17436 - [[ "${EBUILD_PHASE}" == "configure" ]] && action="Configuration"
17437 - [[ "${EBUILD_PHASE}" == "compile" ]] && action="Building"
17438 - [[ "${EBUILD_PHASE}" == "test" ]] && action="Testing"
17439 - [[ "${EBUILD_PHASE}" == "install" ]] && action="Installation"
17440 - [[ "${EBUILD_PHASE}" == "preinst" ]] && action="Preinstallation"
17441 - [[ "${EBUILD_PHASE}" == "postinst" ]] && action="Postinstallation"
17442 - [[ "${EBUILD_PHASE}" == "prerm" ]] && action="Preuninstallation"
17443 - [[ "${EBUILD_PHASE}" == "postrm" ]] && action="Postuninstallation"
17444 - fi
17445 -
17446 - _python_calculate_PYTHON_ABIS
17447 - if [[ "${final_ABI}" == "1" ]]; then
17448 - iterated_PYTHON_ABIS="$(PYTHON -f --ABI)"
17449 - else
17450 - iterated_PYTHON_ABIS="${PYTHON_ABIS}"
17451 - fi
17452 - for PYTHON_ABI in ${iterated_PYTHON_ABIS}; do
17453 - if [[ "${EBUILD_PHASE}" == "test" ]] && _python_check_python_abi_matching --patterns-list "${PYTHON_ABI}" "${PYTHON_TESTS_RESTRICTED_ABIS}"; then
17454 - if [[ "${quiet}" == "0" ]]; then
17455 - echo " ${_GREEN}*${_NORMAL} ${_BLUE}Testing of ${CATEGORY}/${PF} with $(python_get_implementation_and_version) skipped${_NORMAL}"
17456 - fi
17457 - continue
17458 - fi
17459 -
17460 - _python_prepare_flags
17461 -
17462 - if [[ "${quiet}" == "0" ]]; then
17463 - if [[ -n "${action_message_template}" ]]; then
17464 - eval "action_message=\"${action_message_template}\""
17465 - else
17466 - action_message="${action} of ${CATEGORY}/${PF} with $(python_get_implementation_and_version)..."
17467 - fi
17468 - echo " ${_GREEN}*${_NORMAL} ${_BLUE}${action_message}${_NORMAL}"
17469 - fi
17470 -
17471 - if [[ "${separate_build_dirs}" == "1" ]]; then
17472 - if [[ -n "${source_dir}" ]]; then
17473 - export BUILDDIR="${S}/${source_dir}-${PYTHON_ABI}"
17474 - else
17475 - export BUILDDIR="${S}-${PYTHON_ABI}"
17476 - fi
17477 - pushd "${BUILDDIR}" > /dev/null || die "pushd failed"
17478 - else
17479 - export BUILDDIR="${S}"
17480 - fi
17481 -
17482 - previous_directory="$(pwd)"
17483 - previous_directory_stack="$(dirs -p)"
17484 - previous_directory_stack_length="$(dirs -p | wc -l)"
17485 -
17486 - if ! has "${EAPI}" 0 1 2 3 && has "${PYTHON_ABI}" ${FAILURE_TOLERANT_PYTHON_ABIS}; then
17487 - EPYTHON="$(PYTHON)" nonfatal "${function}" "$@"
17488 - else
17489 - EPYTHON="$(PYTHON)" "${function}" "$@"
17490 - fi
17491 -
17492 - return_code="$?"
17493 -
17494 - _python_restore_flags
17495 -
17496 - if [[ "${return_code}" -ne 0 ]]; then
17497 - if [[ -n "${failure_message_template}" ]]; then
17498 - eval "failure_message=\"${failure_message_template}\""
17499 - else
17500 - failure_message="${action} failed with $(python_get_implementation_and_version) in ${function}() function"
17501 - fi
17502 -
17503 - if [[ "${nonfatal}" == "1" ]]; then
17504 - if [[ "${quiet}" == "0" ]]; then
17505 - ewarn "${failure_message}"
17506 - fi
17507 - elif [[ "${final_ABI}" == "0" ]] && has "${PYTHON_ABI}" ${FAILURE_TOLERANT_PYTHON_ABIS}; then
17508 - if [[ "${EBUILD_PHASE}" != "test" ]] || ! has test-fail-continue ${FEATURES}; then
17509 - local enabled_PYTHON_ABIS= other_PYTHON_ABI
17510 - for other_PYTHON_ABI in ${PYTHON_ABIS}; do
17511 - [[ "${other_PYTHON_ABI}" != "${PYTHON_ABI}" ]] && enabled_PYTHON_ABIS+="${enabled_PYTHON_ABIS:+ }${other_PYTHON_ABI}"
17512 - done
17513 - export PYTHON_ABIS="${enabled_PYTHON_ABIS}"
17514 - fi
17515 - if [[ "${quiet}" == "0" ]]; then
17516 - ewarn "${failure_message}"
17517 - fi
17518 - if [[ -z "${PYTHON_ABIS}" ]]; then
17519 - die "${function}() function failed with all enabled Python ABIs"
17520 - fi
17521 - else
17522 - die "${failure_message}"
17523 - fi
17524 - fi
17525 -
17526 - # Ensure that directory stack has not been decreased.
17527 - if [[ "$(dirs -p | wc -l)" -lt "${previous_directory_stack_length}" ]]; then
17528 - die "Directory stack decreased illegally"
17529 - fi
17530 -
17531 - # Avoid side effects of earlier returning from the specified function.
17532 - while [[ "$(dirs -p | wc -l)" -gt "${previous_directory_stack_length}" ]]; do
17533 - popd > /dev/null || die "popd failed"
17534 - done
17535 -
17536 - # Ensure that the bottom part of directory stack has not been changed. Restore
17537 - # previous directory (from before running of the specified function) before
17538 - # comparison of directory stacks to avoid mismatch of directory stacks after
17539 - # potential using of 'cd' to change current directory. Restoration of previous
17540 - # directory allows to safely use 'cd' to change current directory in the
17541 - # specified function without changing it back to original directory.
17542 - cd "${previous_directory}"
17543 - if [[ "$(dirs -p)" != "${previous_directory_stack}" ]]; then
17544 - die "Directory stack changed illegally"
17545 - fi
17546 -
17547 - if [[ "${separate_build_dirs}" == "1" ]]; then
17548 - popd > /dev/null || die "popd failed"
17549 - fi
17550 - unset BUILDDIR
17551 - done
17552 -
17553 - if [[ "${default_function}" == "1" ]]; then
17554 - unset -f python_default_function
17555 - fi
17556 -}
17557 -
17558 -# @FUNCTION: python_copy_sources
17559 -# @USAGE: <directory="${S}"> [directory]
17560 -# @DESCRIPTION:
17561 -# Copy unpacked sources of current package to separate build directory for each Python ABI.
17562 -python_copy_sources() {
17563 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17564 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17565 - fi
17566 -
17567 - _python_check_python_pkg_setup_execution
17568 -
17569 - local dir dirs=() PYTHON_ABI
17570 -
17571 - if [[ "$#" -eq 0 ]]; then
17572 - if [[ "${WORKDIR}" == "${S}" ]]; then
17573 - die "${FUNCNAME}() cannot be used with current value of S variable"
17574 - fi
17575 - dirs=("${S%/}")
17576 - else
17577 - dirs=("$@")
17578 - fi
17579 -
17580 - _python_calculate_PYTHON_ABIS
17581 - for PYTHON_ABI in ${PYTHON_ABIS}; do
17582 - for dir in "${dirs[@]}"; do
17583 - cp -pr "${dir}" "${dir}-${PYTHON_ABI}" > /dev/null || die "Copying of sources failed"
17584 - done
17585 - done
17586 -}
17587 -
17588 -# @FUNCTION: python_generate_wrapper_scripts
17589 -# @USAGE: [-E|--respect-EPYTHON] [-f|--force] [-q|--quiet] [--] <file> [files]
17590 -# @DESCRIPTION:
17591 -# Generate wrapper scripts. Existing files are overwritten only with --force option.
17592 -# If --respect-EPYTHON option is specified, then generated wrapper scripts will
17593 -# respect EPYTHON variable at run time.
17594 -#
17595 -# This function can be used only in src_install() phase.
17596 -python_generate_wrapper_scripts() {
17597 - if [[ "${EBUILD_PHASE}" != "install" ]]; then
17598 - die "${FUNCNAME}() can be used only in src_install() phase"
17599 - fi
17600 -
17601 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17602 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17603 - fi
17604 -
17605 - _python_check_python_pkg_setup_execution
17606 - _python_initialize_prefix_variables
17607 -
17608 - local eselect_python_option file force="0" quiet="0" PYTHON_ABI PYTHON_ABIS_list python2_enabled="0" python3_enabled="0" respect_EPYTHON="0"
17609 -
17610 - while (($#)); do
17611 - case "$1" in
17612 - -E|--respect-EPYTHON)
17613 - respect_EPYTHON="1"
17614 - ;;
17615 - -f|--force)
17616 - force="1"
17617 - ;;
17618 - -q|--quiet)
17619 - quiet="1"
17620 - ;;
17621 - --)
17622 - shift
17623 - break
17624 - ;;
17625 - -*)
17626 - die "${FUNCNAME}(): Unrecognized option '$1'"
17627 - ;;
17628 - *)
17629 - break
17630 - ;;
17631 - esac
17632 - shift
17633 - done
17634 -
17635 - if [[ "$#" -eq 0 ]]; then
17636 - die "${FUNCNAME}(): Missing arguments"
17637 - fi
17638 -
17639 - _python_calculate_PYTHON_ABIS
17640 - for PYTHON_ABI in "${_CPYTHON2_GLOBALLY_SUPPORTED_ABIS[@]}"; do
17641 - if has "${PYTHON_ABI}" ${PYTHON_ABIS}; then
17642 - python2_enabled="1"
17643 - fi
17644 - done
17645 - for PYTHON_ABI in "${_CPYTHON3_GLOBALLY_SUPPORTED_ABIS[@]}"; do
17646 - if has "${PYTHON_ABI}" ${PYTHON_ABIS}; then
17647 - python3_enabled="1"
17648 - fi
17649 - done
17650 -
17651 - if [[ "${python2_enabled}" == "1" && "${python3_enabled}" == "1" ]]; then
17652 - eselect_python_option=
17653 - elif [[ "${python2_enabled}" == "1" && "${python3_enabled}" == "0" ]]; then
17654 - eselect_python_option="--python2"
17655 - elif [[ "${python2_enabled}" == "0" && "${python3_enabled}" == "1" ]]; then
17656 - eselect_python_option="--python3"
17657 - else
17658 - die "${FUNCNAME}(): Unsupported environment"
17659 - fi
17660 -
17661 - PYTHON_ABIS_list="$("$(PYTHON -f)" -c "print(', '.join('\"%s\"' % x for x in reversed('${PYTHON_ABIS}'.split())))")"
17662 -
17663 - for file in "$@"; do
17664 - if [[ -f "${file}" && "${force}" == "0" ]]; then
17665 - die "${FUNCNAME}(): '${file}' already exists"
17666 - fi
17667 -
17668 - if [[ "${quiet}" == "0" ]]; then
17669 - einfo "Generating '${file#${ED%/}}' wrapper script"
17670 - fi
17671 -
17672 - cat << EOF > "${file}"
17673 -#!/usr/bin/env python
17674 -# Gentoo '${file##*/}' wrapper script generated by python_generate_wrapper_scripts()
17675 -
17676 -import os
17677 -import re
17678 -import subprocess
17679 -import sys
17680 -
17681 -cpython_ABI_re = re.compile(r"^(\d+\.\d+)$")
17682 -jython_ABI_re = re.compile(r"^(\d+\.\d+)-jython$")
17683 -pypy_ABI_re = re.compile(r"^\d+\.\d+-pypy-(\d+\.\d+)$")
17684 -cpython_interpreter_re = re.compile(r"^python(\d+\.\d+)$")
17685 -jython_interpreter_re = re.compile(r"^jython(\d+\.\d+)$")
17686 -pypy_interpreter_re = re.compile(r"^pypy-c(\d+\.\d+)$")
17687 -cpython_shebang_re = re.compile(r"^#![ \t]*(?:${EPREFIX}/usr/bin/python|(?:${EPREFIX})?/usr/bin/env[ \t]+(?:${EPREFIX}/usr/bin/)?python)")
17688 -python_shebang_options_re = re.compile(r"^#![ \t]*${EPREFIX}/usr/bin/(?:jython|pypy-c|python)(?:\d+(?:\.\d+)?)?[ \t]+(-\S)")
17689 -python_verification_output_re = re.compile("^GENTOO_PYTHON_TARGET_SCRIPT_PATH supported\n$")
17690 -
17691 -pypy_versions_mapping = {
17692 - "1.5": "2.7",
17693 - "1.6": "2.7",
17694 - "1.7": "2.7",
17695 - "1.8": "2.7",
17696 - "1.9": "2.7",
17697 -}
17698 -
17699 -def get_PYTHON_ABI(python_interpreter):
17700 - cpython_matched = cpython_interpreter_re.match(python_interpreter)
17701 - jython_matched = jython_interpreter_re.match(python_interpreter)
17702 - pypy_matched = pypy_interpreter_re.match(python_interpreter)
17703 - if cpython_matched is not None:
17704 - PYTHON_ABI = cpython_matched.group(1)
17705 - elif jython_matched is not None:
17706 - PYTHON_ABI = jython_matched.group(1) + "-jython"
17707 - elif pypy_matched is not None:
17708 - PYTHON_ABI = pypy_versions_mapping[pypy_matched.group(1)] + "-pypy-" + pypy_matched.group(1)
17709 - else:
17710 - PYTHON_ABI = None
17711 - return PYTHON_ABI
17712 -
17713 -def get_python_interpreter(PYTHON_ABI):
17714 - cpython_matched = cpython_ABI_re.match(PYTHON_ABI)
17715 - jython_matched = jython_ABI_re.match(PYTHON_ABI)
17716 - pypy_matched = pypy_ABI_re.match(PYTHON_ABI)
17717 - if cpython_matched is not None:
17718 - python_interpreter = "python" + cpython_matched.group(1)
17719 - elif jython_matched is not None:
17720 - python_interpreter = "jython" + jython_matched.group(1)
17721 - elif pypy_matched is not None:
17722 - python_interpreter = "pypy-c" + pypy_matched.group(1)
17723 - else:
17724 - python_interpreter = None
17725 - return python_interpreter
17726 -
17727 -EOF
17728 - if [[ "$?" != "0" ]]; then
17729 - die "${FUNCNAME}(): Generation of '$1' failed"
17730 - fi
17731 - if [[ "${respect_EPYTHON}" == "1" ]]; then
17732 - cat << EOF >> "${file}"
17733 -python_interpreter = os.environ.get("EPYTHON")
17734 -if python_interpreter:
17735 - PYTHON_ABI = get_PYTHON_ABI(python_interpreter)
17736 - if PYTHON_ABI is None:
17737 - sys.stderr.write("%s: EPYTHON variable has unrecognized value '%s'\n" % (sys.argv[0], python_interpreter))
17738 - sys.exit(1)
17739 -else:
17740 - try:
17741 - environment = os.environ.copy()
17742 - environment["ROOT"] = "/"
17743 - eselect_process = subprocess.Popen(["${EPREFIX}/usr/bin/eselect", "python", "show"${eselect_python_option:+, $(echo "\"")}${eselect_python_option}${eselect_python_option:+$(echo "\"")}], env=environment, stdout=subprocess.PIPE)
17744 - if eselect_process.wait() != 0:
17745 - raise ValueError
17746 - except (OSError, ValueError):
17747 - sys.stderr.write("%s: Execution of 'eselect python show${eselect_python_option:+ }${eselect_python_option}' failed\n" % sys.argv[0])
17748 - sys.exit(1)
17749 -
17750 - python_interpreter = eselect_process.stdout.read()
17751 - if not isinstance(python_interpreter, str):
17752 - # Python 3
17753 - python_interpreter = python_interpreter.decode()
17754 - python_interpreter = python_interpreter.rstrip("\n")
17755 -
17756 - PYTHON_ABI = get_PYTHON_ABI(python_interpreter)
17757 - if PYTHON_ABI is None:
17758 - sys.stderr.write("%s: 'eselect python show${eselect_python_option:+ }${eselect_python_option}' printed unrecognized value '%s'\n" % (sys.argv[0], python_interpreter))
17759 - sys.exit(1)
17760 -
17761 -wrapper_script_path = os.path.realpath(sys.argv[0])
17762 -target_executable_path = "%s-%s" % (wrapper_script_path, PYTHON_ABI)
17763 -if not os.path.exists(target_executable_path):
17764 - sys.stderr.write("%s: '%s' does not exist\n" % (sys.argv[0], target_executable_path))
17765 - sys.exit(1)
17766 -EOF
17767 - if [[ "$?" != "0" ]]; then
17768 - die "${FUNCNAME}(): Generation of '$1' failed"
17769 - fi
17770 - else
17771 - cat << EOF >> "${file}"
17772 -try:
17773 - environment = os.environ.copy()
17774 - environment["ROOT"] = "/"
17775 - eselect_process = subprocess.Popen(["${EPREFIX}/usr/bin/eselect", "python", "show"${eselect_python_option:+, $(echo "\"")}${eselect_python_option}${eselect_python_option:+$(echo "\"")}], env=environment, stdout=subprocess.PIPE)
17776 - if eselect_process.wait() != 0:
17777 - raise ValueError
17778 -except (OSError, ValueError):
17779 - sys.stderr.write("%s: Execution of 'eselect python show${eselect_python_option:+ }${eselect_python_option}' failed\n" % sys.argv[0])
17780 - sys.exit(1)
17781 -
17782 -python_interpreter = eselect_process.stdout.read()
17783 -if not isinstance(python_interpreter, str):
17784 - # Python 3
17785 - python_interpreter = python_interpreter.decode()
17786 -python_interpreter = python_interpreter.rstrip("\n")
17787 -
17788 -PYTHON_ABI = get_PYTHON_ABI(python_interpreter)
17789 -if PYTHON_ABI is None:
17790 - sys.stderr.write("%s: 'eselect python show${eselect_python_option:+ }${eselect_python_option}' printed unrecognized value '%s'\n" % (sys.argv[0], python_interpreter))
17791 - sys.exit(1)
17792 -
17793 -wrapper_script_path = os.path.realpath(sys.argv[0])
17794 -for PYTHON_ABI in [PYTHON_ABI, ${PYTHON_ABIS_list}]:
17795 - target_executable_path = "%s-%s" % (wrapper_script_path, PYTHON_ABI)
17796 - if os.path.exists(target_executable_path):
17797 - break
17798 -else:
17799 - sys.stderr.write("%s: No target script exists for '%s'\n" % (sys.argv[0], wrapper_script_path))
17800 - sys.exit(1)
17801 -
17802 -python_interpreter = get_python_interpreter(PYTHON_ABI)
17803 -if python_interpreter is None:
17804 - sys.stderr.write("%s: Unrecognized Python ABI '%s'\n" % (sys.argv[0], PYTHON_ABI))
17805 - sys.exit(1)
17806 -EOF
17807 - if [[ "$?" != "0" ]]; then
17808 - die "${FUNCNAME}(): Generation of '$1' failed"
17809 - fi
17810 - fi
17811 - cat << EOF >> "${file}"
17812 -
17813 -target_executable = open(target_executable_path, "rb")
17814 -target_executable_first_line = target_executable.readline()
17815 -target_executable.close()
17816 -if not isinstance(target_executable_first_line, str):
17817 - # Python 3
17818 - target_executable_first_line = target_executable_first_line.decode("utf_8", "replace")
17819 -
17820 -options = []
17821 -python_shebang_options_matched = python_shebang_options_re.match(target_executable_first_line)
17822 -if python_shebang_options_matched is not None:
17823 - options = [python_shebang_options_matched.group(1)]
17824 -
17825 -cpython_shebang_matched = cpython_shebang_re.match(target_executable_first_line)
17826 -
17827 -if cpython_shebang_matched is not None:
17828 - try:
17829 - python_interpreter_path = "${EPREFIX}/usr/bin/%s" % python_interpreter
17830 - os.environ["GENTOO_PYTHON_TARGET_SCRIPT_PATH_VERIFICATION"] = "1"
17831 - python_verification_process = subprocess.Popen([python_interpreter_path, "-c", "pass"], stdout=subprocess.PIPE)
17832 - del os.environ["GENTOO_PYTHON_TARGET_SCRIPT_PATH_VERIFICATION"]
17833 - if python_verification_process.wait() != 0:
17834 - raise ValueError
17835 -
17836 - python_verification_output = python_verification_process.stdout.read()
17837 - if not isinstance(python_verification_output, str):
17838 - # Python 3
17839 - python_verification_output = python_verification_output.decode()
17840 -
17841 - if not python_verification_output_re.match(python_verification_output):
17842 - raise ValueError
17843 -
17844 - if cpython_interpreter_re.match(python_interpreter) is not None:
17845 - os.environ["GENTOO_PYTHON_PROCESS_NAME"] = os.path.basename(sys.argv[0])
17846 - os.environ["GENTOO_PYTHON_WRAPPER_SCRIPT_PATH"] = sys.argv[0]
17847 - os.environ["GENTOO_PYTHON_TARGET_SCRIPT_PATH"] = target_executable_path
17848 -
17849 - if hasattr(os, "execv"):
17850 - os.execv(python_interpreter_path, [python_interpreter_path] + options + sys.argv)
17851 - else:
17852 - sys.exit(subprocess.Popen([python_interpreter_path] + options + sys.argv).wait())
17853 - except (KeyboardInterrupt, SystemExit):
17854 - raise
17855 - except:
17856 - pass
17857 - for variable in ("GENTOO_PYTHON_PROCESS_NAME", "GENTOO_PYTHON_WRAPPER_SCRIPT_PATH", "GENTOO_PYTHON_TARGET_SCRIPT_PATH", "GENTOO_PYTHON_TARGET_SCRIPT_PATH_VERIFICATION"):
17858 - if variable in os.environ:
17859 - del os.environ[variable]
17860 -
17861 -if hasattr(os, "execv"):
17862 - os.execv(target_executable_path, sys.argv)
17863 -else:
17864 - sys.exit(subprocess.Popen([target_executable_path] + sys.argv[1:]).wait())
17865 -EOF
17866 - if [[ "$?" != "0" ]]; then
17867 - die "${FUNCNAME}(): Generation of '$1' failed"
17868 - fi
17869 - fperms +x "${file#${ED%/}}" || die "fperms '${file}' failed"
17870 - done
17871 -}
17872 -
17873 -# @ECLASS-VARIABLE: PYTHON_VERSIONED_SCRIPTS
17874 -# @DESCRIPTION:
17875 -# Array of regular expressions of paths to versioned Python scripts.
17876 -# Python scripts in /usr/bin and /usr/sbin are versioned by default.
17877 -
17878 -# @ECLASS-VARIABLE: PYTHON_VERSIONED_EXECUTABLES
17879 -# @DESCRIPTION:
17880 -# Array of regular expressions of paths to versioned executables (including Python scripts).
17881 -
17882 -# @ECLASS-VARIABLE: PYTHON_NONVERSIONED_EXECUTABLES
17883 -# @DESCRIPTION:
17884 -# Array of regular expressions of paths to nonversioned executables (including Python scripts).
17885 -
17886 -# @FUNCTION: python_merge_intermediate_installation_images
17887 -# @USAGE: [-q|--quiet] [--] <intermediate_installation_images_directory>
17888 -# @DESCRIPTION:
17889 -# Merge intermediate installation images into installation image.
17890 -#
17891 -# This function can be used only in src_install() phase.
17892 -python_merge_intermediate_installation_images() {
17893 - if [[ "${EBUILD_PHASE}" != "install" ]]; then
17894 - die "${FUNCNAME}() can be used only in src_install() phase"
17895 - fi
17896 -
17897 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
17898 - die "${FUNCNAME}() cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
17899 - fi
17900 -
17901 - _python_check_python_pkg_setup_execution
17902 - _python_initialize_prefix_variables
17903 -
17904 - local absolute_file b file files=() intermediate_installation_images_directory PYTHON_ABI quiet="0" regex shebang version_executable wrapper_scripts=() wrapper_scripts_set=()
17905 -
17906 - while (($#)); do
17907 - case "$1" in
17908 - -q|--quiet)
17909 - quiet="1"
17910 - ;;
17911 - --)
17912 - shift
17913 - break
17914 - ;;
17915 - -*)
17916 - die "${FUNCNAME}(): Unrecognized option '$1'"
17917 - ;;
17918 - *)
17919 - break
17920 - ;;
17921 - esac
17922 - shift
17923 - done
17924 -
17925 - if [[ "$#" -ne 1 ]]; then
17926 - die "${FUNCNAME}() requires 1 argument"
17927 - fi
17928 -
17929 - intermediate_installation_images_directory="$1"
17930 -
17931 - if [[ ! -d "${intermediate_installation_images_directory}" ]]; then
17932 - die "${FUNCNAME}(): Intermediate installation images directory '${intermediate_installation_images_directory}' does not exist"
17933 - fi
17934 -
17935 - _python_calculate_PYTHON_ABIS
17936 - if [[ "$(PYTHON -f --ABI)" == 3.* ]]; then
17937 - b="b"
17938 - fi
17939 -
17940 - while read -d $'\0' -r file; do
17941 - files+=("${file}")
17942 - done < <("$(PYTHON -f)" -c \
17943 -"import os
17944 -import sys
17945 -
17946 -if hasattr(sys.stdout, 'buffer'):
17947 - # Python 3
17948 - stdout = sys.stdout.buffer
17949 -else:
17950 - # Python 2
17951 - stdout = sys.stdout
17952 -
17953 -files_set = set()
17954 -
17955 -os.chdir(${b}'${intermediate_installation_images_directory}')
17956 -
17957 -for PYTHON_ABI in ${b}'${PYTHON_ABIS}'.split():
17958 - for root, dirs, files in os.walk(PYTHON_ABI + ${b}'${EPREFIX}'):
17959 - root = root[len(PYTHON_ABI + ${b}'${EPREFIX}')+1:]
17960 - files_set.update(root + ${b}'/' + file for file in files)
17961 -
17962 -for file in sorted(files_set):
17963 - stdout.write(file)
17964 - stdout.write(${b}'\x00')" || die "${FUNCNAME}(): Failure of extraction of files in intermediate installation images")
17965 -
17966 - for PYTHON_ABI in ${PYTHON_ABIS}; do
17967 - if [[ ! -d "${intermediate_installation_images_directory}/${PYTHON_ABI}" ]]; then
17968 - die "${FUNCNAME}(): Intermediate installation image for Python ABI '${PYTHON_ABI}' does not exist"
17969 - fi
17970 -
17971 - pushd "${intermediate_installation_images_directory}/${PYTHON_ABI}${EPREFIX}" > /dev/null || die "pushd failed"
17972 -
17973 - for file in "${files[@]}"; do
17974 - version_executable="0"
17975 - for regex in "/usr/bin/.*" "/usr/sbin/.*" "${PYTHON_VERSIONED_SCRIPTS[@]}"; do
17976 - if [[ "/${file}" =~ ^${regex}$ ]]; then
17977 - version_executable="1"
17978 - break
17979 - fi
17980 - done
17981 - for regex in "${PYTHON_VERSIONED_EXECUTABLES[@]}"; do
17982 - if [[ "/${file}" =~ ^${regex}$ ]]; then
17983 - version_executable="2"
17984 - break
17985 - fi
17986 - done
17987 - if [[ "${version_executable}" != "0" ]]; then
17988 - for regex in "${PYTHON_NONVERSIONED_EXECUTABLES[@]}"; do
17989 - if [[ "/${file}" =~ ^${regex}$ ]]; then
17990 - version_executable="0"
17991 - break
17992 - fi
17993 - done
17994 - fi
17995 -
17996 - [[ "${version_executable}" == "0" ]] && continue
17997 -
17998 - if [[ -L "${file}" ]]; then
17999 - absolute_file="$(readlink "${file}")"
18000 - if [[ "${absolute_file}" == /* ]]; then
18001 - absolute_file="${intermediate_installation_images_directory}/${PYTHON_ABI}${EPREFIX}/${absolute_file##/}"
18002 - else
18003 - if [[ "${file}" == */* ]]; then
18004 - absolute_file="${intermediate_installation_images_directory}/${PYTHON_ABI}${EPREFIX}/${file%/*}/${absolute_file}"
18005 - else
18006 - absolute_file="${intermediate_installation_images_directory}/${PYTHON_ABI}${EPREFIX}/${absolute_file}"
18007 - fi
18008 - fi
18009 - else
18010 - absolute_file="${intermediate_installation_images_directory}/${PYTHON_ABI}${EPREFIX}/${file}"
18011 - fi
18012 -
18013 - [[ ! -x "${absolute_file}" ]] && continue
18014 -
18015 - shebang="$(head -n1 "${absolute_file}")" || die "Extraction of shebang from '${absolute_file}' failed"
18016 -
18017 - if [[ "${version_executable}" == "2" ]]; then
18018 - wrapper_scripts+=("${ED}${file}")
18019 - elif [[ "${version_executable}" == "1" ]]; then
18020 - if [[ "${shebang}" =~ ${_PYTHON_SHEBANG_BASE_PART_REGEX}([[:digit:]]+(\.[[:digit:]]+)?)?($|[[:space:]]+) ]]; then
18021 - wrapper_scripts+=("${ED}${file}")
18022 - else
18023 - version_executable="0"
18024 - fi
18025 - fi
18026 -
18027 - [[ "${version_executable}" == "0" ]] && continue
18028 -
18029 - if [[ -e "${file}-${PYTHON_ABI}" ]]; then
18030 - die "${FUNCNAME}(): '${EPREFIX}/${file}-${PYTHON_ABI}' already exists"
18031 - fi
18032 -
18033 - mv "${file}" "${file}-${PYTHON_ABI}" || die "Renaming of '${file}' failed"
18034 -
18035 - if [[ "${shebang}" =~ ${_PYTHON_SHEBANG_BASE_PART_REGEX}[[:digit:]]*($|[[:space:]]+) ]]; then
18036 - if [[ -L "${file}-${PYTHON_ABI}" ]]; then
18037 - python_convert_shebangs $([[ "${quiet}" == "1" ]] && echo --quiet) "${PYTHON_ABI}" "${absolute_file}"
18038 - else
18039 - python_convert_shebangs $([[ "${quiet}" == "1" ]] && echo --quiet) "${PYTHON_ABI}" "${file}-${PYTHON_ABI}"
18040 - fi
18041 - fi
18042 - done
18043 -
18044 - popd > /dev/null || die "popd failed"
18045 -
18046 - # This is per bug #390691, without the duplication refactor, and with
18047 - # the 3-way structure per comment #6. This enable users with old
18048 - # coreutils to upgrade a lot easier (you need to upgrade python+portage
18049 - # before coreutils can be upgraded).
18050 - if ROOT="/" has_version '>=sys-apps/coreutils-6.9.90'; then
18051 - cp -fr --preserve=all --no-preserve=context "${intermediate_installation_images_directory}/${PYTHON_ABI}/"* "${D}" || die "Merging of intermediate installation image for Python ABI '${PYTHON_ABI} into installation image failed"
18052 - elif ROOT="/" has_version sys-apps/coreutils; then
18053 - cp -fr --preserve=all "${intermediate_installation_images_directory}/${PYTHON_ABI}/"* "${D}" || die "Merging of intermediate installation image for Python ABI '${PYTHON_ABI} into installation image failed"
18054 - else
18055 - cp -fpr "${intermediate_installation_images_directory}/${PYTHON_ABI}/"* "${D}" || die "Merging of intermediate installation image for Python ABI '${PYTHON_ABI} into installation image failed"
18056 - fi
18057 - done
18058 -
18059 - rm -fr "${intermediate_installation_images_directory}"
18060 -
18061 - if [[ "${#wrapper_scripts[@]}" -ge 1 ]]; then
18062 - rm -f "${T}/python_wrapper_scripts"
18063 -
18064 - for file in "${wrapper_scripts[@]}"; do
18065 - echo -n "${file}" >> "${T}/python_wrapper_scripts"
18066 - echo -en "\x00" >> "${T}/python_wrapper_scripts"
18067 - done
18068 -
18069 - while read -d $'\0' -r file; do
18070 - wrapper_scripts_set+=("${file}")
18071 - done < <("$(PYTHON -f)" -c \
18072 -"import sys
18073 -
18074 -if hasattr(sys.stdout, 'buffer'):
18075 - # Python 3
18076 - stdout = sys.stdout.buffer
18077 -else:
18078 - # Python 2
18079 - stdout = sys.stdout
18080 -
18081 -python_wrapper_scripts_file = open('${T}/python_wrapper_scripts', 'rb')
18082 -files = set(python_wrapper_scripts_file.read().rstrip(${b}'\x00').split(${b}'\x00'))
18083 -python_wrapper_scripts_file.close()
18084 -
18085 -for file in sorted(files):
18086 - stdout.write(file)
18087 - stdout.write(${b}'\x00')" || die "${FUNCNAME}(): Failure of extraction of set of wrapper scripts")
18088 -
18089 - python_generate_wrapper_scripts $([[ "${quiet}" == "1" ]] && echo --quiet) "${wrapper_scripts_set[@]}"
18090 - fi
18091 -}
18092 -
18093 -# ================================================================================================
18094 -# ========= FUNCTIONS FOR PACKAGES NOT SUPPORTING INSTALLATION FOR MULTIPLE PYTHON ABIS ==========
18095 -# ================================================================================================
18096 -
18097 -unset EPYTHON PYTHON_ABI
18098 -
18099 -# @FUNCTION: python_set_active_version
18100 -# @USAGE: <Python_ABI|2|3>
18101 -# @DESCRIPTION:
18102 -# Set locally active version of Python.
18103 -# If Python_ABI argument is specified, then version of Python corresponding to Python_ABI is used.
18104 -# If 2 argument is specified, then active version of CPython 2 is used.
18105 -# If 3 argument is specified, then active version of CPython 3 is used.
18106 -#
18107 -# This function can be used only in pkg_setup() phase.
18108 -python_set_active_version() {
18109 - if [[ "${EBUILD_PHASE}" != "setup" ]]; then
18110 - die "${FUNCNAME}() can be used only in pkg_setup() phase"
18111 - fi
18112 -
18113 - if _python_package_supporting_installation_for_multiple_python_abis; then
18114 - die "${FUNCNAME}() cannot be used in ebuilds of packages supporting installation for multiple Python ABIs"
18115 - fi
18116 -
18117 - if [[ "$#" -ne 1 ]]; then
18118 - die "${FUNCNAME}() requires 1 argument"
18119 - fi
18120 -
18121 - _python_initial_sanity_checks
18122 -
18123 - if [[ -z "${PYTHON_ABI}" ]]; then
18124 - if [[ -n "$(_python_get_implementation --ignore-invalid "$1")" ]]; then
18125 - # PYTHON_ABI variable is intended to be used only in ebuilds/eclasses,
18126 - # so it does not need to be exported to subprocesses.
18127 - PYTHON_ABI="$1"
18128 - if ! _python_implementation && ! has_version "$(python_get_implementational_package)"; then
18129 - die "${FUNCNAME}(): '$(python_get_implementational_package)' is not installed"
18130 - fi
18131 - export EPYTHON="$(PYTHON "$1")"
18132 - elif [[ "$1" == "2" ]]; then
18133 - if ! _python_implementation && ! has_version "=dev-lang/python-2*"; then
18134 - die "${FUNCNAME}(): '=dev-lang/python-2*' is not installed"
18135 - fi
18136 - export EPYTHON="$(PYTHON -2)"
18137 - PYTHON_ABI="${EPYTHON#python}"
18138 - PYTHON_ABI="${PYTHON_ABI%%-*}"
18139 - elif [[ "$1" == "3" ]]; then
18140 - if ! _python_implementation && ! has_version "=dev-lang/python-3*"; then
18141 - die "${FUNCNAME}(): '=dev-lang/python-3*' is not installed"
18142 - fi
18143 - export EPYTHON="$(PYTHON -3)"
18144 - PYTHON_ABI="${EPYTHON#python}"
18145 - PYTHON_ABI="${PYTHON_ABI%%-*}"
18146 - else
18147 - die "${FUNCNAME}(): Unrecognized argument '$1'"
18148 - fi
18149 - fi
18150 -
18151 - _python_final_sanity_checks
18152 -
18153 - # python-updater checks PYTHON_REQUESTED_ACTIVE_VERSION variable.
18154 - PYTHON_REQUESTED_ACTIVE_VERSION="$1"
18155 -}
18156 -
18157 -# @FUNCTION: python_need_rebuild
18158 -# @DESCRIPTION:
18159 -# Mark current package for rebuilding by python-updater after
18160 -# switching of active version of Python.
18161 -python_need_rebuild() {
18162 - if _python_package_supporting_installation_for_multiple_python_abis; then
18163 - die "${FUNCNAME}() cannot be used in ebuilds of packages supporting installation for multiple Python ABIs"
18164 - fi
18165 -
18166 - _python_check_python_pkg_setup_execution
18167 -
18168 - if [[ "$#" -ne 0 ]]; then
18169 - die "${FUNCNAME}() does not accept arguments"
18170 - fi
18171 -
18172 - export PYTHON_NEED_REBUILD="$(PYTHON --ABI)"
18173 -}
18174 -
18175 -# ================================================================================================
18176 -# ======================================= GETTER FUNCTIONS =======================================
18177 -# ================================================================================================
18178 -
18179 -_PYTHON_ABI_EXTRACTION_COMMAND=\
18180 -'import platform
18181 -import sys
18182 -sys.stdout.write(".".join(str(x) for x in sys.version_info[:2]))
18183 -if platform.system()[:4] == "Java":
18184 - sys.stdout.write("-jython")
18185 -elif hasattr(platform, "python_implementation") and platform.python_implementation() == "PyPy":
18186 - sys.stdout.write("-pypy-" + ".".join(str(x) for x in sys.pypy_version_info[:2]))'
18187 -
18188 -_python_get_implementation() {
18189 - local ignore_invalid="0"
18190 -
18191 - while (($#)); do
18192 - case "$1" in
18193 - --ignore-invalid)
18194 - ignore_invalid="1"
18195 - ;;
18196 - --)
18197 - shift
18198 - break
18199 - ;;
18200 - -*)
18201 - die "${FUNCNAME}(): Unrecognized option '$1'"
18202 - ;;
18203 - *)
18204 - break
18205 - ;;
18206 - esac
18207 - shift
18208 - done
18209 -
18210 - if [[ "$#" -ne 1 ]]; then
18211 - die "${FUNCNAME}() requires 1 argument"
18212 - fi
18213 -
18214 - if [[ "$1" =~ ^[[:digit:]]+\.[[:digit:]]+$ ]]; then
18215 - echo "CPython"
18216 - elif [[ "$1" =~ ^[[:digit:]]+\.[[:digit:]]+-jython$ ]]; then
18217 - echo "Jython"
18218 - elif [[ "$1" =~ ^[[:digit:]]+\.[[:digit:]]+-pypy-[[:digit:]]+\.[[:digit:]]+$ ]]; then
18219 - echo "PyPy"
18220 - else
18221 - if [[ "${ignore_invalid}" == "0" ]]; then
18222 - die "${FUNCNAME}(): Unrecognized Python ABI '$1'"
18223 - fi
18224 - fi
18225 -}
18226 -
18227 -# @FUNCTION: PYTHON
18228 -# @USAGE: [-2] [-3] [--ABI] [-a|--absolute-path] [-f|--final-ABI] [--] <Python_ABI="${PYTHON_ABI}">
18229 -# @DESCRIPTION:
18230 -# Print filename of Python interpreter for specified Python ABI. If Python_ABI argument
18231 -# is ommitted, then PYTHON_ABI environment variable must be set and is used.
18232 -# If -2 option is specified, then active version of CPython 2 is used.
18233 -# If -3 option is specified, then active version of CPython 3 is used.
18234 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18235 -# -2, -3 and --final-ABI options and Python_ABI argument cannot be specified simultaneously.
18236 -# If --ABI option is specified, then only specified Python ABI is printed instead of
18237 -# filename of Python interpreter.
18238 -# If --absolute-path option is specified, then absolute path to Python interpreter is printed.
18239 -# --ABI and --absolute-path options cannot be specified simultaneously.
18240 -PYTHON() {
18241 - _python_check_python_pkg_setup_execution
18242 -
18243 - local ABI_output="0" absolute_path_output="0" final_ABI="0" PYTHON_ABI="${PYTHON_ABI}" python_interpreter python2="0" python3="0"
18244 -
18245 - while (($#)); do
18246 - case "$1" in
18247 - -2)
18248 - python2="1"
18249 - ;;
18250 - -3)
18251 - python3="1"
18252 - ;;
18253 - --ABI)
18254 - ABI_output="1"
18255 - ;;
18256 - -a|--absolute-path)
18257 - absolute_path_output="1"
18258 - ;;
18259 - -f|--final-ABI)
18260 - final_ABI="1"
18261 - ;;
18262 - --)
18263 - shift
18264 - break
18265 - ;;
18266 - -*)
18267 - die "${FUNCNAME}(): Unrecognized option '$1'"
18268 - ;;
18269 - *)
18270 - break
18271 - ;;
18272 - esac
18273 - shift
18274 - done
18275 -
18276 - if [[ "${ABI_output}" == "1" && "${absolute_path_output}" == "1" ]]; then
18277 - die "${FUNCNAME}(): '--ABI' and '--absolute-path' options cannot be specified simultaneously"
18278 - fi
18279 -
18280 - if [[ "$((${python2} + ${python3} + ${final_ABI}))" -gt 1 ]]; then
18281 - die "${FUNCNAME}(): '-2', '-3' or '--final-ABI' options cannot be specified simultaneously"
18282 - fi
18283 -
18284 - if [[ "$#" -eq 0 ]]; then
18285 - if [[ "${final_ABI}" == "1" ]]; then
18286 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18287 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18288 - fi
18289 - _python_calculate_PYTHON_ABIS
18290 - PYTHON_ABI="${PYTHON_ABIS##* }"
18291 - elif [[ "${python2}" == "1" ]]; then
18292 - PYTHON_ABI="$(ROOT="/" eselect python show --python2 --ABI)"
18293 - if [[ -z "${PYTHON_ABI}" ]]; then
18294 - die "${FUNCNAME}(): Active version of CPython 2 not set"
18295 - elif [[ "${PYTHON_ABI}" != "2."* ]]; then
18296 - die "${FUNCNAME}(): Internal error in \`eselect python show --python2\`"
18297 - fi
18298 - elif [[ "${python3}" == "1" ]]; then
18299 - PYTHON_ABI="$(ROOT="/" eselect python show --python3 --ABI)"
18300 - if [[ -z "${PYTHON_ABI}" ]]; then
18301 - die "${FUNCNAME}(): Active version of CPython 3 not set"
18302 - elif [[ "${PYTHON_ABI}" != "3."* ]]; then
18303 - die "${FUNCNAME}(): Internal error in \`eselect python show --python3\`"
18304 - fi
18305 - elif _python_package_supporting_installation_for_multiple_python_abis; then
18306 - if ! _python_abi-specific_local_scope; then
18307 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18308 - fi
18309 - else
18310 - PYTHON_ABI="$("${EPREFIX}/usr/bin/python" -c "${_PYTHON_ABI_EXTRACTION_COMMAND}")"
18311 - if [[ -z "${PYTHON_ABI}" ]]; then
18312 - die "${FUNCNAME}(): Failure of extraction of locally active version of Python"
18313 - fi
18314 - fi
18315 - elif [[ "$#" -eq 1 ]]; then
18316 - if [[ "${final_ABI}" == "1" ]]; then
18317 - die "${FUNCNAME}(): '--final-ABI' option and Python ABI cannot be specified simultaneously"
18318 - fi
18319 - if [[ "${python2}" == "1" ]]; then
18320 - die "${FUNCNAME}(): '-2' option and Python ABI cannot be specified simultaneously"
18321 - fi
18322 - if [[ "${python3}" == "1" ]]; then
18323 - die "${FUNCNAME}(): '-3' option and Python ABI cannot be specified simultaneously"
18324 - fi
18325 - PYTHON_ABI="$1"
18326 - else
18327 - die "${FUNCNAME}(): Invalid usage"
18328 - fi
18329 -
18330 - if [[ "${ABI_output}" == "1" ]]; then
18331 - echo -n "${PYTHON_ABI}"
18332 - return
18333 - else
18334 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18335 - python_interpreter="python${PYTHON_ABI}"
18336 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18337 - python_interpreter="jython${PYTHON_ABI%-jython}"
18338 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18339 - python_interpreter="pypy-c${PYTHON_ABI#*-pypy-}"
18340 - fi
18341 -
18342 - if [[ "${absolute_path_output}" == "1" ]]; then
18343 - echo -n "${EPREFIX}/usr/bin/${python_interpreter}"
18344 - else
18345 - echo -n "${python_interpreter}"
18346 - fi
18347 - fi
18348 -
18349 - if [[ -n "${ABI}" && "${ABI}" != "${DEFAULT_ABI}" && "${DEFAULT_ABI}" != "default" ]]; then
18350 - echo -n "-${ABI}"
18351 - fi
18352 -}
18353 -
18354 -# @FUNCTION: python_get_implementation
18355 -# @USAGE: [-f|--final-ABI]
18356 -# @DESCRIPTION:
18357 -# Print name of Python implementation.
18358 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18359 -python_get_implementation() {
18360 - _python_check_python_pkg_setup_execution
18361 -
18362 - local final_ABI="0" PYTHON_ABI="${PYTHON_ABI}"
18363 -
18364 - while (($#)); do
18365 - case "$1" in
18366 - -f|--final-ABI)
18367 - final_ABI="1"
18368 - ;;
18369 - -*)
18370 - die "${FUNCNAME}(): Unrecognized option '$1'"
18371 - ;;
18372 - *)
18373 - die "${FUNCNAME}(): Invalid usage"
18374 - ;;
18375 - esac
18376 - shift
18377 - done
18378 -
18379 - if [[ "${final_ABI}" == "1" ]]; then
18380 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18381 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18382 - fi
18383 - PYTHON_ABI="$(PYTHON -f --ABI)"
18384 - else
18385 - if _python_package_supporting_installation_for_multiple_python_abis; then
18386 - if ! _python_abi-specific_local_scope; then
18387 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18388 - fi
18389 - else
18390 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18391 - fi
18392 - fi
18393 -
18394 - echo "$(_python_get_implementation "${PYTHON_ABI}")"
18395 -}
18396 -
18397 -# @FUNCTION: python_get_implementational_package
18398 -# @USAGE: [-f|--final-ABI]
18399 -# @DESCRIPTION:
18400 -# Print category, name and slot of package providing Python implementation.
18401 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18402 -python_get_implementational_package() {
18403 - _python_check_python_pkg_setup_execution
18404 -
18405 - local final_ABI="0" PYTHON_ABI="${PYTHON_ABI}"
18406 -
18407 - while (($#)); do
18408 - case "$1" in
18409 - -f|--final-ABI)
18410 - final_ABI="1"
18411 - ;;
18412 - -*)
18413 - die "${FUNCNAME}(): Unrecognized option '$1'"
18414 - ;;
18415 - *)
18416 - die "${FUNCNAME}(): Invalid usage"
18417 - ;;
18418 - esac
18419 - shift
18420 - done
18421 -
18422 - if [[ "${final_ABI}" == "1" ]]; then
18423 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18424 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18425 - fi
18426 - PYTHON_ABI="$(PYTHON -f --ABI)"
18427 - else
18428 - if _python_package_supporting_installation_for_multiple_python_abis; then
18429 - if ! _python_abi-specific_local_scope; then
18430 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18431 - fi
18432 - else
18433 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18434 - fi
18435 - fi
18436 -
18437 - if [[ "${EAPI:-0}" == "0" ]]; then
18438 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18439 - echo "=dev-lang/python-${PYTHON_ABI}*"
18440 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18441 - echo "=dev-java/jython-${PYTHON_ABI%-jython}*"
18442 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18443 - echo "=dev-python/pypy-${PYTHON_ABI#*-pypy-}*"
18444 - fi
18445 - else
18446 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18447 - echo "dev-lang/python:${PYTHON_ABI}"
18448 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18449 - echo "dev-java/jython:${PYTHON_ABI%-jython}"
18450 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18451 - echo "dev-python/pypy:${PYTHON_ABI#*-pypy-}"
18452 - fi
18453 - fi
18454 -}
18455 -
18456 -# @FUNCTION: python_get_includedir
18457 -# @USAGE: [-b|--base-path] [-f|--final-ABI]
18458 -# @DESCRIPTION:
18459 -# Print path to Python include directory.
18460 -# If --base-path option is specified, then path not prefixed with "/" is printed.
18461 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18462 -python_get_includedir() {
18463 - _python_check_python_pkg_setup_execution
18464 -
18465 - local base_path="0" final_ABI="0" prefix PYTHON_ABI="${PYTHON_ABI}"
18466 -
18467 - while (($#)); do
18468 - case "$1" in
18469 - -b|--base-path)
18470 - base_path="1"
18471 - ;;
18472 - -f|--final-ABI)
18473 - final_ABI="1"
18474 - ;;
18475 - -*)
18476 - die "${FUNCNAME}(): Unrecognized option '$1'"
18477 - ;;
18478 - *)
18479 - die "${FUNCNAME}(): Invalid usage"
18480 - ;;
18481 - esac
18482 - shift
18483 - done
18484 -
18485 - if [[ "${base_path}" == "0" ]]; then
18486 - prefix="/"
18487 - fi
18488 -
18489 - if [[ "${final_ABI}" == "1" ]]; then
18490 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18491 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18492 - fi
18493 - PYTHON_ABI="$(PYTHON -f --ABI)"
18494 - else
18495 - if _python_package_supporting_installation_for_multiple_python_abis; then
18496 - if ! _python_abi-specific_local_scope; then
18497 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18498 - fi
18499 - else
18500 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18501 - fi
18502 - fi
18503 -
18504 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18505 - echo "${prefix}usr/include/python${PYTHON_ABI}"
18506 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18507 - echo "${prefix}usr/share/jython-${PYTHON_ABI%-jython}/Include"
18508 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18509 - echo "${prefix}usr/$(get_libdir)/pypy${PYTHON_ABI#*-pypy-}/include"
18510 - fi
18511 -}
18512 -
18513 -# @FUNCTION: python_get_libdir
18514 -# @USAGE: [-b|--base-path] [-f|--final-ABI]
18515 -# @DESCRIPTION:
18516 -# Print path to Python standard library directory.
18517 -# If --base-path option is specified, then path not prefixed with "/" is printed.
18518 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18519 -python_get_libdir() {
18520 - _python_check_python_pkg_setup_execution
18521 -
18522 - local base_path="0" final_ABI="0" prefix PYTHON_ABI="${PYTHON_ABI}"
18523 -
18524 - while (($#)); do
18525 - case "$1" in
18526 - -b|--base-path)
18527 - base_path="1"
18528 - ;;
18529 - -f|--final-ABI)
18530 - final_ABI="1"
18531 - ;;
18532 - -*)
18533 - die "${FUNCNAME}(): Unrecognized option '$1'"
18534 - ;;
18535 - *)
18536 - die "${FUNCNAME}(): Invalid usage"
18537 - ;;
18538 - esac
18539 - shift
18540 - done
18541 -
18542 - if [[ "${base_path}" == "0" ]]; then
18543 - prefix="/"
18544 - fi
18545 -
18546 - if [[ "${final_ABI}" == "1" ]]; then
18547 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18548 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18549 - fi
18550 - PYTHON_ABI="$(PYTHON -f --ABI)"
18551 - else
18552 - if _python_package_supporting_installation_for_multiple_python_abis; then
18553 - if ! _python_abi-specific_local_scope; then
18554 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18555 - fi
18556 - else
18557 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18558 - fi
18559 - fi
18560 -
18561 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18562 - echo "${prefix}usr/$(get_libdir)/python${PYTHON_ABI}"
18563 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18564 - echo "${prefix}usr/share/jython-${PYTHON_ABI%-jython}/Lib"
18565 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18566 - die "${FUNCNAME}(): PyPy has multiple standard library directories"
18567 - fi
18568 -}
18569 -
18570 -# @FUNCTION: python_get_sitedir
18571 -# @USAGE: [-b|--base-path] [-f|--final-ABI]
18572 -# @DESCRIPTION:
18573 -# Print path to Python site-packages directory.
18574 -# If --base-path option is specified, then path not prefixed with "/" is printed.
18575 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18576 -python_get_sitedir() {
18577 - _python_check_python_pkg_setup_execution
18578 -
18579 - local base_path="0" final_ABI="0" prefix PYTHON_ABI="${PYTHON_ABI}"
18580 -
18581 - while (($#)); do
18582 - case "$1" in
18583 - -b|--base-path)
18584 - base_path="1"
18585 - ;;
18586 - -f|--final-ABI)
18587 - final_ABI="1"
18588 - ;;
18589 - -*)
18590 - die "${FUNCNAME}(): Unrecognized option '$1'"
18591 - ;;
18592 - *)
18593 - die "${FUNCNAME}(): Invalid usage"
18594 - ;;
18595 - esac
18596 - shift
18597 - done
18598 -
18599 - if [[ "${base_path}" == "0" ]]; then
18600 - prefix="/"
18601 - fi
18602 -
18603 - if [[ "${final_ABI}" == "1" ]]; then
18604 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18605 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18606 - fi
18607 - PYTHON_ABI="$(PYTHON -f --ABI)"
18608 - else
18609 - if _python_package_supporting_installation_for_multiple_python_abis; then
18610 - if ! _python_abi-specific_local_scope; then
18611 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18612 - fi
18613 - else
18614 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18615 - fi
18616 - fi
18617 -
18618 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18619 - echo "${prefix}usr/$(get_libdir)/python${PYTHON_ABI}/site-packages"
18620 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18621 - echo "${prefix}usr/share/jython-${PYTHON_ABI%-jython}/Lib/site-packages"
18622 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18623 - echo "${prefix}usr/$(get_libdir)/pypy${PYTHON_ABI#*-pypy-}/site-packages"
18624 - fi
18625 -}
18626 -
18627 -# @FUNCTION: python_get_library
18628 -# @USAGE: [-b|--base-path] [-f|--final-ABI] [-l|--linker-option]
18629 -# @DESCRIPTION:
18630 -# Print path to Python library.
18631 -# If --base-path option is specified, then path not prefixed with "/" is printed.
18632 -# If --linker-option is specified, then "-l${library}" linker option is printed.
18633 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18634 -python_get_library() {
18635 - _python_check_python_pkg_setup_execution
18636 -
18637 - local base_path="0" final_ABI="0" linker_option="0" prefix PYTHON_ABI="${PYTHON_ABI}"
18638 -
18639 - while (($#)); do
18640 - case "$1" in
18641 - -b|--base-path)
18642 - base_path="1"
18643 - ;;
18644 - -f|--final-ABI)
18645 - final_ABI="1"
18646 - ;;
18647 - -l|--linker-option)
18648 - linker_option="1"
18649 - ;;
18650 - -*)
18651 - die "${FUNCNAME}(): Unrecognized option '$1'"
18652 - ;;
18653 - *)
18654 - die "${FUNCNAME}(): Invalid usage"
18655 - ;;
18656 - esac
18657 - shift
18658 - done
18659 -
18660 - if [[ "${base_path}" == "0" ]]; then
18661 - prefix="/"
18662 - fi
18663 -
18664 - if [[ "${base_path}" == "1" && "${linker_option}" == "1" ]]; then
18665 - die "${FUNCNAME}(): '--base-path' and '--linker-option' options cannot be specified simultaneously"
18666 - fi
18667 -
18668 - if [[ "${final_ABI}" == "1" ]]; then
18669 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18670 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18671 - fi
18672 - PYTHON_ABI="$(PYTHON -f --ABI)"
18673 - else
18674 - if _python_package_supporting_installation_for_multiple_python_abis; then
18675 - if ! _python_abi-specific_local_scope; then
18676 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18677 - fi
18678 - else
18679 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18680 - fi
18681 - fi
18682 -
18683 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18684 - if [[ "${linker_option}" == "1" ]]; then
18685 - echo "-lpython${PYTHON_ABI}"
18686 - else
18687 - echo "${prefix}usr/$(get_libdir)/libpython${PYTHON_ABI}$(get_libname)"
18688 - fi
18689 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18690 - die "${FUNCNAME}(): Jython does not have shared library"
18691 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18692 - die "${FUNCNAME}(): PyPy does not have shared library"
18693 - fi
18694 -}
18695 -
18696 -# @FUNCTION: python_get_version
18697 -# @USAGE: [-f|--final-ABI] [-l|--language] [--full] [--major] [--minor] [--micro]
18698 -# @DESCRIPTION:
18699 -# Print version of Python implementation.
18700 -# --full, --major, --minor and --micro options cannot be specified simultaneously.
18701 -# If --full, --major, --minor and --micro options are not specified, then "${major_version}.${minor_version}" is printed.
18702 -# If --language option is specified, then version of Python language is printed.
18703 -# --language and --full options cannot be specified simultaneously.
18704 -# --language and --micro options cannot be specified simultaneously.
18705 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18706 -python_get_version() {
18707 - _python_check_python_pkg_setup_execution
18708 -
18709 - local final_ABI="0" language="0" language_version full="0" major="0" minor="0" micro="0" PYTHON_ABI="${PYTHON_ABI}" python_command
18710 -
18711 - while (($#)); do
18712 - case "$1" in
18713 - -f|--final-ABI)
18714 - final_ABI="1"
18715 - ;;
18716 - -l|--language)
18717 - language="1"
18718 - ;;
18719 - --full)
18720 - full="1"
18721 - ;;
18722 - --major)
18723 - major="1"
18724 - ;;
18725 - --minor)
18726 - minor="1"
18727 - ;;
18728 - --micro)
18729 - micro="1"
18730 - ;;
18731 - -*)
18732 - die "${FUNCNAME}(): Unrecognized option '$1'"
18733 - ;;
18734 - *)
18735 - die "${FUNCNAME}(): Invalid usage"
18736 - ;;
18737 - esac
18738 - shift
18739 - done
18740 -
18741 - if [[ "${final_ABI}" == "1" ]]; then
18742 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18743 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18744 - fi
18745 - else
18746 - if _python_package_supporting_installation_for_multiple_python_abis && ! _python_abi-specific_local_scope; then
18747 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18748 - fi
18749 - fi
18750 -
18751 - if [[ "$((${full} + ${major} + ${minor} + ${micro}))" -gt 1 ]]; then
18752 - die "${FUNCNAME}(): '--full', '--major', '--minor' or '--micro' options cannot be specified simultaneously"
18753 - fi
18754 -
18755 - if [[ "${language}" == "1" ]]; then
18756 - if [[ "${final_ABI}" == "1" ]]; then
18757 - PYTHON_ABI="$(PYTHON -f --ABI)"
18758 - elif [[ -z "${PYTHON_ABI}" ]]; then
18759 - PYTHON_ABI="$(PYTHON --ABI)"
18760 - fi
18761 - language_version="${PYTHON_ABI%%-*}"
18762 - if [[ "${full}" == "1" ]]; then
18763 - die "${FUNCNAME}(): '--language' and '--full' options cannot be specified simultaneously"
18764 - elif [[ "${major}" == "1" ]]; then
18765 - echo "${language_version%.*}"
18766 - elif [[ "${minor}" == "1" ]]; then
18767 - echo "${language_version#*.}"
18768 - elif [[ "${micro}" == "1" ]]; then
18769 - die "${FUNCNAME}(): '--language' and '--micro' options cannot be specified simultaneously"
18770 - else
18771 - echo "${language_version}"
18772 - fi
18773 - else
18774 - if [[ "${full}" == "1" ]]; then
18775 - python_command="import sys; print('.'.join(str(x) for x in getattr(sys, 'pypy_version_info', sys.version_info)[:3]))"
18776 - elif [[ "${major}" == "1" ]]; then
18777 - python_command="import sys; print(getattr(sys, 'pypy_version_info', sys.version_info)[0])"
18778 - elif [[ "${minor}" == "1" ]]; then
18779 - python_command="import sys; print(getattr(sys, 'pypy_version_info', sys.version_info)[1])"
18780 - elif [[ "${micro}" == "1" ]]; then
18781 - python_command="import sys; print(getattr(sys, 'pypy_version_info', sys.version_info)[2])"
18782 - else
18783 - if [[ -n "${PYTHON_ABI}" && "${final_ABI}" == "0" ]]; then
18784 - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then
18785 - echo "${PYTHON_ABI}"
18786 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then
18787 - echo "${PYTHON_ABI%-jython}"
18788 - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "PyPy" ]]; then
18789 - echo "${PYTHON_ABI#*-pypy-}"
18790 - fi
18791 - return
18792 - fi
18793 - python_command="from sys import version_info; print('.'.join(str(x) for x in version_info[:2]))"
18794 - fi
18795 -
18796 - if [[ "${final_ABI}" == "1" ]]; then
18797 - "$(PYTHON -f)" -c "${python_command}"
18798 - else
18799 - "$(PYTHON ${PYTHON_ABI})" -c "${python_command}"
18800 - fi
18801 - fi
18802 -}
18803 -
18804 -# @FUNCTION: python_get_implementation_and_version
18805 -# @USAGE: [-f|--final-ABI]
18806 -# @DESCRIPTION:
18807 -# Print name and version of Python implementation.
18808 -# If version of Python implementation is not bound to version of Python language, then
18809 -# version of Python language is additionally printed.
18810 -# If --final-ABI option is specified, then final ABI from the list of enabled ABIs is used.
18811 -python_get_implementation_and_version() {
18812 - _python_check_python_pkg_setup_execution
18813 -
18814 - local final_ABI="0" PYTHON_ABI="${PYTHON_ABI}"
18815 -
18816 - while (($#)); do
18817 - case "$1" in
18818 - -f|--final-ABI)
18819 - final_ABI="1"
18820 - ;;
18821 - -*)
18822 - die "${FUNCNAME}(): Unrecognized option '$1'"
18823 - ;;
18824 - *)
18825 - die "${FUNCNAME}(): Invalid usage"
18826 - ;;
18827 - esac
18828 - shift
18829 - done
18830 -
18831 - if [[ "${final_ABI}" == "1" ]]; then
18832 - if ! _python_package_supporting_installation_for_multiple_python_abis; then
18833 - die "${FUNCNAME}(): '--final-ABI' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
18834 - fi
18835 - PYTHON_ABI="$(PYTHON -f --ABI)"
18836 - else
18837 - if _python_package_supporting_installation_for_multiple_python_abis; then
18838 - if ! _python_abi-specific_local_scope; then
18839 - die "${FUNCNAME}() should be used in ABI-specific local scope"
18840 - fi
18841 - else
18842 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
18843 - fi
18844 - fi
18845 -
18846 - if [[ "${PYTHON_ABI}" =~ ^[[:digit:]]+\.[[:digit:]]+-[[:alnum:]]+-[[:digit:]]+\.[[:digit:]]+$ ]]; then
18847 - echo "$(_python_get_implementation "${PYTHON_ABI}") ${PYTHON_ABI##*-} (Python ${PYTHON_ABI%%-*})"
18848 - else
18849 - echo "$(_python_get_implementation "${PYTHON_ABI}") ${PYTHON_ABI%%-*}"
18850 - fi
18851 -}
18852 -
18853 -# ================================================================================================
18854 -# ================================ FUNCTIONS FOR RUNNING OF TESTS ================================
18855 -# ================================================================================================
18856 -
18857 -# @ECLASS-VARIABLE: PYTHON_TEST_VERBOSITY
18858 -# @DESCRIPTION:
18859 -# User-configurable verbosity of tests of Python modules.
18860 -# Supported values: 0, 1, 2, 3, 4.
18861 -PYTHON_TEST_VERBOSITY="${PYTHON_TEST_VERBOSITY:-1}"
18862 -
18863 -_python_test_hook() {
18864 - if [[ "$#" -ne 1 ]]; then
18865 - die "${FUNCNAME}() requires 1 argument"
18866 - fi
18867 -
18868 - if _python_package_supporting_installation_for_multiple_python_abis && [[ "$(type -t "${_PYTHON_TEST_FUNCTION}_$1_hook")" == "function" ]]; then
18869 - "${_PYTHON_TEST_FUNCTION}_$1_hook"
18870 - fi
18871 -}
18872 -
18873 -# @FUNCTION: python_execute_nosetests
18874 -# @USAGE: [-P|--PYTHONPATH PYTHONPATH] [-s|--separate-build-dirs] [--] [arguments]
18875 -# @DESCRIPTION:
18876 -# Execute nosetests for all enabled Python ABIs.
18877 -# In ebuilds of packages supporting installation for multiple Python ABIs, this function calls
18878 -# python_execute_nosetests_pre_hook() and python_execute_nosetests_post_hook(), if they are defined.
18879 -python_execute_nosetests() {
18880 - _python_check_python_pkg_setup_execution
18881 - _python_set_color_variables
18882 -
18883 - local PYTHONPATH_template separate_build_dirs
18884 -
18885 - while (($#)); do
18886 - case "$1" in
18887 - -P|--PYTHONPATH)
18888 - PYTHONPATH_template="$2"
18889 - shift
18890 - ;;
18891 - -s|--separate-build-dirs)
18892 - separate_build_dirs="1"
18893 - ;;
18894 - --)
18895 - shift
18896 - break
18897 - ;;
18898 - -*)
18899 - die "${FUNCNAME}(): Unrecognized option '$1'"
18900 - ;;
18901 - *)
18902 - break
18903 - ;;
18904 - esac
18905 - shift
18906 - done
18907 -
18908 - python_test_function() {
18909 - local evaluated_PYTHONPATH
18910 -
18911 - eval "evaluated_PYTHONPATH=\"${PYTHONPATH_template}\""
18912 -
18913 - _PYTHON_TEST_FUNCTION="python_execute_nosetests" _python_test_hook pre
18914 -
18915 - if [[ -n "${evaluated_PYTHONPATH}" ]]; then
18916 - echo ${_BOLD}PYTHONPATH="${evaluated_PYTHONPATH}" nosetests --verbosity="${PYTHON_TEST_VERBOSITY}" "$@"${_NORMAL}
18917 - PYTHONPATH="${evaluated_PYTHONPATH}" nosetests --verbosity="${PYTHON_TEST_VERBOSITY}" "$@" || return "$?"
18918 - else
18919 - echo ${_BOLD}nosetests --verbosity="${PYTHON_TEST_VERBOSITY}" "$@"${_NORMAL}
18920 - nosetests --verbosity="${PYTHON_TEST_VERBOSITY}" "$@" || return "$?"
18921 - fi
18922 -
18923 - _PYTHON_TEST_FUNCTION="python_execute_nosetests" _python_test_hook post
18924 - }
18925 - if _python_package_supporting_installation_for_multiple_python_abis; then
18926 - python_execute_function ${separate_build_dirs:+-s} python_test_function "$@"
18927 - else
18928 - if [[ -n "${separate_build_dirs}" ]]; then
18929 - die "${FUNCNAME}(): Invalid usage"
18930 - fi
18931 - python_test_function "$@" || die "Testing failed"
18932 - fi
18933 -
18934 - unset -f python_test_function
18935 -}
18936 -
18937 -# @FUNCTION: python_execute_py.test
18938 -# @USAGE: [-P|--PYTHONPATH PYTHONPATH] [-s|--separate-build-dirs] [--] [arguments]
18939 -# @DESCRIPTION:
18940 -# Execute py.test for all enabled Python ABIs.
18941 -# In ebuilds of packages supporting installation for multiple Python ABIs, this function calls
18942 -# python_execute_py.test_pre_hook() and python_execute_py.test_post_hook(), if they are defined.
18943 -python_execute_py.test() {
18944 - _python_check_python_pkg_setup_execution
18945 - _python_set_color_variables
18946 -
18947 - local PYTHONPATH_template separate_build_dirs
18948 -
18949 - while (($#)); do
18950 - case "$1" in
18951 - -P|--PYTHONPATH)
18952 - PYTHONPATH_template="$2"
18953 - shift
18954 - ;;
18955 - -s|--separate-build-dirs)
18956 - separate_build_dirs="1"
18957 - ;;
18958 - --)
18959 - shift
18960 - break
18961 - ;;
18962 - -*)
18963 - die "${FUNCNAME}(): Unrecognized option '$1'"
18964 - ;;
18965 - *)
18966 - break
18967 - ;;
18968 - esac
18969 - shift
18970 - done
18971 -
18972 - python_test_function() {
18973 - local evaluated_PYTHONPATH
18974 -
18975 - eval "evaluated_PYTHONPATH=\"${PYTHONPATH_template}\""
18976 -
18977 - _PYTHON_TEST_FUNCTION="python_execute_py.test" _python_test_hook pre
18978 -
18979 - if [[ -n "${evaluated_PYTHONPATH}" ]]; then
18980 - echo ${_BOLD}PYTHONPATH="${evaluated_PYTHONPATH}" py.test $([[ "${PYTHON_TEST_VERBOSITY}" -ge 2 ]] && echo -v) "$@"${_NORMAL}
18981 - PYTHONPATH="${evaluated_PYTHONPATH}" py.test $([[ "${PYTHON_TEST_VERBOSITY}" -ge 2 ]] && echo -v) "$@" || return "$?"
18982 - else
18983 - echo ${_BOLD}py.test $([[ "${PYTHON_TEST_VERBOSITY}" -gt 1 ]] && echo -v) "$@"${_NORMAL}
18984 - py.test $([[ "${PYTHON_TEST_VERBOSITY}" -gt 1 ]] && echo -v) "$@" || return "$?"
18985 - fi
18986 -
18987 - _PYTHON_TEST_FUNCTION="python_execute_py.test" _python_test_hook post
18988 - }
18989 - if _python_package_supporting_installation_for_multiple_python_abis; then
18990 - python_execute_function ${separate_build_dirs:+-s} python_test_function "$@"
18991 - else
18992 - if [[ -n "${separate_build_dirs}" ]]; then
18993 - die "${FUNCNAME}(): Invalid usage"
18994 - fi
18995 - python_test_function "$@" || die "Testing failed"
18996 - fi
18997 -
18998 - unset -f python_test_function
18999 -}
19000 -
19001 -# @FUNCTION: python_execute_trial
19002 -# @USAGE: [-P|--PYTHONPATH PYTHONPATH] [-s|--separate-build-dirs] [--] [arguments]
19003 -# @DESCRIPTION:
19004 -# Execute trial for all enabled Python ABIs.
19005 -# In ebuilds of packages supporting installation for multiple Python ABIs, this function
19006 -# calls python_execute_trial_pre_hook() and python_execute_trial_post_hook(), if they are defined.
19007 -python_execute_trial() {
19008 - _python_check_python_pkg_setup_execution
19009 - _python_set_color_variables
19010 -
19011 - local PYTHONPATH_template separate_build_dirs
19012 -
19013 - while (($#)); do
19014 - case "$1" in
19015 - -P|--PYTHONPATH)
19016 - PYTHONPATH_template="$2"
19017 - shift
19018 - ;;
19019 - -s|--separate-build-dirs)
19020 - separate_build_dirs="1"
19021 - ;;
19022 - --)
19023 - shift
19024 - break
19025 - ;;
19026 - -*)
19027 - die "${FUNCNAME}(): Unrecognized option '$1'"
19028 - ;;
19029 - *)
19030 - break
19031 - ;;
19032 - esac
19033 - shift
19034 - done
19035 -
19036 - python_test_function() {
19037 - local evaluated_PYTHONPATH
19038 -
19039 - eval "evaluated_PYTHONPATH=\"${PYTHONPATH_template}\""
19040 -
19041 - _PYTHON_TEST_FUNCTION="python_execute_trial" _python_test_hook pre
19042 -
19043 - if [[ -n "${evaluated_PYTHONPATH}" ]]; then
19044 - echo ${_BOLD}PYTHONPATH="${evaluated_PYTHONPATH}" trial $([[ "${PYTHON_TEST_VERBOSITY}" -ge 4 ]] && echo --spew) "$@"${_NORMAL}
19045 - PYTHONPATH="${evaluated_PYTHONPATH}" trial $([[ "${PYTHON_TEST_VERBOSITY}" -ge 4 ]] && echo --spew) "$@" || return "$?"
19046 - else
19047 - echo ${_BOLD}trial $([[ "${PYTHON_TEST_VERBOSITY}" -ge 4 ]] && echo --spew) "$@"${_NORMAL}
19048 - trial $([[ "${PYTHON_TEST_VERBOSITY}" -ge 4 ]] && echo --spew) "$@" || return "$?"
19049 - fi
19050 -
19051 - _PYTHON_TEST_FUNCTION="python_execute_trial" _python_test_hook post
19052 - }
19053 - if _python_package_supporting_installation_for_multiple_python_abis; then
19054 - python_execute_function ${separate_build_dirs:+-s} python_test_function "$@"
19055 - else
19056 - if [[ -n "${separate_build_dirs}" ]]; then
19057 - die "${FUNCNAME}(): Invalid usage"
19058 - fi
19059 - python_test_function "$@" || die "Testing failed"
19060 - fi
19061 -
19062 - unset -f python_test_function
19063 -}
19064 -
19065 -# ================================================================================================
19066 -# ======================= FUNCTIONS FOR HANDLING OF BYTE-COMPILED MODULES ========================
19067 -# ================================================================================================
19068 -
19069 -# @FUNCTION: python_enable_pyc
19070 -# @DESCRIPTION:
19071 -# Tell Python to automatically recompile modules to .pyc/.pyo if the
19072 -# timestamps/version stamps have changed.
19073 -python_enable_pyc() {
19074 - _python_check_python_pkg_setup_execution
19075 -
19076 - if [[ "$#" -ne 0 ]]; then
19077 - die "${FUNCNAME}() does not accept arguments"
19078 - fi
19079 -
19080 - unset PYTHONDONTWRITEBYTECODE
19081 -}
19082 -
19083 -# @FUNCTION: python_disable_pyc
19084 -# @DESCRIPTION:
19085 -# Tell Python not to automatically recompile modules to .pyc/.pyo
19086 -# even if the timestamps/version stamps do not match. This is done
19087 -# to protect sandbox.
19088 -python_disable_pyc() {
19089 - _python_check_python_pkg_setup_execution
19090 -
19091 - if [[ "$#" -ne 0 ]]; then
19092 - die "${FUNCNAME}() does not accept arguments"
19093 - fi
19094 -
19095 - export PYTHONDONTWRITEBYTECODE="1"
19096 -}
19097 -
19098 -_python_vecho() {
19099 - [[ -z ${PORTAGE_VERBOSE} ]] || echo "$@"
19100 -}
19101 -
19102 -_python_clean_compiled_modules() {
19103 - _python_initialize_prefix_variables
19104 - _python_set_color_variables
19105 -
19106 - [[ "${FUNCNAME[1]}" =~ ^(python_mod_optimize|python_mod_cleanup)$ ]] || die "${FUNCNAME}(): Invalid usage"
19107 -
19108 - local base_module_name compiled_file compiled_files=() dir path py_file root
19109 -
19110 - # Strip trailing slash from EROOT.
19111 - root="${EROOT%/}"
19112 -
19113 - for path in "$@"; do
19114 - compiled_files=()
19115 - if [[ -d "${path}" ]]; then
19116 - while read -d $'\0' -r compiled_file; do
19117 - compiled_files+=("${compiled_file}")
19118 - done < <(find "${path}" "(" -name "*.py[co]" -o -name "*\$py.class" ")" -print0)
19119 -
19120 - if [[ "${EBUILD_PHASE}" == "postrm" ]]; then
19121 - # Delete empty child directories.
19122 - find "${path}" -type d | sort -r | while read -r dir; do
19123 - if rmdir "${dir}" 2> /dev/null; then
19124 - _python_vecho "<<< ${dir}"
19125 - fi
19126 - done
19127 - fi
19128 - elif [[ "${path}" == *.py ]]; then
19129 - base_module_name="${path##*/}"
19130 - base_module_name="${base_module_name%.py}"
19131 - if [[ -d "${path%/*}/__pycache__" ]]; then
19132 - while read -d $'\0' -r compiled_file; do
19133 - compiled_files+=("${compiled_file}")
19134 - done < <(find "${path%/*}/__pycache__" "(" -name "${base_module_name}.*.py[co]" -o -name "${base_module_name}\$py.class" ")" -print0)
19135 - fi
19136 - compiled_files+=("${path}c" "${path}o" "${path%.py}\$py.class")
19137 - fi
19138 -
19139 - for compiled_file in "${compiled_files[@]}"; do
19140 - [[ ! -f "${compiled_file}" ]] && continue
19141 - dir="${compiled_file%/*}"
19142 - dir="${dir##*/}"
19143 - if [[ "${compiled_file}" == *.py[co] ]]; then
19144 - if [[ "${dir}" == "__pycache__" ]]; then
19145 - base_module_name="${compiled_file##*/}"
19146 - base_module_name="${base_module_name%.*py[co]}"
19147 - base_module_name="${base_module_name%.*}"
19148 - py_file="${compiled_file%__pycache__/*}${base_module_name}.py"
19149 - else
19150 - py_file="${compiled_file%[co]}"
19151 - fi
19152 - if [[ "${EBUILD_PHASE}" == "postinst" ]]; then
19153 - [[ -f "${py_file}" && "${compiled_file}" -nt "${py_file}" ]] && continue
19154 - else
19155 - [[ -f "${py_file}" ]] && continue
19156 - fi
19157 - _python_vecho "<<< ${compiled_file%[co]}[co]"
19158 - rm -f "${compiled_file%[co]}"[co]
19159 - elif [[ "${compiled_file}" == *\$py.class ]]; then
19160 - if [[ "${dir}" == "__pycache__" ]]; then
19161 - base_module_name="${compiled_file##*/}"
19162 - base_module_name="${base_module_name%\$py.class}"
19163 - py_file="${compiled_file%__pycache__/*}${base_module_name}.py"
19164 - else
19165 - py_file="${compiled_file%\$py.class}.py"
19166 - fi
19167 - if [[ "${EBUILD_PHASE}" == "postinst" ]]; then
19168 - [[ -f "${py_file}" && "${compiled_file}" -nt "${py_file}" ]] && continue
19169 - else
19170 - [[ -f "${py_file}" ]] && continue
19171 - fi
19172 - _python_vecho "<<< ${compiled_file}"
19173 - rm -f "${compiled_file}"
19174 - else
19175 - die "${FUNCNAME}(): Unrecognized file type: '${compiled_file}'"
19176 - fi
19177 -
19178 - # Delete empty parent directories.
19179 - dir="${compiled_file%/*}"
19180 - while [[ "${dir}" != "${root}" ]]; do
19181 - if rmdir "${dir}" 2> /dev/null; then
19182 - _python_vecho "<<< ${dir}"
19183 - else
19184 - break
19185 - fi
19186 - dir="${dir%/*}"
19187 - done
19188 - done
19189 - done
19190 -}
19191 -
19192 -# @FUNCTION: python_mod_optimize
19193 -# @USAGE: [--allow-evaluated-non-sitedir-paths] [-d directory] [-f] [-l] [-q] [-x regular_expression] [--] <file|directory> [files|directories]
19194 -# @DESCRIPTION:
19195 -# Byte-compile specified Python modules.
19196 -# -d, -f, -l, -q and -x options passed to this function are passed to compileall.py.
19197 -#
19198 -# This function can be used only in pkg_postinst() phase.
19199 -python_mod_optimize() {
19200 - if [[ "${EBUILD_PHASE}" != "postinst" ]]; then
19201 - die "${FUNCNAME}() can be used only in pkg_postinst() phase"
19202 - fi
19203 -
19204 - _python_check_python_pkg_setup_execution
19205 - _python_initialize_prefix_variables
19206 -
19207 - if ! has "${EAPI:-0}" 0 1 2 || _python_package_supporting_installation_for_multiple_python_abis || _python_implementation || [[ "${CATEGORY}/${PN}" == "sys-apps/portage" ]]; then
19208 - # PYTHON_ABI variable cannot be local in packages not supporting installation for multiple Python ABIs.
19209 - local allow_evaluated_non_sitedir_paths="0" dir dirs=() evaluated_dirs=() evaluated_files=() file files=() iterated_PYTHON_ABIS options=() other_dirs=() other_files=() previous_PYTHON_ABI="${PYTHON_ABI}" return_code root site_packages_dirs=() site_packages_files=() stderr stderr_line
19210 -
19211 - if _python_package_supporting_installation_for_multiple_python_abis; then
19212 - if has "${EAPI:-0}" 0 1 2 3 && [[ -z "${PYTHON_ABIS}" ]]; then
19213 - die "${FUNCNAME}(): python_pkg_setup() or python_execute_function() not called"
19214 - fi
19215 - iterated_PYTHON_ABIS="${PYTHON_ABIS}"
19216 - else
19217 - if has "${EAPI:-0}" 0 1 2 3; then
19218 - iterated_PYTHON_ABIS="${PYTHON_ABI:=$(PYTHON --ABI)}"
19219 - else
19220 - iterated_PYTHON_ABIS="${PYTHON_ABI}"
19221 - fi
19222 - fi
19223 -
19224 - # Strip trailing slash from EROOT.
19225 - root="${EROOT%/}"
19226 -
19227 - while (($#)); do
19228 - case "$1" in
19229 - --allow-evaluated-non-sitedir-paths)
19230 - allow_evaluated_non_sitedir_paths="1"
19231 - ;;
19232 - -l|-f|-q)
19233 - options+=("$1")
19234 - ;;
19235 - -d|-x)
19236 - options+=("$1" "$2")
19237 - shift
19238 - ;;
19239 - --)
19240 - shift
19241 - break
19242 - ;;
19243 - -*)
19244 - die "${FUNCNAME}(): Unrecognized option '$1'"
19245 - ;;
19246 - *)
19247 - break
19248 - ;;
19249 - esac
19250 - shift
19251 - done
19252 -
19253 - if [[ "${allow_evaluated_non_sitedir_paths}" == "1" ]] && ! _python_package_supporting_installation_for_multiple_python_abis; then
19254 - die "${FUNCNAME}(): '--allow-evaluated-non-sitedir-paths' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
19255 - fi
19256 -
19257 - if [[ "$#" -eq 0 ]]; then
19258 - die "${FUNCNAME}(): Missing files or directories"
19259 - fi
19260 -
19261 - while (($#)); do
19262 - if [[ "$1" =~ ^($|(\.|\.\.|/)($|/)) ]]; then
19263 - die "${FUNCNAME}(): Invalid argument '$1'"
19264 - elif ! _python_implementation && [[ "$1" =~ ^/usr/lib(32|64)?/python[[:digit:]]+\.[[:digit:]]+ ]]; then
19265 - die "${FUNCNAME}(): Paths of directories / files in site-packages directories must be relative to site-packages directories"
19266 - elif [[ "$1" =~ ^/ ]]; then
19267 - if _python_package_supporting_installation_for_multiple_python_abis; then
19268 - if [[ "${allow_evaluated_non_sitedir_paths}" != "1" ]]; then
19269 - die "${FUNCNAME}(): Absolute paths cannot be used in ebuilds of packages supporting installation for multiple Python ABIs"
19270 - fi
19271 - if [[ "$1" != *\$* ]]; then
19272 - die "${FUNCNAME}(): '$1' has invalid syntax"
19273 - fi
19274 - if [[ "$1" == *.py ]]; then
19275 - evaluated_files+=("$1")
19276 - else
19277 - evaluated_dirs+=("$1")
19278 - fi
19279 - else
19280 - if [[ -d "${root}$1" ]]; then
19281 - other_dirs+=("${root}$1")
19282 - elif [[ -f "${root}$1" ]]; then
19283 - other_files+=("${root}$1")
19284 - elif [[ -e "${root}$1" ]]; then
19285 - eerror "${FUNCNAME}(): '${root}$1' is not a regular file or a directory"
19286 - else
19287 - eerror "${FUNCNAME}(): '${root}$1' does not exist"
19288 - fi
19289 - fi
19290 - else
19291 - for PYTHON_ABI in ${iterated_PYTHON_ABIS}; do
19292 - if [[ -d "${root}$(python_get_sitedir)/$1" ]]; then
19293 - site_packages_dirs+=("$1")
19294 - break
19295 - elif [[ -f "${root}$(python_get_sitedir)/$1" ]]; then
19296 - site_packages_files+=("$1")
19297 - break
19298 - elif [[ -e "${root}$(python_get_sitedir)/$1" ]]; then
19299 - eerror "${FUNCNAME}(): '$1' is not a regular file or a directory"
19300 - else
19301 - eerror "${FUNCNAME}(): '$1' does not exist"
19302 - fi
19303 - done
19304 - fi
19305 - shift
19306 - done
19307 -
19308 - # Set additional options.
19309 - options+=("-q")
19310 -
19311 - for PYTHON_ABI in ${iterated_PYTHON_ABIS}; do
19312 - if ((${#site_packages_dirs[@]})) || ((${#site_packages_files[@]})) || ((${#evaluated_dirs[@]})) || ((${#evaluated_files[@]})); then
19313 - return_code="0"
19314 - stderr=""
19315 - ebegin "Compilation and optimization of Python modules for $(python_get_implementation_and_version)"
19316 - if ((${#site_packages_dirs[@]})) || ((${#evaluated_dirs[@]})); then
19317 - for dir in "${site_packages_dirs[@]}"; do
19318 - dirs+=("${root}$(python_get_sitedir)/${dir}")
19319 - done
19320 - for dir in "${evaluated_dirs[@]}"; do
19321 - eval "dirs+=(\"\${root}${dir}\")"
19322 - done
19323 - stderr+="${stderr:+$'\n'}$("$(PYTHON)" -m compileall "${options[@]}" "${dirs[@]}" 2>&1)" || return_code="1"
19324 - if ! has "$(_python_get_implementation "${PYTHON_ABI}")" Jython PyPy; then
19325 - "$(PYTHON)" -O -m compileall "${options[@]}" "${dirs[@]}" &> /dev/null || return_code="1"
19326 - fi
19327 - _python_clean_compiled_modules "${dirs[@]}"
19328 - fi
19329 - if ((${#site_packages_files[@]})) || ((${#evaluated_files[@]})); then
19330 - for file in "${site_packages_files[@]}"; do
19331 - files+=("${root}$(python_get_sitedir)/${file}")
19332 - done
19333 - for file in "${evaluated_files[@]}"; do
19334 - eval "files+=(\"\${root}${file}\")"
19335 - done
19336 - stderr+="${stderr:+$'\n'}$("$(PYTHON)" -m py_compile "${files[@]}" 2>&1)" || return_code="1"
19337 - if ! has "$(_python_get_implementation "${PYTHON_ABI}")" Jython PyPy; then
19338 - "$(PYTHON)" -O -m py_compile "${files[@]}" &> /dev/null || return_code="1"
19339 - fi
19340 - _python_clean_compiled_modules "${files[@]}"
19341 - fi
19342 - eend "${return_code}"
19343 - if [[ -n "${stderr}" ]]; then
19344 - eerror "Syntax errors / warnings in Python modules for $(python_get_implementation_and_version):" &> /dev/null
19345 - while read stderr_line; do
19346 - eerror " ${stderr_line}"
19347 - done <<< "${stderr}"
19348 - fi
19349 - fi
19350 - unset dirs files
19351 - done
19352 -
19353 - if _python_package_supporting_installation_for_multiple_python_abis; then
19354 - # Restore previous value of PYTHON_ABI.
19355 - if [[ -n "${previous_PYTHON_ABI}" ]]; then
19356 - PYTHON_ABI="${previous_PYTHON_ABI}"
19357 - else
19358 - unset PYTHON_ABI
19359 - fi
19360 - fi
19361 -
19362 - if ((${#other_dirs[@]})) || ((${#other_files[@]})); then
19363 - return_code="0"
19364 - stderr=""
19365 - ebegin "Compilation and optimization of Python modules placed outside of site-packages directories for $(python_get_implementation_and_version)"
19366 - if ((${#other_dirs[@]})); then
19367 - stderr+="${stderr:+$'\n'}$("$(PYTHON ${PYTHON_ABI})" -m compileall "${options[@]}" "${other_dirs[@]}" 2>&1)" || return_code="1"
19368 - if ! has "$(_python_get_implementation "${PYTHON_ABI}")" Jython PyPy; then
19369 - "$(PYTHON ${PYTHON_ABI})" -O -m compileall "${options[@]}" "${other_dirs[@]}" &> /dev/null || return_code="1"
19370 - fi
19371 - _python_clean_compiled_modules "${other_dirs[@]}"
19372 - fi
19373 - if ((${#other_files[@]})); then
19374 - stderr+="${stderr:+$'\n'}$("$(PYTHON ${PYTHON_ABI})" -m py_compile "${other_files[@]}" 2>&1)" || return_code="1"
19375 - if ! has "$(_python_get_implementation "${PYTHON_ABI}")" Jython PyPy; then
19376 - "$(PYTHON ${PYTHON_ABI})" -O -m py_compile "${other_files[@]}" &> /dev/null || return_code="1"
19377 - fi
19378 - _python_clean_compiled_modules "${other_files[@]}"
19379 - fi
19380 - eend "${return_code}"
19381 - if [[ -n "${stderr}" ]]; then
19382 - eerror "Syntax errors / warnings in Python modules placed outside of site-packages directories for $(python_get_implementation_and_version):" &> /dev/null
19383 - while read stderr_line; do
19384 - eerror " ${stderr_line}"
19385 - done <<< "${stderr}"
19386 - fi
19387 - fi
19388 - else
19389 - # Deprecated part of python_mod_optimize()
19390 - ewarn
19391 - ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
19392 - ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
19393 - ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
19394 - ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
19395 - ewarn
19396 -
19397 - local myroot mydirs=() myfiles=() myopts=() return_code="0"
19398 -
19399 - # strip trailing slash
19400 - myroot="${EROOT%/}"
19401 -
19402 - # respect EROOT and options passed to compileall.py
19403 - while (($#)); do
19404 - case "$1" in
19405 - -l|-f|-q)
19406 - myopts+=("$1")
19407 - ;;
19408 - -d|-x)
19409 - myopts+=("$1" "$2")
19410 - shift
19411 - ;;
19412 - --)
19413 - shift
19414 - break
19415 - ;;
19416 - -*)
19417 - die "${FUNCNAME}(): Unrecognized option '$1'"
19418 - ;;
19419 - *)
19420 - break
19421 - ;;
19422 - esac
19423 - shift
19424 - done
19425 -
19426 - if [[ "$#" -eq 0 ]]; then
19427 - die "${FUNCNAME}(): Missing files or directories"
19428 - fi
19429 -
19430 - while (($#)); do
19431 - if [[ "$1" =~ ^($|(\.|\.\.|/)($|/)) ]]; then
19432 - die "${FUNCNAME}(): Invalid argument '$1'"
19433 - elif [[ -d "${myroot}/${1#/}" ]]; then
19434 - mydirs+=("${myroot}/${1#/}")
19435 - elif [[ -f "${myroot}/${1#/}" ]]; then
19436 - myfiles+=("${myroot}/${1#/}")
19437 - elif [[ -e "${myroot}/${1#/}" ]]; then
19438 - eerror "${FUNCNAME}(): ${myroot}/${1#/} is not a regular file or directory"
19439 - else
19440 - eerror "${FUNCNAME}(): ${myroot}/${1#/} does not exist"
19441 - fi
19442 - shift
19443 - done
19444 -
19445 - # set additional opts
19446 - myopts+=(-q)
19447 -
19448 - PYTHON_ABI="${PYTHON_ABI:-$(PYTHON --ABI)}"
19449 -
19450 - ebegin "Compilation and optimization of Python modules for $(python_get_implementation) $(python_get_version)"
19451 - if ((${#mydirs[@]})); then
19452 - "$(PYTHON ${PYTHON_ABI})" "${myroot}$(python_get_libdir)/compileall.py" "${myopts[@]}" "${mydirs[@]}" || return_code="1"
19453 - "$(PYTHON ${PYTHON_ABI})" -O "${myroot}$(python_get_libdir)/compileall.py" "${myopts[@]}" "${mydirs[@]}" &> /dev/null || return_code="1"
19454 - _python_clean_compiled_modules "${mydirs[@]}"
19455 - fi
19456 -
19457 - if ((${#myfiles[@]})); then
19458 - "$(PYTHON ${PYTHON_ABI})" "${myroot}$(python_get_libdir)/py_compile.py" "${myfiles[@]}" || return_code="1"
19459 - "$(PYTHON ${PYTHON_ABI})" -O "${myroot}$(python_get_libdir)/py_compile.py" "${myfiles[@]}" &> /dev/null || return_code="1"
19460 - _python_clean_compiled_modules "${myfiles[@]}"
19461 - fi
19462 -
19463 - eend "${return_code}"
19464 - fi
19465 -}
19466 -
19467 -# @FUNCTION: python_mod_cleanup
19468 -# @USAGE: [--allow-evaluated-non-sitedir-paths] [--] <file|directory> [files|directories]
19469 -# @DESCRIPTION:
19470 -# Delete orphaned byte-compiled Python modules corresponding to specified Python modules.
19471 -#
19472 -# This function can be used only in pkg_postrm() phase.
19473 -python_mod_cleanup() {
19474 - if [[ "${EBUILD_PHASE}" != "postrm" ]]; then
19475 - die "${FUNCNAME}() can be used only in pkg_postrm() phase"
19476 - fi
19477 -
19478 - _python_check_python_pkg_setup_execution
19479 - _python_initialize_prefix_variables
19480 -
19481 - local allow_evaluated_non_sitedir_paths="0" dir iterated_PYTHON_ABIS PYTHON_ABI="${PYTHON_ABI}" root search_paths=() sitedir
19482 -
19483 - if _python_package_supporting_installation_for_multiple_python_abis; then
19484 - if has "${EAPI:-0}" 0 1 2 3 && [[ -z "${PYTHON_ABIS}" ]]; then
19485 - die "${FUNCNAME}(): python_pkg_setup() or python_execute_function() not called"
19486 - fi
19487 - iterated_PYTHON_ABIS="${PYTHON_ABIS}"
19488 - else
19489 - if has "${EAPI:-0}" 0 1 2 3; then
19490 - iterated_PYTHON_ABIS="${PYTHON_ABI:-$(PYTHON --ABI)}"
19491 - else
19492 - iterated_PYTHON_ABIS="${PYTHON_ABI}"
19493 - fi
19494 - fi
19495 -
19496 - # Strip trailing slash from EROOT.
19497 - root="${EROOT%/}"
19498 -
19499 - while (($#)); do
19500 - case "$1" in
19501 - --allow-evaluated-non-sitedir-paths)
19502 - allow_evaluated_non_sitedir_paths="1"
19503 - ;;
19504 - --)
19505 - shift
19506 - break
19507 - ;;
19508 - -*)
19509 - die "${FUNCNAME}(): Unrecognized option '$1'"
19510 - ;;
19511 - *)
19512 - break
19513 - ;;
19514 - esac
19515 - shift
19516 - done
19517 -
19518 - if [[ "${allow_evaluated_non_sitedir_paths}" == "1" ]] && ! _python_package_supporting_installation_for_multiple_python_abis; then
19519 - die "${FUNCNAME}(): '--allow-evaluated-non-sitedir-paths' option cannot be used in ebuilds of packages not supporting installation for multiple Python ABIs"
19520 - fi
19521 -
19522 - if [[ "$#" -eq 0 ]]; then
19523 - die "${FUNCNAME}(): Missing files or directories"
19524 - fi
19525 -
19526 - if ! has "${EAPI:-0}" 0 1 2 || _python_package_supporting_installation_for_multiple_python_abis || _python_implementation || [[ "${CATEGORY}/${PN}" == "sys-apps/portage" ]]; then
19527 - while (($#)); do
19528 - if [[ "$1" =~ ^($|(\.|\.\.|/)($|/)) ]]; then
19529 - die "${FUNCNAME}(): Invalid argument '$1'"
19530 - elif ! _python_implementation && [[ "$1" =~ ^/usr/lib(32|64)?/python[[:digit:]]+\.[[:digit:]]+ ]]; then
19531 - die "${FUNCNAME}(): Paths of directories / files in site-packages directories must be relative to site-packages directories"
19532 - elif [[ "$1" =~ ^/ ]]; then
19533 - if _python_package_supporting_installation_for_multiple_python_abis; then
19534 - if [[ "${allow_evaluated_non_sitedir_paths}" != "1" ]]; then
19535 - die "${FUNCNAME}(): Absolute paths cannot be used in ebuilds of packages supporting installation for multiple Python ABIs"
19536 - fi
19537 - if [[ "$1" != *\$* ]]; then
19538 - die "${FUNCNAME}(): '$1' has invalid syntax"
19539 - fi
19540 - for PYTHON_ABI in ${iterated_PYTHON_ABIS}; do
19541 - eval "search_paths+=(\"\${root}$1\")"
19542 - done
19543 - else
19544 - search_paths+=("${root}$1")
19545 - fi
19546 - else
19547 - for PYTHON_ABI in ${iterated_PYTHON_ABIS}; do
19548 - search_paths+=("${root}$(python_get_sitedir)/$1")
19549 - done
19550 - fi
19551 - shift
19552 - done
19553 - else
19554 - # Deprecated part of python_mod_cleanup()
19555 - ewarn
19556 - ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
19557 - ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
19558 - ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
19559 - ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
19560 - ewarn
19561 -
19562 - search_paths=("${@#/}")
19563 - search_paths=("${search_paths[@]/#/${root}/}")
19564 - fi
19565 -
19566 - _python_clean_compiled_modules "${search_paths[@]}"
19567 -}
19568 -
19569 -# ================================================================================================
19570 -# ===================================== DEPRECATED FUNCTIONS =====================================
19571 -# ================================================================================================
19572 -
19573 -fi # _PYTHON_ECLASS_INHERITED
19574
19575 diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
19576 deleted file mode 100644
19577 index 5da320e..0000000
19578 --- a/eclass/qt4-build.eclass
19579 +++ /dev/null
19580 @@ -1,882 +0,0 @@
19581 -# Copyright 1999-2012 Gentoo Foundation
19582 -# Distributed under the terms of the GNU General Public License v2
19583 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.135 2012/09/06 08:30:00 kensington Exp $
19584 -
19585 -# @ECLASS: qt4-build.eclass
19586 -# @MAINTAINER:
19587 -# Qt herd <qt@g.o>
19588 -# @BLURB: Eclass for Qt4 split ebuilds.
19589 -# @DESCRIPTION:
19590 -# This eclass contains various functions that are used when building Qt4.
19591 -
19592 -case ${EAPI} in
19593 - 2|3|4|5) : ;;
19594 - *) die "qt4-build.eclass requires EAPI 2, 3 or 4." ;;
19595 -esac
19596 -
19597 -inherit eutils flag-o-matic multilib toolchain-funcs versionator
19598 -
19599 -if [[ ${PV} == *9999* ]]; then
19600 - QT4_BUILD_TYPE="live"
19601 - inherit git-2
19602 -else
19603 - QT4_BUILD_TYPE="release"
19604 -fi
19605 -
19606 -HOMEPAGE="http://qt-project.org/ http://qt.nokia.com/"
19607 -LICENSE="|| ( LGPL-2.1 GPL-3 )"
19608 -
19609 -MY_PV=${PV/_/-}
19610 -MY_P=qt-everywhere-opensource-src-${MY_PV}
19611 -
19612 -case ${QT4_BUILD_TYPE} in
19613 - live)
19614 - EGIT_REPO_URI="git://gitorious.org/qt/qt.git
19615 - https://git.gitorious.org/qt/qt.git"
19616 - EGIT_BRANCH=${PV%.9999}
19617 - ;;
19618 - release)
19619 - if version_is_at_least 4.8.1; then
19620 - SRC_URI="http://releases.qt-project.org/qt4/source/${MY_P}.tar.gz"
19621 - else
19622 - SRC_URI="http://get.qt.nokia.com/qt/source/${MY_P}.tar.gz"
19623 - fi
19624 - ;;
19625 -esac
19626 -
19627 -IUSE="aqua debug pch"
19628 -[[ ${CATEGORY}/${PN} != x11-libs/qt-xmlpatterns ]] && IUSE+=" +exceptions"
19629 -if version_is_at_least 4.8; then
19630 - [[ ${CATEGORY}/${PN} != x11-libs/qt-webkit ]] && IUSE+=" c++0x"
19631 - version_is_at_least 4.8.3 || IUSE+=" qpa"
19632 -fi
19633 -
19634 -DEPEND="virtual/pkgconfig"
19635 -if [[ ${QT4_BUILD_TYPE} == live ]]; then
19636 - DEPEND+=" dev-lang/perl"
19637 -fi
19638 -
19639 -RDEPEND="
19640 - !<x11-libs/qt-assistant-${PV}:4
19641 - !>x11-libs/qt-assistant-${PV}-r9999:4
19642 - !<x11-libs/qt-bearer-${PV}:4
19643 - !>x11-libs/qt-bearer-${PV}-r9999:4
19644 - !<x11-libs/qt-core-${PV}:4
19645 - !>x11-libs/qt-core-${PV}-r9999:4
19646 - !<x11-libs/qt-dbus-${PV}:4
19647 - !>x11-libs/qt-dbus-${PV}-r9999:4
19648 - !<x11-libs/qt-declarative-${PV}:4
19649 - !>x11-libs/qt-declarative-${PV}-r9999:4
19650 - !<x11-libs/qt-demo-${PV}:4
19651 - !>x11-libs/qt-demo-${PV}-r9999:4
19652 - !<x11-libs/qt-gui-${PV}:4
19653 - !>x11-libs/qt-gui-${PV}-r9999:4
19654 - !<x11-libs/qt-multimedia-${PV}:4
19655 - !>x11-libs/qt-multimedia-${PV}-r9999:4
19656 - !<x11-libs/qt-opengl-${PV}:4
19657 - !>x11-libs/qt-opengl-${PV}-r9999:4
19658 - !<x11-libs/qt-openvg-${PV}:4
19659 - !>x11-libs/qt-openvg-${PV}-r9999:4
19660 - !<x11-libs/qt-phonon-${PV}:4
19661 - !>x11-libs/qt-phonon-${PV}-r9999:4
19662 - !<x11-libs/qt-qt3support-${PV}:4
19663 - !>x11-libs/qt-qt3support-${PV}-r9999:4
19664 - !<x11-libs/qt-script-${PV}:4
19665 - !>x11-libs/qt-script-${PV}-r9999:4
19666 - !<x11-libs/qt-sql-${PV}:4
19667 - !>x11-libs/qt-sql-${PV}-r9999:4
19668 - !<x11-libs/qt-svg-${PV}:4
19669 - !>x11-libs/qt-svg-${PV}-r9999:4
19670 - !<x11-libs/qt-test-${PV}:4
19671 - !>x11-libs/qt-test-${PV}-r9999:4
19672 - !<x11-libs/qt-webkit-${PV}:4
19673 - !>x11-libs/qt-webkit-${PV}-r9999:4
19674 - !<x11-libs/qt-xmlpatterns-${PV}:4
19675 - !>x11-libs/qt-xmlpatterns-${PV}-r9999:4
19676 -"
19677 -
19678 -S=${WORKDIR}/${MY_P}
19679 -
19680 -# @FUNCTION: qt4-build_pkg_setup
19681 -# @DESCRIPTION:
19682 -# Sets up PATH and LD_LIBRARY_PATH.
19683 -qt4-build_pkg_setup() {
19684 - [[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
19685 -
19686 - # Protect users by not allowing downgrades between releases.
19687 - # Downgrading revisions within the same release should be allowed.
19688 - if has_version ">${CATEGORY}/${P}-r9999:4"; then
19689 - if [[ -z ${I_KNOW_WHAT_I_AM_DOING} ]]; then
19690 - eerror " *** Sanity check to keep you from breaking your system ***"
19691 - eerror "Downgrading Qt is completely unsupported and will break your system!"
19692 - die "aborting to save your system"
19693 - else
19694 - ewarn "Downgrading Qt is completely unsupported and will break your system!"
19695 - fi
19696 - fi
19697 -
19698 - PATH="${S}/bin${PATH:+:}${PATH}"
19699 - if [[ ${CHOST} != *-darwin* ]]; then
19700 - LD_LIBRARY_PATH="${S}/lib${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
19701 - else
19702 - DYLD_LIBRARY_PATH="${S}/lib${DYLD_LIBRARY_PATH:+:}${DYLD_LIBRARY_PATH}"
19703 - # On MacOS we *need* at least src/gui/kernel/qapplication_mac.mm for
19704 - # platform detection. Note: needs to come before any directories to
19705 - # avoid extract failure.
19706 - [[ ${CHOST} == *-apple-darwin* ]] && \
19707 - QT4_EXTRACT_DIRECTORIES="src/gui/kernel/qapplication_mac.mm
19708 - ${QT4_EXTRACT_DIRECTORIES}"
19709 - fi
19710 -}
19711 -
19712 -# @ECLASS-VARIABLE: QT4_EXTRACT_DIRECTORIES
19713 -# @DEFAULT_UNSET
19714 -# @DESCRIPTION:
19715 -# Space-separated list including the directories that will be extracted from
19716 -# Qt tarball.
19717 -
19718 -# @ECLASS-VARIABLE: QT4_TARGET_DIRECTORIES
19719 -# @DEFAULT_UNSET
19720 -# @DESCRIPTION:
19721 -# Arguments for build_target_directories. Takes the directories in which the
19722 -# code should be compiled. This is a space-separated list.
19723 -
19724 -# @FUNCTION: qt4-build_src_unpack
19725 -# @DESCRIPTION:
19726 -# Unpacks the sources.
19727 -qt4-build_src_unpack() {
19728 - setqtenv
19729 -
19730 - if ! version_is_at_least 4.1 $(gcc-version); then
19731 - ewarn "Using a GCC version lower than 4.1 is not supported."
19732 - fi
19733 -
19734 - if [[ ${PN} == qt-webkit ]]; then
19735 - eshopts_push -s extglob
19736 - if is-flagq '-g?(gdb)?([1-9])'; then
19737 - echo
19738 - ewarn "You have enabled debug info (probably have -g or -ggdb in your CFLAGS/CXXFLAGS)."
19739 - ewarn "You may experience really long compilation times and/or increased memory usage."
19740 - ewarn "If compilation fails, please try removing -g/-ggdb before reporting a bug."
19741 - ewarn "For more info check out https://bugs.gentoo.org/307861"
19742 - echo
19743 - fi
19744 - eshopts_pop
19745 - fi
19746 -
19747 - case ${QT4_BUILD_TYPE} in
19748 - live)
19749 - git-2_src_unpack
19750 - ;;
19751 - release)
19752 - local tarball="${MY_P}.tar.gz" target= targets=
19753 - for target in configure LICENSE.GPL3 LICENSE.LGPL projects.pro \
19754 - src/{qbase,qt_targets,qt_install}.pri bin config.tests \
19755 - mkspecs qmake ${QT4_EXTRACT_DIRECTORIES}
19756 - do
19757 - targets+="${MY_P}/${target} "
19758 - done
19759 -
19760 - ebegin "Unpacking parts of ${tarball}:" ${targets//${MY_P}\/}
19761 - tar -xzf "${DISTDIR}/${tarball}" ${targets}
19762 - eend $? || die "failed to unpack"
19763 - ;;
19764 - esac
19765 -}
19766 -
19767 -# @ECLASS-VARIABLE: PATCHES
19768 -# @DEFAULT_UNSET
19769 -# @DESCRIPTION:
19770 -# PATCHES array variable containing all various patches to be applied.
19771 -# This variable is expected to be defined in global scope of ebuild.
19772 -# Make sure to specify the full path. This variable is utilised in
19773 -# src_unpack/src_prepare phase, based on EAPI.
19774 -#
19775 -# @CODE
19776 -# PATCHES=( "${FILESDIR}/mypatch.patch"
19777 -# "${FILESDIR}/patches_folder/" )
19778 -# @CODE
19779 -
19780 -# @FUNCTION: qt4-build_src_prepare
19781 -# @DESCRIPTION:
19782 -# Prepare the sources before the configure phase. Strip CFLAGS if necessary, and fix
19783 -# the build system in order to respect CFLAGS/CXXFLAGS/LDFLAGS specified in /etc/make.conf.
19784 -qt4-build_src_prepare() {
19785 - setqtenv
19786 -
19787 - if [[ ${QT4_BUILD_TYPE} == live ]]; then
19788 - QTDIR="." ./bin/syncqt || die "syncqt failed"
19789 - fi
19790 -
19791 - if version_is_at_least 4.7; then
19792 - # avoid X11 dependency in non-gui packages
19793 - local nolibx11_pkgs="qt-core qt-dbus qt-script qt-sql qt-test qt-xmlpatterns"
19794 - has ${PN} ${nolibx11_pkgs} && qt_nolibx11
19795 - fi
19796 -
19797 - if use aqua; then
19798 - # provide a proper macx-g++-64
19799 - use x64-macos && ln -s macx-g++ mkspecs/$(qt_mkspecs_dir)
19800 -
19801 - sed -e '/^CONFIG/s:app_bundle::' \
19802 - -e '/^CONFIG/s:plugin_no_soname:plugin_with_soname absolute_library_soname:' \
19803 - -i mkspecs/$(qt_mkspecs_dir)/qmake.conf || die
19804 - fi
19805 -
19806 - if [[ ${PN} != qt-core ]]; then
19807 - skip_qmake_build
19808 - skip_project_generation
19809 - symlink_binaries_to_buildtree
19810 - fi
19811 -
19812 - if [[ ${CHOST} == *86*-apple-darwin* ]]; then
19813 - # qmake bus errors with -O2 or -O3 but -O1 works
19814 - # Bug 373061
19815 - replace-flags -O[23] -O1
19816 - fi
19817 -
19818 - # Bug 178652
19819 - if [[ $(gcc-major-version) == 3 ]] && use amd64; then
19820 - ewarn "Appending -fno-gcse to CFLAGS/CXXFLAGS"
19821 - append-flags -fno-gcse
19822 - fi
19823 -
19824 - if use_if_iuse c++0x; then
19825 - append-cxxflags -std=c++0x
19826 - fi
19827 -
19828 - # Unsupported old gcc versions - hardened needs this :(
19829 - if [[ $(gcc-major-version) -lt 4 ]]; then
19830 - ewarn "Appending -fno-stack-protector to CXXFLAGS"
19831 - append-cxxflags -fno-stack-protector
19832 - # Bug 253127
19833 - sed -e "/^QMAKE_CFLAGS\t/ s:$: -fno-stack-protector-all:" \
19834 - -i mkspecs/common/g++.conf || die
19835 - fi
19836 -
19837 - # Bug 261632
19838 - if use ppc64; then
19839 - ewarn "Appending -mminimal-toc to CFLAGS/CXXFLAGS"
19840 - append-flags -mminimal-toc
19841 - fi
19842 -
19843 - # Respect CC, CXX, {C,CXX,LD}FLAGS in .qmake.cache
19844 - sed -e "/^SYSTEM_VARIABLES=/i \
19845 - CC='$(tc-getCC)'\n\
19846 - CXX='$(tc-getCXX)'\n\
19847 - CFLAGS='${CFLAGS}'\n\
19848 - CXXFLAGS='${CXXFLAGS}'\n\
19849 - LDFLAGS='${LDFLAGS}'\n\
19850 - QMakeVar set QMAKE_CFLAGS_RELEASE\n\
19851 - QMakeVar set QMAKE_CFLAGS_DEBUG\n\
19852 - QMakeVar set QMAKE_CXXFLAGS_RELEASE\n\
19853 - QMakeVar set QMAKE_CXXFLAGS_DEBUG\n\
19854 - QMakeVar set QMAKE_LFLAGS_RELEASE\n\
19855 - QMakeVar set QMAKE_LFLAGS_DEBUG\n"\
19856 - -i configure \
19857 - || die "sed SYSTEM_VARIABLES failed"
19858 -
19859 - # Respect CC, CXX, LINK and *FLAGS in config.tests
19860 - find config.tests/unix -name '*.test' -type f -print0 | xargs -0 \
19861 - sed -i -e "/bin\/qmake/ s: \"QT_BUILD_TREE=: \
19862 - 'QMAKE_CC=$(tc-getCC)' 'QMAKE_CXX=$(tc-getCXX)' 'QMAKE_LINK=$(tc-getCXX)' \
19863 - 'QMAKE_CFLAGS+=${CFLAGS}' 'QMAKE_CXXFLAGS+=${CXXFLAGS}' 'QMAKE_LFLAGS+=${LDFLAGS}'&:" \
19864 - || die "sed config.tests failed"
19865 -
19866 - if ! version_is_at_least 4.8; then
19867 - # Strip predefined CFLAGS from mkspecs (bugs 312689 and 352778)
19868 - sed -i -e '/^QMAKE_CFLAGS_RELEASE/s:+=.*:+=:' mkspecs/common/g++.conf || die
19869 - fi
19870 -
19871 - # Bug 172219
19872 - sed -e 's:/X11R6/:/:' -i mkspecs/$(qt_mkspecs_dir)/qmake.conf || die
19873 -
19874 - if [[ ${CHOST} == *-darwin* ]]; then
19875 - # Set FLAGS *and* remove -arch, since our gcc-apple is multilib
19876 - # crippled (by design) :/
19877 - local mac_gpp_conf=
19878 - if [[ -f mkspecs/common/mac-g++.conf ]]; then
19879 - # qt < 4.8 has mac-g++.conf
19880 - mac_gpp_conf="mkspecs/common/mac-g++.conf"
19881 - elif [[ -f mkspecs/common/g++-macx.conf ]]; then
19882 - # qt >= 4.8 has g++-macx.conf
19883 - mac_gpp_conf="mkspecs/common/g++-macx.conf"
19884 - else
19885 - die "no known conf file for mac found"
19886 - fi
19887 - sed \
19888 - -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
19889 - -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
19890 - -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=-headerpad_max_install_names ${LDFLAGS}:" \
19891 - -e "s:-arch\s\w*::g" \
19892 - -i ${mac_gpp_conf} \
19893 - || die "sed ${mac_gpp_conf} failed"
19894 -
19895 - # Fix configure's -arch settings that appear in qmake/Makefile and also
19896 - # fix arch handling (automagically duplicates our -arch arg and breaks
19897 - # pch). Additionally disable Xarch support.
19898 - local mac_gcc_confs="${mac_gpp_conf}"
19899 - if [[ -f mkspecs/common/gcc-base-macx.conf ]]; then
19900 - mac_gcc_confs+=" mkspecs/common/gcc-base-macx.conf"
19901 - fi
19902 - sed \
19903 - -e "s:-arch i386::" \
19904 - -e "s:-arch ppc::" \
19905 - -e "s:-arch x86_64::" \
19906 - -e "s:-arch ppc64::" \
19907 - -e "s:-arch \$i::" \
19908 - -e "/if \[ ! -z \"\$NATIVE_64_ARCH\" \]; then/,/fi/ d" \
19909 - -e "s:CFG_MAC_XARCH=yes:CFG_MAC_XARCH=no:g" \
19910 - -e "s:-Xarch_x86_64::g" \
19911 - -e "s:-Xarch_ppc64::g" \
19912 - -i configure ${mac_gcc_confs} \
19913 - || die "sed -arch/-Xarch failed"
19914 -
19915 - # On Snow Leopard don't fall back to 10.5 deployment target.
19916 - if [[ ${CHOST} == *-apple-darwin10 ]]; then
19917 - sed -e "s:QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET.*:QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET 10.6:g" \
19918 - -e "s:-mmacosx-version-min=10.[0-9]:-mmacosx-version-min=10.6:g" \
19919 - -i configure ${mac_gpp_conf} \
19920 - || die "sed deployment target failed"
19921 - fi
19922 - fi
19923 -
19924 - # this one is needed for all systems with a separate -liconv, apart from
19925 - # Darwin, for which the sources already cater for -liconv
19926 - if use !elibc_glibc && [[ ${CHOST} != *-darwin* ]]; then
19927 - sed -e 's|mac:\(LIBS += -liconv\)|\1|g' \
19928 - -i config.tests/unix/iconv/iconv.pro \
19929 - || die "sed iconv.pro failed"
19930 - fi
19931 -
19932 - # we need some patches for Solaris
19933 - sed -i -e '/^QMAKE_LFLAGS_THREAD/a\QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,' \
19934 - mkspecs/$(qt_mkspecs_dir)/qmake.conf || die
19935 - # use GCC over SunStudio
19936 - sed -i -e '/PLATFORM=solaris-cc/s/cc/g++/' configure || die
19937 - # do not flirt with non-Prefix stuff, we're quite possessive
19938 - sed -i -e '/^QMAKE_\(LIB\|INC\)DIR\(_X11\|_OPENGL\|\)\t/s/=.*$/=/' \
19939 - mkspecs/$(qt_mkspecs_dir)/qmake.conf || die
19940 -
19941 - # apply patches
19942 - [[ -n ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
19943 - epatch_user
19944 -}
19945 -
19946 -# @FUNCTION: qt4-build_src_configure
19947 -# @DESCRIPTION:
19948 -# Default configure phase
19949 -qt4-build_src_configure() {
19950 - setqtenv
19951 -
19952 - local conf="
19953 - -prefix ${QTPREFIXDIR}
19954 - -bindir ${QTBINDIR}
19955 - -libdir ${QTLIBDIR}
19956 - -docdir ${QTDOCDIR}
19957 - -headerdir ${QTHEADERDIR}
19958 - -plugindir ${QTPLUGINDIR}
19959 - $(version_is_at_least 4.7 && echo -importdir ${QTIMPORTDIR})
19960 - -datadir ${QTDATADIR}
19961 - -translationdir ${QTTRANSDIR}
19962 - -sysconfdir ${QTSYSCONFDIR}
19963 - -examplesdir ${QTEXAMPLESDIR}
19964 - -demosdir ${QTDEMOSDIR}
19965 - -opensource -confirm-license
19966 - -shared -fast -largefile -stl -verbose
19967 - -nomake examples -nomake demos"
19968 -
19969 - # ARCH is set on Gentoo. Qt now falls back to generic on an unsupported
19970 - # $(tc-arch). Therefore we convert it to supported values.
19971 - case "$(tc-arch)" in
19972 - amd64|x64-*) conf+=" -arch x86_64" ;;
19973 - ppc-macos) conf+=" -arch ppc" ;;
19974 - ppc|ppc64|ppc-*) conf+=" -arch powerpc" ;;
19975 - sparc|sparc-*|sparc64-*) conf+=" -arch sparc" ;;
19976 - x86-macos) conf+=" -arch x86" ;;
19977 - x86|x86-*) conf+=" -arch i386" ;;
19978 - alpha|arm|ia64|mips|s390) conf+=" -arch $(tc-arch)" ;;
19979 - hppa|sh) conf+=" -arch generic" ;;
19980 - *) die "$(tc-arch) is unsupported by this eclass. Please file a bug." ;;
19981 - esac
19982 -
19983 - conf+=" -platform $(qt_mkspecs_dir)"
19984 -
19985 - [[ $(get_libdir) != lib ]] && conf+=" -L${EPREFIX}/usr/$(get_libdir)"
19986 -
19987 - # debug/release
19988 - if use debug; then
19989 - conf+=" -debug"
19990 - else
19991 - conf+=" -release"
19992 - fi
19993 - conf+=" -no-separate-debug-info"
19994 -
19995 - # exceptions USE flag
19996 - conf+=" $(in_iuse exceptions && qt_use exceptions || echo -exceptions)"
19997 -
19998 - # disable rpath on Qt >= 4.8 (bug 380415)
19999 - # but leave it enabled on prefix (bug 417169)
20000 - version_is_at_least 4.8 && use !prefix && conf+=" -no-rpath"
20001 -
20002 - # precompiled headers don't work on hardened, where the flag is masked
20003 - conf+=" $(qt_use pch)"
20004 -
20005 - # -reduce-relocations
20006 - # This flag seems to introduce major breakage to applications,
20007 - # mostly to be seen as a core dump with the message "QPixmap: Must
20008 - # construct a QApplication before a QPaintDevice" on Solaris.
20009 - # -- Daniel Vergien
20010 - [[ ${CHOST} != *-solaris* ]] && conf+=" -reduce-relocations"
20011 -
20012 - # this one is needed for all systems with a separate -liconv, apart from
20013 - # Darwin, for which the sources already cater for -liconv
20014 - if use !elibc_glibc && [[ ${CHOST} != *-darwin* ]]; then
20015 - conf+=" -liconv"
20016 - fi
20017 -
20018 - if use_if_iuse glib; then
20019 - local glibflags="$(pkg-config --cflags --libs glib-2.0 gthread-2.0)"
20020 - # avoid the -pthread argument
20021 - conf+=" ${glibflags//-pthread}"
20022 - unset glibflags
20023 - fi
20024 -
20025 - if use_if_iuse qpa; then
20026 - echo
20027 - ewarn "The qpa useflag enables the Qt Platform Abstraction, formely"
20028 - ewarn "known as Qt Lighthouse. If you are not sure what that is, then"
20029 - ewarn "disable it before reporting any bugs related to this useflag."
20030 - echo
20031 - conf+=" -qpa"
20032 - fi
20033 -
20034 - if use aqua; then
20035 - # On (snow) leopard use the new (frameworked) cocoa code.
20036 - if [[ ${CHOST##*-darwin} -ge 9 ]]; then
20037 - conf+=" -cocoa -framework"
20038 - # We need the source's headers, not the installed ones.
20039 - conf+=" -I${S}/include"
20040 - # Add hint for the framework location.
20041 - conf+=" -F${QTLIBDIR}"
20042 -
20043 - # We are crazy and build cocoa + qt3support :-)
20044 - if use qt3support; then
20045 - sed -e "/case \"\$PLATFORM,\$CFG_MAC_COCOA\" in/,/;;/ s|CFG_QT3SUPPORT=\"no\"|CFG_QT3SUPPORT=\"yes\"|" \
20046 - -i configure || die
20047 - fi
20048 - else
20049 - conf+=" -no-framework"
20050 - fi
20051 - else
20052 - # freetype2 include dir is non-standard, thus pass it to configure
20053 - conf+=" $(pkg-config --cflags-only-I freetype2)"
20054 - fi
20055 -
20056 - conf+=" ${myconf}"
20057 - myconf=
20058 -
20059 - echo ./configure ${conf}
20060 - ./configure ${conf} || die "./configure failed"
20061 -
20062 - prepare_directories ${QT4_TARGET_DIRECTORIES}
20063 -}
20064 -
20065 -# @FUNCTION: qt4-build_src_compile
20066 -# @DESCRIPTION:
20067 -# Actual compile phase
20068 -qt4-build_src_compile() {
20069 - setqtenv
20070 -
20071 - build_directories ${QT4_TARGET_DIRECTORIES}
20072 -}
20073 -
20074 -# @FUNCTION: qt4-build_src_test
20075 -# @DESCRIPTION:
20076 -# Runs tests only in target directories.
20077 -qt4-build_src_test() {
20078 - # QtMultimedia does not have any test suite (bug #332299)
20079 - [[ ${PN} == qt-multimedia ]] && return
20080 -
20081 - for dir in ${QT4_TARGET_DIRECTORIES}; do
20082 - emake -j1 check -C ${dir}
20083 - done
20084 -}
20085 -
20086 -# @FUNCTION: fix_includes
20087 -# @DESCRIPTION:
20088 -# For MacOS X we need to add some symlinks when frameworks are
20089 -# being used, to avoid complications with some more or less stupid packages.
20090 -fix_includes() {
20091 - if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
20092 - local frw dest f h rdir
20093 - # Some packages tend to include <Qt/...>
20094 - dodir "${QTHEADERDIR#${EPREFIX}}"/Qt
20095 -
20096 - # Fake normal headers when frameworks are installed... eases life later
20097 - # on, make sure we use relative links though, as some ebuilds assume
20098 - # these dirs exist in src_install to add additional files
20099 - f=${QTHEADERDIR}
20100 - h=${QTLIBDIR}
20101 - while [[ -n ${f} && ${f%%/*} == ${h%%/*} ]] ; do
20102 - f=${f#*/}
20103 - h=${h#*/}
20104 - done
20105 - rdir=${h}
20106 - f="../"
20107 - while [[ ${h} == */* ]] ; do
20108 - f="${f}../"
20109 - h=${h#*/}
20110 - done
20111 - rdir="${f}${rdir}"
20112 -
20113 - for frw in "${D}${QTLIBDIR}"/*.framework; do
20114 - [[ -e "${frw}"/Headers ]] || continue
20115 - f=$(basename ${frw})
20116 - dest="${QTHEADERDIR#${EPREFIX}}"/${f%.framework}
20117 - dosym "${rdir}"/${f}/Headers "${dest}"
20118 -
20119 - # Link normal headers as well.
20120 - for hdr in "${D}/${QTLIBDIR}/${f}"/Headers/*; do
20121 - h=$(basename ${hdr})
20122 - dosym "../${rdir}"/${f}/Headers/${h} \
20123 - "${QTHEADERDIR#${EPREFIX}}"/Qt/${h}
20124 - done
20125 - done
20126 - fi
20127 -}
20128 -
20129 -# @FUNCTION: qt4-build_src_install
20130 -# @DESCRIPTION:
20131 -# Perform the actual installation including some library fixes.
20132 -qt4-build_src_install() {
20133 - [[ ${EAPI} == 2 ]] && use !prefix && ED=${D}
20134 - setqtenv
20135 -
20136 - install_directories ${QT4_TARGET_DIRECTORIES}
20137 - install_qconfigs
20138 - fix_library_files
20139 - fix_includes
20140 -
20141 - # remove .la files since we are building only shared Qt libraries
20142 - find "${D}"${QTLIBDIR} -type f -name '*.la' -print0 | xargs -0 rm -f
20143 -}
20144 -
20145 -# @FUNCTION: setqtenv
20146 -# @INTERNAL
20147 -setqtenv() {
20148 - # Set up installation directories
20149 - QTPREFIXDIR=${EPREFIX}/usr
20150 - QTBINDIR=${EPREFIX}/usr/bin
20151 - QTLIBDIR=${EPREFIX}/usr/$(get_libdir)/qt4
20152 - QTPCDIR=${EPREFIX}/usr/$(get_libdir)/pkgconfig
20153 - QTDOCDIR=${EPREFIX}/usr/share/doc/qt-${PV}
20154 - QTHEADERDIR=${EPREFIX}/usr/include/qt4
20155 - QTPLUGINDIR=${QTLIBDIR}/plugins
20156 - QTIMPORTDIR=${QTLIBDIR}/imports
20157 - QTDATADIR=${EPREFIX}/usr/share/qt4
20158 - QTTRANSDIR=${QTDATADIR}/translations
20159 - QTSYSCONFDIR=${EPREFIX}/etc/qt4
20160 - QTEXAMPLESDIR=${QTDATADIR}/examples
20161 - QTDEMOSDIR=${QTDATADIR}/demos
20162 - QMAKE_LIBDIR_QT=${QTLIBDIR}
20163 - QT_INSTALL_PREFIX=${EPREFIX}/usr/$(get_libdir)/qt4
20164 -
20165 - PLATFORM=$(qt_mkspecs_dir)
20166 - unset QMAKESPEC
20167 -
20168 - export XDG_CONFIG_HOME="${T}"
20169 -}
20170 -
20171 -# @FUNCTION: prepare_directories
20172 -# @USAGE: < directories >
20173 -# @INTERNAL
20174 -# @DESCRIPTION:
20175 -# Generates Makefiles for the given list of directories.
20176 -prepare_directories() {
20177 - for x in "$@"; do
20178 - pushd "${S}"/${x} >/dev/null || die
20179 - einfo "Running qmake in: ${x}"
20180 - # avoid running over the maximum argument number, bug #299810
20181 - {
20182 - echo "${S}"/mkspecs/common/*.conf
20183 - find "${S}" -name '*.pr[io]'
20184 - } | xargs sed -i \
20185 - -e "s:\$\$\[QT_INSTALL_LIBS\]:${QTLIBDIR}:g" \
20186 - -e "s:\$\$\[QT_INSTALL_PLUGINS\]:${QTPLUGINDIR}:g" \
20187 - || die
20188 - "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed"
20189 - popd >/dev/null || die
20190 - done
20191 -}
20192 -
20193 -
20194 -# @FUNCTION: build_directories
20195 -# @USAGE: < directories >
20196 -# @INTERNAL
20197 -# @DESCRIPTION:
20198 -# Compiles the code in the given list of directories.
20199 -build_directories() {
20200 - for x in "$@"; do
20201 - pushd "${S}"/${x} >/dev/null || die
20202 - emake CC="$(tc-getCC)" \
20203 - CXX="$(tc-getCXX)" \
20204 - LINK="$(tc-getCXX)" || die "emake failed"
20205 - popd >/dev/null || die
20206 - done
20207 -}
20208 -
20209 -# @FUNCTION: install_directories
20210 -# @USAGE: < directories >
20211 -# @INTERNAL
20212 -# @DESCRIPTION:
20213 -# Runs emake install in the given directories, which are separated by spaces.
20214 -install_directories() {
20215 - for x in "$@"; do
20216 - pushd "${S}"/${x} >/dev/null || die
20217 - emake INSTALL_ROOT="${D}" install || die "emake install failed"
20218 - popd >/dev/null || die
20219 - done
20220 -}
20221 -
20222 -# @ECLASS-VARIABLE: QCONFIG_ADD
20223 -# @DESCRIPTION:
20224 -# List options that need to be added to QT_CONFIG in qconfig.pri
20225 -: ${QCONFIG_ADD:=}
20226 -
20227 -# @ECLASS-VARIABLE: QCONFIG_REMOVE
20228 -# @DESCRIPTION:
20229 -# List options that need to be removed from QT_CONFIG in qconfig.pri
20230 -: ${QCONFIG_REMOVE:=}
20231 -
20232 -# @ECLASS-VARIABLE: QCONFIG_DEFINE
20233 -# @DESCRIPTION:
20234 -# List variables that should be defined at the top of QtCore/qconfig.h
20235 -: ${QCONFIG_DEFINE:=}
20236 -
20237 -# @FUNCTION: install_qconfigs
20238 -# @INTERNAL
20239 -# @DESCRIPTION:
20240 -# Install gentoo-specific mkspecs configurations.
20241 -install_qconfigs() {
20242 - local x
20243 - if [[ -n ${QCONFIG_ADD} || -n ${QCONFIG_REMOVE} ]]; then
20244 - for x in QCONFIG_ADD QCONFIG_REMOVE; do
20245 - [[ -n ${!x} ]] && echo ${x}=${!x} >> "${T}"/${PN}-qconfig.pri
20246 - done
20247 - insinto ${QTDATADIR#${EPREFIX}}/mkspecs/gentoo
20248 - doins "${T}"/${PN}-qconfig.pri || die "installing ${PN}-qconfig.pri failed"
20249 - fi
20250 -
20251 - if [[ -n ${QCONFIG_DEFINE} ]]; then
20252 - for x in ${QCONFIG_DEFINE}; do
20253 - echo "#define ${x}" >> "${T}"/gentoo-${PN}-qconfig.h
20254 - done
20255 - insinto ${QTHEADERDIR#${EPREFIX}}/Gentoo
20256 - doins "${T}"/gentoo-${PN}-qconfig.h || die "installing ${PN}-qconfig.h failed"
20257 - fi
20258 -}
20259 -
20260 -# @FUNCTION: generate_qconfigs
20261 -# @INTERNAL
20262 -# @DESCRIPTION:
20263 -# Generates gentoo-specific qconfig.{h,pri}.
20264 -generate_qconfigs() {
20265 - if [[ -n ${QCONFIG_ADD} || -n ${QCONFIG_REMOVE} || -n ${QCONFIG_DEFINE} || ${PN} == qt-core ]]; then
20266 - local x qconfig_add qconfig_remove qconfig_new
20267 - for x in "${ROOT}${QTDATADIR}"/mkspecs/gentoo/*-qconfig.pri; do
20268 - [[ -f ${x} ]] || continue
20269 - qconfig_add+=" $(sed -n 's/^QCONFIG_ADD=//p' "${x}")"
20270 - qconfig_remove+=" $(sed -n 's/^QCONFIG_REMOVE=//p' "${x}")"
20271 - done
20272 -
20273 - # these error checks do not use die because dying in pkg_post{inst,rm}
20274 - # just makes things worse.
20275 - if [[ -e "${ROOT}${QTDATADIR}"/mkspecs/gentoo/qconfig.pri ]]; then
20276 - # start with the qconfig.pri that qt-core installed
20277 - if ! cp "${ROOT}${QTDATADIR}"/mkspecs/gentoo/qconfig.pri \
20278 - "${ROOT}${QTDATADIR}"/mkspecs/qconfig.pri; then
20279 - eerror "cp qconfig failed."
20280 - return 1
20281 - fi
20282 -
20283 - # generate list of QT_CONFIG entries from the existing list
20284 - # including qconfig_add and excluding qconfig_remove
20285 - for x in $(sed -n 's/^QT_CONFIG +=//p' \
20286 - "${ROOT}${QTDATADIR}"/mkspecs/qconfig.pri) ${qconfig_add}; do
20287 - has ${x} ${qconfig_remove} || qconfig_new+=" ${x}"
20288 - done
20289 -
20290 - # replace the existing QT_CONFIG list with qconfig_new
20291 - if ! sed -i -e "s/QT_CONFIG +=.*/QT_CONFIG += ${qconfig_new}/" \
20292 - "${ROOT}${QTDATADIR}"/mkspecs/qconfig.pri; then
20293 - eerror "Sed for QT_CONFIG failed"
20294 - return 1
20295 - fi
20296 -
20297 - # create Gentoo/qconfig.h
20298 - if [[ ! -e ${ROOT}${QTHEADERDIR}/Gentoo ]]; then
20299 - if ! mkdir -p "${ROOT}${QTHEADERDIR}"/Gentoo; then
20300 - eerror "mkdir ${QTHEADERDIR}/Gentoo failed"
20301 - return 1
20302 - fi
20303 - fi
20304 - : > "${ROOT}${QTHEADERDIR}"/Gentoo/gentoo-qconfig.h
20305 - for x in "${ROOT}${QTHEADERDIR}"/Gentoo/gentoo-*-qconfig.h; do
20306 - [[ -f ${x} ]] || continue
20307 - cat "${x}" >> "${ROOT}${QTHEADERDIR}"/Gentoo/gentoo-qconfig.h
20308 - done
20309 - else
20310 - rm -f "${ROOT}${QTDATADIR}"/mkspecs/qconfig.pri
20311 - rm -f "${ROOT}${QTHEADERDIR}"/Gentoo/gentoo-qconfig.h
20312 - rmdir "${ROOT}${QTDATADIR}"/mkspecs \
20313 - "${ROOT}${QTDATADIR}" \
20314 - "${ROOT}${QTHEADERDIR}"/Gentoo \
20315 - "${ROOT}${QTHEADERDIR}" 2>/dev/null
20316 - fi
20317 - fi
20318 -}
20319 -
20320 -# @FUNCTION: qt4-build_pkg_postrm
20321 -# @DESCRIPTION:
20322 -# Regenerate configuration when the package is completely removed.
20323 -qt4-build_pkg_postrm() {
20324 - generate_qconfigs
20325 -}
20326 -
20327 -# @FUNCTION: qt4-build_pkg_postinst
20328 -# @DESCRIPTION:
20329 -# Regenerate configuration, plus throw a message about possible
20330 -# breakages and proposed solutions.
20331 -qt4-build_pkg_postinst() {
20332 - generate_qconfigs
20333 -}
20334 -
20335 -# @FUNCTION: skip_qmake_build
20336 -# @INTERNAL
20337 -# @DESCRIPTION:
20338 -# Patches configure to skip qmake compilation, as it's already installed by qt-core.
20339 -skip_qmake_build() {
20340 - sed -i -e "s:if true:if false:g" "${S}"/configure || die
20341 -}
20342 -
20343 -# @FUNCTION: skip_project_generation
20344 -# @INTERNAL
20345 -# @DESCRIPTION:
20346 -# Exit the script early by throwing in an exit before all of the .pro files are scanned.
20347 -skip_project_generation() {
20348 - sed -i -e "s:echo \"Finding:exit 0\n\necho \"Finding:g" "${S}"/configure || die
20349 -}
20350 -
20351 -# @FUNCTION: symlink_binaries_to_buildtree
20352 -# @INTERNAL
20353 -# @DESCRIPTION:
20354 -# Symlinks generated binaries to buildtree, so they can be used during compilation time.
20355 -symlink_binaries_to_buildtree() {
20356 - for bin in qmake moc uic rcc; do
20357 - ln -s "${QTBINDIR}"/${bin} "${S}"/bin/ || die "symlinking ${bin} to ${S}/bin failed"
20358 - done
20359 -}
20360 -
20361 -# @FUNCTION: fix_library_files
20362 -# @INTERNAL
20363 -# @DESCRIPTION:
20364 -# Fixes the paths in *.la, *.prl, *.pc, as they are wrong due to sandbox and
20365 -# moves the *.pc files into the pkgconfig directory.
20366 -fix_library_files() {
20367 - local libfile
20368 - for libfile in "${D}"/${QTLIBDIR}/{*.la,*.prl,pkgconfig/*.pc}; do
20369 - if [[ -e ${libfile} ]]; then
20370 - sed -i -e "s:${S}/lib:${QTLIBDIR}:g" ${libfile} || die "sed on ${libfile} failed"
20371 - fi
20372 - done
20373 -
20374 - # pkgconfig files refer to WORKDIR/bin as the moc and uic locations
20375 - for libfile in "${D}"/${QTLIBDIR}/pkgconfig/*.pc; do
20376 - if [[ -e ${libfile} ]]; then
20377 - sed -i -e "s:${S}/bin:${QTBINDIR}:g" ${libfile} || die "sed on ${libfile} failed"
20378 -
20379 - # Move .pc files into the pkgconfig directory
20380 - dodir ${QTPCDIR#${EPREFIX}}
20381 - mv ${libfile} "${D}"/${QTPCDIR}/ || die "moving ${libfile} to ${D}/${QTPCDIR}/ failed"
20382 - fi
20383 - done
20384 -
20385 - # Don't install an empty directory
20386 - rmdir "${D}"/${QTLIBDIR}/pkgconfig
20387 -}
20388 -
20389 -# @FUNCTION: qt_use
20390 -# @USAGE: < flag > [ feature ] [ enableval ]
20391 -# @DESCRIPTION:
20392 -# This will echo "-${enableval}-${feature}" if <flag> is enabled, or
20393 -# "-no-${feature}" if it's disabled. If [feature] is not specified, <flag>
20394 -# will be used for that. If [enableval] is not specified, it omits the
20395 -# "-${enableval}" part.
20396 -qt_use() {
20397 - use "$1" && echo "${3:+-$3}-${2:-$1}" || echo "-no-${2:-$1}"
20398 -}
20399 -
20400 -# @FUNCTION: qt_mkspecs_dir
20401 -# @RETURN: the specs-directory w/o path
20402 -# @DESCRIPTION:
20403 -# Allows us to define which mkspecs dir we want to use.
20404 -qt_mkspecs_dir() {
20405 - local spec=
20406 -
20407 - case "${CHOST}" in
20408 - *-freebsd*|*-dragonfly*)
20409 - spec=freebsd ;;
20410 - *-openbsd*)
20411 - spec=openbsd ;;
20412 - *-netbsd*)
20413 - spec=netbsd ;;
20414 - *-darwin*)
20415 - if use aqua; then
20416 - # mac with carbon/cocoa
20417 - spec=macx
20418 - else
20419 - # darwin/mac with x11
20420 - spec=darwin
20421 - fi
20422 - ;;
20423 - *-solaris*)
20424 - spec=solaris ;;
20425 - *-linux-*|*-linux)
20426 - spec=linux ;;
20427 - *)
20428 - die "${FUNCNAME}(): Unknown CHOST '${CHOST}'" ;;
20429 - esac
20430 -
20431 - case "$(tc-getCXX)" in
20432 - *g++*)
20433 - spec+=-g++ ;;
20434 - *icpc*)
20435 - spec+=-icc ;;
20436 - *)
20437 - die "${FUNCNAME}(): Unknown compiler '$(tc-getCXX)'" ;;
20438 - esac
20439 -
20440 - # Add -64 for 64bit profiles
20441 - if use x64-freebsd ||
20442 - use amd64-linux ||
20443 - use x64-macos ||
20444 - use x64-solaris ||
20445 - use sparc64-solaris
20446 - then
20447 - spec+=-64
20448 - fi
20449 -
20450 - echo "${spec}"
20451 -}
20452 -
20453 -# @FUNCTION: qt_nolibx11
20454 -# @INTERNAL
20455 -# @DESCRIPTION:
20456 -# Ignore X11 tests for packages that don't need X libraries installed.
20457 -qt_nolibx11() {
20458 - sed -i "/unixtests\/compile.test.*config.tests\/x11\/xlib/,/fi$/d" "${S}"/configure ||
20459 - die "x11 check sed failed"
20460 -}
20461 -
20462 -EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_install src_test pkg_postrm pkg_postinst
20463
20464 diff --git a/eclass/qt4-r2.eclass b/eclass/qt4-r2.eclass
20465 deleted file mode 100644
20466 index 1622cf3..0000000
20467 --- a/eclass/qt4-r2.eclass
20468 +++ /dev/null
20469 @@ -1,294 +0,0 @@
20470 -# Copyright 1999-2012 Gentoo Foundation
20471 -# Distributed under the terms of the GNU General Public License v2
20472 -# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.21 2012/07/23 12:53:13 yngwin Exp $
20473 -
20474 -# @ECLASS: qt4-r2.eclass
20475 -# @MAINTAINER:
20476 -# Qt herd <qt@g.o>
20477 -# @BLURB: Eclass for Qt4-based packages, second edition.
20478 -# @DESCRIPTION:
20479 -# This eclass contains various functions that may be useful when
20480 -# dealing with packages using Qt4 libraries. Requires EAPI=2 or later.
20481 -
20482 -case ${EAPI} in
20483 - 2|3|4|5) : ;;
20484 - *) die "EAPI=${EAPI} is not supported by ${ECLASS} eclass." ;;
20485 -esac
20486 -
20487 -inherit base eutils multilib toolchain-funcs
20488 -
20489 -export XDG_CONFIG_HOME="${T}"
20490 -
20491 -# @ECLASS-VARIABLE: DOCS
20492 -# @DEFAULT_UNSET
20493 -# @DESCRIPTION:
20494 -# Array containing documents passed to dodoc command.
20495 -# Paths can be absolute or relative to ${S}.
20496 -#
20497 -# Example: DOCS=( ChangeLog README "${WORKDIR}/doc_folder/" )
20498 -
20499 -# @ECLASS-VARIABLE: HTML_DOCS
20500 -# @DEFAULT_UNSET
20501 -# @DESCRIPTION:
20502 -# Array containing documents passed to dohtml command.
20503 -# Paths can be absolute or relative to ${S}.
20504 -#
20505 -# Example: HTML_DOCS=( "doc/document.html" "${WORKDIR}/html_folder/" )
20506 -
20507 -# @ECLASS-VARIABLE: LANGS
20508 -# @DEFAULT_UNSET
20509 -# @DESCRIPTION:
20510 -# In case your Qt4 application provides various translations, use this variable
20511 -# to specify them in order to populate "linguas_*" IUSE automatically. Make sure
20512 -# that you set this variable before inheriting qt4-r2 eclass.
20513 -# Example:
20514 -# @CODE
20515 -# LANGS="en el de"
20516 -# @CODE
20517 -for x in ${LANGS}; do
20518 - IUSE+=" linguas_${x}"
20519 -done
20520 -
20521 -# @ECLASS-VARIABLE: LANGSLONG
20522 -# @DEFAULT_UNSET
20523 -# @DESCRIPTION:
20524 -# Same as above, but this variable is for LINGUAS that must be in long format.
20525 -# Remember to set this variable before inheriting qt4-r2 eclass.
20526 -# Look at ${PORTDIR}/profiles/desc/linguas.desc for details.
20527 -for x in ${LANGSLONG}; do
20528 - IUSE+=" linguas_${x%_*}"
20529 -done
20530 -unset x
20531 -
20532 -# @ECLASS-VARIABLE: PATCHES
20533 -# @DEFAULT_UNSET
20534 -# @DESCRIPTION:
20535 -# Array variable containing all the patches to be applied. This variable
20536 -# is expected to be defined in the global scope of ebuilds. Make sure to
20537 -# specify the full path. This variable is used in src_prepare phase.
20538 -#
20539 -# Example:
20540 -# @CODE
20541 -# PATCHES=(
20542 -# "${FILESDIR}/mypatch.patch"
20543 -# "${FILESDIR}/mypatch2.patch"
20544 -# )
20545 -# @CODE
20546 -
20547 -# @FUNCTION: qt4-r2_src_unpack
20548 -# @DESCRIPTION:
20549 -# Default src_unpack function for packages that depend on qt4. If you have to
20550 -# override src_unpack in your ebuild (probably you don't need to), call
20551 -# qt4-r2_src_unpack in it.
20552 -qt4-r2_src_unpack() {
20553 - debug-print-function $FUNCNAME "$@"
20554 -
20555 - base_src_unpack "$@"
20556 -}
20557 -
20558 -# @FUNCTION: qt4-r2_src_prepare
20559 -# @DESCRIPTION:
20560 -# Default src_prepare function for packages that depend on qt4. If you have to
20561 -# override src_prepare in your ebuild, you should call qt4-r2_src_prepare in it,
20562 -# otherwise autopatcher will not work!
20563 -qt4-r2_src_prepare() {
20564 - debug-print-function $FUNCNAME "$@"
20565 -
20566 - base_src_prepare "$@"
20567 -}
20568 -
20569 -# @FUNCTION: qt4-r2_src_configure
20570 -# @DESCRIPTION:
20571 -# Default src_configure function for packages that depend on qt4. If you have to
20572 -# override src_configure in your ebuild, call qt4-r2_src_configure in it.
20573 -qt4-r2_src_configure() {
20574 - debug-print-function $FUNCNAME "$@"
20575 -
20576 - local project_file=$(_find_project_file)
20577 -
20578 - if [[ -n ${project_file} ]]; then
20579 - eqmake4 "${project_file}"
20580 - else
20581 - base_src_configure "$@"
20582 - fi
20583 -}
20584 -
20585 -# @FUNCTION: qt4-r2_src_compile
20586 -# @DESCRIPTION:
20587 -# Default src_compile function for packages that depend on qt4. If you have to
20588 -# override src_compile in your ebuild (probably you don't need to), call
20589 -# qt4-r2_src_compile in it.
20590 -qt4-r2_src_compile() {
20591 - debug-print-function $FUNCNAME "$@"
20592 -
20593 - base_src_compile "$@"
20594 -}
20595 -
20596 -# @FUNCTION: qt4-r2_src_install
20597 -# @DESCRIPTION:
20598 -# Default src_install function for qt4-based packages. Installs compiled code
20599 -# documentation (via DOCS and HTML_DOCS variables).
20600 -
20601 -qt4-r2_src_install() {
20602 - debug-print-function $FUNCNAME "$@"
20603 -
20604 - base_src_install INSTALL_ROOT="${D}" "$@"
20605 -
20606 - # backward compatibility for non-array variables
20607 - if [[ -n ${DOCS} ]] && [[ "$(declare -p DOCS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
20608 - dodoc ${DOCS} || die "dodoc failed"
20609 - fi
20610 - if [[ -n ${HTML_DOCS} ]] && [[ "$(declare -p HTML_DOCS 2>/dev/null 2>&1)" != "declare -a"* ]]; then
20611 - dohtml -r ${HTML_DOCS} || die "dohtml failed"
20612 - fi
20613 -}
20614 -
20615 -# Internal function, used by eqmake4 and qt4-r2_src_configure
20616 -# Look for project files:
20617 -# 0 *.pro files found - output null string
20618 -# 1 *.pro file found - output its name
20619 -# 2 or more *.pro files found - if ${PN}.pro or $(basename ${S}).pro
20620 -# are there, output any of them
20621 -# Outputs a project file argument used by eqmake4. Sets nullglob locally
20622 -# to avoid expanding *.pro as "*.pro" when there are no matching files.
20623 -_find_project_file() {
20624 - local dir_name=$(basename "${S}")
20625 -
20626 - eshopts_push -s nullglob
20627 - local pro_files=(*.pro)
20628 - eshopts_pop
20629 -
20630 - case ${#pro_files[@]} in
20631 - 1)
20632 - echo "${pro_files[0]}"
20633 - ;;
20634 - *)
20635 - for pro_file in "${pro_files[@]}"; do
20636 - if [[ ${pro_file} == "${dir_name}.pro" || ${pro_file} == "${PN}.pro" ]]; then
20637 - echo "${pro_file}"
20638 - break
20639 - fi
20640 - done
20641 - ;;
20642 - esac
20643 -}
20644 -
20645 -# @FUNCTION: eqmake4
20646 -# @USAGE: [project_file] [parameters to qmake]
20647 -# @DESCRIPTION:
20648 -# Wrapper for Qt4's qmake. If project_file isn't specified, eqmake4 will
20649 -# look for it in the current directory (${S}, non-recursively). If more
20650 -# than one project file are found, then ${PN}.pro is processed, provided
20651 -# that it exists. Otherwise eqmake4 fails.
20652 -#
20653 -# All other arguments are appended unmodified to qmake command line. For
20654 -# recursive build systems, i.e. those based on the subdirs template, you
20655 -# should run eqmake4 on the top-level project file only, unless you have
20656 -# strong reasons to do things differently. During the building, qmake
20657 -# will be automatically re-invoked with the right arguments on every
20658 -# directory specified inside the top-level project file.
20659 -eqmake4() {
20660 - [[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
20661 -
20662 - ebegin "Running qmake"
20663 -
20664 - local qmake_args=("$@")
20665 -
20666 - # check if project file was passed as a first argument
20667 - # if not, then search for it
20668 - local regexp='.*\.pro'
20669 - if ! [[ ${1} =~ ${regexp} ]]; then
20670 - local project_file=$(_find_project_file)
20671 - if [[ -z ${project_file} ]]; then
20672 - echo
20673 - eerror "No project files found in '${PWD}'!"
20674 - eerror "This shouldn't happen - please send a bug report to http://bugs.gentoo.org/"
20675 - echo
20676 - die "eqmake4 failed"
20677 - fi
20678 - qmake_args+=("${project_file}")
20679 - fi
20680 -
20681 - # make sure CONFIG variable is correctly set
20682 - # for both release and debug builds
20683 - local config_add="release"
20684 - local config_remove="debug"
20685 - if has debug ${IUSE} && use debug; then
20686 - config_add="debug"
20687 - config_remove="release"
20688 - fi
20689 - local awkscript='BEGIN {
20690 - printf "### eqmake4 was here ###\n" > file;
20691 - printf "CONFIG -= debug_and_release %s\n", remove >> file;
20692 - printf "CONFIG += %s\n\n", add >> file;
20693 - fixed=0;
20694 - }
20695 - /^[[:blank:]]*CONFIG[[:blank:]]*[\+\*]?=/ {
20696 - if (gsub("\\<((" remove ")|(debug_and_release))\\>", "") > 0) {
20697 - fixed=1;
20698 - }
20699 - }
20700 - /^[[:blank:]]*CONFIG[[:blank:]]*-=/ {
20701 - if (gsub("\\<" add "\\>", "") > 0) {
20702 - fixed=1;
20703 - }
20704 - }
20705 - {
20706 - print >> file;
20707 - }
20708 - END {
20709 - print fixed;
20710 - }'
20711 - local file=
20712 - while read file; do
20713 - grep -q '^### eqmake4 was here ###$' "${file}" && continue
20714 - local retval=$({
20715 - rm -f "${file}" || echo FAIL
20716 - awk -v file="${file}" \
20717 - -v add=${config_add} \
20718 - -v remove=${config_remove} \
20719 - -- "${awkscript}" || echo FAIL
20720 - } < "${file}")
20721 - if [[ ${retval} == 1 ]]; then
20722 - einfo " - fixed CONFIG in ${file}"
20723 - elif [[ ${retval} != 0 ]]; then
20724 - eerror " - error while processing ${file}"
20725 - die "eqmake4 failed to process ${file}"
20726 - fi
20727 - done < <(find . -type f -name '*.pr[io]' -printf '%P\n' 2>/dev/null)
20728 -
20729 - "${EPREFIX}"/usr/bin/qmake \
20730 - -makefile \
20731 - QTDIR="${EPREFIX}"/usr/$(get_libdir) \
20732 - QMAKE="${EPREFIX}"/usr/bin/qmake \
20733 - QMAKE_CC="$(tc-getCC)" \
20734 - QMAKE_CXX="$(tc-getCXX)" \
20735 - QMAKE_LINK="$(tc-getCXX)" \
20736 - QMAKE_CFLAGS="${CFLAGS}" \
20737 - QMAKE_CFLAGS_RELEASE= \
20738 - QMAKE_CFLAGS_DEBUG= \
20739 - QMAKE_CXXFLAGS="${CXXFLAGS}" \
20740 - QMAKE_CXXFLAGS_RELEASE= \
20741 - QMAKE_CXXFLAGS_DEBUG= \
20742 - QMAKE_LFLAGS="${LDFLAGS}" \
20743 - QMAKE_LFLAGS_RELEASE= \
20744 - QMAKE_LFLAGS_DEBUG= \
20745 - QMAKE_LIBDIR_QT="${EPREFIX}"/usr/$(get_libdir)/qt4 \
20746 - QMAKE_LIBDIR_X11="${EPREFIX}"/usr/$(get_libdir) \
20747 - QMAKE_LIBDIR_OPENGL="${EPREFIX}"/usr/$(get_libdir) \
20748 - QMAKE_STRIP= \
20749 - "${qmake_args[@]}"
20750 -
20751 - # was qmake successful?
20752 - if ! eend $? ; then
20753 - echo
20754 - eerror "Running qmake has failed! (see above for details)"
20755 - eerror "This shouldn't happen - please send a bug report to http://bugs.gentoo.org/"
20756 - echo
20757 - die "eqmake4 failed"
20758 - fi
20759 -
20760 - return 0
20761 -}
20762 -
20763 -EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
20764
20765 diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
20766 deleted file mode 100644
20767 index e3c24d4..0000000
20768 --- a/eclass/ruby-ng.eclass
20769 +++ /dev/null
20770 @@ -1,734 +0,0 @@
20771 -# Copyright 1999-2012 Gentoo Foundation
20772 -# Distributed under the terms of the GNU General Public License v2
20773 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.50 2012/08/13 22:21:26 flameeyes Exp $
20774 -
20775 -# @ECLASS: ruby-ng.eclass
20776 -# @MAINTAINER:
20777 -# Ruby herd <ruby@g.o>
20778 -# @AUTHOR:
20779 -# Author: Diego E. Pettenò <flameeyes@g.o>
20780 -# Author: Alex Legler <a3li@g.o>
20781 -# Author: Hans de Graaff <graaff@g.o>
20782 -# @BLURB: An eclass for installing Ruby packages with proper support for multiple Ruby slots.
20783 -# @DESCRIPTION:
20784 -# The Ruby eclass is designed to allow an easier installation of Ruby packages
20785 -# and their incorporation into the Gentoo Linux system.
20786 -#
20787 -# Currently available targets are:
20788 -# * ruby18 - Ruby (MRI) 1.8.x
20789 -# * ruby19 - Ruby (MRI) 1.9.x
20790 -# * ree18 - Ruby Enterprise Edition 1.8.x
20791 -# * jruby - JRuby
20792 -# * rbx - Rubinius
20793 -#
20794 -# This eclass does not define the implementation of the configure,
20795 -# compile, test, or install phases. Instead, the default phases are
20796 -# used. Specific implementations of these phases can be provided in
20797 -# the ebuild either to be run for each Ruby implementation, or for all
20798 -# Ruby implementations, as follows:
20799 -#
20800 -# * each_ruby_configure
20801 -# * all_ruby_configure
20802 -
20803 -# @ECLASS-VARIABLE: USE_RUBY
20804 -# @REQUIRED
20805 -# @DESCRIPTION:
20806 -# This variable contains a space separated list of targets (see above) a package
20807 -# is compatible to. It must be set before the `inherit' call. There is no
20808 -# default. All ebuilds are expected to set this variable.
20809 -
20810 -# @ECLASS-VARIABLE: RUBY_PATCHES
20811 -# @DEFAULT_UNSET
20812 -# @DESCRIPTION:
20813 -# A String or Array of filenames of patches to apply to all implementations.
20814 -
20815 -# @ECLASS-VARIABLE: RUBY_OPTIONAL
20816 -# @DESCRIPTION:
20817 -# Set the value to "yes" to make the dependency on a Ruby interpreter
20818 -# optional and then ruby_implementations_depend() to help populate
20819 -# DEPEND and RDEPEND.
20820 -
20821 -# @ECLASS-VARIABLE: RUBY_S
20822 -# @DEFAULT_UNSET
20823 -# @DESCRIPTION:
20824 -# If defined this variable determines the source directory name after
20825 -# unpacking. This defaults to the name of the package. Note that this
20826 -# variable supports a wildcard mechanism to help with github tarballs
20827 -# that contain the commit hash as part of the directory name.
20828 -
20829 -# @ECLASS-VARIABLE: RUBY_QA_ALLOWED_LIBS
20830 -# @DEFAULT_UNSET
20831 -# @DESCRIPTION:
20832 -# If defined this variable contains a whitelist of shared objects that
20833 -# are allowed to exist even if they don't link to libruby. This avoids
20834 -# the QA check that makes this mandatory. This is most likely not what
20835 -# you are looking for if you get the related "Missing links" QA warning,
20836 -# since the proper fix is almost always to make sure the shared object
20837 -# is linked against libruby. There are cases were this is not the case
20838 -# and the shared object is generic code to be used in some other way
20839 -# (e.g. selenium's firefox driver extension). When set this argument is
20840 -# passed to "grep -E" to remove reporting of these shared objects.
20841 -
20842 -inherit eutils java-utils-2 multilib toolchain-funcs
20843 -
20844 -EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup
20845 -
20846 -case ${EAPI} in
20847 - 0|1)
20848 - die "Unsupported EAPI=${EAPI} (too old) for ruby-ng.eclass" ;;
20849 - 2|3) ;;
20850 - 4|5)
20851 - # S is no longer automatically assigned when it doesn't exist.
20852 - S="${WORKDIR}"
20853 - ;;
20854 - *)
20855 - die "Unknown EAPI=${EAPI} for ruby-ng.eclass"
20856 -esac
20857 -
20858 -# @FUNCTION: ruby_implementation_depend
20859 -# @USAGE: target [comparator [version]]
20860 -# @RETURN: Package atom of a Ruby implementation to be used in dependencies.
20861 -# @DESCRIPTION:
20862 -# This function returns the formal package atom for a Ruby implementation.
20863 -#
20864 -# `target' has to be one of the valid values for USE_RUBY (see above)
20865 -#
20866 -# Set `comparator' and `version' to include a comparator (=, >=, etc.) and a
20867 -# version string to the returned string
20868 -ruby_implementation_depend() {
20869 - local rubypn=
20870 - local rubyslot=
20871 -
20872 - case $1 in
20873 - ruby18)
20874 - rubypn="dev-lang/ruby"
20875 - rubyslot=":1.8"
20876 - ;;
20877 - ruby19)
20878 - rubypn="dev-lang/ruby"
20879 - rubyslot=":1.9"
20880 - ;;
20881 - ree18)
20882 - rubypn="dev-lang/ruby-enterprise"
20883 - rubyslot=":1.8"
20884 - ;;
20885 - jruby)
20886 - rubypn="dev-java/jruby"
20887 - rubyslot=""
20888 - ;;
20889 - rbx)
20890 - rubypn="dev-lang/rubinius"
20891 - rubyslot=""
20892 - ;;
20893 - *) die "$1: unknown Ruby implementation"
20894 - esac
20895 -
20896 - echo "$2${rubypn}$3${rubyslot}"
20897 -}
20898 -
20899 -# @FUNCTION: ruby_samelib
20900 -# @RETURN: use flag string with current ruby implementations
20901 -# @DESCRIPTION:
20902 -# Convenience function to output the use dependency part of a
20903 -# dependency. Used as a building block for ruby_add_rdepend() and
20904 -# ruby_add_bdepend(), but may also be useful in an ebuild to specify
20905 -# more complex dependencies.
20906 -ruby_samelib() {
20907 - local res=
20908 - for _ruby_implementation in $USE_RUBY; do
20909 - has -${_ruby_implementation} $@ || \
20910 - res="${res}ruby_targets_${_ruby_implementation}?,"
20911 - done
20912 -
20913 - echo "[${res%,}]"
20914 -}
20915 -
20916 -_ruby_atoms_samelib_generic() {
20917 - eshopts_push -o noglob
20918 - echo "RUBYTARGET? ("
20919 - for token in $*; do
20920 - case "$token" in
20921 - "||" | "(" | ")" | *"?")
20922 - echo "${token}" ;;
20923 - *])
20924 - echo "${token%[*}[RUBYTARGET,${token/*[}" ;;
20925 - *)
20926 - echo "${token}[RUBYTARGET]" ;;
20927 - esac
20928 - done
20929 - echo ")"
20930 - eshopts_pop
20931 -}
20932 -
20933 -# @FUNCTION: ruby_implementation_command
20934 -# @RETURN: the path to the given ruby implementation
20935 -# @DESCRIPTION:
20936 -# Not all implementations have the same command basename as the
20937 -# target; namely Ruby Enterprise 1.8 uses ree18 and rubyee18
20938 -# respectively. This function translate between the two
20939 -ruby_implementation_command() {
20940 - local _ruby_name=$1
20941 -
20942 - # Add all USE_RUBY values where the flag name diverts from the binary here
20943 - case $1 in
20944 - ree18)
20945 - _ruby_name=rubyee18
20946 - ;;
20947 - esac
20948 -
20949 - echo $(type -p ${_ruby_name} 2>/dev/null)
20950 -}
20951 -
20952 -_ruby_atoms_samelib() {
20953 - local atoms=$(_ruby_atoms_samelib_generic "$*")
20954 -
20955 - for _ruby_implementation in $USE_RUBY; do
20956 - echo "${atoms//RUBYTARGET/ruby_targets_${_ruby_implementation}}"
20957 - done
20958 -}
20959 -
20960 -_ruby_wrap_conditions() {
20961 - local conditions="$1"
20962 - local atoms="$2"
20963 -
20964 - for condition in $conditions; do
20965 - atoms="${condition}? ( ${atoms} )"
20966 - done
20967 -
20968 - echo "$atoms"
20969 -}
20970 -
20971 -# @FUNCTION: ruby_add_rdepend
20972 -# @USAGE: dependencies
20973 -# @DESCRIPTION:
20974 -# Adds the specified dependencies, with use condition(s) to RDEPEND,
20975 -# taking the current set of ruby targets into account. This makes sure
20976 -# that all ruby dependencies of the package are installed for the same
20977 -# ruby targets. Use this function for all ruby dependencies instead of
20978 -# setting RDEPEND yourself. The list of atoms uses the same syntax as
20979 -# normal dependencies.
20980 -#
20981 -# Note: runtime dependencies are also added as build-time test
20982 -# dependencies.
20983 -ruby_add_rdepend() {
20984 - case $# in
20985 - 1) ;;
20986 - 2)
20987 - [[ "${GENTOO_DEV}" == "yes" ]] && eqawarn "You can now use the usual syntax in ruby_add_rdepend for $CATEGORY/$PF"
20988 - ruby_add_rdepend "$(_ruby_wrap_conditions "$1" "$2")"
20989 - return
20990 - ;;
20991 - *)
20992 - die "bad number of arguments to $0"
20993 - ;;
20994 - esac
20995 -
20996 - local dependency=$(_ruby_atoms_samelib "$1")
20997 -
20998 - RDEPEND="${RDEPEND} $dependency"
20999 -
21000 - # Add the dependency as a test-dependency since we're going to
21001 - # execute the code during test phase.
21002 - DEPEND="${DEPEND} test? ( ${dependency} )"
21003 - has test "$IUSE" || IUSE="${IUSE} test"
21004 -}
21005 -
21006 -# @FUNCTION: ruby_add_bdepend
21007 -# @USAGE: dependencies
21008 -# @DESCRIPTION:
21009 -# Adds the specified dependencies, with use condition(s) to DEPEND,
21010 -# taking the current set of ruby targets into account. This makes sure
21011 -# that all ruby dependencies of the package are installed for the same
21012 -# ruby targets. Use this function for all ruby dependencies instead of
21013 -# setting DEPEND yourself. The list of atoms uses the same syntax as
21014 -# normal dependencies.
21015 -ruby_add_bdepend() {
21016 - case $# in
21017 - 1) ;;
21018 - 2)
21019 - [[ "${GENTOO_DEV}" == "yes" ]] && eqawarn "You can now use the usual syntax in ruby_add_bdepend for $CATEGORY/$PF"
21020 - ruby_add_bdepend "$(_ruby_wrap_conditions "$1" "$2")"
21021 - return
21022 - ;;
21023 - *)
21024 - die "bad number of arguments to $0"
21025 - ;;
21026 - esac
21027 -
21028 - local dependency=$(_ruby_atoms_samelib "$1")
21029 -
21030 - DEPEND="${DEPEND} $dependency"
21031 - RDEPEND="${RDEPEND}"
21032 -}
21033 -
21034 -# @FUNCTION: ruby_get_use_implementations
21035 -# @DESCRIPTION:
21036 -# Gets an array of ruby use targets enabled by the user
21037 -ruby_get_use_implementations() {
21038 - local i implementation
21039 - for implementation in ${USE_RUBY}; do
21040 - use ruby_targets_${implementation} && i+=" ${implementation}"
21041 - done
21042 - echo $i
21043 -}
21044 -
21045 -# @FUNCTION: ruby_get_use_targets
21046 -# @DESCRIPTION:
21047 -# Gets an array of ruby use targets that the ebuild sets
21048 -ruby_get_use_targets() {
21049 - local t implementation
21050 - for implementation in ${USE_RUBY}; do
21051 - t+=" ruby_targets_${implementation}"
21052 - done
21053 - echo $t
21054 -}
21055 -
21056 -# @FUNCTION: ruby_implementations_depend
21057 -# @RETURN: Dependencies suitable for injection into DEPEND and RDEPEND.
21058 -# @DESCRIPTION:
21059 -# Produces the dependency string for the various implementations of ruby
21060 -# which the package is being built against. This should not be used when
21061 -# RUBY_OPTIONAL is unset but must be used if RUBY_OPTIONAL=yes. Do not
21062 -# confuse this function with ruby_implementation_depend().
21063 -#
21064 -# @EXAMPLE:
21065 -# EAPI=4
21066 -# RUBY_OPTIONAL=yes
21067 -#
21068 -# inherit ruby-ng
21069 -# ...
21070 -# DEPEND="ruby? ( $(ruby_implementations_depend) )"
21071 -# RDEPEND="${DEPEND}"
21072 -ruby_implementations_depend() {
21073 - local depend
21074 - for _ruby_implementation in ${USE_RUBY}; do
21075 - depend="${depend}${depend+ }ruby_targets_${_ruby_implementation}? ( $(ruby_implementation_depend $_ruby_implementation) )"
21076 - done
21077 - echo "${depend}"
21078 -}
21079 -
21080 -IUSE+=" $(ruby_get_use_targets)"
21081 -# If you specify RUBY_OPTIONAL you also need to take care of
21082 -# ruby useflag and dependency.
21083 -if [[ ${RUBY_OPTIONAL} != yes ]]; then
21084 - DEPEND="${DEPEND} $(ruby_implementations_depend)"
21085 - RDEPEND="${RDEPEND} $(ruby_implementations_depend)"
21086 -
21087 - case ${EAPI:-0} in
21088 - 4|5)
21089 - REQUIRED_USE+=" || ( $(ruby_get_use_targets) )"
21090 - ;;
21091 - esac
21092 -fi
21093 -
21094 -_ruby_invoke_environment() {
21095 - old_S=${S}
21096 - case ${EAPI} in
21097 - 4|5)
21098 - if [ -z ${RUBY_S} ]; then
21099 - sub_S=${P}
21100 - else
21101 - sub_S=${RUBY_S}
21102 - fi
21103 - ;;
21104 - *)
21105 - sub_S=${S#${WORKDIR}/}
21106 - ;;
21107 - esac
21108 -
21109 - # Special case, for the always-lovely GitHub fetches. With this,
21110 - # we allow the star glob to just expand to whatever directory it's
21111 - # called.
21112 - if [[ ${sub_S} = *"*"* ]]; then
21113 - case ${EAPI} in
21114 - 2|3)
21115 - #The old method of setting S depends on undefined package
21116 - # manager behaviour, so encourage upgrading to EAPI=4.
21117 - eqawarn "Using * expansion of S is deprecated. Use EAPI and RUBY_S instead."
21118 - ;;
21119 - esac
21120 - pushd "${WORKDIR}"/all &>/dev/null
21121 - sub_S=$(eval ls -d ${sub_S} 2>/dev/null)
21122 - popd &>/dev/null
21123 - fi
21124 -
21125 - environment=$1; shift
21126 -
21127 - my_WORKDIR="${WORKDIR}"/${environment}
21128 - S="${my_WORKDIR}"/"${sub_S}"
21129 -
21130 - if [[ -d "${S}" ]]; then
21131 - pushd "$S" &>/dev/null
21132 - elif [[ -d "${my_WORKDIR}" ]]; then
21133 - pushd "${my_WORKDIR}" &>/dev/null
21134 - else
21135 - pushd "${WORKDIR}" &>/dev/null
21136 - fi
21137 -
21138 - ebegin "Running ${_PHASE:-${EBUILD_PHASE}} phase for $environment"
21139 - "$@"
21140 - popd &>/dev/null
21141 -
21142 - S=${old_S}
21143 -}
21144 -
21145 -_ruby_each_implementation() {
21146 - local invoked=no
21147 - for _ruby_implementation in ${USE_RUBY}; do
21148 - # only proceed if it's requested
21149 - use ruby_targets_${_ruby_implementation} || continue
21150 -
21151 - RUBY=$(ruby_implementation_command ${_ruby_implementation})
21152 - invoked=yes
21153 -
21154 - if [[ -n "$1" ]]; then
21155 - _ruby_invoke_environment ${_ruby_implementation} "$@"
21156 - fi
21157 -
21158 - unset RUBY
21159 - done
21160 -
21161 - if [[ ${invoked} == "no" ]]; then
21162 - eerror "You need to select at least one compatible Ruby installation target via RUBY_TARGETS in make.conf."
21163 - eerror "Compatible targets for this package are: ${USE_RUBY}"
21164 - eerror
21165 - eerror "See http://www.gentoo.org/proj/en/prog_lang/ruby/index.xml#doc_chap3 for more information."
21166 - eerror
21167 - die "No compatible Ruby target selected."
21168 - fi
21169 -}
21170 -
21171 -# @FUNCTION: ruby-ng_pkg_setup
21172 -# @DESCRIPTION:
21173 -# Check whether at least one ruby target implementation is present.
21174 -ruby-ng_pkg_setup() {
21175 - # This only checks that at least one implementation is present
21176 - # before doing anything; by leaving the parameters empty we know
21177 - # it's a special case.
21178 - _ruby_each_implementation
21179 -
21180 - has ruby_targets_jruby ${IUSE} && use ruby_targets_jruby && java-pkg_setup-vm
21181 -}
21182 -
21183 -# @FUNCTION: ruby-ng_src_unpack
21184 -# @DESCRIPTION:
21185 -# Unpack the source archive.
21186 -ruby-ng_src_unpack() {
21187 - mkdir "${WORKDIR}"/all
21188 - pushd "${WORKDIR}"/all &>/dev/null
21189 -
21190 - # We don't support an each-unpack, it's either all or nothing!
21191 - if type all_ruby_unpack &>/dev/null; then
21192 - _ruby_invoke_environment all all_ruby_unpack
21193 - else
21194 - [[ -n ${A} ]] && unpack ${A}
21195 - fi
21196 -
21197 - popd &>/dev/null
21198 -}
21199 -
21200 -_ruby_apply_patches() {
21201 - for patch in "${RUBY_PATCHES[@]}"; do
21202 - if [ -f "${patch}" ]; then
21203 - epatch "${patch}"
21204 - elif [ -f "${FILESDIR}/${patch}" ]; then
21205 - epatch "${FILESDIR}/${patch}"
21206 - else
21207 - die "Cannot find patch ${patch}"
21208 - fi
21209 - done
21210 -
21211 - # This is a special case: instead of executing just in the special
21212 - # "all" environment, this will actually copy the effects on _all_
21213 - # the other environments, and is thus executed before the copy
21214 - type all_ruby_prepare &>/dev/null && all_ruby_prepare
21215 -}
21216 -
21217 -_ruby_source_copy() {
21218 - # Until we actually find a reason not to, we use hardlinks, this
21219 - # should reduce the amount of disk space that is wasted by this.
21220 - cp -prl all ${_ruby_implementation} \
21221 - || die "Unable to copy ${_ruby_implementation} environment"
21222 -}
21223 -
21224 -# @FUNCTION: ruby-ng_src_prepare
21225 -# @DESCRIPTION:
21226 -# Apply patches and prepare versions for each ruby target
21227 -# implementation. Also carry out common clean up tasks.
21228 -ruby-ng_src_prepare() {
21229 - # Way too many Ruby packages are prepared on OSX without removing
21230 - # the extra data forks, we do it here to avoid repeating it for
21231 - # almost every other ebuild.
21232 - find . -name '._*' -delete
21233 -
21234 - _ruby_invoke_environment all _ruby_apply_patches
21235 -
21236 - _PHASE="source copy" \
21237 - _ruby_each_implementation _ruby_source_copy
21238 -
21239 - if type each_ruby_prepare &>/dev/null; then
21240 - _ruby_each_implementation each_ruby_prepare
21241 - fi
21242 -}
21243 -
21244 -# @FUNCTION: ruby-ng_src_configure
21245 -# @DESCRIPTION:
21246 -# Configure the package.
21247 -ruby-ng_src_configure() {
21248 - if type each_ruby_configure &>/dev/null; then
21249 - _ruby_each_implementation each_ruby_configure
21250 - fi
21251 -
21252 - type all_ruby_configure &>/dev/null && \
21253 - _ruby_invoke_environment all all_ruby_configure
21254 -}
21255 -
21256 -# @FUNCTION: ruby-ng_src_compile
21257 -# @DESCRIPTION:
21258 -# Compile the package.
21259 -ruby-ng_src_compile() {
21260 - if type each_ruby_compile &>/dev/null; then
21261 - _ruby_each_implementation each_ruby_compile
21262 - fi
21263 -
21264 - type all_ruby_compile &>/dev/null && \
21265 - _ruby_invoke_environment all all_ruby_compile
21266 -}
21267 -
21268 -# @FUNCTION: ruby-ng_src_test
21269 -# @DESCRIPTION:
21270 -# Run tests for the package.
21271 -ruby-ng_src_test() {
21272 - if type each_ruby_test &>/dev/null; then
21273 - _ruby_each_implementation each_ruby_test
21274 - fi
21275 -
21276 - type all_ruby_test &>/dev/null && \
21277 - _ruby_invoke_environment all all_ruby_test
21278 -}
21279 -
21280 -_each_ruby_check_install() {
21281 - local scancmd=scanelf
21282 - # we have a Mach-O object here
21283 - [[ ${CHOST} == *-darwin ]] && scancmd=scanmacho
21284 -
21285 - has "${EAPI}" 2 && ! use prefix && EPREFIX=
21286 -
21287 - local libruby_basename=$(${RUBY} -rrbconfig -e 'puts RbConfig::CONFIG["LIBRUBY_SO"]')
21288 - local libruby_soname=$(basename $(${scancmd} -F "%S#F" -qS "${EPREFIX}/usr/$(get_libdir)/${libruby_basename}") 2>/dev/null)
21289 - local sitedir=$(${RUBY} -rrbconfig -e 'puts RbConfig::CONFIG["sitedir"]')
21290 - local sitelibdir=$(${RUBY} -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]')
21291 -
21292 - # Look for wrong files in sitedir
21293 - # if [[ -d "${D}${sitedir}" ]]; then
21294 - # local f=$(find "${D}${sitedir}" -mindepth 1 -maxdepth 1 -not -wholename "${D}${sitelibdir}")
21295 - # if [[ -n ${f} ]]; then
21296 - # eerror "Found files in sitedir, outsite sitelibdir:"
21297 - # eerror "${f}"
21298 - # die "Misplaced files in sitedir"
21299 - # fi
21300 - # fi
21301 -
21302 - # The current implementation lacks libruby (i.e.: jruby)
21303 - [[ -z ${libruby_soname} ]] && return 0
21304 -
21305 - # Check also the gems directory, since we could be installing compiled
21306 - # extensions via ruby-fakegem; make sure to check only in sitelibdir, since
21307 - # that's what changes between two implementations (otherwise you'd get false
21308 - # positives now that Ruby 1.9.2 installs with the same sitedir as 1.8)
21309 - ${scancmd} -qnR "${D}${sitelibdir}" "${D}${sitelibdir/site_ruby/gems}" \
21310 - | fgrep -v "${libruby_soname}" \
21311 - | grep -E -v "${RUBY_QA_ALLOWED_LIBS}" \
21312 - > "${T}"/ruby-ng-${_ruby_implementation}-mislink.log
21313 -
21314 - if [[ -s "${T}"/ruby-ng-${_ruby_implementation}-mislink.log ]]; then
21315 - ewarn "Extensions installed for ${_ruby_implementation} with missing links to ${libruby_soname}"
21316 - ewarn $(< "${T}"/ruby-ng-${_ruby_implementation}-mislink.log )
21317 - die "Missing links to ${libruby_soname}"
21318 - fi
21319 -}
21320 -
21321 -# @FUNCTION: ruby-ng_src_install
21322 -# @DESCRIPTION:
21323 -# Install the package for each ruby target implementation.
21324 -ruby-ng_src_install() {
21325 - if type each_ruby_install &>/dev/null; then
21326 - _ruby_each_implementation each_ruby_install
21327 - fi
21328 -
21329 - type all_ruby_install &>/dev/null && \
21330 - _ruby_invoke_environment all all_ruby_install
21331 -
21332 - _PHASE="check install" \
21333 - _ruby_each_implementation _each_ruby_check_install
21334 -}
21335 -
21336 -# @FUNCTION: ruby_rbconfig_value
21337 -# @USAGE: rbconfig item
21338 -# @RETURN: Returns the value of the given rbconfig item of the Ruby interpreter in ${RUBY}.
21339 -ruby_rbconfig_value() {
21340 - echo $(${RUBY} -rrbconfig -e "puts RbConfig::CONFIG['$1']")
21341 -}
21342 -
21343 -# @FUNCTION: doruby
21344 -# @USAGE: file [file...]
21345 -# @DESCRIPTION:
21346 -# Installs the specified file(s) into the sitelibdir of the Ruby interpreter in ${RUBY}.
21347 -doruby() {
21348 - [[ -z ${RUBY} ]] && die "\$RUBY is not set"
21349 - has "${EAPI}" 2 && ! use prefix && EPREFIX=
21350 - ( # don't want to pollute calling env
21351 - sitelibdir=$(ruby_rbconfig_value 'sitelibdir')
21352 - insinto ${sitelibdir#${EPREFIX}}
21353 - insopts -m 0644
21354 - doins "$@"
21355 - ) || die "failed to install $@"
21356 -}
21357 -
21358 -# @FUNCTION: ruby_get_libruby
21359 -# @RETURN: The location of libruby*.so belonging to the Ruby interpreter in ${RUBY}.
21360 -ruby_get_libruby() {
21361 - ${RUBY} -rrbconfig -e 'puts File.join(RbConfig::CONFIG["libdir"], RbConfig::CONFIG["LIBRUBY"])'
21362 -}
21363 -
21364 -# @FUNCTION: ruby_get_hdrdir
21365 -# @RETURN: The location of the header files belonging to the Ruby interpreter in ${RUBY}.
21366 -ruby_get_hdrdir() {
21367 - local rubyhdrdir=$(ruby_rbconfig_value 'rubyhdrdir')
21368 -
21369 - if [[ "${rubyhdrdir}" = "nil" ]] ; then
21370 - rubyhdrdir=$(ruby_rbconfig_value 'archdir')
21371 - fi
21372 -
21373 - echo "${rubyhdrdir}"
21374 -}
21375 -
21376 -# @FUNCTION: ruby_get_version
21377 -# @RETURN: The version of the Ruby interpreter in ${RUBY}, or what 'ruby' points to.
21378 -ruby_get_version() {
21379 - local ruby=${RUBY:-$(type -p ruby 2>/dev/null)}
21380 -
21381 - echo $(${ruby} -e 'puts RUBY_VERSION')
21382 -}
21383 -
21384 -# @FUNCTION: ruby_get_implementation
21385 -# @RETURN: The implementation of the Ruby interpreter in ${RUBY}, or what 'ruby' points to.
21386 -ruby_get_implementation() {
21387 - local ruby=${RUBY:-$(type -p ruby 2>/dev/null)}
21388 -
21389 - case $(${ruby} --version) in
21390 - *Enterprise*)
21391 - echo "ree"
21392 - ;;
21393 - *jruby*)
21394 - echo "jruby"
21395 - ;;
21396 - *rubinius*)
21397 - echo "rbx"
21398 - ;;
21399 - *)
21400 - echo "mri"
21401 - ;;
21402 - esac
21403 -}
21404 -
21405 -# @FUNCTION: ruby-ng_rspec
21406 -# @DESCRIPTION:
21407 -# This is simply a wrapper around the rspec command (executed by $RUBY})
21408 -# which also respects TEST_VERBOSE and NOCOLOR environment variables.
21409 -ruby-ng_rspec() {
21410 - if [[ ${DEPEND} != *"dev-ruby/rspec"* ]]; then
21411 - ewarn "Missing dev-ruby/rspec in \${DEPEND}"
21412 - fi
21413 -
21414 - local rspec_params=
21415 - case ${NOCOLOR} in
21416 - 1|yes|true)
21417 - rspec_params+=" --no-color"
21418 - ;;
21419 - *)
21420 - rspec_params+=" --color"
21421 - ;;
21422 - esac
21423 -
21424 - case ${TEST_VERBOSE} in
21425 - 1|yes|true)
21426 - rspec_params+=" --format documentation"
21427 - ;;
21428 - *)
21429 - rspec_params+=" --format progress"
21430 - ;;
21431 - esac
21432 -
21433 - ${RUBY} -S rspec ${rspec_params} "$@" || die "rspec failed"
21434 -}
21435 -
21436 -# @FUNCTION: ruby-ng_cucumber
21437 -# @DESCRIPTION:
21438 -# This is simply a wrapper around the cucumber command (executed by $RUBY})
21439 -# which also respects TEST_VERBOSE and NOCOLOR environment variables.
21440 -ruby-ng_cucumber() {
21441 - if [[ ${DEPEND} != *"dev-util/cucumber"* ]]; then
21442 - ewarn "Missing dev-util/cucumber in \${DEPEND}"
21443 - fi
21444 -
21445 - local cucumber_params=
21446 - case ${NOCOLOR} in
21447 - 1|yes|true)
21448 - cucumber_params+=" --no-color"
21449 - ;;
21450 - *)
21451 - cucumber_params+=" --color"
21452 - ;;
21453 - esac
21454 -
21455 - case ${TEST_VERBOSE} in
21456 - 1|yes|true)
21457 - cucumber_params+=" --format pretty"
21458 - ;;
21459 - *)
21460 - cucumber_params+=" --format progress"
21461 - ;;
21462 - esac
21463 -
21464 - if [[ ${RUBY} == *jruby ]]; then
21465 - ewarn "Skipping cucumber tests on JRuby (unsupported)."
21466 - return 0
21467 - fi
21468 -
21469 - ${RUBY} -S cucumber ${cucumber_params} "$@" || die "cucumber failed"
21470 -}
21471 -
21472 -# @FUNCTION: ruby-ng_testrb-2
21473 -# @DESCRIPTION:
21474 -# This is simply a replacement for the testrb command that load the test
21475 -# files and execute them, with test-unit 2.x. This actually requires
21476 -# either an old test-unit-2 version or 2.5.1-r1 or later, as they remove
21477 -# their script and we installed a broken wrapper for a while.
21478 -# This also respects TEST_VERBOSE and NOCOLOR environment variables.
21479 -ruby-ng_testrb-2() {
21480 - if [[ ${DEPEND} != *"dev-ruby/test-unit"* ]]; then
21481 - ewarn "Missing dev-ruby/test-unit in \${DEPEND}"
21482 - fi
21483 -
21484 - local testrb_params=
21485 - case ${NOCOLOR} in
21486 - 1|yes|true)
21487 - testrb_params+=" --no-use-color"
21488 - ;;
21489 - *)
21490 - testrb_params+=" --use-color=auto"
21491 - ;;
21492 - esac
21493 -
21494 - case ${TEST_VERBOSE} in
21495 - 1|yes|true)
21496 - testrb_params+=" --verbose=verbose"
21497 - ;;
21498 - *)
21499 - testrb_params+=" --verbose=normal"
21500 - ;;
21501 - esac
21502 -
21503 - ${RUBY} -S testrb-2 ${testrb_params} "$@" || die "testrb-2 failed"
21504 -}
21505
21506 diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
21507 deleted file mode 100644
21508 index 0d58527..0000000
21509 --- a/eclass/scons-utils.eclass
21510 +++ /dev/null
21511 @@ -1,235 +0,0 @@
21512 -# Copyright 1999-2011 Gentoo Foundation
21513 -# Distributed under the terms of the GNU General Public License v2
21514 -# $Header: /var/cvsroot/gentoo-x86/eclass/scons-utils.eclass,v 1.10 2011/12/13 18:37:25 mgorny Exp $
21515 -
21516 -# @ECLASS: scons-utils.eclass
21517 -# @MAINTAINER:
21518 -# mgorny@g.o
21519 -# @BLURB: helper functions to deal with SCons buildsystem
21520 -# @DESCRIPTION:
21521 -# This eclass provides a set of function to help developers sanely call
21522 -# dev-util/scons and pass parameters to it.
21523 -# @EXAMPLE:
21524 -#
21525 -# @CODE
21526 -# inherit scons-utils toolchain-funcs
21527 -#
21528 -# EAPI=4
21529 -#
21530 -# src_configure() {
21531 -# myesconsargs=(
21532 -# CC="$(tc-getCC)"
21533 -# $(use_scons nls ENABLE_NLS)
21534 -# )
21535 -# }
21536 -#
21537 -# src_compile() {
21538 -# escons
21539 -# }
21540 -#
21541 -# src_install() {
21542 -# # note: this can be DESTDIR, INSTALL_ROOT, ... depending on package
21543 -# escons DESTDIR="${D}" install
21544 -# }
21545 -# @CODE
21546 -
21547 -# -- public variables --
21548 -
21549 -# @ECLASS-VARIABLE: SCONS_MIN_VERSION
21550 -# @DEFAULT_UNSET
21551 -# @DESCRIPTION:
21552 -# The minimal version of SCons required for the build to work.
21553 -
21554 -# @VARIABLE: myesconsargs
21555 -# @DEFAULT_UNSET
21556 -# @DESCRIPTION:
21557 -# List of package-specific options to pass to all SCons calls. Supposed to be
21558 -# set in src_configure().
21559 -
21560 -# @ECLASS-VARIABLE: SCONSOPTS
21561 -# @DEFAULT_UNSET
21562 -# @DESCRIPTION:
21563 -# The default set of options to pass to scons. Similar to MAKEOPTS,
21564 -# supposed to be set in make.conf. If unset, escons() will use cleaned
21565 -# up MAKEOPTS instead.
21566 -
21567 -# @ECLASS-VARIABLE: EXTRA_ESCONS
21568 -# @DEFAULT_UNSET
21569 -# @DESCRIPTION:
21570 -# The additional parameters to pass to SCons whenever escons() is used.
21571 -# Much like EXTRA_EMAKE, this is not supposed to be used in make.conf
21572 -# and not in ebuilds!
21573 -
21574 -# @ECLASS-VARIABLE: USE_SCONS_TRUE
21575 -# @DESCRIPTION:
21576 -# The default value for truth in scons-use() (1 by default).
21577 -: ${USE_SCONS_TRUE:=1}
21578 -
21579 -# @ECLASS-VARIABLE: USE_SCONS_FALSE
21580 -# @DESCRIPTION:
21581 -# The default value for false in scons-use() (0 by default).
21582 -: ${USE_SCONS_FALSE:=0}
21583 -
21584 -# -- EAPI support check --
21585 -
21586 -case ${EAPI:-0} in
21587 - 0|1|2|3|4|5) ;;
21588 - *) die "EAPI ${EAPI} unsupported."
21589 -esac
21590 -
21591 -# -- ebuild variables setup --
21592 -
21593 -if [[ -n ${SCONS_MIN_VERSION} ]]; then
21594 - DEPEND=">=dev-util/scons-${SCONS_MIN_VERSION}"
21595 -else
21596 - DEPEND="dev-util/scons"
21597 -fi
21598 -
21599 -# -- public functions --
21600 -
21601 -# @FUNCTION: escons
21602 -# @USAGE: [scons-arg] ...
21603 -# @DESCRIPTION:
21604 -# Call scons, passing the supplied arguments, ${myesconsargs[@]},
21605 -# filtered ${MAKEOPTS}, ${EXTRA_ESCONS}. Similar to emake. Like emake,
21606 -# this function does die on failure in EAPI 4 (unless called nonfatal).
21607 -escons() {
21608 - local ret
21609 -
21610 - debug-print-function ${FUNCNAME} "${@}"
21611 -
21612 - # if SCONSOPTS are _unset_, use cleaned MAKEOPTS
21613 - set -- scons ${SCONSOPTS-$(scons_clean_makeopts)} ${EXTRA_ESCONS} \
21614 - "${myesconsargs[@]}" "${@}"
21615 - echo "${@}" >&2
21616 - "${@}"
21617 - ret=${?}
21618 -
21619 - [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed."
21620 - return ${ret}
21621 -}
21622 -
21623 -# @FUNCTION: scons_clean_makeopts
21624 -# @USAGE: [makeflags] [...]
21625 -# @DESCRIPTION:
21626 -# Strip the supplied makeflags (or ${MAKEOPTS} if called without
21627 -# an argument) of options not supported by SCons and make sure --jobs
21628 -# gets an argument. Output the resulting flag list (suitable
21629 -# for an assignment to SCONSOPTS).
21630 -scons_clean_makeopts() {
21631 - local new_makeopts
21632 -
21633 - debug-print-function ${FUNCNAME} "${@}"
21634 -
21635 - if [[ ${#} -eq 0 ]]; then
21636 - debug-print "Using MAKEOPTS: [${MAKEOPTS}]"
21637 - set -- ${MAKEOPTS}
21638 - else
21639 - # unquote if necessary
21640 - set -- ${*}
21641 - fi
21642 -
21643 - # empty MAKEOPTS give out empty SCONSOPTS
21644 - # thus, we do need to worry about the initial setup
21645 - if [[ ${*} = ${_SCONS_CACHE_MAKEOPTS} ]]; then
21646 - set -- ${_SCONS_CACHE_SCONSOPTS}
21647 - debug-print "Cache hit: [${*}]"
21648 - echo ${*}
21649 - return
21650 - fi
21651 - export _SCONS_CACHE_MAKEOPTS=${*}
21652 -
21653 - while [[ ${#} -gt 0 ]]; do
21654 - case ${1} in
21655 - # clean, simple to check -- we like that
21656 - --jobs=*|--keep-going)
21657 - new_makeopts=${new_makeopts+${new_makeopts} }${1}
21658 - ;;
21659 - # need to take a look at the next arg and guess
21660 - --jobs)
21661 - if [[ ${#} -gt 1 && ${2} =~ ^[0-9]+$ ]]; then
21662 - new_makeopts="${new_makeopts+${new_makeopts} }${1} ${2}"
21663 - shift
21664 - else
21665 - # no value means no limit, let's pass a random int
21666 - new_makeopts=${new_makeopts+${new_makeopts} }${1}=5
21667 - fi
21668 - ;;
21669 - # strip other long options
21670 - --*)
21671 - ;;
21672 - # short option hell
21673 - -*)
21674 - local str new_optstr
21675 - new_optstr=
21676 - str=${1#-}
21677 -
21678 - while [[ -n ${str} ]]; do
21679 - case ${str} in
21680 - k*)
21681 - new_optstr=${new_optstr}k
21682 - ;;
21683 - # -j needs to come last
21684 - j)
21685 - if [[ ${#} -gt 1 && ${2} =~ ^[0-9]+$ ]]; then
21686 - new_optstr="${new_optstr}j ${2}"
21687 - shift
21688 - else
21689 - new_optstr="${new_optstr}j 5"
21690 - fi
21691 - ;;
21692 - # otherwise, everything after -j is treated as an arg
21693 - j*)
21694 - new_optstr=${new_optstr}${str}
21695 - break
21696 - ;;
21697 - esac
21698 - str=${str#?}
21699 - done
21700 -
21701 - if [[ -n ${new_optstr} ]]; then
21702 - new_makeopts=${new_makeopts+${new_makeopts} }-${new_optstr}
21703 - fi
21704 - ;;
21705 - esac
21706 - shift
21707 - done
21708 -
21709 - set -- ${new_makeopts}
21710 - export _SCONS_CACHE_SCONSOPTS=${*}
21711 - debug-print "New SCONSOPTS: [${*}]"
21712 - echo ${*}
21713 -}
21714 -
21715 -# @FUNCTION: use_scons
21716 -# @USAGE: <use-flag> [var-name] [var-opt-true] [var-opt-false]
21717 -# @DESCRIPTION:
21718 -# Output a SCons parameter with value depending on the USE flag state.
21719 -# If the USE flag is set, output <var-name>=<var-opt-true>; otherwise
21720 -# <var-name>=<var-opt-false>.
21721 -#
21722 -# If <var-name> is omitted, <use-flag> will be used instead. However,
21723 -# if <use-flag> starts with an exclamation mark (!flag), 'no' will be
21724 -# prepended to the name (e.g. noflag).
21725 -#
21726 -# If <var-opt-true> and/or <var-opt-false> are omitted,
21727 -# ${USE_SCONS_TRUE} and/or ${USE_SCONS_FALSE} will be used instead.
21728 -use_scons() {
21729 - local flag=${1}
21730 - local varname=${2:-${flag/\!/no}}
21731 - local vartrue=${3:-${USE_SCONS_TRUE}}
21732 - local varfalse=${4:-${USE_SCONS_FALSE}}
21733 -
21734 - debug-print-function ${FUNCNAME} "${@}"
21735 -
21736 - if [[ ${#} -eq 0 ]]; then
21737 - eerror "Usage: scons-use <use-flag> [var-name] [var-opt-true] [var-opt-false]"
21738 - die 'scons-use(): not enough arguments'
21739 - fi
21740 -
21741 - if use "${flag}"; then
21742 - echo "${varname}=${vartrue}"
21743 - else
21744 - echo "${varname}=${varfalse}"
21745 - fi
21746 -}
21747
21748 diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
21749 deleted file mode 100644
21750 index c152b58..0000000
21751 --- a/eclass/selinux-policy-2.eclass
21752 +++ /dev/null
21753 @@ -1,283 +0,0 @@
21754 -# Copyright 1999-2012 Gentoo Foundation
21755 -# Distributed under the terms of the GNU General Public License v2
21756 -# $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.14 2012/09/08 18:36:12 swift Exp $
21757 -
21758 -# Eclass for installing SELinux policy, and optionally
21759 -# reloading the reference-policy based modules.
21760 -
21761 -# @ECLASS: selinux-policy-2.eclass
21762 -# @MAINTAINER:
21763 -# selinux@g.o
21764 -# @BLURB: This eclass supports the deployment of the various SELinux modules in sec-policy
21765 -# @DESCRIPTION:
21766 -# The selinux-policy-2.eclass supports deployment of the various SELinux modules
21767 -# defined in the sec-policy category. It is responsible for extracting the
21768 -# specific bits necessary for single-module deployment (instead of full-blown
21769 -# policy rebuilds) and applying the necessary patches.
21770 -#
21771 -# Also, it supports for bundling patches to make the whole thing just a bit more
21772 -# manageable.
21773 -
21774 -# @ECLASS-VARIABLE: MODS
21775 -# @DESCRIPTION:
21776 -# This variable contains the (upstream) module name for the SELinux module.
21777 -# This name is only the module name, not the category!
21778 -: ${MODS:="_illegal"}
21779 -
21780 -# @ECLASS-VARIABLE: BASEPOL
21781 -# @DESCRIPTION:
21782 -# This variable contains the version string of the selinux-base-policy package
21783 -# that this module build depends on. It is used to patch with the appropriate
21784 -# patch bundle(s) that are part of selinux-base-policy.
21785 -: ${BASEPOL:=""}
21786 -
21787 -# @ECLASS-VARIABLE: POLICY_PATCH
21788 -# @DESCRIPTION:
21789 -# This variable contains the additional patch(es) that need to be applied on top
21790 -# of the patchset already contained within the BASEPOL variable. The variable
21791 -# can be both a simple string (space-separated) or a bash array.
21792 -: ${POLICY_PATCH:=""}
21793 -
21794 -# @ECLASS-VARIABLE: POLICY_FILES
21795 -# @DESCRIPTION:
21796 -# When defined, this contains the files (located in the ebuilds' files/
21797 -# directory) which should be copied as policy module files into the store.
21798 -# Generally, users would want to include at least a .te and .fc file, but .if
21799 -# files are supported as well. The variable can be both a simple string
21800 -# (space-separated) or a bash array.
21801 -: ${POLICY_FILES:=""}
21802 -
21803 -# @ECLASS-VARIABLE: POLICY_TYPES
21804 -# @DESCRIPTION:
21805 -# This variable informs the eclass for which SELinux policies the module should
21806 -# be built. Currently, Gentoo supports targeted, strict, mcs and mls.
21807 -# This variable is the same POLICY_TYPES variable that we tell SELinux
21808 -# users to set in /etc/make.conf. Therefor, it is not the module that should
21809 -# override it, but the user.
21810 -: ${POLICY_TYPES:="targeted strict mcs mls"}
21811 -
21812 -extra_eclass=""
21813 -case ${BASEPOL} in
21814 - 9999) extra_eclass="git-2";
21815 - EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/hardened-refpolicy.git";
21816 - EGIT_SOURCEDIR="${WORKDIR}/refpolicy";;
21817 -esac
21818 -
21819 -inherit eutils ${extra_eclass}
21820 -
21821 -IUSE=""
21822 -
21823 -HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
21824 -if [[ -n ${BASEPOL} ]] && [[ "${BASEPOL}" != "9999" ]];
21825 -then
21826 - SRC_URI="http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2
21827 - http://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${BASEPOL}.tar.bz2"
21828 -elif [[ "${BASEPOL}" != "9999" ]];
21829 -then
21830 - SRC_URI="http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2"
21831 -else
21832 - SRC_URI=""
21833 -fi
21834 -
21835 -LICENSE="GPL-2"
21836 -SLOT="0"
21837 -S="${WORKDIR}/"
21838 -PATCHBUNDLE="${DISTDIR}/patchbundle-selinux-base-policy-${BASEPOL}.tar.bz2"
21839 -
21840 -# Modules should always depend on at least the first release of the
21841 -# selinux-base-policy for which they are generated.
21842 -if [[ -n ${BASEPOL} ]];
21843 -then
21844 - RDEPEND=">=sys-apps/policycoreutils-2.0.82
21845 - >=sec-policy/selinux-base-policy-${BASEPOL}"
21846 -else
21847 - RDEPEND=">=sys-apps/policycoreutils-2.0.82
21848 - >=sec-policy/selinux-base-policy-${PV}"
21849 -fi
21850 -DEPEND="${RDEPEND}
21851 - sys-devel/m4
21852 - >=sys-apps/checkpolicy-2.0.21"
21853 -
21854 -SELINUX_EXPF="src_unpack src_compile src_install pkg_postinst"
21855 -case "${EAPI:-0}" in
21856 - 2|3|4|5) SELINUX_EXPF+=" src_prepare" ;;
21857 - *) ;;
21858 -esac
21859 -
21860 -EXPORT_FUNCTIONS ${SELINUX_EXPF}
21861 -
21862 -# @FUNCTION: selinux-policy-2_src_unpack
21863 -# @DESCRIPTION:
21864 -# Unpack the policy sources as offered by upstream (refpolicy). In case of EAPI
21865 -# older than 2, call src_prepare too.
21866 -selinux-policy-2_src_unpack() {
21867 - if [[ "${BASEPOL}" != "9999" ]];
21868 - then
21869 - unpack ${A}
21870 - else
21871 - git-2_src_unpack
21872 - fi
21873 -
21874 - # Call src_prepare explicitly for EAPI 0 or 1
21875 - has "${EAPI:-0}" 0 1 && selinux-policy-2_src_prepare
21876 -}
21877 -
21878 -# @FUNCTION: selinux-policy-2_src_prepare
21879 -# @DESCRIPTION:
21880 -# Patch the reference policy sources with our set of enhancements. Start with
21881 -# the base patchbundle referred to by the ebuilds through the BASEPOL variable,
21882 -# then apply the additional patches as offered by the ebuild.
21883 -#
21884 -# Next, extract only those files needed for this particular module (i.e. the .te
21885 -# and .fc files for the given module in the MODS variable).
21886 -#
21887 -# Finally, prepare the build environments for each of the supported SELinux
21888 -# types (such as targeted or strict), depending on the POLICY_TYPES variable
21889 -# content.
21890 -selinux-policy-2_src_prepare() {
21891 - local modfiles
21892 - local add_interfaces=0;
21893 -
21894 - # Create 3rd_party location for user-contributed policies
21895 - cd "${S}/refpolicy/policy/modules" && mkdir 3rd_party;
21896 -
21897 - # Patch the sources with the base patchbundle
21898 - if [[ -n ${BASEPOL} ]] && [[ "${BASEPOL}" != "9999" ]];
21899 - then
21900 - cd "${S}"
21901 - EPATCH_MULTI_MSG="Applying SELinux policy updates ... " \
21902 - EPATCH_SUFFIX="patch" \
21903 - EPATCH_SOURCE="${WORKDIR}" \
21904 - EPATCH_FORCE="yes" \
21905 - epatch
21906 - fi
21907 -
21908 - # Copy additional files to the 3rd_party/ location
21909 - if [[ "$(declare -p POLICY_FILES 2>/dev/null 2>&1)" == "declare -a"* ]] ||
21910 - [[ -n ${POLICY_FILES} ]];
21911 - then
21912 - add_interfaces=1;
21913 - cd "${S}/refpolicy/policy/modules"
21914 - for POLFILE in ${POLICY_FILES[@]};
21915 - do
21916 - cp "${FILESDIR}/${POLFILE}" 3rd_party/ || die "Could not copy ${POLFILE} to 3rd_party/ location";
21917 - done
21918 - fi
21919 -
21920 - # Apply the additional patches refered to by the module ebuild.
21921 - # But first some magic to differentiate between bash arrays and strings
21922 - if [[ "$(declare -p POLICY_PATCH 2>/dev/null 2>&1)" == "declare -a"* ]] ||
21923 - [[ -n ${POLICY_PATCH} ]];
21924 - then
21925 - cd "${S}/refpolicy/policy/modules"
21926 - for POLPATCH in ${POLICY_PATCH[@]};
21927 - do
21928 - epatch "${POLPATCH}"
21929 - done
21930 - fi
21931 -
21932 - # Collect only those files needed for this particular module
21933 - for i in ${MODS}; do
21934 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.te) $modfiles"
21935 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.fc) $modfiles"
21936 - if [ ${add_interfaces} -eq 1 ];
21937 - then
21938 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.if) $modfiles"
21939 - fi
21940 - done
21941 -
21942 - for i in ${POLICY_TYPES}; do
21943 - mkdir "${S}"/${i} || die "Failed to create directory ${S}/${i}"
21944 - cp "${S}"/refpolicy/doc/Makefile.example "${S}"/${i}/Makefile \
21945 - || die "Failed to copy Makefile.example to ${S}/${i}/Makefile"
21946 -
21947 - cp ${modfiles} "${S}"/${i} \
21948 - || die "Failed to copy the module files to ${S}/${i}"
21949 - done
21950 -}
21951 -
21952 -# @FUNCTION: selinux-policy-2_src_compile
21953 -# @DESCRIPTION:
21954 -# Build the SELinux policy module (.pp file) for just the selected module, and
21955 -# this for each SELinux policy mentioned in POLICY_TYPES
21956 -selinux-policy-2_src_compile() {
21957 - for i in ${POLICY_TYPES}; do
21958 - # Parallel builds are broken, so we need to force -j1 here
21959 - emake -j1 NAME=$i -C "${S}"/${i} || die "${i} compile failed"
21960 - done
21961 -}
21962 -
21963 -# @FUNCTION: selinux-policy-2_src_install
21964 -# @DESCRIPTION:
21965 -# Install the built .pp files in the correct subdirectory within
21966 -# /usr/share/selinux.
21967 -selinux-policy-2_src_install() {
21968 - local BASEDIR="/usr/share/selinux"
21969 -
21970 - for i in ${POLICY_TYPES}; do
21971 - for j in ${MODS}; do
21972 - einfo "Installing ${i} ${j} policy package"
21973 - insinto ${BASEDIR}/${i}
21974 - doins "${S}"/${i}/${j}.pp || die "Failed to add ${j}.pp to ${i}"
21975 -
21976 - if [[ "${POLICY_FILES[@]}" == *"${j}.if"* ]];
21977 - then
21978 - insinto ${BASEDIR}/${i}/include/3rd_party
21979 - doins "${S}"/${i}/${j}.if || die "Failed to add ${j}.if to ${i}"
21980 - fi
21981 - done
21982 - done
21983 -}
21984 -
21985 -# @FUNCTION: selinux-policy-2_pkg_postinst
21986 -# @DESCRIPTION:
21987 -# Install the built .pp files in the SELinux policy stores, effectively
21988 -# activating the policy on the system.
21989 -selinux-policy-2_pkg_postinst() {
21990 - # build up the command in the case of multiple modules
21991 - local COMMAND
21992 - for i in ${MODS}; do
21993 - COMMAND="-i ${i}.pp ${COMMAND}"
21994 - done
21995 -
21996 - for i in ${POLICY_TYPES}; do
21997 - einfo "Inserting the following modules into the $i module store: ${MODS}"
21998 -
21999 - cd /usr/share/selinux/${i} || die "Could not enter /usr/share/selinux/${i}"
22000 - semodule -s ${i} ${COMMAND}
22001 - if [ $? -ne 0 ];
22002 - then
22003 - ewarn "SELinux module load failed. Trying full reload...";
22004 - if [ "${i}" == "targeted" ];
22005 - then
22006 - semodule -s ${i} -b base.pp -i $(ls *.pp | grep -v base.pp);
22007 - else
22008 - semodule -s ${i} -b base.pp -i $(ls *.pp | grep -v base.pp | grep -v unconfined.pp);
22009 - fi
22010 - if [ $? -ne 0 ];
22011 - then
22012 - ewarn "Failed to reload SELinux policies."
22013 - ewarn ""
22014 - ewarn "If this is *not* the last SELinux module package being installed,"
22015 - ewarn "then you can safely ignore this as the reloads will be retried"
22016 - ewarn "with other, recent modules."
22017 - ewarn ""
22018 - ewarn "If it is the last SELinux module package being installed however,"
22019 - ewarn "then it is advised to look at the error above and take appropriate"
22020 - ewarn "action since the new SELinux policies are not loaded until the"
22021 - ewarn "command finished succesfully."
22022 - ewarn ""
22023 - ewarn "To reload, run the following command from within /usr/share/selinux/${i}:"
22024 - ewarn " semodule -b base.pp -i \$(ls *.pp | grep -v base.pp)"
22025 - ewarn "or"
22026 - ewarn " semodule -b base.pp -i \$(ls *.pp | grep -v base.pp | grep -v unconfined.pp)"
22027 - ewarn "depending on if you need the unconfined domain loaded as well or not."
22028 - else
22029 - einfo "SELinux modules reloaded succesfully."
22030 - fi
22031 - else
22032 - einfo "SELinux modules loaded succesfully."
22033 - fi
22034 - done
22035 -}
22036 -
22037
22038 diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
22039 deleted file mode 100644
22040 index eb8214b..0000000
22041 --- a/eclass/systemd.eclass
22042 +++ /dev/null
22043 @@ -1,167 +0,0 @@
22044 -# Copyright 1999-2012 Gentoo Foundation
22045 -# Distributed under the terms of the GNU General Public License v2
22046 -# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.14 2012/08/27 21:55:01 mgorny Exp $
22047 -
22048 -# @ECLASS: systemd.eclass
22049 -# @MAINTAINER:
22050 -# mgorny@g.o
22051 -# @BLURB: helper functions to install systemd units
22052 -# @DESCRIPTION:
22053 -# This eclass provides a set of functions to install unit files for
22054 -# sys-apps/systemd within ebuilds.
22055 -# @EXAMPLE:
22056 -#
22057 -# @CODE
22058 -# inherit autotools-utils systemd
22059 -#
22060 -# src_configure() {
22061 -# local myeconfargs=(
22062 -# --enable-foo
22063 -# --disable-bar
22064 -# )
22065 -#
22066 -# systemd_to_myeconfargs
22067 -# autotools-utils_src_configure
22068 -# }
22069 -# @CODE
22070 -
22071 -case ${EAPI:-0} in
22072 - 0|1|2|3|4|5) ;;
22073 - *) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established."
22074 -esac
22075 -
22076 -# @FUNCTION: _systemd_get_unitdir
22077 -# @INTERNAL
22078 -# @DESCRIPTION:
22079 -# Get unprefixed unitdir.
22080 -_systemd_get_unitdir() {
22081 - echo -n /usr/lib/systemd/system
22082 -}
22083 -
22084 -# @FUNCTION: systemd_get_unitdir
22085 -# @DESCRIPTION:
22086 -# Output the path for the systemd unit directory (not including ${D}).
22087 -# This function always succeeds, even if systemd is not installed.
22088 -systemd_get_unitdir() {
22089 - has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
22090 - debug-print-function ${FUNCNAME} "${@}"
22091 -
22092 - echo -n "${EPREFIX}$(_systemd_get_unitdir)"
22093 -}
22094 -
22095 -# @FUNCTION: systemd_dounit
22096 -# @USAGE: unit1 [...]
22097 -# @DESCRIPTION:
22098 -# Install systemd unit(s). Uses doins, thus it is fatal in EAPI 4
22099 -# and non-fatal in earlier EAPIs.
22100 -systemd_dounit() {
22101 - debug-print-function ${FUNCNAME} "${@}"
22102 -
22103 - (
22104 - insinto "$(_systemd_get_unitdir)"
22105 - doins "${@}"
22106 - )
22107 -}
22108 -
22109 -# @FUNCTION: systemd_newunit
22110 -# @USAGE: oldname newname
22111 -# @DESCRIPTION:
22112 -# Install systemd unit with a new name. Uses newins, thus it is fatal
22113 -# in EAPI 4 and non-fatal in earlier EAPIs.
22114 -systemd_newunit() {
22115 - debug-print-function ${FUNCNAME} "${@}"
22116 -
22117 - (
22118 - insinto "$(_systemd_get_unitdir)"
22119 - newins "${@}"
22120 - )
22121 -}
22122 -
22123 -# @FUNCTION: systemd_dotmpfilesd
22124 -# @USAGE: tmpfilesd1 [...]
22125 -# @DESCRIPTION:
22126 -# Install systemd tmpfiles.d files. Uses doins, thus it is fatal
22127 -# in EAPI 4 and non-fatal in earlier EAPIs.
22128 -systemd_dotmpfilesd() {
22129 - debug-print-function ${FUNCNAME} "${@}"
22130 -
22131 - for f; do
22132 - [[ ${f} == *.conf ]] \
22133 - || die 'tmpfiles.d files need to have .conf suffix.'
22134 - done
22135 -
22136 - (
22137 - insinto /usr/lib/tmpfiles.d/
22138 - doins "${@}"
22139 - )
22140 -}
22141 -
22142 -# @FUNCTION: systemd_newtmpfilesd
22143 -# @USAGE: oldname newname.conf
22144 -# @DESCRIPTION:
22145 -# Install systemd tmpfiles.d file under a new name. Uses newins, thus it
22146 -# is fatal in EAPI 4 and non-fatal in earlier EAPIs.
22147 -systemd_newtmpfilesd() {
22148 - debug-print-function ${FUNCNAME} "${@}"
22149 -
22150 - [[ ${2} == *.conf ]] \
22151 - || die 'tmpfiles.d files need to have .conf suffix.'
22152 -
22153 - (
22154 - insinto /usr/lib/tmpfiles.d/
22155 - newins "${@}"
22156 - )
22157 -}
22158 -
22159 -# @FUNCTION: systemd_enable_service
22160 -# @USAGE: target service
22161 -# @DESCRIPTION:
22162 -# Enable service in desired target, e.g. install a symlink for it.
22163 -# Uses dosym, thus it is fatal in EAPI 4 and non-fatal in earlier
22164 -# EAPIs.
22165 -systemd_enable_service() {
22166 - debug-print-function ${FUNCNAME} "${@}"
22167 -
22168 - [[ ${#} -eq 2 ]] || die "Synopsis: systemd_enable_service target service"
22169 -
22170 - local target=${1}
22171 - local service=${2}
22172 - local ud=$(_systemd_get_unitdir)
22173 - local destname=$(basename "${service}")
22174 -
22175 - dodir "${ud}"/"${target}".wants && \
22176 - dosym ../"${service}" "${ud}"/"${target}".wants/"${destname}"
22177 -}
22178 -
22179 -# @FUNCTION: systemd_with_unitdir
22180 -# @USAGE: [configure option]
22181 -# @DESCRIPTION:
22182 -# Output '--with-systemdsystemunitdir' as expected by systemd-aware configure
22183 -# scripts. This function always succeeds. Its output may be quoted in order
22184 -# to preserve whitespace in paths. systemd_to_myeconfargs() is preferred over
22185 -# this function.
22186 -#
22187 -# If upstream does use invalid configure option to handle installing systemd
22188 -# units (e.g. `--with-systemdunitdir'), you can pass the 'suffix' as an optional
22189 -# argument to this function (`$(systemd_with_unitdir systemdunitdir)'). Please
22190 -# remember to report a bug upstream as well.
22191 -systemd_with_unitdir() {
22192 - debug-print-function ${FUNCNAME} "${@}"
22193 - local optname=${1:-systemdsystemunitdir}
22194 -
22195 - echo -n --with-${optname}="$(systemd_get_unitdir)"
22196 -}
22197 -
22198 -# @FUNCTION: systemd_to_myeconfargs
22199 -# @DESCRIPTION:
22200 -# Add '--with-systemdsystemunitdir' as expected by systemd-aware configure
22201 -# scripts to the myeconfargs variable used by autotools-utils eclass. Handles
22202 -# quoting automatically.
22203 -systemd_to_myeconfargs() {
22204 - debug-print-function ${FUNCNAME} "${@}"
22205 -
22206 - myeconfargs=(
22207 - "${myeconfargs[@]}"
22208 - --with-systemdsystemunitdir="$(systemd_get_unitdir)"
22209 - )
22210 -}
22211
22212 diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass
22213 deleted file mode 100644
22214 index d86d8e4..0000000
22215 --- a/eclass/vcs-snapshot.eclass
22216 +++ /dev/null
22217 @@ -1,66 +0,0 @@
22218 -# Copyright 1999-2012 Gentoo Foundation
22219 -# Distributed under the terms of the GNU General Public License v2
22220 -# $Header: /var/cvsroot/gentoo-x86/eclass/vcs-snapshot.eclass,v 1.4 2012/06/11 14:22:19 mgorny Exp $
22221 -
22222 -# @ECLASS: vcs-snapshot.eclass
22223 -# @MAINTAINER:
22224 -# mgorny@g.o
22225 -# @BLURB: support eclass for unpacking VCS snapshot tarballs
22226 -# @DESCRIPTION:
22227 -# This eclass provides a convenience src_unpack() which does unpack all
22228 -# the tarballs in SRC_URI to locations matching their (local) names,
22229 -# discarding the original parent directory.
22230 -#
22231 -# The typical use case are VCS snapshots, coming from github, bitbucket
22232 -# and similar services. They have hash appended to the directory name
22233 -# which makes extracting them a painful experience. But if you just use
22234 -# a SRC_URI arrow to rename it (which you're likely have to do anyway),
22235 -# vcs-snapshot will just extract it into a matching directory.
22236 -#
22237 -# Please note that this eclass handles only tarballs (.tar, .tar.gz,
22238 -# .tar.bz2 & .tar.xz). For any other file format (or suffix) it will
22239 -# fall back to regular unpack. Support for additional formats may be
22240 -# added at some point so please keep your SRC_URIs clean.
22241 -#
22242 -# @EXAMPLE:
22243 -#
22244 -# @CODE
22245 -# EAPI=4
22246 -# AUTOTOOLS_AUTORECONF=1
22247 -# inherit autotools-utils vcs-snapshot
22248 -#
22249 -# SRC_URI="http://github.com/example/${PN}/tarball/v${PV} -> ${P}.tar.gz"
22250 -# @CODE
22251 -#
22252 -# and however the tarball was originally named, all files will appear
22253 -# in ${WORKDIR}/${P}.
22254 -
22255 -case ${EAPI:-0} in
22256 - 0|1|2|3|4|5) ;;
22257 - *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established."
22258 -esac
22259 -
22260 -EXPORT_FUNCTIONS src_unpack
22261 -
22262 -vcs-snapshot_src_unpack() {
22263 - local f
22264 -
22265 - for f in ${A}
22266 - do
22267 - case "${f}" in
22268 - *.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
22269 - local destdir=${WORKDIR}/${f%.tar*}
22270 -
22271 - # XXX: check whether the directory structure inside is
22272 - # fine? i.e. if the tarball has actually a parent dir.
22273 - mkdir "${destdir}" || die
22274 - tar -C "${destdir}" -x --strip-components 1 \
22275 - -f "${DISTDIR}/${f}" || die
22276 - ;;
22277 - *)
22278 - # fall back to the default method
22279 - unpack "${f}"
22280 - ;;
22281 - esac
22282 - done
22283 -}
22284
22285 diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
22286 deleted file mode 100644
22287 index ef93ba6..0000000
22288 --- a/eclass/vdr-plugin-2.eclass
22289 +++ /dev/null
22290 @@ -1,614 +0,0 @@
22291 -# Copyright 1999-2012 Gentoo Foundation
22292 -# Distributed under the terms of the GNU General Public License v2
22293 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.11 2012/09/19 17:54:46 hd_brummy Exp $
22294 -
22295 -# @ECLASS: vdr-plugin-2.eclass
22296 -# @MAINTAINER:
22297 -# vdr@g.o
22298 -# @BLURB: common vdr plugin ebuild functions
22299 -# @DESCRIPTION:
22300 -# Eclass for easing maitenance of vdr plugin ebuilds
22301 -
22302 -# Authors:
22303 -# Matthias Schwarzott <zzam@g.o>
22304 -# Joerg Bornkessel <hd_brummy@g.o>
22305 -# Christian Ruppert <idl0r@g.o>
22306 -
22307 -# Plugin config file installation:
22308 -#
22309 -# A plugin config file can be specified through the $VDR_CONFD_FILE variable, it
22310 -# defaults to ${FILESDIR}/confd. Each config file will be installed as e.g.
22311 -# ${D}/etc/conf.d/vdr.${VDRPLUGIN}
22312 -
22313 -# Installation of rc-addon files:
22314 -# NOTE: rc-addon files must be valid shell scripts!
22315 -#
22316 -# Installing rc-addon files is basically the same as for plugin config files
22317 -# (see above), it's just using the $VDR_RCADDON_FILE variable instead.
22318 -# The default value when $VDR_RCADDON_FILE is undefined is:
22319 -# ${FILESDIR}/rc-addon.sh and will be installed as
22320 -# ${VDR_RC_DIR}/plugin-${VDRPLUGIN}.sh
22321 -#
22322 -# The rc-addon files will be sourced by the startscript when the specific plugin
22323 -# has been enabled.
22324 -# rc-addon files may be used to prepare everything that is necessary for the
22325 -# plugin start/stop, like passing extra command line options and so on.
22326 -
22327 -# Applying your own local/user patches:
22328 -# This is done by using the epatch_user() function of the eutils.eclass.
22329 -# Simply put your patches into one of these directories:
22330 -# /etc/portage/patches/<CATEGORY>/<PF|P|PN>/
22331 -# Quote: where the first of these three directories to exist will be the one to
22332 -# use, ignoring any more general directories which might exist as well.
22333 -#
22334 -# For more details about it please take a look at the eutils.class.
22335 -
22336 -inherit base eutils flag-o-matic multilib toolchain-funcs
22337 -
22338 -case ${EAPI:-0} in
22339 - 4|5) ;;
22340 - *) die "EAPI ${EAPI} unsupported."
22341 -esac
22342 -
22343 -EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config
22344 -
22345 -IUSE=""
22346 -
22347 -# Name of the plugin stripped from all vdrplugin-, vdr- and -cvs pre- and postfixes
22348 -VDRPLUGIN="${PN/#vdrplugin-/}"
22349 -VDRPLUGIN="${VDRPLUGIN/#vdr-/}"
22350 -VDRPLUGIN="${VDRPLUGIN/%-cvs/}"
22351 -
22352 -DESCRIPTION="vdr Plugin: ${VDRPLUGIN} (based on vdr-plugin-2.eclass)"
22353 -
22354 -# Works in most cases
22355 -S="${WORKDIR}/${VDRPLUGIN}-${PV}"
22356 -
22357 -# depend on headers for DVB-driver
22358 -COMMON_DEPEND=">=media-tv/gentoo-vdr-scripts-0.4.2"
22359 -
22360 -DEPEND="${COMMON_DEPEND}
22361 - virtual/linuxtv-dvb-headers"
22362 -RDEPEND="${COMMON_DEPEND}
22363 - >=app-admin/eselect-vdr-0.0.2"
22364 -
22365 -# This is a hack for ebuilds like vdr-xineliboutput that want to
22366 -# conditionally install a vdr-plugin
22367 -if [[ "${GENTOO_VDR_CONDITIONAL:-no}" = "yes" ]]; then
22368 - IUSE="${IUSE} vdr"
22369 - DEPEND="vdr? ( ${DEPEND} )"
22370 - RDEPEND="vdr? ( ${RDEPEND} )"
22371 -fi
22372 -
22373 -# New method of storing plugindb
22374 -# Called from src_install
22375 -# file maintained by normal portage-methods
22376 -create_plugindb_file() {
22377 - local NEW_VDRPLUGINDB_DIR=/usr/share/vdr/vdrplugin-rebuild/
22378 - local DB_FILE="${NEW_VDRPLUGINDB_DIR}/${CATEGORY}-${PF}"
22379 - insinto "${NEW_VDRPLUGINDB_DIR}"
22380 -
22381 -# BUG: portage-2.1.4_rc9 will delete the EBUILD= line, so we cannot use this code.
22382 -# cat <<-EOT > "${D}/${DB_FILE}"
22383 -# VDRPLUGIN_DB=1
22384 -# CREATOR=ECLASS
22385 -# EBUILD=${CATEGORY}/${PN}
22386 -# EBUILD_V=${PVR}
22387 -# EOT
22388 - {
22389 - echo "VDRPLUGIN_DB=1"
22390 - echo "CREATOR=ECLASS"
22391 - echo "EBUILD=${CATEGORY}/${PN}"
22392 - echo "EBUILD_V=${PVR}"
22393 - echo "PLUGINS=\"$@\""
22394 - } > "${D}/${DB_FILE}"
22395 -}
22396 -
22397 -# Delete files created outside of vdr-plugin-2.eclass
22398 -# vdrplugin-rebuild.ebuild converted plugindb and files are
22399 -# not deleted by portage itself - should only be needed as
22400 -# long as not every system has switched over to
22401 -# vdrplugin-rebuild-0.2 / gentoo-vdr-scripts-0.4.2
22402 -delete_orphan_plugindb_file() {
22403 - #elog Testing for orphaned plugindb file
22404 - local NEW_VDRPLUGINDB_DIR=/usr/share/vdr/vdrplugin-rebuild/
22405 - local DB_FILE="${ROOT}/${NEW_VDRPLUGINDB_DIR}/${CATEGORY}-${PF}"
22406 -
22407 - # file exists
22408 - [[ -f ${DB_FILE} ]] || return
22409 -
22410 - # will portage handle the file itself
22411 - if grep -q CREATOR=ECLASS "${DB_FILE}"; then
22412 - #elog file owned by eclass - don't touch it
22413 - return
22414 - fi
22415 -
22416 - elog "Removing orphaned plugindb-file."
22417 - elog "\t#rm ${DB_FILE}"
22418 - rm "${DB_FILE}"
22419 -}
22420 -
22421 -
22422 -create_header_checksum_file() {
22423 - # Danger: Not using $ROOT here, as compile will also not use it !!!
22424 - # If vdr in $ROOT and / differ, plugins will not run anyway
22425 -
22426 - local CHKSUM="header-md5-vdr"
22427 -
22428 - if [[ -f ${VDR_CHECKSUM_DIR}/header-md5-vdr ]]; then
22429 - cp "${VDR_CHECKSUM_DIR}/header-md5-vdr" "${CHKSUM}"
22430 - elif type -p md5sum >/dev/null 2>&1; then
22431 - (
22432 - cd "${VDR_INCLUDE_DIR}"
22433 - md5sum *.h libsi/*.h|LC_ALL=C sort --key=2
22434 - ) > "${CHKSUM}"
22435 - else
22436 - die "Could not create md5 checksum of headers"
22437 - fi
22438 -
22439 - insinto "${VDR_CHECKSUM_DIR}"
22440 - local p_name
22441 - for p_name; do
22442 - newins "${CHKSUM}" "header-md5-${p_name}"
22443 - done
22444 -}
22445 -
22446 -fix_vdr_libsi_include() {
22447 - dev_check "Fixing include of libsi-headers"
22448 - local f
22449 - for f; do
22450 - sed -i "${f}" \
22451 - -e '/#include/s:"\(.*libsi.*\)":<\1>:' \
22452 - -e '/#include/s:<.*\(libsi/.*\)>:<vdr/\1>:'
22453 - done
22454 -}
22455 -
22456 -vdr_patchmakefile() {
22457 - einfo "Patching Makefile"
22458 - [[ -e Makefile ]] || die "Makefile of plugin can not be found!"
22459 - cp Makefile "${WORKDIR}"/Makefile.before
22460 -
22461 - # plugin makefiles use VDRDIR in strange ways
22462 - # assumptions:
22463 - # 1. $(VDRDIR) contains Make.config
22464 - # 2. $(VDRDIR) contains config.h
22465 - # 3. $(VDRDIR)/include/vdr contains the headers
22466 - # 4. $(VDRDIR) contains main vdr Makefile
22467 - # 5. $(VDRDIR)/locale exists
22468 - # 6. $(VDRDIR) allows to access vdr source files
22469 - #
22470 - # We only have one directory (for now /usr/include/vdr),
22471 - # that contains vdr-headers and Make.config.
22472 - # To satisfy 1-3 we do this:
22473 - # Set VDRDIR=/usr/include/vdr
22474 - # Set VDRINCDIR=/usr/include
22475 - # Change $(VDRDIR)/include to $(VDRINCDIR)
22476 -
22477 - sed -i Makefile \
22478 - -e "s:^VDRDIR.*$:VDRDIR = ${VDR_INCLUDE_DIR}:" \
22479 - -e "/^VDRDIR/a VDRINCDIR = ${VDR_INCLUDE_DIR%/vdr}" \
22480 - -e '/VDRINCDIR.*=/!s:$(VDRDIR)/include:$(VDRINCDIR):' \
22481 - \
22482 - -e 's:-I$(DVBDIR)/include::' \
22483 - -e 's:-I$(DVBDIR)::'
22484 -
22485 - # may be needed for multiproto:
22486 - #sed -i Makefile \
22487 - # -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \
22488 - # -e 's:-I$(DVBDIR)/include:-I$(DVBDIR):'
22489 -
22490 - if ! grep -q APIVERSION Makefile; then
22491 - ebegin " Converting to APIVERSION"
22492 - sed -i Makefile \
22493 - -e 's:^APIVERSION = :APIVERSION ?= :' \
22494 - -e 's:$(LIBDIR)/$@.$(VDRVERSION):$(LIBDIR)/$@.$(APIVERSION):' \
22495 - -e '/VDRVERSION =/a\APIVERSION = $(shell sed -ne '"'"'/define APIVERSION/s/^.*"\\(.*\\)".*$$/\\1/p'"'"' $(VDRDIR)/config.h)'
22496 - eend $?
22497 - fi
22498 -
22499 - # Correcting Compile-Flags
22500 - # Do not overwrite CXXFLAGS, add LDFLAGS if missing
22501 - sed -i Makefile \
22502 - -e '/^CXXFLAGS[[:space:]]*=/s/=/?=/' \
22503 - -e '/LDFLAGS/!s:-shared:$(LDFLAGS) -shared:'
22504 -
22505 - # Disabling file stripping, the package manager takes care of it
22506 - sed -i Makefile \
22507 - -e '/@.*strip/d' \
22508 - -e '/strip \$(LIBDIR)\/\$@/d' \
22509 - -e 's/STRIP.*=.*$/STRIP = true/'
22510 -
22511 - # Use a file instead of a variable as single-stepping via ebuild
22512 - # destroys environment.
22513 - touch "${WORKDIR}"/.vdr-plugin_makefile_patched
22514 -}
22515 -
22516 -# Begin new vdr-plugin-2.eclass content
22517 -dev_check() {
22518 - # A lot useful debug infos
22519 - # set VDR_MAINTAINER_MODE="1" in /etc/make.conf
22520 - if [[ -n ${VDR_MAINTAINER_MODE} ]]; then
22521 - eerror "\t Maintainer Info: $@"
22522 - fi
22523 -}
22524 -
22525 -gettext_missing() {
22526 - # plugins without converting to gettext
22527 -
22528 - local GETTEXT_MISSING=$( grep xgettext Makefile )
22529 - if [[ -z ${GETTEXT_MISSING} ]]; then
22530 - dev_check "Plugin isn't converted to gettext handling \n"
22531 - fi
22532 -}
22533 -
22534 -linguas_support() {
22535 -# Patching Makefile for linguas support.
22536 -# Only locales, enabled through the LINGUAS (make.conf) variable will be
22537 -# "compiled" and installed.
22538 -#
22539 -# Some plugins have po/ in a subdir
22540 -# set PO_SUBDIR in .ebuild
22541 -# i.e media-plugins/vdr-streamdev
22542 -# PO_SUBDIR="client server"
22543 -
22544 - einfo "Patching for Linguas support"
22545 - einfo "available Languages for ${P} are:"
22546 -
22547 - [[ -f po ]] && local po_dir="${S}"
22548 - local po_subdir=( ${S}/${PO_SUBDIR} )
22549 - local f
22550 -
22551 - makefile_dir=( ${po_dir} ${po_subdir[*]} )
22552 -
22553 - for f in ${makefile_dir[*]}; do
22554 -
22555 - PLUGIN_LINGUAS=$( ls ${f}/po --ignore="*.pot" | sed -e "s:.po::g" | cut -d_ -f1 | tr \\\012 ' ' )
22556 - einfo "LINGUAS=\"${PLUGIN_LINGUAS}\""
22557 -
22558 - sed -i ${f}/Makefile \
22559 - -e 's:\$(wildcard[[:space:]]*\$(PODIR)/\*.po):\$(foreach dir,\$(LINGUAS),\$(wildcard \$(PODIR)\/\$(dir)\*.po)):' \
22560 - || die "sed failed for Linguas"
22561 - done
22562 -
22563 - strip-linguas ${PLUGIN_LINGUAS} en
22564 -
22565 - # maintainer check
22566 - if [[ ! -d po ]]; then
22567 - dev_check "po dir not found? May be in subdir? \n"
22568 - fi
22569 -}
22570 -
22571 -vdr_i18n() {
22572 -# i18n handling was deprecated since >=media-video/vdr-1.5.9,
22573 -# finally with >=media-video/vdr-1.7.27 it has been dropped entirely and some
22574 -# plugins will fail to "compile" because they're still using the old variant.
22575 -# Simply remove the i18n.o object from Makefile (OBJECT) and
22576 -# remove "static const tI18nPhrase*" from i18n.h.
22577 -#
22578 -# Plugins that are still using the old method will be pmasked until they're
22579 -# fixed or in case of maintainer timeout they'll be masked for removal.
22580 -
22581 - gettext_missing
22582 -
22583 - local I18N_OBJECT=$( grep i18n.o Makefile )
22584 - if [[ -n ${I18N_OBJECT} ]]; then
22585 -
22586 - if [[ "${KEEP_I18NOBJECT:-no}" = "yes" ]]; then
22587 - dev_check "Forced to keep i18n.o"
22588 - else
22589 - sed -i "s:i18n.o::g" Makefile
22590 - dev_check "OBJECT i18n.o found"
22591 - dev_check "removed per sed \n"
22592 - fi
22593 -
22594 - else
22595 - dev_check "OBJECT i18n.o not found in Makefile"
22596 - dev_check "all fine or manual review needed? \n"
22597 - fi
22598 -
22599 - local I18N_STRING=$( [[ -e i18n.h ]] && grep tI18nPhrase i18n.h )
22600 - if [[ -n ${I18N_STRING} ]]; then
22601 - sed -i "s:^extern[[:space:]]*const[[:space:]]*tI18nPhrase://static const tI18nPhrase:" i18n.h
22602 - dev_check "obsolete tI18nPhrase found"
22603 - dev_check "disabled per sed, please recheck \n"
22604 - else
22605 - dev_check "obsolete tI18nPhrase not found, fine..."
22606 - dev_check "please review, may be in subdir... \n"
22607 - fi
22608 -}
22609 -# end new vdr-plugin-2.eclass content
22610 -
22611 -vdr-plugin-2_copy_source_tree() {
22612 - pushd . >/dev/null
22613 - cp -r "${S}" "${T}"/source-tree
22614 - cd "${T}"/source-tree
22615 - cp "${WORKDIR}"/Makefile.before Makefile
22616 - # TODO: Fix this, maybe no longer needed
22617 - sed -i Makefile \
22618 - -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \
22619 - -e 's:^CXXFLAGS:#CXXFLAGS:' \
22620 - -e 's:-I$(DVBDIR)/include:-I$(DVBDIR):' \
22621 - -e 's:-I$(VDRDIR) -I$(DVBDIR):-I$(DVBDIR) -I$(VDRDIR):'
22622 - popd >/dev/null
22623 -}
22624 -
22625 -vdr-plugin-2_install_source_tree() {
22626 - einfo "Installing sources"
22627 - destdir="${VDRSOURCE_DIR}/vdr-${VDRVERSION}/PLUGINS/src/${VDRPLUGIN}"
22628 - insinto "${destdir}-${PV}"
22629 - doins -r "${T}"/source-tree/*
22630 -
22631 - dosym "${VDRPLUGIN}-${PV}" "${destdir}"
22632 -}
22633 -
22634 -vdr-plugin-2_print_enable_command() {
22635 - local p_name c=0 l=""
22636 - for p_name in ${vdr_plugin_list}; do
22637 - c=$(( c+1 ))
22638 - l="$l ${p_name#vdr-}"
22639 - done
22640 -
22641 - elog
22642 - case $c in
22643 - 1) elog "Installed plugin${l}" ;;
22644 - *) elog "Installed $c plugins:${l}" ;;
22645 - esac
22646 - elog "To activate a plugin execute this command:"
22647 - elog "\teselect vdr-plugin enable <plugin_name> ..."
22648 - elog
22649 -}
22650 -
22651 -has_vdr() {
22652 - [[ -f "${VDR_INCLUDE_DIR}"/config.h ]]
22653 -}
22654 -
22655 -## exported functions
22656 -
22657 -vdr-plugin-2_pkg_setup() {
22658 - # -fPIC is needed for shared objects on some platforms (amd64 and others)
22659 - append-flags -fPIC
22660 -
22661 - # Plugins need to be compiled with position independent code, otherwise linking
22662 - # VDR against it will fail
22663 - if has_version ">=media-video/vdr-1.7.13"; then
22664 - append-lfs-flags
22665 - fi
22666 -
22667 - # missing ${chost}- tag
22668 - tc-export CC CXX
22669 -
22670 - # Where should the plugins live in the filesystem
22671 - VDR_PLUGIN_DIR="/usr/$(get_libdir)/vdr/plugins"
22672 - VDR_CHECKSUM_DIR="${VDR_PLUGIN_DIR%/plugins}/checksums"
22673 -
22674 - # was /usr/lib/... some time ago
22675 - # since gentoo-vdr-scripts-0.3.6 it works with /usr/share/...
22676 - VDR_RC_DIR="/usr/share/vdr/rcscript"
22677 -
22678 - # Pathes to includes
22679 - VDR_INCLUDE_DIR="/usr/include/vdr"
22680 - DVB_INCLUDE_DIR="/usr/include"
22681 -
22682 - TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
22683 - LOCDIR="/usr/share/locale"
22684 -
22685 - if ! has_vdr; then
22686 - # set to invalid values to detect abuses
22687 - VDRVERSION="eclass_no_vdr_installed"
22688 - APIVERSION="eclass_no_vdr_installed"
22689 -
22690 - if [[ "${GENTOO_VDR_CONDITIONAL:-no}" = "yes" ]] && ! use vdr; then
22691 - einfo "VDR not found!"
22692 - else
22693 - # if vdr is required
22694 - die "VDR not found!"
22695 - fi
22696 - return
22697 - fi
22698 -
22699 - VDRVERSION=$(awk -F'"' '/define VDRVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
22700 - APIVERSION=$(awk -F'"' '/define APIVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
22701 - [[ -z ${APIVERSION} ]] && APIVERSION="${VDRVERSION}"
22702 -
22703 - einfo "Compiling against"
22704 - einfo "\tvdr-${VDRVERSION} [API version ${APIVERSION}]"
22705 -
22706 - if [[ -n "${VDR_LOCAL_PATCHES_DIR}" ]]; then
22707 - eerror "Using VDR_LOCAL_PATCHES_DIR is deprecated!"
22708 - eerror "Please move all your patches into"
22709 - eerror "${EROOT}/etc/portage/patches/${CATEGORY}/${P}"
22710 - eerror "and remove or unset the VDR_LOCAL_PATCHES_DIR variable."
22711 - die
22712 - fi
22713 -}
22714 -
22715 -vdr-plugin-2_src_util() {
22716 - while [ "$1" ]; do
22717 - case "$1" in
22718 - all)
22719 - vdr-plugin-2_src_util unpack add_local_patch patchmakefile linguas_patch i18n
22720 - ;;
22721 - prepare)
22722 - vdr-plugin-2_src_util add_local_patch patchmakefile linguas_patch i18n
22723 - ;;
22724 - unpack)
22725 - base_src_unpack
22726 - ;;
22727 - add_local_patch)
22728 - cd "${S}" || die "Could not change to plugin-source-directory!"
22729 - epatch_user
22730 - ;;
22731 - patchmakefile)
22732 - cd "${S}" || die "Could not change to plugin-source-directory!"
22733 - vdr_patchmakefile
22734 - ;;
22735 - i18n)
22736 - vdr_i18n
22737 - ;;
22738 - linguas_patch)
22739 - linguas_support
22740 - ;;
22741 - esac
22742 -
22743 - shift
22744 - done
22745 -}
22746 -
22747 -vdr-plugin-2_src_unpack() {
22748 - if [[ -z ${VDR_INCLUDE_DIR} ]]; then
22749 - eerror "Wrong use of vdr-plugin-2.eclass."
22750 - eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_src_unpack."
22751 - echo
22752 - eerror "Please report this at bugs.gentoo.org."
22753 - die "vdr-plugin-2_src_unpack not called!"
22754 - fi
22755 -
22756 - if [ -z "$1" ]; then
22757 - vdr-plugin-2_src_util unpack
22758 - else
22759 - vdr-plugin-2_src_util $@
22760 - fi
22761 -}
22762 -
22763 -vdr-plugin-2_src_prepare() {
22764 - if [[ -z ${VDR_INCLUDE_DIR} ]]; then
22765 - eerror "Wrong use of vdr-plugin-2.eclass."
22766 - eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_src_prepare."
22767 - echo
22768 - eerror "Please report this at bugs.gentoo.org."
22769 - die "vdr-plugin-2_src_prepare not called!"
22770 - fi
22771 -
22772 - base_src_prepare
22773 - vdr-plugin-2_src_util prepare
22774 -}
22775 -
22776 -vdr-plugin-2_src_compile() {
22777 - [ -z "$1" ] && vdr-plugin-2_src_compile copy_source compile
22778 -
22779 - while [ "$1" ]; do
22780 - case "$1" in
22781 - copy_source)
22782 - [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin-2_copy_source_tree
22783 - ;;
22784 - compile)
22785 - if [[ ! -f ${WORKDIR}/.vdr-plugin_makefile_patched ]]; then
22786 - eerror "Wrong use of vdr-plugin-2.eclass."
22787 - eerror "An ebuild for a vdr-plugin will not work without"
22788 - eerror "calling vdr-plugin-2_src_compile to patch the Makefile."
22789 - echo
22790 - eerror "Please report this at bugs.gentoo.org."
22791 - die "vdr-plugin-2_src_compile not called!"
22792 - fi
22793 - cd "${S}"
22794 -
22795 - BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-all}}
22796 -
22797 - emake ${BUILD_PARAMS} \
22798 - ${BUILD_TARGETS} \
22799 - LOCALEDIR="${TMP_LOCALE_DIR}" \
22800 - LIBDIR="${S}" \
22801 - TMPDIR="${T}" \
22802 - || die "emake failed"
22803 - ;;
22804 - esac
22805 -
22806 - shift
22807 - done
22808 -}
22809 -
22810 -vdr-plugin-2_src_install() {
22811 - if [[ -z ${VDR_INCLUDE_DIR} ]]; then
22812 - eerror "Wrong use of vdr-plugin-2.eclass."
22813 - eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin-2_src_install."
22814 - echo
22815 - eerror "Please report this at bugs.gentoo.org."
22816 - die "vdr-plugin-2_src_install not called!"
22817 - fi
22818 -
22819 - [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin-2_install_source_tree
22820 - cd "${WORKDIR}"
22821 -
22822 - if [[ -n ${VDR_MAINTAINER_MODE} ]]; then
22823 - local mname="${P}-Makefile"
22824 - cp "${S}"/Makefile "${mname}.patched"
22825 - cp Makefile.before "${mname}.before"
22826 -
22827 - diff -u "${mname}.before" "${mname}.patched" > "${mname}.diff"
22828 -
22829 - insinto "/usr/share/vdr/maintainer-data/makefile-changes"
22830 - doins "${mname}.diff"
22831 -
22832 - insinto "/usr/share/vdr/maintainer-data/makefile-before"
22833 - doins "${mname}.before"
22834 -
22835 - insinto "/usr/share/vdr/maintainer-data/makefile-patched"
22836 - doins "${mname}.patched"
22837 -
22838 - fi
22839 -
22840 - cd "${S}"
22841 - insinto "${VDR_PLUGIN_DIR}"
22842 - doins libvdr-*.so.*
22843 -
22844 - # create list of all created plugin libs
22845 - vdr_plugin_list=""
22846 - local p_name
22847 - for p in libvdr-*.so.*; do
22848 - p_name="${p%.so*}"
22849 - p_name="${p_name#lib}"
22850 - vdr_plugin_list="${vdr_plugin_list} ${p_name}"
22851 - done
22852 -
22853 - create_header_checksum_file ${vdr_plugin_list}
22854 - create_plugindb_file ${vdr_plugin_list}
22855 -
22856 - if [[ -d ${TMP_LOCALE_DIR} ]]; then
22857 - einfo "Installing locales"
22858 - cd "${TMP_LOCALE_DIR}"
22859 - local linguas
22860 - for linguas in ${LINGUAS[*]}; do
22861 - insinto "${LOCDIR}"
22862 - cp -r --parents ${linguas}* ${D}/${LOCDIR}
22863 - done
22864 - fi
22865 -
22866 - cd "${S}"
22867 - local docfile
22868 - for docfile in README* HISTORY CHANGELOG; do
22869 - [[ -f ${docfile} ]] && dodoc ${docfile}
22870 - done
22871 -
22872 - # if VDR_CONFD_FILE is empty and ${FILESDIR}/confd exists take it
22873 - [[ -z ${VDR_CONFD_FILE} ]] && [[ -e ${FILESDIR}/confd ]] && VDR_CONFD_FILE=${FILESDIR}/confd
22874 -
22875 - if [[ -n ${VDR_CONFD_FILE} ]]; then
22876 - newconfd "${VDR_CONFD_FILE}" vdr.${VDRPLUGIN}
22877 - fi
22878 -
22879 - # if VDR_RCADDON_FILE is empty and ${FILESDIR}/rc-addon.sh exists take it
22880 - [[ -z ${VDR_RCADDON_FILE} ]] && [[ -e ${FILESDIR}/rc-addon.sh ]] && VDR_RCADDON_FILE=${FILESDIR}/rc-addon.sh
22881 -
22882 - if [[ -n ${VDR_RCADDON_FILE} ]]; then
22883 - insinto "${VDR_RC_DIR}"
22884 - newins "${VDR_RCADDON_FILE}" plugin-${VDRPLUGIN}.sh
22885 - fi
22886 -}
22887 -
22888 -vdr-plugin-2_pkg_postinst() {
22889 - vdr-plugin-2_print_enable_command
22890 -
22891 - if [[ -n "${VDR_CONFD_FILE}" ]]; then
22892 - elog "Please have a look at the config-file"
22893 - elog "\t/etc/conf.d/vdr.${VDRPLUGIN}"
22894 - elog
22895 - fi
22896 -}
22897 -
22898 -vdr-plugin-2_pkg_postrm() {
22899 - delete_orphan_plugindb_file
22900 -}
22901 -
22902 -vdr-plugin-2_pkg_config() {
22903 -:
22904 -}
22905
22906 diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
22907 deleted file mode 100644
22908 index e9cd760..0000000
22909 --- a/eclass/vdr-plugin.eclass
22910 +++ /dev/null
22911 @@ -1,601 +0,0 @@
22912 -# Copyright 1999-2012 Gentoo Foundation
22913 -# Distributed under the terms of the GNU General Public License v2
22914 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.89 2012/09/19 17:54:46 hd_brummy Exp $
22915 -
22916 -# @ECLASS: vdr-plugin.eclass
22917 -# @MAINTAINER:
22918 -# vdr@g.o
22919 -# @BLURB: common vdr plugin ebuild functions
22920 -# @DESCRIPTION:
22921 -# Eclass for easing maitenance of vdr plugin ebuilds
22922 -
22923 -# Authors:
22924 -# Matthias Schwarzott <zzam@g.o>
22925 -# Joerg Bornkessel <hd_brummy@g.o>
22926 -# Christian Ruppert <idl0r@g.o>
22927 -
22928 -# Plugin config file installation:
22929 -#
22930 -# A plugin config file can be specified through the $VDR_CONFD_FILE variable, it
22931 -# defaults to ${FILESDIR}/confd. Each config file will be installed as e.g.
22932 -# ${D}/etc/conf.d/vdr.${VDRPLUGIN}
22933 -
22934 -# Installation of rc-addon files:
22935 -# NOTE: rc-addon files must be valid shell scripts!
22936 -#
22937 -# Installing rc-addon files is basically the same as for plugin config files
22938 -# (see above), it's just using the $VDR_RCADDON_FILE variable instead.
22939 -# The default value when $VDR_RCADDON_FILE is undefined is:
22940 -# ${FILESDIR}/rc-addon.sh and will be installed as
22941 -# ${VDR_RC_DIR}/plugin-${VDRPLUGIN}.sh
22942 -#
22943 -# The rc-addon files will be sourced by the startscript when the specific plugin
22944 -# has been enabled.
22945 -# rc-addon files may be used to prepare everything that is necessary for the
22946 -# plugin start/stop, like passing extra command line options and so on.
22947 -
22948 -# Applying your own local/user patches:
22949 -# This is done by using the epatch_user() function of the eutils.eclass.
22950 -# Simply put your patches into one of these directories:
22951 -# /etc/portage/patches/<CATEGORY>/<PF|P|PN>/
22952 -# Quote: where the first of these three directories to exist will be the one to
22953 -# use, ignoring any more general directories which might exist as well.
22954 -#
22955 -# For more details about it please take a look at the eutils.class.
22956 -
22957 -inherit base multilib eutils flag-o-matic
22958 -
22959 -if ! has "${EAPI:-0}" 0 1 2 3 4 5; then
22960 - die "API of vdr-plugin.eclass in EAPI=\"${EAPI}\" not established"
22961 -fi
22962 -
22963 -IUSE=""
22964 -
22965 -# Name of the plugin stripped from all vdrplugin-, vdr- and -cvs pre- and postfixes
22966 -VDRPLUGIN="${PN/#vdrplugin-/}"
22967 -VDRPLUGIN="${VDRPLUGIN/#vdr-/}"
22968 -VDRPLUGIN="${VDRPLUGIN/%-cvs/}"
22969 -
22970 -DESCRIPTION="vdr Plugin: ${VDRPLUGIN} (based on vdr-plugin.eclass)"
22971 -
22972 -# works in most cases
22973 -S="${WORKDIR}/${VDRPLUGIN}-${PV}"
22974 -
22975 -# depend on headers for DVB-driver
22976 -COMMON_DEPEND=">=media-tv/gentoo-vdr-scripts-0.4.2"
22977 -
22978 -DEPEND="${COMMON_DEPEND}
22979 - virtual/linuxtv-dvb-headers"
22980 -RDEPEND="${COMMON_DEPEND}
22981 - >=app-admin/eselect-vdr-0.0.2"
22982 -
22983 -# this is a hack for ebuilds like vdr-xineliboutput that want to
22984 -# conditionally install a vdr-plugin
22985 -if [[ "${GENTOO_VDR_CONDITIONAL:-no}" = "yes" ]]; then
22986 - # make DEPEND conditional
22987 - IUSE="${IUSE} vdr"
22988 - DEPEND="vdr? ( ${DEPEND} )"
22989 - RDEPEND="vdr? ( ${RDEPEND} )"
22990 -fi
22991 -
22992 -# New method of storing plugindb
22993 -# Called from src_install
22994 -# file maintained by normal portage-methods
22995 -create_plugindb_file() {
22996 - local NEW_VDRPLUGINDB_DIR=/usr/share/vdr/vdrplugin-rebuild/
22997 - local DB_FILE="${NEW_VDRPLUGINDB_DIR}/${CATEGORY}-${PF}"
22998 - insinto "${NEW_VDRPLUGINDB_DIR}"
22999 -
23000 -# BUG: portage-2.1.4_rc9 will delete the EBUILD= line, so we cannot use this code.
23001 -# cat <<-EOT > "${D}/${DB_FILE}"
23002 -# VDRPLUGIN_DB=1
23003 -# CREATOR=ECLASS
23004 -# EBUILD=${CATEGORY}/${PN}
23005 -# EBUILD_V=${PVR}
23006 -# EOT
23007 - {
23008 - echo "VDRPLUGIN_DB=1"
23009 - echo "CREATOR=ECLASS"
23010 - echo "EBUILD=${CATEGORY}/${PN}"
23011 - echo "EBUILD_V=${PVR}"
23012 - echo "PLUGINS=\"$@\""
23013 - } > "${D}/${DB_FILE}"
23014 -}
23015 -
23016 -# Delete files created outside of vdr-plugin.eclass
23017 -# vdrplugin-rebuild.ebuild converted plugindb and files are
23018 -# not deleted by portage itself - should only be needed as
23019 -# long as not every system has switched over to
23020 -# vdrplugin-rebuild-0.2 / gentoo-vdr-scripts-0.4.2
23021 -delete_orphan_plugindb_file() {
23022 - #elog Testing for orphaned plugindb file
23023 - local NEW_VDRPLUGINDB_DIR=/usr/share/vdr/vdrplugin-rebuild/
23024 - local DB_FILE="${ROOT}/${NEW_VDRPLUGINDB_DIR}/${CATEGORY}-${PF}"
23025 -
23026 - # file exists
23027 - [[ -f ${DB_FILE} ]] || return
23028 -
23029 - # will portage handle the file itself
23030 - if grep -q CREATOR=ECLASS "${DB_FILE}"; then
23031 - #elog file owned by eclass - don't touch it
23032 - return
23033 - fi
23034 -
23035 - elog "Removing orphaned plugindb-file."
23036 - elog "\t#rm ${DB_FILE}"
23037 - rm "${DB_FILE}"
23038 -}
23039 -
23040 -
23041 -create_header_checksum_file()
23042 -{
23043 - # Danger: Not using $ROOT here, as compile will also not use it !!!
23044 - # If vdr in $ROOT and / differ, plugins will not run anyway
23045 -
23046 - local CHKSUM="header-md5-vdr"
23047 -
23048 - if [[ -f ${VDR_CHECKSUM_DIR}/header-md5-vdr ]]; then
23049 - cp "${VDR_CHECKSUM_DIR}/header-md5-vdr" "${CHKSUM}"
23050 - elif type -p md5sum >/dev/null 2>&1; then
23051 - (
23052 - cd "${VDR_INCLUDE_DIR}"
23053 - md5sum *.h libsi/*.h|LC_ALL=C sort --key=2
23054 - ) > "${CHKSUM}"
23055 - else
23056 - die "Could not create md5 checksum of headers"
23057 - fi
23058 -
23059 - insinto "${VDR_CHECKSUM_DIR}"
23060 - local p_name
23061 - for p_name; do
23062 - newins "${CHKSUM}" "header-md5-${p_name}"
23063 - done
23064 -}
23065 -
23066 -fix_vdr_libsi_include()
23067 -{
23068 - #einfo "Fixing include of libsi-headers"
23069 - local f
23070 - for f; do
23071 - sed -i "${f}" \
23072 - -e '/#include/s:"\(.*libsi.*\)":<\1>:' \
23073 - -e '/#include/s:<.*\(libsi/.*\)>:<vdr/\1>:'
23074 - done
23075 -}
23076 -
23077 -vdr_patchmakefile() {
23078 - einfo "Patching Makefile"
23079 - [[ -e Makefile ]] || die "Makefile of plugin can not be found!"
23080 - cp Makefile "${WORKDIR}"/Makefile.before
23081 -
23082 - # plugin makefiles use VDRDIR in strange ways
23083 - # assumptions:
23084 - # 1. $(VDRDIR) contains Make.config
23085 - # 2. $(VDRDIR) contains config.h
23086 - # 3. $(VDRDIR)/include/vdr contains the headers
23087 - # 4. $(VDRDIR) contains main vdr Makefile
23088 - # 5. $(VDRDIR)/locale exists
23089 - # 6. $(VDRDIR) allows to access vdr source files
23090 - #
23091 - # We only have one directory (for now /usr/include/vdr),
23092 - # that contains vdr-headers and Make.config.
23093 - # To satisfy 1-3 we do this:
23094 - # Set VDRDIR=/usr/include/vdr
23095 - # Set VDRINCDIR=/usr/include
23096 - # Change $(VDRDIR)/include to $(VDRINCDIR)
23097 -
23098 - sed -i Makefile \
23099 - -e "s:^VDRDIR.*$:VDRDIR = ${VDR_INCLUDE_DIR}:" \
23100 - -e "/^VDRDIR/a VDRINCDIR = ${VDR_INCLUDE_DIR%/vdr}" \
23101 - -e '/VDRINCDIR.*=/!s:$(VDRDIR)/include:$(VDRINCDIR):' \
23102 - \
23103 - -e 's:-I$(DVBDIR)/include::' \
23104 - -e 's:-I$(DVBDIR)::'
23105 -
23106 - # maybe needed for multiproto:
23107 - #sed -i Makefile \
23108 - # -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \
23109 - # -e 's:-I$(DVBDIR)/include:-I$(DVBDIR):'
23110 -
23111 - if ! grep -q APIVERSION Makefile; then
23112 - ebegin " Converting to APIVERSION"
23113 - sed -i Makefile \
23114 - -e 's:^APIVERSION = :APIVERSION ?= :' \
23115 - -e 's:$(LIBDIR)/$@.$(VDRVERSION):$(LIBDIR)/$@.$(APIVERSION):' \
23116 - -e '/VDRVERSION =/a\APIVERSION = $(shell sed -ne '"'"'/define APIVERSION/s/^.*"\\(.*\\)".*$$/\\1/p'"'"' $(VDRDIR)/config.h)'
23117 - eend $?
23118 - fi
23119 -
23120 - # Correcting Compile-Flags
23121 - # Do not overwrite CXXFLAGS, add LDFLAGS if missing
23122 - sed -i Makefile \
23123 - -e '/^CXXFLAGS[[:space:]]*=/s/=/?=/' \
23124 - -e '/LDFLAGS/!s:-shared:$(LDFLAGS) -shared:'
23125 -
23126 - # Disabling file stripping, useful for debugging
23127 - sed -i Makefile \
23128 - -e '/@.*strip/d' \
23129 - -e '/strip \$(LIBDIR)\/\$@/d' \
23130 - -e 's/STRIP.*=.*$/STRIP = true/'
23131 -
23132 - # Use a file instead of a variable as single-stepping via ebuild
23133 - # destroys environment.
23134 - touch "${WORKDIR}"/.vdr-plugin_makefile_patched
23135 -}
23136 -
23137 -vdr_has_gettext() {
23138 - has_version ">=media-video/vdr-1.5.7"
23139 -}
23140 -
23141 -plugin_has_gettext() {
23142 - [[ -d po ]]
23143 -}
23144 -
23145 -vdr_i18n_convert_to_gettext() {
23146 - if has_version ">=media-video/vdr-1.7.22"; then
23147 - local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext"
23148 - else
23149 - local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext.pl"
23150 - fi
23151 -
23152 - if [[ ${NO_GETTEXT_HACK} == "1" ]]; then
23153 - ewarn "Conversion to gettext disabled in ebuild"
23154 - return 1
23155 - fi
23156 -
23157 - if [[ ! -x ${i18n_tool} ]]; then
23158 - eerror "Missing ${i18n_tool}"
23159 - eerror "Please re-emerge vdr"
23160 - die "Missing ${i18n_tool}"
23161 - fi
23162 -
23163 - ebegin "Auto converting translations to gettext"
23164 - # call i18n-to-gettext tool
23165 - # take all texts missing tr call into special file
23166 - "${i18n_tool}" 2>/dev/null \
23167 - |sed -e '/^"/!d' \
23168 - -e '/^""$/d' \
23169 - -e 's/\(.*\)/trNOOP(\1)/' \
23170 - > dummy-translations-trNOOP.c
23171 -
23172 - # if there were untranslated texts just run it again
23173 - # now the missing calls are listed in
23174 - # dummy-translations-trNOOP.c
23175 - if [[ -s dummy-translations-trNOOP.c ]]; then
23176 - "${i18n_tool}" &>/dev/null
23177 - fi
23178 -
23179 - # now use the modified Makefile
23180 - if [[ -f Makefile.new ]]; then
23181 - mv Makefile.new Makefile
23182 - eend 0 ""
23183 - else
23184 - eend 1 "Conversion to gettext failed. Plugin needs fixing."
23185 - return 1
23186 - fi
23187 -}
23188 -
23189 -vdr_i18n_disable_gettext() {
23190 - #einfo "Disabling gettext support in plugin"
23191 -
23192 - # Remove i18n Target if using older vdr
23193 - sed -i Makefile \
23194 - -e '/^all:/s/ i18n//'
23195 -}
23196 -
23197 -vdr_i18n() {
23198 - if vdr_has_gettext; then
23199 - #einfo "VDR has gettext support"
23200 - if plugin_has_gettext; then
23201 - #einfo "Plugin has gettext support, fine"
23202 - if [[ ${NO_GETTEXT_HACK} == "1" ]]; then
23203 - ewarn "Please remove unneeded NO_GETTEXT_HACK from ebuild."
23204 - fi
23205 - else
23206 - vdr_i18n_convert_to_gettext
23207 - if [[ $? != 0 ]]; then
23208 - einfo "Plugin has no OSD texts or will have only english OSD texts"
23209 - fi
23210 - fi
23211 - else
23212 - #einfo "VDR has no gettext support"
23213 - if plugin_has_gettext; then
23214 - vdr_i18n_disable_gettext
23215 - fi
23216 - fi
23217 -}
23218 -
23219 -vdr-plugin_copy_source_tree() {
23220 - pushd . >/dev/null
23221 - cp -r "${S}" "${T}"/source-tree
23222 - cd "${T}"/source-tree
23223 - cp "${WORKDIR}"/Makefile.before Makefile
23224 - # TODO: Fix this, maybe no longer needed
23225 - sed -i Makefile \
23226 - -e "s:^DVBDIR.*$:DVBDIR = ${DVB_INCLUDE_DIR}:" \
23227 - -e 's:^CXXFLAGS:#CXXFLAGS:' \
23228 - -e 's:-I$(DVBDIR)/include:-I$(DVBDIR):' \
23229 - -e 's:-I$(VDRDIR) -I$(DVBDIR):-I$(DVBDIR) -I$(VDRDIR):'
23230 - popd >/dev/null
23231 -}
23232 -
23233 -vdr-plugin_install_source_tree() {
23234 - einfo "Installing sources"
23235 - destdir="${VDRSOURCE_DIR}/vdr-${VDRVERSION}/PLUGINS/src/${VDRPLUGIN}"
23236 - insinto "${destdir}-${PV}"
23237 - doins -r "${T}"/source-tree/*
23238 -
23239 - dosym "${VDRPLUGIN}-${PV}" "${destdir}"
23240 -}
23241 -
23242 -vdr-plugin_print_enable_command() {
23243 - local p_name c=0 l=""
23244 - for p_name in ${vdr_plugin_list}; do
23245 - c=$(( c+1 ))
23246 - l="$l ${p_name#vdr-}"
23247 - done
23248 -
23249 - elog
23250 - case $c in
23251 - 1) elog "Installed plugin${l}" ;;
23252 - *) elog "Installed $c plugins:${l}" ;;
23253 - esac
23254 - elog "To activate a plugin execute this command:"
23255 - elog "\teselect vdr-plugin enable <plugin_name> ..."
23256 - elog
23257 -}
23258 -
23259 -has_vdr() {
23260 - [[ -f "${VDR_INCLUDE_DIR}"/config.h ]]
23261 -}
23262 -
23263 -## exported functions
23264 -
23265 -vdr-plugin_pkg_setup() {
23266 - # -fPIC is needed for shared objects on some platforms (amd64 and others)
23267 - append-flags -fPIC
23268 -
23269 - # Plugins need to be compiled with position independent code, otherwise linking
23270 - # VDR against it will fail
23271 - if has_version ">=media-video/vdr-1.7.13"; then
23272 - append-lfs-flags
23273 - fi
23274 -
23275 - # Where should the plugins live in the filesystem
23276 - VDR_PLUGIN_DIR="/usr/$(get_libdir)/vdr/plugins"
23277 - VDR_CHECKSUM_DIR="${VDR_PLUGIN_DIR%/plugins}/checksums"
23278 -
23279 - # was /usr/lib/... some time ago
23280 - # since gentoo-vdr-scripts-0.3.6 it works with /usr/share/...
23281 - VDR_RC_DIR="/usr/share/vdr/rcscript"
23282 -
23283 - # Pathes to includes
23284 - VDR_INCLUDE_DIR="/usr/include/vdr"
23285 - DVB_INCLUDE_DIR="/usr/include"
23286 -
23287 - TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
23288 - LOCDIR="/usr/share/locale"
23289 -
23290 - if ! has_vdr; then
23291 - # set to invalid values to detect abuses
23292 - VDRVERSION="eclass_no_vdr_installed"
23293 - APIVERSION="eclass_no_vdr_installed"
23294 -
23295 - if [[ "${GENTOO_VDR_CONDITIONAL:-no}" = "yes" ]] && ! use vdr; then
23296 - einfo "VDR not found!"
23297 - else
23298 - # if vdr is required
23299 - die "VDR not found!"
23300 - fi
23301 - return
23302 - fi
23303 -
23304 - VDRVERSION=$(awk -F'"' '/define VDRVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
23305 - APIVERSION=$(awk -F'"' '/define APIVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
23306 - [[ -z ${APIVERSION} ]] && APIVERSION="${VDRVERSION}"
23307 -
23308 - einfo "Compiling against"
23309 - einfo "\tvdr-${VDRVERSION} [API version ${APIVERSION}]"
23310 -
23311 -
23312 - if [ -n "${VDR_LOCAL_PATCHES_DIR}" ]; then
23313 - eerror "Using VDR_LOCAL_PATCHES_DIR is deprecated!"
23314 - eerror "Please move all your patches into"
23315 - eerror "${EROOT}/etc/portage/patches/${CATEGORY}/${P}"
23316 - eerror "and remove or unset the VDR_LOCAL_PATCHES_DIR variable."
23317 - die
23318 - fi
23319 -}
23320 -
23321 -vdr-plugin_src_util() {
23322 - while [ "$1" ]; do
23323 - case "$1" in
23324 - all)
23325 - vdr-plugin_src_util unpack add_local_patch patchmakefile i18n
23326 - ;;
23327 - prepare|all_but_unpack)
23328 - vdr-plugin_src_util add_local_patch patchmakefile i18n
23329 - ;;
23330 - unpack)
23331 - base_src_unpack
23332 - ;;
23333 - add_local_patch)
23334 - cd "${S}" || die "Could not change to plugin-source-directory!"
23335 - epatch_user
23336 - ;;
23337 - patchmakefile)
23338 - cd "${S}" || die "Could not change to plugin-source-directory!"
23339 - vdr_patchmakefile
23340 - ;;
23341 - i18n)
23342 - # i18n-to-gettext tool removed starting with version 1.7.27
23343 - if has_version "<media-video/vdr-1.7.27"; then
23344 - cd "${S}" || die "Could not change to plugin-source-directory!"
23345 - vdr_i18n
23346 - fi
23347 - ;;
23348 - esac
23349 -
23350 - shift
23351 - done
23352 -}
23353 -
23354 -vdr-plugin_src_unpack() {
23355 - if [[ -z ${VDR_INCLUDE_DIR} ]]; then
23356 - eerror "Wrong use of vdr-plugin.eclass."
23357 - eerror "An ebuild for a vdr-plugin will not work without calling vdr-plugin_pkg_setup."
23358 - echo
23359 - eerror "Please report this at bugs.gentoo.org."
23360 - die "vdr-plugin_pkg_setup not called!"
23361 - fi
23362 - if [ -z "$1" ]; then
23363 - case "${EAPI:-0}" in
23364 - 2|3|4|5)
23365 - vdr-plugin_src_util unpack
23366 - ;;
23367 - *)
23368 - vdr-plugin_src_util all
23369 - ;;
23370 - esac
23371 -
23372 - else
23373 - vdr-plugin_src_util $@
23374 - fi
23375 -}
23376 -
23377 -vdr-plugin_src_prepare() {
23378 - base_src_prepare
23379 - vdr-plugin_src_util prepare
23380 -}
23381 -
23382 -vdr-plugin_src_compile() {
23383 - [ -z "$1" ] && vdr-plugin_src_compile copy_source compile
23384 -
23385 - while [ "$1" ]; do
23386 -
23387 - case "$1" in
23388 - copy_source)
23389 - [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_copy_source_tree
23390 - ;;
23391 - compile)
23392 - if [[ ! -f ${WORKDIR}/.vdr-plugin_makefile_patched ]]; then
23393 - eerror "Wrong use of vdr-plugin.eclass."
23394 - eerror "An ebuild for a vdr-plugin will not work without"
23395 - eerror "calling vdr-plugin_src_unpack to patch the Makefile."
23396 - echo
23397 - eerror "Please report this at bugs.gentoo.org."
23398 - die "vdr-plugin_src_unpack not called!"
23399 - fi
23400 - cd "${S}"
23401 -
23402 - BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-all}}
23403 -
23404 - emake ${BUILD_PARAMS} \
23405 - ${BUILD_TARGETS} \
23406 - LOCALEDIR="${TMP_LOCALE_DIR}" \
23407 - LIBDIR="${S}" \
23408 - TMPDIR="${T}" \
23409 - || die "emake failed"
23410 - ;;
23411 - esac
23412 -
23413 - shift
23414 - done
23415 -}
23416 -
23417 -vdr-plugin_src_install() {
23418 - [[ -n "${VDRSOURCE_DIR}" ]] && vdr-plugin_install_source_tree
23419 - cd "${WORKDIR}"
23420 -
23421 - if [[ -n ${VDR_MAINTAINER_MODE} ]]; then
23422 - local mname="${P}-Makefile"
23423 - cp "${S}"/Makefile "${mname}.patched"
23424 - cp Makefile.before "${mname}.before"
23425 -
23426 - diff -u "${mname}.before" "${mname}.patched" > "${mname}.diff"
23427 -
23428 - insinto "/usr/share/vdr/maintainer-data/makefile-changes"
23429 - doins "${mname}.diff"
23430 -
23431 - insinto "/usr/share/vdr/maintainer-data/makefile-before"
23432 - doins "${mname}.before"
23433 -
23434 - insinto "/usr/share/vdr/maintainer-data/makefile-patched"
23435 - doins "${mname}.patched"
23436 -
23437 - fi
23438 -
23439 -
23440 -
23441 - cd "${S}"
23442 - insinto "${VDR_PLUGIN_DIR}"
23443 - doins libvdr-*.so.*
23444 -
23445 - # create list of all created plugin libs
23446 - vdr_plugin_list=""
23447 - local p_name
23448 - for p in libvdr-*.so.*; do
23449 - p_name="${p%.so*}"
23450 - p_name="${p_name#lib}"
23451 - vdr_plugin_list="${vdr_plugin_list} ${p_name}"
23452 - done
23453 -
23454 - create_header_checksum_file ${vdr_plugin_list}
23455 - create_plugindb_file ${vdr_plugin_list}
23456 -
23457 - if vdr_has_gettext && [[ -d ${TMP_LOCALE_DIR} ]]; then
23458 - einfo "Installing locales"
23459 - cd "${TMP_LOCALE_DIR}"
23460 - insinto "${LOCDIR}"
23461 - doins -r *
23462 - fi
23463 -
23464 - cd "${S}"
23465 - local docfile
23466 - for docfile in README* HISTORY CHANGELOG; do
23467 - [[ -f ${docfile} ]] && dodoc ${docfile}
23468 - done
23469 -
23470 - # if VDR_CONFD_FILE is empty and ${FILESDIR}/confd exists take it
23471 - [[ -z ${VDR_CONFD_FILE} ]] && [[ -e ${FILESDIR}/confd ]] && VDR_CONFD_FILE=${FILESDIR}/confd
23472 -
23473 - if [[ -n ${VDR_CONFD_FILE} ]]; then
23474 - newconfd "${VDR_CONFD_FILE}" vdr.${VDRPLUGIN}
23475 - fi
23476 -
23477 -
23478 - # if VDR_RCADDON_FILE is empty and ${FILESDIR}/rc-addon.sh exists take it
23479 - [[ -z ${VDR_RCADDON_FILE} ]] && [[ -e ${FILESDIR}/rc-addon.sh ]] && VDR_RCADDON_FILE=${FILESDIR}/rc-addon.sh
23480 -
23481 - if [[ -n ${VDR_RCADDON_FILE} ]]; then
23482 - insinto "${VDR_RC_DIR}"
23483 - newins "${VDR_RCADDON_FILE}" plugin-${VDRPLUGIN}.sh
23484 - fi
23485 -}
23486 -
23487 -vdr-plugin_pkg_postinst() {
23488 - vdr-plugin_print_enable_command
23489 -
23490 - if [[ -n "${VDR_CONFD_FILE}" ]]; then
23491 - elog "Please have a look at the config-file"
23492 - elog "\t/etc/conf.d/vdr.${VDRPLUGIN}"
23493 - elog
23494 - fi
23495 -}
23496 -
23497 -vdr-plugin_pkg_postrm() {
23498 - delete_orphan_plugindb_file
23499 -}
23500 -
23501 -vdr-plugin_pkg_config() {
23502 -:
23503 -}
23504 -
23505 -case "${EAPI:-0}" in
23506 - 2|3|4|5)
23507 - EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config
23508 - ;;
23509 - *)
23510 - EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_postinst pkg_postrm pkg_config
23511 - ;;
23512 -esac
23513
23514 diff --git a/eclass/virtuoso.eclass b/eclass/virtuoso.eclass
23515 deleted file mode 100644
23516 index 8e5d2de..0000000
23517 --- a/eclass/virtuoso.eclass
23518 +++ /dev/null
23519 @@ -1,144 +0,0 @@
23520 -# Copyright 1999-2011 Gentoo Foundation
23521 -# Distributed under the terms of the GNU General Public License v2
23522 -# $Header: /var/cvsroot/gentoo-x86/eclass/virtuoso.eclass,v 1.13 2012/05/13 18:53:58 creffett Exp $
23523 -
23524 -# @ECLASS: virtuoso.eclass
23525 -# @MAINTAINER:
23526 -# Maciej Mrozowski <reavertm@g.o>
23527 -# Chris Reffett <creffett@g.o>
23528 -#
23529 -# @BLURB: Provides splitting functionality for Virtuoso
23530 -# @DESCRIPTION:
23531 -# This eclass provides common code for splitting Virtuoso OpenSource database
23532 -
23533 -case ${EAPI:-0} in
23534 - 2|3|4|5) : ;;
23535 - *) die "EAPI=${EAPI} is not supported" ;;
23536 -esac
23537 -
23538 -inherit base autotools multilib
23539 -
23540 -MY_P="virtuoso-opensource-${PV}"
23541 -
23542 -case ${PV} in
23543 - *9999*)
23544 - ECVS_SERVER="virtuoso.cvs.sourceforge.net:/cvsroot/virtuoso"
23545 - ECVS_PROJECT='virtuoso'
23546 - SRC_URI=""
23547 - inherit cvs
23548 - ;;
23549 - *)
23550 - # Use this variable to determine distribution method (live or tarball)
23551 - TARBALL="${MY_P}.tar.gz"
23552 - SRC_URI="mirror://sourceforge/virtuoso/${TARBALL} mirror://gentoo/VOS-genpatches-${PV}.tar.bz2"
23553 - ;;
23554 -esac
23555 -
23556 -EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install
23557 -
23558 -# Set some defaults
23559 -HOMEPAGE='http://virtuoso.openlinksw.com/wiki/main/Main/'
23560 -LICENSE='GPL-2'
23561 -SLOT='0'
23562 -
23563 -DEPEND='
23564 - >=sys-devel/libtool-2.2.6a
23565 -'
23566 -RDEPEND=''
23567 -
23568 -S="${WORKDIR}/${MY_P}"
23569 -
23570 -# @FUNCTION: virtuoso_src_prepare
23571 -# @DESCRIPTION:
23572 -# 1. Applies common release patches
23573 -# 2. Applies package-specific patches (from ${FILESDIR}/, PATCHES can be used)
23574 -# 3. Applies user patches from /etc/portage/patches/${CATEGORY}/${PN}/
23575 -# 4. Modifies makefiles for split build. Uses VOS_EXTRACT
23576 -# 5. eautoreconf
23577 -virtuoso_src_prepare() {
23578 - debug-print-function ${FUNCNAME} "$@"
23579 -
23580 - EPATCH_SUFFIX='patch' EPATCH_FORCE='yes' epatch
23581 - base_src_prepare
23582 -
23583 - # @ECLASS-VARIABLE: VOS_EXTRACT
23584 - # @DESCRIPTION:
23585 - # Lists any subdirectories that are required to be extracted
23586 - # and enabled in Makefile.am's for current package.
23587 - if [[ -n ${VOS_EXTRACT} ]]; then
23588 - # Comment out everything
23589 - find . -name Makefile.am -exec \
23590 - sed -e '/SUBDIRS\s*=/s/^/# DISABLED /g' -i {} + \
23591 - || die 'failed to disable subdirs'
23592 -
23593 - # Uncomment specified
23594 - local path
23595 - for path in ${VOS_EXTRACT}; do
23596 - if [[ -d "${path}" ]]; then
23597 - # Uncomment leaf
23598 - if [[ -f "${path}"/Makefile.am ]]; then
23599 - sed -e '/^# DISABLED \s*SUBDIRS\s*=/s/# DISABLED //g' \
23600 - -i "${path}"/Makefile.am || die "failed to uncomment leaf in ${path}/Makefile.am"
23601 - fi
23602 - # Process remaining path elements
23603 - while true; do
23604 - local subdir=`basename "${path}"`
23605 - path=`dirname "${path}"`
23606 - if [[ -f "${path}"/Makefile.am ]]; then
23607 - # Uncomment if necessary
23608 - sed -e '/^# DISABLED \s*SUBDIRS\s*=/s/.*/SUBDIRS =/g' \
23609 - -i "${path}"/Makefile.am
23610 - # Append subdirs if not there already
23611 - if [[ -z `sed -ne "/SUBDIRS\s*=.*${subdir}\b/p" "${path}"/Makefile.am` ]]; then
23612 - sed -e "/^SUBDIRS\s*=/s|$| ${subdir}|" \
23613 - -i "${path}"/Makefile.am || die "failed to append ${subdir}"
23614 - fi
23615 - fi
23616 - [[ "${path}" = . ]] && break
23617 - done
23618 - fi
23619 - done
23620 - fi
23621 -
23622 - eautoreconf
23623 -}
23624 -
23625 -# @FUNCTION: virtuoso_src_configure
23626 -# @DESCRIPTION:
23627 -# Runs ./configure with common and user options specified via myconf variable
23628 -virtuoso_src_configure() {
23629 - debug-print-function ${FUNCNAME} "$@"
23630 -
23631 - # Override some variables to make tests work
23632 - if [[ ${PN} != virtuoso-server ]]; then
23633 - [[ ${EAPI} == 2 ]] && ! use prefix && EPREFIX=
23634 - export ISQL="${EPREFIX}"/usr/bin/isql-v
23635 - export SERVER="${EPREFIX}"/usr/bin/virtuoso-t
23636 - fi
23637 -
23638 - econf \
23639 - --with-layout=gentoo \
23640 - --localstatedir="${EPREFIX}"/var \
23641 - --enable-shared \
23642 - --with-pthreads \
23643 - --without-internal-zlib \
23644 - ${myconf}
23645 -}
23646 -
23647 -# @FUNCTION: virtuoso_src_compile
23648 -# @DESCRIPTION:
23649 -# Runs make for specified subdirs
23650 -virtuoso_src_compile() {
23651 - debug-print-function ${FUNCNAME} "$@"
23652 -
23653 - base_src_compile
23654 -}
23655 -
23656 -# @FUNCTION: virtuoso_src_install
23657 -# @DESCRIPTION:
23658 -# Default src_install
23659 -virtuoso_src_install() {
23660 - debug-print-function ${FUNCNAME} "$@"
23661 -
23662 - base_src_install
23663 -}
23664
23665 diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
23666 deleted file mode 100644
23667 index 3748ba6..0000000
23668 --- a/eclass/waf-utils.eclass
23669 +++ /dev/null
23670 @@ -1,75 +0,0 @@
23671 -# Copyright 1999-2012 Gentoo Foundation
23672 -# Distributed under the terms of the GNU General Public License v2
23673 -# $Header: /var/cvsroot/gentoo-x86/eclass/waf-utils.eclass,v 1.13 2012/07/20 01:37:43 vapier Exp $
23674 -
23675 -# @ECLASS: waf-utils.eclass
23676 -# @MAINTAINER:
23677 -# gnome@g.o
23678 -# @AUTHOR:
23679 -# Original Author: Gilles Dartiguelongue <eva@g.o>
23680 -# Various improvements based on cmake-utils.eclass: Tomáš Chvátal <scarabeus@g.o>
23681 -# Proper prefix support: Jonathan Callen <abcd@g.o>
23682 -# @BLURB: common ebuild functions for waf-based packages
23683 -# @DESCRIPTION:
23684 -# The waf-utils eclass contains functions that make creating ebuild for
23685 -# waf-based packages much easier.
23686 -# Its main features are support of common portage default settings.
23687 -
23688 -inherit base eutils multilib toolchain-funcs multiprocessing
23689 -
23690 -case ${EAPI:-0} in
23691 - 4|5|3) EXPORT_FUNCTIONS src_configure src_compile src_install ;;
23692 - *) die "EAPI=${EAPI} is not supported" ;;
23693 -esac
23694 -
23695 -# Python with threads is required to run waf. We do not know which python slot
23696 -# is being used as the system interpreter, so we are forced to block all
23697 -# slots that have USE=-threads.
23698 -DEPEND="${DEPEND}
23699 - dev-lang/python
23700 - !dev-lang/python[-threads]"
23701 -
23702 -# @FUNCTION: waf-utils_src_configure
23703 -# @DESCRIPTION:
23704 -# General function for configuring with waf.
23705 -waf-utils_src_configure() {
23706 - debug-print-function ${FUNCNAME} "$@"
23707 -
23708 - # @ECLASS-VARIABLE: WAF_BINARY
23709 - # @DESCRIPTION:
23710 - # Eclass can use different waf executable. Usually it is located in "${S}/waf".
23711 - : ${WAF_BINARY:="${S}/waf"}
23712 -
23713 - tc-export AR CC CPP CXX RANLIB
23714 - echo "CCFLAGS=\"${CFLAGS}\" LINKFLAGS=\"${LDFLAGS}\" \"${WAF_BINARY}\" --prefix=${EPREFIX}/usr --libdir=${EPREFIX}/usr/$(get_libdir) $@ configure"
23715 -
23716 - CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" "${WAF_BINARY}" \
23717 - "--prefix=${EPREFIX}/usr" \
23718 - "--libdir=${EPREFIX}/usr/$(get_libdir)" \
23719 - "$@" \
23720 - configure || die "configure failed"
23721 -}
23722 -
23723 -# @FUNCTION: waf-utils_src_compile
23724 -# @DESCRIPTION:
23725 -# General function for compiling with waf.
23726 -waf-utils_src_compile() {
23727 - debug-print-function ${FUNCNAME} "$@"
23728 -
23729 - local jobs="--jobs=$(makeopts_jobs)"
23730 - echo "\"${WAF_BINARY}\" build ${jobs}"
23731 - "${WAF_BINARY}" ${jobs} || die "build failed"
23732 -}
23733 -
23734 -# @FUNCTION: waf-utils_src_install
23735 -# @DESCRIPTION:
23736 -# Function for installing the package.
23737 -waf-utils_src_install() {
23738 - debug-print-function ${FUNCNAME} "$@"
23739 -
23740 - echo "\"${WAF_BINARY}\" --destdir=\"${D}\" install"
23741 - "${WAF_BINARY}" --destdir="${D}" install || die "Make install failed"
23742 -
23743 - # Manual document installation
23744 - base_src_install_docs
23745 -}
23746
23747 diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
23748 deleted file mode 100644
23749 index ac6d46e..0000000
23750 --- a/eclass/xfconf.eclass
23751 +++ /dev/null
23752 @@ -1,144 +0,0 @@
23753 -# Copyright 1999-2012 Gentoo Foundation
23754 -# Distributed under the terms of the GNU General Public License v2
23755 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.43 2012/09/02 07:58:15 ssuominen Exp $
23756 -
23757 -# @ECLASS: xfconf.eclass
23758 -# @MAINTAINER:
23759 -# XFCE maintainers <xfce@g.o>
23760 -# @BLURB: Default XFCE ebuild layout
23761 -# @DESCRIPTION:
23762 -# Default XFCE ebuild layout
23763 -
23764 -# @ECLASS-VARIABLE: EAUTORECONF
23765 -# @DESCRIPTION:
23766 -# Run eautoreconf instead of elibtoolize if the variable is set
23767 -
23768 -# @ECLASS-VARIABLE: XFCONF
23769 -# @DESCRIPTION:
23770 -# This should be an array defining arguments for econf
23771 -
23772 -AUTOTOOLS_AUTO_DEPEND=no
23773 -
23774 -unset _xfconf_live
23775 -[[ $PV == *9999* ]] && _xfconf_live=git-2
23776 -
23777 -inherit ${_xfconf_live} autotools base eutils fdo-mime gnome2-utils libtool
23778 -
23779 -EGIT_BOOTSTRAP=autogen.sh
23780 -EGIT_REPO_URI="git://git.xfce.org/xfce/${MY_PN:-${PN}}"
23781 -
23782 -_xfconf_deps=""
23783 -_xfconf_m4=">=dev-util/xfce4-dev-tools-4.10 ${AUTOTOOLS_DEPEND}"
23784 -
23785 -[[ -n $_xfconf_live ]] && _xfconf_deps+=" dev-util/gtk-doc ${_xfconf_m4}"
23786 -[[ -n $EAUTORECONF ]] && _xfconf_deps+=" ${_xfconf_m4}"
23787 -
23788 -RDEPEND=""
23789 -DEPEND="${_xfconf_deps}"
23790 -
23791 -unset _xfconf_deps
23792 -unset _xfconf_m4
23793 -
23794 -case ${EAPI:-0} in
23795 - 4|5) ;;
23796 - *) die "Unknown EAPI." ;;
23797 -esac
23798 -
23799 -[[ -n $_xfconf_live ]] && _xfconf_live=src_unpack
23800 -
23801 -EXPORT_FUNCTIONS ${_xfconf_live} src_prepare src_configure src_install pkg_preinst pkg_postinst pkg_postrm
23802 -
23803 -# @FUNCTION: xfconf_use_debug
23804 -# @DESCRIPTION:
23805 -# If IUSE has debug, return --enable-debug=minimum.
23806 -# If USE debug is enabled, return --enable-debug which is the same as --enable-debug=yes.
23807 -# If USE debug is enabled and the XFCONF_FULL_DEBUG variable is set, return --enable-debug=full.
23808 -xfconf_use_debug() {
23809 - if has debug ${IUSE}; then
23810 - if use debug; then
23811 - if [[ -n $XFCONF_FULL_DEBUG ]]; then
23812 - echo "--enable-debug=full"
23813 - else
23814 - echo "--enable-debug"
23815 - fi
23816 - else
23817 - echo "--enable-debug=minimum"
23818 - fi
23819 - else
23820 - ewarn "${FUNCNAME} called without debug in IUSE"
23821 - fi
23822 -}
23823 -
23824 -# @FUNCTION: xfconf_src_unpack
23825 -# @DESCRIPTION:
23826 -# Run git-2_src_unpack if required
23827 -xfconf_src_unpack() {
23828 - NOCONFIGURE=1 git-2_src_unpack
23829 -}
23830 -
23831 -# @FUNCTION: xfconf_src_prepare
23832 -# @DESCRIPTION:
23833 -# Run base_src_prepare and eautoreconf or elibtoolize
23834 -xfconf_src_prepare() {
23835 - debug-print-function ${FUNCNAME} "$@"
23836 - base_src_prepare
23837 -
23838 - if [[ -n $EAUTORECONF ]]; then
23839 - AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros eautoreconf
23840 - else
23841 - elibtoolize
23842 - fi
23843 -}
23844 -
23845 -# @FUNCTION: xfconf_src_configure
23846 -# @DESCRIPTION:
23847 -# Run econf with opts from the XFCONF array
23848 -xfconf_src_configure() {
23849 - debug-print-function ${FUNCNAME} "$@"
23850 - [[ -n $_xfconf_live ]] && XFCONF+=( --enable-maintainer-mode )
23851 - econf "${XFCONF[@]}"
23852 -}
23853 -
23854 -# @FUNCTION: xfconf_src_install
23855 -# @DESCRIPTION:
23856 -# Run emake install and install documentation in the DOCS array
23857 -xfconf_src_install() {
23858 - debug-print-function ${FUNCNAME} "$@"
23859 -
23860 - # FIXME
23861 - if [[ -n $_xfconf_live ]] && ! [[ -e ChangeLog ]]; then
23862 - touch ChangeLog
23863 - fi
23864 -
23865 - base_src_install "$@" || die
23866 -
23867 - prune_libtool_files --all
23868 -}
23869 -
23870 -# @FUNCTION: xfconf_pkg_preinst
23871 -# @DESCRIPTION:
23872 -# Run gnome2_icon_savelist
23873 -xfconf_pkg_preinst() {
23874 - debug-print-function ${FUNCNAME} "$@"
23875 - gnome2_icon_savelist
23876 -}
23877 -
23878 -# @FUNCTION: xfconf_pkg_postinst
23879 -# @DESCRIPTION:
23880 -# Run fdo-mime_{desktop,mime}_database_update and gnome2_icon_cache_update
23881 -xfconf_pkg_postinst() {
23882 - debug-print-function ${FUNCNAME} "$@"
23883 - fdo-mime_desktop_database_update
23884 - fdo-mime_mime_database_update
23885 - gnome2_icon_cache_update
23886 -}
23887 -
23888 -# @FUNCTION: xfconf_pkg_postrm
23889 -# @DESCRIPTION:
23890 -# Run fdo-mime_{desktop,mime}_database_update and gnome2_icon_cache_update
23891 -xfconf_pkg_postrm() {
23892 - debug-print-function ${FUNCNAME} "$@"
23893 - fdo-mime_desktop_database_update
23894 - fdo-mime_mime_database_update
23895 - gnome2_icon_cache_update
23896 -}
23897
23898 diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
23899 index 4723278..6dd3146 100644
23900 --- a/eclass/xorg-2.eclass
23901 +++ b/eclass/xorg-2.eclass
23902 @@ -1,6 +1,6 @@
23903 # Copyright 1999-2012 Gentoo Foundation
23904 # Distributed under the terms of the GNU General Public License v2
23905 -# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.58 2012/08/14 06:34:16 scarabeus Exp $
23906 +# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.59 2012/09/27 16:35:42 axs Exp $
23907
23908 # @ECLASS: xorg-2.eclass
23909 # @MAINTAINER:
23910
23911 diff --git a/games-engines/gargoyle/Manifest b/games-engines/gargoyle/Manifest
23912 index 61af677..bf5034b 100644
23913 --- a/games-engines/gargoyle/Manifest
23914 +++ b/games-engines/gargoyle/Manifest
23915 @@ -2,6 +2,6 @@ AUX gargoyle-2011.1-desktopfile.patch 1265 SHA256 b9f0eba5af34a7703c2d3bd38e216f
23916 DIST gargoyle-2010.1-sources.zip 10771623 SHA256 1646565625cf963bf27f0cbe91735523e1c83ea2d49bef9ff534c1ac78aa7e1d SHA512 45a24eae5b02864e8e0df2833ff53cc8aad28aed8e404bb6dd95caa48c9522989196b60b9d70702af4d5e0f7bc06af48e8067dc0580fd23d8612513305b72079 WHIRLPOOL 5cc4e2018c58b1080c5338981ea3543b45adc8bff6b7e3e6546387ad29c63dec978eddd048ccd484628645d274394ca3735c1bb1c617e691dd05787c0cb7b248
23917 DIST gargoyle-2011.1-sources.zip 11291660 SHA256 8642ac38add31d47bfd531d4121dc1e956d06895a9352ce573b5007e9cae4634 SHA512 65159580cf3494944f841c44320135580557258e37ad5523ae3ea30555c19834a2793231a8e42c217e5c1d055d50ed6a20d372d6302e880a2818bc4ea59b226f WHIRLPOOL 19e572d52ec6436c5b41d767e45d509bd965a0d4009b4445db08e79125eabb20636374bbb818ef7115a1ca9ac983a29cb2eaa3848a22e17d5e7d26284200b86f
23918 EBUILD gargoyle-2010.1.ebuild 3220 SHA256 ba682b03bb416431f7a220262b25d9e6f4e75e77b6ad8294b4115dcfe551e242 SHA512 3ab099b26177bf2e709e52712a48b3542b17232582397612c9df8c9c53868d599944c78d3bfd496fc014eb0774f43249fd50cabe8be9a1e39542d3ac3f0f712e WHIRLPOOL e365537f7971d06f2d17ca9de759fe10fd30f41d3ead9564f55f5b8385f362ef9c37f3c5716310286780f0e74dc894125f15e7d4348675ad395c6d34ec6036e7
23919 -EBUILD gargoyle-2011.1.ebuild 3266 SHA256 2bad9563e69815d05e0e75f233cce0d2ea0e5e449134e5532a61ff65bfb6626c SHA512 0912d8a9081e760a5b3d962466eebe4f527296152797c2fd98f7931773954b2c2b57a8f7897f6746dd42759e15165e3e499ea9e9a9801b887b6a98c19ded9fe6 WHIRLPOOL 0339e3e524b7263a0c4a9142c3fbca8444b9dbb0ba3e9c86a9b53d8a12c7a9f08176f15a195e25c69adc6b1e60636d8a68becbe51a998d7d263b3dfe3331c571
23920 -MISC ChangeLog 3705 SHA256 1f38e280fb7f599d98724f1bca0610a2a9ce825f2e2dc98f53c514e682a10a90 SHA512 822e1c19bcbe367076702524a089443d6b88024d8d5a524fa151ee126c7c781f9ea29c69a7f3f0d6c62180404c5597146966647ddc8abe3a6643c36e071920c9 WHIRLPOOL 3852491b213f84b3889b70f18c201ddb049fb84a0fd2268b627d4876ca75192b65635db0c832314069c6113c50a0e4b7ddb8c1842d4fddc033089a32ca6872e6
23921 +EBUILD gargoyle-2011.1.ebuild 3272 SHA256 04f54722f2a0ec889072edecfaed7238c8ab33e13bfbd737dd7f5d018bb416d9 SHA512 d4052dceeada46378a9d623cf6d6d794cf367578bcc8bfb439ddd46220ab64c35ae762d9eebb4259c6afbdf61662784b7c194bc406fdeb89f9bfcbd66668a8a6 WHIRLPOOL 96b271c2a1b88ec8c5ad590f1925249d65d095ea6d431daac8cc2ac8bb59364f39c13d7beaeae5f258c7c31f3f9729daf508e152866e7f37828c48ddae715034
23922 +MISC ChangeLog 3820 SHA256 abe70fa0d4472e382d61d149e5b8ac402bfc7baf4780b6403fbf841390c2da63 SHA512 79dc28fa09621572eef8632fd2ee5ad14d8b9f3d8973442fbd14f415133b9d266aefd14185ff09b774cd2435c8d37242d20dda7db55551c29ff30d3d4df40954 WHIRLPOOL 29afd4181259c9068f8d06e939123f0dcc494d45c5b07f5823758ab79b29074f5a714f619d9c9e153ce7c7d0d60a9064e66897f699468271958e0d4bda9cea19
23923 MISC metadata.xml 331 SHA256 51cc1262568afa65da7057a6ff1799d5e09251f97eb7d15c4708b8140aa5993d SHA512 d7dd2d4155c4c41730c9e03d51239c275458d82e0ca3448aa54078937cbaef3256f599ef47fb5ee50c6f2cb3734270de9dc0face1e7444bd7c67a459ce4c41f1 WHIRLPOOL 0c2e76db27725d24fd24685f56305949a1fef04f87c5e0db8ebe5bd88e16a73b4d16b9109d3237a1968f466d36d3bc7660e03cecc2f9f8d479e4138ed38ee8f9
23924
23925 diff --git a/games-engines/gargoyle/gargoyle-2011.1.ebuild b/games-engines/gargoyle/gargoyle-2011.1.ebuild
23926 index d75626a..839d0e7 100644
23927 --- a/games-engines/gargoyle/gargoyle-2011.1.ebuild
23928 +++ b/games-engines/gargoyle/gargoyle-2011.1.ebuild
23929 @@ -1,6 +1,6 @@
23930 # Copyright 1999-2012 Gentoo Foundation
23931 # Distributed under the terms of the GNU General Public License v2
23932 -# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-2011.1.ebuild,v 1.6 2012/08/22 18:05:11 ago Exp $
23933 +# $Header: /var/cvsroot/gentoo-x86/games-engines/gargoyle/gargoyle-2011.1.ebuild,v 1.7 2012/09/23 08:54:41 phajdan.jr Exp $
23934
23935 # Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
23936 # interpreters are licensed under GPLv2, BSD or MIT license, except:
23937 @@ -18,7 +18,7 @@ SRC_URI="http://garglk.googlecode.com/files/${P}-sources.zip"
23938
23939 LICENSE="BSD GPL-2 MIT Hugo Glulxe"
23940 SLOT="0"
23941 -KEYWORDS="amd64 ~x86"
23942 +KEYWORDS="amd64 x86"
23943 IUSE=""
23944
23945 RDEPEND="
23946
23947 diff --git a/games-simulation/flightgear/Manifest b/games-simulation/flightgear/Manifest
23948 index 6e7c629..7327ca5 100644
23949 --- a/games-simulation/flightgear/Manifest
23950 +++ b/games-simulation/flightgear/Manifest
23951 @@ -5,6 +5,6 @@ DIST FlightGear-data-2.8.0.tar.bz2 685330156 SHA256 ad9ba1d12b5c771193561d452ec3
23952 DIST flightgear-2.4.0.tar.bz2 1909473 SHA256 3f2fdad171b86746b0dfa67510aabfb0c24731951a6d5646c6f0a4f98f01dbe1 SHA512 e1a2618891606f16d35db501cc7f08f226fb53da25a669f0b426fbec84a36538b483c7178dbdc35f988f0b0344d3dbd7c403601afcdba6d465255f827fc4a8f0 WHIRLPOOL b7c5f1585693b9d74e18c4ded6a21fb8db18e6083450a4956c17cc6710c94cf56c25759aff947f5d1c0b20b6c2adbfc61c4814f7c0586c513f1dc9734ff036cc
23953 DIST flightgear-2.8.0.tar.bz2 2311023 SHA256 bfda4f269d90128f4e4cb828de692a49dc0b93db41fe20a2b5272f3f271f3a01 SHA512 4d9b2584dd7c2fa4ad28d9769a9429809e420c7bf858967a5bb461f8ecb78dd079ff01c78febb95b7c3edce40dbf01e077bf7423324958e0b0a3cc74df12e1c1 WHIRLPOOL 615467c08d7b5f4f9e85d8248359452f2b9dc438e2184a7f8d126e57369f9b5d16b49c3779f0f58915236435f83610b3c76671cf049e5dffcb9428cd4bf82823
23954 EBUILD flightgear-2.4.0.ebuild 1477 SHA256 4c1ecebbd0c97aa443a68515f9fbe455e1edd58b455985e0e2ff769dcba66ddf SHA512 ddb19d194cdbb2b5aff0b81350993506495d63c6f6ae80379753bc5d281bf99205d9497beca9d59a2620107a53516e2baf7eee0165d1a1190fb4e95f9d07e9d9 WHIRLPOOL 153c84f2ec6d1cb7d0730b00b15f6f1d122a53d7ebf012a62163994f59866b92f18e782ee76e2d4e46e372d7c17184ac2ae57449707184d8b265d34d19b7702e
23955 -EBUILD flightgear-2.8.0.ebuild 2038 SHA256 ed0cb3911c0f81ac41c641b6a49510ea4a2eaefce758c72ca648528f74a3c682 SHA512 ccb7326be33e8e5f2307313a296f572f60968dafd44dd72219ed6cb1c90ed26e801b5c6644638a03a304f29e9d514fc6458472191653ed68387b29f92b0a5367 WHIRLPOOL e566e92902cba3607fd902a76749781802e9eed8bd1967beafb9aef212ed89f8ae363acbfd8fa402c88bee581ce079dd85b901eb6b942ba185a307d07ff462b7
23956 -MISC ChangeLog 9894 SHA256 2a2da9507a638295d61cb5f594d450448d25e21125c5940f1fa49d4ebdab872c SHA512 a78a377bb03831fe394f0f7e9b0608de3220290f0a5d55d484c2f0d857819e999b33b4cb9fa68c5002446e2026f35a14a2e1006f5cee32f00ab85a1ca9c5dc4f WHIRLPOOL dde452f0982fd5b88b2cc409bb97c0acd9f31e68b7b4e2f44c53a6fd1cbc6c02e0ec057c0629f1e0372d08fbbea2513442fc2b1a8b625fc44c06ffc57bb9f64f
23957 +EBUILD flightgear-2.8.0.ebuild 2032 SHA256 35a0d1a2b8bb0feeb58c3f572668f5cec73b7de4a6c4bdc7b03ceece9ec8ca4f SHA512 197393772e19d52bd61f9700ada52d46e75ffcf4a7b6b46a4bd59bece3645a4b3dd046b752bba628b652eae7df0a3c83078380087eb9f19b90b3d3af66f9abe3 WHIRLPOOL c46524143806606c2d27cf070dcbdbc457347044d3dfa773a55f3eaf78a858401f6ccb681a22659655db0fba8eb267b4d10d4136d6f3a362d80cf773b2fddcfc
23958 +MISC ChangeLog 10000 SHA256 967b40099b105570fd402a28a67a0c41d2c8d12359093e91940e8a0506e0b353 SHA512 b0daf9172e7144625233c6bd836237d3c7221c89cad4d644ac864a5af150fb16651a6685848c86ca16c43ed7035ee79da17493defe70c5f9470250c5a7ef6d12 WHIRLPOOL 49edecb8836b66187efc22e8cd1bc99e84fd3f999ca9b03e97b6c2e7b146a35b285c6c99b4a1ebaa8db17952732006cd295caff489eaac03913423cfb431f0a6
23959 MISC metadata.xml 786 SHA256 6a829fc8b295a3a8b45b1fefadba9a147cd08b6f68a9cf7b876910c501ef9a55 SHA512 5b815f6b9b25ac3448021d94298a526dc9ac5a54faff1f133debc8f299ffcc0720d5f9bdd26d8af7468e1f03fb141f21ed063ede3414ae2b1b0934615aef2622 WHIRLPOOL 4dc0a5b6c6f4bb7466d7392f0e72dba0bac6709532abd3ae78efedd572edbdc9bcfc52fc5164b83fd161561915abaea9502f28f36bef2cbdcbbb498c0880634a
23960
23961 diff --git a/games-simulation/flightgear/flightgear-2.8.0.ebuild b/games-simulation/flightgear/flightgear-2.8.0.ebuild
23962 index a6b73f8..689580f 100644
23963 --- a/games-simulation/flightgear/flightgear-2.8.0.ebuild
23964 +++ b/games-simulation/flightgear/flightgear-2.8.0.ebuild
23965 @@ -1,6 +1,6 @@
23966 # Copyright 1999-2012 Gentoo Foundation
23967 # Distributed under the terms of the GNU General Public License v2
23968 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/flightgear-2.8.0.ebuild,v 1.2 2012/09/03 20:11:18 reavertm Exp $
23969 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/flightgear/flightgear-2.8.0.ebuild,v 1.3 2012/09/22 21:26:14 ago Exp $
23970
23971 EAPI="5"
23972
23973 @@ -12,7 +12,7 @@ SRC_URI="mirror://flightgear/Source/${P}.tar.bz2 mirror://flightgear/Shared/Flig
23974
23975 LICENSE="GPL-2"
23976 SLOT="0"
23977 -KEYWORDS="~amd64 ~ppc ~x86"
23978 +KEYWORDS="amd64 ~ppc ~x86"
23979 IUSE="debug jpeg +jsbsim larcsim subversion test +udev uiuc +yasim"
23980 #fgpanel - disabled for now, doesn't link
23981 #fgpanel? (
23982
23983 diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
23984 index d3593c6..3791203 100644
23985 --- a/media-gfx/feh/Manifest
23986 +++ b/media-gfx/feh/Manifest
23987 @@ -1,8 +1,11 @@
23988 -DIST feh-2.5.tar.bz2 2227722 SHA256 529a6a349bfec87a8a07b17752686149b702cf2468ac56d7306b2f0400f077aa
23989 +AUX feh-2.6.2-debug-cflags.patch 197 SHA256 77a833f28852c3ad6b0fbd03ce93098f31efd3ecdaf9a50a14e3d0b032b04873 SHA512 eb09a90a9ff3ba2ae7a40c8ef9e5b361d42bb045e194ddb5823111d780da265371ee087c6f80963d80f5cd1d0427478f46fec9b0f0607ad2bb122415a9c2e397 WHIRLPOOL 6a95e12ea4c3fc4a4f552740527155437df6a3a4ba0e848bc976de3c9b985f3dbaa5f43016bfa4444647d1253760531b9de10d5bf2c5176383e3b57d5b5e3fe7
23990 +DIST feh-2.5.tar.bz2 2227722 SHA256 529a6a349bfec87a8a07b17752686149b702cf2468ac56d7306b2f0400f077aa SHA512 0371185612ad052bd74b9056c2820b60a9529727130910abb55e7df1f2440fe00f1e04448428cf2c33624c467b486c6c66528d5dc116fef92cd6e879f28c77f6 WHIRLPOOL 9373d85815c237f41393bf00351a16bc3f824dbe98298ceb56f69b941e5cf34376ce20ff213a0f419283c873c81ba7504ec21299aff14dceeb6ad85711bb8cfd
23991 DIST feh-2.6.1.tar.bz2 2238724 SHA256 36edacec2f8d0d13035202e68f09ccf5d2ee5dc1d95157e8ee6bcde9c0a5283a SHA512 821fd1a5965cc66c1fe74f14b3dbf059379504c0d2d85b0299505c9616dfe340e61e07efc7b9317b9a556d687f9059c628b0afc738acee3c634aad2f9a097266 WHIRLPOOL 785b74065958757026f8e0775194cf3ae77f817058cc0b35179f002e7ea3e51c07006b8a3371c48f5b70979a13a81a298a35fd9a69b78ad401d962a0ef78ef1e
23992 +DIST feh-2.6.2.tar.bz2 2239073 SHA256 6758b68ec133bbedc3373966129a521f35dea2f354ed6a571dbe7a9bd4ddf5ca SHA512 4a4f7d905bd922857e08b4422f8c5b019c9e62cb56022f0c29dabec1ca60ccab4b0f73387d782962aef8bbcd3d37f86d5e287f329e40fb4edfc3e5cc3edfe499 WHIRLPOOL 63f6df47197f0d546d64167554333622bc70d858be229e5bbd9182a33b6e3dd7afc4af3629c139f2ba25c4e65f6d1ab92c8f666f5fe1e18a5e2d7363d1c5fe5e
23993 DIST feh-2.6.tar.bz2 2238237 SHA256 172e248a2f2f2b87652598823a3bc51058ea9d4f0378e6900723bfa34e345e7c SHA512 34da10440843ee55a5a3e35de33bdb47e868c9f4081772bb53c012eedd64f02ba28eb646d6e5efa61b4e5462d3c5d035ccb02becce2604fb4f6bcf71ff76a461 WHIRLPOOL 62879c942c2de155451c24d05cb21456b24f0b7052545e665b43c287a8524e17c48739d74e99b5ff66ccaa2c53505971fc8df75234b0fa61790a6d8a958cbf09
23994 EBUILD feh-2.5.ebuild 1251 SHA256 da2b5db2db2187233c5225146767618a13aeb7ac79047d2fe47f8384e054d2b6 SHA512 23f70609da7b632f5f991bf8a760e3514ce467ff3e50fbf04e627c3caea909e6fbdd0026dfe73edf82927225ceef4cff4673c82d2f10cc48084ad6331ba1bd04 WHIRLPOOL c68c49b2f446795a420615bb4eb0e8e3268dbe5c675fcd50460be9f2490a0409faddca34743de7bc131e16f58a917ff863f682531b93e8f7d805fada4e981e9a
23995 EBUILD feh-2.6.1.ebuild 1341 SHA256 04fa8ff4df95c21e135e976cddff50706cb1f2a12bc0d101070c96998976c0d8 SHA512 9d540a5801fd6e6bfa9d874ba0551f17c47266eee4a4a275cb34448d2952a878e54ae9182de1676043fd69c1a169544ce46cf90da02b73fe9515ec9b9221c6d5 WHIRLPOOL 5bb44802d4574b9fbf625c846c7e3f2fcd7948d253986301ec251a54bb903550180486901b9f3133ebe13c9506242d2fc67a542f719b529c309746851d80e625
23996 +EBUILD feh-2.6.2.ebuild 1403 SHA256 df2a7819c00e50d8e85c1d1cb02e183d7a9c4b68e1b884c9f30b133a4ef2d935 SHA512 1a4ef4a0ed671062d36eae9faf85d5786876c57d703c7df39fdecb9510e2a4139754de9cc83db25e73a8c213776c952f4eedc4045b4e37b2529395d1148d1028 WHIRLPOOL ba4aa4e34ae030d91aee835576768006c266a76d5ede09fbf8973fd72e7950de147cf49bc20f16e518970f0fa1fd68b7e82aaebe47b3eda59cc0762abb018c18
23997 EBUILD feh-2.6.ebuild 1338 SHA256 4c717c2915394fe49ae95bcb9c1a1c7a7ce51d62a7bee003088384729439e1c8 SHA512 0a6959537d67c458137f4183096754347d272fe3ef04fab8f68c409e0ab0fb6f264b019754ab6bd856259b61be188eec6906926094fcf23838f3b0169a9bffa6 WHIRLPOOL ef683bb7de476dc2fcc337860af41a9b0d819176097e954a3c81dcff546989ac66980838f70037a16078930837de021cd9b8381df97461192c694d4a41770a61
23998 -MISC ChangeLog 12975 SHA256 373f78fd377a7cad4443dcde28b9c20fb80060b9f657b39cd48ab5065f8510ce SHA512 e9f9e79eed0fd6b6252a40b87aeab905f8a8e59985c5968580fc5a3a5c4223d05908f4ca5799a025f39b472f5eb3b17ded460dc40f7077762424e0926edfa969 WHIRLPOOL 74e3c6f8762b09280e751f41bcf6598706c2540d1fbd6bd70c38699d681771811b689aebd0b7ed478b7e140af3686c8112340a4eeb3d791ee54d6eab43dacd94
23999 +MISC ChangeLog 13125 SHA256 0ca39dde52dfab232b9765889e299ee8a50fef270b1c311ce28de9874cf4e598 SHA512 ea966d2eeb5083d822eaf8ea618bd14a69a10ddc003596be6023afa824157c38b100f13172cf4c580b6161a34327cdb69a441de9f2942b8004d1adee55314f23 WHIRLPOOL 5b5abc5569e4aa1e200dfa377b3909d53cf696a8553fcde7f090eb90cca9ff07fcc3bda96cd036262ba145a0087a0c0afff639dbf95214d493ba8f7b2b0023fd
24000 MISC metadata.xml 357 SHA256 91c6ea742ef1f0bf7cf47634ccb91eadcb32624c300f782511121d7420e322bd SHA512 db8eb56cb6d97712ca557dacd10c8705058cfdae7a3136721606096580c89bf3199575ddae0e0b37389885e98abd60946ef106ec9e5f392091a965705f8f6719 WHIRLPOOL c703225cac865456c5c63d7d777dc04df9e556bb7661fe4137fbfafab65bc76c7a6e9b7ca7e12aef184d521cc22a2123f4abdb178241d3fcf27ef6c3773696df
24001
24002 diff --git a/media-gfx/feh/feh-2.6.2.ebuild b/media-gfx/feh/feh-2.6.2.ebuild
24003 new file mode 100644
24004 index 0000000..f7d0493
24005 --- /dev/null
24006 +++ b/media-gfx/feh/feh-2.6.2.ebuild
24007 @@ -0,0 +1,63 @@
24008 +# Copyright 1999-2012 Gentoo Foundation
24009 +# Distributed under the terms of the GNU General Public License v2
24010 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-2.6.2.ebuild,v 1.1 2012/09/26 22:18:24 radhermit Exp $
24011 +
24012 +EAPI=4
24013 +inherit eutils toolchain-funcs
24014 +
24015 +DESCRIPTION="A fast, lightweight imageviewer using imlib2"
24016 +HOMEPAGE="http://feh.finalrewind.org/"
24017 +SRC_URI="http://feh.finalrewind.org/${P}.tar.bz2"
24018 +
24019 +LICENSE="as-is"
24020 +SLOT="0"
24021 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
24022 +IUSE="debug curl exif test xinerama"
24023 +
24024 +COMMON_DEPEND=">=media-libs/giblib-1.2.4
24025 + media-libs/imlib2
24026 + >=media-libs/libpng-1.2:0
24027 + x11-libs/libX11
24028 + curl? ( net-misc/curl )
24029 + exif? ( media-libs/libexif )
24030 + xinerama? ( x11-libs/libXinerama )"
24031 +RDEPEND="${COMMON_DEPEND}
24032 + virtual/jpeg"
24033 +DEPEND="${COMMON_DEPEND}
24034 + x11-libs/libXt
24035 + x11-proto/xproto
24036 + test? (
24037 + >=dev-lang/perl-5.10
24038 + dev-perl/Test-Command
24039 + )"
24040 +
24041 +# requires the mandoc utility which we don't have at the moment
24042 +RESTRICT="test"
24043 +
24044 +pkg_setup() {
24045 + use_feh() { usex $1 1 0; }
24046 +
24047 + fehopts=(
24048 + DESTDIR="${D}"
24049 + PREFIX=/usr
24050 + doc_dir='${main_dir}'/share/doc/${PF}
24051 + example_dir='${main_dir}'/share/doc/${PF}/examples
24052 + curl=$(use_feh curl)
24053 + debug=$(use_feh debug)
24054 + xinerama=$(use_feh xinerama)
24055 + exif=$(use_feh exif)
24056 + )
24057 +}
24058 +
24059 +src_prepare() {
24060 + epatch "${FILESDIR}"/${P}-debug-cflags.patch
24061 +}
24062 +
24063 +src_compile() {
24064 + tc-export CC
24065 + emake "${fehopts[@]}"
24066 +}
24067 +
24068 +src_install() {
24069 + emake "${fehopts[@]}" install
24070 +}
24071
24072 diff --git a/media-gfx/feh/files/feh-2.6.2-debug-cflags.patch b/media-gfx/feh/files/feh-2.6.2-debug-cflags.patch
24073 new file mode 100644
24074 index 0000000..a4a71ac
24075 --- /dev/null
24076 +++ b/media-gfx/feh/files/feh-2.6.2-debug-cflags.patch
24077 @@ -0,0 +1,11 @@
24078 +--- feh-2.6.2/config.mk
24079 ++++ feh-2.6.2/config.mk
24080 +@@ -32,7 +32,7 @@
24081 + endif
24082 +
24083 + ifeq (${debug},1)
24084 +- CFLAGS += -DDEBUG -O0
24085 ++ CFLAGS += -DDEBUG
24086 + MAN_DEBUG = . This is a debug build.
24087 + else
24088 + MAN_DEBUG =
24089
24090 diff --git a/media-gfx/graphite2/Manifest b/media-gfx/graphite2/Manifest
24091 index 86ebd9b..5f4752e 100644
24092 --- a/media-gfx/graphite2/Manifest
24093 +++ b/media-gfx/graphite2/Manifest
24094 @@ -3,6 +3,8 @@ AUX graphite2-1.0.3-no-test-binaries.patch 620 SHA256 c51a69ed5e8ff6301d35aa97ca
24095 AUX graphite2-1.1.0-includes-libs-perl.patch 685 SHA256 da7a24551fa9029214a909ae6a49070c12f889eae287ce2c392555b0299db32e SHA512 b041b81fd6cb787305ff2b08e32a99c2977b1c456c9f95e5909ade203403ac1f88d4ed88bd76e2062ef0149ce3d1256c254546e4dda14eaf808c17b8700570b1 WHIRLPOOL 284ba0607dc65d6c9eb4b0fd1ddeed45600be48cb3a1478f3f931b4cbdd0b41a3e4029ee5812f6d4f391fe5521af5242c0389691f3facb591d77eaf9f20f5fa1
24096 AUX graphite2-fix_wrong_linker_opts.patch 760 SHA256 95c943e57043f7368c44e1cd5fbadd5fabeb91ba4799072d1ffc2ef8d818454d SHA512 d194041213a439a50a58edd699d17e0c07bb4b2bb65dcc969e6f551187207763a151db25b116f2809a54b13bbc8b1cd8621187fa30ee46fc42fa324c0718e1d6 WHIRLPOOL bdf27de3672958af7b256b01d2d86b332bcc665fc786f67df038cbc6ecfe6a664480e7dfdbd6adbf88452af3095a0deae0b8b0aa93e0664d4e164647cea8b37f
24097 DIST graphite2-1.1.3.tgz 3680838 SHA256 0eb19282a1941bdd5e6d7165718c5d4692d62bac6c1eea56d9e522715cb144f7 SHA512 0e7c29f4a8421c937ee5255c0708a60fdb903272c3084d18185d4910e9b527751ed44d8d6ac3c64a13e3093ac51137ddc7b6f7beac60be5952fd473b750d21a6 WHIRLPOOL 995a4b0b1c040c95d0c2ca07c8c98d2673ba1d93d892f7166523cfdb8a502ff2214c38317107b849d7675f815c0b80fa0eb74588687a565fa1acd1726bf1059d
24098 +DIST graphite2-1.2.0.tgz 4663935 SHA256 630fba251c7e570f2b0c4a0c63a7abb4d45b0246d390f53188b1a9b73de7b96e SHA512 56b88e1665f4aa7316ec4b3975dd5aa24b4420bbb86991ade0130f28c082c9121f651a351cffa893f32b1fc28085315c7b7521a9976eacd066e34bc54febdd21 WHIRLPOOL 8a679b9455cafb5bd2ca6d460bca5ea004191e81d353e38c6712c364b2e0334581d59c578e956bdd3317af0ca3a1d8d62c0f676bb768fe37065e9c972e944901
24099 EBUILD graphite2-1.1.3.ebuild 1945 SHA256 de8820b272e702286edeb37cd07c18b087d09b0df82dcaa5d35b4421ede3ef8b SHA512 a9b27f37a894329dde64fe6704cb270b264fe70f8de81d0b8c3801889ff8210fe08122cd51bedf16f874f8509535de912275ddc6a73c905846f9de9cd2545a9e WHIRLPOOL 26808d387a986e245417e11f86f4a5d796b1480c2f62e72b66facd8b2f5ad2bdc99c75629caecf8e51ef86608a9c325ac523ed9fd4de5ce47b886aca2aec26b3
24100 -MISC ChangeLog 5864 SHA256 2d31bc7f5df390d8806b62b2358e68b174ec2f6f05af174c7edfd64fb4d72e32 SHA512 55eb7f9898b9339bceed7fbc4a2396b2cb4c7064da9cc55ab2b0b0480d7ee432234c678ca263fd18a427dd54e95a2c896212eeae626f5f13cd30a2125e68f7be WHIRLPOOL d661da3cbe1d8c8a35eeb43f2ad16200d10d0264c2bee82148a1485a7190bb80acef01213a800f3aebb5dc52956e4c63f79d7a2f15fc227cb7426675898e95e3
24101 +EBUILD graphite2-1.2.0.ebuild 1895 SHA256 a694dcf494af127a267dc73acb6992432835913bccfdf881008e97af70f9cbc5 SHA512 8eae6de05732f91954efdadcbd582b3c4bafb47dd0f9201e39597499fd3dcb819fdf2e36dc987a8031a098389dda7b9d1873c5f76d502f89c179512ec1248c11 WHIRLPOOL 2c37e9718dff45d8293b2f53633142362aeb9b1c437b06be16b528b48818c2e886aa700de717676423806f5b1b2963b1e60d984823ef4a1f3c2a2c6fb19ab2eb
24102 +MISC ChangeLog 6011 SHA256 8ef34f70ebe080f95d535deb4b05b7432bebe83f3144fb7b84cef380f6fbc200 SHA512 0b39f8e7218b59006b6543318e8c7b6eb7bf8ad863f96bc041fb3d243a4f40b0be19de87f9912761e16bbded4840277860bdd8f62d744a4c89342abdcca2c9d5 WHIRLPOOL c83efb6bb6e1aced1dfb2355fb1cb6e092b3c77fd663f4352eeec27b040f70a0f55296cb149f16f50ee01d0f41b60e57fdf1177018601d9330e1f6b42d19d994
24103 MISC metadata.xml 163 SHA256 4539da09a369d01dcec488c471eeaaef71b60686482101eba357344538e994e2 SHA512 44b0091513637625b4b535bbe66410dde135890a60411dcdffc2cfd1750b840bc9655c90b032612ff41499007f45db7bbff28d0874e287ae7411230eea9e0446 WHIRLPOOL 142e95052e96ae05c79dc2e03bb300cc5fcf9a4fa751a55f1f85cad7ab1e597d21acec98517bf92d28a44742b98c7ff0756b660b8e7a86f77e15ed94b6e183a8
24104
24105 diff --git a/media-gfx/graphite2/graphite2-1.2.0.ebuild b/media-gfx/graphite2/graphite2-1.2.0.ebuild
24106 new file mode 100644
24107 index 0000000..2430048
24108 --- /dev/null
24109 +++ b/media-gfx/graphite2/graphite2-1.2.0.ebuild
24110 @@ -0,0 +1,100 @@
24111 +# Copyright 1999-2012 Gentoo Foundation
24112 +# Distributed under the terms of the GNU General Public License v2
24113 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.2.0.ebuild,v 1.1 2012/09/25 13:56:58 scarabeus Exp $
24114 +
24115 +EAPI=4
24116 +
24117 +PYTHON_DEPEND="test? 2"
24118 +GENTOO_DEPEND_ON_PERL="no"
24119 +inherit base cmake-utils perl-module python
24120 +
24121 +DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
24122 +HOMEPAGE="http://graphite.sil.org/"
24123 +SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
24124 +
24125 +LICENSE="LGPL-2.1"
24126 +SLOT="0"
24127 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
24128 +IUSE="perl test"
24129 +
24130 +RDEPEND="
24131 + perl? ( dev-lang/perl )
24132 +"
24133 +DEPEND="${RDEPEND}
24134 + perl? ( virtual/perl-Module-Build )
24135 + test? (
24136 + dev-libs/glib:2
24137 + media-libs/fontconfig
24138 + media-libs/silgraphite
24139 + )
24140 +"
24141 +
24142 +PATCHES=(
24143 + "${FILESDIR}/${PN}-1.1.0-includes-libs-perl.patch"
24144 + "${FILESDIR}/${PN}-1.0.2-no_harfbuzz_tests.patch"
24145 + "${FILESDIR}/${PN}-1.0.3-no-test-binaries.patch"
24146 +)
24147 +
24148 +pkg_setup() {
24149 + use perl && perl-module_pkg_setup
24150 + if use test; then
24151 + python_set_active_version 2
24152 + python_pkg_setup
24153 + fi
24154 +}
24155 +
24156 +src_prepare() {
24157 + base_src_prepare
24158 +
24159 + # fix perl linking
24160 + if use perl; then
24161 + _check_build_dir init
24162 + sed -i \
24163 + -e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \
24164 + contrib/perl/Build.PL || die
24165 + fi
24166 +
24167 + # make tests optional
24168 + if ! use test; then
24169 + sed -i \
24170 + -e '/tests/d' \
24171 + CMakeLists.txt || die
24172 + fi
24173 +}
24174 +
24175 +src_configure() {
24176 + local mycmakeargs=(
24177 + "-DVM_MACHINE_TYPE=direct"
24178 + )
24179 +
24180 + cmake-utils_src_configure
24181 +}
24182 +
24183 +src_compile() {
24184 + cmake-utils_src_compile
24185 + if use perl; then
24186 + cd contrib/perl
24187 + perl-module_src_prep
24188 + perl-module_src_compile
24189 + fi
24190 +}
24191 +
24192 +src_test() {
24193 + cmake-utils_src_test
24194 + if use perl; then
24195 + cd contrib/perl
24196 + perl-module_src_test
24197 + fi
24198 +}
24199 +
24200 +src_install() {
24201 + cmake-utils_src_install
24202 + if use perl; then
24203 + cd contrib/perl
24204 + perl-module_src_install
24205 + fixlocalpod
24206 + fi
24207 +
24208 + find "${ED}" -name '*.la' -exec rm -f {} +
24209 +
24210 +}
24211
24212 diff --git a/media-gfx/inkscape/Manifest b/media-gfx/inkscape/Manifest
24213 index bfc30bd..3f80670 100644
24214 --- a/media-gfx/inkscape/Manifest
24215 +++ b/media-gfx/inkscape/Manifest
24216 @@ -1,11 +1,8 @@
24217 AUX inkscape-0.48.0-spell.patch 1815 SHA256 697c781a7aa378f0e65160838fd13919f70b4d886dd77b8b9bdfe7f3181f1a4f SHA512 17f0f9397eebbd5a322757db9f574e4fc848bc1f53e2e0f603eb3c5d7bdf6772b8461189365533fbaa5adb4fdce5264b0c3da015c9ed5ca54873d64cc860880c WHIRLPOOL 6868334e146f00b81c521e54bc261e0153c17e8fd6b176fda826e75203674b8e6904fa092db2856b6512dfe2040b9f268781af909a9a2690bdd8e9152fbdfded
24218 -AUX inkscape-0.48.1-lcms.patch 368 SHA256 10afc0e2c125229cd9bd7f34cd8ec743ff9188af81e2d6184298374c58102363 SHA512 f902fb242d2b124034c428f5efa4e8aeac3bde106eb087bc2bf2aa1adca78585569a402ab523fbdcf87b730d7887c152fa43a639f8f3ebfbadbf29b0b7bd2f88 WHIRLPOOL 3d159abefaf16e30ce3ed4f24f113195dd7f0596f12f862d65712b26cdd84ab987527a4f0fb4e705292e6f95f7c04bc39f9922cc542fc66e102a5766f9b6343f
24219 AUX inkscape-0.48.1-libpng15.patch 1616 SHA256 55e113db90267d6789cdb6a54a6c744bd0e9d755b2a7b5835a3713ea04e98c87 SHA512 f783982c8cf2cfc805cb56b6f93e5ecfdce676955f5ddd150f8d9868aa3d7d5ad571dcb1fe12c9c03e35cc05609625ea129894c95b002f0897571016d177c58e WHIRLPOOL d8f3576bb78c9e2491adc0778987f3c72846a3dc1b561c9d4550ef85aca6c8d5fff5a24a8b1854a302891339aecee4aefd4d80121c0db23cb85e2f29a6a10e1c
24220 AUX inkscape-0.48.2-libwpg.patch 1006 SHA256 12cea23c64ef880bbd02e67002ca05c33475701e489d9d0ba3e057b6c2c71c9d SHA512 268df3061749cd5940612b098565d8005de55a1ab7ef9d0f6a51ff93c0535afdcc4943231e019137282ccce0a8cacf0e0176f55926d792590cd22f37bf648c19 WHIRLPOOL a25e107731eab0f7fc5b3652387f090b78f6838f118f6807ad369b599091781f8d0258b8f9a5aa219dd5c57da7cb5661fe482a650d06683b1ab2d9850f067a92
24221 -DIST inkscape-0.48.2.tar.bz2 19583331 SHA256 223a42ba6e3644bb2956c485ca0c210edc14e90fa882cdc57c1bb9f35b8f6783
24222 DIST inkscape-0.48.3.1-poppler-0.20.patch.bz2 3831 SHA256 c48c8ac90c4d5759bc96facb584db50ad7e32a29398553bf8465f1c5c81548ef SHA512 6f64eea80f19734824de4565698da53d9b033cadef6de0913c88ede5c50a34feb5f500a6c3fe3312f6c8bbaf3a7b6d54680ea0386349076c162c0ecc7b8547d9 WHIRLPOOL dabe6c089491250b3555214beb3e2f45e42bc1a915e7ea8cd89f1e34d2d622c940918808f8a8eb963013769fa218acb3bea1bbf28ce6b5f867b84ab815809aa7
24223 DIST inkscape-0.48.3.1.tar.bz2 19688778 SHA256 073bf585b6a708747485f2de1f5a1b77c3f45a79e6ee128bf946bae99476db88 SHA512 8b1d75daf2ea6f84d70117381b9e1674a70de5783e08f4095f0ca6f81726096951459cfbde43be3e578fbc3a0b1a02f205de8570e70e167a795296a3eca5c8c3 WHIRLPOOL 427b57006df728bba05c0e79b2c7aa6f81f63ed3475393f1bae1356e6b0af07d1bc0aaee73111902d82d28ccd1c9ce4db51ce10333e03221e60d786007738b4f
24224 -EBUILD inkscape-0.48.2.ebuild 2582 SHA256 61d052baac3c8855cd0382ab8f62e5ddf7280375d361c87c89c9597991416651 SHA512 98b302ec285b6fc23d618e056e5d840723d93e01b99897bc103313871534004dada2b294ce65b6a70cb4aaf06b766407038e06f999b4202204ebb4e61c169c60 WHIRLPOOL 9d9bd392d825119f7b205f48da94856b77041c1c4f37595379a257e121542318ac491611f05fcc6208c50782fbbe75d7b8bd044e99294b00b29e8bf8f74540ea
24225 -EBUILD inkscape-0.48.3.1.ebuild 2678 SHA256 e04e95d1ebe75aeafd6dcc5401dfe0cfe97365e110eacd446e712eec022a19f8 SHA512 bfa651cd6622b99292332d206bfb822126849e295202a3afdd51860ea4981940330fe876a0d05f436224a5f89b7996ef929dcd1033a68d8b6967806fb147d439 WHIRLPOOL b7ca6ab32e08149ce66b6a20361c245e38d6cc3f7c5af7dc63374d46b396a51088c541c60ad6b0a19d3f6b4db251264e19d6a34238b34008d31f34086728d590
24226 -MISC ChangeLog 25993 SHA256 0258451ca6b9cbbacd474e2b0c0d177f9f219723afc3cc2d919ea3650842203b SHA512 42a81fa4d9de641c031afcd88ca54fba5e582706180c750e11b6705b6a9053f6f8be08b80febd0fe5d6cabad3938e258d244ab6c6d4c65122b9ddc5d0e9b221f WHIRLPOOL 2058e0434d2fb73a6caa47800a5fa84d6bbb5afe51b3206c7f7f6308b481ba0a3b5c2b082421d7c4ca01ba40acd57c1b2c2cec1fd3b0831ff912adcd1190ebde
24227 +EBUILD inkscape-0.48.3.1.ebuild 2638 SHA256 300401cfaa79b71badfb0a06826cf03a1f5509aa634c35096c30557f9da969cc SHA512 4fbe1e7b6383252c2f89931dc98e4b51ca455ed0be9a890794f503d9636b1445fac89c887802a311b00dcf70fc5676e5db8410d68b3728a678e3f0f28eeb387c WHIRLPOOL b33c9a86da55f280ac74457d4fa4b994ebcd07dde45308c2201a1ce7fb31d40e37b1820f09f5aa310173ff28336f8822b96870f22c411598c661598b2ecaed4d
24228 +MISC ChangeLog 26259 SHA256 043efc0ece02f309a1f1f2d6b935d44790da95b70a5023a0e1d4793b0d4dcfe2 SHA512 761d7bcb06598c74286ecc063488d4c21d04b93c00ca71e6b61c3adfcdcad93d17f05c5d9c90ea218705f65d08ee3cae1068d958d5dc086eb4799dedd8184675 WHIRLPOOL 9ede8888a1abc762acf388897a543508724be6d9b3e096e5915ab11e4085cc9a42fc15c1f9b7fd433ce535438300775249668e6dba0d79a52217ae95654e00c7
24229 MISC metadata.xml 354 SHA256 705fec37c8550d17c1ef9260c24a45843351908700c9fe3eb1d652e4a601e007 SHA512 e8798a3aa2a76aed27f2b7124792d7b4972300146b7cfec3e8e86c42196e8746f63a45a64c12161d1c2b2f4bd211d43eedbb29738277cd319d899dd156089bd3 WHIRLPOOL c1d998bc9e5fdadaaf70bd0f8cf2e7b41a0495f73a1d6ff0c55d1c006b11d263a2fa1c405cf5eacd0a490e6300578a126303ce47dcbc844a362b7e07ee506608
24230
24231 diff --git a/media-gfx/inkscape/files/inkscape-0.48.1-lcms.patch b/media-gfx/inkscape/files/inkscape-0.48.1-lcms.patch
24232 deleted file mode 100644
24233 index 0b19188..0000000
24234 --- a/media-gfx/inkscape/files/inkscape-0.48.1-lcms.patch
24235 +++ /dev/null
24236 @@ -1,20 +0,0 @@
24237 ---- inkscape-0.48.1/src/color-profile.cpp.orig
24238 -+++ inkscape-0.48.1/src/color-profile.cpp
24239 -@@ -31,6 +31,7 @@
24240 - #include "inkscape.h"
24241 - #include "document.h"
24242 - #include "preferences.h"
24243 -+#include "io/sys.h"
24244 -
24245 - #include "dom/uri.h"
24246 - #include "dom/util/digest.h"
24247 -@@ -557,9 +558,6 @@
24248 - return (outofgamut == 255);
24249 - }
24250 -
24251 --
24252 --#include <io/sys.h>
24253 --
24254 - class ProfileInfo
24255 - {
24256 - public:
24257
24258 diff --git a/media-gfx/inkscape/inkscape-0.48.2.ebuild b/media-gfx/inkscape/inkscape-0.48.2.ebuild
24259 deleted file mode 100644
24260 index 8133926..0000000
24261 --- a/media-gfx/inkscape/inkscape-0.48.2.ebuild
24262 +++ /dev/null
24263 @@ -1,96 +0,0 @@
24264 -# Copyright 1999-2012 Gentoo Foundation
24265 -# Distributed under the terms of the GNU General Public License v2
24266 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.2.ebuild,v 1.14 2012/08/08 16:31:42 dilfridge Exp $
24267 -
24268 -EAPI="5"
24269 -inherit eutils flag-o-matic autotools gnome2
24270 -
24271 -MY_P="${P/_/}"
24272 -S="${WORKDIR}/${MY_P}"
24273 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
24274 -
24275 -DESCRIPTION="A SVG based generic vector-drawing program"
24276 -HOMEPAGE="http://www.inkscape.org/"
24277 -
24278 -LICENSE="GPL-2 LGPL-2.1"
24279 -SLOT="0"
24280 -KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
24281 -IUSE="dia gnome postscript inkjar lcms nls spell wmf"
24282 -
24283 -RESTRICT="test"
24284 -
24285 -COMMON_DEPEND="
24286 - >=app-text/poppler-0.12.3-r3[cairo,xpdf-headers(+)]
24287 - dev-cpp/glibmm
24288 - >=dev-cpp/gtkmm-2.18.0:2.4
24289 - >=dev-libs/boehm-gc-6.4
24290 - >=dev-libs/glib-2.6.5
24291 - >=dev-libs/libsigc++-2.0.12
24292 - >=dev-libs/libxml2-2.6.20
24293 - >=dev-libs/libxslt-1.0.15
24294 - dev-libs/popt
24295 - dev-python/lxml
24296 - media-gfx/imagemagick[cxx]
24297 - media-libs/fontconfig
24298 - media-libs/freetype:2
24299 - >=media-libs/libpng-1.2:=
24300 - app-text/libwpd:0.9
24301 - app-text/libwpg:0.2
24302 - sci-libs/gsl
24303 - x11-libs/libXft
24304 - >=x11-libs/gtk+-2.10.7:2
24305 - >=x11-libs/pango-1.4.0
24306 - || ( dev-lang/python[xml] dev-python/pyxml )
24307 - gnome? ( >=gnome-base/gnome-vfs-2.0 )
24308 - lcms? ( media-libs/lcms:0 )
24309 - spell? (
24310 - app-text/aspell
24311 - app-text/gtkspell:2
24312 - )"
24313 -
24314 -# These only use executables provided by these packages
24315 -# See share/extensions for more details. inkscape can tell you to
24316 -# install these so we could of course just not depend on those and rely
24317 -# on that.
24318 -RDEPEND="
24319 - ${COMMON_DEPEND}
24320 - dev-python/numpy
24321 - media-gfx/uniconvertor
24322 - dia? ( app-office/dia )
24323 - postscript? ( app-text/ghostscript-gpl )
24324 - wmf? ( media-libs/libwmf )"
24325 -
24326 -DEPEND="${COMMON_DEPEND}
24327 - dev-libs/boost
24328 - sys-devel/gettext
24329 - virtual/pkgconfig
24330 - x11-libs/libX11
24331 - >=dev-util/intltool-0.29"
24332 -
24333 -pkg_setup() {
24334 - G2CONF="${G2CONF} --without-perl"
24335 - G2CONF="${G2CONF} --enable-poppler-cairo"
24336 - G2CONF="${G2CONF} --with-xft"
24337 - G2CONF="${G2CONF} $(use_with gnome gnome-vfs)"
24338 - G2CONF="${G2CONF} $(use_with inkjar)"
24339 - G2CONF="${G2CONF} $(use_enable lcms)"
24340 - G2CONF="${G2CONF} $(use_enable nls)"
24341 - G2CONF="${G2CONF} $(use_with spell aspell)"
24342 - G2CONF="${G2CONF} $(use_with spell gtkspell)"
24343 - DOCS="AUTHORS ChangeLog NEWS README*"
24344 -}
24345 -
24346 -src_prepare() {
24347 - gnome2_src_prepare
24348 - epatch "${FILESDIR}"/${PN}-0.48.0-spell.patch \
24349 - "${FILESDIR}"/${PN}-0.48.1-libpng15.patch:= \
24350 - "${FILESDIR}"/${PN}-0.48.1-lcms.patch \
24351 - "${FILESDIR}"/${P}-libwpg.patch
24352 - eautoreconf
24353 -}
24354 -
24355 -src_configure() {
24356 - # aliasing unsafe wrt #310393
24357 - append-flags -fno-strict-aliasing
24358 - gnome2_src_configure
24359 -}
24360
24361 diff --git a/media-gfx/inkscape/inkscape-0.48.3.1.ebuild b/media-gfx/inkscape/inkscape-0.48.3.1.ebuild
24362 index 8cfcdc2..b9de093 100644
24363 --- a/media-gfx/inkscape/inkscape-0.48.3.1.ebuild
24364 +++ b/media-gfx/inkscape/inkscape-0.48.3.1.ebuild
24365 @@ -1,6 +1,6 @@
24366 # Copyright 1999-2012 Gentoo Foundation
24367 # Distributed under the terms of the GNU General Public License v2
24368 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.3.1.ebuild,v 1.12 2012/08/08 16:31:43 dilfridge Exp $
24369 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.3.1.ebuild,v 1.13 2012/09/24 04:56:49 radhermit Exp $
24370
24371 EAPI="5"
24372
24373 @@ -9,7 +9,7 @@ PYTHON_USE_WITH="xml"
24374
24375 GCONF_DEBUG=no
24376
24377 -inherit autotools eutils flag-o-matic gnome2 python
24378 +inherit autotools eutils flag-o-matic gnome2 python boost-utils
24379
24380 MY_P="${P/_/}"
24381 S="${WORKDIR}/${MY_P}"
24382 @@ -72,17 +72,7 @@ DEPEND="${COMMON_DEPEND}
24383 virtual/pkgconfig
24384 >=dev-util/intltool-0.29"
24385
24386 -pkg_setup() {
24387 - G2CONF="${G2CONF} --without-perl"
24388 - G2CONF="${G2CONF} --enable-poppler-cairo"
24389 - G2CONF="${G2CONF} $(use_with gnome gnome-vfs)"
24390 - G2CONF="${G2CONF} $(use_with inkjar)"
24391 - G2CONF="${G2CONF} $(use_enable lcms)"
24392 - G2CONF="${G2CONF} $(use_enable nls)"
24393 - G2CONF="${G2CONF} $(use_with spell aspell)"
24394 - G2CONF="${G2CONF} $(use_with spell gtkspell)"
24395 - DOCS="AUTHORS ChangeLog NEWS README*"
24396 -}
24397 +DOCS="AUTHORS ChangeLog NEWS README*"
24398
24399 src_prepare() {
24400 gnome2_src_prepare
24401 @@ -96,6 +86,19 @@ src_prepare() {
24402 }
24403
24404 src_configure() {
24405 + G2CONF="${G2CONF}
24406 + --without-perl
24407 + --enable-poppler-cairo
24408 + $(use_with gnome gnome-vfs)
24409 + $(use_with inkjar)
24410 + $(use_enable lcms)
24411 + $(use_enable nls)
24412 + $(use_with spell aspell)
24413 + $(use_with spell gtkspell)"
24414 +
24415 + # support building with >=boost-1.50
24416 + append-cppflags -I$(boost-utils_get_includedir)
24417 +
24418 # aliasing unsafe wrt #310393
24419 append-flags -fno-strict-aliasing
24420 gnome2_src_configure
24421
24422 diff --git a/media-gfx/iscan/Manifest b/media-gfx/iscan/Manifest
24423 index 2f119f3..63c7953 100644
24424 --- a/media-gfx/iscan/Manifest
24425 +++ b/media-gfx/iscan/Manifest
24426 @@ -6,7 +6,7 @@ AUX iscan-usb.sh 826 SHA256 8ece8711de7ebfd7d9266e96d8cdf4c7bc12ad52ab2125901625
24427 DIST iscan_2.26.2-1.tar.gz 1106921 SHA256 e528070f588fe6166c321610dcdeed6c7cf8110152303fdbf03240e68a593659
24428 DIST iscan_2.28.1-3.tar.gz 1195938 SHA256 97fbaf4d66697762a32768b96f3ecb59c3582b6fdc1c1919119f8b73aa2d3b13
24429 DIST userg_revL_e.pdf 574224 SHA256 e68a45d600f702311d10a0e13d42c5b32036df172e8f07728604291b823ec876
24430 -EBUILD iscan-2.26.2.ebuild 4349 SHA256 3de863d05cc004e529186a1782a59e320be1b5ece3d4457806d4a923bac6d52b SHA512 07a278c3df67ccc774bde5f4dddc7cd03ff34d4835c4c148b9a4117a3e89e33a501069b7e4e7137fa69905a86d8dcfe36c1f9efc4a974bea93358072fca2af60 WHIRLPOOL 04922c4d0b4d65b6b577ab594368573752b450d87c001da44b1b4423171cc15b50079a4a68cce2db279daf0bcf00478ef32bdedafdfab879052ef23046415c6f
24431 -EBUILD iscan-2.28.1.3.ebuild 4424 SHA256 fd7d23f08501d6d856d999beb3fd2665d1ada5b98f988cf6d6ecd174c08fbae4 SHA512 3509d007fefbe24c27222559a62a70b541c3fe9094bbdaff7a469174065dbb168988a489775a8aca67851338f291ddaa21c421cf6969f5905a6950c0b1419661 WHIRLPOOL 5a6c5a2bf42c284312df22db1cdd1e249c936df89561d6d34f2f8e71e0c5437dd82471d0c3ec6b89c5526535fb3ffc8579da880bece96347b203f891946159ed
24432 -MISC ChangeLog 8894 SHA256 9d450a2d61eccf8852eb716c789c72fdd4dc42f7a7501adba8977698bbb8e83e SHA512 691f164182bfff225096a990ba3f44bc6dd799a5b8d55b3cdc2cac204e4c2c3e5fc7276f9e525853b1dc50dd5ecc04ef75c97d4b2d0d3cfb1df99797ce060199 WHIRLPOOL 04f21270616d8302b7b105a83e0dae32bfd5c5aa992511d386f9e9aba0f1219f947bb235c2407c2e71d04212570b700af990939e85561bd826c6740bd350f2c0
24433 +EBUILD iscan-2.26.2.ebuild 4352 SHA256 2b7f0c93cae19786b1b71e1218b0c2f162b568c5d48e29bd8c56cca3b1b20809 SHA512 f56dfb7080d2bfed5dd57e970fa0dba6a2b9c14fd453df9837a90ac45d4806fd90a9fcbbff39dd66e18ab1760987a005672959552bb0d59c34d0186ff8bb7fd9 WHIRLPOOL 24ceb85df0c46554c52a524fa48a3c519956ed01b0f43e651b3dd97671d9d2e637a599d0d54987e4ff0849bc32047a48b5bc21e6f81f833d5f00c6a31aa0e9e3
24434 +EBUILD iscan-2.28.1.3.ebuild 4427 SHA256 c7de3983cb1ac6d1395c8ec802a254a0fd0190fae98502bcaf3737223cb4482e SHA512 8518f2b92039b43f9c1ad2c9797bf6ab9014d8f8af7691bdfc5cda4855f092111246beeeb55ff6b0ed72b254e845c5b8e56c41c243370937d3e62d3fcd0ef383 WHIRLPOOL 3670f5fe723c2a7343a709a576fb255e6e6a93b5aa7487143b896bc3dab6b6cbc2307543347a089c8f81edf2ff6e43eee4479c2ae7a1e5663d9e2826b3d28341
24435 +MISC ChangeLog 9053 SHA256 af3fde023d32330ec8ad92b6528c1ce07a6d7d5decdd044c0807975a1e6b6bf5 SHA512 6b0b781e73ec7ee0a5adea73f770f8c701a593746482352ca48808af58f1003116205d26512213381ea37b8624adbf67fd6b630d4724b16c5efb87fe6ed97151 WHIRLPOOL b512d6422ebb6f0b0d3bf37d1d3760d6e213954f1dab72ab0cb80d10298be1b408c2ce69d7d8665eb0d51894f9ff8f8e48c27b9c482f7c2042f7b6854d8d89c9
24436 MISC metadata.xml 652 SHA256 2eb198fd36ab27077883685af440e0fdfc372c05b4f2df7b8d27ee51eb9bda63 SHA512 04145cd6e675054c4da522093a6e2e61d9f2aa8598dd145127a39f389e3799bb2ce3bb294a2320fa6c7e133e28fced649341b2388f6cda1f1096ab110190895a WHIRLPOOL 50f1de575dda02127e7768a96504446b77aa5c7ab6c23702259845cb872df51f212c9e502ecc656dc7ae6083cced4b7c77eeb79b77f44c4ef276dc8679633dc7
24437
24438 diff --git a/media-gfx/iscan/iscan-2.26.2.ebuild b/media-gfx/iscan/iscan-2.26.2.ebuild
24439 index 8d4bea4..d9ed1e5 100644
24440 --- a/media-gfx/iscan/iscan-2.26.2.ebuild
24441 +++ b/media-gfx/iscan/iscan-2.26.2.ebuild
24442 @@ -1,6 +1,6 @@
24443 # Copyright 1999-2012 Gentoo Foundation
24444 # Distributed under the terms of the GNU General Public License v2
24445 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan/iscan-2.26.2.ebuild,v 1.7 2012/05/22 16:17:51 ssuominen Exp $
24446 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan/iscan-2.26.2.ebuild,v 1.8 2012/09/24 00:45:14 vapier Exp $
24447
24448 EAPI="2"
24449
24450 @@ -39,7 +39,7 @@ for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
24451
24452 QA_PRESTRIPPED="usr/$(get_libdir)/libesmod.so.*"
24453 QA_TEXTRELS="${QA_PRESTRIPPED}"
24454 -QA_DT_HASH="${QA_PRESTRIPPED}"
24455 +QA_FLAGS_IGNORED="${QA_PRESTRIPPED}"
24456
24457 # Upstream ships broken sanity test
24458 RESTRICT="test"
24459
24460 diff --git a/media-gfx/iscan/iscan-2.28.1.3.ebuild b/media-gfx/iscan/iscan-2.28.1.3.ebuild
24461 index 4203085..154cce7 100644
24462 --- a/media-gfx/iscan/iscan-2.28.1.3.ebuild
24463 +++ b/media-gfx/iscan/iscan-2.28.1.3.ebuild
24464 @@ -1,6 +1,6 @@
24465 # Copyright 1999-2012 Gentoo Foundation
24466 # Distributed under the terms of the GNU General Public License v2
24467 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan/iscan-2.28.1.3.ebuild,v 1.2 2012/07/01 12:49:08 flameeyes Exp $
24468 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan/iscan-2.28.1.3.ebuild,v 1.3 2012/09/24 00:45:14 vapier Exp $
24469
24470 EAPI="5"
24471
24472 @@ -40,7 +40,7 @@ for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
24473
24474 QA_PRESTRIPPED="usr/$(get_libdir)/libesmod.so.*"
24475 QA_TEXTRELS="${QA_PRESTRIPPED}"
24476 -QA_DT_HASH="${QA_PRESTRIPPED}"
24477 +QA_FLAGS_IGNORED="${QA_PRESTRIPPED}"
24478
24479 # Upstream ships broken sanity test
24480 RESTRICT="test"
24481
24482 diff --git a/media-gfx/luminance-hdr/Manifest b/media-gfx/luminance-hdr/Manifest
24483 index be99734..813c8e6 100644
24484 --- a/media-gfx/luminance-hdr/Manifest
24485 +++ b/media-gfx/luminance-hdr/Manifest
24486 @@ -1,12 +1,7 @@
24487 AUX luminance-hdr-2.2.1-docs.patch 750 SHA256 9d7ab37083944ad4faa813af51301ee896400b7bb38a07b7143a3a4ca08d511c SHA512 9c7732d1985639e5b7f9ec853f3afd0d0e0cd07a143b165b6183a7697b9fb4c5cd494b443f60e81da522fcf2242a62631cf1d30a9ce733aa285874bf63f24555 WHIRLPOOL e873d2a2b15bc71af24df4c52f0a5db3fa182b7971c43936594137ebe60a0c3a3471e6fc709ea8f75036fe2cd2eeebb4da71e5cf68df717afa4f4b2508d4bf9a
24488 -AUX luminance-hdr-2.2.1-no-git.patch 2427 SHA256 8c03e1ef4506067c3e40db3aade991fb1c9f9e170d3686d00eeb8bf7b9f006d5 SHA512 7d948aa3cb946555c7618b5b23825d63ba0375b598a41dff149ef0362e72a41eec537f7cdaa7a617dd707e7e3915e85ee71e7239ed4b676362ea0d435ccc6e6b WHIRLPOOL 915c1debf98ea59db5235b7deeefe54346477c1ece37573716f7473ae2cdf9c41f51fa56414abb553f7349f18b2d9b558dc82c20b588f08b78f1e04083148ea9
24489 AUX luminance-hdr-2.2.1-openmp-automagic.patch 1719 SHA256 45c316653de319d61d47618598fa4e665508311efdf412d9e31ea817acb1e496 SHA512 0045ec1b9b07c0fe91364f93e3cdf5eeb1301da76cbddf97be6651bf4b87f1e5b7eb42c5b82161ebe4592322937ceca468f7e462b31d004ab2e4f17b8183e692 WHIRLPOOL 7b6f9afee3c39684fd0d719470c5a5a1f877e516d0a04cb2b0a87e3b9e49b1eac60a7d294c45acf45a9a5435cc59993dad47fe873d4108fad8930cb777c0adfc
24490 AUX luminance-hdr-2.3.0_beta1-no-git.patch 2361 SHA256 fa49258af1f68972024309804309dec5783e7e04c9984471c14f353c780759ab SHA512 e8dab5ce3de975348e0f75b281e17e1d410ce4d25ced5ff89057369e751bb4ac15e7c73bb7cbf30fdf79536de3c13c3f91a4a891a919ed3da2424bcb6d667769 WHIRLPOOL c058c684837cede728f1b01fea9833f8bcb5c2d66c61f907d6f2ed9cfe6f0f54f03eb32b7ae7ef858874ba5725158e98ae1203d4ca89975f1edd8db7a01560ef
24491 -DIST luminance-hdr-2.2.1.tar.bz2 3942721 SHA256 e6f8439eb03455676eaebfe7b41bfcc3d3ac61d1fb296f12b28783292e75a903 SHA512 78e98d7b5c46c81f3b84cc19337d2f860f88eb6d3626a8d33122137cde6d269d06b2f33cc5cf9541a28d5d760685637915e9a850f486e93e023fc8faadb4f94d WHIRLPOOL 7910961fff636cb48e309ba29758a4a6e17b4fc6b42db06602a6c5fda4a1b97ccb225247ffe5a354145c2f37f0e20af47b149b3cacb822d13edbd4cd129035ad
24492 DIST luminance-hdr-2.3.0.tar.bz2 5398576 SHA256 dada0795b58843912bcb57ce61dcd615bcb9f9437b610a37ff813ad2c899c676 SHA512 6806782bec25cde92eeafc1e6a6aeb801226c0db27bd9163829b4556209267a9f5f0ecaae934fbb42a25a780cd131bc34880bc48d6d68867fe1ab117bb4cde08 WHIRLPOOL 8f1430b0e46d53e79e7ba565b73e190b0ad6efb9f2937f8612b0ddda4d442fbc4c31b055a4904c48338e00dc8719cefb94b7f43fff040255f403ebeb4e8aac95
24493 -DIST luminance-hdr_2.0.0.tar.gz 2450689 SHA256 6e6f6dadbe54d2c14e1c98c2dba928b3bc09ba4dbe5c63a071a32f5c372e16e8
24494 -EBUILD luminance-hdr-2.0.0.ebuild 1409 SHA256 4db5cd2ce0c0d249022f4c050fb21d36ef45fb0a0b440fba248961a5cb77f467 SHA512 47c65eccfd194c4c688d63bc150e98981ccad6664204d73fb2ac57674240f1cd5d3941cd0596eff0b55006dee164259a650a826146d45fa12b38c07d7635d97e WHIRLPOOL 0833f2d0b75dab5dbd780a1344adbc0971d83516a796875b5ed1e10beaf015fea7e7caf5386b515869e6b93b0b8ea33df33d3e56215aab71c7cd79b745d00e45
24495 -EBUILD luminance-hdr-2.2.1.ebuild 1596 SHA256 e3d116d879da8dce8c873b4b2b9b4904bc9a94155c911ae0bcc85e1a53fb8771 SHA512 03c6890c08ee506c70932e5953df53362a81fab7da901ad3577adecab0df02a08add1bb8452e38fbfdd3c52f06af0856d081824cccae02a2e3b2efc18dadf4dc WHIRLPOOL 1496db07aedede55be904ac8b258b8528a20b579a712caad25dee08ee2caf3776a849b76a8479d87602becf4d46d2a286b2cd5cb8e455e392e54b43bd162b21c
24496 -EBUILD luminance-hdr-2.3.0.ebuild 1916 SHA256 65cf481ae7f333f5480bef9e3c3b8cf96e7a91de110c02cc11893b513b60ff88 SHA512 5f70124d3ec8dc0be835100e268f3573c948e4da321fa15bee4bfc14119e24478b27d1dcd974f667be85bb4b1f9c254e9bbadff212ac7d58e39addc76881be14 WHIRLPOOL fa7c88a99fb6144169eb3bd6c43d7e6444fc61fc324e3e9dd16f7aec5487b0e88658e464d284c32975b084e57c6c316f5d01f0cb1ea7dac1f269ab51744ba5a3
24497 -MISC ChangeLog 6707 SHA256 2f53aea4e086d209606649c814ba3ebd5523242d52d2ced0af55bf2871c3dfd0 SHA512 9c004102a1c6185adca3087cab7876d6c5b344c7a477c43300d14671aa3826b73d9038fac7f70b32ee50cc61e5aa3b42c1b996f48eab3a640b439a1cc9d8aa3d WHIRLPOOL c9b1ef0196f7058f6facbcdb3dcdab577876c2c7e07a8a26e57c7e43f299f5c90aca4af3e19561daad15e8fc516ff0bf72b63828759fce6d06a5da89c5138055
24498 +EBUILD luminance-hdr-2.3.0.ebuild 1916 SHA256 02296f7711918dbc3a5b63906373adb80e46d551fe67e49d6f060e489367583e SHA512 26408b0af773a6d6e9aaab326fc8ce193c8f4057e063edb874472f23174da52255de95ce4778e3918fcde5fb0f38ef4ff2469da2aa80d834c23b9927767becaf WHIRLPOOL 3e625be967e59359e1efb66fe488ff2c2eaee1172be32ee09edadc8253e7da4350829a3d10628f87b1f550621f31c1561c429b89d1c610ea3ca81f46359a5bee
24499 +MISC ChangeLog 6987 SHA256 29e55eaf436937c1767756f37a4eeafc477e907d9fd5173f28d2a049f2880069 SHA512 dbc95c13ed1c529b5b77bf460e49f1fddb822f58b900f63a9fa084fb8ed05a282aaf4f2384ed8c61397f3431c9d342b681abe233f9dc2a5d9762d67298bc9753 WHIRLPOOL e196677c39959b8c3b28418d46be6c02ece4b1c59f7dd989f8ac8d0da0acdca8a001c339a7a83ff6753b1d1fd033990c0e2695e0dbc158689d754437fc6f0928
24500 MISC metadata.xml 937 SHA256 03752b3db20bdd5f73b81a4c7ac7a6173b7825c55aef76758cd48db98e778ef6 SHA512 3fe1641ac29499d1558edcfb5d51c461ce3b0da83627b1d4c3ae06adedbad95014d0e31353e207f86d882ae1b9df3b51a1cd8ef1619eac94327afa284eb1b351 WHIRLPOOL 007fce14ede771ed8d8b4e64e0de03837745b5c6a9629e080d41757f5c2d61628a8d0c29b84e5f5720e7bff18ee58b78abb22e503b4e885c5e48a8e977e62dfb
24501
24502 diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.1-no-git.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.2.1-no-git.patch
24503 deleted file mode 100644
24504 index b339200..0000000
24505 --- a/media-gfx/luminance-hdr/files/luminance-hdr-2.2.1-no-git.patch
24506 +++ /dev/null
24507 @@ -1,68 +0,0 @@
24508 ---- luminance-hdr-2.2.1/CMakeLists.txt
24509 -+++ luminance-hdr-2.2.1/CMakeLists.txt
24510 -@@ -34,30 +34,6 @@
24511 -
24512 - set(LIBS ${LIBS} ${QT_QTCORE_LIBRARIES} ${QT_QTGUI_LIBRARIES} ${QT_QTWEBKIT_LIBRARIES} ${QT_QTXML_LIBRARIES} ${QT_QTSQL_LIBRARIES})
24513 -
24514 --FIND_PACKAGE(Git)
24515 --#FIND_PACKAGE(Git QUIET)
24516 --IF(NOT GIT_FOUND)
24517 -- message(STATUS "Git not found")
24518 -- FIND_FILE(GIT_EXECUTABLE git.exe
24519 -- $ENV{CYGWIN_DIR}\\bin
24520 -- $ENV{CYGWIN_DIR}
24521 -- )
24522 -- IF (EXISTS ${GIT_EXECUTABLE})
24523 -- SET(GIT_FOUND 1)
24524 -- ENDIF()
24525 -- FIND_FILE(GIT_EXE git
24526 -- $ENV{/usr/bin}
24527 -- )
24528 -- IF (EXISTS ${GIT_EXE})
24529 -- SET(GIT_FOUND 1)
24530 -- ENDIF()
24531 --ENDIF()
24532 --
24533 --IF(GIT_FOUND)
24534 -- include(GetGitRevisionDescription)
24535 -- get_git_head_revision(GIT_REFSPEC GIT_SHA1)
24536 --ENDIF()
24537 --
24538 - IF(WIN32)
24539 - # Windows Section
24540 - SET(OPENEXR_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/../DEPs/include/OpenEXR")
24541 ---- luminance-hdr-2.2.1/src/Common/CMakeLists.txt
24542 -+++ luminance-hdr-2.2.1/src/Common/CMakeLists.txt
24543 -@@ -1,4 +1,3 @@
24544 --CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/GitSHA1.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp @ONLY)
24545 - CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/global.hxx.in ${CMAKE_CURRENT_BINARY_DIR}/global.hxx @ONLY)
24546 -
24547 - #SET(FILES_UI )
24548 -@@ -22,7 +21,6 @@
24549 -
24550 - ADD_LIBRARY(common ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_HXX}
24551 -+${CMAKE_CURRENT_BINARY_DIR}/global.hxx)
24552 --${CMAKE_CURRENT_BINARY_DIR}/global.hxx
24553 --${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp)
24554 -
24555 - SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
24556 - SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} common PARENT_SCOPE)
24557 ---- luminance-hdr-2.2.1/src/UI/UMessageBox.cpp
24558 -+++ luminance-hdr-2.2.1/src/UI/UMessageBox.cpp
24559 -@@ -28,7 +28,6 @@
24560 -
24561 - #include "UI/UMessageBox.h"
24562 -
24563 --#include "Common/GitSHA1.h"
24564 - #include "Common/config.h"
24565 - #include "Common/archs.h"
24566 - #include "ui_about.h"
24567 -@@ -78,7 +77,7 @@
24568 - ui.authorsBox->setOpenExternalLinks(true);
24569 - ui.thanksToBox->setOpenExternalLinks(true);
24570 - ui.GPLbox->setTextInteractionFlags(Qt::TextSelectableByMouse);
24571 -- ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)).append(" [Build ").append(QString(g_GIT_SHA1).left(6)).append("]"));
24572 -+ ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)));
24573 -
24574 - bool license_file_not_found=true;
24575 - QString docDir = QCoreApplication::applicationDirPath();
24576
24577 diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.0.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.0.0.ebuild
24578 deleted file mode 100644
24579 index 44a04e3..0000000
24580 --- a/media-gfx/luminance-hdr/luminance-hdr-2.0.0.ebuild
24581 +++ /dev/null
24582 @@ -1,64 +0,0 @@
24583 -# Copyright 1999-2010 Gentoo Foundation
24584 -# Distributed under the terms of the GNU General Public License v2
24585 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.0.0.ebuild,v 1.5 2010/11/14 17:02:55 fauli Exp $
24586 -
24587 -EAPI="2"
24588 -
24589 -LANGS="cs de es fr hu id it pl ru tr"
24590 -inherit qt4-r2
24591 -
24592 -OLD_PN="qtpfsgui"
24593 -
24594 -DESCRIPTION="Luminance HDR is a graphical user interface that provides a workflow for HDR imaging."
24595 -HOMEPAGE="http://qtpfsgui.sourceforge.net"
24596 -SRC_URI="mirror://sourceforge/${OLD_PN}/${PN}_${PV}.tar.gz"
24597 -
24598 -LICENSE="GPL-2"
24599 -SLOT="0"
24600 -KEYWORDS="amd64 x86"
24601 -
24602 -IUSE="debug openmp"
24603 -
24604 -DEPEND="
24605 - media-gfx/dcraw
24606 - >=media-gfx/exiv2-0.14
24607 - >=media-libs/openexr-1.2.2-r2
24608 - >=media-libs/tiff-3.8.2-r2
24609 - >=sci-libs/fftw-3.0.1-r2
24610 - sci-libs/gsl
24611 - >=sys-devel/gcc-4.2[openmp?]
24612 - virtual/jpeg
24613 - x11-libs/qt-core:4
24614 - x11-libs/qt-gui:4
24615 - x11-libs/qt-webkit:4"
24616 -RDEPEND="${DEPEND}"
24617 -
24618 -DOCS="AUTHORS Changelog README TODO"
24619 -
24620 -S="${WORKDIR}/${PN}_${PV}"
24621 -
24622 -src_prepare() {
24623 - qt4-r2_src_prepare
24624 -
24625 - # no insane CXXFLAGS
24626 - sed -i -e '/QMAKE_CXXFLAGS/d' project.pro || die
24627 -
24628 - if ! use openmp ; then
24629 - sed -i -e '/QMAKE_LFLAGS/d' project.pro || die
24630 - fi
24631 -}
24632 -
24633 -src_configure() {
24634 - lrelease project.pro || die
24635 - eqmake4 project.pro \
24636 - PREFIX=/usr \
24637 - ENABLE_DEBUG="$(use debug && echo YES || echo NO)"
24638 -}
24639 -
24640 -src_install() {
24641 - qt4-r2_src_install
24642 -
24643 - for lang in ${LANGS} ; do
24644 - use linguas_${lang} || rm "${D}"/usr/share/luminance/i18n/lang_${lang}.qm
24645 - done
24646 -}
24647
24648 diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.2.1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.2.1.ebuild
24649 deleted file mode 100644
24650 index 08f829c..0000000
24651 --- a/media-gfx/luminance-hdr/luminance-hdr-2.2.1.ebuild
24652 +++ /dev/null
24653 @@ -1,65 +0,0 @@
24654 -# Copyright 1999-2012 Gentoo Foundation
24655 -# Distributed under the terms of the GNU General Public License v2
24656 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.2.1.ebuild,v 1.1 2012/03/13 07:58:17 radhermit Exp $
24657 -
24658 -EAPI="4"
24659 -
24660 -inherit cmake-utils toolchain-funcs eutils
24661 -
24662 -DESCRIPTION="Luminance HDR is a graphical user interface that provides a workflow for HDR imaging."
24663 -HOMEPAGE="http://qtpfsgui.sourceforge.net"
24664 -SRC_URI="mirror://sourceforge/qtpfsgui/${P}.tar.bz2"
24665 -
24666 -LICENSE="GPL-2"
24667 -SLOT="0"
24668 -KEYWORDS="~amd64 ~x86"
24669 -LANGS=" cs de es fr fi hu id it pl ro ru tr"
24670 -IUSE="${LANGS// / linguas_} openmp"
24671 -
24672 -DEPEND="
24673 - >=media-gfx/exiv2-0.14
24674 - >=media-libs/libraw-0.13.4
24675 - >=media-libs/openexr-1.2.2-r2
24676 - >=media-libs/tiff-3.8.2-r2
24677 - sci-libs/fftw:3.0
24678 - sci-libs/gsl
24679 - virtual/jpeg
24680 - x11-libs/qt-core:4
24681 - x11-libs/qt-gui:4
24682 - x11-libs/qt-sql:4
24683 - x11-libs/qt-webkit:4"
24684 -RDEPEND="${DEPEND}"
24685 -
24686 -DOCS=( AUTHORS BUGS Changelog README TODO )
24687 -
24688 -pkg_setup() {
24689 - if use openmp ; then
24690 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
24691 - fi
24692 -}
24693 -
24694 -src_prepare() {
24695 - # Don't try to define the git version of the release
24696 - epatch "${FILESDIR}"/${P}-no-git.patch
24697 -
24698 - # Don't install extra docs and fix install dir
24699 - epatch "${FILESDIR}"/${P}-docs.patch
24700 -
24701 - # Fix openmp automagic support
24702 - epatch "${FILESDIR}"/${P}-openmp-automagic.patch
24703 -}
24704 -
24705 -src_configure() {
24706 - mycmakeargs=(
24707 - $(cmake-utils_use_use openmp OPENMP)
24708 - )
24709 - cmake-utils_src_configure
24710 -}
24711 -
24712 -src_install() {
24713 - cmake-utils_src_install
24714 -
24715 - for lang in ${LANGS} ; do
24716 - use linguas_${lang} || { rm "${D}"/usr/share/${PN}/i18n/lang_${lang}.qm || die ; }
24717 - done
24718 -}
24719
24720 diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild
24721 index a848807..acf6978 100644
24722 --- a/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild
24723 +++ b/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild
24724 @@ -1,6 +1,6 @@
24725 # Copyright 1999-2012 Gentoo Foundation
24726 # Distributed under the terms of the GNU General Public License v2
24727 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild,v 1.4 2012/09/09 21:10:56 radhermit Exp $
24728 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild,v 1.5 2012/09/23 08:51:14 phajdan.jr Exp $
24729
24730 EAPI="5"
24731
24732 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/qtpfsgui/${MY_P}.tar.bz2"
24733
24734 LICENSE="GPL-2"
24735 SLOT="0"
24736 -KEYWORDS="amd64 ~x86"
24737 +KEYWORDS="amd64 x86"
24738 LANGS=" cs de es fi fr hi hu id it pl ro ru sk tr zh"
24739 IUSE="sse2 ${LANGS// / linguas_} openmp"
24740
24741
24742 diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
24743 index 438fd4b..9b23949 100644
24744 --- a/media-libs/allegro/Manifest
24745 +++ b/media-libs/allegro/Manifest
24746 @@ -8,6 +8,6 @@ DIST allegro-5.0.5.tar.gz 3065983 SHA256 4bcd3cc5f8da528e9880e65b1bf3847fd7226d0
24747 DIST allegro-5.0.7.tar.gz 3109765 SHA256 47f29e564d9a4babfbbf024f34fc8a04eea932a073af921d17caffbec0c3ad9b SHA512 7dde68160d675c6bb9a4e4e91149f5bc37330a7329e6fc4bd0aa79f75c5a3e1ed673e60a95b045ac19494ba2c790704cd7b18227aa09ed3b8338c54ce4be05b9 WHIRLPOOL f808b953b3763218ebd777db5574aa078c3b34b6b3f244c91e27d10a8c21092bee74a20d95dbec60c7af4beae91b563d78cfa4f87e0e60f839b99157a6e755f4
24748 EBUILD allegro-4.4.2-r1.ebuild 2728 SHA256 2831d7ccf0a73f0724226447ee0f71344d0e29aa6ca4a26f9a56f642d4098155 SHA512 e72114583d15c0515bfbd1bc4c09afb5d3487e73df4f6b142114ceb7e90f9ed93b7b9155afe3fa1aa6edf798913f308de06e00c19909e4fe4841d8b36bf15290 WHIRLPOOL ab9b65f7dea51ac02c190fea313f70c794c575f409144ccc3451cef987dd70a1b57a6bf29101049c41b17416f2109d1154a71359c7a3b168a57d5705985c5ca9
24749 EBUILD allegro-5.0.5.ebuild 2000 SHA256 bab429588d3ca9bc230d6d242b1c63474053fcf6e0a4b3fd6f9abc1de62619d5 SHA512 1bea7b521d108139e971ce6e33253e896f8fdf4cd79187f8e2e2a4768ea3bf1f1b290f575729cdb467e84006570eea5950198afb395b25350f3b575f191e6e39 WHIRLPOOL 4ca97e4dcfdf7e60c77be38454d7d2c9d68226239e0c9851250a0d250a45dcc50ed263712d866892ea41bf074275bc5449d72468980381a78a0806bfee305ad0
24750 -EBUILD allegro-5.0.7.ebuild 2006 SHA256 e4e6fc88d9b2c66104a736dc155fb7954226de86eb3d4387e7c6e50c43fa8ead SHA512 e46816956e3c94742fe3b72d0e798e471432370797950310552bef32ee1b4347da8d00b5255b72b672dd66963c91eb37fa36bdb54ec397be97fb5a4b37b45eed WHIRLPOOL 796016eb7e327b4df451101ecced34f4c638672977a26f138e4a3c6ce0c7e8c4172df5509ec14c983a0685ab5fb9a8eaea868e5b8d663a29908b813a6a5c871d
24751 -MISC ChangeLog 17596 SHA256 9830b313daf61960d1324db8279a17c197c6a2a8bea1c7ea946545e4a603901c SHA512 8b24919d50a40550a48189c6432250d065da59b4d55e305625f7ad9640658fdaf4ef61e090cf807a7a66dfeb43e2924e07e543dfb2b0605fd3498c3771aabda6 WHIRLPOOL 9b24e330286d7b0a03a8ab977001a6cef1970e74115c901e857dfe6fd650ca6c7e51f42f6c459fe2815da9ca89644d47788c045c830da4b77125a4376dbbb888
24752 +EBUILD allegro-5.0.7.ebuild 2012 SHA256 67c368b2a12f828a61cd62158ed78dce64828690bf792bc2e77fa8b3adde47dc SHA512 4d152ee317bd3d57e2556fc7309bf05b4d5d964802536af5857024c572a38e24089dc602a737e91705d888bee3b03f87a26ae8e50b40bdace8b570994d12d181 WHIRLPOOL 0ca0ca974d2584de7d1640c7952bbdb2f10f0b47cbd4313d8067de4641599f3f62059485fb97970e081b252474c900189332afedff7c5333c513c682d6e28579
24753 +MISC ChangeLog 17710 SHA256 071950544b8e75d288e7343e3395eb33e1f707afcce58443b4472a624cc1bc4e SHA512 76afef50e2ccd50a170650d5953d3b70a2dcc40a96c1ad3849aa0db32bf8da099aed2cca80704773df9d924e48781274c25e6c64df97fd8fb7b1e0b074c4ba80 WHIRLPOOL 09cc892993d2171773c486c207656c04d89400d36dc9113d8433547e31c69ee6cb7cc90ba1d0902cb4514bc5370a900f4ba59376c741e02b798a8e6ac3ead863
24754 MISC metadata.xml 856 SHA256 5a9ff2cd7ed67f377dd3ac080aaff9cefbef7c26ef04463467d31482c0dd5493 SHA512 4ba8961638fa9f764fa4b9cc60dd603f74beb5e19407934ad86142b1cc0a21350e405ede0f11a7f5c9f9d9396b687aa5c2e481c77eb478129659f2d545e9ec32 WHIRLPOOL fdfd2d40a713d0d17f27bfac30d5e6bebb5b2917dfb0ed4e9ade9a3ddcda35bbd3188584abf56a76ea368eefe7961700450b105cce75e779dc6ea53e10415414
24755
24756 diff --git a/media-libs/allegro/allegro-5.0.7.ebuild b/media-libs/allegro/allegro-5.0.7.ebuild
24757 index 4582a21..4117ebc 100644
24758 --- a/media-libs/allegro/allegro-5.0.7.ebuild
24759 +++ b/media-libs/allegro/allegro-5.0.7.ebuild
24760 @@ -1,6 +1,6 @@
24761 # Copyright 1999-2012 Gentoo Foundation
24762 # Distributed under the terms of the GNU General Public License v2
24763 -# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/allegro-5.0.7.ebuild,v 1.2 2012/08/21 12:47:09 ago Exp $
24764 +# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/allegro-5.0.7.ebuild,v 1.3 2012/09/23 08:52:53 phajdan.jr Exp $
24765
24766 EAPI="5"
24767 inherit cmake-utils
24768 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
24769
24770 LICENSE="BSD ZLIB"
24771 SLOT="5"
24772 -KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
24773 +KEYWORDS="amd64 ~ppc ~ppc64 x86"
24774 IUSE="alsa dumb flac gtk jpeg openal oss physfs png pulseaudio test truetype vorbis X xinerama"
24775
24776 RDEPEND="alsa? ( media-libs/alsa-lib )
24777
24778 diff --git a/media-libs/opengtl/Manifest b/media-libs/opengtl/Manifest
24779 index c168f75..0228f01 100644
24780 --- a/media-libs/opengtl/Manifest
24781 +++ b/media-libs/opengtl/Manifest
24782 @@ -1,10 +1,8 @@
24783 AUX opengtl-0.9.17-gcc-4.7.patch 1996 SHA256 36c0889bda87d746f7d33720efe863673def99be03da7435cec7a065a5076fa7 SHA512 28f75a2e96f1bb5f0cebbc11808cbc0384685ea46c26e1544541c7a0d0b0b079a80de7197eaa5395152ab5377a06aa5c1c3afa5a16907f3f1a1b2fd3257a7c89 WHIRLPOOL 6ca20003720d6799b140f6a865e8fd712e2108cf41749dbf11118e525a0c6efe835e225d6d8cd2dae9540f7e77353e538a7bc4b64c0c388573bde6314c182577
24784 AUX opengtl-0.9.17-ldflags.patch 613 SHA256 d563584386bd04294f4f8934f78b290c2950120934353026a79857f14453d9d8 SHA512 d9ac388b8d8814a50ccd9d577168626c03361ef05dce611b0fe90f65d6514a338d968135a5ee0dbd906048e0e5ed052269a7616c7d5634c45df9a1d93ce17620 WHIRLPOOL b85108c6906bfea4151c3c49bc4c777b0e175e4e332a9f45fee8562eaf5757a25dc0f84a99791d45bc6b3dcef3f183c2d0b63c8a4a1955ed6ad9643b8d26ab00
24785 -DIST OpenGTL-0.9.15.2.tar.bz2 495966 SHA256 306427f2814439703f13b6ee17092c466172c4df57cdb896b6e5eadfa1154ae2 SHA512 7229308bc14f56074152a7fe982925853ff79bcced8db8d95fcf5a882307bd944517faad1dbc74dc6a7d16e3849b53ed9862edbd33bcacb11e2629da2983d2cb WHIRLPOOL 27ff9d05b18e32654f6947bc35943f3c881e41035a8eb123f8de7550dc739355463c0bfbfb311c253389a97848126520b1c05c2a9458920bc84599a46cd729c2
24786 DIST OpenGTL-0.9.16.tar.bz2 533833 SHA256 81e81a53eeeb07e9e6a6ecfd0d960c10453fedc041ab7d885e66ee3053757107 SHA512 8d1ca8cdf352f04a90cf6fb3eaeb1684e333cbd3b8e46a19dc8d28d7891a5eb79072d4d2fc3d76a1628f22f0e07cca8139e84f01006f0f6de1402b371efaa2b5 WHIRLPOOL 82b8a962696b35b89ba14bc311d00c08717f7ed0f98260c59d439445208919cb1bccb1408e4dd47c61b08e15e29a7bf466dc6a868a0ba04d13d68eeaa33e3a78
24787 DIST OpenGTL-0.9.17.tar.bz2 534132 SHA256 89a37394fe71f2e771d7230333c86b93706f0083f86a58a86a670bca7e4f905e
24788 -EBUILD opengtl-0.9.15.2.ebuild 963 SHA256 96d02070172448a5535c6c108357d4ec3fed43b8c545465c231a949f9104db1d SHA512 336b2af14529978358444d62fe048d16931a7853f092b796cb7dde3741752b4914d2475ada4ddd1fcc81bfdd57fcc73dabaa7988ed268d166a0feec29a1d8eb7 WHIRLPOOL eb93705e45806acaa676d7f9ae96b28ad9dca97220ccc12cebd5635d948dfb4ef721ae05624a0b3f1eb8bcdec1b88da14ad881bd6b8d1786a9d59bd710697ffb
24789 -EBUILD opengtl-0.9.16.ebuild 963 SHA256 cd66f32f396a3875a5522afe38508f91633be630007543630e57ab4a7ff4bafb SHA512 11ebfd3c5e60e028cad56036e8051d04f28fb6d1fe1fb4ed7754bfa6ea1132148200069bc30fb05f305416d2bc46ebef9bc65c42d73d1ae4f9843275952c1e01 WHIRLPOOL 7930a476af60b9dc916af84b0b156005fb8f8a8ebe11fab33f9603bd72dd17a24935479028aac5213f680d8aaa85b8dbc7ee45950fc2377a23117698363aa5d3
24790 +EBUILD opengtl-0.9.16.ebuild 968 SHA256 886f7dcd789c1a863e47120d85c7bdcdab201d0129a6636d2758b31322708746 SHA512 c97530428746246bf75d13ad273bb42dddec126dc563d2e0d56751870c9ffa5bf40d66366968f3c45f1f7cd6c8577392c0ec6d4c9669202b1da67f34885a53bd WHIRLPOOL ee6f6f238486b39c87c21d375b374c406d0b390cf7ab2820a2fc36c878639b7591b142df7fb0799ae0e2e3be602882f4ed9b5ed914aab1044663b5fb2426eccf
24791 EBUILD opengtl-0.9.17.ebuild 1037 SHA256 991cb20cb9313d3957b2fe61dbbfeb470f996726349201d1144e84c3f9734e0a SHA512 c6e3d4be1ef99e09208610c606c9edcc66e5f00b0c9b161c0b3ad91e30d89dd614d5575ce4eb7abf1011087e4ebe11937618e7d06f611a7efd92717eeebbd73b WHIRLPOOL 448de31597996e2f320c6e41ddd3282f5a96771d4a45a9ea33f81bbed4dbc87dfc0ed853a9c5b76dea93fa047edee99728f4fc5b043af2b4442c937ce04a76e1
24792 -MISC ChangeLog 1670 SHA256 f500e83cfa8c105a4a0ef5dcccd6e63efd391ae45bc8bf7e9e3aa056f0b21259 SHA512 03845875d08d0ff5866052fbc0e5263fd281b2ec5ad85f06e1daf2a03b9c5cdd4e955ccc0c9d9ebee8a93f98505be347c44a334fab6cbc9715d90aa6440e6c04 WHIRLPOOL 0350abe69646a80b808c1b38a76d412ac9960f4c86fa55e4e2f416f4fb4ed6710e103b25d6b0538e65b98ab59cd897595b4d679867e4701b8857104536d6f4a7
24793 +MISC ChangeLog 1890 SHA256 c6148318d0fcb43b924740ccf06f20f391474a849bf7eac9ba2e6c1c6253baaf SHA512 4fae195e5f83935743bb8bcf4efbd131a207be27a1dbc5a9a3a5bae1cc63b05dd6200f9caa74cc74d200d7292a32dfe390d4e040a0f3dbbac2702eef6609455c WHIRLPOOL 266f078317cc039c22f8c39ddfd2950799fe30c75d37701aa23199c2ca3b76bf88839efec16de0a0614e5a3c65edcfd39c44c11209fd56ad86cae7f09d86e85a
24794 MISC metadata.xml 156 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a SHA512 0dcd7cfb246c4518ed1653cb06f5d2c7220ea90160a4b1a1da43edf5124b76d7104fe35a545178b6b3df19f5f3a3eb3f31ac1b4d169e3ca90d78be3e20e58b05 WHIRLPOOL df162e3d521df7decdd84d980e4bc71531bb8e05486c07102c554b529c10a1fb3374dda79d56b13bc037a2d230b4b8ff25702c7a1b86d703a24e8bfe7fe57642
24795
24796 diff --git a/media-libs/opengtl/opengtl-0.9.15.2.ebuild b/media-libs/opengtl/opengtl-0.9.15.2.ebuild
24797 deleted file mode 100644
24798 index 01da935..0000000
24799 --- a/media-libs/opengtl/opengtl-0.9.15.2.ebuild
24800 +++ /dev/null
24801 @@ -1,43 +0,0 @@
24802 -# Copyright 1999-2012 Gentoo Foundation
24803 -# Distributed under the terms of the GNU General Public License v2
24804 -# $Header: /var/cvsroot/gentoo-x86/media-libs/opengtl/opengtl-0.9.15.2.ebuild,v 1.3 2012/05/27 16:24:45 ago Exp $
24805 -
24806 -EAPI="5"
24807 -
24808 -MY_P="OpenGTL-${PV}"
24809 -
24810 -inherit cmake-utils
24811 -
24812 -DESCRIPTION="Collection of libraries for graphics transformation algorithms"
24813 -HOMEPAGE="http://opengtl.org/"
24814 -SRC_URI="http://download.opengtl.org/${MY_P}.tar.bz2"
24815 -
24816 -LICENSE="LGPL-2"
24817 -SLOT="0"
24818 -KEYWORDS="amd64 x86"
24819 -IUSE="debug test"
24820 -
24821 -RDEPEND="
24822 - media-libs/libpng:=
24823 - <sys-devel/llvm-3.0
24824 - sys-libs/zlib
24825 -"
24826 -DEPEND="${RDEPEND}
24827 - test? ( dev-util/lcov )
24828 -"
24829 -
24830 -S=${WORKDIR}/${MY_P}
24831 -
24832 -src_configure() {
24833 - local mycmakeargs=(
24834 - $(cmake-utils_use debug OPENGTL_ENABLE_DEBUG_OUTPUT)
24835 - $(cmake-utils_use test OPENGTL_BUILD_TESTS)
24836 - $(cmake-utils_use test OPENGTL_CODE_COVERAGE)
24837 - )
24838 - cmake-utils_src_configure
24839 -}
24840 -
24841 -src_install() {
24842 - cmake-utils_src_install
24843 - newdoc OpenShiva/doc/reference/region.pdf OpenShiva.pdf
24844 -}
24845
24846 diff --git a/media-libs/opengtl/opengtl-0.9.16.ebuild b/media-libs/opengtl/opengtl-0.9.16.ebuild
24847 index 78f1dfe..5c0120c 100644
24848 --- a/media-libs/opengtl/opengtl-0.9.16.ebuild
24849 +++ b/media-libs/opengtl/opengtl-0.9.16.ebuild
24850 @@ -1,6 +1,6 @@
24851 # Copyright 1999-2012 Gentoo Foundation
24852 # Distributed under the terms of the GNU General Public License v2
24853 -# $Header: /var/cvsroot/gentoo-x86/media-libs/opengtl/opengtl-0.9.16.ebuild,v 1.3 2012/08/24 14:24:13 ago Exp $
24854 +# $Header: /var/cvsroot/gentoo-x86/media-libs/opengtl/opengtl-0.9.16.ebuild,v 1.4 2012/09/24 11:41:31 nativemad Exp $
24855
24856 EAPI="5"
24857
24858 @@ -14,7 +14,7 @@ SRC_URI="http://download.opengtl.org/${MY_P}.tar.bz2"
24859
24860 LICENSE="LGPL-2"
24861 SLOT="0"
24862 -KEYWORDS="amd64 ~x86"
24863 +KEYWORDS="amd64 x86"
24864 IUSE="debug test"
24865
24866 RDEPEND="
24867
24868 diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest
24869 index e2ce845..b1d37b5 100644
24870 --- a/media-radio/fldigi/Manifest
24871 +++ b/media-radio/fldigi/Manifest
24872 @@ -1,8 +1,10 @@
24873 DIST fldigi-3.21.42.tar.gz 1665053 SHA256 864ffdab48e352116347fef80bd34e6b1c55ac35b83b9770767da3827e7d639e SHA512 5cc641e2aea8b94044cc65f59785b09b8c7acd4e5152c650fec2ab942b1e99b577cd18fed2d66c63a72648ddafa5a14d5eeeabe860a3453df5580b8a0c9ec272 WHIRLPOOL 12d0e5aecdbcb668e91529e5ff1884b75ea9dfee3e503a838c3889d22ff9ef113f64b4430c4b973a1056d9700c30b2af08f5c9cbbbba8eaeaa8f9e5b7bfbe00a
24874 DIST fldigi-3.21.50.tar.gz 1790564 SHA256 244921f705f70cd48e2ade44f853a7e092775f7a61d3e214f5faaf74853606c5 SHA512 4852528590192758711b59a201ef5af5c9469b5fc4007b75cca783877d45de3091f930395ee02446c81bc6a433a58006ebc0a2cecc4f01dff49594c5ee983126 WHIRLPOOL b89b026e64c227e30da18fc8059b81e8937e805013cebb6cc28ccef97d4a4b061b8d63ee74b2c8efa993f60c68672db2a57f2e5a0f184b2015b817f38faab73b
24875 DIST fldigi-3.21.51.tar.gz 1794375 SHA256 20313338d25bb60ce01962d454ea09929d065344a5cf34f2e631945b4ec82f4d SHA512 fada02c9931be5ccc33aba1f334aaf55a6c26c50b19b3a3058ca5405b6fe2aa1a5c9447a6a9f4ab1c8f23366ef446ff90cef0e6a36368f6a9dfe5492b8428d4a WHIRLPOOL c29ce8e1a1fcb7547030feecde73aef96071fd04ddf90574cfcfd06176c9e6eb13077ef792714d3750e467005d0b099068b481dff2a472c00304a9df98cde940
24876 +DIST fldigi-3.21.52.tar.gz 1794366 SHA256 036957456133eefd7b75076f6e1495c1b4b446ed1609f9b83b3056d05aaea9ae SHA512 46dfdceb346990b7417a26f2cf00352f690610353573e970d891d04e32452e9bedfc43659d34b33e1e3b10650d10b06a0b527e7d9ca48bc0ca4f9f7783a2edeb WHIRLPOOL 6b0f3a06b0a5157c7dd408b224298fc5d0d31f5a290765bea57ba87f262d708d1f493ea1b7f66410f6c51866939ee0498a9faf1e898ccad8b824312b63a0ad07
24877 EBUILD fldigi-3.21.42.ebuild 1223 SHA256 234b3e2f2d17afd43403ff174d6a847cb9a311de270e3d8591d451afb233aa60 SHA512 982c070f93a5e547619182d94bcf0cc4a95217f9be1038efda2418976727fefac07e8d107411468553d1fb578d38e9483899bc052ce3e4723d55306975e1f78c WHIRLPOOL ca4daa6cacb6c3130fce18de2f381d94c34d016562a7b707a93aa554db4b3912fd2b00ac75ebd63a7c76a78f279e1af44d9a8569273b79163128f322d4f49686
24878 -EBUILD fldigi-3.21.50.ebuild 1225 SHA256 3bea8d271e375561105b2f86c4d2fffc9624e108718fcd885bb66a7fe28439c7 SHA512 840941abb909f07cb9f95347731b50bf507cc57634554a64e3b93f164b5fc113f230e14f9de94be948a115bc7844d90e741568c800f362ce8f5bf63d3bf69ee5 WHIRLPOOL 9a0a0b6c11d0b9b1cfb4d87ef67eea1ef30bfc172bb4784f2795ec24e12fec97cf503244d43e44e6cb4de67221aee7dca7fea3c5730d0c8e467ac43c79af7d53
24879 +EBUILD fldigi-3.21.50.ebuild 1226 SHA256 e8a89164480fba8a40c518d5fac425ffc300b80f5d5aa1b7164bc81509dcba5b SHA512 821948b0662170e6d19e3ad2e2ff065880d7a0fbf66f8fbdc46b4c1c527c5aab36b144448215a104752fd27a03fbd30e1cfcd80ca18fd8f76bc470752247e6d0 WHIRLPOOL 7dcb0847b14fa2a533f15f9ac4549a34eda5255db6266212acf85b5a5e309b3a217d957ba962dc186236b8b7d39084c719fdc12290e99632469a12d3a8b3042d
24880 EBUILD fldigi-3.21.51.ebuild 1225 SHA256 94cafeea04e364612e48190883b8cba46881f60ad3181d3c2019f334d9e8dae3 SHA512 61ad6c2d47d9e7eedea08d6b83a2c9217f5315b433a4edaf13b16b28865438ca8e36184c243f996739079b4d56d8158fc034a93740e2a5c59c32dde461887b5c WHIRLPOOL 4870894b2136c020916713932084dadf0c906754bfc6d8437e2f47b85db15baef6c040e33b03cb9c4373111e762dc1522e701511a6463c166f178babbe390fd3
24881 -MISC ChangeLog 8015 SHA256 34e1bd9accb61ad24ca86467f97a5058eca87830ca759ca56db21746850304f0 SHA512 33b93af992652d6dfd1d1b26942df0141393a5d1bcc1feb9e04c17f68240f5ed37ec7474dbb4b59f197a1b369b8a8e02de3791aaa981531fd1ab36b4eb0f93cc WHIRLPOOL 9356e02d5fac33b0325d14e78d253df468cd5d439da88214337542cbe310447a9c076d2ae32dc4fea4c4971352d4134814a828dd4f8de398483bd42c57043d72
24882 +EBUILD fldigi-3.21.52.ebuild 1225 SHA256 d2dc71615b8a076844d9c2eff9e2d0d36679e7658e6769217870dfbb31c10c3a SHA512 03043f99a32689d3d128a4f3344e28ccd72272886f24d56c954c193767b95910d9166c0c28e6ed91af4a67bef062d3a254af2223df8908feb86a73ac149195fa WHIRLPOOL eaf256fa9611e1e6b06dc34574b77f0188a0ad0eaa36c26ec61b0ec10e0941aa48ea89c8bb953ad75b93442638fc85566b3a6204124db82b318e72d9d21b8cc4
24883 +MISC ChangeLog 8253 SHA256 128fa056000cc5e1e07a943c50c839a71fe05a4cc25cf0cc379877c171c101f7 SHA512 304cbb8d70877ac1915e65a9e5b999020cc1912dff6edcdc785f8b6d067ab072861b56ef68dc0e31a81836efc62cfc20384c848202606946b58d5116e2a1230d WHIRLPOOL 09ad95133349105f019130f09751a83ae25aa20359f47d4424bb734013e8439a67e09d86a2aee1b2af6d5f6b48aa003f6331a0442f7692bd4973591b37faf35c
24884 MISC metadata.xml 405 SHA256 bf191cb45badf521b9ecf320be39d252558f325477dde842c815b8db0447a8d7 SHA512 14d4a18063e929ff828fce20e6f18b20f9fcfdbb8ff130046b399f59ff30834c008e8d8e9800ccde31676cec9389d0efda9826ee2cb80558f11b7ef9b249af68 WHIRLPOOL c2ce3d5b6fb9d07888157297baed0e583687f27230e78a30ba8b177a871f506978cd8e989278c80d4e258a5b7470a850eead9ad6e0ef39a2a2b5533ffd9a76cb
24885
24886 diff --git a/media-radio/fldigi/fldigi-3.21.50.ebuild b/media-radio/fldigi/fldigi-3.21.50.ebuild
24887 index 4a914ad..eaadcbe 100644
24888 --- a/media-radio/fldigi/fldigi-3.21.50.ebuild
24889 +++ b/media-radio/fldigi/fldigi-3.21.50.ebuild
24890 @@ -1,6 +1,6 @@
24891 # Copyright 1999-2012 Gentoo Foundation
24892 # Distributed under the terms of the GNU General Public License v2
24893 -# $Header: /var/cvsroot/gentoo-x86/media-radio/fldigi/fldigi-3.21.50.ebuild,v 1.1 2012/08/08 18:07:39 tomjbe Exp $
24894 +# $Header: /var/cvsroot/gentoo-x86/media-radio/fldigi/fldigi-3.21.50.ebuild,v 1.2 2012/09/22 09:59:47 hwoarang Exp $
24895
24896 EAPI="5"
24897
24898 @@ -10,7 +10,7 @@ SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
24899
24900 LICENSE="GPL-3"
24901 SLOT="0"
24902 -KEYWORDS="~amd64 ~x86"
24903 +KEYWORDS="amd64 ~x86"
24904 IUSE="hamlib nls portaudio pulseaudio sndfile xmlrpc"
24905
24906 RDEPEND="x11-libs/fltk:1[threads,xft]
24907
24908 diff --git a/media-radio/fldigi/fldigi-3.21.50.ebuild b/media-radio/fldigi/fldigi-3.21.52.ebuild
24909 similarity index 95%
24910 copy from media-radio/fldigi/fldigi-3.21.50.ebuild
24911 copy to media-radio/fldigi/fldigi-3.21.52.ebuild
24912 index 4a914ad..a9a626c 100644
24913 --- a/media-radio/fldigi/fldigi-3.21.50.ebuild
24914 +++ b/media-radio/fldigi/fldigi-3.21.52.ebuild
24915 @@ -1,6 +1,6 @@
24916 # Copyright 1999-2012 Gentoo Foundation
24917 # Distributed under the terms of the GNU General Public License v2
24918 -# $Header: /var/cvsroot/gentoo-x86/media-radio/fldigi/fldigi-3.21.50.ebuild,v 1.1 2012/08/08 18:07:39 tomjbe Exp $
24919 +# $Header: /var/cvsroot/gentoo-x86/media-radio/fldigi/fldigi-3.21.52.ebuild,v 1.1 2012/09/22 07:49:36 tomjbe Exp $
24920
24921 EAPI="5"
24922
24923
24924 diff --git a/media-tv/xbmc/Manifest b/media-tv/xbmc/Manifest
24925 index f93e5dc..874250a 100644
24926 --- a/media-tv/xbmc/Manifest
24927 +++ b/media-tv/xbmc/Manifest
24928 @@ -8,6 +8,6 @@ AUX xbmc-9999-no-arm-flags.patch 478 SHA256 075db2562d31914d86b4394500d4b3168ea7
24929 AUX xbmc-9999-nomythtv.patch 1680 SHA256 fe0289d1361b0dde3c261bc082bcad123c9cc9a2b7398e4eb48773f976be93a2 SHA512 403389bb1bf1442be1a8d23106bd78dc672c66fcf588b6076e6105023a69a92ca58cdaa91c9e2664123f244c3d5f42a9de6f72845c702339e3f8a0e976330ca1 WHIRLPOOL dcf13b59133f2b7288bc734803ad1317d6e943f7cd85b0428ec257b2ec9fb6a23311fbdd8574dbfb985a473dac7cf8ca30c2ac6d59b62797adb1f63d8bcc0b12
24930 DIST xbmc-11.0.tar.gz 63012044 SHA256 1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19 SHA512 ba738129f70dd171b3fae385ab44317f62c9041a116bfe809d6d07c99ea69c663ad5d598552a17be0b942251ce12a68f34d0be21b303b256055849a6dde90043 WHIRLPOOL 4dd068749c86542e39b8fc42b45bbb56e885813b17876d3583cb4d91c902ff075e1f16f1c19720e3430dc149c40e52e7d1ab3323f666263fb353a59e2ef94a8e
24931 EBUILD xbmc-11.0.ebuild 6232 SHA256 2cd524a2f6948e5e1b037e0ebdf1c074fc5524b91893182394f45b84417c6a81 SHA512 2bb1e72a795284ee23dc05b83de952b5a9c1b6cf1da97f7f2f5f4a5dd17917a708f6693f4487fc0440d2aa687ab28d1f69542dba307f04cf355b14db7d3a2463 WHIRLPOOL bcd8d1c95146a290ba07b912d484856120ebaa795b3c9ff5309869ca6ce347fe7d04c525e6683fb171fcd240ebf4830363c4e9f3c1bb834fc57c41f2d08f796a
24932 -EBUILD xbmc-9999.ebuild 5958 SHA256 a1183490c2c8fcf97d1be39f9a1868bb62766344de007fc64eb2a123d6cd444e SHA512 a2d1f9abdca8ec3da3c885bdb8743520763efe364e1db8b7f4fe9621613ab5901e81b7b9871e04487d17ef14655bc5910b9b80d563c97d33f7aa68f9bc28a4b7 WHIRLPOOL e585a851e212f8352f19b700fba263c5b8f59e43c2bea92cfaee6059f4779769576f6a9e536ffe47ffeee69bc806aeb4b88a4b48b81cad2f679f31d7334d9ca2
24933 -MISC ChangeLog 23478 SHA256 554206d6f4af0c81abada64edd83ee7dec4dc833ff11b6c6169426d5008ecc77 SHA512 c01931e016b19fb3df7847e0e97462807ff8471831596742e12c985deb34c90c322b26ad9e0b20d8e1b31bc157f0f5062b43099456cd6baf8a861e804c2bd812 WHIRLPOOL 6650dd9c76524e8f86a358ab3b32cf8415139fb8d52a26684fe9e997ac8d9e04cdef2ad7d0af9d4195d3b5bef499a51b2a38cf6f5d67eea059c03dccc4ee31ed
24934 -MISC metadata.xml 1004 SHA256 e0fe06415e25d223ea299f1eecf4de6a8e8609d5ec038cc295f61002cd7d7a5e SHA512 f13daa4939dda43a19384a0295171430cdcff2dab90882a2d98c053c45da53732453108edbcdfa93f5a1af061acaa2b5bc973909aafb8359606951e8e70d21dc WHIRLPOOL b307c432b5e1d46e7462d25bd9d4b5ba705fe4c4fbd71701d7a7591daf21a1a152df44fb3bce9cc51703f28cb1a37105630bc9a070d5dd3cb7772585a0c6c517
24935 +EBUILD xbmc-9999.ebuild 6008 SHA256 941f597699d75a3953458a5306cb55f74df813bf2d686603000d93f8ac479a3e SHA512 69b1ee788352d9137546cebc88f34f325f245a084e3b708d077ec16345df0abbc52142a0436883e0eeec377f7a8a5b49f406d6ee9f15592149248485d1d17468 WHIRLPOOL 48c57f44ad29a38166c7c94ccf2f2afc13f36c10413c43406dc09d049fdcb3a3a7206be67a72c1853546bdace0850ff38fe8efc95c4e72a5b1dc499f9b18cee8
24936 +MISC ChangeLog 23620 SHA256 e643e2941d9d5a1c16d501387d70393f6c6065a03e3eebd7b9cc23bef5523a20 SHA512 3757b3843b75af8dc9fa7f1793bbd12069c25dcb57e61665e0f7b1c1d238851b48f87c3393edb0a21438d56cf336ad57725e435556eccdff2627d620b7661533 WHIRLPOOL 6600ec01d55698ce7f5f8d40df14cccd94479d0e027024ba381c8a674bb833647446fea2cc3c32548dd80e9bd6fa339d846c9af4fa0f3baef8ddf30c61122f48
24937 +MISC metadata.xml 1055 SHA256 ed787aaaad022ed9386aa49031356c39e378c94651624d753a21891ea33ca4c1 SHA512 590c3d163bd7c5f8fa7867012b1248297424abce53802e21dfcf92e354b53ed8e90d1312df848a3004792c242cb0c8951acb638fffeffba563695dc53fc5b8c8 WHIRLPOOL b69700bf42a2ef988f335325740e9ae23ef738f27cc90af90c1a6f98ea1e44e5405f0b114a11bec57b6fcce6b846a6d4a95b3b9d58d970ca0e8098119f656bcc
24938
24939 diff --git a/media-tv/xbmc/xbmc-9999.ebuild b/media-tv/xbmc/xbmc-9999.ebuild
24940 index 638c306..658fd0b 100644
24941 --- a/media-tv/xbmc/xbmc-9999.ebuild
24942 +++ b/media-tv/xbmc/xbmc-9999.ebuild
24943 @@ -1,6 +1,6 @@
24944 # Copyright 1999-2012 Gentoo Foundation
24945 # Distributed under the terms of the GNU General Public License v2
24946 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.118 2012/09/16 20:19:21 vapier Exp $
24947 +# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.119 2012/09/24 18:02:24 vapier Exp $
24948
24949 EAPI="5"
24950
24951 @@ -26,7 +26,7 @@ HOMEPAGE="http://xbmc.org/"
24952
24953 LICENSE="GPL-2"
24954 SLOT="0"
24955 -IUSE="airplay alsa altivec avahi bluetooth bluray cec css debug goom joystick midi mysql profile +projectm pulseaudio pvr +rsxs rtmp +samba sse sse2 udev upnp vaapi vdpau webserver +xrandr"
24956 +IUSE="airplay alsa altivec avahi bluetooth bluray cec css debug goom joystick midi mysql nfs profile +projectm pulseaudio pvr +rsxs rtmp +samba sse sse2 udev upnp vaapi vdpau webserver +xrandr"
24957 REQUIRED_USE="pvr? ( mysql )"
24958
24959 COMMON_DEPEND="virtual/opengl
24960 @@ -78,6 +78,7 @@ COMMON_DEPEND="virtual/opengl
24961 >=virtual/ffmpeg-0.6[encode]
24962 rtmp? ( media-video/rtmpdump )
24963 avahi? ( net-dns/avahi )
24964 + nfs? ( net-fs/libnfs )
24965 webserver? ( net-libs/libmicrohttpd )
24966 net-misc/curl
24967 samba? ( >=net-fs/samba-3.4.6[smbclient] )
24968 @@ -197,6 +198,7 @@ src_configure() {
24969 $(use_enable joystick) \
24970 $(use_enable midi mid) \
24971 $(use_enable mysql) \
24972 + $(use_enable nfs) \
24973 $(use_enable profile profiling) \
24974 $(use_enable projectm) \
24975 $(use_enable pulseaudio pulse) \
24976
24977 diff --git a/media-video/tsmuxer/Manifest b/media-video/tsmuxer/Manifest
24978 index 407de5b..9d7eef7 100644
24979 --- a/media-video/tsmuxer/Manifest
24980 +++ b/media-video/tsmuxer/Manifest
24981 @@ -1,5 +1,5 @@
24982 -DIST tsMuxeR_shared_1.10.6.tar.gz 640010 SHA256 40871629da0968488c90600a0870b6f9e3ed09d30522c56a97d7397365af0910
24983 +DIST tsMuxeR_shared_1.10.6.tar.gz 640010 SHA256 40871629da0968488c90600a0870b6f9e3ed09d30522c56a97d7397365af0910 SHA512 64d5214a84ae1d2fdbaad214ff9586007ed1d88e7d0e18d866dfe4e75cf371de52e4c05eb1d67d0b9c7c2f9cd5ca87b4dbb2b113e81361ba658aa1fecca115d6 WHIRLPOOL ca4993cf04a22051f9a5c8b7cbe8537156263d2b3e0c9f27a889a519eb7b171df7dbca5841a7345237b1623ce46c547ace886ce07bba3e92717513f87fd1cd15
24984 DIST tsmuxer-icon.png 1634 SHA256 ff166c09d7e5218ee566d876c20873e26ccf6242a3f37a7f01e6514c4396a753
24985 -EBUILD tsmuxer-1.10.6-r1.ebuild 1537 SHA256 c0bd0cbe6a5ad1bb11752d4e98242d82103217e70a8e2f278e2d3cadc0b6caf1 SHA512 e0c26e2c0dd8524e3148b833b326fb6b299910b5633fa2dca1755a3ccb26bf257a7d85a81eb873e703516a90fc5bfce43699231c1c69d9becf52ddbe8336d312 WHIRLPOOL 9c6b35a6b0537a7d892ed10500dddfe561f699ce135276256e71dea6e80aa3c49753b05420e1924fd6de7a1ac9c37fc6ca991ec09010012f70dbdeb1465aec12
24986 -MISC ChangeLog 1276 SHA256 0f1a347383cf977e6af34c69645e06bc4204d7c5ff41a34eeeddb45f600601a1 SHA512 2265e856f1bb17fa35bd7f5ae2fce9be0ada930aed3f947c5cfcb0bb90a2d8d4b480847edab3c570be6f892814eb327a3c43e913640f9a6a8168867058045fad WHIRLPOOL 2956af8468f793ea9078ac699d94b4451b4c0532046b8e47836da4eea607ef15f7d41777019d93c633ffb7738448b0103eba242b3990009a4c888461f9c283a9
24987 +EBUILD tsmuxer-1.10.6-r1.ebuild 1540 SHA256 c7d66bcb3dd1634778afdae6267408f1e048d983ac4bb851ef6191be79b5e6eb SHA512 5992152e15f72ce51c346716fc4135adba6ee4d077e53a1cb1bb7a0443bc0525ca605002a277ede272a2b4aefa309116410ee90ee15b850d6d168741273fa537 WHIRLPOOL 636b3451773e01f82c861b4a943cab685c3b5b92ed6fb165f6969b10f0a0ff6d77750a502517b2e6731dccf1b29dd8ebfe8cb330d1cff8eb0fe945d989e57a6e
24988 +MISC ChangeLog 1414 SHA256 b2d11f6ee7501ada3f9e5e7a5859fe425d815e2a96de5903edd5072e12aa35fd SHA512 2591c9e39277a349343bd3178d97a62f4e7acf96f0e1015aa70e7eaccf4e85fafd7bcebcf716085a42f361382b999d15e703a6ba85e96f0343b769d062876cc0 WHIRLPOOL b298f9398e018673ab5b0ef5a5e62b70ef311dee8b950e469130a1f9aa5d3a1f8d6891b6e51087d70e0016c811cb2ab3974c9ee0d825d10cd61f3121078dbcf1
24989 MISC metadata.xml 644 SHA256 68e11f2bde67a6954b613b1de28a2bd36e933c9b98e3b08de68c65321940c25c SHA512 ec094b88cfa73f35ef93df86322b7f7e33c7c9ddf58f8be3826e00795737dd2f9852ea20e1c95ec1694eec6b13bdde526fb7ae9e9d99768ccbc0dab890dac373 WHIRLPOOL fb8f3a4dea9e0b53d892094c57d28d22171e16bfe6b10e4dcabda4093a3d7ede91d9bf4981d92643b8d8b16c3b2e451d09554ba6f137deec77cd0afbc14d25fa
24990
24991 diff --git a/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild b/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild
24992 index c98c4c5..63c93c4 100644
24993 --- a/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild
24994 +++ b/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild
24995 @@ -1,6 +1,6 @@
24996 # Copyright 1999-2012 Gentoo Foundation
24997 # Distributed under the terms of the GNU General Public License v2
24998 -# $Header: /var/cvsroot/gentoo-x86/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild,v 1.6 2012/05/21 20:01:02 ssuominen Exp $
24999 +# $Header: /var/cvsroot/gentoo-x86/media-video/tsmuxer/tsmuxer-1.10.6-r1.ebuild,v 1.7 2012/09/24 00:45:45 vapier Exp $
25000
25001 EAPI="5"
25002
25003 @@ -16,7 +16,7 @@ SLOT="0"
25004 KEYWORDS="~amd64 ~x86"
25005 IUSE="qt4 linguas_ru"
25006
25007 -QA_DT_HASH="opt/${PN}/bin/tsMuxeR opt/${PN}/bin/tsMuxerGUI"
25008 +QA_FLAGS_IGNORED="opt/${PN}/bin/tsMuxeR opt/${PN}/bin/tsMuxerGUI"
25009
25010 DEPEND="|| (
25011 >=app-arch/upx-ucl-3.01
25012
25013 diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest
25014 index dab1e88..0bffac3 100644
25015 --- a/media-video/vlc/Manifest
25016 +++ b/media-video/vlc/Manifest
25017 @@ -6,9 +6,9 @@ DIST vlc-patches-108.tar.bz2 3189 SHA256 18de61bb0e0d7b4d79b516096c44db4b083510c
25018 DIST vlc-patches-109.tar.bz2 5292 SHA256 264423f9ec76004d1bbe9549e5c7f935e951ad22ca8377b77271981c92403b6e SHA512 9b48d7290bf284fe27e802e7e720fb68bb4b4b38b1aa3dcd0e58bfc4096454b3caf79322ae33865d1c99ac050d14207052ed0748436540f4847cbc68babd5f82 WHIRLPOOL c493948158818779ced60d11f0a9d559c98f937f1137d78b99ca825fec1c94e80c455e2bb29e52d2dbe7eace8fe47bac3bcb373142eab3c1cadd190073e82f37
25019 EBUILD vlc-2.0.1.ebuild 11096 SHA256 3c3cf9cd9738f616eff7afdc2335a1a4b66e33e518f36478f8122762e70e714d SHA512 b30d0e28f541f7cb2d5d0e20d6bad5cc6d26561af5c87ac7f605af4de504aa586a2525e7718fd473f110f9b726334bc576af2b7741f7d4525a99cc5093fa6c2f WHIRLPOOL 5746fa2e68eeedbea11a3cb8c72e6a4f1c91319b579ac57a00736005a71a013b06a60a800ff80a2924af188564773d4bd130864457dcb54d5cea633a117880b0
25020 EBUILD vlc-2.0.2.ebuild 11052 SHA256 8f91921a08abcc36097af3f12ede7a53cf0efe27fdd98aa1e2ea72254d989e20 SHA512 f7aa391e046d81dc0c388f0f9e3a1930c1f5c5b5b0209ab13455d483acf72bdd240cf1a6d3157d08a1db41c5d2e71975f1f58eb5a4a9bbf805b004a769ead1ad WHIRLPOOL fb265c498a96ef330c20af9a07cec0df01eeeff0dfa5ae7114f0472be62b6819724ea62a8b86f3dd6c9cd5e4ba80852c1454d2d1cc1670d9fc7f50393a374869
25021 -EBUILD vlc-2.0.3.ebuild 11076 SHA256 8e0266a5badd9ab0a1e2b8c9515718be8b279866fb896425b19b624440d82e8a SHA512 f42671e6582a1ba8cb420236bf282bddfea816f0a206cb48b471d614189d460fa601d3453987f6d641088b31a9784b66ddfd6bf196aab0a6c7d2f6d2fc211795 WHIRLPOOL a5d7150133a4c5872532e2cdbb9dd9ece95dcf7005f03a9d1838dc597e8b1b1044b53227ab017673d9356c6a86e1690330ed92c279a3488f18d5e5e4d2495e17
25022 +EBUILD vlc-2.0.3.ebuild 11070 SHA256 cb065dd791624ea134584044297154c5416969439ff3a2b133d1efc465456efa SHA512 9a87a48791a95d7fa5de3d75ceb815abacfe315b91b63f360cb154129811ab1c3d7ca5e0b42e877620f9da8f2ebf4358b103b3aebe4f53798f4879f44bc5d696 WHIRLPOOL 72fbe6108dcc510659ecce46c5f9f24c7aa31996051af2f9931a93571a6b1d40e09bd65e103de6c9ab6f180014f53145f8aade5bbe2548013a85f483803729e1
25023 EBUILD vlc-2.0.9999.ebuild 11082 SHA256 a33f0e98c9965b38807da1dbd693ec042ce586ba3d917b2e81728785f949f1af SHA512 18c37e34fb6b5eeae69cea28e706955796048999e8ce0a9477a7a19f9eab409eeb3be3fc243c940e6aae5ffaca2d0c8ae52b603e8e247d09340654c3cdf02ecb WHIRLPOOL b2ecf1185480c450d4ae814a09b73ff595caecd6422621e7d053e42123daa5dc920351591fd9b1ee0472f30bad624bbc2ee7adf3c753790b099d2bfcf61492cd
25024 EBUILD vlc-9999.ebuild 10873 SHA256 9300901dde840b22190af816128aae36ca8961932ae0b3249a0acdef6f07ee49 SHA512 470e29d3c821d732f4235b921b28cd7396097d86628c2619875b84a0c28ab2eea7c9a06dabdc3361996b48fecb29505ffaf806560a2215b21a103d74b6acf993 WHIRLPOOL 3da2c273ccc049f99468afa7f787602bca3eaef01c4d6e8cd29887a45f72104bf9ba5c9762fd3702478df03e7057a26d3ac1e5c382114d7821c18e6797a4da6f
25025 -MISC ChangeLog 7749 SHA256 e7b71849685f3227a4b94a94f3a5937e223a86d8528da9e7c9a353208376ab70 SHA512 88d94e3e39a7a8b858631f71f161111cb4408e1c9c2e4131babda17d435bc34e507fa97324fbef06a46726b4e2a0b970f5eb0079f9e5def9ce7f13760e80437f WHIRLPOOL ea1b244decbd6929f1f12c01c232679485ab7f6e26cdca0847d3e54c68bfa7f05867eb321bab87c378d04f57705294848f6d0f836bbdd3652ed0d66d270c9c6d
25026 +MISC ChangeLog 7950 SHA256 10a10e7ff0bd199afbe8a89a4a359efb03a8c5bfab6cdc81cc16d298455ae09e SHA512 d6bb88c30ff60750ef6210210fc71178cd1b10ea536feb6122a100d7dfcfb17c1f8ede66642398fda85f150effb36835bc214bbdbf3c866dfa1b80c1a8e5780f WHIRLPOOL 0cfa73f41192963a7c5103d2aee3454c92c1e760a63ad49a4278f1da947e797e25f8b9b991a76439ced1bd5ccb6bdd23c5c204c54c72f74963f522d9c8392167
25027 MISC ChangeLog-2011 113818 SHA256 34efd4743fdaa4b24df7042e0cff14ab00cc5fae0838bf489b2eea620654fcc2 SHA512 9b1060fc57d0a8912a38c269b7ec140287c883798f6f3528f0f2d43b5772817f31e0addf4f88f139b82cda4e094d2f9a30e3b9d1933022b81b974436ed158d9d WHIRLPOOL bfe449ace05bac74b195d82eb2b3648b2240f92dabf6446f6ba93ca51b7ecd999ab5b9247dfd1f1a7cdab8d309684ffcd1c829773a471d862c19814a18db7ffe
25028 MISC metadata.xml 6379 SHA256 05de310ca847b4d9f46124c47fb5e38eb01bdeec6b937760d1d1bfb5189cf442 SHA512 aa507fe94b44b0750e3ba5f3abc60e72eeaa8e15fd9dbd010d36dac30bc361c90d933f1699a753e3070065f1f1f716ca12e4cbef604da8a8039f926d6f681fc5 WHIRLPOOL 416bc2e8f446ed6a148e9849a4305d3b20924bf46d5cf902cbbe68925bf9d64a465884d325d4a735a59274396956e8f7c536f5de4d12ffccdb0ecc69969a28d9
25029
25030 diff --git a/media-video/vlc/vlc-2.0.3.ebuild b/media-video/vlc/vlc-2.0.3.ebuild
25031 index 558f439..fb240ef 100644
25032 --- a/media-video/vlc/vlc-2.0.3.ebuild
25033 +++ b/media-video/vlc/vlc-2.0.3.ebuild
25034 @@ -1,6 +1,6 @@
25035 # Copyright 1999-2012 Gentoo Foundation
25036 # Distributed under the terms of the GNU General Public License v2
25037 -# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.3.ebuild,v 1.3 2012/09/11 15:34:29 armin76 Exp $
25038 +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.3.ebuild,v 1.5 2012/09/24 20:08:14 ago Exp $
25039
25040 EAPI="5"
25041
25042 @@ -39,7 +39,7 @@ LICENSE="LGPL-2.1 GPL-2"
25043 SLOT="0"
25044
25045 if [ "${PV%9999}" = "${PV}" ] ; then
25046 - KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 -sparc ~x86 ~amd64-fbsd ~x86-fbsd"
25047 + KEYWORDS="~alpha amd64 ~arm ~ppc ~ppc64 -sparc x86 ~amd64-fbsd ~x86-fbsd"
25048 else
25049 KEYWORDS=""
25050 fi
25051
25052 diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest
25053 index e6c6445..d843513 100644
25054 --- a/net-analyzer/rrdtool/Manifest
25055 +++ b/net-analyzer/rrdtool/Manifest
25056 @@ -9,6 +9,6 @@ DIST rrdtool-1.4.5.tar.gz 1348713 SHA256 1267af420533d846432e55352db89b0f2507c71
25057 DIST rrdtool-1.4.7.tar.gz 1349040 SHA256 956aaf431c955ba88dd7d98920ade3a8c4bad04adb1f9431377950a813a7af11 SHA512 5be26ba4d54700553e3d25fe416aa5e752de4b035c91ccda98cdefb0df09321528abef188cfd2049ba40f8a71edb253ff75ada4a5305fdbc6acade64cdf45d32 WHIRLPOOL 236c33d514e3e826bf2047cb20ca7bea29ef9bdabc1b2a4ebf7f14278698bddd6ad927f97a427f35044cdaaa91bd743ac8985ef7201678cae1830b29d9040b74
25058 EBUILD rrdtool-1.4.5-r1.ebuild 3644 SHA256 83af71703bd2b8939a9c5fe32b113407371f486ca5119290b35f664c2caf99cf SHA512 7afea2d78c344f71dbff12fcd2be8b38d346343927e5412eee7cf390ced27ef2e5f3a85e19f6d5b5d0e179388a0ea66c6a17ad3111768c4906505e7a3afb844a WHIRLPOOL 42bbcae0887f80681cd1463ae6c2faeeaab579be1fa82fb55cca62b1da987c4a64de0e504440ca645eab4835194de5e37d2baaac409c11387356b78c1a5ea6ca
25059 EBUILD rrdtool-1.4.5-r2.ebuild 3716 SHA256 e4f5e13d11e09fb02fa7c8753e182ca9eb8c92a27d6f40795e4a6c6da970f4ce SHA512 3c4dafe59beb7b3e75829cbb8439e2172412c483e03908b650af12f1d038d6b3e3f970e0603c32b462384fe293d89e78cfd0c2b9f102cac243d5be820dcfa9fc WHIRLPOOL 992ebcb1d4b66c9c6e691c2333792cc281802b4230fa75a4ece4623a1fb1a190de70e88916b7a24fef155947afa2bf7a169c65c33cf098bb6b1b0820eed57ae3
25060 -EBUILD rrdtool-1.4.7-r1.ebuild 4022 SHA256 9a06cfc23bb2d13d132a9366372cca9e4b83094c806c66e6ca6a2b2f6d4d29f2 SHA512 387fd5883ad19281fb201d56419febbc044f1a9be30c9ee186145459dd02776828e66f22f67484c62987d5ccfa9a78f5fcd6851582d035fd0ce80c2594c1b776 WHIRLPOOL 7ecf59d76b36394663697d6ffbc1e068eb6dd13e230e25816894b907e377ccd2ea75fd3a0335262c26a8309188c3c8fa268d86cd9ea6cba6896ac683a1217374
25061 -MISC ChangeLog 35868 SHA256 68af9ed3e096b35fa23f7743a38ff3fd84bd3cc6bdbf061047c599132f6466f8 SHA512 3d93eea4c8309776490a1a19d50ce6319a278ae3b471482727c634025c6fd1dfe66d9eaed120c95d169c18061313466d2871b551c0bce88d2c01892aed94acdb WHIRLPOOL 4b262cbddd028768e2d3ee1001f38c28fb4474bf646d885cbe8e1d16fe3a2c07037e3f01fbbc1490c946eb8ed54e051dbbfc0100cd958e2cd26a33bce8c7aa22
25062 +EBUILD rrdtool-1.4.7-r1.ebuild 4023 SHA256 8e39c94e15c87d697acfaeacb74d3057ca330525f40884f552e2bf66009595d1 SHA512 96c3b6a85c3277e850af8f276b9c97ee563aa43aaaa8c8417d569903b44c3c53fddc6858a0ef5f4735b19bedecffe653c1846e88f843ba4a3163a3ac93e25e4d WHIRLPOOL 097f85a85e58da6189afa8c36fdd5c0676b6fb48495fe69c8c2c9cb3ec304cb27594beda7aa9f003aebf7dc9d63ee2b8c727b375aa2c0f5b7ab71f190d82a236
25063 +MISC ChangeLog 35982 SHA256 4fb6c99a408344728634bc6d432f2c13a8d97dd74f5386e5e4ca36c73263c725 SHA512 ae1c18959ce8fdf745f02cce8f8b7747100a3373e9396fa29295d05f6d096ebb192972448ddea0c1dafd6064af7bcd6712fccee89efc58eddff22b5690309389 WHIRLPOOL 280ab9689ad2b4e6fb227ca3e4c5fa3504ca6f252a9321fa00203e30238881104462e861c7c01ca0d565a25aecdfcdb12e07cd3eb432ef3ba5c4fe485a671f41
25064 MISC metadata.xml 314 SHA256 e08a5acfe66fb546b0ea85e9598baca57ff3979094399e1c60507a718a5151c5 SHA512 2eb70d707167c60e86ff9e13139a57858d0f6382413434d877f11b63c47d1bce38da67165fbb0b9754840e7661d733ef40c7c0112f5b974d245f8c97d5082f0d WHIRLPOOL b026e9b4394948337e3cddb988419df464bae13b8d620b493599f58dca6491eed7e57e3fbc8fdf710847f7d2ecaa6858a2614d4bf1f7839402fe9b13501e57c6
25065
25066 diff --git a/net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild b/net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild
25067 index 8344532..ac031de 100644
25068 --- a/net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild
25069 +++ b/net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild
25070 @@ -1,6 +1,6 @@
25071 # Copyright 1999-2012 Gentoo Foundation
25072 # Distributed under the terms of the GNU General Public License v2
25073 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild,v 1.7 2012/09/15 18:18:59 armin76 Exp $
25074 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.4.7-r1.ebuild,v 1.8 2012/09/26 15:07:00 xarthisius Exp $
25075
25076 EAPI="5"
25077
25078 @@ -17,7 +17,7 @@ SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
25079
25080 LICENSE="GPL-2"
25081 SLOT="0"
25082 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
25083 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
25084 IUSE="dbi doc lua perl python ruby rrdcgi tcl tcpd"
25085
25086 # This versions are minimal versions upstream tested with.
25087
25088 diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
25089 index 3ab26ed..77afb6e 100644
25090 --- a/net-misc/dropbox/Manifest
25091 +++ b/net-misc/dropbox/Manifest
25092 @@ -8,9 +8,9 @@ DIST dropbox-lnx.x86_64-1.2.48.tar.gz 16574521 SHA256 406ec2b10bf1c19572a9977483
25093 DIST dropbox-lnx.x86_64-1.2.51.tar.gz 16578440 SHA256 692862a685f4ef0424ea43eb3025244db3ae8078a70ad82a7f17d6de8febab00
25094 DIST dropbox-lnx.x86_64-1.4.3.tar.gz 18546137 SHA256 7b93436027d961eb7ec097f1695a1361b3262b45d90ea445a3170a0faea878ba
25095 DIST dropbox-lnx.x86_64-1.4.7.tar.gz 18570864 SHA256 a9ca298ec869cabe1232e42c2ab7d5f84935f75602f6464b7926a7e5b2ca84c2 SHA512 b05f2d909f3c3b51acadbf715312afa18385f9366e82b4ed9f14bc42d8197a38744263f793552793889bdf9ece4dff0d97ad57f584d6d5f5fced5549e4e4b358 WHIRLPOOL 89483c05a5b843190a3c11bfb04290b9253a7ffab03bbbb76f4a6de00ad957b3c4aa29775c2c8cf5c95ff84feb2f24ee65d66ea2754ddf4b95cd0650f0a4796b
25096 -EBUILD dropbox-1.2.48-r1.ebuild 1392 SHA256 c7c7ba7c97802390a2f6d5fe30dd6c67612f11df8caba9b6a26373003a504c1d SHA512 d967f7b8c8892005ec1770d364ab216399b44105293b67955c56898921038c5c9da001fc5b88ef957e695e9b91470353c1138c1652648a910954955b4e26ae7d WHIRLPOOL 2248fcc6f6dc8f0134bb7f5c3a3cc5b473f359f40c8ec536839f780290b3fd991f785b4e33c371b722c73bd27cdcb55e8766a557f24d0d998be4624c074bf35f
25097 -EBUILD dropbox-1.2.51-r2.ebuild 1879 SHA256 c01d4fa922f8add80fd48d5f2845cc256775cc5b7b8aff18d5420359460ab5e4 SHA512 741b62c14a86f7cc76d13bd48d139a40432294c75869a82489c8f85f7c56763d722d9bd9eaa860a88c3a93a5a145161f460a551ed363dc47f9fe38681029c8ca WHIRLPOOL 6ea4e8577411bd8399ad0e3baf0b649b90879ec5d42853e730642646d1f2a73da9a2ce864d7452852782e5b19b2d45f4550f70bf02dc628886dab830c05d2d3e
25098 -EBUILD dropbox-1.4.3-r1.ebuild 1993 SHA256 b77059240bb5eda9004fa1df2d43aa33a889289936eb39122f2034e368952420 SHA512 a24dca079057a63dd99999fc2017722101e827e4f7d78f449f4c3f08919b5d2e1c18753d85eb6bc5582aa520447df39b7912b705bd5af99ba66ffe8420524311 WHIRLPOOL d7eca070dcb4aedfd3b934d645e3f122b78747bc92ac46cebdfe08f557379dc59206fb525b246e94dacd515f5026e8a9f77106a745b8839e09a55bc62c734034
25099 -EBUILD dropbox-1.4.7-r1.ebuild 2005 SHA256 d92ecf4e7aac4b41cad511d0546764101c5d53473c4956a78f7387018cf3e64e SHA512 b8eff6a0308a28b4a8f7743d9095d429b25bb2b47d862b53facbc10434d2d4e1b153c251400cc848d60be3a97ee3896a0849469ba43618f102787dbaa7653be0 WHIRLPOOL a8a994af9eb6c7e4a376ec2526234c701484f0b0bbadb74e3545604308f1dc21af1b5b5448f3ab497b0351b7c7172bd42c2f50146ac4551813dc1210d62498f9
25100 -MISC ChangeLog 4481 SHA256 44f314cb956ad8f279805c9e24afd2f817fa2c25d922c8fb37639f764c54db01 SHA512 582f31b47d245e98f3d2d13db4354cb13839dbfe39db9deb742115e96702d2e2aac8714d96ccd98fbdd5998821a53b6941d6464c8e6b28120c285a12751dc1d3 WHIRLPOOL 5a7cb32255e25cf5e964caa72750652c1398ff4466b0d75f6796ade9f22a325de33c40ffebb90170fec6c30b13602f23e56ce5d687cf17c6d5fd927e1c335e90
25101 +EBUILD dropbox-1.2.48-r1.ebuild 1394 SHA256 159c913edf0bbad677d9da7d856242318f9d5169e42c6137c94f624f4d232692 SHA512 73c5a80ce3887e3eec53058010ce6e85e6af4a03e74224d89bcca80c0e150465c3508df6a85a6135ea74799e68498732166c1297ff38d61bdbff8db481e8d434 WHIRLPOOL e4c77b798457a6663237c0724db62379419b572a68f47dbd3b5f0feadc841683d0da08cf33c09fc3b08dc3e6fcbba831a9f5c50f46766b5a986201a584aa8074
25102 +EBUILD dropbox-1.2.51-r2.ebuild 1886 SHA256 ae1cf0ca1531ca90acb19c292a793b9cf3a5bb115ca949063b78421cf17484e9 SHA512 645dd193cde9bf1b27aa6fc44ab5a38b1dd5b66b4fa66c5c0d7b6bd63431e8d25a893fb627b0ed662b6f17f87d3e875b9559dad41efcbe547788dae9428d5faa WHIRLPOOL 5c761d9dccbf97f2bd80b7b4b51308099f9447a2b0c1fadd8e44ae630578770f94e1d0371f211c1eb7c694a986432c75675732d42a73d1265776ff5487f39e0b
25103 +EBUILD dropbox-1.4.3-r1.ebuild 2000 SHA256 4662166931b77e713661e7269b569b57709089470c27472d16972811eaecfdad SHA512 4ea7aa744262472e5157c38cfb39d8b337a0d61f0c0dea15a97c6784967e5f96bc6231b435ba3c3137af9ef41790688f61859a0c54e9902762bc90c3a8142eaa WHIRLPOOL f16755e1e876b9d21244872777c878904fe6f6046be60d8cf08f54408224204c5f480d6dffa2304683863c3730eccf2e76ff150988259c3956f49a06776ef5db
25104 +EBUILD dropbox-1.4.7-r1.ebuild 2011 SHA256 69842005dc6173df4c54ea56317f5d67ea8684c51f4aeae18878bf867934f35f SHA512 34d800ebbf5fc98fa5e344cc3d43e1569d279dafeeca9bac13e17f14b9fca31917810e2e2d390045d4b4ebb5c441e427b77e08c8fe64313350aa653f25b5fae7 WHIRLPOOL 145e0646caf14491aabdb438e4bc4157a649bce3d67dd345d62480a81d11bc7375fc6da4ea609fd2d7497906b0d6aa78c1b8cf0b90e9a1b02cfa963abd167f89
25105 +MISC ChangeLog 4701 SHA256 fcbfbf5fb1305ea235a23d6e8c4da975d3da1704afd6b2e1c8a57e159d69fdd7 SHA512 e5d3e44173b407b3728b2753e0297f4fc371177697cb471498144fc3076723378c01e6a29d1c1306169099f3845845f06958bdf2cb8c878b615b6ad8f02bc099 WHIRLPOOL 8e798eab60c07c629e3b371af13d789ffb89208fed26b3a01e8122426d8f825c16aa96dcc159ed49a42b611c542eaeb8deb758acfc42ec97e62f4f44fa6b9209
25106 MISC metadata.xml 285 SHA256 9aea162d0e73c42a22183dac59a6e57f5e695bc4020d41377aedd731a1a4ad5f SHA512 d5b85b34badc10a4e18457c94c47d13bac2a7a30c3d33ddd0d505d23e6faf60746d650fa2085bbd3a292cc0187bd03d099a211264f858273bed8d4ec1dd506da WHIRLPOOL 1e44d0937c7d2913c22025197d39b09eed3af3afa6cf6047ede0dd6bf17505af05422af26fe24729a1fa2085f374662cf432ebf37bac955dc0f9d8b4c146cba9
25107
25108 diff --git a/net-misc/dropbox/dropbox-1.2.48-r1.ebuild b/net-misc/dropbox/dropbox-1.2.48-r1.ebuild
25109 index edb05bf..b297f2a 100644
25110 --- a/net-misc/dropbox/dropbox-1.2.48-r1.ebuild
25111 +++ b/net-misc/dropbox/dropbox-1.2.48-r1.ebuild
25112 @@ -1,6 +1,6 @@
25113 # Copyright 1999-2012 Gentoo Foundation
25114 # Distributed under the terms of the GNU General Public License v2
25115 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.2.48-r1.ebuild,v 1.3 2012/03/08 08:49:09 phajdan.jr Exp $
25116 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.2.48-r1.ebuild,v 1.4 2012/09/24 00:46:46 vapier Exp $
25117
25118 EAPI="4"
25119
25120 @@ -17,7 +17,7 @@ KEYWORDS="amd64 x86"
25121 IUSE=""
25122 RESTRICT="mirror strip"
25123
25124 -QA_DT_HASH="opt/${PN}/.*"
25125 +QA_FLAGS_IGNORED="opt/${PN}/.*"
25126 QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
25127 QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
25128
25129
25130 diff --git a/net-misc/dropbox/dropbox-1.2.51-r2.ebuild b/net-misc/dropbox/dropbox-1.2.51-r2.ebuild
25131 index f3a1101..dd79c3f 100644
25132 --- a/net-misc/dropbox/dropbox-1.2.51-r2.ebuild
25133 +++ b/net-misc/dropbox/dropbox-1.2.51-r2.ebuild
25134 @@ -1,6 +1,6 @@
25135 # Copyright 1999-2012 Gentoo Foundation
25136 # Distributed under the terms of the GNU General Public License v2
25137 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.2.51-r2.ebuild,v 1.4 2012/07/08 20:44:32 naota Exp $
25138 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.2.51-r2.ebuild,v 1.5 2012/09/24 00:46:46 vapier Exp $
25139
25140 EAPI="5"
25141
25142 @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
25143 IUSE="+librsync-bundled"
25144 RESTRICT="mirror strip"
25145
25146 -QA_DT_HASH="opt/${PN}/.*"
25147 +QA_FLAGS_IGNORED="opt/${PN}/.*"
25148 QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
25149 QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
25150
25151
25152 diff --git a/net-misc/dropbox/dropbox-1.4.3-r1.ebuild b/net-misc/dropbox/dropbox-1.4.3-r1.ebuild
25153 index 22b10d9..e757a7d 100644
25154 --- a/net-misc/dropbox/dropbox-1.4.3-r1.ebuild
25155 +++ b/net-misc/dropbox/dropbox-1.4.3-r1.ebuild
25156 @@ -1,6 +1,6 @@
25157 # Copyright 1999-2012 Gentoo Foundation
25158 # Distributed under the terms of the GNU General Public License v2
25159 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.4.3-r1.ebuild,v 1.1 2012/07/25 02:39:58 naota Exp $
25160 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.4.3-r1.ebuild,v 1.2 2012/09/24 00:46:46 vapier Exp $
25161
25162 EAPI="5"
25163
25164 @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86"
25165 IUSE="+librsync-bundled"
25166 RESTRICT="mirror strip"
25167
25168 -QA_DT_HASH="opt/${PN}/.*"
25169 +QA_FLAGS_IGNORED="opt/${PN}/.*"
25170 QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
25171 QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
25172
25173
25174 diff --git a/net-misc/dropbox/dropbox-1.4.7-r1.ebuild b/net-misc/dropbox/dropbox-1.4.7-r1.ebuild
25175 index 3a20937..b94c472 100644
25176 --- a/net-misc/dropbox/dropbox-1.4.7-r1.ebuild
25177 +++ b/net-misc/dropbox/dropbox-1.4.7-r1.ebuild
25178 @@ -1,6 +1,6 @@
25179 # Copyright 1999-2012 Gentoo Foundation
25180 # Distributed under the terms of the GNU General Public License v2
25181 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.4.7-r1.ebuild,v 1.2 2012/08/23 03:31:07 ottxor Exp $
25182 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.4.7-r1.ebuild,v 1.3 2012/09/24 00:46:46 vapier Exp $
25183
25184 EAPI="5"
25185
25186 @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86 ~x86-linux"
25187 IUSE="+librsync-bundled"
25188 RESTRICT="mirror strip"
25189
25190 -QA_DT_HASH="opt/${PN}/.*"
25191 +QA_FLAGS_IGNORED="opt/${PN}/.*"
25192 QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
25193 QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
25194
25195
25196 diff --git a/net-misc/gcap/Manifest b/net-misc/gcap/Manifest
25197 index eefa73f..8bcd823 100644
25198 --- a/net-misc/gcap/Manifest
25199 +++ b/net-misc/gcap/Manifest
25200 @@ -1,4 +1,4 @@
25201 DIST gcap-0.1.1.tar.gz 20612 SHA256 2941788de17f74fcd245290b233e4039ae71ca7ba5e90a400a19d551cfb545c3 SHA512 5206bdbc7cd5265456dd0b1a2c028c9ffb5e1324a0527c16ae2d74ff93e82e56bfc9e498f94d9895108265ce5e87c5510aece5ef61011f3128bf260eeaaee52d WHIRLPOOL 89c40c45b4026a601ffddc09254300ec990371c11095ac441392a06fcb11d63dc802749c7e7a7267dddb79129b37a07ead81d37b50d6ec39d8cb53e1457f7982
25202 -EBUILD gcap-0.1.1.ebuild 611 SHA256 27b2c5ffc51f0f07fd5a4274bbf35e6e9a1c167378cde06fa8047ee209f11da7 SHA512 04ff06aac0b0288ae38eb0fba864fa130f19537267018122ed5a486c8acfe87acef005ae4f2057c3051d5c87ba3a06c62d4e3e327d03e4f659cf56f1786e26d5 WHIRLPOOL 63df0b0da11aa2e55f7b5eebb84280e2b04c65990d1bf221b9f30b60e5e5aac80747eff1c8bfcc95a698435b3875ee0d136e59cb425755fc3f3c2e5b459fa008
25203 -MISC ChangeLog 334 SHA256 ffa3715dc41ff62ff0fc2fdda27a950e5ff7e8406dd6ae7f0ed936097dc283d5 SHA512 b38bcae1359deca9be3d7e3eb1b2ac08773da52c0d51cb1ddc088446b5cec01c4299e4af740da07649ad207baa770c5bcade60f9d7c8430184af662b7570b329 WHIRLPOOL 131e4d6b4bcdb36de2851062398661f48dabaafd19c85b7117aa8f0fb3d8043d688e3b4eab7b7a827388670e089bb2ae5fcd5be175b649ae3ecc1ff9d1885435
25204 +EBUILD gcap-0.1.1.ebuild 605 SHA256 8857b02b07025004108d2c5df5c947717ce502c0192ab245974b569b8d6fbc47 SHA512 d7158d87741633541a76d806935d3c2b7d5774684f592b05365b68eb3657dc87188170fc0f64df8e72949488c66a71f64a3b97270754f7c140221e0dfa78a707 WHIRLPOOL ac013650876f7c5d0866a956753e537159e89cb075594143284413f41235f144295ea5ca69db67884c88c2764b725ed0aab31c2e183f66b51c88bc75364d6cd3
25205 +MISC ChangeLog 433 SHA256 17f0ee878bf88562d29627a430d71204f135589734ac1947b32c47edbc94898b SHA512 bb3eb9a96720d1fb7ad74585627dc5b6dff1b99bbb3c46e51ea50abf28cc350f1412380ec5079a56cbdde62d78aaa8673c2eea5f88a8f467ab598a477928ca5a WHIRLPOOL 780ee3d4c90c99e60737af04be85b28e7ddc2a9cd0f1d5db1962639c33e7d8ef2def82af4ac76065ddd3cf6cb27461442029e914c098daa3912ff51baa059891
25206 MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
25207
25208 diff --git a/net-misc/gcap/gcap-0.1.1.ebuild b/net-misc/gcap/gcap-0.1.1.ebuild
25209 index d792829..abf767a 100644
25210 --- a/net-misc/gcap/gcap-0.1.1.ebuild
25211 +++ b/net-misc/gcap/gcap-0.1.1.ebuild
25212 @@ -1,6 +1,6 @@
25213 # Copyright 1999-2012 Gentoo Foundation
25214 # Distributed under the terms of the GNU General Public License v2
25215 -# $Header: /var/cvsroot/gentoo-x86/net-misc/gcap/gcap-0.1.1.ebuild,v 1.1 2012/08/20 15:08:29 hasufell Exp $
25216 +# $Header: /var/cvsroot/gentoo-x86/net-misc/gcap/gcap-0.1.1.ebuild,v 1.2 2012/09/25 11:15:43 ago Exp $
25217
25218 EAPI="5"
25219
25220 @@ -12,7 +12,7 @@ SRC_URI="http://gcap.googlecode.com/files/${P}.tar.gz"
25221
25222 LICENSE="GPL-3"
25223 SLOT="0"
25224 -KEYWORDS="~amd64 ~x86"
25225 +KEYWORDS="amd64 ~x86"
25226 IUSE=""
25227
25228 RDEPEND="dev-perl/Getopt-ArgvFile
25229
25230 diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest
25231 index e748ace..cdd8b89 100644
25232 --- a/net-misc/nx/Manifest
25233 +++ b/net-misc/nx/Manifest
25234 @@ -5,6 +5,7 @@ AUX nx-3.3.0-cflags.patch 1322 SHA256 88e9506a5809e1357c29b4f0ec1777b69335e35e90
25235 AUX nx-3.5.0-libpng15.patch 835 SHA256 04333308521101d7ed751d98c45ed4e34ca6e1f940a2e5914ad1c10b9d7a83db SHA512 c5feca65878aafed44817209cb5f17f57216d55c6ac889fbb878c3762a59b4d99a29e7c5c576e996b4bf70b60a79f85bd6427ce75354c9b9ac3dbf587cbaa043 WHIRLPOOL ccbdd01ace6d3d29006a34b77438c805354ec11e79a339ff2e6bd1f48d2beb6aba458ee719c0cbd276496201719eae7b9627c459c876cea0c2a39eccb0a25006
25236 DIST nx-X11-3.5.0-2.tar.gz 20345475 SHA256 11a48ea553c31da9f04a1dfa0a190efa7eed3b6bd4280a22ddbd602a754cbe22 SHA512 908566ab3ee0b03098516e92531d4234237ae854c6a83a11d829efb8ababa00e704380d25b28ef072eadd489c160a414806dbeb1f70102fabe35779b3a1a168d WHIRLPOOL a543d555cee4cb62c07de762e1a19201b98047328a33bb971670fe5c2b7484893941f9216b076b93d4a14e8072d1102ee3633e48b508e45e476c1350c019c316
25237 DIST nx-libs-3.5.0.14-full.tar.gz 21888558 SHA256 afdc51cfe0a881492517bfead58358d57191c9f2f3220e44bc85605a6cfe7b8d SHA512 2b3d9f7b18a4a07cad826c6b3f0c47085922ed9642f743c1ba8b3a2ecc621a3d95d24cfd70fb1c14f6b4252dd16c56e3c86d2b12f1a6a703d336243e466a39ee WHIRLPOOL cd0aaecc0cd969f48ef9a77515b4e98ff5b14669495b4efbcb36985578a6985045e4208c1ca08ff731b589c3a8fe0223e33af9d52307632222426a0721b43009
25238 +DIST nx-libs-3.5.0.15-full.tar.gz 21887518 SHA256 0edfe8031e917bec5f9b1fb3750022b9460c0321d53fcd08111c69f49fa6837e SHA512 1d221c3a6cd970a092a368f1fe5a129401f21894785b2df5a243e7dea91edf7a36d937dc0ad498698b5d6ead5e79488c433594907b2244eb7f134b7f2fe3b9da WHIRLPOOL 9ed089bbb2c793109b056075a19ae5e5c9124b2bd42f2c7db6140b80a70342a78becb48e29f132e58d87a59bdac2b53d3fa05244d07431068ef64460cdb7b491
25239 DIST nxagent-3.5.0-5.tar.gz 1515411 SHA256 74ebd64d350002433e93a4a13dddbbee416547e6a33048a044272bf4412ad864
25240 DIST nxagent-3.5.0-9.tar.gz 1510400 SHA256 05c8c1b46eec9496dd6be87f523db0acab5ee18e182fd1128637d7f1b74b138b SHA512 8c49e475397bba39a55809798bd54bf7274d19912d9c413b7ab88393b42ae59bed7cd91124e4ff083ad5ab7a6075b7c2ac7ccd7c2c98a44d8844cc675c0f6e86 WHIRLPOOL 5009c6bfdaa71dc009815890af539272f5a71e44c95e7429c300f335e79d1e381fe9246d5e639f8bb04cc50386af3a9bf1f0306a11d1d549a9b250391ae82a12
25241 DIST nxauth-3.5.0-1.tar.gz 30671 SHA256 93d730075c486dba7c8fdd41e1465f0712237cb9580d195f65784ce203ce3257 SHA512 4c1b2dfd95beb40f010134fbbda011fd2de43263eec0843457525114199eab56af9c84b69fd826a7f089d053e1437674850f20ae38dcf236e0624d5aeaeb964d WHIRLPOOL 326453ce08180b5c06d6033097dedbfe3df2c1f9182c6addb69af2ff0d1a601ca1b6c58f80b9b78850eea2398393b979a8eced84b801e83bea0587a5d10845d7
25242 @@ -15,5 +16,6 @@ DIST nxproxy-3.5.0-1.tar.gz 80194 SHA256 8aa59727dfcd914d73447992120e100c20d17df
25243 EBUILD nx-3.5.0-r1.ebuild 3380 SHA256 8ffcfffa5b5da8e5667f7b022a6b3e68ad8a637e44a0bdeebe443023cf6aafe8 SHA512 ba4153876c46ab6ba5c6d08bdfd2f947c712018217563926adb9ad797290cd6b5744d055173e747402e153e73491c866c8fed66a10917968eb72d6063b9e9913 WHIRLPOOL 21216421f3348acf809b4209ee5c6e023212936fc9c31e7d2bac2df8e68f4dcbbc19af748fd055274cc7ad254182f358b7b88f4618ca3a765edfe0968bc3be19
25244 EBUILD nx-3.5.0-r3.ebuild 3380 SHA256 5145b195eb38aa225ab9757400d0a4f59f198db7c9caae1886eb6e04b0ce9753 SHA512 41d6acc25784df46c224dd2c8493732fbf37d693caeea4bf1c0501b0f24ccc3d379bf705b3d7f104bf595e6c9d789eb8b96b45e5e1577efd05e607905f69f53f WHIRLPOOL a34125195464e97378439b1ac31ab3202f2451f183688be5b1d66e58771d4b2e1192cb9ece6ed20ae78ad380c0666885a311e293b95323c571e5ef970a5f1040
25245 EBUILD nx-3.5.0.14-r1.ebuild 2587 SHA256 64a090f387bf415000499887390d970176b214c27085a185a0c6f09572e769e3 SHA512 ab23455b9bd52629edf7afeb45bfd3a2d86d881a00c9db714d3d7f20a56cd2ccd955c6c28e6b7d662fa209b3cdcce95097623b2d06945454e8b4d00e1138a47f WHIRLPOOL 834b05075aa153bd2742f92214ce87af3c4915d58369d98791af6a102e602f04d72b8d3a7c7998b1efa12d209005f2a56a0f9d14393f95700632fa78684bb009
25246 -MISC ChangeLog 10780 SHA256 de4d5f4ffd828ac7d713d2ccbf136645ae4efab46a45b974e7bf1d6dce99c5e4 SHA512 ce04e8c041b832529ccaff9dcd6b96b918757837063c5eda8e31e533b2e728de595e279e3c4f520e3746d02636b865ebad46ce1c112e00339b375b1dfebb2b88 WHIRLPOOL e42ff5389c2f78def811456bd4d29befbf2718f8047a4a22d0b1a8b1299c4d9a308cbc3b9d1f33a8a5999034d1a849d412d02f37e355444059793fc293ef09c2
25247 +EBUILD nx-3.5.0.15.ebuild 2580 SHA256 59816a65dace25c6dbc0c15dcd79c4b72a5fb4a998d4d2694b78190b2c4bad08 SHA512 09530e511b836bf747a0932e45cf3da3c307318f087c64f67125ce771e751c950e706c5120b2ba81ba9016fe1871b88793a6ca873b7a26db7f6fe851dacc31de WHIRLPOOL a1959837ac8c384897ad2c48820d3179198a1e013aeaeb911b7a5bbc006a2bebc3be7de3fc628b16f9ac8f7bc218df0006cc7dab03c5f3be098a5de38ca3bfac
25248 +MISC ChangeLog 10934 SHA256 d6cb7a6f00a299910dc376c2d04e1e2fe3924970d40fb527664a7d503abce738 SHA512 3da962417972c3be5dbc97d46ba1c1b0b5c16d376b144581dff6615e0eaeec5fe8eed3262e7a880e06ab2b7270b367cd652fb792ff4f49dba6c8c488a9aceecf WHIRLPOOL 2ee58d623eb1d4482bdb510d75b6924bf13eddb7a81fffab6e7e745fb09e72bce1ce24e9ea1ff42e25f0ac01fb214f842cfbc0001bd9032e062539dc8144e984
25249 MISC metadata.xml 254 SHA256 2952f5071f21b100d9704142bb38a3e126a2ed3f41b4232e213ce607f7780033 SHA512 ec6af573e67162251786be7ef21a5ea10a4c5ca8b9f080828fa5b72f5d20862150b5033f80afdb6665b243bd24d1c82348b65c91855f4756c5585738a7ce4286 WHIRLPOOL 4456b9fe62e80868740cabd66c246a77ebdab37904be853b977a38a974f07e89d3abcd82e3502e741bc7004016b455768b08ba9cda76bd42a535b1d3ac6ca2ec
25250
25251 diff --git a/net-misc/nx/nx-3.5.0.15.ebuild b/net-misc/nx/nx-3.5.0.15.ebuild
25252 new file mode 100644
25253 index 0000000..411e774
25254 --- /dev/null
25255 +++ b/net-misc/nx/nx-3.5.0.15.ebuild
25256 @@ -0,0 +1,96 @@
25257 +# Copyright 1999-2012 Gentoo Foundation
25258 +# Distributed under the terms of the GNU General Public License v2
25259 +# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/nx-3.5.0.15.ebuild,v 1.1 2012/09/25 14:11:17 voyageur Exp $
25260 +
25261 +EAPI=4
25262 +inherit autotools eutils multilib
25263 +
25264 +DESCRIPTION="NX compression technology core libraries"
25265 +HOMEPAGE="http://www.nomachine.com/developers.php
25266 + http://www.x2go.org/doku.php/wiki:libs:nx-libs"
25267 +
25268 +SRC_URI="http://code.x2go.org/releases/source/nx-libs/nx-libs-${PV}-full.tar.gz"
25269 +
25270 +LICENSE="GPL-2"
25271 +SLOT="0"
25272 +KEYWORDS="~amd64 ~ppc ~x86"
25273 +IUSE="elibc_glibc"
25274 +
25275 +RDEPEND="elibc_glibc? ( || ( net-libs/libtirpc <sys-libs/glibc-2.14 ) )
25276 + >=media-libs/libpng-1.2.8
25277 + >=sys-libs/zlib-1.2.3
25278 + virtual/jpeg"
25279 +
25280 +DEPEND="${RDEPEND}
25281 + x11-misc/gccmakedep
25282 + x11-misc/imake
25283 + x11-proto/inputproto"
25284 +
25285 +S=${WORKDIR}/nx-libs-${PV}
25286 +
25287 +src_prepare() {
25288 + # For nxcl/qtnx
25289 + cd "${S}"/nxproxy
25290 + epatch "${FILESDIR}"/${PN}-3.2.0-nxproxy_read_from_stdin.patch
25291 +
25292 + cd "${S}"
25293 + # Fix sandbox violation
25294 + epatch "${FILESDIR}"/1.5.0/nx-x11-1.5.0-tmp-exec.patch
25295 + # -fPIC
25296 + epatch "${FILESDIR}"/1.5.0/nxcomp-1.5.0-pic.patch
25297 + # Respect CFLAGS/CXXFLAGS
25298 + epatch "${FILESDIR}"/${PN}-3.3.0-cflags.patch
25299 + # Run autoreconf in all neeed folders
25300 + for i in nxcomp nxcompext nxcompshad nxproxy; do
25301 + cd "${S}"/${i}
25302 + eautoreconf ${i}
25303 + cd "${S}"
25304 + done
25305 +
25306 + # From xorg-x11-6.9.0-r3.ebuild
25307 + cd "${S}/nx-X11"
25308 + HOSTCONF="config/cf/host.def"
25309 + echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
25310 + echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
25311 + echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
25312 + # Respect LDFLAGS
25313 + echo "#define ExtraLoadFlags ${LDFLAGS}" >> ${HOSTCONF}
25314 + echo "#define SharedLibraryLoadFlags -shared ${LDFLAGS}" >> ${HOSTCONF}
25315 +}
25316 +
25317 +src_configure() {
25318 + cd "${S}"/nxproxy
25319 + econf
25320 +}
25321 +
25322 +src_compile() {
25323 + cd "${S}/nx-X11"
25324 + FAST=1 emake World WORLDOPTS="" MAKE="make"
25325 +
25326 + cd "${S}"/nxproxy
25327 + emake
25328 +}
25329 +
25330 +src_install() {
25331 + NX_ROOT=/usr/$(get_libdir)/NX
25332 +
25333 + for x in nxagent nxauth nxproxy; do
25334 + make_wrapper $x ./$x ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) ||
25335 + die " $x wrapper creation failed"
25336 + done
25337 +
25338 + into ${NX_ROOT}
25339 + dobin "${S}"/nx-X11/programs/Xserver/nxagent
25340 + dobin "${S}"/nx-X11/programs/nxauth/nxauth
25341 + dobin "${S}"/nxproxy/nxproxy
25342 +
25343 + for lib in X11 Xau Xcomposite Xdamage Xdmcp Xext Xfixes Xinerama Xpm Xrandr Xrender Xtst;
25344 + do
25345 + dolib.so "${S}"/nx-X11/lib/${lib}/libNX_${lib}.so*
25346 + done
25347 + dolib.so "${S}"/nx-X11/lib/freetype2/libNX_freetype.so*
25348 +
25349 + dolib.so "${S}"/nxcomp/libXcomp.so*
25350 + dolib.so "${S}"/nxcompext/libXcompext.so*
25351 + dolib.so "${S}"/nxcompshad/libXcompshad.so*
25352 +}
25353
25354 diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest
25355 index f1ce517..e8f4e6b 100644
25356 --- a/net-misc/youtube-viewer/Manifest
25357 +++ b/net-misc/youtube-viewer/Manifest
25358 @@ -1,7 +1,10 @@
25359 +AUX youtube-viewer-3.0.1_p20120924-desktopfile.patch 547 SHA256 2690f3382533f2fd20c16e11488d46897cb9e4b47cc1b12174ccfd316b10458c SHA512 556a1c7db4ec98f774bc7efb66c1581325b6a0979b2160e819209b94aae484c431248a1dbfe05979d41ab2d7ffb1547a86f7651e54714751e0f05599b396a6ce WHIRLPOOL d1d713c114e15e8b2bffbf2ca5d6eb19a50f691c7453231c2412324500151ee9723b84d7b862229f733565f2972759c0dbd428092ee4b07808dc4c43a7a39d9f
25360 DIST youtube-viewer-2.5.9.xz 17520 SHA256 874c04add55f7f0c911047e5efc62dc005d1a8b8237cca7d56629e31469d1831 SHA512 debd5b07689773ce4cfbf2df9a45bb9e95239a42ffc88d1c8150d2b005f54e0d6caf7c86f86a5cb597d75b5b926c4d3b69dbc5f953c04791cdec968cf7508d3a WHIRLPOOL 2d390175c928f39c3445bd5c91f17ce35bb06e46951456af0e6efd47fedeb9e218d9704220effa34e89888eff00c0073247844a649a7eae1112b50b8cafb6f89
25361 DIST youtube-viewer-3.0.0_p20120820.tar.xz 25872 SHA256 5931f8b6159793d8f9780d8e7577c2e02588930bedbba0e4afe8f73add14e805 SHA512 bb50004e40a799ec9d8aa48f7a39c07472f00d8ad226bb86fca5f6b5460d690fa0864318cbbc336c1e0655ecebadc0eeb6f4638734440ebcb09c75bffea22c95 WHIRLPOOL 91c850f5438e577d53ddad6d21707968ba2040aec88550cc7e203b0af51f647fc8d2953e8ff85dead2e2bf4818afc3e85bfd4d7406184f182606349617a5ed92
25362 +DIST youtube-viewer-3.0.1_p20120924.tar.xz 86748 SHA256 ed02d328c3cf728a94f7f0b3d6eddedee3b2139ebd0b4667d4ea1173b2aa0025 SHA512 5a5a18651f2cfd2adbb903443e12223df42fdf99b2eedbf32d88c3685a8580b93c9dbbc149d392e979ec044bd9aea431704047d48e525ab97e8f3c289faf8968 WHIRLPOOL 787ce8fa6a25e154d80c3983ee0df329ae163ad4439cd2c8e3026148cffafdbc086c5748674e98d69834d7f4c78dd98c83dad8eadd9c1cf419ea58ad5b3c5516
25363 EBUILD youtube-viewer-2.5.9.ebuild 663 SHA256 1bf3d4b560d5d14810a57fddc6ce6ab61494b452997229168d5c90834c8a979e SHA512 831801f5a815db9e2a4cbd3d3f9a267ecf466c63c7abc6695fc2d27ef13515255dee7fa0cf73ed9bc64e2c262f5b4228080db92de493d05bcca09b81b4706ab9 WHIRLPOOL c1f10ebed2079106cc71e81f6cfd9b1ab2b75494d7e9dbff6b3dc39e59908dbf5af8f9abe186f7e79c6e97881b984a4d588ad1659a76f1474d557447ba815dbb
25364 EBUILD youtube-viewer-3.0.0_p20120820.ebuild 1106 SHA256 b51ec77f98886392911260621197002493e14c87c95ee706b8a46879f46b8384 SHA512 f1cad2e53de2d38f4132d27c2e72b856a135ad9bb54c67af7826fb7966a03e288124ab1ec4f701d0c70f8c2f74c42418d31ca4332ffe19103727449f96fb46fb WHIRLPOOL 5efb37a5c213b1b1d0ea20bcc686d053ecf3d02384341d503ac190363078eceecdf076c1a56aafc03db891a96c75a777e00709fec98990f71c526eeb532d51a1
25365 +EBUILD youtube-viewer-3.0.1_p20120924.ebuild 1581 SHA256 6422f4303d8143ae3bb6f5b09c2600bb43c1e251727690fafe4b4a40961e475c SHA512 4a80e32a4d60265d8e2fd99f643b0307b866e87c6cd040c0e70d5670b4f1eeb790078ad1c2b88e4841259115d2a57ef28ceadb76ed61e2543d903a5c65cc85c7 WHIRLPOOL 0b67d44f5a0df6a7c4765bdde53a09bab85da6fae8fa4e5eee1ea4d97341723ce9234d332ad558f76dc91decc17e2406c4a7e89227cfc2d403eb0afc04841713
25366 EBUILD youtube-viewer-9999.ebuild 1148 SHA256 66ad56124e07659262427845672422ed8f596d57277066be8f21084e546b1bdb SHA512 e653af9ca4e1b2ede7cbadcab6464f2c92094ad3b44ef66a244ee629d0ad9c5dc0f6420a6a2f233bcc12370cd45e86c2f57b431d577d247c2b193ff69929a88b WHIRLPOOL c90b12fc03ee009fad9fba458f6d9a9796d94e061046e6a5c0f787d251820d45042b805df85e9a7f36559c94a0e4241e72e58f05e95e346b0bbd4040f3dbd54f
25367 -MISC ChangeLog 1769 SHA256 675f1536afd83cf2c93836a10b4954406774f8c052f3447bb55c84da12aa0c87 SHA512 364f6faf9cadac98ae95bbe8b756b6454a8b79b022f8a25f0d7405e865ee15955d930ad16340895ddb2ae2bc993d0528a62253ed1c5d98a1785ba8475be4bde9 WHIRLPOOL f6cd2bc99b92cbcc814fc6e7f6db5855895ee1af8dc55ebb10a9870b9c8c754882e24ade4b56b81cbbcef1cf75060786e90bbe1c633a2962ec923500e49bad43
25368 +MISC ChangeLog 1984 SHA256 e13045f2004a8f766c511fce9b2af479bc2b54061f499118caaa0267a231d312 SHA512 fec928bb4fc204a1a6f5867809336d20e4316294d1fdfdbb93b9b7802f2db5f4a5da0eaa806126c62bd0fb9853c553891ea5cb3c6318dd345d83f726c9f22e3c WHIRLPOOL f11bdab30f775e3629f666e80f9f23b716a3c740de45bf49060ca2731e7e3400b3c6cf6b8034433f25a46f100a1a48e975278b9ac0fc0940bc88332d675242df
25369 MISC metadata.xml 708 SHA256 7bed4577f83f9c1a55a170f5d2e55fb04d86484c95f4a6924536d1b0c7f3e714 SHA512 6bb45dbc64c4572aed09dda27ed559c2565f662a29af6d27226dd9245d52d03ae56bde09fad2cbc35ef2d54cf6cd1e632e467b93df5750c5ce0b3849425470d0 WHIRLPOOL a698abc1877258c64d429e5acc858c99ca0069c70b3171d346c4aada1d3ee1bd93d58f0747b858a70cf4bf5311e7950f7cdd94fb8aeac4cda37872e7b21efd40
25370
25371 diff --git a/net-misc/youtube-viewer/files/youtube-viewer-3.0.1_p20120924-desktopfile.patch b/net-misc/youtube-viewer/files/youtube-viewer-3.0.1_p20120924-desktopfile.patch
25372 new file mode 100644
25373 index 0000000..f0a5b7e
25374 --- /dev/null
25375 +++ b/net-misc/youtube-viewer/files/youtube-viewer-3.0.1_p20120924-desktopfile.patch
25376 @@ -0,0 +1,21 @@
25377 +From: Julian Ospald <hasufell@g.o>
25378 +Date: Mon Sep 24 23:14:08 UTC 2012
25379 +Subject: fix desktop file
25380 +
25381 +https://github.com/trizen/youtube-viewer/issues/12
25382 +
25383 +--- share/gtk-youtube-viewer.desktop
25384 ++++ share/gtk-youtube-viewer.desktop
25385 +@@ -1,11 +1,10 @@
25386 + [Desktop Entry]
25387 + Name=GTK Youtube Viewer
25388 + Version=1.0
25389 +-Encoding=UTF-8
25390 + Comment=A Gtk2 application to search and play Youtube videos with MPlayer.
25391 + Exec=gtk-youtube-viewer
25392 + Icon=gtk-youtube-viewer
25393 + StartupNotify=false
25394 + Terminal=false
25395 + Type=Application
25396 +-Categories=AudioVideo
25397 ++Categories=AudioVideo;
25398
25399 diff --git a/net-misc/youtube-viewer/youtube-viewer-3.0.1_p20120924.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.0.1_p20120924.ebuild
25400 new file mode 100644
25401 index 0000000..a2b3b13
25402 --- /dev/null
25403 +++ b/net-misc/youtube-viewer/youtube-viewer-3.0.1_p20120924.ebuild
25404 @@ -0,0 +1,62 @@
25405 +# Copyright 1999-2012 Gentoo Foundation
25406 +# Distributed under the terms of the GNU General Public License v2
25407 +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.1_p20120924.ebuild,v 1.1 2012/09/24 23:39:29 hasufell Exp $
25408 +
25409 +EAPI=4
25410 +
25411 +inherit eutils perl-module
25412 +
25413 +DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer"
25414 +HOMEPAGE="http://trizen.googlecode.com"
25415 +SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
25416 +
25417 +LICENSE="GPL-3"
25418 +SLOT="0"
25419 +KEYWORDS="~amd64 ~x86"
25420 +IUSE="gtk"
25421 +
25422 +RDEPEND="
25423 + dev-perl/Data-Dump
25424 + dev-perl/libwww-perl
25425 + dev-perl/XML-Fast
25426 + || ( media-video/mplayer[X,network]
25427 + media-video/mplayer2[X,network] )
25428 + virtual/perl-File-Spec
25429 + virtual/perl-Getopt-Long
25430 + virtual/perl-Scalar-List-Utils
25431 + virtual/perl-Term-ANSIColor
25432 + gtk? (
25433 + dev-perl/gtk2-perl
25434 + !net-misc/gtk-youtube-viewer
25435 + virtual/freedesktop-icon-theme
25436 + x11-libs/gdk-pixbuf:2[X,jpeg]
25437 + )"
25438 +DEPEND="virtual/perl-Module-Build"
25439 +
25440 +SRC_TEST="do"
25441 +
25442 +src_prepare() {
25443 + epatch "${FILESDIR}"/${P}-desktopfile.patch
25444 + perl-module_src_prepare
25445 +}
25446 +
25447 +# build system installs files on "perl Build.PL" too
25448 +# do all the work in src_install
25449 +src_configure() { :; }
25450 +src_compile() { :; }
25451 +
25452 +src_install() {
25453 + use gtk && local myconf="--gtk-youtube-viewer"
25454 + perl-module_src_configure
25455 + perl-module_src_install
25456 +}
25457 +
25458 +pkg_postinst() {
25459 + perl-module_pkg_postinst
25460 + einfo
25461 + elog "optional dependencies:"
25462 + elog " dev-perl/TermReadKey (to get the terminal width size)"
25463 + elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
25464 + elog " net-misc/gcap (for retrieving Youtube closed captions)"
25465 + einfo
25466 +}
25467
25468 diff --git a/sci-chemistry/pymol/Manifest b/sci-chemistry/pymol/Manifest
25469 index 4d84524..dc87f85 100644
25470 --- a/sci-chemistry/pymol/Manifest
25471 +++ b/sci-chemistry/pymol/Manifest
25472 @@ -28,7 +28,7 @@ EBUILD pymol-1.3.1_pre3925-r1.ebuild 2698 SHA256 f6f88b0f0715096f6ad6ee74033b0f7
25473 EBUILD pymol-1.4.1.ebuild 2807 SHA256 c4713c5d289c6a00093a2c89afb918c5411de8dee91082fe22fc708b38463067 SHA512 77e50d6556f0581c98ab2793fea5290c8ed093702084daea5ece78c31a3858580fcc11b6eb81635ccce3f02faba3e122bf74a13eea33b586d4fe526ab4482b13 WHIRLPOOL fd3bc7bccf2721655ccf4c0f7b782a64fab92900ac0adf29b5892111f4a6d2c43c496e39cbc4888e7627c80c37a3275c3ea0fdaa229e47dc5750b9a92a8ae211
25474 EBUILD pymol-1.5.0.1.ebuild 2825 SHA256 c19f0fbd375cb89e9e6c9b4c57c56c5bff2decc58bb2980d97ff181bf240786b SHA512 2d7a278ad005e259444dfc9f1a45acb5af099f3657dbdb3a82874ddee2967108974f97519022b594bd5180d88c9d2f00c96b34aee3e4f4105258bdec908476ef WHIRLPOOL 3206984f6af8107b59782046e34cabab902735cd10b5305414a9ef75ccd90a1ed56230ebe8f26938c257ff7116411b63dbebebe05b6b5ed81e49c4126ab6fb11
25475 EBUILD pymol-1.5.0.2.ebuild 2839 SHA256 83f3812fdaf5a45579b446b093f43e083d1e0f031a4541cf445c76b160851ed2 SHA512 79547734142df1391e139a3a3dc2aeed8c95b25a93a71b9926d3f0dc1b8bc0e769c1283fb4c7deb6337150c3bdd347bab936648f6b650d581f4ff8f4232dfccb WHIRLPOOL aeba53ff8f5aa3bc8e1a883225c586ca7e6725721c4084ab0d7a4a98fa33d87cc2e94495ed1b82ac5f254543729287a80e3e755ee981d26808d77207b3d98b32
25476 -EBUILD pymol-1.5.0.3-r1.ebuild 2982 SHA256 3dd99d5554e1ffe32da91284ff30b7b1004d7265a67285b8208abf8f91b95d78 SHA512 49fbe9ce00436049162ed5ab4b85982979a1d2e487e968454f3a0bb2e56f4f50feba07fcdd8630479ad473047aed5f650e7c8768112e2152f20eda510eb71959 WHIRLPOOL d4634566a15d62e46379dc89168db365365426b47fda6c80f2437437ecc9b51e94ebfa1cd9ef13ea968e343a70d29ad167f8ddf03fa8f23378281baf8b87774e
25477 +EBUILD pymol-1.5.0.3-r1.ebuild 2983 SHA256 fd29437529388db43402e252260047db0824efa50014f31203c307e46e178d74 SHA512 8e247f5abe2255ff4b4250d36cb7b18ef5a98c0461e51871e401b0e565277497741559d373d3dc5a01b7ddbf261f09300ea38f9d6f35ab46e57061eb0b8d3ddc WHIRLPOOL e3af537a2bd40887004d26ec1c7594cb78099e4d50bc5b8c9e105e78bac2f73e8b74397ce0a9213381d5de851b3554749f0e3eac7264692ae5d7a48981cb6766
25478 EBUILD pymol-1.5.0.3.ebuild 2821 SHA256 71cbbce3b3e6c4478bca572f2011289375aa95947eee549d294c072e79850025 SHA512 34362fba6f556778b8999e38248a7e017182b48cd7e8be37a07a8b1441c651bc3897c1ca925c931e9f26f7f28646585a5a8c9988ddd759bd5a4ae23c1b1bfd98 WHIRLPOOL a3640e42216b18da91dca5b0bde771f114fa640f66c76d602e9d85d9f4e87040489e5be0831a8ce7dfae0eb12d5090789e898f38757495a2a208a75ec98b4192
25479 -MISC ChangeLog 3087 SHA256 04b1f510084e2b562c32c6f399902d03c5b3819c583afb6189976b1799f86844 SHA512 ead9ad6edf39817676276adcd09bb1c5ed642e4d1b326fbf869b72bae086f45d0706edc05441e83022f044edb76e82e7238e975361ce81a7bd9d5170aeb264a1 WHIRLPOOL c4b6da6551223c08bff842871ca084312ab50d44dd81b94476e4b5b1946778e5510ee58906c8e176d7044248487014c964104afe307aecc16b37882ddf0d7b1c
25480 +MISC ChangeLog 3199 SHA256 b2369951bbeb8ea668eec0f0d934b1a993eaf919905fee474a9043e475ffa919 SHA512 9fb5cfb42394f6b196d3b242a81561f29f44d78d6706203ca663c44e58cb5810c78c5d97f212778f9c7d69bce41b1184bda500d988c2fcf4009c3fbdf8f92c1a WHIRLPOOL b492b783af2764a24361d8b0c65817b81dc6f2b90074baa778c7bfc6fa94927da3ae08edc1ed4a5deb28bcdef0c06de0b2dbe7d172bdab31f2d0c5f57d40ffe8
25481 MISC metadata.xml 569 SHA256 6f2b2746c7b2182262554076f11159b11d671695c40509bf7014c7546d719ff2 SHA512 3d8783ff6a1da73ae10d9c4b9600034045eb601d5a87755205a4d7f4cd44ccdc6dec27365f6631036689dcf05d62f440b9fda4e053b53c26fa0f018d9f176737 WHIRLPOOL 04ce89b34118d29bdbffb42556b607d295dd875e49c130aa11f3a2f14796c16bcef3d120d2f8b0b2ee123f2dd9e6102aa344bebb2f925b2ea1fe094aad447187
25482
25483 diff --git a/sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild b/sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild
25484 index 1643bbd..2b07294 100644
25485 --- a/sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild
25486 +++ b/sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild
25487 @@ -1,6 +1,6 @@
25488 # Copyright 1999-2012 Gentoo Foundation
25489 # Distributed under the terms of the GNU General Public License v2
25490 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild,v 1.6 2012/08/14 20:18:57 blueness Exp $
25491 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-1.5.0.3-r1.ebuild,v 1.7 2012/09/23 07:50:50 phajdan.jr Exp $
25492
25493 EAPI="5"
25494
25495 @@ -20,7 +20,7 @@ SRC_URI="
25496
25497 LICENSE="PSF-2.2"
25498 SLOT="0"
25499 -KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux"
25500 +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
25501 IUSE="apbs numpy vmd web"
25502
25503 DEPEND="
25504
25505 diff --git a/sci-visualization/grace/Manifest b/sci-visualization/grace/Manifest
25506 index 4ba8358..5e62228 100644
25507 --- a/sci-visualization/grace/Manifest
25508 +++ b/sci-visualization/grace/Manifest
25509 @@ -8,7 +8,7 @@ AUX grace.desktop 161 SHA256 0e522ef577b5658559b6e4a4be531ae4989b294935897e84e03
25510 DIST grace-5.1.22.tar.gz 2516576 SHA256 4ce8f058b6c1267a842419a3edbf471421dea9cf5744783745b6cb375cdf5f25 SHA512 0187f0305ff5e404e9adab60e9f3d328121c9ab8352f0b65fa523e2e9078dcee073d347a252a5e8b516728cae24b1ac0718b5011ab17247ae9ea9149336866d4 WHIRLPOOL 206ceb7dee5572e756fe67d528925705ab3b56913f26d8c9b066b07423cdd6b4e70c0739e3b66bdf7aa992dae243755f81ea097e1a33b94817322bc30b33274a
25511 DIST grace.png 338 SHA256 70130b7ddb7a64cf2d866aaf472d8badb12d72ac288275709689c631e23da9bc SHA512 804a693b867ad63f34964c7388f61719c558d253cb2c7bc7b6bd0647ad9b3ddc6b23d3950091b6804e4a94736f024486cf3dcce5f877135def34712ee95e4031 WHIRLPOOL 6cef65fc9329e7f49541e193a84c4f86498f422951ced1bd228ce854bab43a9ba5d9dfb44f780b1dcb030892cebd657d6de385df92710062f56c38f1e6cccd94
25512 DIST grace.png.tar 10240 SHA256 05215c72a2f45b513ba508287b5f693af145719b7a85497320d1e1e17695e99c SHA512 e94970b92894e58fd481d2f81e615c38b77fab7039985516a2ad9b2bb2bb7a82f4e3e8cdb639e7c0d55eaad6bf8abc636a342c94a356e3bd0520824252faddcf WHIRLPOOL 448e1c659475e38331c3ff2f050de52feb01db9623c0a250c7702debe920abf7e9bc56373f442d91d11ad6f55da3e9bbc58f52c1251223bdf405202ae8309556
25513 -EBUILD grace-5.1.22-r2.ebuild 2850 SHA256 8f1b70762c8263ff9475922f8655080766554244af3fafdf47b6ba0385dcf187 SHA512 857f8dead3377272f6219b7cd5a50dbebaf2b72b963c2bbb965a8a65d48cb2e1e0d0255fc72880d91186eea29d708d297c2510b1f716dfb287dd092616e1be35 WHIRLPOOL 3f421a669a72cf55045dcc663996d6fbe065e2deaad77f1587d7cf123c93e06974a08b32ee00c08b28947aa7950932dcbe59352e49d538e4489c5400b6f27276
25514 -EBUILD grace-5.1.22-r3.ebuild 2945 SHA256 38ea66da0242bccc710122cca01669902c7d37ed331cdec55cae9620d73f5aaf SHA512 73383e3b6eecaa017b38f66d5b1dd403a9c876eff4fa617647ff15f787fbb5d3d01f6d32d96c6401856793e8c33ee0dd1ad7b06712f6f216c9390b2be7373081 WHIRLPOOL 6e8be072c79eb44c9317ca94ba711a12055d8297737208699144bd786a1ab8935f7bcf3f272498f5a132932a5ec02c699684c29226243e660670b951bf4db955
25515 -MISC ChangeLog 15949 SHA256 223ba5a70e2608ef2a06f7182800f059cf2d7a8d605e4ca6f28218059533be85 SHA512 104bd5bb5d3b6c7aa641b9dd625545db17e65411d4319b5b2ec03a69914ff44cf6f151456a43e85b369e31c8864ef188b7bf4c75bd7e43420bac147dff3ab277 WHIRLPOOL 106f2678e5f249e19b9c443048b34db31fdb0ddd7bccee53bddfb231b38844de5e7f6d7834749f1f8c001c6a239c4ab3e6a1c95c0658ad24a7dae3bbbc11c24a
25516 +EBUILD grace-5.1.22-r2.ebuild 2848 SHA256 e7f40160c127006a669c7d129b46721f760fb7b80879fbff84cfdca0d3b4f605 SHA512 2a4e9966661bbb1cb1a57c07d38dd4ecf9cb06573b0a896492486c1ced7f7da32fe10332ce876c1a549fb2deb176a6a430826c1f2bf03fc5342656ccd8590d2d WHIRLPOOL 435029b048fed4bafa052d7ab5898912205abf778b4fc9e094c290b2abada658587cdb2ecc7fb3ca042d8fb7d620372b31b7328ed648a20176be31735b3dd084
25517 +EBUILD grace-5.1.22-r3.ebuild 2942 SHA256 c41415c4b227e5f4bf082b44c7f313ca4777006689f72bf84bef031c070a392a SHA512 ab0f97c20e2c1e38f5e1ed735d2c48eadee48dd2c0f6d1281618c3b0c83cbf3e54056289c6880418fa6463f73572bdab4d6bb50e9a5d88924761a73ede2a2bea WHIRLPOOL 47c7fa69a75f4204c3b0dd646c71d797203d057544397b2757d82a4710a5a90f04bfae7438a3f3a871940221ccabe87639e28e16e6d9b5e5cd1ad0bb280e26f0
25518 +MISC ChangeLog 16076 SHA256 ca65d76bfc5ecb6fec37eaa7ac335ca767b57bd8d77a7b1dd6672dba2caabdb7 SHA512 b50545464807b187632fba18f016227016eb259a9b4fd5c33c730402b2eb3af6746bec6918e395920624cc1f917b9139ce77f74340ff3d92fc880c54ebd0f921 WHIRLPOOL 11756f2f30c87fe4f45cacd3c9935d3d0439a7528e3f7ee17773439a462ea20a730464d3a76d8cb64d311eb60aa3adfc5e39e6eff84211fa75ae96cfec6a1878
25519 MISC metadata.xml 648 SHA256 6e6b7236e3ee83b5d72ca91593bcbc7009f648ab2d4eb99a50f70a0d3c580290 SHA512 be245ac48652fd636eaed28a9a29ba2797df74d79c3305eb27ba9a5ed07be1f2901ba8e332b242fb920406257b16240cea0255b57472bf6e7a5fee0381a93762 WHIRLPOOL 56d8ae0b49319907302272f0f6e6c253eb88a5e540b57309f84433c726c40e2b30812aceebfa95e39b5ab35933c88f8da1c16580483ade452ab11ba87b49e4ae
25520
25521 diff --git a/sci-visualization/grace/grace-5.1.22-r2.ebuild b/sci-visualization/grace/grace-5.1.22-r2.ebuild
25522 index 27161d1..dc02bb6 100644
25523 --- a/sci-visualization/grace/grace-5.1.22-r2.ebuild
25524 +++ b/sci-visualization/grace/grace-5.1.22-r2.ebuild
25525 @@ -1,6 +1,6 @@
25526 # Copyright 1999-2012 Gentoo Foundation
25527 # Distributed under the terms of the GNU General Public License v2
25528 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.22-r2.ebuild,v 1.17 2012/09/05 06:50:00 jlec Exp $
25529 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.22-r2.ebuild,v 1.18 2012/09/27 04:51:12 mattst88 Exp $
25530
25531 EAPI="5"
25532
25533 @@ -14,7 +14,7 @@ SRC_URI="
25534
25535 SLOT="0"
25536 LICENSE="GPL-2 LGPL-2"
25537 -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
25538 +KEYWORDS="amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
25539 IUSE="fortran fftw jpeg netcdf png"
25540
25541 DEPEND="
25542
25543 diff --git a/sci-visualization/grace/grace-5.1.22-r3.ebuild b/sci-visualization/grace/grace-5.1.22-r3.ebuild
25544 index 262ce5e..b8fda5c 100644
25545 --- a/sci-visualization/grace/grace-5.1.22-r3.ebuild
25546 +++ b/sci-visualization/grace/grace-5.1.22-r3.ebuild
25547 @@ -1,6 +1,6 @@
25548 # Copyright 1999-2012 Gentoo Foundation
25549 # Distributed under the terms of the GNU General Public License v2
25550 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.22-r3.ebuild,v 1.1 2012/09/05 06:50:00 jlec Exp $
25551 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.22-r3.ebuild,v 1.2 2012/09/27 04:51:12 mattst88 Exp $
25552
25553 EAPI="5"
25554
25555 @@ -15,7 +15,7 @@ SRC_URI="
25556
25557 SLOT="0"
25558 LICENSE="GPL-2 LGPL-2"
25559 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
25560 +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
25561 IUSE="fortran fftw jpeg netcdf png"
25562
25563 DEPEND="
25564
25565 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
25566 index 21a27fc..9f532f5 100644
25567 --- a/www-client/chromium/Manifest
25568 +++ b/www-client/chromium/Manifest
25569 @@ -1,6 +1,7 @@
25570 AUX chromium-alignment-r0.patch 565 SHA256 c679dd4ea0ac6e8ac330372da63a5c821ec54ed704287c392195a4a60db41062 SHA512 a3c7626f8335fcb5b2fe4664916fa07bbd717b57088dafc7092fa11e9873a911162a146f3f5b8531c0ae338d794c669854d8672ee31f00ccf2313b4e663bb6e8 WHIRLPOOL 30003851a02fff863ae01a174cad95280a89fe866fc5af6e6c8cb8f66bdee3e5ad4f1def2b813a77430744b41ff8a753c23b5c1c1bae86e7c1dbe0e0ce23f8de
25571 AUX chromium-bison-2.6-r0.patch 15135 SHA256 b016abb0ff68fc7d1fe153fe7e4a4395809363bb6c310a5c921a4e30175fd854 SHA512 e16539855cd43d063a9b504b8f08a76b57b5110b3ad1f56dff164cea06b33ca7a62adb37267d37d8c5992a9258108280ffebb2121308e2546f7b5f2606822f25 WHIRLPOOL d8f80adf1b5038891479519d85076f98110a0865b9cd4cae4ed77f7d4f0a3294e76ad6f94153cea5ac39105e8251e9f69f5257c9e6dbfcb9950da7670c928492
25572 AUX chromium-browser.xml 407 SHA256 bc039012f8677468e9ce5df825f9d8096be6deb5813031c86a087c88105096ff SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca WHIRLPOOL be37cd2e7d02c510e84c484f32ab6ab2e1f38a2a03c0cdbc9b6b485d64feaf79944d8ce097f0838ae9bc71c42401b633350b847ad316b8e23cf5614e3913e7ec
25573 +AUX chromium-dbus-glib-r0.patch 1630 SHA256 ab71465374c9d03a3764798bf7d2f28d76512f15181a0f34152420c238ef18ba SHA512 e79d1ad32b07e559416b326400dc1bbfbce45d5c903d061907afcd6c753896dbde54f2fd6eda8e3f3d866214ffea46d95ff3f7143bc10354266388ab5f17cc88 WHIRLPOOL bb993ed5ec801b41ae2b7abc0327b978930149054e693a7e1a5def0f370faf9e5d5349bd4965e1f6266a570d4308bcc9181adfa095e635b49cb657a799b419f9
25574 AUX chromium-expat-r0.patch 513 SHA256 af117c11c385a8d401601118ed0d31ea7486684c0c32b78c3089dd3229e0945a SHA512 67a9bec3deb025b5686e8c1b83effdff2bbba7343a6a6dd265ad417f814319ddb3abde7072280218caadc965ae22be102f1e572aac551917150294a722a973e3 WHIRLPOOL 1e113cebf5ec8a6a197969d434f84e41e516b0854113d0f45aa976054ded798d202f982ddbe2e609e0687af440253c60cd46d6128a88af511a94bbf2c70a252a
25575 AUX chromium-glib-r0.patch 451 SHA256 42469853c5cb1d4376567419f78af848b0f4a1b9f68ce9b5c8ce8c0b3d506193 SHA512 cddac3fa7a2b9b62e73a3ae36d67a29469d76d8c48378a7c08db617325c2b193d0f4ebb81b3b0c9a375ef6d9bd922e9f4d8a3177083ce260bf94336f17792432 WHIRLPOOL d31c9fbcaa7561e8f44273966740f63be93970518c177a449ff6164a2dd0792aba2e171b3df3187960388ce4c5a1e677017951d96d44ff40b1f35e7ec03735bd
25576 AUX chromium-gyp-settings-r0.patch 383 SHA256 709e4c8937d7f839f0dd16db905e1834a502bc2cf192329d720b508ef006cfc6 SHA512 7d1d640ea6c5e442f1fce20b3689bdebc108ea3a03444f5a638b21a9a73cfc8739b7e01351fc9a724eb006f78b1c2ea7277c1a44f0a6ac10e7c8f5b820d99e53 WHIRLPOOL e35acd35e2ca208bb9c1852cc4b4299eb4df574fe70d172961303dd0f30b97675482157755662f304a6021199293c4e33f45c8af1e0984cd4265b87e9559d9cc
25577 @@ -11,6 +12,7 @@ AUX chromium-ppapi-r0.patch 422 SHA256 1f4b57670d317959bc2dc60e5d2a44aa8fc6028f7
25578 AUX chromium-revert-jpeg-swizzle-r2.patch 2233 SHA256 d99162aa6bae562f116a42347254bbec3752464f0a3e4d8675e2b287b2a838a2 SHA512 587c892ef76bd3042fb12daf4a52aace556674207b2b3164d20d46037b26e7b06b56dc8b7f176f8640d08a980276182c346b2e2b24808c3dbf0526db2e4b1596 WHIRLPOOL dde8d31c1ebbc535b67f695efc1cf87e2df5db7c399b61bb0489d090577aea97588f8313933fbd8e05111ea24c4b3da07dc0888cba2c2cf6c82ecb13c2306f23
25579 AUX chromium-selinux-r0.patch 411 SHA256 f6ea97bbbc36579a74790338aebea8d090a0729a3f3cfc36086338007a4f9545 SHA512 a0168ec144369b8d9c88a6c8205b47758e80f7077809972776b15ea4b61a692a2a6775638692d5a2a5ac5a7fdc3961de6d19a43b6d01f9057c3ede48d2a7da67 WHIRLPOOL de5fa4ba46ea3cbd3a51ae2c03c85dfc10fe5b421765018b7a568bc3f0882ca063dab1214923a60785214bc8c801cd3aa578c686f400d51f37c4484b3982f48f
25580 AUX chromium-svnversion-r0.patch 480 SHA256 f265a9ea756810f623289523d58b0c58b4ea1a001a693321b9cec4810fdc46de SHA512 1ed5770f717db1c2eb650c0a75bb52902fcc3956733afd8511e2bc9a57a6aae420824b4a4dba92ef59dc32eb156efb58826e6e77c29893db1080f04b803ec3fb WHIRLPOOL b4d8815cfc8fb8d8f82d57e19bc692e0f49d5349d27ae473ec2202c0ff0b8f7ce02e49c5c9baa46d823dadeae6ea07b3157a17d7717cf3554948013f84d42417
25581 +AUX chromium-system-icu-r0.patch 337 SHA256 d634929ca192d867588a8eeaecb0c36de3f146e72cbc056896ce64ca1967f8a2 SHA512 179ac2e36606f300f9a381586713d8a32e27a9c4c5471cb81017f826bd4bdd4a4500d6fe0f0d4086c398ab4f21aa92a4d91a6388b97921940e0fb0e0ee0196d6 WHIRLPOOL afcd379f0c4d7e91a19201fd49793926ddc45d836ba139d6223558b224d919381606086534273aa39d2b5e0a9b73552eb946b006ad004fb6001aa376223bfbf2
25582 AUX chromium-tcmalloc-r0.patch 916 SHA256 ae37da023f0b5cda27c3396b5a197d6aba9f3810a32238450f490a8e93f92b63 SHA512 947bd1176863ef7320c0007e0ba906d86a90f47f23932a581613bb1ca28965d8ecdbe285a118bc6d212a6ba59fa55760fe4a71be46d64a6322fffa29e9737ac3 WHIRLPOOL f1761ba96fd3bad70160ecc4d45cf06c9b3b30de0762228cadb5065377a2d3c48e7106400bbc50e6c591988d1d2f24bb7331fb3f6d36223c2351f9fd8dfd09c5
25583 AUX chromium-tcmalloc-r1.patch 2412 SHA256 df57cc238905c027b844ab680f6c66d879cc7bd9d03603f1ae2c4b10b7715f5b SHA512 b4b47b217c4511c5ff00358ad3d0ebc7e9272d41ef39c3e680fc618843fa5fa1a7ccb88681d2e9bf8b67abcc34f03042f924c977240e87005f621a507330dd9b WHIRLPOOL 1acd99c27ceaf2ab0837fc888d04bb3ef5b48946df96e0981b1698cab986126fe02b3157c5c10dff19c8444b41e1f6053541d6020dcc42bc2ee08eafdd2b477a
25584 AUX chromium-unistd-r0.patch 354 SHA256 45c11f845424a7e197e3ea826066a5987fff6b309f4091a9a775038543a0656d SHA512 949517b25aac38fcdd229b71f1a7eeefad57b7896aa066258ca6d35972c9a5d97b6432e6317b8d086575a0c7f94f317f068136902327ef747bb380e46d143e70 WHIRLPOOL 271362646f6c5af2e41081e77c6307e87330c43149573b162bee26c6b716a9dd43dd302539a63e7de9aeab04a7af4e4dff25b6e575dd4192d744a6a33ba2066b
25585 @@ -18,17 +20,15 @@ AUX chromium-webkit-zlib-r0.patch 1750 SHA256 7a44c63d96b6fd4b12afcd06a81f410ff1
25586 AUX chromium-zlib-r0.patch 511 SHA256 ec2795bfc47c516401fd2c9648caa3b06e64794392b41a11b2664d9968171534 SHA512 d06c7551d1976404b07f4cbcb5f385cbc565884d34d3fd49bd4c1c2b96e2b660f4d8f778c5f7ac9bd34d66ad46a1f1235d89f1c2b026fbc3bd9c2b7ab7087fc4 WHIRLPOOL a394e499ca1bb3304716087f1a7b6e91847fbc7425e6d0e1bad00acb9a0e8690559687726fe41d49031f51e3eccdcbcd290a27e366613dfce4d2e89aab92375d
25587 AUX chromium.default 147 SHA256 de16d72d77ac9fe04f781df4f50dfb714ba33574755932df950c1d9472b589d9 SHA512 26cdfd05da7f33ba94cd710ae52a1b345cdea4928500af791cff10ca8f9f44036497d9520f690d4d40be5774e77cf9be77f21233b7f804b1dee7d81b8382a9fa WHIRLPOOL 162deb65f97efca4db35dae64e46e0cd21d02a3dd1ae0ec6fa2f9ee7660fbeeb771a1afa3d07cb0d904cd8d7c16ff4b462bc6be3cf9a4143833e909ab89ac5fd
25588 AUX dot-gclient 253 SHA256 8c5750251ff681044cc584ef3768fe39c56c7877ade5fb9107298734126e62cf SHA512 96d4ffd01fec2773d7beaf2bc82b8eb969556f6e859e39136b4044521c5b8bfd36c13a7f2fcc64613935d4703d8ede8a56c7ce581a7732642cb8ee71039c801e WHIRLPOOL 6a65521487fa353a22f192c567b487c77a405e068c88898e0d8045b3de26bdd54ed736f104e495598e0cc8703d3f6abc80f8b2ea1e254007dfb18f50294e8c07
25589 -DIST chromium-21.0.1180.89.tar.bz2 192638239 SHA256 16cca8d90a3369840f79a6f06d11756515fc8a4c3595060778dcab21e59235c5 SHA512 c4bba7b145c5bd43cd63f9ddbb20a805c59e10f16f5ad61e813529c59e56e8c53d161bc50d4d6aa563289b41add51deb8c1f1654522f54d445e64e64b042059d WHIRLPOOL 9646e728637eea4ede8fc9668bdd13f955025647c8e35b7976dc17cf9d53c58fa16e7d2e4d71571a2454a7ca37e52fa1926ae0c57343378b21a7e13616b774e0
25590 -DIST chromium-22.0.1229.52.tar.bz2 210177691 SHA256 c4e3feaf9b9e3fbbf43e1abee20f9275ef92c4c53ede716d499b36639884181e SHA512 9b262fabac2687fb7792377d0f8d9d2131990831a8d00a24a7f61ae361558cc68754a872d717b9ec3fcf99f86cd4437abb8b339085dadff5febfefefec70cc81 WHIRLPOOL b3930aafe366212dc3c3fec76a71a5034e4af4e1f51ea748ef759c48fa5102d806de1008be4b93a0adeadef1ccbd1614c2f5fdcd65698a8434b73ac848de5305
25591 -DIST chromium-22.0.1229.56.tar.bz2 210192006 SHA256 fba520dbab04203ac47e750ad5a2bb74d1b7783bc45599ada65a85ef8fc0d673 SHA512 2ae2b2801a432990a9df31d7d33d9d1ad5f943ec19460e0fb7bed4bff60c829a52a6022754db07af149544cd9e5f81e2145c4e1a0388d5a6fdcd9f9608d8ecdb WHIRLPOOL 305618eb4147f07fdffd75d1ddd7db11c30d12760d413bdc753a4720c238f0c37caaf014ceeca91072a5f80b2795cb63fa31904aefac5e6a3b0c7586632a3d74
25592 -DIST chromium-23.0.1255.0.tar.bz2 214978942 SHA256 ef04f056e1abd5491a7ac324c92f583b3a266a8a3cbe59da6f5059636b297a8a SHA512 3b3aa589ca5372a11ddadab27d7dc12de7699a0a849c6db8b0f74e29670de0493b33feeae0216bf916844519396c6207f52359513dc12fb55b73054d4413fe17 WHIRLPOOL 6c97a28c5113c0bfea2e1be5c63bebe43fef744479960738ee2a515da2f7dd8b1e7e43e759af2773b1f0f882ba7765110077876767d5630f43602583250e43c0
25593 -DIST chromium-23.0.1262.0.tar.bz2 215892826 SHA256 064adce9d9ee46522effda08ee9349e36e3b55c15a046de40c1ea7b7c58e58a7 SHA512 511218126d1dfce26f2fba7e4ba66fdb91fdda45ca0f9fd36340443e4c0d3a860c1353fa7bf82fcecbb8e85c3dcf9595a129770e7b9bca0f4f694a0f97d45f12 WHIRLPOOL 1b2557a7ec12027f025afc60efab0999b5537451fde3a12afbc8b4d20ba15e604f0ea6b8e072959f3128695dcecc77010f6884fbf2f2d12ca6dae1e606bcce63
25594 -EBUILD chromium-21.0.1180.89.ebuild 14037 SHA256 a435e45d547baeab644aeb210fb18d69b5d854cd5b37ddad4cca85fb2be269ce SHA512 dd8579a215e611a8c79d79deae40782778f39e81279aa67a2ba05681bf227941b1a5ba3ddc3e772c98a85d761b1e5f125083545ffcf9f1786cfd6752f8b0f2a3 WHIRLPOOL 2ba5c0c3f4eb5a1ce3a1c3d4ad4428936f30e3ea45a25dd2a74c83a101b4b6481e651755e2750c722f4948e71edf69691f9f172d50f2f39986dcc266b66f2560
25595 -EBUILD chromium-22.0.1229.52.ebuild 13923 SHA256 1201cf3ffe8c9de2f81b024a9222c8df7a28dca2b87bb724a16f1147cb25119b SHA512 13523588fdeb1b49c369a56114e7ac6a391d05885f042dd4939a3d76d6b789767043d81474e518a85946fab6b68452c54b8aacc0f6c7dde6a26e0e349d47ce17 WHIRLPOOL 04ee3a8657a3319609edc9738bee70a59ac60967425d30376b720cb34def89bc69d6839dfad11b87571b7473a039d7998860aa930d495f62c5e1778639ad237a
25596 -EBUILD chromium-22.0.1229.56.ebuild 13923 SHA256 c8cbffa9d09bc363f2721aed0b7bdb9dac04d2c888e09cddd2888bb0a8817b9c SHA512 6f6ff74baf16c6ba227c6e01da33eb10a1ff29240b7d111584175195017365ae5fe2d4245bed9a93fc2e5f35c3a268062d8a7dcb8d2e49483571d4ff2f1efc6d WHIRLPOOL 71bd0fe78f8713385de8677a42df7d00144e04d088fefd43d9ae63f0fe19269ca4ae0c8714772e0db960e9cc7984929d24cc121272a76e8137bd8e88293c68e9
25597 -EBUILD chromium-23.0.1255.0.ebuild 14693 SHA256 adf4457a305a28122ff118c0eb61092d4c9c812692fc91eafb729e5d5c847369 SHA512 725aa2c3777c0ced6c056471fbb90b2f7fc38bf128086677193c8eb23ad48f2d162ac5d7375fc335d1b17928f894c078452aaf7f398797c1a0b4778dfd217a33 WHIRLPOOL 83fce59fc7da8d39167ac902e18915fe59a77fd3c28cb4ce735536c86c16038db5e0a4830fd440e5e27573e14641e4b1d6c580dcd99ebf6ac1f7b47f52f5e3f0
25598 -EBUILD chromium-23.0.1262.0.ebuild 14693 SHA256 b79944bb49dbb88eff490191ebb4cf4689f90179c1f1d8d8f08060214058c2a1 SHA512 a15009fd9550aecc31f0b5935edb8784260864ddb3c707b20c91df295de2b7dcb78679fced2592ea2eb2dace4369636512e3b35dd9fa75978a604027af8949fe WHIRLPOOL eff94f2ffa399909c603aae184a0d1fc8f8bca3a2d8e5b49bc5967052c000634e9c274966ee1a30ad15fd2eeafd46ce5bf10879b79ccbae4976303144ccdb3ec
25599 -EBUILD chromium-9999-r1.ebuild 15856 SHA256 969ae8a5c8c844efee0ff496e243a2a87be17d615f0da3ad5dc5e9c9af1877b5 SHA512 4ca4080fc7598d0d045c17aba5fe5b5dde2baf422d3be116e710c42c5975ea54868043cf2c3093b03663c1a50ae206dff45d17fede12434f4602f6ce8f403365 WHIRLPOOL 21ab825196a3139af4cebc44a71c5d487a1fb9012b316fff64bba4101049b2de757ee0f9c620d6a2f1e8c6422bb6d24f07442fe5b31377b839c5f9b326c1f10f
25600 -MISC ChangeLog 36765 SHA256 cb69856d21e155437e879a0f8f20bd9504bc65dcc7b06f1cca11dfe95db702a7 SHA512 4436cbcb268a950825ad564261e7fe97d7fd1adf58c6d5a589f5741fb31738fc26b542a639e178d822137155c33835dce46eb6563944516151a22ee1b715b903 WHIRLPOOL 2943edb46d9c32e58ff30534661f6f2d270f389f15bbeee52d393f873ade32eac23d5a59d16a0835fad59b4630ece9d58f020ca4de68d46076bf30921837455c
25601 +DIST chromium-22.0.1229.79.tar.bz2 210410507 SHA256 06cab1c48092def5bd94e9f4aa764f6ff5728ce35bbcdcc12fddbad3a0f0f738 SHA512 149666d8e185e4080c1cd7ab153edca2f4833be5beceef51b20e8cbd238030330ec1230cd3a9640bea2d02134683437bba7c809b2f5e13178d4a4e169321c717 WHIRLPOOL acf93160f2b096090a90e2718474477b40b67e8486a8ab7edca777268d4cd2799081cef8a73592302bd07248bdf831486f95873c6ac9b8e031587f3b1e5f739f
25602 +DIST chromium-22.0.1229.91.tar.bz2 210386491 SHA256 dc375b6120352247bccc754863fe7c1d57b87abdb26e49187762020ecbca87ac SHA512 85d1f6f945ca906c7379f8c5933d3e6195853dfabe7e53b26ded32d68cdb55325c019b010c6b0c90ed7f7eca56b7108505114551ab876963c4c21574b0749016 WHIRLPOOL a23cc10ca767255d56b41cdfd0106cd0e294d6ede78d30ce49eebc55b106f8efba0bee8c48aceda6fe390ee428aa81703063733c221b0488907f2cc5e03477e8
25603 +DIST chromium-23.0.1271.1.tar.bz2 217461161 SHA256 090a5002269d175325bca0573c4cbbd5e26d058a356c539d32a6facc82dc5aa6 SHA512 e5874538f027e1dc0cfeee97654af0fc7e4e99b38eae316912fd6fa6aa56dc0fa39b91d7d1828e5a6be16cb246f4161beea1d2cd436bd976e1c6a4575f2c4259 WHIRLPOOL a123ceefd9c18f5e250b3448a8c2fc6577a519d7db8a09a8cc9d7c288cc7e350b0fdf4077c2f885dcd6c9690dddd2f7438752d707fd8efb47692791f90b76922
25604 +DIST chromium-23.0.1271.6.tar.bz2 217450125 SHA256 d8e4ac36745fecefe05b793a396129ad0c985ae4bb52ffa28362f1cd0b6160d3 SHA512 bbbd931da280d62fbc6076a5723b4b006fb7da033ba79f7284951841e06d21fe405b830e55066d739c53ff558135b3e7b354bfd55b2666b74734b807630725e3 WHIRLPOOL cff15211be1fd990eff55001cc4125ac5bce0aff155bee21bc0980c3688311bdd0158b406d6eef2238de3c562d83fc0ea43d775ae49f9796f4970e56332ca377
25605 +EBUILD chromium-22.0.1229.79.ebuild 14060 SHA256 6a2110467e314b8188127323a39e8461e62e13d38097de3359cd071065221bc6 SHA512 932ae897862acaf510c1f530367b2f81678ef246cc077e614cb0a6b8cd47f81f54d7a03a0975bd20b5c370aa7955dd86adfd6018314dcef88237fcc2619bf22f WHIRLPOOL f561d4316d29fbf4ec3959d44eed4b3cfd15706c944e7105ae0e6d8990b8c99a47f5b441d9a6f142d748b252a7e5d696be47352a6957d0bb0d75ac3aedf28ee0
25606 +EBUILD chromium-22.0.1229.91.ebuild 14059 SHA256 e84a71bef9cba30b9e65aa23264c7937adea47c500300925d1c7c5bb727e41ef SHA512 32a9cf899162cad4a341d02b5e0d5402e9277253e9de77e3ac7e41d56a4e93489bbe6bdf1626b07c753a6cd05aaad8d8bae1f97bf4f5c092eca67e38834064a9 WHIRLPOOL 84f4524175d4778f99c7adf6e31f1fa15f759be1c850fd5f174b398b414a9cc9fc8a7bc21eff3b2784ec5734726b74a2f92e6c37e23511801b8ae096f3913293
25607 +EBUILD chromium-23.0.1271.1.ebuild 14934 SHA256 8798191ccb68d0d3c5071718f01416615eaad99a63ccbcfae7bd16090529668f SHA512 d215a1554ce960b9f249fc2cd3299b5c1fd3bd0c50613e8037b2e402ae3eec971193a16e3ac502e0ef193d857eb83f5bd3aea23056cc4374113ed73699566a30 WHIRLPOOL 704572a03502eada66186a78aa54fd7c293170f328d778de85ba2e0168861ccb602650d211f86e425aa28051ff9b3fe29afbefa653aff982236125a2488dfc92
25608 +EBUILD chromium-23.0.1271.6.ebuild 15098 SHA256 1f74c94ae2ad043365a196198f60d21642276c688d8c4b15b88c2722a4e3ed3e SHA512 1c5de343570b5f52e22159ea2af8bed4d75419656dff732e9daa3951b07c02c575a6cf0ad2f60dbab144ac8f91f8ebb3092fa69fb324befa04071e4d893d6fd2 WHIRLPOOL ee8f6ca1197a30ed904a4b9b5c448ab2f57c985540d6cd8e02a61077287fce34bc4e0850d9e3a3406482934dd6099d00b9fa912a01804b7b3cf84bce94df0d8d
25609 +EBUILD chromium-9999-r1.ebuild 16058 SHA256 51c72d3782d3d15d002b9231b980eccbcbe65c11a0575f1ea965d354a7ceee7e SHA512 5d694b9076a5435c202f6567d7578d9a451626d91ff1cd85459fc02b4c69034af2b410d42db2b764a02b2b2f89cd4a4df4802ea49a7aae1153f94d6efd4e1986 WHIRLPOOL 7b2f43ef54d10baa41507103979fe3301c1816b4a94c5ba01ef5d85dd967adb85851745457282892f4290ea70d46dcf1836b1301fdf2c331e92bfd1ab369709e
25610 +MISC ChangeLog 38425 SHA256 ba6a48b64c0f186f191b852dfe78d3ef881c310f0db791d336591d4cab1ca2eb SHA512 5f9d7b21285d403fee02d5d262fbe5b615e1aba4058c2b22a43e35c225a606d4b5586473c5a119312006028dc2dd5ade9f6a2b700be9f1906a880ea23d4d6d5f WHIRLPOOL f8d8bea929fcd045ef452394144829dc75a7524afb40bc97ee0aaf32b9a50d8818e94fe9a4452ac2629e566d87aec70ff8bdc15b993b77b8290516cfdfcc17f8
25611 MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b
25612 MISC metadata.xml 267 SHA256 4e6afae33f60d6752cacf2785f7f9a396b8711cce605b73d0d752a4af7d01fc8 SHA512 f6d64d50bfbfad74db0ca0454fcba335a1744d11a44f921f19545c478219c507994cfcaba13160215cbb5a77d0bc82cdbf64a90a4b1b169184e404e404f9029e WHIRLPOOL 66a5cdeac3a86b910040d4c601fef50465fb0e0a0805e6b1c22cde2a83a63a2a1d441643af5454775becdfc65c71116d00b27703a7dd15ced183fb223c32f075
25613
25614 diff --git a/www-client/chromium/chromium-21.0.1180.89.ebuild b/www-client/chromium/chromium-21.0.1180.89.ebuild
25615 deleted file mode 100644
25616 index ae1bd15..0000000
25617 --- a/www-client/chromium/chromium-21.0.1180.89.ebuild
25618 +++ /dev/null
25619 @@ -1,435 +0,0 @@
25620 -# Copyright 1999-2012 Gentoo Foundation
25621 -# Distributed under the terms of the GNU General Public License v2
25622 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-21.0.1180.89.ebuild,v 1.3 2012/09/02 06:30:58 phajdan.jr Exp $
25623 -
25624 -EAPI="5"
25625 -PYTHON_DEPEND="2:2.6"
25626 -
25627 -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
25628 - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
25629 - sv sw ta te th tr uk vi zh_CN zh_TW"
25630 -
25631 -inherit chromium eutils flag-o-matic multilib \
25632 - pax-utils portability python toolchain-funcs versionator virtualx
25633 -
25634 -DESCRIPTION="Open-source version of Google Chrome web browser"
25635 -HOMEPAGE="http://chromium.org/"
25636 -SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
25637 -
25638 -LICENSE="BSD"
25639 -SLOT="0"
25640 -KEYWORDS="amd64 x86"
25641 -IUSE="bindist cups gnome gnome-keyring kerberos pulseaudio selinux"
25642 -
25643 -RDEPEND="app-arch/bzip2
25644 - cups? (
25645 - dev-libs/libgcrypt
25646 - >=net-print/cups-1.3.11
25647 - )
25648 - >=dev-lang/v8-3.11.10.6
25649 - dev-libs/dbus-glib
25650 - >=dev-libs/elfutils-0.149
25651 - dev-libs/expat
25652 - >=dev-libs/icu-49.1.1-r1
25653 - >=dev-libs/libevent-1.4.13
25654 - dev-libs/libxml2[icu]
25655 - dev-libs/libxslt
25656 - >=dev-libs/nss-3.12.3
25657 - gnome? ( >=gnome-base/gconf-2.24.0 )
25658 - gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2 )
25659 - >=media-libs/alsa-lib-1.0.19
25660 - media-libs/flac
25661 - >=media-libs/libjpeg-turbo-1.2.0-r1
25662 - media-libs/libpng:=
25663 - >=media-libs/libwebp-0.2.0_rc1
25664 - media-libs/speex
25665 - pulseaudio? ( media-sound/pulseaudio )
25666 - sys-fs/udev
25667 - sys-libs/zlib
25668 - virtual/libusb:1
25669 - x11-libs/gtk+:2
25670 - x11-libs/libXinerama
25671 - x11-libs/libXScrnSaver
25672 - x11-libs/libXtst
25673 - kerberos? ( virtual/krb5 )
25674 - selinux? ( sys-libs/libselinux )"
25675 -DEPEND="${RDEPEND}
25676 - >=dev-lang/nacl-toolchain-newlib-0_p7311
25677 - dev-lang/perl
25678 - dev-lang/yasm
25679 - dev-python/ply
25680 - dev-python/simplejson
25681 - >=dev-util/gperf-3.0.3
25682 - >=sys-devel/bison-2.4.3
25683 - sys-devel/flex
25684 - >=sys-devel/make-3.81-r2
25685 - virtual/pkgconfig
25686 - test? (
25687 - dev-python/pyftpdlib
25688 - )"
25689 -RDEPEND+="
25690 - !=www-client/chromium-9999
25691 - x11-misc/xdg-utils
25692 - virtual/ttf-fonts"
25693 -
25694 -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
25695 - EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
25696 -fi
25697 -
25698 -pkg_setup() {
25699 - if [[ "${SLOT}" == "0" ]]; then
25700 - CHROMIUM_SUFFIX=""
25701 - else
25702 - CHROMIUM_SUFFIX="-${SLOT}"
25703 - fi
25704 - CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
25705 -
25706 - # Make sure the build system will use the right tools, bug #340795.
25707 - tc-export AR CC CXX RANLIB
25708 -
25709 - # Make sure the build system will use the right python, bug #344367.
25710 - python_set_active_version 2
25711 - python_pkg_setup
25712 -
25713 - if ! use selinux; then
25714 - chromium_suid_sandbox_check_kernel_config
25715 - fi
25716 -
25717 - if use bindist; then
25718 - elog "bindist enabled: H.264 video support will be disabled."
25719 - else
25720 - elog "bindist disabled: Resulting binaries may not be legal to re-distribute."
25721 - fi
25722 -}
25723 -
25724 -src_prepare() {
25725 - ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
25726 - native_client/toolchain/linux_x86_newlib || die
25727 -
25728 - # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
25729 - sed -i '1i#define OF(x) x' \
25730 - third_party/zlib/contrib/minizip/{ioapi,{,un}zip}.h || die
25731 -
25732 - # Fix build without NaCl glibc toolchain.
25733 - epatch "${FILESDIR}/${PN}-ppapi-r0.patch"
25734 -
25735 - # Bug 427438.
25736 - epatch "${FILESDIR}/${PN}-bison-2.6-r0.patch"
25737 -
25738 - epatch_user
25739 -
25740 - # Remove most bundled libraries. Some are still needed.
25741 - find third_party -type f \! -iname '*.gyp*' \
25742 - \! -path 'third_party/WebKit/*' \
25743 - \! -path 'third_party/angle/*' \
25744 - \! -path 'third_party/cacheinvalidation/*' \
25745 - \! -path 'third_party/cld/*' \
25746 - \! -path 'third_party/ffmpeg/*' \
25747 - \! -path 'third_party/flac/flac.h' \
25748 - \! -path 'third_party/gpsd/*' \
25749 - \! -path 'third_party/harfbuzz/*' \
25750 - \! -path 'third_party/hunspell/*' \
25751 - \! -path 'third_party/iccjpeg/*' \
25752 - \! -path 'third_party/jsoncpp/*' \
25753 - \! -path 'third_party/khronos/*' \
25754 - \! -path 'third_party/launchpad_translations/*' \
25755 - \! -path 'third_party/leveldatabase/*' \
25756 - \! -path 'third_party/libjingle/*' \
25757 - \! -path 'third_party/libphonenumber/*' \
25758 - \! -path 'third_party/libsrtp/*' \
25759 - \! -path 'third_party/libusb/libusb.h' \
25760 - \! -path 'third_party/libvpx/*' \
25761 - \! -path 'third_party/libxml/chromium/*' \
25762 - \! -path 'third_party/libyuv/*' \
25763 - \! -path 'third_party/lss/*' \
25764 - \! -path 'third_party/mesa/*' \
25765 - \! -path 'third_party/modp_b64/*' \
25766 - \! -path 'third_party/mongoose/*' \
25767 - \! -path 'third_party/npapi/*' \
25768 - \! -path 'third_party/openmax/*' \
25769 - \! -path 'third_party/ots/*' \
25770 - \! -path 'third_party/protobuf/*' \
25771 - \! -path 'third_party/scons-2.0.1/*' \
25772 - \! -path 'third_party/sfntly/*' \
25773 - \! -path 'third_party/skia/*' \
25774 - \! -path 'third_party/smhasher/*' \
25775 - \! -path 'third_party/speex/speex.h' \
25776 - \! -path 'third_party/sqlite/*' \
25777 - \! -path 'third_party/tlslite/*' \
25778 - \! -path 'third_party/trace-viewer/*' \
25779 - \! -path 'third_party/undoview/*' \
25780 - \! -path 'third_party/v8-i18n/*' \
25781 - \! -path 'third_party/webdriver/*' \
25782 - \! -path 'third_party/webgl_conformance/*' \
25783 - \! -path 'third_party/webrtc/*' \
25784 - \! -path 'third_party/zlib/contrib/minizip/*' \
25785 - -delete || die
25786 -
25787 - local v8_bundled="$(chromium_bundled_v8_version)"
25788 - local v8_installed="$(chromium_installed_v8_version)"
25789 - einfo "V8 version: bundled - ${v8_bundled}; installed - ${v8_installed}"
25790 -
25791 - # Remove bundled v8.
25792 - find v8 -type f \! -iname '*.gyp*' -delete || die
25793 -
25794 - # The implementation files include v8 headers with full path,
25795 - # like #include "v8/include/v8.h". Make sure the system headers
25796 - # will be used.
25797 - # TODO: find a solution that can be upstreamed.
25798 - rmdir v8/include || die
25799 - ln -s /usr/include v8/include || die
25800 -
25801 - # Make sure the build system will use the right python, bug #344367.
25802 - # Only convert directories that need it, to save time.
25803 - python_convert_shebangs -q -r 2 build tools
25804 -}
25805 -
25806 -src_configure() {
25807 - local myconf=""
25808 -
25809 - # Never tell the build system to "enable" SSE2, it has a few unexpected
25810 - # additions, bug #336871.
25811 - myconf+=" -Ddisable_sse2=1"
25812 -
25813 - # Disable tcmalloc, it causes problems with e.g. NVIDIA
25814 - # drivers, bug #413637.
25815 - myconf+=" -Dlinux_use_tcmalloc=0"
25816 -
25817 - # Disable glibc Native Client toolchain, we don't need it (bug #417019).
25818 - myconf+=" -Ddisable_glibc=1"
25819 -
25820 - # Make it possible to remove third_party/adobe.
25821 - echo > "${T}/flapper_version.h" || die
25822 - myconf+=" -Dflapper_version_h_file=${T}/flapper_version.h"
25823 -
25824 - # Use system-provided libraries.
25825 - # TODO: use_system_ffmpeg
25826 - # TODO: use_system_hunspell (upstream changes needed).
25827 - # TODO: use_system_ssl (http://crbug.com/58087).
25828 - # TODO: use_system_sqlite (http://crbug.com/22208).
25829 - # TODO: use_system_vpx
25830 - myconf+="
25831 - -Duse_system_bzip2=1
25832 - -Duse_system_flac=1
25833 - -Duse_system_icu=1
25834 - -Duse_system_libevent=1
25835 - -Duse_system_libjpeg=1
25836 - -Duse_system_libpng=1:=
25837 - -Duse_system_libusb=1
25838 - -Duse_system_libwebp=1
25839 - -Duse_system_libxml=1
25840 - -Duse_system_speex=1
25841 - -Duse_system_v8=1
25842 - -Duse_system_xdg_utils=1
25843 - -Duse_system_yasm=1
25844 - -Duse_system_zlib=1"
25845 -
25846 - # Optional dependencies.
25847 - # TODO: linux_link_kerberos, bug #381289.
25848 - myconf+="
25849 - $(gyp_use cups)
25850 - $(gyp_use gnome use_gconf)
25851 - $(gyp_use gnome-keyring use_gnome_keyring)
25852 - $(gyp_use gnome-keyring linux_link_gnome_keyring)
25853 - $(gyp_use kerberos)
25854 - $(gyp_use pulseaudio)
25855 - $(gyp_use selinux selinux)"
25856 -
25857 - # Use explicit library dependencies instead of dlopen.
25858 - # This makes breakages easier to detect by revdep-rebuild.
25859 - myconf+="
25860 - -Dlinux_link_gsettings=1"
25861 -
25862 - if ! use selinux; then
25863 - # Enable SUID sandbox.
25864 - myconf+="
25865 - -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox
25866 - -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
25867 - fi
25868 -
25869 - # Never use bundled gold binary. Disable gold linker flags for now.
25870 - myconf+="
25871 - -Dlinux_use_gold_binary=0
25872 - -Dlinux_use_gold_flags=0"
25873 -
25874 - if ! use bindist; then
25875 - # Enable H.624 support in bundled ffmpeg.
25876 - myconf+=" -Dproprietary_codecs=1 -Dffmpeg_branding=Chrome"
25877 - fi
25878 -
25879 - local myarch="$(tc-arch)"
25880 - if [[ $myarch = amd64 ]] ; then
25881 - myconf+=" -Dtarget_arch=x64"
25882 - elif [[ $myarch = x86 ]] ; then
25883 - myconf+=" -Dtarget_arch=ia32"
25884 - else
25885 - die "Failed to determine target arch, got '$myarch'."
25886 - fi
25887 -
25888 - # Make sure that -Werror doesn't get added to CFLAGS by the build system.
25889 - # Depending on GCC version the warnings are different and we don't want
25890 - # the build to fail because of that.
25891 - myconf+=" -Dwerror="
25892 -
25893 - # Avoid CFLAGS problems, bug #352457, bug #390147.
25894 - if ! use custom-cflags; then
25895 - replace-flags "-Os" "-O2"
25896 - strip-flags
25897 - fi
25898 -
25899 - egyp_chromium ${myconf} || die
25900 -}
25901 -
25902 -src_compile() {
25903 - local test_targets
25904 - for x in base cacheinvalidation crypto \
25905 - googleurl gpu media net printing sql; do
25906 - test_targets+=" ${x}_unittests"
25907 - done
25908 -
25909 - local make_targets="chrome chromedriver"
25910 - if ! use selinux; then
25911 - make_targets+=" chrome_sandbox"
25912 - fi
25913 - if use test; then
25914 - make_targets+=$test_targets
25915 - fi
25916 -
25917 - # See bug #410883 for more info about the .host mess.
25918 - emake ${make_targets} BUILDTYPE=Release V=1 \
25919 - CC.host="$(tc-getCC)" CFLAGS.host="${CFLAGS}" \
25920 - CXX.host="$(tc-getCXX)" CXXFLAGS.host="${CXXFLAGS}" \
25921 - LINK.host="$(tc-getCXX)" LDFLAGS.host="${LDFLAGS}" \
25922 - AR.host="$(tc-getAR)" || die
25923 -
25924 - pax-mark m out/Release/chrome
25925 - if use test; then
25926 - for x in $test_targets; do
25927 - pax-mark m out/Release/${x}
25928 - done
25929 - fi
25930 -}
25931 -
25932 -src_test() {
25933 - # For more info see bug #350349.
25934 - local mylocale='en_US.utf8'
25935 - if ! locale -a | grep -q "$mylocale"; then
25936 - eerror "${PN} requires ${mylocale} locale for tests"
25937 - eerror "Please read the following guides for more information:"
25938 - eerror " http://www.gentoo.org/doc/en/guide-localization.xml"
25939 - eerror " http://www.gentoo.org/doc/en/utf-8.xml"
25940 - die "locale ${mylocale} is not supported"
25941 - fi
25942 -
25943 - # For more info see bug #370957.
25944 - if [[ $UID -eq 0 ]]; then
25945 - die "Tests must be run as non-root. Please use FEATURES=userpriv."
25946 - fi
25947 -
25948 - # ICUStringConversionsTest: bug #350347.
25949 - # MessagePumpLibeventTest: bug #398501.
25950 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/base_unittests virtualmake \
25951 - '--gtest_filter=-ICUStringConversionsTest.*:MessagePumpLibeventTest.*'
25952 -
25953 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/cacheinvalidation_unittests virtualmake
25954 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/crypto_unittests virtualmake
25955 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/googleurl_unittests virtualmake
25956 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/gpu_unittests virtualmake
25957 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/media_unittests virtualmake
25958 -
25959 - # NetUtilTest: bug #361885.
25960 - # DnsConfigServiceTest.GetSystemConfig: bug #394883.
25961 - # CertDatabaseNSSTest.ImportServerCert_SelfSigned: bug #399269.
25962 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/net_unittests virtualmake \
25963 - '--gtest_filter=-NetUtilTest.IDNToUnicode*:NetUtilTest.FormatUrl*:DnsConfigServiceTest.GetSystemConfig:CertDatabaseNSSTest.ImportServerCert_SelfSigned:URLFetcher*'
25964 -
25965 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/printing_unittests virtualmake
25966 - LC_ALL="${mylocale}" VIRTUALX_COMMAND=out/Release/sql_unittests virtualmake
25967 -}
25968 -
25969 -src_install() {
25970 - exeinto "${CHROMIUM_HOME}"
25971 - doexe out/Release/chrome || die
25972 -
25973 - if ! use selinux; then
25974 - doexe out/Release/chrome_sandbox || die
25975 - fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox"
25976 - fi
25977 -
25978 - doexe out/Release/chromedriver || die
25979 -
25980 - doexe out/Release/nacl_helper{,_bootstrap} || die
25981 - insinto "${CHROMIUM_HOME}"
25982 - doins out/Release/nacl_irt_*.nexe || die
25983 - doins out/Release/libppGoogleNaClPluginChrome.so || die
25984 -
25985 - newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
25986 - if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
25987 - sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" \
25988 - -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die
25989 - sed "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g" \
25990 - -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die
25991 - sed "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:" \
25992 - -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die
25993 - fi
25994 -
25995 - # It is important that we name the target "chromium-browser",
25996 - # xdg-utils expect it; bug #355517.
25997 - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die
25998 - # keep the old symlink around for consistency
25999 - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die
26000 -
26001 - # Allow users to override command-line options, bug #357629.
26002 - dodir /etc/chromium || die
26003 - insinto /etc/chromium
26004 - newins "${FILESDIR}/chromium.default" "default" || die
26005 -
26006 - pushd out/Release/locales > /dev/null || die
26007 - chromium_remove_language_paks
26008 - popd
26009 -
26010 - insinto "${CHROMIUM_HOME}"
26011 - doins out/Release/*.pak || die
26012 -
26013 - doins -r out/Release/locales || die
26014 - doins -r out/Release/resources || die
26015 -
26016 - newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
26017 - newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
26018 -
26019 - doexe out/Release/libffmpegsumo.so || die
26020 -
26021 - # Install icons and desktop entry.
26022 - local branding size
26023 - for size in 16 22 24 32 48 64 128 256 ; do
26024 - case ${size} in
26025 - 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
26026 - *) branding="chrome/app/theme/chromium" ;;
26027 - esac
26028 - newicon -s ${size} "${branding}/product_logo_${size}.png" \
26029 - chromium-browser${CHROMIUM_SUFFIX}.png
26030 - done
26031 -
26032 - local mime_types="text/html;text/xml;application/xhtml+xml;"
26033 - mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
26034 - mime_types+="x-scheme-handler/ftp;" # bug #412185
26035 - mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
26036 - make_desktop_entry \
26037 - chromium-browser${CHROMIUM_SUFFIX} \
26038 - "Chromium${CHROMIUM_SUFFIX}" \
26039 - chromium-browser${CHROMIUM_SUFFIX} \
26040 - "Network;WebBrowser" \
26041 - "MimeType=${mime_types}\nStartupWMClass=chromium-browser"
26042 - sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die
26043 -
26044 - # Install GNOME default application entry (bug #303100).
26045 - if use gnome; then
26046 - dodir /usr/share/gnome-control-center/default-apps || die
26047 - insinto /usr/share/gnome-control-center/default-apps
26048 - newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die
26049 - if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
26050 - sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \
26051 - "${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml
26052 - fi
26053 - fi
26054 -}
26055
26056 diff --git a/www-client/chromium/chromium-22.0.1229.52.ebuild b/www-client/chromium/chromium-22.0.1229.79.ebuild
26057 similarity index 97%
26058 rename from www-client/chromium/chromium-22.0.1229.52.ebuild
26059 rename to www-client/chromium/chromium-22.0.1229.79.ebuild
26060 index e1f0ec3..fc1ec39 100644
26061 --- a/www-client/chromium/chromium-22.0.1229.52.ebuild
26062 +++ b/www-client/chromium/chromium-22.0.1229.79.ebuild
26063 @@ -1,8 +1,8 @@
26064 # Copyright 1999-2012 Gentoo Foundation
26065 # Distributed under the terms of the GNU General Public License v2
26066 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-22.0.1229.52.ebuild,v 1.1 2012/09/13 02:08:23 floppym Exp $
26067 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-22.0.1229.79.ebuild,v 1.4 2012/09/26 11:12:00 phajdan.jr Exp $
26068
26069 -EAPI="5"
26070 +EAPI="4"
26071 PYTHON_DEPEND="2:2.6"
26072
26073 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26074 @@ -18,7 +18,7 @@ SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.
26075
26076 LICENSE="BSD"
26077 SLOT="0"
26078 -KEYWORDS="~amd64 ~x86"
26079 +KEYWORDS="amd64 x86"
26080 IUSE="bindist cups gnome gnome-keyring kerberos pulseaudio selinux"
26081
26082 RDEPEND="app-arch/bzip2
26083 @@ -40,7 +40,7 @@ RDEPEND="app-arch/bzip2
26084 >=media-libs/alsa-lib-1.0.19
26085 media-libs/flac
26086 >=media-libs/libjpeg-turbo-1.2.0-r1
26087 - media-libs/libpng:=
26088 + media-libs/libpng
26089 >=media-libs/libwebp-0.2.0_rc1
26090 media-libs/speex
26091 pulseaudio? ( media-sound/pulseaudio )
26092 @@ -215,7 +215,7 @@ src_configure() {
26093 -Duse_system_icu=1
26094 -Duse_system_libevent=1
26095 -Duse_system_libjpeg=1
26096 - -Duse_system_libpng=1:=
26097 + -Duse_system_libpng=1
26098 -Duse_system_libusb=1
26099 -Duse_system_libwebp=1
26100 -Duse_system_libxml=1
26101 @@ -345,7 +345,11 @@ src_test() {
26102 runtest out/Release/crypto_unittests
26103 runtest out/Release/googleurl_unittests
26104 runtest out/Release/gpu_unittests
26105 - runtest out/Release/media_unittests
26106 +
26107 + local excluded_media_unittests=(
26108 + "ChunkDemuxerTest.TestDurationChangeTimestampOffset" # bug #431042
26109 + )
26110 + runtest out/Release/media_unittests "${excluded_media_unittests[@]}"
26111
26112 local excluded_net_unittests=(
26113 "NetUtilTest.IDNToUnicode*" # bug 361885
26114
26115 diff --git a/www-client/chromium/chromium-22.0.1229.56.ebuild b/www-client/chromium/chromium-22.0.1229.91.ebuild
26116 similarity index 97%
26117 rename from www-client/chromium/chromium-22.0.1229.56.ebuild
26118 rename to www-client/chromium/chromium-22.0.1229.91.ebuild
26119 index d05ba6e..8669315 100644
26120 --- a/www-client/chromium/chromium-22.0.1229.56.ebuild
26121 +++ b/www-client/chromium/chromium-22.0.1229.91.ebuild
26122 @@ -1,8 +1,8 @@
26123 # Copyright 1999-2012 Gentoo Foundation
26124 # Distributed under the terms of the GNU General Public License v2
26125 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-22.0.1229.56.ebuild,v 1.1 2012/09/15 04:48:02 floppym Exp $
26126 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-22.0.1229.91.ebuild,v 1.1 2012/09/27 02:31:37 floppym Exp $
26127
26128 -EAPI="5"
26129 +EAPI="4"
26130 PYTHON_DEPEND="2:2.6"
26131
26132 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26133 @@ -40,7 +40,7 @@ RDEPEND="app-arch/bzip2
26134 >=media-libs/alsa-lib-1.0.19
26135 media-libs/flac
26136 >=media-libs/libjpeg-turbo-1.2.0-r1
26137 - media-libs/libpng:=
26138 + media-libs/libpng
26139 >=media-libs/libwebp-0.2.0_rc1
26140 media-libs/speex
26141 pulseaudio? ( media-sound/pulseaudio )
26142 @@ -215,7 +215,7 @@ src_configure() {
26143 -Duse_system_icu=1
26144 -Duse_system_libevent=1
26145 -Duse_system_libjpeg=1
26146 - -Duse_system_libpng=1:=
26147 + -Duse_system_libpng=1
26148 -Duse_system_libusb=1
26149 -Duse_system_libwebp=1
26150 -Duse_system_libxml=1
26151 @@ -345,7 +345,11 @@ src_test() {
26152 runtest out/Release/crypto_unittests
26153 runtest out/Release/googleurl_unittests
26154 runtest out/Release/gpu_unittests
26155 - runtest out/Release/media_unittests
26156 +
26157 + local excluded_media_unittests=(
26158 + "ChunkDemuxerTest.TestDurationChangeTimestampOffset" # bug #431042
26159 + )
26160 + runtest out/Release/media_unittests "${excluded_media_unittests[@]}"
26161
26162 local excluded_net_unittests=(
26163 "NetUtilTest.IDNToUnicode*" # bug 361885
26164
26165 diff --git a/www-client/chromium/chromium-23.0.1255.0.ebuild b/www-client/chromium/chromium-23.0.1271.1.ebuild
26166 similarity index 92%
26167 rename from www-client/chromium/chromium-23.0.1255.0.ebuild
26168 rename to www-client/chromium/chromium-23.0.1271.1.ebuild
26169 index aee297e..079c79d 100644
26170 --- a/www-client/chromium/chromium-23.0.1255.0.ebuild
26171 +++ b/www-client/chromium/chromium-23.0.1271.1.ebuild
26172 @@ -1,8 +1,8 @@
26173 # Copyright 1999-2012 Gentoo Foundation
26174 # Distributed under the terms of the GNU General Public License v2
26175 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-23.0.1255.0.ebuild,v 1.1 2012/09/05 18:33:23 phajdan.jr Exp $
26176 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-23.0.1271.1.ebuild,v 1.1 2012/09/23 12:37:33 phajdan.jr Exp $
26177
26178 -EAPI="5"
26179 +EAPI="4"
26180 PYTHON_DEPEND="2:2.6"
26181
26182 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26183 @@ -40,7 +40,7 @@ RDEPEND="app-arch/bzip2
26184 >=media-libs/alsa-lib-1.0.19
26185 media-libs/flac
26186 >=media-libs/libjpeg-turbo-1.2.0-r1
26187 - media-libs/libpng:=
26188 + media-libs/libpng
26189 >=media-libs/libwebp-0.2.0_rc1
26190 pulseaudio? ( media-sound/pulseaudio )
26191 sys-fs/udev
26192 @@ -52,7 +52,6 @@ RDEPEND="app-arch/bzip2
26193 kerberos? ( virtual/krb5 )
26194 selinux? ( sys-libs/libselinux )"
26195 DEPEND="${RDEPEND}
26196 - !arm? ( >=dev-lang/nacl-toolchain-newlib-0_p9093 )
26197 dev-lang/perl
26198 dev-lang/yasm
26199 dev-python/ply
26200 @@ -99,35 +98,35 @@ pkg_setup() {
26201 }
26202
26203 src_prepare() {
26204 - if ! use arm; then
26205 - ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
26206 - native_client/toolchain/linux_x86_newlib || die
26207 - fi
26208 + # if ! use arm; then
26209 + # ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
26210 + # native_client/toolchain/linux_x86_newlib || die
26211 + # fi
26212
26213 # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
26214 # sed -i '1i#define OF(x) x' \
26215 # third_party/zlib/contrib/minizip/{ioapi,{,un}zip}.h || die
26216
26217 # Fix build without NaCl glibc toolchain.
26218 - epatch "${FILESDIR}/${PN}-ppapi-r0.patch"
26219 + # epatch "${FILESDIR}/${PN}-ppapi-r0.patch"
26220
26221 # Missing gyp files in tarball.
26222 # https://code.google.com/p/chromium/issues/detail?id=144823
26223 - if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then
26224 - die "tarball fixed, please remove workaround"
26225 - fi
26226 -
26227 - mkdir -p chrome/test/data/nacl
26228 - cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF
26229 - {
26230 - 'targets': [
26231 - {
26232 - 'target_name': 'nacl_tests',
26233 - 'type': 'none',
26234 - },
26235 - ],
26236 - }
26237 - EOF
26238 + # if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then
26239 + # die "tarball fixed, please remove workaround"
26240 + # fi
26241 +
26242 + # mkdir -p chrome/test/data/nacl
26243 + # cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF
26244 + # {
26245 + # 'targets': [
26246 + # {
26247 + # 'target_name': 'nacl_tests',
26248 + # 'type': 'none',
26249 + # },
26250 + # ],
26251 + # }
26252 + # EOF
26253
26254 epatch_user
26255
26256 @@ -215,6 +214,10 @@ src_configure() {
26257 # drivers, bug #413637.
26258 myconf+=" -Dlinux_use_tcmalloc=0"
26259
26260 + # TODO: re-enable nacl after fixing build errors, see
26261 + # http://forums.gentoo.org/viewtopic-t-937222-highlight-chromium.html
26262 + myconf+=" -Ddisable_nacl=1"
26263 +
26264 # Disable glibc Native Client toolchain, we don't need it (bug #417019).
26265 myconf+=" -Ddisable_glibc=1"
26266
26267 @@ -236,7 +239,7 @@ src_configure() {
26268 -Duse_system_icu=1
26269 -Duse_system_libevent=1
26270 -Duse_system_libjpeg=1
26271 - -Duse_system_libpng=1:=
26272 + -Duse_system_libpng=1
26273 -Duse_system_libusb=1
26274 -Duse_system_libwebp=1
26275 -Duse_system_libxml=1
26276 @@ -379,6 +382,9 @@ src_test() {
26277 "DnsConfigServiceTest.GetSystemConfig" # bug #394883
26278 "CertDatabaseNSSTest.ImportServerCert_SelfSigned" # bug #399269
26279 "URLFetcher*" # bug #425764
26280 + "HTTPSOCSPTest.*" # bug #426630
26281 + "HTTPSEVCRLSetTest.*" # see above
26282 + "HTTPSCRLSetTest.*" # see above
26283 )
26284 runtest out/Release/net_unittests "${excluded_net_unittests[@]}"
26285
26286 @@ -397,12 +403,12 @@ src_install() {
26287
26288 doexe out/Release/chromedriver || die
26289
26290 - if ! use arm; then
26291 - doexe out/Release/nacl_helper{,_bootstrap} || die
26292 - insinto "${CHROMIUM_HOME}"
26293 - doins out/Release/nacl_irt_*.nexe || die
26294 - doins out/Release/libppGoogleNaClPluginChrome.so || die
26295 - fi
26296 + # if ! use arm; then
26297 + # doexe out/Release/nacl_helper{,_bootstrap} || die
26298 + # insinto "${CHROMIUM_HOME}"
26299 + # doins out/Release/nacl_irt_*.nexe || die
26300 + # doins out/Release/libppGoogleNaClPluginChrome.so || die
26301 + # fi
26302
26303 newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
26304 if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
26305
26306 diff --git a/www-client/chromium/chromium-23.0.1262.0.ebuild b/www-client/chromium/chromium-23.0.1271.6.ebuild
26307 similarity index 91%
26308 rename from www-client/chromium/chromium-23.0.1262.0.ebuild
26309 rename to www-client/chromium/chromium-23.0.1271.6.ebuild
26310 index 5c639ac..6b4c3bb 100644
26311 --- a/www-client/chromium/chromium-23.0.1262.0.ebuild
26312 +++ b/www-client/chromium/chromium-23.0.1271.6.ebuild
26313 @@ -1,8 +1,8 @@
26314 # Copyright 1999-2012 Gentoo Foundation
26315 # Distributed under the terms of the GNU General Public License v2
26316 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-23.0.1262.0.ebuild,v 1.1 2012/09/12 11:44:02 phajdan.jr Exp $
26317 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-23.0.1271.6.ebuild,v 1.1 2012/09/27 11:24:50 phajdan.jr Exp $
26318
26319 -EAPI="5"
26320 +EAPI="4"
26321 PYTHON_DEPEND="2:2.6"
26322
26323 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26324 @@ -27,7 +27,6 @@ RDEPEND="app-arch/bzip2
26325 >=net-print/cups-1.3.11
26326 )
26327 >=dev-lang/v8-3.11.10.6
26328 - dev-libs/dbus-glib
26329 >=dev-libs/elfutils-0.149
26330 dev-libs/expat
26331 >=dev-libs/icu-49.1.1-r1
26332 @@ -40,7 +39,7 @@ RDEPEND="app-arch/bzip2
26333 >=media-libs/alsa-lib-1.0.19
26334 media-libs/flac
26335 >=media-libs/libjpeg-turbo-1.2.0-r1
26336 - media-libs/libpng:=
26337 + media-libs/libpng
26338 >=media-libs/libwebp-0.2.0_rc1
26339 pulseaudio? ( media-sound/pulseaudio )
26340 sys-fs/udev
26341 @@ -52,7 +51,6 @@ RDEPEND="app-arch/bzip2
26342 kerberos? ( virtual/krb5 )
26343 selinux? ( sys-libs/libselinux )"
26344 DEPEND="${RDEPEND}
26345 - !arm? ( >=dev-lang/nacl-toolchain-newlib-0_p9093 )
26346 dev-lang/perl
26347 dev-lang/yasm
26348 dev-python/ply
26349 @@ -99,35 +97,41 @@ pkg_setup() {
26350 }
26351
26352 src_prepare() {
26353 - if ! use arm; then
26354 - ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
26355 - native_client/toolchain/linux_x86_newlib || die
26356 - fi
26357 + # if ! use arm; then
26358 + # ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
26359 + # native_client/toolchain/linux_x86_newlib || die
26360 + # fi
26361
26362 # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
26363 # sed -i '1i#define OF(x) x' \
26364 # third_party/zlib/contrib/minizip/{ioapi,{,un}zip}.h || die
26365
26366 # Fix build without NaCl glibc toolchain.
26367 - epatch "${FILESDIR}/${PN}-ppapi-r0.patch"
26368 + # epatch "${FILESDIR}/${PN}-ppapi-r0.patch"
26369 +
26370 + # Fix unnecessary dependency on dbus-glib, bug #434346.
26371 + epatch "${FILESDIR}/${PN}-dbus-glib-r0.patch"
26372 +
26373 + # Fix build with system ICU.
26374 + epatch "${FILESDIR}/${PN}-system-icu-r0.patch"
26375
26376 # Missing gyp files in tarball.
26377 # https://code.google.com/p/chromium/issues/detail?id=144823
26378 - if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then
26379 - die "tarball fixed, please remove workaround"
26380 - fi
26381 -
26382 - mkdir -p chrome/test/data/nacl
26383 - cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF
26384 - {
26385 - 'targets': [
26386 - {
26387 - 'target_name': 'nacl_tests',
26388 - 'type': 'none',
26389 - },
26390 - ],
26391 - }
26392 - EOF
26393 + # if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then
26394 + # die "tarball fixed, please remove workaround"
26395 + # fi
26396 +
26397 + # mkdir -p chrome/test/data/nacl
26398 + # cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF
26399 + # {
26400 + # 'targets': [
26401 + # {
26402 + # 'target_name': 'nacl_tests',
26403 + # 'type': 'none',
26404 + # },
26405 + # ],
26406 + # }
26407 + # EOF
26408
26409 epatch_user
26410
26411 @@ -215,6 +219,10 @@ src_configure() {
26412 # drivers, bug #413637.
26413 myconf+=" -Dlinux_use_tcmalloc=0"
26414
26415 + # TODO: re-enable nacl after fixing build errors, see
26416 + # http://forums.gentoo.org/viewtopic-t-937222-highlight-chromium.html
26417 + myconf+=" -Ddisable_nacl=1"
26418 +
26419 # Disable glibc Native Client toolchain, we don't need it (bug #417019).
26420 myconf+=" -Ddisable_glibc=1"
26421
26422 @@ -236,7 +244,7 @@ src_configure() {
26423 -Duse_system_icu=1
26424 -Duse_system_libevent=1
26425 -Duse_system_libjpeg=1
26426 - -Duse_system_libpng=1:=
26427 + -Duse_system_libpng=1
26428 -Duse_system_libusb=1
26429 -Duse_system_libwebp=1
26430 -Duse_system_libxml=1
26431 @@ -379,6 +387,9 @@ src_test() {
26432 "DnsConfigServiceTest.GetSystemConfig" # bug #394883
26433 "CertDatabaseNSSTest.ImportServerCert_SelfSigned" # bug #399269
26434 "URLFetcher*" # bug #425764
26435 + "HTTPSOCSPTest.*" # bug #426630
26436 + "HTTPSEVCRLSetTest.*" # see above
26437 + "HTTPSCRLSetTest.*" # see above
26438 )
26439 runtest out/Release/net_unittests "${excluded_net_unittests[@]}"
26440
26441 @@ -397,12 +408,12 @@ src_install() {
26442
26443 doexe out/Release/chromedriver || die
26444
26445 - if ! use arm; then
26446 - doexe out/Release/nacl_helper{,_bootstrap} || die
26447 - insinto "${CHROMIUM_HOME}"
26448 - doins out/Release/nacl_irt_*.nexe || die
26449 - doins out/Release/libppGoogleNaClPluginChrome.so || die
26450 - fi
26451 + # if ! use arm; then
26452 + # doexe out/Release/nacl_helper{,_bootstrap} || die
26453 + # insinto "${CHROMIUM_HOME}"
26454 + # doins out/Release/nacl_irt_*.nexe || die
26455 + # doins out/Release/libppGoogleNaClPluginChrome.so || die
26456 + # fi
26457
26458 newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
26459 if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
26460
26461 diff --git a/www-client/chromium/chromium-9999-r1.ebuild b/www-client/chromium/chromium-9999-r1.ebuild
26462 index 55e5a25..de24b3e 100644
26463 --- a/www-client/chromium/chromium-9999-r1.ebuild
26464 +++ b/www-client/chromium/chromium-9999-r1.ebuild
26465 @@ -1,6 +1,6 @@
26466 # Copyright 1999-2012 Gentoo Foundation
26467 # Distributed under the terms of the GNU General Public License v2
26468 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.134 2012/09/12 11:44:02 phajdan.jr Exp $
26469 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.136 2012/09/27 11:24:50 phajdan.jr Exp $
26470
26471 EAPI="5"
26472 PYTHON_DEPEND="2:2.6"
26473 @@ -27,7 +27,6 @@ RDEPEND="app-arch/bzip2
26474 >=net-print/cups-1.3.11
26475 )
26476 >=dev-lang/v8-3.11.10.6
26477 - dev-libs/dbus-glib
26478 >=dev-libs/elfutils-0.149
26479 dev-libs/expat
26480 >=dev-libs/icu-49.1.1-r1
26481 @@ -52,7 +51,6 @@ RDEPEND="app-arch/bzip2
26482 kerberos? ( virtual/krb5 )
26483 selinux? ( sys-libs/libselinux )"
26484 DEPEND="${RDEPEND}
26485 - !arm? ( >=dev-lang/nacl-toolchain-newlib-0_p9093 )
26486 dev-lang/perl
26487 dev-lang/yasm
26488 dev-python/ply
26489 @@ -157,10 +155,10 @@ pkg_setup() {
26490 }
26491
26492 src_prepare() {
26493 - if ! use arm; then
26494 - ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
26495 - native_client/toolchain/linux_x86_newlib || die
26496 - fi
26497 + # if ! use arm; then
26498 + # ln -s /usr/$(get_libdir)/nacl-toolchain-newlib \
26499 + # native_client/toolchain/linux_x86_newlib || die
26500 + # fi
26501
26502 # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
26503 # sed -i '1i#define OF(x) x' \
26504 @@ -252,6 +250,10 @@ src_configure() {
26505 # drivers, bug #413637.
26506 myconf+=" -Dlinux_use_tcmalloc=0"
26507
26508 + # TODO: re-enable nacl after fixing build errors, see
26509 + # http://forums.gentoo.org/viewtopic-t-937222-highlight-chromium.html
26510 + myconf+=" -Ddisable_nacl=1"
26511 +
26512 # Disable glibc Native Client toolchain, we don't need it (bug #417019).
26513 myconf+=" -Ddisable_glibc=1"
26514
26515 @@ -416,6 +418,9 @@ src_test() {
26516 "DnsConfigServiceTest.GetSystemConfig" # bug #394883
26517 "CertDatabaseNSSTest.ImportServerCert_SelfSigned" # bug #399269
26518 "URLFetcher*" # bug #425764
26519 + "HTTPSOCSPTest.*" # bug #426630
26520 + "HTTPSEVCRLSetTest.*" # see above
26521 + "HTTPSCRLSetTest.*" # see above
26522 )
26523 runtest out/Release/net_unittests "${excluded_net_unittests[@]}"
26524
26525 @@ -434,12 +439,12 @@ src_install() {
26526
26527 doexe out/Release/chromedriver || die
26528
26529 - if ! use arm; then
26530 - doexe out/Release/nacl_helper{,_bootstrap} || die
26531 - insinto "${CHROMIUM_HOME}"
26532 - doins out/Release/nacl_irt_*.nexe || die
26533 - doins out/Release/libppGoogleNaClPluginChrome.so || die
26534 - fi
26535 + # if ! use arm; then
26536 + # doexe out/Release/nacl_helper{,_bootstrap} || die
26537 + # insinto "${CHROMIUM_HOME}"
26538 + # doins out/Release/nacl_irt_*.nexe || die
26539 + # doins out/Release/libppGoogleNaClPluginChrome.so || die
26540 + # fi
26541
26542 newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
26543 if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
26544
26545 diff --git a/www-client/chromium/files/chromium-dbus-glib-r0.patch b/www-client/chromium/files/chromium-dbus-glib-r0.patch
26546 new file mode 100644
26547 index 0000000..e221e1e
26548 --- /dev/null
26549 +++ b/www-client/chromium/files/chromium-dbus-glib-r0.patch
26550 @@ -0,0 +1,59 @@
26551 +Index: build/linux/system.gyp
26552 +===================================================================
26553 +--- build/linux/system.gyp (revision 158796)
26554 ++++ build/linux/system.gyp (working copy)
26555 +@@ -112,7 +112,28 @@
26556 + ],
26557 + },
26558 + ], # targets
26559 +- }] # chromeos==0
26560 ++ }, { # chromeos==1
26561 ++ 'targets': [
26562 ++ {
26563 ++ # TODO(satorux): Remove this once dbus-glib clients are gone.
26564 ++ 'target_name': 'dbus-glib',
26565 ++ 'type': 'none',
26566 ++ 'direct_dependent_settings': {
26567 ++ 'cflags': [
26568 ++ '<!@(<(pkg-config) --cflags dbus-glib-1)',
26569 ++ ],
26570 ++ },
26571 ++ 'link_settings': {
26572 ++ 'ldflags': [
26573 ++ '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)',
26574 ++ ],
26575 ++ 'libraries': [
26576 ++ '<!@(<(pkg-config) --libs-only-l dbus-glib-1)',
26577 ++ ],
26578 ++ },
26579 ++ },
26580 ++ ],
26581 ++ }]
26582 + ], # conditions
26583 + 'targets': [
26584 + {
26585 +@@ -477,24 +498,6 @@
26586 + },
26587 + },
26588 + {
26589 +- # TODO(satorux): Remove this once dbus-glib clients are gone.
26590 +- 'target_name': 'dbus-glib',
26591 +- 'type': 'none',
26592 +- 'direct_dependent_settings': {
26593 +- 'cflags': [
26594 +- '<!@(<(pkg-config) --cflags dbus-glib-1)',
26595 +- ],
26596 +- },
26597 +- 'link_settings': {
26598 +- 'ldflags': [
26599 +- '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)',
26600 +- ],
26601 +- 'libraries': [
26602 +- '<!@(<(pkg-config) --libs-only-l dbus-glib-1)',
26603 +- ],
26604 +- },
26605 +- },
26606 +- {
26607 + 'target_name': 'glib',
26608 + 'type': 'none',
26609 + 'toolsets': ['host', 'target'],
26610
26611 diff --git a/www-client/chromium/files/chromium-system-icu-r0.patch b/www-client/chromium/files/chromium-system-icu-r0.patch
26612 new file mode 100644
26613 index 0000000..4f2c6d0
26614 --- /dev/null
26615 +++ b/www-client/chromium/files/chromium-system-icu-r0.patch
26616 @@ -0,0 +1,12 @@
26617 +--- printing/backend/print_backend.cc.orig 2012-09-27 09:40:47.000000000 +0200
26618 ++++ printing/backend/print_backend.cc 2012-09-27 09:41:26.000000000 +0200
26619 +@@ -6,8 +6,8 @@
26620 +
26621 + #include <algorithm>
26622 +
26623 +-#include "third_party/icu/public/common/unicode/uchar.h"
26624 + #include "ui/base/text/text_elider.h"
26625 ++#include "unicode/uchar.h"
26626 +
26627 + namespace {
26628 +
26629
26630 diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest
26631 deleted file mode 100644
26632 index 4262fa3..0000000
26633 --- a/www-client/google-chrome/Manifest
26634 +++ /dev/null
26635 @@ -1,11 +0,0 @@
26636 -DIST google-chrome-beta_22.0.1229.64-r157476_amd64.deb 34632982 SHA256 d3a21e141629dc171a555848370a79c6339aea8f2bd067fd646e13b6b74a4a04 SHA512 0d7cb114f5024276ad821b4bce4e1f5b9d60d77aff79e1c6f12d84942c5d22265f259a0a0bc9ef08977085eef9cc6682a20cb02eb31a4f86f1d62d394a57fe70 WHIRLPOOL 4c1e8f01f5a4ed25b043c4d315d3f470f68c3106593ddff7e6ba1e87aa5665a80fbe1a2da70862e09a5334aed36af7c7161e3f967cc45eb55820f2e7cd5a8f86
26637 -DIST google-chrome-beta_22.0.1229.64-r157476_i386.deb 32952486 SHA256 7de4a32548e2d6497f4f68ed9ce82524e621a379b871f0cc987adc98778bc0da SHA512 17f707eab2703347b3b6fe5ccf6cfe0125a0aa3ffaba27caf25f21773050816a5cba91baeefe9025926618f6842bd0487220ac5d59d80a405f34faf40faf154e WHIRLPOOL c06486a7f38e3b207cf93d20e2e8f3f47f930512fdda96d4e828c6ce1ddff0a32793ea801dede75dd93d216b623f07f03ea1f579e618fad12642d726eea61982
26638 -DIST google-chrome-stable_21.0.1180.89-r154005_amd64.deb 34025748 SHA256 5ddcfb7aa8d29b1dfc5ebc269bf3d717d899e640e107a55bac89a471e4361060 SHA512 65ac6849b6309ddf5e9e78ac3f6fd69bc0705d82918c903b1846e7baf987221cca504b306131ebe06ecf5e4c552651ab8c2b736faded9a0b276e01b1119fa02c WHIRLPOOL f48da50cc61c26b28c85376d22256e2b039baac3524daa5a102474fca3e5efdf7ebecd91aac3dc4a0ef70435a7faa7a0534ac4cc7bc401bb78f6207901c80754
26639 -DIST google-chrome-stable_21.0.1180.89-r154005_i386.deb 32363342 SHA256 d4588ebb938f1abb44633bf4924b12263e90d94d77607446144db69eb0a26a87 SHA512 c478c5e78d2761ca95108c83487de215c20f524c43d22cb1de9388b03a2b2ab2e1075cc37fdb081a8c4487705de0fbba4d7cd23e35c40619e19685ea4d36e45b WHIRLPOOL 42dc63d36b7fc54a300aff91e05fea0c62590e178d32ee12d7369c4b69820042c3c2a4fb5338db747cd86721282a1b3a721c88a9ba1e23b6f2cd45cf56f63f2c
26640 -DIST google-chrome-unstable_23.0.1271.1-r157674_amd64.deb 35894020 SHA256 7f057296fde3d69148d94d115b0cf32df1a38ab1561af4e4dd0682b8b0fa323e SHA512 4d67393cbd1bade725ff7c7ba2a49e11f9d313b1c77ade1ee7415d87acb4b151020399494dc37edbb846f8904f085b3f904de572f226ab2260381568c41ae9dc WHIRLPOOL 7897a7497eb87b10e03e89107ad0a229f215c6062925dfc92f2cbc12eec1c159f2ab7e875e6b921af0473addcd4f8430e0e1d8c9e0434b8f88e4607d128de454
26641 -DIST google-chrome-unstable_23.0.1271.1-r157674_i386.deb 34205662 SHA256 ec5b39bb14c74dc29f5667288a1e6d57ebfae81c1ad035b320b9170245cda8ad SHA512 7ef1866a3812f2aaa85ed60f13729f03232cfb46b9096957e221c4fbdc3813885c4361449dcc8d29af28a93ef6ad3ed5f675b1590284b4837a6056c941698cbd WHIRLPOOL b942eb7102830bb4dc6b6270c35e8134e2cf9304f3e893c3353276a0c9dbbf41bd57c2cad86a9873af97e15a82bb4d79a99fa1ec193202f33955ac6516a89892
26642 -EBUILD google-chrome-21.0.1180.89_p154005.ebuild 3741 SHA256 17047d8c03ffb2bea408e2d23db448f93974f49751b586f4f30040ee21528fe8 SHA512 f32ed5d61f88b39e1c5b6a43b692d33946f18d32184f2ec1ab825aeb4209fe6af0aa4f3599ac18b9a299248a3f361fea5689564cccb223ed4223b20805cf3ae7 WHIRLPOOL 1dcf0984ee0fe7f003c58231358692005edd9dab2edd0029775feb3f85064bc3bb9135b92db56d0f48f39f7f245c8712ca98b5f49977aaa3153fbee53b3737af
26643 -EBUILD google-chrome-22.0.1229.64_beta157476.ebuild 3744 SHA256 41e6d3264bfb82de663acd8c6de3dadb3f83f1ebd0a9f511b3876f1529519257 SHA512 3c503271f31a47dd4cbcc8e215fb8367b85670e00d6e38e1868d844023c8d94a34119802a30bff3594b4839aaf368442281bfc16ce002b050f338c3368f94320 WHIRLPOOL 94dcc82a717d9ecc9e0e09c1647eb897a7a4f4ba9fcebdab6c11b2902b044c9374468e26968138c930ce236937d5b41bb5252dbf46ab2c3de9241200db228819
26644 -EBUILD google-chrome-23.0.1271.1_alpha157674.ebuild 3701 SHA256 f2bc5cc5787b54b9732e31a52faaa704296d821a589835e83cba1e3ae9051598 SHA512 2e559b4057e50cf8e6400a02d7102493d54f927c235bbd93f273409311a747390de1a0c837febae7e1e8b9129f4634e508157fdfa1a34019ae1453bd28766990 WHIRLPOOL fc0afd0f85bdde6da28d63285878fec0ed9ef73c5ece7539f2edd389af9a7b06a24a92d9cafd2c3b928b18b841ae7f41e519dd9013854be9598260964cb6c214
26645 -MISC ChangeLog 45921 SHA256 d7f9c2f2703a5848e14374d75138cf85f0fb99117c743e84eda9156568d9456b SHA512 598a5cd2c52735ad221ce27197bc890b5364f59b42efcf7af6c90f7535e20de89957f610a1df407bdcea1d0ad6ee8a65346fb081da74bba8dfe8ba13d80fe4b0 WHIRLPOOL aea5801b8ad43009b9b5eae1fc792150148d92330d6e915a0c9e33a7b474df3c5307a5cba62642eebf9c17c16060d9495fa0109bb58f6c3acd08e9bd8819261a
26646 -MISC metadata.xml 600 SHA256 e3dffcb8db012d64e4dbb7df2566b800b2a9476aaf0447b1d40a6e94d2733806 SHA512 350bb629bee41ac320d1a870d3d7f34ead23edb1b7cf6ac6379363b01435015c58e249ba1375e9ed3b3023107ef5f3f29f646143a9e2622769923aa5fb21d846 WHIRLPOOL 05772be4e662813e5a0231e46d272931f0ccce9a13f7244ddda8a40e43e8d141293d0a70d4aa8b640ace773d3f68d663bd8cd4558f3bc3c65e5126834bf05129
26647
26648 diff --git a/www-client/google-chrome/google-chrome-21.0.1180.89_p154005.ebuild b/www-client/google-chrome/google-chrome-21.0.1180.89_p154005.ebuild
26649 deleted file mode 100644
26650 index c432c96..0000000
26651 --- a/www-client/google-chrome/google-chrome-21.0.1180.89_p154005.ebuild
26652 +++ /dev/null
26653 @@ -1,151 +0,0 @@
26654 -# Copyright 1999-2012 Gentoo Foundation
26655 -# Distributed under the terms of the GNU General Public License v2
26656 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-21.0.1180.89_p154005.ebuild,v 1.2 2012/09/07 16:46:08 floppym Exp $
26657 -
26658 -EAPI="5"
26659 -
26660 -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26661 - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
26662 - sv sw ta te th tr uk vi zh_CN zh_TW"
26663 -
26664 -inherit chromium eutils multilib pax-utils unpacker
26665 -
26666 -DESCRIPTION="The web browser from Google"
26667 -HOMEPAGE="http://www.google.com/chrome"
26668 -
26669 -case ${PV} in
26670 - *_alpha*)
26671 - SLOT="unstable"
26672 - MY_PV=${PV/_alpha/-r}
26673 - ;;
26674 - *_beta*)
26675 - SLOT="beta"
26676 - MY_PV=${PV/_beta/-r}
26677 - ;;
26678 - *_p*)
26679 - SLOT="stable"
26680 - MY_PV=${PV/_p/-r}
26681 - ;;
26682 - *)
26683 - die "Invalid value for \${PV}: ${PV}"
26684 - ;;
26685 -esac
26686 -
26687 -MY_PN="${PN}-${SLOT}"
26688 -MY_P="${MY_PN}_${MY_PV}"
26689 -
26690 -SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_"
26691 -SRC_URI="amd64? ( ${SRC_BASE}amd64.deb ) x86? ( ${SRC_BASE}i386.deb )"
26692 -
26693 -LICENSE="google-chrome"
26694 -KEYWORDS="-* ~amd64 ~x86"
26695 -IUSE="+plugins"
26696 -RESTRICT="mirror strip"
26697 -
26698 -RDEPEND="
26699 - media-libs/alsa-lib
26700 - app-arch/bzip2
26701 - x11-libs/cairo
26702 - net-print/cups
26703 - sys-apps/dbus
26704 - dev-libs/expat
26705 - media-libs/fontconfig
26706 - media-libs/freetype
26707 - app-misc/ca-certificates
26708 - gnome-base/gconf:2
26709 - dev-libs/libgcrypt
26710 - x11-libs/gdk-pixbuf
26711 - x11-libs/gtk+:2
26712 - dev-libs/glib:2
26713 - dev-libs/nspr
26714 - dev-libs/nss
26715 - x11-libs/pango
26716 - media-libs/libpng:1.2
26717 - || ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] )
26718 - sys-fs/udev
26719 - x11-libs/libX11
26720 - x11-libs/libXext
26721 - x11-libs/libXfixes
26722 - x11-libs/libXrender
26723 - x11-libs/libXScrnSaver
26724 - sys-libs/zlib
26725 - x11-misc/xdg-utils
26726 - net-misc/curl
26727 - dev-libs/openssl:0.9.8
26728 -"
26729 -
26730 -# Add blockers for the other slots.
26731 -for x in 0 beta stable unstable; do
26732 - if [[ ${SLOT} != ${x} ]]; then
26733 - RDEPEND+=" !${CATEGORY}/${PN}:${x}"
26734 - fi
26735 -done
26736 -
26737 -QA_PREBUILT="*"
26738 -S=${WORKDIR}
26739 -
26740 -pkg_nofetch() {
26741 - eerror "Please do not report bugs for google-chrome fetch failures."
26742 - eerror "The problem will be resolved with the next version bump."
26743 - eerror "Sync your portage tree and try again."
26744 -}
26745 -
26746 -pkg_setup() {
26747 - CHROME_HOME="opt/google/chrome/"
26748 - chromium_suid_sandbox_check_kernel_config
26749 -}
26750 -
26751 -src_install() {
26752 - pax-mark m ${CHROME_HOME}chrome || die
26753 - rm -rf usr/share/menu || die
26754 - mv usr/share/doc/${PN} usr/share/doc/${PF} || die
26755 -
26756 - pushd "${CHROME_HOME}locales" > /dev/null || die
26757 - chromium_remove_language_paks
26758 - popd
26759 -
26760 - mv opt usr "${D}" || die
26761 -
26762 - fperms u+s "/${CHROME_HOME}chrome-sandbox" || die
26763 -
26764 - if use plugins ; then
26765 - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
26766 - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
26767 - -i "${D}${CHROME_HOME}google-chrome" || die
26768 - fi
26769 -
26770 - domenu "${D}${CHROME_HOME}google-chrome.desktop" || die
26771 - local size
26772 - for size in 16 22 24 32 48 64 128 256 ; do
26773 - insinto /usr/share/icons/hicolor/${size}x${size}/apps
26774 - newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png
26775 - done
26776 -
26777 - # Compatibility symlink for newer udev, bug 423415.
26778 - dosym "/usr/$(get_libdir)/libudev.so" "${CHROME_HOME}libudev.so.0"
26779 -}
26780 -
26781 -any_cpu_missing_flag() {
26782 - local value=$1
26783 - grep '^flags' /proc/cpuinfo | grep -qv "$value"
26784 -}
26785 -
26786 -pkg_preinst() {
26787 - chromium_pkg_preinst
26788 - if any_cpu_missing_flag sse2; then
26789 - ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
26790 - ewarn "SSE2 instruction set, and at least one of your CPUs does not"
26791 - ewarn "support this feature. Disabling PepperFlash."
26792 - sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
26793 - -i "${D}${CHROME_HOME}google-chrome" || die
26794 - fi
26795 -}
26796 -
26797 -pkg_postinst() {
26798 - chromium_pkg_postinst
26799 -
26800 - einfo
26801 - elog "Please notice the bundled flash player (PepperFlash)."
26802 - elog "You can (de)activate all flash plugins via chrome://plugins"
26803 - einfo
26804 -}
26805
26806 diff --git a/www-client/google-chrome/google-chrome-22.0.1229.64_beta157476.ebuild b/www-client/google-chrome/google-chrome-22.0.1229.64_beta157476.ebuild
26807 deleted file mode 100644
26808 index d2b75f9..0000000
26809 --- a/www-client/google-chrome/google-chrome-22.0.1229.64_beta157476.ebuild
26810 +++ /dev/null
26811 @@ -1,151 +0,0 @@
26812 -# Copyright 1999-2012 Gentoo Foundation
26813 -# Distributed under the terms of the GNU General Public License v2
26814 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-22.0.1229.64_beta157476.ebuild,v 1.1 2012/09/21 04:07:50 floppym Exp $
26815 -
26816 -EAPI="5"
26817 -
26818 -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26819 - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
26820 - sv sw ta te th tr uk vi zh_CN zh_TW"
26821 -
26822 -inherit chromium eutils multilib pax-utils unpacker
26823 -
26824 -DESCRIPTION="The web browser from Google"
26825 -HOMEPAGE="http://www.google.com/chrome"
26826 -
26827 -case ${PV} in
26828 - *_alpha*)
26829 - SLOT="unstable"
26830 - MY_PV=${PV/_alpha/-r}
26831 - ;;
26832 - *_beta*)
26833 - SLOT="beta"
26834 - MY_PV=${PV/_beta/-r}
26835 - ;;
26836 - *_p*)
26837 - SLOT="stable"
26838 - MY_PV=${PV/_p/-r}
26839 - ;;
26840 - *)
26841 - die "Invalid value for \${PV}: ${PV}"
26842 - ;;
26843 -esac
26844 -
26845 -MY_PN="${PN}-${SLOT}"
26846 -MY_P="${MY_PN}_${MY_PV}"
26847 -
26848 -SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_"
26849 -SRC_URI="amd64? ( ${SRC_BASE}amd64.deb ) x86? ( ${SRC_BASE}i386.deb )"
26850 -
26851 -LICENSE="google-chrome"
26852 -KEYWORDS="-* ~amd64 ~x86"
26853 -IUSE="+plugins"
26854 -RESTRICT="mirror strip"
26855 -
26856 -RDEPEND="
26857 - media-libs/alsa-lib
26858 - app-arch/bzip2
26859 - x11-libs/cairo
26860 - net-print/cups
26861 - sys-apps/dbus
26862 - dev-libs/expat
26863 - media-libs/fontconfig
26864 - media-libs/freetype
26865 - app-misc/ca-certificates
26866 - gnome-base/gconf:2
26867 - dev-libs/libgcrypt
26868 - x11-libs/gdk-pixbuf
26869 - x11-libs/gtk+:2
26870 - dev-libs/glib:2
26871 - dev-libs/nspr
26872 - dev-libs/nss
26873 - x11-libs/pango
26874 - media-libs/libpng:1.2
26875 - || ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] )
26876 - sys-fs/udev
26877 - x11-libs/libX11
26878 - x11-libs/libXext
26879 - x11-libs/libXfixes
26880 - x11-libs/libXrender
26881 - x11-libs/libXScrnSaver
26882 - sys-libs/zlib
26883 - x11-misc/xdg-utils
26884 - net-misc/curl
26885 - dev-libs/openssl:0.9.8
26886 -"
26887 -
26888 -# Add blockers for the other slots.
26889 -for x in 0 beta stable unstable; do
26890 - if [[ ${SLOT} != ${x} ]]; then
26891 - RDEPEND+=" !${CATEGORY}/${PN}:${x}"
26892 - fi
26893 -done
26894 -
26895 -QA_PREBUILT="*"
26896 -S=${WORKDIR}
26897 -
26898 -pkg_nofetch() {
26899 - eerror "Please do not report bugs for google-chrome fetch failures."
26900 - eerror "The problem will be resolved with the next version bump."
26901 - eerror "Sync your portage tree and try again."
26902 -}
26903 -
26904 -pkg_setup() {
26905 - CHROME_HOME="opt/google/chrome/"
26906 - chromium_suid_sandbox_check_kernel_config
26907 -}
26908 -
26909 -src_install() {
26910 - pax-mark m ${CHROME_HOME}chrome || die
26911 - rm -rf usr/share/menu || die
26912 - mv usr/share/doc/${PN} usr/share/doc/${PF} || die
26913 -
26914 - pushd "${CHROME_HOME}locales" > /dev/null || die
26915 - chromium_remove_language_paks
26916 - popd
26917 -
26918 - mv opt usr "${D}" || die
26919 -
26920 - fperms u+s "/${CHROME_HOME}chrome-sandbox" || die
26921 -
26922 - if use plugins ; then
26923 - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
26924 - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
26925 - -i "${D}${CHROME_HOME}google-chrome" || die
26926 - fi
26927 -
26928 - domenu "${D}${CHROME_HOME}google-chrome.desktop" || die
26929 - local size
26930 - for size in 16 22 24 32 48 64 128 256 ; do
26931 - insinto /usr/share/icons/hicolor/${size}x${size}/apps
26932 - newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png
26933 - done
26934 -
26935 - # Compatibility symlink for newer udev, bug 423415.
26936 - dosym "/usr/$(get_libdir)/libudev.so" "${CHROME_HOME}libudev.so.0"
26937 -}
26938 -
26939 -any_cpu_missing_flag() {
26940 - local value=$1
26941 - grep '^flags' /proc/cpuinfo | grep -qv "$value"
26942 -}
26943 -
26944 -pkg_preinst() {
26945 - chromium_pkg_preinst
26946 - if any_cpu_missing_flag sse2; then
26947 - ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
26948 - ewarn "SSE2 instruction set, and at least one of your CPUs does not"
26949 - ewarn "support this feature. Disabling PepperFlash."
26950 - sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
26951 - -i "${D}${CHROME_HOME}google-chrome" || die
26952 - fi
26953 -}
26954 -
26955 -pkg_postinst() {
26956 - chromium_pkg_postinst
26957 -
26958 - einfo
26959 - elog "Please notice the bundled flash player (PepperFlash)."
26960 - elog "You can (de)activate all flash plugins via chrome://plugins"
26961 - einfo
26962 -}
26963
26964 diff --git a/www-client/google-chrome/google-chrome-23.0.1271.1_alpha157674.ebuild b/www-client/google-chrome/google-chrome-23.0.1271.1_alpha157674.ebuild
26965 deleted file mode 100644
26966 index 4173025..0000000
26967 --- a/www-client/google-chrome/google-chrome-23.0.1271.1_alpha157674.ebuild
26968 +++ /dev/null
26969 @@ -1,149 +0,0 @@
26970 -# Copyright 1999-2012 Gentoo Foundation
26971 -# Distributed under the terms of the GNU General Public License v2
26972 -# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-23.0.1271.1_alpha157674.ebuild,v 1.1 2012/09/21 04:07:50 floppym Exp $
26973 -
26974 -EAPI="4"
26975 -
26976 -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
26977 - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
26978 - sv sw ta te th tr uk vi zh_CN zh_TW"
26979 -
26980 -inherit chromium eutils multilib pax-utils unpacker
26981 -
26982 -DESCRIPTION="The web browser from Google"
26983 -HOMEPAGE="http://www.google.com/chrome"
26984 -
26985 -case ${PV} in
26986 - *_alpha*)
26987 - SLOT="unstable"
26988 - MY_PV=${PV/_alpha/-r}
26989 - ;;
26990 - *_beta*)
26991 - SLOT="beta"
26992 - MY_PV=${PV/_beta/-r}
26993 - ;;
26994 - *_p*)
26995 - SLOT="stable"
26996 - MY_PV=${PV/_p/-r}
26997 - ;;
26998 - *)
26999 - die "Invalid value for \${PV}: ${PV}"
27000 - ;;
27001 -esac
27002 -
27003 -MY_PN="${PN}-${SLOT}"
27004 -MY_P="${MY_PN}_${MY_PV}"
27005 -
27006 -SRC_BASE="http://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_"
27007 -SRC_URI="amd64? ( ${SRC_BASE}amd64.deb ) x86? ( ${SRC_BASE}i386.deb )"
27008 -
27009 -LICENSE="google-chrome"
27010 -KEYWORDS="-* ~amd64 ~x86"
27011 -IUSE="+plugins"
27012 -RESTRICT="mirror strip"
27013 -
27014 -RDEPEND="
27015 - app-arch/bzip2
27016 - app-misc/ca-certificates
27017 - dev-libs/atk
27018 - dev-libs/expat
27019 - dev-libs/glib:2
27020 - dev-libs/libgcrypt
27021 - dev-libs/nspr
27022 - dev-libs/nss
27023 - gnome-base/gconf:2
27024 - media-libs/alsa-lib
27025 - media-libs/fontconfig
27026 - media-libs/freetype
27027 - net-print/cups
27028 - sys-apps/dbus
27029 - || ( >=sys-devel/gcc-4.4.0[-nocxx] >=sys-devel/gcc-4.4.0[cxx] )
27030 - sys-fs/udev
27031 - x11-libs/cairo
27032 - x11-libs/gdk-pixbuf
27033 - x11-libs/gtk+:2
27034 - x11-libs/libX11
27035 - x11-libs/libXext
27036 - x11-libs/libXfixes
27037 - x11-libs/libXrandr
27038 - x11-libs/libXrender
27039 - x11-libs/libXScrnSaver
27040 - x11-libs/pango
27041 - x11-misc/xdg-utils
27042 -"
27043 -
27044 -# Add blockers for the other slots.
27045 -for x in 0 beta stable unstable; do
27046 - if [[ ${SLOT} != ${x} ]]; then
27047 - RDEPEND+=" !${CATEGORY}/${PN}:${x}"
27048 - fi
27049 -done
27050 -
27051 -QA_PREBUILT="*"
27052 -S=${WORKDIR}
27053 -
27054 -pkg_nofetch() {
27055 - eerror "Please do not report bugs for google-chrome fetch failures."
27056 - eerror "The problem will be resolved with the next version bump."
27057 - eerror "Sync your portage tree and try again."
27058 -}
27059 -
27060 -pkg_setup() {
27061 - CHROME_HOME="opt/google/chrome/"
27062 - chromium_suid_sandbox_check_kernel_config
27063 -}
27064 -
27065 -src_install() {
27066 - pax-mark m ${CHROME_HOME}chrome || die
27067 - rm -rf usr/share/menu || die
27068 - mv usr/share/doc/${PN} usr/share/doc/${PF} || die
27069 -
27070 - pushd "${CHROME_HOME}locales" > /dev/null || die
27071 - chromium_remove_language_paks
27072 - popd
27073 -
27074 - mv opt usr "${D}" || die
27075 -
27076 - fperms u+s "/${CHROME_HOME}chrome-sandbox" || die
27077 -
27078 - if use plugins ; then
27079 - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins"
27080 - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \
27081 - -i "${D}${CHROME_HOME}google-chrome" || die
27082 - fi
27083 -
27084 - domenu "${D}${CHROME_HOME}google-chrome.desktop" || die
27085 - local size
27086 - for size in 16 22 24 32 48 64 128 256 ; do
27087 - insinto /usr/share/icons/hicolor/${size}x${size}/apps
27088 - newins "${D}${CHROME_HOME}product_logo_${size}.png" google-chrome.png
27089 - done
27090 -
27091 - # Compatibility symlink for newer udev, bug 423415.
27092 - dosym "/usr/$(get_libdir)/libudev.so" "${CHROME_HOME}libudev.so.0"
27093 -}
27094 -
27095 -any_cpu_missing_flag() {
27096 - local value=$1
27097 - grep '^flags' /proc/cpuinfo | grep -qv "$value"
27098 -}
27099 -
27100 -pkg_preinst() {
27101 - chromium_pkg_preinst
27102 - if any_cpu_missing_flag sse2; then
27103 - ewarn "The bundled PepperFlash plugin requires a CPU that supports the"
27104 - ewarn "SSE2 instruction set, and at least one of your CPUs does not"
27105 - ewarn "support this feature. Disabling PepperFlash."
27106 - sed -e "/^exec/ i set -- --disable-bundled-ppapi-flash \"\$@\"" \
27107 - -i "${D}${CHROME_HOME}google-chrome" || die
27108 - fi
27109 -}
27110 -
27111 -pkg_postinst() {
27112 - chromium_pkg_postinst
27113 -
27114 - einfo
27115 - elog "Please notice the bundled flash player (PepperFlash)."
27116 - elog "You can (de)activate all flash plugins via chrome://plugins"
27117 - einfo
27118 -}
27119
27120 diff --git a/www-client/links/Manifest b/www-client/links/Manifest
27121 index 69e5dbc..73db1e5 100644
27122 --- a/www-client/links/Manifest
27123 +++ b/www-client/links/Manifest
27124 @@ -3,6 +3,6 @@ DIST links-2.7.tar.bz2 3884511 SHA256 0c182b1cbcdfd5cdcd2f75a6032d1a4b660d07c122
27125 DIST links2_2.5-1.debian.tar.gz 20869 SHA256 28fb3fe213b3ba2a2274353a810bcd23d4fd39d949d8cb608c3a366f09651b7e SHA512 e4f0995ffb9d6564cbc94193cf4097789d5e367c3f06223e71cdb707b4dcebdc1ab5df468b659e3a926c33a223361fdbedf1c501e6ae40cb3ce2599dadd8e80b WHIRLPOOL 801a2cb5d11b2ad6873252f304966c6b787ecd2e6c2c34a3c3086d1cc7d5ddc006a4046a2352c747f6ac6850cdcfb745240de5f1a7c949d8919d98408f6e0e53
27126 DIST links2_2.7-1.debian.tar.gz 12430 SHA256 87955ae64b20beeb5abbfc7223eb8e7f8a8f6343bb511d7bc954a5f8085d8a8a SHA512 7a9a13dd9fcaf76e7692a82c6bd480846b7adf23d9b81b2ba2bfdd15c4fcb3fbff44f0443dbca484237c53fffc07749e23cbe828eb1d656c5823b9491d47a0ae WHIRLPOOL e9889825d923420d50af990a324d0befff4f79738eb67fbc479287fc2a23155ecae6d6100b9a2bc4ae262e9e547913caaf7bddc73eadaffbdc5fdc0f8e87294a
27127 EBUILD links-2.6.ebuild 3230 SHA256 95e383e7fc2a600d8d802fae482da2f52dde1a4974767530df749c333ca3aecb SHA512 646c121abac069132d090c4973fcba7850a872f4e26e3e40604aed495131ee2c1d043485a9c310a96c7d2dca785fdb48586f3e15ab8ce26c36994bbee1550653 WHIRLPOOL d2f903aff06014a6a4c7987959b7f75f3bc3040d2445088c3c6cab9ac978bbd96cd5f4d01595334248f7ce9859b6add33a33d06e07ffafe54a6577f89c4f0386
27128 -EBUILD links-2.7.ebuild 3275 SHA256 171e07c5e2bab4c5ebb35e6158e0802d5b685e754efc55acf0510d3470f7ca21 SHA512 c5e4926f45c96ee21134d8a8dd1dfe1de88176140ffb190fe8304343ecd8ec70b45f90b077abadb8af7c9bc2e94ff88c08788ff09dd0d8d87897f1da0705e43f WHIRLPOOL 54639f6c5e59420422de6d6238e264af8a4c698f41efc2f7164c8739e42afbc98e23501f4315cecf8be278e4736297f895ab448c1fa3a0ccac2aae3ded6ab43e
27129 -MISC ChangeLog 35054 SHA256 074ec37643f1b8411814331f266d4f26e53d66d0a7582f012d898fbd0cabaa3d SHA512 80ca668f62b8aa8c8d97f2faccee5509a6d07bd3a044779d34be7c68113055d80a731690e92d3247932b998cec46fa54000ef23ab83af7d7a3df817afcea835a WHIRLPOOL 7da69c2f9ebe606e41f01368e818ed8f84cff47d41a04bc21e1d228a0e0dd9d55efbbbb6c43183ffe0bb6a21a92b1edad3b2bfd5609d0093e53b0c52be614017
27130 +EBUILD links-2.7.ebuild 3269 SHA256 11e22da2df8973123a6ce6eabda665765e6170a6c218182316d54507c4254b51 SHA512 0b22d8c87f60b311c629926211b05fb0d31797c9b38105b7fa6de44110a901c8fc2e04546a15ac55aca591efad705cd0e3b8c1d0d7a5e4ba6a38391e2e4f1394 WHIRLPOOL c451f3a7a9aa7034412f1f5f8633623127a8733cb0c95682abdb522cecae3eb761eb925c300e1f3471f22f53d74c5696792b0299514361697dcdada701e90833
27131 +MISC ChangeLog 35166 SHA256 5b697f11251bc61872e08fd18fb593aaf7dc0c0edc5a7e9ee43645e041bf556b SHA512 a73fc816eba7820c459a3e6b46eb1d4cd840a5d385319007977e6293e3bccf29a7f2cea9876ee16c206bce3e38dae40947f68c93dbc5841476d867ea34a8c106 WHIRLPOOL 03a9770883cd636b191439f1143d22417bbb641e344a459b35b9b4fa2e35f7c7a7f000ff57793eb06a3cff0162c1801cbfccb3b2f105522623e3963ec3f6505f
27132 MISC metadata.xml 475 SHA256 47cdac116651eba8a04d0e7a0560d5013bc967ce3aa2d86f61ee8688649a3916 SHA512 f2708fbdcbcdadb6dcc11945e84a72d5371e1ddb50c85d51c42d554d11e9f6c4ab5178e90d516442a68b3f49e11ca171abebc6842f7920b75ac9151253ab2dd9 WHIRLPOOL e1dc8232c53e4585c4cc2258722217f242349c0de12a2b67f005eb5ef7bf79f227263d50adedb34fc6c6f6597f4e8b95be5baf1a94c206d33f781e77af7168fb
27133
27134 diff --git a/www-client/links/links-2.7.ebuild b/www-client/links/links-2.7.ebuild
27135 index d2e7338..0cc6473 100644
27136 --- a/www-client/links/links-2.7.ebuild
27137 +++ b/www-client/links/links-2.7.ebuild
27138 @@ -1,6 +1,6 @@
27139 # Copyright 1999-2012 Gentoo Foundation
27140 # Distributed under the terms of the GNU General Public License v2
27141 -# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.7.ebuild,v 1.9 2012/09/12 11:08:53 ssuominen Exp $
27142 +# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.7.ebuild,v 1.10 2012/09/24 18:44:31 armin76 Exp $
27143
27144 EAPI="5"
27145 inherit autotools eutils fdo-mime
27146 @@ -14,7 +14,7 @@ SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2
27147
27148 LICENSE="GPL-2"
27149 SLOT="2"
27150 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
27151 +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
27152 IUSE="bzip2 +deprecated directfb fbcon gpm jpeg livecd lzma ssl suid svga tiff unicode X zlib"
27153
27154 GRAPHICS_DEPEND="media-libs/libpng:0="
27155
27156 diff --git a/www-plugins/google-talkplugin/Manifest b/www-plugins/google-talkplugin/Manifest
27157 index fbf90ca..3c7afe1 100644
27158 --- a/www-plugins/google-talkplugin/Manifest
27159 +++ b/www-plugins/google-talkplugin/Manifest
27160 @@ -2,8 +2,8 @@ DIST google-talkplugin_3.5.1.0-1_amd64.deb 12626896 SHA256 32e3b9ab917ed30beb5f7
27161 DIST google-talkplugin_3.5.1.0-1_i386.deb 11119864 SHA256 a7d81acad6ca7f9c1940d684e332f8abc064cf3c6e58942d8ee6ace7bf11cdcd SHA512 5a52a068200c06756c28ac9145d3b2ed2a3571ae3258df4abf0ebdc464a5f2cd89e0bf0d3a731655a08e35e4503c560f1d6eb028bfeb09a984f193cc25a5f8b7 WHIRLPOOL 92d5bbf5ecd5b74fd8f57acd6c2d8305ba7789530f4e9975df43a5bae281f931cd2796caa19593c562cb3d597e1f03354c82a5569bb5882d0378d4b351e612c7
27162 DIST google-talkplugin_3.6.1.0-1_amd64.deb 12640622 SHA256 7b310f4ce0a27a0cc7970c516977b63be9981eb6a6541875d770ad007752d8c0 SHA512 5f027a43c2287fe0554f3c22915d68495f11c298b6a507abcbd57e70a92c409e5f4736ae5c935acfa7639b03eeebd6a83c3c7f721e5070e013d8d497649fb6f7 WHIRLPOOL 36f9951d910d0a8d0fba75b9c2dcb25a7a2fd6764c9246f3af0affef42aec18550cc9e056e0ae1f9ca5f6bd7bda871ac3da6c3e660db8bebd9985fc597ad127e
27163 DIST google-talkplugin_3.6.1.0-1_i386.deb 11137300 SHA256 a2a32d9b35cd5580ee8e4f5a4638fa2801c309d0780d24f6755f815a7774cd34 SHA512 d542294c49f44996d8b8e9dabc903113b34ae66c3787b84bd66c0ff1e3652f8ffc31e7d522cf233d80ffceb04d61b9f9830db1dc1e4b195b802981f5b03bcf28 WHIRLPOOL 7a19029a5b64c2fe3debfd23ccdfc2635c95092bcdf729d80e363ee59a9079ad3dac72b6940b191ba1166c5ef50f7f75153bc72fed1498876a9fe38cc16fd0eb
27164 -EBUILD google-talkplugin-3.5.1.0.ebuild 4006 SHA256 4bd56be9e33e6bc6b3008251a33ae8f8d6c545ea58677112629ef395cf70fb95 SHA512 6dbeafcb138710af4fdf94252a47e7cf6472fe8605a321877879190524852825b5e5175f152b0f942e53bcfad51952e308fc83cd8ff2c4f15ebae81c6c33fd73 WHIRLPOOL b036add88322a40edb39da7338158a6abd709282cfdb1aaa0a65d2f4c884ee206ddbae0465a83f77714cb736898e36a3d85e254e628fced79f5a1ece0ef3969d
27165 -EBUILD google-talkplugin-3.6.1.0.ebuild 3807 SHA256 da91486313c0005f6191d8e6aba87f22fc3325cf888a2a3912ad46d5b1fac6c0 SHA512 73e836155636655db7031de9e875a237d16f44e23b57bafcd41997f2a05604a9feffda789c5bea9d450c7aea2b3d513d51ec0d4ac73da7a33f2ffe17ccb5f495 WHIRLPOOL bbdb13dc9b3494a0b263aeecc673eeeec0a78582be398b18d878697a077879ce567d0b6a8f55c2912d46478cd5635301a47c203eb9c2a37444c49437e0c24ec5
27166 -EBUILD google-talkplugin-9999.ebuild 3804 SHA256 9389fab61cbdf176537584dd3d561ccbfb840a0d78280d879d1e6b1edb6ec1f0 SHA512 1ad01d9763beb4c06984f5e5ff0b3373b3ddfe45be23dd3c4c6f47cb1795fffa5f54152813b5a8411513acf603d2361e2fe156aea96e0e7142f21779cce3eaba WHIRLPOOL e45f40501a3a60b320e1ee954bf608287c339a93981b19ff71d26e9af1a171d7d6f7e68fcd37c83a68d38669d0e3085974c3ad5a8b49667aa654b3fb0b01de67
27167 -MISC ChangeLog 5897 SHA256 005c858acea94df7ffe631d78ad14bf1a2b84112242bea8eb03e535b02aa02c5 SHA512 2361d16898d4b0be7f5a393e932c8129ca79dd4f5121f35e0dd1215e03bad2de09d9fe7d4d0723b835f49f79f2ceadb0711a66f82160fc1c263a47c16951832a WHIRLPOOL f2cadbf14a0cabdfd1a6a32cd5cec4aa98b652d8c730cc3521b486641272b50e8124467e3039e670f25f815723b667054358e7b19685d3b8e49ef1e9677959d3
27168 +EBUILD google-talkplugin-3.5.1.0.ebuild 4012 SHA256 3f3beaa1be326182b6de324fa271e745eebf2132ab4542b2207c9f64fb1d9dd5 SHA512 dc0091120f8a494c84ecc779d7948995eb040058f59c341a1d645f8d5dcf6f8b4967f0ac9a9b782e9a8f9d87678e4b9f6dfc720fac31926751cc213afe6dffe6 WHIRLPOOL edaab413d908aa632e376cbad1e1d2455159b3a24cdac30a54af59d72ba8d7c9ed731cc30dc074be454e48869dedc86bba430a47b099eb6224765008e03f163d
27169 +EBUILD google-talkplugin-3.6.1.0.ebuild 3813 SHA256 54ebda52204b1df46cebe9a6d0a2aebcb563ad0f028c00bd9bd24f10e8bd62a3 SHA512 ac621fb6820c976770214c9547929ca5fb98b7a0b17f49685029c8d035c8cd7acda8a776e9084d6062064f205f5f84f33c2fdc51c553bd30d15ba3804ba9b9e9 WHIRLPOOL ee4856531e2c75cf42daa83c21c494119ee7e13052776ffc14a46ece3fa79207ebf0c7e4bfe820f34f1aca280d3d10c00f5366ee47f3241b9e54d09a7c69f30c
27170 +EBUILD google-talkplugin-9999.ebuild 3810 SHA256 9d682627679af391606703be8c244f640dd8d17347d88111b5f48ad0b0145700 SHA512 4de47eee816db5a0e6876ff4c83dba9d8d5666463c581da79cf2815e6a87720d28c8531ee9fb9790b40ede5030a2f05493b126f410c9513486e92b93a1c5a5b6 WHIRLPOOL b75b4612dca1db758c298a0776cd39be0cb983b03fc030b7d9e68784e3a8a73787593654165b5deaef27f494748c285278fab35d97fd444be38b5cca44687264
27171 +MISC ChangeLog 6116 SHA256 8a3ed82dd8fe7631f4e5c2e59e328b22bb17db79c1e851114714c03dfc8f242e SHA512 3abb6709b8659ae1ae4c855ff8e27c01437a4876275713162a5b947e88cad1804b9f85f4bb51a1c5be00cad9765f7aef3c428d5bc118c678692c934c0aea5cc2 WHIRLPOOL a270d049d06c6fbf737c32e714ac057d9730572806ccf54e4c0e919d63ddd3d77536cc78f5ec18361b7e31df5216c932bb791958d48f757771ca033322d40482
27172 MISC metadata.xml 354 SHA256 d7d1330a39cf9ec3f0e53a8a5b1b6a0a259367edb897c3fec76ca07223a0dce2 SHA512 cc86eee04c852fb1e40620e481712c5fc2c175fe637fb2ec1c627b88d25bf94f257a717191488981795f49488ddf6fb918b0d1d89ec05f23ba681b293a634066 WHIRLPOOL 503502973ebe813a597a56a6d013af48101902a04782c9fbcc54512b39b2fc3ae0440b63b819090ae145d54f276eca77ebf8ba6f17e9d3e05082969e28a210cf
27173
27174 diff --git a/www-plugins/google-talkplugin/google-talkplugin-3.5.1.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-3.5.1.0.ebuild
27175 index c42a053..dcdc1d8 100644
27176 --- a/www-plugins/google-talkplugin/google-talkplugin-3.5.1.0.ebuild
27177 +++ b/www-plugins/google-talkplugin/google-talkplugin-3.5.1.0.ebuild
27178 @@ -1,6 +1,6 @@
27179 # Copyright 1999-2012 Gentoo Foundation
27180 # Distributed under the terms of the GNU General Public License v2
27181 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.5.1.0.ebuild,v 1.2 2012/09/16 19:06:50 ottxor Exp $
27182 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.5.1.0.ebuild,v 1.3 2012/09/24 00:49:11 vapier Exp $
27183
27184 EAPI="5"
27185
27186 @@ -59,7 +59,7 @@ QA_EXECSTACK="${INSTALL_BASE}/GoogleTalkPlugin"
27187
27188 QA_TEXTRELS="${INSTALL_BASE}/libnpg*.so"
27189
27190 -QA_DT_HASH="${INSTALL_BASE}/libnpg.*so
27191 +QA_FLAGS_IGNORED="${INSTALL_BASE}/libnpg.*so
27192 ${INSTALL_BASE}/lib/libCg.*so
27193 ${INSTALL_BASE}/GoogleTalkPlugin"
27194
27195
27196 diff --git a/www-plugins/google-talkplugin/google-talkplugin-3.6.1.0.ebuild b/www-plugins/google-talkplugin/google-talkplugin-3.6.1.0.ebuild
27197 index 80dfdde..187b98f 100644
27198 --- a/www-plugins/google-talkplugin/google-talkplugin-3.6.1.0.ebuild
27199 +++ b/www-plugins/google-talkplugin/google-talkplugin-3.6.1.0.ebuild
27200 @@ -1,6 +1,6 @@
27201 # Copyright 1999-2012 Gentoo Foundation
27202 # Distributed under the terms of the GNU General Public License v2
27203 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.6.1.0.ebuild,v 1.1 2012/09/16 19:06:50 ottxor Exp $
27204 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-3.6.1.0.ebuild,v 1.2 2012/09/24 00:49:11 vapier Exp $
27205
27206 EAPI="5"
27207
27208 @@ -59,7 +59,7 @@ QA_EXECSTACK="${INSTALL_BASE}/GoogleTalkPlugin"
27209
27210 QA_TEXTRELS="${INSTALL_BASE}/libnpg*.so"
27211
27212 -QA_DT_HASH="${INSTALL_BASE}/libnpg.*so
27213 +QA_FLAGS_IGNORED="${INSTALL_BASE}/libnpg.*so
27214 ${INSTALL_BASE}/lib/libCg.*so
27215 ${INSTALL_BASE}/GoogleTalkPlugin"
27216
27217
27218 diff --git a/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
27219 index d6690ab..f4533fb 100644
27220 --- a/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
27221 +++ b/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild
27222 @@ -1,6 +1,6 @@
27223 # Copyright 1999-2012 Gentoo Foundation
27224 # Distributed under the terms of the GNU General Public License v2
27225 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v 1.8 2012/09/16 19:06:50 ottxor Exp $
27226 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild,v 1.9 2012/09/24 00:49:11 vapier Exp $
27227
27228 EAPI="5"
27229
27230 @@ -59,7 +59,7 @@ QA_EXECSTACK="${INSTALL_BASE}/GoogleTalkPlugin"
27231
27232 QA_TEXTRELS="${INSTALL_BASE}/libnpg*.so"
27233
27234 -QA_DT_HASH="${INSTALL_BASE}/libnpg.*so
27235 +QA_FLAGS_IGNORED="${INSTALL_BASE}/libnpg.*so
27236 ${INSTALL_BASE}/lib/libCg.*so
27237 ${INSTALL_BASE}/GoogleTalkPlugin"
27238
27239
27240 diff --git a/x11-drivers/ati-drivers/Manifest b/x11-drivers/ati-drivers/Manifest
27241 index 33353d7..b6cceac 100644
27242 --- a/x11-drivers/ati-drivers/Manifest
27243 +++ b/x11-drivers/ati-drivers/Manifest
27244 @@ -8,14 +8,14 @@ AUX ati-powermode-opt-path-3.patch 1471 SHA256 35e73fef3d8e39714e8d6e73afaa7b205
27245 AUX atieventsd.init 533 SHA256 20010ebc5cb286149f3c4c9c099b6470463ccdb8fd47cea054b783dc2ad1fff3 SHA512 9f8990bb5619f99524e0759a1c4b41b0b2c081c6eecb3916ab60df8e6b59d99e3615af61e0ba5b71d003ccaaf41e2143237b26f36f64f00a47e0fe94f83473dd WHIRLPOOL 21979818a19bc27e3527958c66bf45654df4a307862897530bc02be6616f45ee210590a9d1bcab84336c6061482034010efbb251770bfaf023f20ffae8212ecd
27246 AUX switchlibGL 1349 SHA256 a4aa2107fdb903da77fea432bc809a1155e213db460fdec72fd1c3c7cc0d13a0 SHA512 51d2912aa6ec2002b096c0483be69650d682feec54486ed5226b91988bc1516f718c71d9f58a2b28e0dbc512c0300ea271f9a97885776dd045fe324f1549b85d WHIRLPOOL d335ea9c57a28f8450423089bbf798da77cc72fff6bad1221989412808abcd6bcb7afa41aa2b04231feff3dac6eaaff58a7595173e53b6cf0f5d3d591997b43d
27247 DIST amd-driver-installer-12-2-x86.x86_64.run 107213014 SHA256 054796cbf2d99e4b545d062ce8eabfd973e74e2e21a159092816238b001618fd
27248 -DIST amd-driver-installer-12-4-x86.x86_64.run 108360519 SHA256 7f3ba3d96eba30fc09aec03ba72f5482d3b192bb0ea63a5e7b79454b053cb63c
27249 +DIST amd-driver-installer-12-4-x86.x86_64.run 108360519 SHA256 7f3ba3d96eba30fc09aec03ba72f5482d3b192bb0ea63a5e7b79454b053cb63c SHA512 fe466df547a05efb37b0dd1c685f819ceb51af83acefd65f2e500ab9165feac841d4b07afc32dc26391762963e929624e55115c0f505acb78289540baaadcfb5 WHIRLPOOL 7aa8817e75943977b753a93015a7d1e0f7a95383e6aaae7317da29eb07caa520a5376b2ab80e7caded543939d3c9428b80d915d5ba3d8377068349189890729c
27250 DIST amd-driver-installer-12-6-x86.x86_64.run 106660241 SHA256 b5c6070dc75e9296d0f04e7e0b3c6697f6c21872d50b1dcf4d7b3b0ab7ce7155 SHA512 920b4613844afeffe1493f6c1811722734bb878817945077a46d3922be2e9bad85eb3c02bfeec57b55371cfd81d87332b9c7845dd9a079744e491979ef02f4d7 WHIRLPOOL a7b722ed9fed881498e91c5bb706b973eade890f9dfd49862c46cc2822417cf1b80011db79d4a449331c9b191e6e7ff98aa8f3fcb6bc90ebda3125f46f6d2800
27251 DIST amd-driver-installer-12-8-x86.x86_64.zip 105413213 SHA256 62525173b2b7602aa4e7e46a109204d0f349abfbb135c86d03db5cd57642bb41 SHA512 41d9b5ee472a3172746f04bdf43a595eb9090c03021f4dfdecd3ff0a938e45a9ace57b99c7255cec2ace68645adcc0d6eb2f420173b4b41fcfc4745fb62cf230 WHIRLPOOL 8f904858da340c7bb1f502f831b4ef2afefe7dc1eb3545c877056e4bae18934e9f54430efdb39069c5beb6d214399095602ce7806561fe7562d3b99a871208ca
27252 DIST amd-driver-installer-12.6-legacy-x86.x86_64.zip 106888385 SHA256 5353a3f874d31f0fde46c390ce17cc2f27875156dbf3e7c20b5cca494a058102 SHA512 81032c1b15f2d3a1da84066bf2682913ea4ea48bfdf7f50902e9471eb70ffb87a3a1501c45defb2ff15ee27bcbb1820ef2ab6391251b68de45655ace1f4fff0a WHIRLPOOL a34ec3bb761644ffa2c0bfd5a7a61cce33ba76c139fc66db12d1c35a5b4f9ee3ca74c0d8b0ef66f892b7de7e5c9564f2061698c1b347265c7ad422b9838bc21b
27253 -EBUILD ati-drivers-12.2.ebuild 19136 SHA256 9f39e6debe51b0587acf743e0b54ad6737d4de5d1dd8ec540473ae66bd8a08d3 SHA512 a8968193becd974d4d12d38e288e09003f173e73f170dce3e57a28709b5f72d1fe3d982a7b26d1e51ff47dbcb180d78a994cf33bb6a5112ec6df0827275ad978 WHIRLPOOL 101f5d290c929d417b86fede8538b46e562e266014830055b787710b70fb2992104ec218fcfe632e2d92c2deaee04a6527e9c7407e019999238f52ca4180317d
27254 -EBUILD ati-drivers-12.4.ebuild 19746 SHA256 a767a9411ffbeff85b6ae2e09d6d958b339468370432e46eecce11100d821a85 SHA512 bc6aa54d64fdf2f0e2bea478fb6cf507f567cc1ddd6208ee25ad7e08e1e63f2b2d5684619c13897d70b950b55535194a3136cb170c55d49152de16ab7e54aa08 WHIRLPOOL 8ffd2958f6375e34c8a6d819fe429362e37dfbe44196cce4f738bd992a26d310a42911fab5860974b890bab56aa3255a764bfc5681f3888a2fcf1d477722228a
27255 -EBUILD ati-drivers-12.6.ebuild 20039 SHA256 2ba2f6e63c6cf31dcadd64a37d6a42d205250ffa650b8cf6cae54eba9782eaa1 SHA512 30e587f71cae805bbffcf3f099d85241a274b74baf4676ac34cd8cb570c6f621bd9c3dd12e06e13457d102c7f7edc8d5f2ca15d9c76a2568eb0eeccd6d2ca201 WHIRLPOOL 5a97c849e4eef12351dfc015e19711799abb294c12119b0800f30fc1290c60c7f0a06489853cc0d93a48c8c112f66d0e1f8f8effb5e489b4126f8b6d06d33fea
27256 -EBUILD ati-drivers-12.6_beta_pre897.ebuild 19652 SHA256 af7e89ebb32b02a7eeaa22ad4e59e897306b70c8ca33c277b517da92497fea6a SHA512 34f85e39c091550f346bbc7d73d83d7cc2ff45c958c8d1acb420ec51cb612679882536074cf9064dd6b2f5ffb2b2eb82d5942488403d719893ae52946dd07fb0 WHIRLPOOL 2e47a1c898d6b617168caf574ab2952dc2537a98644d779745e2a7b706c5a0c7fb9bd2444f5a079f0d517d93b9ca09783674382692ed01d7825bd776764a5715
27257 -EBUILD ati-drivers-12.8.ebuild 20319 SHA256 fb38b331126e085dcb39bf66ef346efebcc4ee4213dc7f79ea77abe0bd43a719 SHA512 3613a4cb98fa04f7946990f7cb8c83b3a151223ee845e7c155e332ac7644c53d85007867d6216dcca386b1f0c21377d68075e7f264e0d146f2c52d929c5b5e6b WHIRLPOOL a82fdd82a2a4e5ef662cf512803636b58bb1fd4dde4ac5b60698a197b92bd4885f97045c6610155db5868ed8fb52426de571ade20c9c10ddebfafed15026e84e
27258 -MISC ChangeLog 78882 SHA256 c895be7d5683470d4ce1985ab52039cad74cd5eee9043ff66107769bf798c931 SHA512 f171d4a4145bb3178054e8abc84a548ef53d0cb99f78a0c384c99a87b3c341cc28b505aaa070064ecc3f6f0d2eb15f7cbeb2437f2c0038d149ea6229342f3928 WHIRLPOOL d33fe30023b4a7b6af3939cb5b361dabdf1fcefabb2c4d986fd98f90e61d443e6acce0745e85319dd4a78c4cd4c2fd1223cb8bce93ce6590813b1db408279e64
27259 +EBUILD ati-drivers-12.2.ebuild 19144 SHA256 79a8eec363d1d7770bece8e70d1c00df4e93508c6a5be2a1c2dd393fb2f30bd1 SHA512 10f60ac29f35fc155fcca58a3caf11a235a244dc97c9d6eef9eecac898cfe0d42073ef5ea450aae7c5c1f313c376b9b5606734aa38eb7c22ced39e864af24550 WHIRLPOOL eb8b465ed98c33e30399fe7ac8820589a50b3ad88db718d3a35e9bfe773d1b80e78bb97cc0ee45b4c459eca740208d8a4ead5d51fb5f178589a08fd1c6b65fba
27260 +EBUILD ati-drivers-12.4.ebuild 19754 SHA256 e96081241979a2465f16abd37820beaa32f35795a1a47808aee0391c1f5965b6 SHA512 107188d3de15012de07a4af9376a57eb93692b6b4329f6bb75e0af392d0b6cc0eae24c6fc688eb38a6b80b41fca59518ded485ea93895614d57c916a683d3a2c WHIRLPOOL 665b549f4d7a14e022ef2e5714cb28791ef7943fb62c4939003b3557f4a63eb58ab5d3ed78cc41b61ae4183b488387b4ec368f7b19ef970c9462b363dbbb967c
27261 +EBUILD ati-drivers-12.6.ebuild 20047 SHA256 8baba0665ebe3b984e8d0446321538ee2738b77afe138ab1cd42934b2dcc09b9 SHA512 17d08057613524ad9531a46534a98d90d9894abe7afebbdfdd237853331beec009116c851cb1e51729be883d95434b2c09950d4e52f3879ae1d527af88bd97ad WHIRLPOOL a97a57570672c13bb0ff4cb5bd1fc6eeef8dec54739d9a5e70001747d991d89feb5b0dd18dae5e2e0c8caa356fef8b1289f3970c2a8e86590a81c2abe29706ca
27262 +EBUILD ati-drivers-12.6_beta_pre897.ebuild 19659 SHA256 e77a768240435b45890530840d73f84fde46ecccd879cfd040a64d5bdbbd1f6d SHA512 71a831cf9db69ffb9bde82910c1663e9dda42fc4b5e906cec63f9cd89219a7d8afcd759be6488679fa4d9fa7a1af0736c9e0bcf29553e46e68659a68f704dec9 WHIRLPOOL 779f1009ce763afa97d2e201bf4b89f95adf78f1b3e88d4f95e5db81722313edad672dbae0ee5ecd1c67ede3f7ace892ba228f880e45b68ea3429ddc32480a35
27263 +EBUILD ati-drivers-12.8.ebuild 20322 SHA256 742922126b93e404b90b51d62d4b7e657ebd7bbdb808a67053a13e7a6bfe0d17 SHA512 d463f42479929c73c1c4a3253fba3f2c5562e16b3711fdffefbb9403dec6ba9eb8f9c6edaad4aa3cc39b9bbacc50584c273edde54246640c39d42bc14bc796cb WHIRLPOOL 8671e7b378111af1af26dee3eafe9eba1fc2d89c2402071a4d1d5add07bfc1ecf58781d7d6d7837f2685a763255f13f00a8830371e6907a4830045e701944880
27264 +MISC ChangeLog 79260 SHA256 2b6cc7da4c0501877275df41da79ee82737e8936030b40a094f985d58882719a SHA512 846d68e49b56f7fbde9763e99142c27dfa4b2c7faa67fc789738d997abeb8eb0e300ed9c7ce8577652e113fb358cf76f0d12c453fbf550c9c5456a026f4da32d WHIRLPOOL 00d71460ae7f99b84b149538ce61d36f6f696689b0074e8fc27ba215b85a3c11ab38a8fb10630013d5180cc76ae70916e67f5954af5485bf07cc41a7d0b6c17e
27265 MISC metadata.xml 541 SHA256 ba4c28cc8c58ba9cc56b8283e49bd615d2881c84e4116659da3a123ccfa76fa3 SHA512 3b98adca31077d1224b2d813133aee3279745e86755561d9924726b3ec05e24b3ef05938872d5656a1c8b17cc0f2b7c2d5890e6ea0f2370056aef78ec29c1865 WHIRLPOOL 4bc45b91a4d599dba3c3d2d13a55ba4a0e7dd8f5d03695bedba336b7c13fdc313dc5b7e9fcc86926817dca92306d37c001630669b3c147a4dc17df902bbdaa20
27266
27267 diff --git a/x11-drivers/ati-drivers/ati-drivers-12.2.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.2.ebuild
27268 index 74b8224..b958dbe 100644
27269 --- a/x11-drivers/ati-drivers/ati-drivers-12.2.ebuild
27270 +++ b/x11-drivers/ati-drivers/ati-drivers-12.2.ebuild
27271 @@ -1,6 +1,6 @@
27272 # Copyright 1999-2012 Gentoo Foundation
27273 # Distributed under the terms of the GNU General Public License v2
27274 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.2.ebuild,v 1.4 2012/07/26 15:08:38 johu Exp $
27275 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.2.ebuild,v 1.5 2012/09/24 00:48:41 vapier Exp $
27276
27277 EAPI="5"
27278
27279 @@ -102,7 +102,7 @@ QA_SONAME="
27280 usr/lib\(32\|64\)\?/libamdocl\(32\|64\)\?.so
27281 "
27282
27283 -QA_DT_HASH="
27284 +QA_FLAGS_IGNORED="
27285 opt/bin/amdcccle
27286 opt/bin/aticonfig
27287 opt/bin/atiodcli
27288
27289 diff --git a/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild
27290 index 33ccd04..f5c94c2 100644
27291 --- a/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild
27292 +++ b/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild
27293 @@ -1,6 +1,6 @@
27294 # Copyright 1999-2012 Gentoo Foundation
27295 # Distributed under the terms of the GNU General Public License v2
27296 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild,v 1.5 2012/07/26 15:08:38 johu Exp $
27297 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.4.ebuild,v 1.6 2012/09/24 00:48:41 vapier Exp $
27298
27299 EAPI="5"
27300
27301 @@ -102,7 +102,7 @@ QA_SONAME="
27302 usr/lib\(32\|64\)\?/libamdocl\(32\|64\)\?.so
27303 "
27304
27305 -QA_DT_HASH="
27306 +QA_FLAGS_IGNORED="
27307 opt/bin/amdcccle
27308 opt/bin/aticonfig
27309 opt/bin/atiodcli
27310
27311 diff --git a/x11-drivers/ati-drivers/ati-drivers-12.6.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.6.ebuild
27312 index 2c65407..4dbc101 100644
27313 --- a/x11-drivers/ati-drivers/ati-drivers-12.6.ebuild
27314 +++ b/x11-drivers/ati-drivers/ati-drivers-12.6.ebuild
27315 @@ -1,6 +1,6 @@
27316 # Copyright 1999-2012 Gentoo Foundation
27317 # Distributed under the terms of the GNU General Public License v2
27318 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.6.ebuild,v 1.3 2012/07/26 15:08:38 johu Exp $
27319 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.6.ebuild,v 1.4 2012/09/24 00:48:41 vapier Exp $
27320
27321 EAPI="5"
27322
27323 @@ -105,7 +105,7 @@ QA_SONAME="
27324 usr/lib\(32\|64\)\?/libamdocl\(32\|64\)\?.so
27325 "
27326
27327 -QA_DT_HASH="
27328 +QA_FLAGS_IGNORED="
27329 opt/bin/amdcccle
27330 opt/bin/aticonfig
27331 opt/bin/atiodcli
27332
27333 diff --git a/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild
27334 index d9d3440..83eef68 100644
27335 --- a/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild
27336 +++ b/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild
27337 @@ -1,6 +1,6 @@
27338 # Copyright 1999-2012 Gentoo Foundation
27339 # Distributed under the terms of the GNU General Public License v2
27340 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild,v 1.2 2012/07/26 15:08:38 johu Exp $
27341 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.6_beta_pre897.ebuild,v 1.4 2012/09/24 00:48:41 vapier Exp $
27342
27343 EAPI="5"
27344
27345 @@ -21,7 +21,7 @@ fi
27346 IUSE="debug +modules multilib qt4 static-libs"
27347
27348 LICENSE="AMD GPL-2 QPL-1.0 as-is"
27349 -KEYWORDS="~amd64 ~x86"
27350 +KEYWORDS="~amd64 x86"
27351 SLOT="1"
27352
27353 RDEPEND="
27354 @@ -103,7 +103,7 @@ QA_SONAME="
27355 usr/lib\(32\|64\)\?/libamdocl\(32\|64\)\?.so
27356 "
27357
27358 -QA_DT_HASH="
27359 +QA_FLAGS_IGNORED="
27360 opt/bin/amdcccle
27361 opt/bin/aticonfig
27362 opt/bin/atiodcli
27363
27364 diff --git a/x11-drivers/ati-drivers/ati-drivers-12.8.ebuild b/x11-drivers/ati-drivers/ati-drivers-12.8.ebuild
27365 index 1cf82e3..aa50434 100644
27366 --- a/x11-drivers/ati-drivers/ati-drivers-12.8.ebuild
27367 +++ b/x11-drivers/ati-drivers/ati-drivers-12.8.ebuild
27368 @@ -1,6 +1,6 @@
27369 # Copyright 1999-2012 Gentoo Foundation
27370 # Distributed under the terms of the GNU General Public License v2
27371 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.8.ebuild,v 1.1 2012/09/09 22:42:15 zerochaos Exp $
27372 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-12.8.ebuild,v 1.2 2012/09/24 00:48:41 vapier Exp $
27373
27374 EAPI="5"
27375
27376 @@ -106,7 +106,7 @@ QA_SONAME="
27377 usr/lib\(32\|64\)\?/libamdocl\(32\|64\)\?.so
27378 "
27379
27380 -QA_DT_HASH="
27381 +QA_FLAGS_IGNORED="
27382 opt/bin/amdcccle
27383 opt/bin/aticonfig
27384 opt/bin/atiodcli
27385
27386 diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
27387 index e860ff2..15334d2 100644
27388 --- a/x11-drivers/nvidia-drivers/Manifest
27389 +++ b/x11-drivers/nvidia-drivers/Manifest
27390 @@ -20,18 +20,21 @@ DIST NVIDIA-FreeBSD-x86-302.17.tar.gz 32072917 SHA256 b0d50c3333ee7c485bfd5287b3
27391 DIST NVIDIA-FreeBSD-x86-304.37.tar.gz 33291575 SHA256 e6c3a1d4a757b5d4f2ab54a43d5d7008fcb1b481f14515f58adcd31f3edc6576 SHA512 4370cc805b428f331402f5adde386813e40272ab30744f38442b706b1f80c45e2b44ab56477fe7f3ddeb437b5a97cc088ba2f9a67834a45cf42377d450d3f8bf WHIRLPOOL e41ac7c8cbd207483503da81b64ea16f8d80a8c20b45508ce6a817fd5986628c95e7f64bafc8967d96bf0c0611b66da6899153e4e22cb7b0bb9840c07e76c27c
27392 DIST NVIDIA-FreeBSD-x86-304.43.tar.gz 33305109 SHA256 6a8c229ebab96afb94ea82c2f7d20fd095de75bedbcf7bb367ab7b2c9c3d3050 SHA512 394655c3eccaa5c47d4675dcd6fcfede1660e75f06677e031be38a0e2bd4abdda072b3801e2551e4f0d8dfa0d83cd60729be6037d648ec67fd3956ae0123fdcd WHIRLPOOL 930f2c5c8627b2c3ee94082b4e86820b9de40c0e5e3a9bc1594246af21b510016ed2efd5b73efe61714c930605028b70b9086b3fd0ab672f5221dae9fddb0c87
27393 DIST NVIDIA-FreeBSD-x86-304.48.tar.gz 33305880 SHA256 c048cea02aa2a0a50b4f9dfce0aa339d5a28de7b7be264cf33fed5e3a22c27df SHA512 02d7c27495b4f21a2de8222104c22aa05e6eaa6badf564610fc90e5602ef11a61f1e78433ab1e0ce90eefda7eb6a930cae02361fb2cb72de81b683197ee1b4d5 WHIRLPOOL da35d57ab06306363e3ea5b81e0fc4a7095d6a44fa08390bcbdf77118bbff8e4a9d5e37b808ecf288d3a4031aba7e4838127823c982e2ef1b35ad4c17df21c54
27394 +DIST NVIDIA-FreeBSD-x86-304.51.tar.gz 33304401 SHA256 a65d1978b28acd4d730156f27b2e6998cae57a1c09d6f7a3ab2a863d0b4cfba7 SHA512 332f21ff3af44c524cdbf289bc07b2ae1de00f03bca4aebef3fbd6bb7c9bd15bc3922e74844e653a7c6092d42e4a90455773893029868053e992e04dbbc1befc WHIRLPOOL 46cedf2001d5009a78aa7c9885394541011d07714548b50bc0dc44616bdcb34e293b0aa9331fa967ad5a97fcb450e90b2712a22212c4f39d5b57269d9840d37f
27395 DIST NVIDIA-FreeBSD-x86-96.43.20.tar.gz 14060884 SHA256 e75fce272e72644d53e6ad3c0957fe173735a4b621726ce227ba8ecf9bd9c5cf SHA512 3a2c6bdfb6e4d8d085abe53a9f64f45a9872d968698da01599f27ae35d197d2e32e7cdff4873f6fa646118af48bbee0ecf95e6af3a9af279fe8f39e72c483a97 WHIRLPOOL d7fc9fd10b09b028e27203b388594a9d61d62f50bca7f2b667c53e1fcfea299029024e16f12f3114d0bbd4fd942bf51daf1f3467588d7e96767229524c980e5c
27396 DIST NVIDIA-FreeBSD-x86_64-295.71.tar.gz 33058244 SHA256 d563a75b07068c7182809bab63fe964377961fdf99cbfcfb2ff25b471a3815dd SHA512 19d4c8200d9764b42cedf675bc1d03547177fc3cdde1cbfa24a7c65a0e47f393d253e3584a8976cbefdd8813918008faae53f8809fd2540b2df867add8f1034a WHIRLPOOL 9ed8987472a00a2005f1013c14a323bdd385d56ee9ffded8266ecdd14d64ebab14e493105b8099f8e936220a5fc2d14a442d00b7820482c1038817aee886386d
27397 DIST NVIDIA-FreeBSD-x86_64-302.17.tar.gz 32993726 SHA256 609f2abe8459714993f62eb6ee90114a26beecfc375d72ab1776b503ef549166 SHA512 6ee33ae0518f596a978e4cff9342925ee5ac7927dc3dc84ed0b245608b438729c2c96a755e786e0e27641fff1ac78d814afa90db1c118bcd7a877647e5e05344 WHIRLPOOL 2c741e87928f2cea8c65e8b9dcd0d43582fd2c68620a208cc4e751135d4a3513925c4c0b94eecb6935206becc7eeec392cf8524e8bb84a0d3ed8254101db4aab
27398 DIST NVIDIA-FreeBSD-x86_64-304.37.tar.gz 34210803 SHA256 0d00046c8463954b6c8e13e245b2619758e947389161a113aa005ef7566e5dd3 SHA512 8414efc3c4b2d654b960892178fc5bc3c6c1ea6fb24558887dd18f0a72fa02dd16adf228a97d53b34c679f61c0c7fdaf72f460bbe818eaeef85ae7d69a204b21 WHIRLPOOL 5db2fb3cb23608703e9e915ccb3324465a23832516990f7765fb5317203f37fe8f91c76f88578583eba749a3440b7b13a7cb95e3dfe855c4c54f1f884c861b44
27399 DIST NVIDIA-FreeBSD-x86_64-304.43.tar.gz 34225997 SHA256 5e76b1660639b2af2fcfbe37457043138f26698866653726dd37cbf4c2ee2ac5 SHA512 2827f484e9936436a279ac78bb7eaae892a01d1df045308b1af95889b0002e39e81672b404c4a63c9940315ce2ec0160d7a2398033186017fc65eb607b85289a WHIRLPOOL 074276d8a9684bde8e317674449dbad78d3a7d595ab811566f17f0c88e09f520ae26914ec7f99a0a38c91c21d920d0d013737d9e1906ddc39af0dfe7d4a8bf7e
27400 DIST NVIDIA-FreeBSD-x86_64-304.48.tar.gz 34232252 SHA256 89814a464e906632e28e3e78e80cf7ef891e1bf23989c96f37dfb3c636265eec SHA512 55cd4fce3226fe99dd8eb1543c60ecefa709234547c616c5d932b75990b59f9af8f2b4946f193170ede0a727100eabc6bcd5a497e758df3fa4fd0baac188ee05 WHIRLPOOL b5b2ea29e53d6a57784ff892cf15136c85dc77060530f400e74030d069f7f95ed285e6afe612674e0e253d6cbd3740d8b42264c5c14c7ba92addf6af7ca744e1
27401 +DIST NVIDIA-FreeBSD-x86_64-304.51.tar.gz 34233798 SHA256 0db3ca0267b20e4ef60f480375860fdf46848e58492ce452452264544263bd56 SHA512 d84f592a4cf97638346fbf14062d678dc94311845c17b43f8ea451cbf937d71b5d6eb380f462fe3e50c57558fdc11cf56b4e10cec43235a34113089986c5f1b6 WHIRLPOOL 76c000899ae171a67abcaf2f4b154fc7c1b785e1714071ae7ffb3570b12a1853f41ac9af6d5f87ba8448531445cc089bf4ce83fd351f484ee6ba4e4d05b0eb77
27402 DIST NVIDIA-Linux-x86-173.14.35-pkg0.run 14028887 SHA256 2d26100f7691047e424e1614deca0f1d862da5fa69e04e967f0c1dbb84ec729a SHA512 6f752a33ec69ec05979e2cc8754c59377d248675ab3ec2a55212a97ee6591e80942a44b96df612ed1b41eecd2c7a0e49f464dbe251a74345ca6e9b8650dc095c WHIRLPOOL b58e84c02e0e151555ba48dbe512d4f85de4852af6ed98e4e10d6cff1ce52f5a5f509752bdc28a31704a9a7d3325790ed236c37aa31622d096d39507653121c1
27403 DIST NVIDIA-Linux-x86-295.71.run 34738880 SHA256 e02dc300324eb953278664acfe5f4c3e6e4b7e45cc7b1c700c79ff368f2c9e4d SHA512 430b884d8e510dd2a722d4893f85a4f8e4227e3cfcbdd802ef1edfd776d4f6ca487854e1fc509537285fdc38c2d87474e3e7c9ed728871527a06227fd4306e3c WHIRLPOOL c65573d09be775e29c889c86bf8fcce2442d5e9e3d6aaedd6e2147d7fd12cf3e9fedc736f5cd90116ea1dabc169f7a42aa70e34d0c93ab6d1862cba13acfd6c0
27404 DIST NVIDIA-Linux-x86-302.17.run 34598956 SHA256 3525d3814361bd202998cea2962bb3d1bb3419206d02fd8ac30d61358c1a284f SHA512 e2ec7f9dcf566c9ed0085eaf45e40940830677f3d964077fb34681b6518a3a666fae6c7594e7eaea125c265db8ecf2087a3c309c0dc63ab9941d051ee73b252b WHIRLPOOL c81e3e8da372d3a217d0cf08f05d9aba468d75949d7a3c025595327aef7c61b882eb2bbef19373ebf2a79b5210f873cb7b13597fc6e9d3612791bec3ee1ca58a
27405 DIST NVIDIA-Linux-x86-304.37.run 39349097 SHA256 ab3174a0c9ab37a8fc3f4a8fc1121d72fbdd5e00ddecf44f7dbd84bb8d51b337 SHA512 82b38b6aabcce910bc5b9c4e80c7e1eeff0c969388e34bab30a6ae79fe58101b576bbdf3483bd9d846a39f124491ee3e4bb5c5592c3ee794b55f67f45d014719 WHIRLPOOL 79517d7258d5dd765c3d92fa2dab9f0d648e06c1d4db6799e87d888e7ce633f75004ec649712cadbab01f97f310d1c796f32b3ba697d60e1031890eedc40f2e6
27406 DIST NVIDIA-Linux-x86-304.43.run 39363770 SHA256 7c7f483302a0a5a828b8ef1f5a4a53f8e16d3b73d0c17bd61ed0d843cad32c4c SHA512 4915735ff744eb9b47bbd5cf3419452cdff9d94101fae0202f4f9fc8ecd0c3550a785bda9b374022c441f26f34f0bf10a080a4b3dbe2187b36eb1814e3c66222 WHIRLPOOL 0e4f5de98587652f65199f4085eba41b0bf2f14b74a0d4baa59d8cc09e7b0b126e7e49ffa4f948b5f08585b107a3de646a235159f25c1c8fe7809a6c2f4b534c
27407 DIST NVIDIA-Linux-x86-304.48.run 39364748 SHA256 af25dab21e7f06e34cc63fb06f427c0e8de110f66b25fd571cd814a9525513b8 SHA512 79929b9788deb750e72f2f3a78d3ec2ca6004a77a1d8b55c32dc1ed808c1bcca6b0c3e9deffa823c90402e071ee88f4dcd683229f4a8bf1cacfec4fc64225706 WHIRLPOOL 20f288819ccbb63ded28e10647017ca489fad3d6b2a42d372b7ead03054f5dcd59627e13703a3c288473a71e9ad3ebc016fef4dbba69c7c0aac93a06522a0a8b
27408 +DIST NVIDIA-Linux-x86-304.51.run 39375416 SHA256 78fdf66377d996863fa56c9165745e439729b11df2b2629d55eb07160b270c22 SHA512 3258787b4f3d29cd67d6d23a5d0fb13ce0e2260a61d406319d9e8028e0c4f51b364a1eeb1ae98461aabe2cd8716b5d3b3406fb374756160604f9d78942bbb1d4 WHIRLPOOL c5bd639dcd63243e3e301ce4382bd7e4f1a9c5fa649cab7866040a88068bb0675c6ecdcc3d75dcda1a806f9d41dbac24f14cf1540f887a07f43642f27983436e
27409 DIST NVIDIA-Linux-x86-96.43.20-pkg0.run 10323541 SHA256 bc778062cf745ee4916de77a702f702312d33eeb3b6f379b63e4366fa5197517 SHA512 6fd8218dde3f3a3b49e83cd2e9df6aff502d17483ac5687c4f7009671a456bda008c12cde7d73a9d9999e6da777fe58f6093791cd7e7b10113c4a91deb1340fb WHIRLPOOL fd8e54f171bbf004eea9e7ea9bf0ad49386173e357221679f7144f6c9ec11d37d717f9b764a24a37bc10864b37e937a5dd7fd68319aa3e10edcdb835c4a2b1b0
27410 DIST NVIDIA-Linux-x86_64-173.14.35-pkg2.run 19767039 SHA256 5af64646b098021b550242fe8eb03817f862af0442023545d1295027f589595f SHA512 c6f4b56f9154af06bfef888be94dd7bbfe48e67593e901da13bc60bb0bfbfc7d00995ca61820419259e80fbc898373d26ef04c309ed6af3b73d13dc1245cc5e7 WHIRLPOOL 3c321157821751dcc82781db6fd0b9df6697d688280763ebfb11d8c004df1d5d7f975b70db9271797bfbe30d525dbe9b9a9987aeb272d854cba5a974c04d7584
27411 DIST NVIDIA-Linux-x86_64-295.71.run 58537709 SHA256 956c7660bff61c07a99cea2130e73baf1574907008d41d9462147aad6b83dcc6 SHA512 7eb21240ca44a648c081e38aab3ae6203ca70f2dd4ab187c67ef1f3cff9ab848f4040a640dfbd1f146135b37b98c6976943ff6caef8806a25784ff2263d23e8d WHIRLPOOL ea85d8fe42b15f7a7933b8dd3e31a48549a7dd411f21f60b69986fda8b2b4b53c6148194227097be6bc5323b448a5a8c452c784591e32281be576403e3caa435
27412 @@ -39,13 +42,15 @@ DIST NVIDIA-Linux-x86_64-302.17.run 58653717 SHA256 5cf9059ebb70ade99e5621c0a605
27413 DIST NVIDIA-Linux-x86_64-304.37.run 64075318 SHA256 cae75158047d0b97ea48f269fd2903a6731f53b978a1065720343436c97ca9c2 SHA512 03ce52ad2f3ba232a9c9665ece40611a249ebd0bd74505adefe758064027f0d4afb4ea4e2411372183f46e372298d974c16708735f3d2b5bafe0038716d77bbc WHIRLPOOL 9a8f299db7e47a603805ce383bb30be520aa63acf91949f6ece7a8cac638eaf01d5e40b5f6279d2e243020b8d9c9af1ca94c6ca20c1ae5fa1ab3133bb56b4ed9
27414 DIST NVIDIA-Linux-x86_64-304.43.run 64094885 SHA256 76946e2fe4160cfd59e7a75fefd174a9c7e71c51cca6b88c40a16cf35947b777 SHA512 ff34f8d1aceb9190835de7bf9ae25cf973083ae747b79c9a18b0f5f01abc80ebe6a7355d0c17e40de0c8497f43a8041d524a666fc18aca324ad521bef5163f97 WHIRLPOOL c4ac780efacadc389e477f9c289fc5158826bf231d285b0c2848c4a797871575575453b08207ca24cb27afa18cc0c9eddce8b92aee8d35fdd2ab31a930b9d7ed
27415 DIST NVIDIA-Linux-x86_64-304.48.run 64107383 SHA256 c018541d30e4f276e1afc60077e5c75b54954daa8888c870fc80a19b28d4eae8 SHA512 4eb4b9f753157db7ab591433fad7043e6b8db8ad642b80711d71b541ea6a6b89ccf9f1cdbb95ea3fdec2077b4b9c146ef62afef9dd67b9b44276b8e56f3a27e8 WHIRLPOOL 5eeee0e1ffec91e96df9290d3c24785f5a5ae2cded87282f7cc67f11ea9a661f6e927516387ab6f6f4a9abbe523218fc13e88c3255947676ed44fe38b3d02c58
27416 +DIST NVIDIA-Linux-x86_64-304.51.run 64118811 SHA256 28654ff26923660de7296488054154bbbac0ef6e669377eeed84178fd0c17e64 SHA512 f3fe897ee96df159c040b5106a3a84cb232dd244e2b0597875d03f99ff5fb9798f95175ac777d7a8b681c1cc331f658fe2098296a23fc6d6f1bab7eb3e49463f WHIRLPOOL e0ef2998ebfe64bac734bdcd9c7266d28394273a8b1ffcca6c3b4446a5a58310b010c96f2071106c94133052969f8c0fcb231ca2a9a17f9c5b79d01258790bee
27417 DIST NVIDIA-Linux-x86_64-96.43.20-pkg2.run 14572507 SHA256 562107a262e250b836966e29851628f6162ee2857d53252221c780d9b201de18 SHA512 ca89961463bc705b1aa0e5fcbb284317e60e455d444035ba8f6a44cb3884f3a4b4c98ed5a37465d6f70a0eb6578a7d865b25f15a6b6f48bdbcb5aaca6e541623 WHIRLPOOL 873e32237ee1441625c1335e1d325649f139306a49bc87fc25afe81ec37671984a2f0bb904b2d7b435d5ceb52572740bb910fac32853627ce5583655178674dc
27418 -EBUILD nvidia-drivers-173.14.35.ebuild 16653 SHA256 6286530ae409bd511486ccddf8f8e8d921d63ca51ed4d61c286d7e5da2cfc3a8 SHA512 c492de4f6655adb83ab237cfa43033e4a1881310d4181d69375cda88059023b5534e331095a77580eab9e83969ee7f0e84cf0e149dd4f3a071e70abbb0bb875e WHIRLPOOL f77a79d608dd341328bf61b0b991d2f0a73cf233fe8cceee54d9d9eca0746f97a5d45021327e7fc588c90742d731e56617e6f1e5a5923bfaf039c7aa3a4e4c4b
27419 -EBUILD nvidia-drivers-295.71.ebuild 18541 SHA256 2446ce5943be02cf2e3ef3dacb19bb9245bac98c0cc1e2840c7f699c87f97187 SHA512 c7c456fef768df094af9a8633d876523b609f62b8b510f63999206b80cece9d199dae4590cdad8e10a2a70fb3b1d6d5b357a2c6a9491002e42ee9266365ffe07 WHIRLPOOL fa163412554c690f3c7e2a421fc6189d26e839e928fa85ffbfe02d42e5fc5216d121d2f637e66e1ac3986c738c36dcdd9e92ca9e1cba7c9d78429c49fb52f821
27420 -EBUILD nvidia-drivers-302.17-r1.ebuild 18683 SHA256 2789f605e6bfdec2a15be4d6a8265217fd82813794123834e158c9324fe8b24b SHA512 73ab9f6567fdb09dcc134ee744e6bc796270c248e4022c1120968fd26344f015c65790c5cb3d07f363612d1f2c3603c3bb5d83cbef725d525deb515be61964ec WHIRLPOOL 5db6d5f83cbfd0fbcab6f4a8534259b793494ae7549fcc56909b87691616d106aac1a16947ff30192bd90d40b0f6a44a6ce431a5309c47218d47b96253868f3f
27421 +EBUILD nvidia-drivers-173.14.35.ebuild 16668 SHA256 50d53cbce419e474e7e6611d8d8a96988d4863f0934cca843e50d3ba857b0840 SHA512 ac31942bf15278e4ae90376a55e06925c639592325b34cac7d3df386ef863bbaa8d9b554cfc6431ab72777440c08387af5ffd8bf03a711dd34596e9553c5f073 WHIRLPOOL 145bbd21f812553547065bcaf5f2e264de5b05b72bbd068fc0498f0ecc9188993d293c086680b9a4e19479b62d88cab727e12f02666d13319bcbe85b5f7a5b68
27422 +EBUILD nvidia-drivers-295.71.ebuild 18550 SHA256 aa13c7ab50809ac8a8ffc779b5f799da65dad5977f4b6b53fd554853ab6fa5da SHA512 1b73297e6ec45bac4c3bab632812ef2df083d9d6572166bb8bbcd2ec5c29afd3cc09e621c29a0bf667449a3b124123cdc4b1ed4f302201133b2c2d071d3fb300 WHIRLPOOL 64397c2c67e7f95f429f207494a9c2f93a6195d5ecf4510e63e4ef0dedb85d77b9938f333fb7d9fb94bc2b19ca9ecdab6975ee288af0fe8fee8002478bb6cf8b
27423 +EBUILD nvidia-drivers-302.17-r1.ebuild 18698 SHA256 35904addec73863f63bb8fc43c5af5e2fb64d045af5dfd398c5eadbd9895a023 SHA512 841cab5ffa46133e92747bc6ed1c6da47f4c7bbc17acfc2eb69f6cf5fc8ac117c65156952e88d1c54448d81f139232736a74dfcdb4bab1c33aecb87f088867f1 WHIRLPOOL 6344ce83089745633704607ddb52f0f9a3ed8006b5c3c28a2ffa98d5856a093c6a9657832e49205da2ab5d39511ae863ed2fe1ff3cc3303debe0e38d2c27aca9
27424 EBUILD nvidia-drivers-304.37-r1.ebuild 12467 SHA256 e35ba319043fa69f7bcbd5bf999b14ecf0e7922ec43e7228bfe08c617bb69947 SHA512 9f64eb011abbe62915a05e09aa2631154468951b66cc703754ec68c1b074fb1f918bca73c608c3394f43bd9e7543856f4d5b643ae301d3a22b69b6565d2239e9 WHIRLPOOL 710c8e55578dd2cb61047752acc3192529954a1e0ece98ea01b0bd2f3a776ea0497f2b814a9c3dfb60874e20df090b64b2135ae4342d28fcafc4ccf813d6f175
27425 EBUILD nvidia-drivers-304.43.ebuild 12759 SHA256 e6d36303347c44a1ffe2ab7503e0f583c4831d4198b01a021b6a156360b21b88 SHA512 a66c30fa34336eae132864cff076e010cc7bcc9381b942ea069ef5eeb7c7d4c0e65653097fb85044e9e25c29b4572e8c36021a00df3b681db44c85b2d50832f2 WHIRLPOOL e0ae300756146b3e6d6766fe4f890f42e2ef19b614e5c29e67543c362f9cffe099bd5eaef76f7c4d1e4755933b32c17b791771cc0cf0f1eabb3222e4dfe446c7
27426 EBUILD nvidia-drivers-304.48.ebuild 12814 SHA256 3aa6478d61d2f68176720945c7dec2921090d5601090f584718f135f065c43c8 SHA512 10cb91743d1b5ee2abd0d96f4ca05aa0a1ef67bb989db39bd09d311531c44dfe7e00a91c193ea1414ddb431ecce1e5a0017bfdda5325a5223c8a460efc683025 WHIRLPOOL 65bd95063713be6155bc08a5d7abcffd54cd4e816fc6e78f3aeaa135a15e86b00747d571573ea2b4dc19270e57e11004319001f0a4858a3b356631b059dc8223
27427 -EBUILD nvidia-drivers-96.43.20.ebuild 15268 SHA256 da92374cb260e0958897f444cb338870159714111c0230e20ea8fcfeac100c63 SHA512 5241fdc583f88aec384b3e2698255950bb84fdd781b051cc175dafc5a282e790d3d5dfa23734eab02b63a838f4c87227b89598fba6cb0e6bf9cd3fcf90042fde WHIRLPOOL e388f6fa286488f63994a70abcbc3077f552c6f58bc51289379bfc09b83dd9ec5a986d7f5d399c6d3d12a3b566e7d5f1710d3802d5472f5ed5ef38033fecaaf4
27428 -MISC ChangeLog 84050 SHA256 a780ef129ed243a87ffa826ec14b5c6d9d03405730402bb17ff96641a36ab48e SHA512 c0e50408f70df6028ec9b9191421245594af425bfc9150cae6ca7c7d7864c3c2c8febbd1677c8084de61d0394ddeb39ba5c297093fc44e0b85e3836aa818dbdc WHIRLPOOL 236e25a0c1d73c84438e10190136926805dc4695e419eb9e6488139731549c85b7573ad2f0184408b4492dc298a4c0c40c4b9e0603b5dcf585d14183b0044a90
27429 +EBUILD nvidia-drivers-304.51.ebuild 12808 SHA256 26cd467b0002c42f0ed5be5ae52ecee2a3324e082fbaab997509debb1a818f76 SHA512 e7a6a31a61430bd39d236b8898e93e03569db891be61a4755af659ed2e9dbc58f4bfe6fd62e96a472df1672ee15187d1ff13ed50940d9334912af0349f67043d WHIRLPOOL a2666bee4110771cf78fb037e996cf3d12974571c89e6a02150c6b8d722af0653114636e5d5df4614870818592c34af61286e8227f4a625863fb77fdd371d6ae
27430 +EBUILD nvidia-drivers-96.43.20.ebuild 15283 SHA256 dc5391522b493ae6fd04526f41ef1d78cc43d4bc063f06a2f9f04fa6f996bf16 SHA512 f5c198dcadc904d8e96f0071dbf1449a418b147b132b697b110fa9b313cb6678e8c3a3b496c8654655b9f3eb03360742a11b5b689062c4b653baa750d670e21f WHIRLPOOL 0224ba1195f9a231036b8f74bc291776d4eda966f82b7eb7a5f81744d989494d26b8e86ac83e866104bf847f3fded537dd386c9b11f897af3d92ee37881eaa0b
27431 +MISC ChangeLog 84533 SHA256 cb1ec733b7202ac4e1251868b5d06b5f5b74a8c583b9e59461b0b2754add2e98 SHA512 b82f3a883f7bfc607edf82d4375a0fc542944973acfbc509bb62eff7ec9f2a89de923713941137919ab469bca140303753eaca6f7e66744b5155c4d705bbab07 WHIRLPOOL 2f84b2517d82c9aec70a279f8e81e64bebbb2c9909d1200533f9c4a8c452bfac82356d19500c4c58f020488901d943856f0ed8643e6ad23fe1b27647a7b5c56e
27432 MISC metadata.xml 937 SHA256 807dcc6ae2775af89d15e2253a264ea0d24803bd876f93519d9dfa46abcd8c80 SHA512 85a7324e9a065c9bd003e1f9067adf5ad5408cabd5e37480422066fef392da841622aa6049aba0fabe249cc7e5014d4cb8435e4ad8507645802fad48f2021af9 WHIRLPOOL e87f8890be0329cffefc58b491cde96920344b0cfec5b04589dfd49f3805250c6ff7ecff2e8709fc930b7b77a32ff65ca530596ea521aaf9e97b6f82ccbc6e01
27433
27434 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.35.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.35.ebuild
27435 index 83f8fa1..0a19f38 100644
27436 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.35.ebuild
27437 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.35.ebuild
27438 @@ -1,6 +1,6 @@
27439 # Copyright 1999-2012 Gentoo Foundation
27440 # Distributed under the terms of the GNU General Public License v2
27441 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.35.ebuild,v 1.8 2012/08/10 14:40:54 jer Exp $
27442 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.35.ebuild,v 1.9 2012/09/24 00:48:53 vapier Exp $
27443
27444 EAPI="2"
27445
27446 @@ -99,7 +99,7 @@ QA_WX_LOAD_amd64="usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
27447
27448 QA_SONAME_amd64="usr/lib64/libnvcompiler.so.${PV}"
27449
27450 -QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27451 +QA_FLAGS_IGNORED_amd64="usr/lib32/libcuda.so.${PV}
27452 usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
27453 usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
27454 usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV}
27455 @@ -117,7 +117,7 @@ QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27456 opt/bin/nvidia-smi
27457 opt/bin/nvidia-xconfig"
27458
27459 -QA_DT_HASH_x86="usr/lib/libcuda.so.${PV}
27460 +QA_FLAGS_IGNORED_x86="usr/lib/libcuda.so.${PV}
27461 usr/lib/libnvidia-cfg.so.${PV}
27462 usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
27463 usr/lib/opengl/nvidia/lib/libGL.so.${PV}
27464
27465 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-295.71.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-295.71.ebuild
27466 index faf5df5..ac90701 100644
27467 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-295.71.ebuild
27468 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-295.71.ebuild
27469 @@ -1,6 +1,6 @@
27470 # Copyright 1999-2012 Gentoo Foundation
27471 # Distributed under the terms of the GNU General Public License v2
27472 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-295.71.ebuild,v 1.5 2012/08/17 11:20:04 nativemad Exp $
27473 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-295.71.ebuild,v 1.6 2012/09/24 00:48:53 vapier Exp $
27474
27475 EAPI="5"
27476
27477 @@ -134,7 +134,7 @@ QA_SONAME_x86="usr/lib/libnvidia-compiler.so.${PV}"
27478 QA_SONAME_amd64="usr/lib64/libnvidia-compiler.so.${PV}
27479 usr/lib32/libnvidia-compiler.so.${PV}"
27480
27481 -QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27482 +QA_FLAGS_IGNORED_amd64="usr/lib32/libcuda.so.${PV}
27483 usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
27484 usr/lib32/libnvidia-glcore.so.${PV}
27485 usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV}
27486 @@ -159,7 +159,7 @@ QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27487 opt/bin/nvidia-debugdump
27488 opt/bin/nvidia-settings"
27489
27490 -QA_DT_HASH_x86="usr/lib/libcuda.so.${PV}
27491 +QA_FLAGS_IGNORED_x86="usr/lib/libcuda.so.${PV}
27492 usr/lib/libnvidia-cfg.so.${PV}
27493 usr/lib/libnvidia-glcore.so.${PV}
27494 usr/lib/libnvidia-ml.so.${PV}
27495
27496 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-302.17-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-302.17-r1.ebuild
27497 index c9c34bb..c476114 100644
27498 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-302.17-r1.ebuild
27499 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-302.17-r1.ebuild
27500 @@ -1,6 +1,6 @@
27501 # Copyright 1999-2012 Gentoo Foundation
27502 # Distributed under the terms of the GNU General Public License v2
27503 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-302.17-r1.ebuild,v 1.5 2012/08/10 14:40:54 jer Exp $
27504 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-302.17-r1.ebuild,v 1.6 2012/09/24 00:48:53 vapier Exp $
27505
27506 EAPI="2"
27507
27508 @@ -134,7 +134,7 @@ QA_SONAME_x86="usr/lib/libnvidia-compiler.so.${PV}"
27509 QA_SONAME_amd64="usr/lib64/libnvidia-compiler.so.${PV}
27510 usr/lib32/libnvidia-compiler.so.${PV}"
27511
27512 -QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27513 +QA_FLAGS_IGNORED_amd64="usr/lib32/libcuda.so.${PV}
27514 usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
27515 usr/lib32/libnvidia-glcore.so.${PV}
27516 usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV}
27517 @@ -159,7 +159,7 @@ QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27518 opt/bin/nvidia-debugdump
27519 opt/bin/nvidia-settings"
27520
27521 -QA_DT_HASH_x86="usr/lib/libcuda.so.${PV}
27522 +QA_FLAGS_IGNORED_x86="usr/lib/libcuda.so.${PV}
27523 usr/lib/libnvidia-cfg.so.${PV}
27524 usr/lib/libnvidia-glcore.so.${PV}
27525 usr/lib/libnvidia-ml.so.${PV}
27526
27527 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-304.51.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-304.51.ebuild
27528 new file mode 100644
27529 index 0000000..c7943b0
27530 --- /dev/null
27531 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-304.51.ebuild
27532 @@ -0,0 +1,447 @@
27533 +# Copyright 1999-2012 Gentoo Foundation
27534 +# Distributed under the terms of the GNU General Public License v2
27535 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-304.51.ebuild,v 1.1 2012/09/25 16:47:34 cardoe Exp $
27536 +
27537 +EAPI=4
27538 +
27539 +inherit eutils flag-o-matic linux-info linux-mod multilib nvidia-driver \
27540 + portability toolchain-funcs unpacker user versionator
27541 +
27542 +X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}"
27543 +AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}"
27544 +X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${PV}"
27545 +AMD64_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86_64-${PV}"
27546 +
27547 +DESCRIPTION="NVIDIA X11 driver and GLX libraries"
27548 +HOMEPAGE="http://www.nvidia.com/"
27549 +SRC_URI="x86? ( ftp://download.nvidia.com/XFree86/Linux-x86/${PV}/${X86_NV_PACKAGE}.run )
27550 + amd64? ( ftp://download.nvidia.com/XFree86/Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}.run )
27551 + amd64-fbsd? ( ftp://download.nvidia.com/XFree86/FreeBSD-x86_64/${PV}/${AMD64_FBSD_NV_PACKAGE}.tar.gz )
27552 + x86-fbsd? ( ftp://download.nvidia.com/XFree86/FreeBSD-x86/${PV}/${X86_FBSD_NV_PACKAGE}.tar.gz )"
27553 +
27554 +LICENSE="NVIDIA"
27555 +SLOT="0"
27556 +KEYWORDS="-* ~amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
27557 +IUSE="acpi multilib kernel_FreeBSD kernel_linux pax_kernel +tools +X"
27558 +RESTRICT="strip"
27559 +EMULTILIB_PKG="true"
27560 +
27561 +COMMON="app-admin/eselect-opencl
27562 + kernel_linux? ( >=sys-libs/glibc-2.6.1 )
27563 + multilib? ( app-emulation/emul-linux-x86-xlibs )
27564 + X? (
27565 + <x11-base/xorg-server-1.13.99
27566 + >=app-admin/eselect-opengl-1.0.9
27567 + )"
27568 +DEPEND="${COMMON}
27569 + kernel_linux? (
27570 + virtual/linux-sources
27571 + virtual/pkgconfig
27572 + )"
27573 +RDEPEND="${COMMON}
27574 + acpi? ( sys-power/acpid )
27575 + tools? (
27576 + dev-libs/atk
27577 + dev-libs/glib
27578 + x11-libs/gdk-pixbuf
27579 + x11-libs/gtk+:2
27580 + x11-libs/libX11
27581 + x11-libs/libXext
27582 + x11-libs/pango[X]
27583 + )
27584 + X? ( x11-libs/libXvMC )"
27585 +PDEPEND="X? ( >=x11-libs/libvdpau-0.3-r1 )"
27586 +
27587 +REQUIRED_USE="tools? ( X )"
27588 +
27589 +QA_PREBUILT="opt/* usr/lib*"
27590 +
27591 +S=${WORKDIR}/
27592 +
27593 +pkg_pretend() {
27594 +
27595 + if use amd64 && has_multilib_profile && \
27596 + [ "${DEFAULT_ABI}" != "amd64" ]; then
27597 + eerror "This ebuild doesn't currently support changing your default ABI"
27598 + die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
27599 + fi
27600 +
27601 + # Kernel features/options to check for
27602 + CONFIG_CHECK="~ZONE_DMA ~MTRR ~SYSVIPC ~!LOCKDEP"
27603 + use x86 && CONFIG_CHECK+=" ~HIGHMEM"
27604 +
27605 + # Now do the above checks
27606 + use kernel_linux && check_extra_config
27607 +}
27608 +
27609 +pkg_setup() {
27610 + # try to turn off distcc and ccache for people that have a problem with it
27611 + export DISTCC_DISABLE=1
27612 + export CCACHE_DISABLE=1
27613 +
27614 + if use kernel_linux; then
27615 + linux-mod_pkg_setup
27616 + MODULE_NAMES="nvidia(video:${S}/kernel)"
27617 + BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} \
27618 + SYSOUT=${KV_OUT_DIR} CC=$(tc-getBUILD_CC)"
27619 + # linux-mod_src_compile calls set_arch_to_kernel, which
27620 + # sets the ARCH to x86 but NVIDIA's wrapping Makefile
27621 + # expects x86_64 or i386 and then converts it to x86
27622 + # later on in the build process
27623 + BUILD_FIXES="ARCH=$(uname -m | sed -e 's/i.86/i386/')"
27624 + fi
27625 +
27626 + # Since Nvidia ships 3 different series of drivers, we need to give the user
27627 + # some kind of guidance as to what version they should install. This tries
27628 + # to point the user in the right direction but can't be perfect. check
27629 + # nvidia-driver.eclass
27630 + nvidia-driver-check-warning
27631 +
27632 + # set variables to where files are in the package structure
27633 + if use kernel_FreeBSD; then
27634 + use x86-fbsd && S="${WORKDIR}/${X86_FBSD_NV_PACKAGE}"
27635 + use amd64-fbsd && S="${WORKDIR}/${AMD64_FBSD_NV_PACKAGE}"
27636 + NV_DOC="${S}/doc"
27637 + NV_OBJ="${S}/obj"
27638 + NV_SRC="${S}/src"
27639 + NV_MAN="${S}/x11/man"
27640 + NV_X11="${S}/obj"
27641 + NV_SOVER=1
27642 + elif use kernel_linux; then
27643 + NV_DOC="${S}"
27644 + NV_OBJ="${S}"
27645 + NV_SRC="${S}/kernel"
27646 + NV_MAN="${S}"
27647 + NV_X11="${S}"
27648 + NV_SOVER=${PV}
27649 + else
27650 + die "Could not determine proper NVIDIA package"
27651 + fi
27652 +}
27653 +
27654 +src_unpack() {
27655 + if ! use kernel_FreeBSD; then
27656 + cd "${S}"
27657 + unpack_makeself
27658 + else
27659 + unpack ${A}
27660 + fi
27661 +}
27662 +
27663 +src_prepare() {
27664 + # Please add a brief description for every added patch
27665 +
27666 + if use kernel_linux; then
27667 + if kernel_is lt 2 6 9 ; then
27668 + eerror "You must build this against 2.6.9 or higher kernels."
27669 + fi
27670 +
27671 + # If greater than 2.6.5 use M= instead of SUBDIR=
27672 + convert_to_m "${NV_SRC}"/Makefile.kbuild
27673 + fi
27674 +
27675 + if use pax_kernel; then
27676 + ewarn "Using PAX patches is not supported. You will be asked to"
27677 + ewarn "use a standard kernel should you have issues. Should you"
27678 + ewarn "need support with these patches, contact the PaX team."
27679 + epatch "${FILESDIR}"/nvidia-drivers-pax-const.patch
27680 + epatch "${FILESDIR}"/nvidia-drivers-pax-usercopy.patch
27681 + fi
27682 +
27683 + cat <<- EOF > "${S}"/nvidia.icd
27684 + /usr/$(get_libdir)/libnvidia-opencl.so
27685 + EOF
27686 +
27687 + # Allow user patches so they can support RC kernels and whatever else
27688 + epatch_user
27689 +}
27690 +
27691 +src_compile() {
27692 + # This is already the default on Linux, as there's no toplevel Makefile, but
27693 + # on FreeBSD there's one and triggers the kernel module build, as we install
27694 + # it by itself, pass this.
27695 +
27696 + cd "${NV_SRC}"
27697 + if use kernel_FreeBSD; then
27698 + MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \
27699 + LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
27700 + elif use kernel_linux; then
27701 + linux-mod_src_compile
27702 + fi
27703 +}
27704 +
27705 +# Install nvidia library:
27706 +# the first parameter is the library to install
27707 +# the second parameter is the provided soversion
27708 +# the third parameter is the target directory if its not /usr/lib
27709 +donvidia() {
27710 + # Full path to library minus SOVER
27711 + MY_LIB="$1"
27712 +
27713 + # SOVER to use
27714 + MY_SOVER="$2"
27715 +
27716 + # Where to install
27717 + MY_DEST="$3"
27718 +
27719 + if [[ -z "${MY_DEST}" ]]; then
27720 + MY_DEST="/usr/$(get_libdir)"
27721 + action="dolib.so"
27722 + else
27723 + exeinto ${MY_DEST}
27724 + action="doexe"
27725 + fi
27726 +
27727 + # Get just the library name
27728 + libname=$(basename $1)
27729 +
27730 + # Install the library with the correct SOVER
27731 + ${action} ${MY_LIB}.${MY_SOVER} || \
27732 + die "failed to install ${libname}"
27733 +
27734 + # If SOVER wasn't 1, then we need to create a .1 symlink
27735 + if [[ "${MY_SOVER}" != "1" ]]; then
27736 + dosym ${libname}.${MY_SOVER} \
27737 + ${MY_DEST}/${libname}.1 || \
27738 + die "failed to create ${libname} symlink"
27739 + fi
27740 +
27741 + # Always create the symlink from the raw lib to the .1
27742 + dosym ${libname}.1 \
27743 + ${MY_DEST}/${libname} || \
27744 + die "failed to create ${libname} symlink"
27745 +}
27746 +
27747 +src_install() {
27748 + if use kernel_linux; then
27749 + linux-mod_src_install
27750 +
27751 + VIDEOGROUP="$(egetent group video | cut -d ':' -f 3)"
27752 + if [ -z "$VIDEOGROUP" ]; then
27753 + eerror "Failed to determine the video group gid."
27754 + die "Failed to determine the video group gid."
27755 + fi
27756 +
27757 + # Add the aliases
27758 + [ -f "${FILESDIR}/nvidia-169.07" ] || die "nvidia missing in FILESDIR"
27759 + sed -e 's:PACKAGE:'${PF}':g' \
27760 + -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-169.07 > \
27761 + "${WORKDIR}"/nvidia
27762 + insinto /etc/modprobe.d
27763 + newins "${WORKDIR}"/nvidia nvidia.conf || die
27764 +
27765 + local udevdir=/lib/udev
27766 + has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
27767 +
27768 + # Ensures that our device nodes are created when not using X
27769 + exeinto "${udevdir}"
27770 + doexe "${FILESDIR}"/nvidia-udev.sh
27771 +
27772 + insinto "${udevdir}"/rules.d
27773 + newins "${FILESDIR}"/nvidia.udev-rule 99-nvidia.rules
27774 + elif use kernel_FreeBSD; then
27775 + if use x86-fbsd; then
27776 + insinto /boot/modules
27777 + doins "${S}/src/nvidia.kld" || die
27778 + fi
27779 +
27780 + exeinto /boot/modules
27781 + doexe "${S}/src/nvidia.ko" || die
27782 + fi
27783 +
27784 + # NVIDIA kernel <-> userspace driver config lib
27785 + donvidia ${NV_OBJ}/libnvidia-cfg.so ${NV_SOVER}
27786 +
27787 + if use kernel_linux; then
27788 + # NVIDIA video decode <-> CUDA
27789 + donvidia ${NV_OBJ}/libnvcuvid.so ${NV_SOVER}
27790 + fi
27791 +
27792 + if use X; then
27793 + # Xorg DDX driver
27794 + insinto /usr/$(get_libdir)/xorg/modules/drivers
27795 + doins ${NV_X11}/nvidia_drv.so || die "failed to install nvidia_drv.so"
27796 +
27797 + # Xorg GLX driver
27798 + donvidia ${NV_X11}/libglx.so ${NV_SOVER} \
27799 + /usr/$(get_libdir)/opengl/nvidia/extensions
27800 +
27801 + # XvMC driver
27802 + dolib.a ${NV_X11}/libXvMCNVIDIA.a || \
27803 + die "failed to install libXvMCNVIDIA.so"
27804 + donvidia ${NV_X11}/libXvMCNVIDIA.so ${NV_SOVER}
27805 + dosym libXvMCNVIDIA.so.${NV_SOVER} \
27806 + /usr/$(get_libdir)/libXvMCNVIDIA_dynamic.so.1 || \
27807 + die "failed to create libXvMCNVIDIA_dynamic.so symlink"
27808 + fi
27809 +
27810 + # OpenCL ICD for NVIDIA
27811 + if use kernel_linux; then
27812 + insinto /etc/OpenCL/vendors
27813 + doins nvidia.icd
27814 + donvidia ${NV_OBJ}/libnvidia-opencl.so ${NV_SOVER}
27815 + fi
27816 +
27817 + # Documentation
27818 + dohtml ${NV_DOC}/html/*
27819 + if use kernel_FreeBSD; then
27820 + dodoc "${NV_DOC}/README"
27821 + use X && doman "${NV_MAN}/nvidia-xconfig.1"
27822 + use tools && doman "${NV_MAN}/nvidia-settings.1"
27823 + else
27824 + # Docs
27825 + newdoc "${NV_DOC}/README.txt" README
27826 + dodoc "${NV_DOC}/NVIDIA_Changelog"
27827 + doman "${NV_MAN}/nvidia-smi.1.gz"
27828 + use X && doman "${NV_MAN}/nvidia-xconfig.1.gz"
27829 + use tools && doman "${NV_MAN}/nvidia-settings.1.gz"
27830 + doman "${NV_MAN}/nvidia-cuda-proxy-control.1.gz"
27831 + fi
27832 +
27833 + # Helper Apps
27834 + exeinto /opt/bin/
27835 +
27836 + if use X; then
27837 + doexe ${NV_OBJ}/nvidia-xconfig || die
27838 + fi
27839 +
27840 + if use kernel_linux ; then
27841 + doexe ${NV_OBJ}/nvidia-debugdump || die
27842 + doexe ${NV_OBJ}/nvidia-cuda-proxy-control || die
27843 + doexe ${NV_OBJ}/nvidia-cuda-proxy-server || die
27844 + doexe ${NV_OBJ}/nvidia-smi || die
27845 + newinitd "${FILESDIR}/nvidia-smi.init" nvidia-smi
27846 + fi
27847 +
27848 + if use tools; then
27849 + doexe ${NV_OBJ}/nvidia-settings || die
27850 + fi
27851 +
27852 + exeinto /usr/bin/
27853 + doexe ${NV_OBJ}/nvidia-bug-report.sh || die
27854 +
27855 + # Desktop entries for nvidia-settings
27856 + if use tools ; then
27857 + # There is no icon in the FreeBSD tarball.
27858 + use kernel_FreeBSD || newicon ${NV_OBJ}/nvidia-settings.png nvidia-drivers-settings.png
27859 + domenu "${FILESDIR}"/nvidia-drivers-settings.desktop
27860 + exeinto /etc/X11/xinit/xinitrc.d
27861 + doexe "${FILESDIR}"/95-nvidia-settings
27862 + fi
27863 +
27864 + #doenvd "${FILESDIR}"/50nvidia-prelink-blacklist
27865 +
27866 + if has_multilib_profile && use multilib ; then
27867 + local OABI=${ABI}
27868 + for ABI in $(get_install_abis) ; do
27869 + src_install-libs
27870 + done
27871 + ABI=${OABI}
27872 + unset OABI
27873 + else
27874 + src_install-libs
27875 + fi
27876 +
27877 + is_final_abi || die "failed to iterate through all ABIs"
27878 +}
27879 +
27880 +src_install-libs() {
27881 + local inslibdir=$(get_libdir)
27882 + local GL_ROOT="/usr/$(get_libdir)/opengl/nvidia/lib"
27883 + local CL_ROOT="/usr/$(get_libdir)/OpenCL/vendors/nvidia"
27884 + local libdir=${NV_OBJ}
27885 +
27886 + if use kernel_linux && has_multilib_profile && \
27887 + [[ ${ABI} == "x86" ]] ; then
27888 + libdir=${NV_OBJ}/32
27889 + fi
27890 +
27891 + if use X; then
27892 + # The GLX libraries
27893 + donvidia ${libdir}/libGL.so ${NV_SOVER} ${GL_ROOT}
27894 + donvidia ${libdir}/libnvidia-glcore.so ${NV_SOVER}
27895 + if use kernel_FreeBSD; then
27896 + donvidia ${libdir}/libnvidia-tls.so ${NV_SOVER} ${GL_ROOT}
27897 + else
27898 + donvidia ${libdir}/tls/libnvidia-tls.so ${NV_SOVER} ${GL_ROOT}
27899 + fi
27900 +
27901 + # VDPAU
27902 + donvidia ${libdir}/libvdpau_nvidia.so ${NV_SOVER}
27903 + fi
27904 +
27905 + # NVIDIA monitoring library
27906 + if use kernel_linux ; then
27907 + donvidia ${libdir}/libnvidia-ml.so ${NV_SOVER}
27908 + fi
27909 +
27910 + # CUDA & OpenCL
27911 + if use kernel_linux; then
27912 + donvidia ${libdir}/libcuda.so ${NV_SOVER}
27913 + donvidia ${libdir}/libnvidia-compiler.so ${NV_SOVER}
27914 + donvidia ${libdir}/libOpenCL.so 1.0.0 ${CL_ROOT}
27915 + fi
27916 +}
27917 +
27918 +pkg_preinst() {
27919 + use kernel_linux && linux-mod_pkg_preinst
27920 +
27921 + # Clean the dynamic libGL stuff's home to ensure
27922 + # we dont have stale libs floating around
27923 + if [ -d "${ROOT}"/usr/lib/opengl/nvidia ] ; then
27924 + rm -rf "${ROOT}"/usr/lib/opengl/nvidia/*
27925 + fi
27926 + # Make sure we nuke the old nvidia-glx's env.d file
27927 + if [ -e "${ROOT}"/etc/env.d/09nvidia ] ; then
27928 + rm -f "${ROOT}"/etc/env.d/09nvidia
27929 + fi
27930 +}
27931 +
27932 +pkg_postinst() {
27933 + use kernel_linux && linux-mod_pkg_postinst
27934 +
27935 + # Switch to the nvidia implementation
27936 + use X && "${ROOT}"/usr/bin/eselect opengl set --use-old nvidia
27937 + "${ROOT}"/usr/bin/eselect opencl set --use-old nvidia
27938 +
27939 + elog "You must be in the video group to use the NVIDIA device"
27940 + elog "For more info, read the docs at"
27941 + elog "http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6"
27942 + elog
27943 + elog "This ebuild installs a kernel module and X driver. Both must"
27944 + elog "match explicitly in their version. This means, if you restart"
27945 + elog "X, you must modprobe -r nvidia before starting it back up"
27946 + elog
27947 + elog "To use the NVIDIA GLX, run \"eselect opengl set nvidia\""
27948 + elog
27949 + elog "To use the NVIDIA CUDA/OpenCL, run \"eselect opencl set nvidia\""
27950 + elog
27951 + elog "NVIDIA has requested that any bug reports submitted have the"
27952 + elog "output of /opt/bin/nvidia-bug-report.sh included."
27953 + elog
27954 + if ! use X; then
27955 + elog "You have elected to not install the X.org driver. Along with"
27956 + elog "this the OpenGL libraries, XvMC, and VDPAU libraries were not"
27957 + elog "installed. Additionally, once the driver is loaded your card"
27958 + elog "and fan will run at max speed which may not be desirable."
27959 + elog "Use the 'nvidia-smi' init script to have your card and fan"
27960 + elog "speed scale appropriately."
27961 + elog
27962 + fi
27963 + if ! use tools; then
27964 + elog "USE=tools controls whether the nvidia-settings application"
27965 + elog "is installed. If you would like to use it, enable that"
27966 + elog "flag and re-emerge this ebuild. Optionally you can install"
27967 + elog "media-video/nvidia-settings"
27968 + elog
27969 + fi
27970 +}
27971 +
27972 +pkg_prerm() {
27973 + use X && "${ROOT}"/usr/bin/eselect opengl set --use-old xorg-x11
27974 +}
27975 +
27976 +pkg_postrm() {
27977 + use kernel_linux && linux-mod_pkg_postrm
27978 + use X && "${ROOT}"/usr/bin/eselect opengl set --use-old xorg-x11
27979 +}
27980
27981 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20.ebuild
27982 index 7df8be6..4a0841e 100644
27983 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20.ebuild
27984 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20.ebuild
27985 @@ -1,6 +1,6 @@
27986 # Copyright 1999-2012 Gentoo Foundation
27987 # Distributed under the terms of the GNU General Public License v2
27988 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20.ebuild,v 1.10 2012/08/10 14:40:54 jer Exp $
27989 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-96.43.20.ebuild,v 1.11 2012/09/24 00:48:53 vapier Exp $
27990
27991 EAPI="2"
27992
27993 @@ -100,7 +100,7 @@ QA_WX_LOAD_amd64="usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
27994
27995 QA_SONAME_amd64="usr/lib64/libnvcompiler.so.${PV}"
27996
27997 -QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
27998 +QA_FLAGS_IGNORED_amd64="usr/lib32/libcuda.so.${PV}
27999 usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
28000 usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
28001 usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.${PV}
28002 @@ -118,7 +118,7 @@ QA_DT_HASH_amd64="usr/lib32/libcuda.so.${PV}
28003 usr/bin/nvidia-smi
28004 usr/bin/nvidia-xconfig"
28005
28006 -QA_DT_HASH_x86="usr/lib/libcuda.so.${PV}
28007 +QA_FLAGS_IGNORED_x86="usr/lib/libcuda.so.${PV}
28008 usr/lib/libnvidia-cfg.so.${PV}
28009 usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
28010 usr/lib/opengl/nvidia/lib/libGL.so.${PV}
28011
28012 diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest
28013 index 5611ebe..4cc9161 100644
28014 --- a/x11-drivers/xf86-input-wacom/Manifest
28015 +++ b/x11-drivers/xf86-input-wacom/Manifest
28016 @@ -3,6 +3,6 @@ DIST xf86-input-wacom-0.15.0.tar.bz2 528528 SHA256 2e9b64c30fb223c46407bd0e105a5
28017 DIST xf86-input-wacom-0.16.1.tar.bz2 532880 SHA256 db8578f04e0e0960ebe1cb93740b394072e21554d0fed86ccd29a94a249757c6 SHA512 f74481a5728e4c1c07918a4e047e9554f09b83f74f10b728fdfa5aab65222bb460f0f2bd10293869cc4ee6ceb123a1bfb3c2c16c61e46a48ac07abdabd6873bd WHIRLPOOL bf25f9e5bcbcdebdfd2794963df72ddbe91c86e722e5c6004900c744874ca5675f13194bc067b5fa18e7af7203a1eb814fe766cc1b0c93a2b56f1ce51f7ec44d
28018 EBUILD xf86-input-wacom-0.14.0.ebuild 1430 SHA256 fd56c02d64e9a36a97029a540db4dcecbf187dd69694e38ae0a68e59cc1c96f6 SHA512 c4aa392221bcf93aecae57e343103eedf67bf7ca953a896aafe501472d60b533e23603545d72a8ec37f4c53b210f35a81b480e85c132d35330fe853806382385 WHIRLPOOL d58370c89a19b39184b7d6a07cd811f62f07ba6e7e2eb20d42fe17c4f88047865692b7189fbae02ceff68d3aaeb0fe8c467ad9be7238af846a17da4f6ddb7561
28019 EBUILD xf86-input-wacom-0.15.0.ebuild 1434 SHA256 31a57d7b3b83aac4de00ea86860d78eb6d4f67f652e1614e6341841fb15a2c8b SHA512 4b419415ce22ac13a640a9fbc9e1fe588cea47cad1842ac86ce6926ed050478396cbcadfb7afce4b17b81e30d98f0b485acca8bc8c203475f4ef5d7781a3a05d WHIRLPOOL 54a26732cfcddf79cae7d0b8458a345095e7f797f97ea1d0c0bd572c5639fd4e959019db1a615a060de9bef0a6fecc7f5cbad29a13ec9cca787a1a298bce2ce8
28020 -EBUILD xf86-input-wacom-0.16.1.ebuild 1437 SHA256 627a3ed2b10957c738bd05e6f67914505658c273d0fd55685612437a04e71126 SHA512 a3bfad6ee40d3bdf4095b7a15b0bf1bf3b9e260aaf0e3df6c6ffcf412bd7ff49973cebd98faf1ec8e1ff9de09b9697f91069b3ba59fdf96402b3a2a770d71c41 WHIRLPOOL e4eba2b882ed0b3e641a321e9c7cad0b7d05382afde2a9d590c5cece562fea91c0e72b7499f50a722e36834b97e9142519949504ae7e8e97fc1598b26dee64e3
28021 -MISC ChangeLog 9287 SHA256 d8ff59335526a4b003f314aac0063ebc682f4a65ed45f16d17f606d2947378f3 SHA512 d085c35958d4595b8b3b6e75a2ef37b509baffd3a0cfa4dd0aa42ff3815cfad7588166797a88a882e7b65ca0c442774a47a021808ee80d740ef739602b5d781f WHIRLPOOL 49bc73f368e05156ccf78b46b5533ee6cdfb3173e4a7d5b0e3593e79593097707e444a71d1243e2f27108d4f0b70098f02b9981d6692b026bc3e932b9627cbce
28022 +EBUILD xf86-input-wacom-0.16.1.ebuild 1441 SHA256 70cdff5601bc8ab3e7364b51335a2493e3e3ca2078fa1c45174b488ef537e78c SHA512 f03d5347cae44a7c4ee03bfe49d52df6bd464e5585c35a7d0ae459653be9b581b0f6dad6a8d5597625e5cd3eb05d40e3d1c68fa74e47b88f2c6a21f4f0ab7356 WHIRLPOOL 46466dc301b22ff068bbb80f2739e03fafa0f5b1528d4fdae22c0e221940ae0bcbcba61adf3ee027d196430335ab62561bd917bbd1d494d2a84741fc9967412f
28023 +MISC ChangeLog 9417 SHA256 b02a409b12f6924c4398af19ab740059fbedc1d3c7683ba85cdd2cb424344a2a SHA512 7fc0609c44e8a316fbda3d49c63a4801d6f3a5c22665e0b07d47cc54380518550fe74dd72a742c8f4f4cf501c3a2e5bd1abc2c40b14a41c035834370db1fd739 WHIRLPOOL 00440951e53cf04ef5cc4e856c6266a0325bd725bc5edd72b4527fa27f2aed2604999df5b63185cd538ad89b4f34ce4ecb3251754f855fae7d6ba7743389c241
28024 MISC metadata.xml 365 SHA256 c2c9afd84e3b5dea0662cd9cb186a1efcc9ae1d96fc569bb7504701dd2925714 SHA512 63d110692b4e5a59d388798cdfa11c66f85a99871910270bd959fc1161d4f328b152ee78aedc89c0a21debb70924105d1dfe56048b2cc8363b1214445dee3644 WHIRLPOOL c184861db31e8f5a2637ad3daaf8419c999739bf475ac0ab0b47e5712d894017750aa4a64cc808a815b384aa17f36ffcb6ee34493d673c5a46dd80c5ebe1fe04
28025
28026 diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.16.1.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.16.1.ebuild
28027 index d91ecb4..e5c8fa8 100644
28028 --- a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.16.1.ebuild
28029 +++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.16.1.ebuild
28030 @@ -1,6 +1,6 @@
28031 # Copyright 1999-2012 Gentoo Foundation
28032 # Distributed under the terms of the GNU General Public License v2
28033 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.16.1.ebuild,v 1.1 2012/09/01 17:45:27 scarabeus Exp $
28034 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.16.1.ebuild,v 1.2 2012/09/23 12:09:14 blueness Exp $
28035
28036 EAPI="5"
28037
28038 @@ -13,7 +13,7 @@ EGIT_REPO_URI="git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/${PN}"
28039 [[ ${PV} != 9999* ]] && \
28040 SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
28041
28042 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
28043 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
28044 IUSE="debug"
28045
28046 RDEPEND=">=x11-base/xorg-server-1.7
28047
28048 diff --git a/x11-libs/gdk-pixbuf/Manifest b/x11-libs/gdk-pixbuf/Manifest
28049 index 5e4bfa5..b598e2d 100644
28050 --- a/x11-libs/gdk-pixbuf/Manifest
28051 +++ b/x11-libs/gdk-pixbuf/Manifest
28052 @@ -8,6 +8,6 @@ EBUILD gdk-pixbuf-2.24.0-r1.ebuild 2942 SHA256 e46630f68222d87e70d9592617ec67625
28053 EBUILD gdk-pixbuf-2.24.1-r1.ebuild 2929 SHA256 e89bf06e25d002d3362b8a3595a2db281fe3a37358aa1025ed0e284ba441f583 SHA512 ecf1cc1f39972ecd1c3ed640e4d35d39f67fdbc74547071b3f1e96df1e79a89421fef253743bc9bfa5c4d1b65e47e68dc45bf1bc12e87a04cafdfcbe0eed1c81 WHIRLPOOL 89dedcd947b4e243400b2518e47888ef1d2092d72a5085b1799994acd082d116dff1b693723cb8a28bd031f3f1e641e7afe22d6bbdc334c45fc5c6d210b063d1
28054 EBUILD gdk-pixbuf-2.24.1.ebuild 2823 SHA256 6c050db3157600f9777cb8f3638831137fc60745764cc3a803f319c4f38e4e8f SHA512 3b60c6563ff6e3edb78585d573715eeef71be121633b00d4fac0b231d17e32f6f2c60ffc5d9648a9782c284fa777128a6253665680bb159e89db4b170fd1965b WHIRLPOOL 5faae2cef4e566ebf3f07ecfcb7d55dc7f3efcd9a6c834753503418f03400fd1804e24c4a2588165efc3239bc7dfb18f1ba32386bbc0fb687aa6da821ec84d7e
28055 EBUILD gdk-pixbuf-2.26.3.ebuild 2843 SHA256 166779c7f19ad4a7c9f336a779e5da9d01378a5d16a6560975a78b3e353f61bf SHA512 689750cc0f949fd4d7a3e8a3dd1ab49afa8003b4a7c554f6e2ca174cc7bce1381a9585168520551c312b1c08ed1e54e43b27392413c777e604a8d60995ebb60e WHIRLPOOL 8252c67484abfdb2524409630df47dd6c5b98ff8512ad8d5f191041cf862f6081740d8ea0786c4bec72f83ae9df4555163e69b5b8daa973348575e490e69bd35
28056 -EBUILD gdk-pixbuf-2.26.4.ebuild 2843 SHA256 97b066ea18c526f2cafa07d066c9f85a2a2ee9e0dd631174fc4752a0c3029853 SHA512 37409e70c052cc422bdf42c679d6c4736bcb1b9fe3db9f04c624f0f6fe1ac376469d5253009557c013664d4aee71be8f39d51c985a087d0388b70d88502486b1 WHIRLPOOL 6be712822e0f6b03054f53ad3fa265f30fcbd72a92f2da27a6a7573f20ced01bd615d1c29a9147ba3465e7b18726f7d1bdadda0b0a0f0a895e82736e29308ac9
28057 -MISC ChangeLog 10388 SHA256 b99d5bf8d061a7fec972a3fe94f526892ee364ed110cecc7cfa05e41e1475c02 SHA512 38f18c232462dabd0049567a482a71d279da680bc05559a323be1af55a60e2f14892f4ea8fdb4bbb80061c71d2966f36730c7b219dd62e0b7a0c6058b4c0540c WHIRLPOOL f2d3b57400e49fcbe7f3d79162e903fc20ea47465cc984887fc5c8a1a36500227c55c8bf062771c6c6d3b08bc9339ff0478b00fa0547847007cfb821fd6cfef0
28058 +EBUILD gdk-pixbuf-2.26.4.ebuild 2841 SHA256 9e4951d6a0f0b3f5b6d6209c96cf97f7dfda69efcf2cd2bc5a78014408342462 SHA512 5768c1974144824802e28f89857c5b133f3e5b0b3a6f9ae1aa13e8d9a69d66386c33ebe3365ad157b216cdb9bf786c184f49444e1dfd9eac29ad4f71759c6da7 WHIRLPOOL 4078e301017f0bca2a16eef8592ba89fc106ff5fffef670b6c07b8858427b93f6fe0924d30442f2c7cdf453eaa0ec459741e80953ac65657f332451865c317f6
28059 +MISC ChangeLog 10494 SHA256 fc55582bc5db7f9b1fd3ac638d43c8ffeeaf2553fcdd368d9ff2f84bdf71ff67 SHA512 1a7a089dc70a56a140fd7505bcb177ed4edff9cdc6128b08084451786832226e55d1cd79f46d0b3d794c922df5a0a5c31b84d780f148bfde6a27e917ec31ba3d WHIRLPOOL e457baf400fe9fa9dcf46acc33b14515ccc351b7261a1f434bd10d3d52554111d62559566e132eb7f601c444c2ae87f03bb0e7fce1a7b3b7675c72f091786770
28060 MISC metadata.xml 285 SHA256 8400998fc578bc9661b57a27ed3226941e4f75ef5bf7d9f929ed9de2d97ba8b0 SHA512 530f007c5e32d2a70d601342642e306f5a4ac40b07aa540b43aafb5708184b4cfd3d7e52fabac76aae590e562e2a1a5ba601f316f3f63f40d29d7dfee036c776 WHIRLPOOL 5783ba665a7ee8dc468d562c30716f10ed5468345c8e0ed088966b999ba39eea01ed84758da2fa1322a3f771e2d4283a010bf03e0e197e8cb4b6cbd49f6d3c22
28061
28062 diff --git a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild
28063 index 6f781c9..f3044f0 100644
28064 --- a/x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild
28065 +++ b/x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild
28066 @@ -1,6 +1,6 @@
28067 # Copyright 1999-2012 Gentoo Foundation
28068 # Distributed under the terms of the GNU General Public License v2
28069 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild,v 1.1 2012/09/18 09:44:29 tetromino Exp $
28070 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gdk-pixbuf/gdk-pixbuf-2.26.4.ebuild,v 1.2 2012/09/27 04:53:33 mattst88 Exp $
28071
28072 EAPI="5"
28073
28074 @@ -11,7 +11,7 @@ HOMEPAGE="http://www.gtk.org/"
28075
28076 LICENSE="LGPL-2"
28077 SLOT="2"
28078 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
28079 +KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
28080 IUSE="+X debug doc +introspection jpeg jpeg2k tiff test"
28081
28082 COMMON_DEPEND="
28083
28084 diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
28085 index 115ff10..2d96881 100644
28086 --- a/x11-libs/wxGTK/Manifest
28087 +++ b/x11-libs/wxGTK/Manifest
28088 @@ -10,8 +10,8 @@ DIST wxPython-src-2.8.12.1.tar.bz2 31311482 SHA256 1f3f153d9f1504c6ce2d2c4b23e94
28089 DIST wxPython-src-2.9.3.1.tar.bz2 49131100 SHA256 7bae5bf45e98eba836472bdb358330f867c69de3a347860edd48fcb53690040d SHA512 16e5be3a2a98d64637866ecae7afb3a2835d21684077bb8a1b87d3c0cf37b75eb1169f3b8e16e38c5b85c04cce974dbfd5ba25d3d0a3016a47c005a05e5dbfc5 WHIRLPOOL ccae768ff87a95ee88d6259821be5e2073928278155743c0c16c75dd9b2262ac49ccb322dd4aa77ccfdac12d7de0e874a92b41171adacfa26ffb216f170751a7
28090 DIST wxPython-src-2.9.4.0.tar.bz2 50827671 SHA256 78c35c19e85a17cb9c730b86b49d6a479198d76d19e0b13e86db0b55707004be SHA512 100dd4474bc2508e9a80aed6f08d295e2697926e29c5789e1f6aa7c303921e1c5de2574c3eddde568804da8fc670d0214ef225d46f34a3006d0a947423d01fbf WHIRLPOOL feff68600a40a8f02492e91049ecdd1a1865ee6db8024112aa3a85a7eff616f26653c418a8ffde77121e2bf7d2c7090c5b91896f9a2de8eb980573af2ca65507
28091 DIST wxPython-src-2.9.4.1.patch 3768 SHA256 075e3a7b1cf69dd2bb20010717505d2508c74bc81658540f3e6d8c4fbf0a6b85 SHA512 4a5254a5bb9c246b75095e3cc0b849073e3cc71ff15ab7fb1db6ecfe71359800b9e1a5493bc39ce5b1f338cdc1d142ce84641611d458a8da4315f3c8a6aef3ba WHIRLPOOL 9bec06da4824fe56c172f4f417966681d1ffbf173dcb54f1579e9a484377bc76c45b4f2389911bbb17eff2476cfca786d68d9524856b21accc64b4dffafb1811
28092 -EBUILD wxGTK-2.8.12.1.ebuild 4006 SHA256 60bca2179d26273b05a99265db53c684e6eb8526edd83ef15d33f4200ab4ccc3 SHA512 b064372674f8d26cc3dcc119ca47a97f5ff472c95f0c0aeba42f222512eb65cb7ef60203d9fcf019dc45d534ce0e174be286b2f13220cfbc71ec6d5ad337c19b WHIRLPOOL 401becf13e857ef6642b4c60191b23eba3c13767f66414061b5b981c4b5ab6632c8c36aa654cb40cacabc82a341b08c5d8dc9e85649edacdf0859a15e487b937
28093 +EBUILD wxGTK-2.8.12.1.ebuild 4009 SHA256 3901c28d2ae31b41c24aeedba779d55bfc24dcade1ddddc5c508af35226c44be SHA512 43040eb6e272063b1e59eac333d073469db21d417002efefd577a130987ab87a14420221eb2a05643d69027c44adab5dd62572385eca7ed2371ad3f87a3c151b WHIRLPOOL 8fe28b6d902d5a3fead868af7be60a872098b1d350af1c804ca45379f5bdddc1219baf0af8d289598ef2f7829b17132771f0cdd0d112c240dafe97b7eb2dc84d
28094 EBUILD wxGTK-2.9.3.1.ebuild 4121 SHA256 2b1ad8548d1d1ce4b802ffd7f56329cdfb30413261eafcbee9670f8ab704b8c7 SHA512 02131be2fd24b0d518c0820c78f78835238f9f9347a42c78d4d61ded87e6d4866fe1bacf70142f75d6bbc95e18fa162c476201cb7f8397c72e8ace4d44dea01e WHIRLPOOL 702cc97c300ff31dfcc1bbd94ce32fe7a964894b71146348192bede9a5690f05d2d1c5e7537d2a249e3593830de3d1d1da01359990dcfc39b9a94fe9f05518fb
28095 EBUILD wxGTK-2.9.4.1.ebuild 4175 SHA256 6ecfe6df0c16bce6dff23167b323a30d488db0ca9ae0892af087e679af769b03 SHA512 7e90a6561dbadcdf0884889ab2e251cb1b13d42273c24080f1518bebca0c46e3457d2bd05f0a485d1cf5571786711c62205063f33210834ddaf9dce008401d77 WHIRLPOOL ffa7f3906dbcc26e8536a212aa2a63896cc122a245daf9d07caf063e5b0bce93ffc5061cae0d3328dc53d1025bef67d921eb668f5f2705f6b5900dc3573db189
28096 -MISC ChangeLog 46280 SHA256 e5d43efa20a649845df036814699efcd4f8c81280fb4b87c9911e9e38ebde1e0 SHA512 b0db8497f4f6dda47b001a20c89478fd7e67e41dcdcea143e35b7e118443200dece45ae55f39bdd787ca0dae3ded36aed37ceed6235c0f6636cc78a37df03299 WHIRLPOOL ea2bf5830659adad2bd2a3f278053562f94c2eadfd2627e48abcc6dd63363de3a2fd8e84825496f2fda0218c345c4dacbb9272fa24904762181d4c5d430e519c
28097 +MISC ChangeLog 46410 SHA256 9f266cb5985105088272c0035f44e14e5f6d9a8ed711f21b881f4f29a5f56e88 SHA512 1939597b2f7447e02b3756c390a966f31d18b6366eb77d002127f07c9219a9990d73a8452702ba6aff803c943d6a8252960e9e2282246bf4f1c89aebf50adbce WHIRLPOOL 5ab3ce72bca70bc329b58eb4f54e07bd25f8a0eb84cc9deb3424e910cde3395553c4257398ba91da18d6ebc4861aa1a865b3c023637eb29e2ce16058f54bb80b
28098 MISC metadata.xml 670 SHA256 59d453a10e6134a232d4478f326b35a9d693341cc29c013971ddf6b308347e75 SHA512 37ec56d00b488857a285a61c894f8c28dde61efce48d79b7767a207f5c533ad01f2ef09ebecc98dd5b803b4545e1d7f513ffb48e5ead4818ecb607129339c907 WHIRLPOOL cbcc9d2aea988f0b8e1a0615918903cf332976b192156296051c9f5ac5563e9ab512376453a52ad02db0fe3465b9b30d88d6808e38bea52bb58abe6fed316586
28099
28100 diff --git a/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild b/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild
28101 index 4c40ba1..5a09061 100644
28102 --- a/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild
28103 +++ b/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild
28104 @@ -1,10 +1,10 @@
28105 # Copyright 1999-2012 Gentoo Foundation
28106 # Distributed under the terms of the GNU General Public License v2
28107 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild,v 1.12 2012/09/16 02:54:04 dirtyepic Exp $
28108 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.12.1.ebuild,v 1.13 2012/09/25 03:49:06 vapier Exp $
28109
28110 EAPI="5"
28111
28112 -inherit eutils versionator flag-o-matic
28113 +inherit eutils versionator flag-o-matic multilib
28114
28115 DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
28116 HOMEPAGE="http://wxwidgets.org/"
28117 @@ -71,7 +71,7 @@ src_prepare() {
28118 epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874
28119 epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch # Bug #310923
28120 sed \
28121 - -e "/wx_cv_std_libpath/s: /usr: ${EPREFIX}/usr:g" \
28122 + -e "/wx_cv_std_libpath=/s:=.*:=$(get_libdir):" \
28123 -i configure || die
28124 }
28125
28126
28127 diff --git a/x11-misc/wbar/Manifest b/x11-misc/wbar/Manifest
28128 index 9d66ced..a48c210 100644
28129 --- a/x11-misc/wbar/Manifest
28130 +++ b/x11-misc/wbar/Manifest
28131 @@ -12,11 +12,13 @@ DIST wbar-1.3.3.tbz2 429098 SHA256 431c5f7a8b6b065e2fe32a6482476a5ecefdf838aee55
28132 DIST wbar-2.2.2.tar.gz 369592 SHA256 0d7ae78d02d52cdb046a47286341ad6ff42dd9aff667f7d389b4f352046d4db0
28133 DIST wbar-2.3.1.orig.tgz 70646 SHA256 da227e4bc0c37ba34be73080dbd49f4687eb088927518c27178e9c188b676b8d SHA512 ba808e593f4812447289b1dbba3ddeb9fc663be83294897c4363a982a241d6a0b5b2b08f40218fa91edb2c154147728fe2e3c295822280907b75b6748042d539 WHIRLPOOL 7a18b45c482e3c33f4f91382190d99d2bd55f6f06b44ddb8673393df13ffc4c753ee26a94132987d6b7ff7b7f3bf531353d28518884b5d6200123c1e57fa65bc
28134 DIST wbar-2.3.3.tgz 186397 SHA256 714d0f81b72fe9f8d3a63a604a2ae21d04d9f83c50dfebb5fda6f7b3d3506b48 SHA512 1971cc0e1c60c5c2273e590eff550caca6373121a9d855ecec6aec5ac9a12b780a1d02052f95fed6ffeff41395006d31e46e4570854cedd471b3427f0c9c5aa1 WHIRLPOOL 767c6e0f6981399b2a2b4dcaa01d08664cfa0165a85bf7717428867c781b314708605546c378417a9aaf9a4ab75fc88879923d11f13e20c7f473caadda158928
28135 +DIST wbar-2.3.4.tgz 189999 SHA256 46a69849e4436529aefb5cfb2c94b520d05a53c237e7773b90207f67f97a93e3 SHA512 07f3484bd071761d57ef1172c56b30980eef9ce2ee65d1fc21ea20c631a1da1d88c1b8a9e1a1fca0e5f18e7bf1c5697c349a543d72966ce71ff53d7e921147b3 WHIRLPOOL 3d5ff6e1ea5f9079c5e7ab2e9e59729795514415241f180c9438480d94c192180f725f6d541b117ed33728694f632fc11beb69bcfdb3dcbc03d4c211e2b28d31
28136 DIST wbar_2.3.0.orig.tar.gz 375206 SHA256 1a192f150eae92d1c92b86050e4f8046de960a2452c48190187dd6b7a89df63b SHA512 f775b0800a9e3d3fe3104798c973b9584b71eca7e12469af7081378d3f49bb10dbc379117513060e71e2f2d2731e02a73a9edd64e06f5c3416abea4a276e26ca WHIRLPOOL 780d5bb3b92bb9fbe78176dc9a63c9b6b806617be6cf51686d372d0392ba32aa90094e76f2f4ea71133eee4a030ce95513742ccb55fd5d2814fe84e30181583e
28137 EBUILD wbar-1.3.3.ebuild 914 SHA256 850aaacde34f32017067b52a5a6fd2bce1ffa53dfeec0ba95c6cf77df8cfe4e4 SHA512 48954ed47a4dbae3c70f61e03f112b3ed7a30addecb405ad116d22a052efbab54b6ebd8955dab84004f58e08507355a1b95b5c6178be8d3ce721014766c3ca0a WHIRLPOOL 36f77f101e221f6a93bbbfc0494bd462d3cc00f65471ffb730b43d75162a89a60bd46a21b6c53921d6c15fef0056fdf45c981a4bab189026880e5f4eec88e2db
28138 EBUILD wbar-2.2.2.ebuild 1033 SHA256 0e232500791ea9aa543eeda8a6e569a28c2f76993c504461b1c144720b5f2ab7 SHA512 dbc22094d2f54911ad79a29deeea18b45fb3da39e30f9285bc83e409385c91c128d91a065ea628c9c950d10ec5d3a796d3d2a12b145b76f692776b34323815db WHIRLPOOL 3a79692aa0fe4f9f83f0294b8e609d892e1c23fabcdecf23e4bc61897589d75c7981935f054814b8754c2f81ba6d69b62d2fb459fcfb8f04464403ed4ebea9c8
28139 EBUILD wbar-2.3.0.ebuild 862 SHA256 0a65a21aa8dad5269cacf34e0de71f975350f5d5723c3cbcf1883da97dc2023a SHA512 c1d6fb8b1bf8e819256de6c2018198ddf78cd518a6a3319f6271c690d67c3a4df381bc0e7b79c42b52fc288c9f4417854032541e5d2c4d236ec712495f7e1c56 WHIRLPOOL 3bde3450758ff09f9430a56cba2d20424b0e79aa4bba8811645401e8ebe1f96c0e49c523a845abb3bfaaf269cbefe6d6d8d50aa4a02414ae36dcfb46fec00232
28140 EBUILD wbar-2.3.1.ebuild 910 SHA256 d6ff132f33434c91a8737a5d96108ba8f2a31ebb992764fcda4a9860da4dc646 SHA512 bf343dafea1a510b056769ebcb7a39a9a7f392f1119bba542465b975752fa3a0fe3effb17bcc410ef4b0920545ea883886f11fcf4a9a2a4ca1f4db739f09b295 WHIRLPOOL 2243003bead437f4e3d1b4159630da2972aac7fdf7777a2688847fa5d905c3d6682e24d2ec6ec885c84b7ed11ba0a897a9e0c90e40750d001b423e35f846a602
28141 EBUILD wbar-2.3.3.ebuild 895 SHA256 1b0d4fa6bc6d32647dec933e48b0db82e4875c2d068ef1eda28e6352503717d3 SHA512 56a5abe1a15906c87bbe50788688954ce5d505c4968205568f0fd919509a3affeb429c3d3c194f98e629aa40fe62be80c309e81264bb91a99c8e849c0bb93980 WHIRLPOOL 85ab22d7325fb774d29437ad5488fea0699f0e1dead64eab750d13228e916db79beb471e4af44eb547823cb278f2c3d9cc9b23c4b9f18343ee5730149fd8e91f
28142 -MISC ChangeLog 4225 SHA256 2fc460ca3cafd85a076be9db6861285c3b782ca3b7932da3f4e6b6a3b14331a7 SHA512 4ddb8cf5250706db20766af72bf0e13421c4f5884478fa34d16613428845fb540519dd6481176196bcdd2bf6d8902b8fe00356e3342d14e03dd0aca1afd94e33 WHIRLPOOL 8faca8130c065d5c1cf33753637a775ac8f840ec2daacf25c3168adf9c9e7db1740a1b8f4516a8e2e1a0686a0b439248d8a26313df581403cfabcaa5185e99a8
28143 +EBUILD wbar-2.3.4.ebuild 909 SHA256 9c1c750010580017d066798ab57181265c664edf26eb16c8804678d0e8ed34b2 SHA512 fff9df63f53058d5b83373859258cda4cb5d797dbbea0d37451b45af0c6cfae6cc5551480dc9dfd9d9d66aa5ef1c0539d33b1751b13132270a5ef2cef87cfc83 WHIRLPOOL ac62a9e8bfbe496b8b2e56feaeef1b88cb41efd1d2c305b9c92595562ba86a2a3024864b83d11851a61e7834edb5eae6ac5ebca676025167f1a342480a8f6d21
28144 +MISC ChangeLog 4339 SHA256 cdbf3c9d94b3803121a66ba99e51cbfcc411726fa67218c9413d96d93bf6bcd5 SHA512 b6fa6924dd9070fcf4b48d6dbd8c922755293ccb96179f2e2e99093889d112abc3d0bb2694ebbda66952cb5605f24d7bbe2756fb6b4355e281bf50bb126e9d86 WHIRLPOOL 0ec57fe4dec0f336271f3018f43118fa666681ef4744b4893ac70685a2a5e1cc8821831ee7e711ee5969e3487c9a6bd3179a2416381cc453fa4db63bac5bd952
28145 MISC metadata.xml 414 SHA256 76488e3434ec332ff752665dba1bc307f7f6173de12b3018be80dfa2045c7334 SHA512 8226e176da44146e35315530fa95bd5c5c7e989cd836ecf21c08729a036290b5c1ff9bd40288e3b13744c8e28e94163c118cd4b3245b9ecc8a802e9ae114b91f WHIRLPOOL ad96e6bcb89e9c429515698281f2f52801002ce2fee3c0bf5cd8a98539c91b85d518f82d1bcac5ba0bb36f5a41b570349c82167eb14edbfb52281aadc032e136
28146
28147 diff --git a/x11-misc/wbar/wbar-2.3.4.ebuild b/x11-misc/wbar/wbar-2.3.4.ebuild
28148 new file mode 100644
28149 index 0000000..f9b02aa
28150 --- /dev/null
28151 +++ b/x11-misc/wbar/wbar-2.3.4.ebuild
28152 @@ -0,0 +1,39 @@
28153 +# Copyright 1999-2012 Gentoo Foundation
28154 +# Distributed under the terms of the GNU General Public License v2
28155 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/wbar-2.3.4.ebuild,v 1.1 2012/09/24 20:33:42 hasufell Exp $
28156 +
28157 +EAPI=4
28158 +
28159 +inherit autotools eutils
28160 +
28161 +DESCRIPTION="A fast, lightweight quick launch bar"
28162 +HOMEPAGE="http://code.google.com/p/wbar/"
28163 +SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz"
28164 +
28165 +LICENSE="GPL-3"
28166 +SLOT="0"
28167 +KEYWORDS="~amd64 ~x86"
28168 +IUSE="gtk"
28169 +
28170 +RDEPEND="media-libs/imlib2[X]
28171 + virtual/init
28172 + x11-libs/libX11
28173 + gtk? ( gnome-base/libglade
28174 + media-libs/freetype:2
28175 + x11-libs/gdk-pixbuf:2
28176 + x11-libs/gtk+:2 )"
28177 +DEPEND="${RDEPEND}
28178 + dev-util/intltool
28179 + sys-devel/gettext
28180 + virtual/pkgconfig"
28181 +
28182 +src_prepare() {
28183 + use gtk || epatch "${FILESDIR}"/${PN}-2.3.3-cfg.patch
28184 + epatch "${FILESDIR}"/${PN}-2.3.3-{desktopfile,nowerror,test}.patch
28185 + eautoreconf
28186 +}
28187 +
28188 +src_configure() {
28189 + econf \
28190 + $(use_enable gtk wbar-config)
28191 +}
28192
28193 diff --git a/x11-wm/compiz/Manifest b/x11-wm/compiz/Manifest
28194 index cc36543..85252d2 100644
28195 --- a/x11-wm/compiz/Manifest
28196 +++ b/x11-wm/compiz/Manifest
28197 @@ -1,14 +1,10 @@
28198 -AUX compiz-0.8.6-gdk-display-deprecated.patch 3392 SHA256 a8038d6a80abe7f44f433f6ab0dd0cf39945850564b5da33244b88a099b4efb8 SHA512 49e1d8cda54cd698acfdebd38ac4d5edf10bf41202463ea836eb19b996205207c3000c64789baf8b6de6cd52f9cc9c5a74ac3603401af21b69c4228a141d07b1 WHIRLPOOL 3849521d85186190c88aa028b65c22e206a9eaf764482d1a35b3449b843d09d51368fca9a02b8d68f49bec7f664a8d3a38ab47dc1db10cb578f0331829234e7b
28199 -AUX compiz-0.8.6-r2-fontcorruption.patch 676 SHA256 2c4c42a251c1583a8e7fe468c1868aa42b1318db5ee95189e23ae9be8061cd43 SHA512 b7ac11650ced25e9bb3b5c6a2e5d0d478a4235f5b8b009c7dc08ac314c714c01cbb7485e49f6bcfbdbd995223b25dc3f5d4f3f8b41af2a7772459f7e285e60d2 WHIRLPOOL 46e73c97bb6b6f01e907cf0016bee79da7b2899201e08d4d88d29e6f6a4e4bf983a107b32839a2e2049c893018e12db21380c9b59af449f04ad434763555324e
28200 AUX compiz-gcc-4.7.patch 999 SHA256 0824c0d32d32dfc8c57fa1afbfc81060e64bdcc4ec016f3ccb751a1956f6325a SHA512 e08563d928578ad74faa29168b3c3442cc0ab4e908ff4f430a7e23bcb2057e3da10f9742e8abbdaad9df6f56a039134e8a32f73ae214e240065d6d4ddd3a92bf WHIRLPOOL b79f08787a9f7d3dc46dc1f2c6645f40965c750122027e39679d783afb0c23bd300ee731bfb45858d6392c69a21b61eb326eb29315e0e4ac0d2655edb7d69f18
28201 AUX compiz-kde-4.8.patch 755 SHA256 4feb22c82d21c9d870d669498badf95c01f735a85f8a5f4d63b4877b6f74df65 SHA512 fccbe0afc6e7c651912dc0e271f3745e96f5562da210934d79f00820e3b94d8340ee62707a840e042d287eba920ff556c36a39032815549d86676cd53e1cbbcc WHIRLPOOL 0d0f015463dfccfec237ce97a781868c6a76a3ab96caa8c5ed656ea0504e425a7490c8289bf56a63c2c2f9cde6bf580c1b56a6a663b3086e9a25a85ff955b48b
28202 AUX compiz-kde-4.9.patch 4975 SHA256 0d984c6af504a9d3b532cc9e50534a329f914a5c949e10a54f39c56da856c09b SHA512 ef448bf43cba07ddd925405f8502af3d24692a911431696c9b454b97bc67523f39c1321a95dbf216bd5369a439dfc91e7b953be4a9340393254750515cf9097e WHIRLPOOL 15d6dd43de19a28f6428fcc1be080f922a087d5d0c50b57236bc555af199401e042a029526bf3f3b2c3b8d488cd16fd8704920875ef4fe5cd415266cf9bb2e44
28203 AUX compiz-manager 9835 SHA256 e387ff9f01b84c572f31643316ed2ce2eacd11a92488e745ebcfd659945c6f1d SHA512 5cf4c1023754128c456d48db257a308461de0cbd9ebd427a4c281ada0b77659013723362959ae39fa31f24de36929fdfe6ea96d9788cba568f35d2dc86bc263a WHIRLPOOL 0afb3b62a0e29b9608d2eaf640f7704ffa91a3ea7ea7fc0d7cba5761a04c4a1928007e285344e401030230de506b92cbbbdbe4436eda4ebd44848ebfcad95c97
28204 AUX compiz-no-gconf.patch 630 SHA256 87467fbe5d4e0d0bb8952f2d5b74d21046d92d49772543aeda137266e055aa67 SHA512 3c3789852db56be06d553dcdddb68c94e68b9290c74e5a9e642f266d1688c18eb4ce01b6835f267c84d3a213ec61266159d5891b10d80cb79e17bc9683163bf9 WHIRLPOOL 7341780992eed62a36bfa8be0e8f22c4f54ecda555f8af87ea76f585f4fcbcb76f31bb79269a01ff5c5eabe7d6796a233d7efa8baf35720a09085f53af3b1da6
28205 AUX compiz.desktop 273 SHA256 28a5459148c7733cdd82e3ecc1f584231d2619c7305b8bf71060db331bf081fb SHA512 60189c33d9190934195dace88a88571e79af2be06be0df9db96f7f332798cb8b3d7c0e4bacacb3413ea381c9418415932ae895e75547568eb38d12e3800cf427 WHIRLPOOL c8f068a5e254e74285ced96236a98cd4b5724c630342a19df1defb19f14755e83ce5e6d86688066dbbeee43e8c1d89640756d9427af996fa261f31630c6893af
28206 -DIST compiz-0.8.6.tar.bz2 1162334 SHA256 c4df69b59b5660a37462de9ff0212af024ccf9c8038651bfda3557c955ab4f8c
28207 DIST compiz-0.8.8.tar.bz2 1123892 SHA256 3ba555b0d6d536850a227d37d6ebc5cd5b15ee5bad83d7956529a27b870977e3 SHA512 6e3bad018835fdbc1b0e5ecb51a46a77a6531d46d77ee3ae4169273632ea9a6839c78300b18e2198c41698517efa65ded75387785b0c5bbbb6da41498451b644 WHIRLPOOL fa1d9b5e443d45a4615201a85a74dd025066620339ebac58b4fd5c71c19db731009c013ceee93f0345b46c413211424bc4c813d48e07d6cea874024a2b562ba2
28208 -EBUILD compiz-0.8.6-r3.ebuild 4030 SHA256 17331b2883d72fcce403c1485dbf408b5dbc8781202c4e285f11e0b8dfcb6d70 SHA512 2072736bce9dd3be5def0f5ab8bea12e027f86dc698aef2cafa9fbb7ce984a288ba9a0711bd8892c37e50b404a759ca90f9223aa5ea137490251302f6fa8c8ee WHIRLPOOL 9c7fb53527a44b0635a888899808071091bb3c1e409fef84440d23384cf6d7ee5d8946e7d3e09c382063bd89c20d23ea806968193a470234360ff777efd4c10c
28209 EBUILD compiz-0.8.8-r1.ebuild 4083 SHA256 c5bbae7ce2cab6e9b3363227a9e47bb63315214eaeb4ad78ffb79997c5a8b530 SHA512 a191c3107fdef84d9a4d1ea5ff08860fc572c45aefd5d98c7161a1f2aa99fe811c8d660ebe1af2208641a42f2cebdc0b5ec43b063fe3c52e44d4ed7145d30dc2 WHIRLPOOL 0abda4b254432f5b2ffa5234c472635337d5985dd5b62d603c0b0affeb530b86a4a4be70e39916aaa313c4e30f7c2140cc5d316d9624efade81cf5d7fe587387
28210 -MISC ChangeLog 14558 SHA256 3750d757411d3c84404729dd40224609e21993b3d26e6d6b749c447b8377a2e2 SHA512 fa94e89f667a43624ae82f7c9170846c4c2505e71c891dbea52f3603ad505d26f64ec765e5af5cdab6455fe085e14ad9756e10f9fea58ebe254cf860add5dbb8 WHIRLPOOL b214209e9cfd4a0f1b0c1829e9e0b625f528b8c4bae38fa8aa2cd15e229d5865a28975f8914ed7b0ddba872e82add4b150be956f7039693c4ceeea728ef21ffb
28211 +MISC ChangeLog 14759 SHA256 ec8fdc6baec99f3d233a33be467df22c35c1ee46e5d6b02e2de51691097ba2ee SHA512 2c72c0f674741956966d470e7b6dd55ca15f3d5d0480418421f122623fba7d0cde5251f64ed899406428601b84c35ce93e833abe716798120ea618519843fc4f WHIRLPOOL eb6279421292103c32ff681594bc23a6c03cebf3f8b36e4aa843c1120cc9dd88a865067939588d771015c6479026fb3ba8dd8ac38505de97e59e69cb5750af40
28212 MISC metadata.xml 632 SHA256 a0dce016c36d51c1fe13822ed59ba3aef9b8a22fecdb2d3f5360b824ee890bb1 SHA512 46e6acb05014ec6cb5b77b6ff5ae31adff93ded582ad7ca22e90ce16c00f6ce7009fe72e603af83d0e6d5604f177e8eb175cdac2703d715c065e5df2834740a7 WHIRLPOOL 9499ba8dba186cc869cbc34cb7c964655c870318eaa28ca0d7ddef8b473e199edeea48f90f3394ff39334af6b8924f46dae4fa1a43ff9a75d54b0358cea88a2e
28213
28214 diff --git a/x11-wm/compiz/compiz-0.8.6-r3.ebuild b/x11-wm/compiz/compiz-0.8.6-r3.ebuild
28215 deleted file mode 100644
28216 index 9e5ed96..0000000
28217 --- a/x11-wm/compiz/compiz-0.8.6-r3.ebuild
28218 +++ /dev/null
28219 @@ -1,168 +0,0 @@
28220 -# Copyright 1999-2012 Gentoo Foundation
28221 -# Distributed under the terms of the GNU General Public License v2
28222 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6-r3.ebuild,v 1.6 2012/07/31 22:36:58 naota Exp $
28223 -
28224 -EAPI="2"
28225 -
28226 -inherit autotools eutils gnome2-utils
28227 -
28228 -DESCRIPTION="OpenGL window and compositing manager"
28229 -HOMEPAGE="http://www.compiz.org/"
28230 -SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
28231 -
28232 -LICENSE="GPL-2 LGPL-2.1 MIT"
28233 -SLOT="0"
28234 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
28235 -# dbus has been disabled because of bug 365121
28236 -IUSE="+cairo fuse gnome gconf gtk kde +svg" # dbus
28237 -
28238 -COMMONDEPEND="
28239 - dev-libs/glib:2
28240 - dev-libs/libxml2:2
28241 - dev-libs/libxslt
28242 - media-libs/libpng
28243 - >=media-libs/mesa-6.5.1-r1
28244 - >=x11-base/xorg-server-1.1.1-r1
28245 - >=x11-libs/libX11-1.4
28246 - x11-libs/libxcb
28247 - x11-libs/libXcomposite
28248 - x11-libs/libXdamage
28249 - x11-libs/libXinerama
28250 - x11-libs/libXrandr
28251 - x11-libs/libICE
28252 - x11-libs/libSM
28253 - >=x11-libs/libXrender-0.8.4
28254 - >=x11-libs/startup-notification-0.7
28255 - cairo? (
28256 - x11-libs/cairo[X]
28257 - )
28258 - fuse? ( sys-fs/fuse )
28259 - gnome? (
28260 - >=gnome-base/gnome-control-center-2.16.1:2
28261 - gnome-base/gnome-desktop:2
28262 - gconf? ( gnome-base/gconf:2 )
28263 - )
28264 - gtk? (
28265 - >=x11-libs/gtk+-2.8.0:2
28266 - >=x11-libs/libwnck-2.18.3:1
28267 - x11-libs/pango
28268 - )
28269 - kde? (
28270 - || (
28271 - >=kde-base/kwin-4.2.0
28272 - kde-base/kwin:live
28273 - )
28274 - )
28275 - svg? (
28276 - >=gnome-base/librsvg-2.14.0:2
28277 - >=x11-libs/cairo-1.0
28278 - )
28279 -"
28280 -# dbus? ( >=sys-apps/dbus-1.0 )
28281 -
28282 -DEPEND="${COMMONDEPEND}
28283 - virtual/pkgconfig
28284 - x11-proto/damageproto
28285 - x11-proto/xineramaproto
28286 -"
28287 -
28288 -RDEPEND="${COMMONDEPEND}
28289 - x11-apps/mesa-progs
28290 - x11-apps/xvinfo
28291 -"
28292 -
28293 -src_prepare() {
28294 -
28295 - echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
28296 - echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
28297 -
28298 - # fix cont corruption, bug #343861
28299 - epatch "${FILESDIR}"/${P}-r2-fontcorruption.patch
28300 - epatch "${FILESDIR}"/${P}-gdk-display-deprecated.patch
28301 -
28302 - if ! use gnome || ! use gconf; then
28303 - epatch "${FILESDIR}"/${PN}-no-gconf.patch
28304 - fi
28305 - eautoreconf
28306 -}
28307 -
28308 -src_configure() {
28309 - local myconf=
28310 -
28311 - # We make gconf optional by itself, but only if gnome is also
28312 - # enabled, otherwise we simply disable it.
28313 - if use gnome; then
28314 - myconf="${myconf} $(use_enable gconf)"
28315 - else
28316 - myconf="${myconf} --disable-gconf"
28317 - fi
28318 -
28319 - econf \
28320 - --disable-dependency-tracking \
28321 - --enable-fast-install \
28322 - --disable-static \
28323 - --disable-gnome-keybindings \
28324 - --with-default-plugins \
28325 - $(use_enable svg librsvg) \
28326 - $(use_enable cairo annotate) \
28327 - --disable-dbus \
28328 - --disable-dbus-glib \
28329 - $(use_enable fuse) \
28330 - $(use_enable gnome) \
28331 - $(use_enable gnome metacity) \
28332 - $(use_enable gtk) \
28333 - $(use_enable kde kde4) \
28334 - --disable-kde \
28335 - ${myconf}
28336 -
28337 - # $(use_enable dbus)
28338 - # $(use_enable dbus dbus-glib)
28339 -}
28340 -
28341 -src_install() {
28342 - emake DESTDIR="${D}" install || die "emake install failed"
28343 -
28344 - find "${D}" -name '*.la' -delete || die
28345 -
28346 - # Install compiz-manager
28347 - dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
28348 -
28349 - # Add the full-path to lspci
28350 - sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
28351 -
28352 - # Fix the hardcoded lib paths
28353 - sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
28354 -
28355 - # Create gentoo's config file
28356 - dodir /etc/xdg/compiz || die "dodir failed"
28357 -
28358 - cat <<- EOF > "${D}/etc/xdg/compiz/compiz-manager"
28359 - COMPIZ_BIN_PATH="/usr/bin/"
28360 - PLUGIN_PATH="/usr/$(get_libdir)/compiz/"
28361 - LIBGL_NVIDIA="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2"
28362 - LIBGL_FGLRX="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2"
28363 - KWIN="$(type -p kwin)"
28364 - METACITY="$(type -p metacity)"
28365 - SKIP_CHECKS="yes"
28366 - EOF
28367 -
28368 - dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
28369 -
28370 - insinto "/usr/share/applications"
28371 - doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
28372 -}
28373 -
28374 -pkg_preinst() {
28375 - use gnome && use gconf && gnome2_gconf_savelist
28376 -}
28377 -
28378 -pkg_postinst() {
28379 - use gnome && use gconf && gnome2_gconf_install
28380 -
28381 - ewarn "If you update to x11-wm/metacity-2.24 after you install ${P},"
28382 - ewarn "gtk-window-decorator will crash until you reinstall ${PN} again."
28383 -}
28384 -
28385 -pkg_prerm() {
28386 - use gnome && gnome2_gconf_uninstall
28387 -}
28388
28389 diff --git a/x11-wm/compiz/files/compiz-0.8.6-gdk-display-deprecated.patch b/x11-wm/compiz/files/compiz-0.8.6-gdk-display-deprecated.patch
28390 deleted file mode 100644
28391 index 440b37a..0000000
28392 --- a/x11-wm/compiz/files/compiz-0.8.6-gdk-display-deprecated.patch
28393 +++ /dev/null
28394 @@ -1,101 +0,0 @@
28395 -diff --git a/gtk/window-decorator/gtk-window-decorator.c b/gtk/window-decorator/gtk-window-decorator.c
28396 -index 18b907e..566da0f 100644
28397 ---- a/gtk/window-decorator/gtk-window-decorator.c
28398 -+++ b/gtk/window-decorator/gtk-window-decorator.c
28399 -@@ -31,6 +31,11 @@
28400 - #include <X11/extensions/Xrender.h>
28401 - #include <X11/Xregion.h>
28402 -
28403 -+/* This must be included before the GDK_DISABLE_DEPRECATED definition
28404 -+ * in order to avoid QA issues on amd64 arch (see Gentoo bug 344293).
28405 -+ */
28406 -+#include <gdk/gdkgc.h>
28407 -+
28408 - #ifndef GDK_DISABLE_DEPRECATED
28409 - #define GDK_DISABLE_DEPRECATED
28410 - #endif
28411 -@@ -2659,6 +2664,7 @@ get_window_prop (Window xwindow,
28412 - Atom atom,
28413 - Window *val)
28414 - {
28415 -+ Display *dpy = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
28416 - Atom type;
28417 - int format;
28418 - gulong nitems;
28419 -@@ -2671,7 +2677,7 @@ get_window_prop (Window xwindow,
28420 - gdk_error_trap_push ();
28421 -
28422 - type = None;
28423 -- result = XGetWindowProperty (gdk_display,
28424 -+ result = XGetWindowProperty (dpy,
28425 - xwindow,
28426 - atom,
28427 - 0, G_MAXLONG,
28428 -@@ -4966,7 +4972,7 @@ force_quit_dialog_realize (GtkWidget *dialog,
28429 - WnckWindow *win = data;
28430 -
28431 - gdk_error_trap_push ();
28432 -- XSetTransientForHint (gdk_display,
28433 -+ XSetTransientForHint (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
28434 - GDK_WINDOW_XID (dialog->window),
28435 - wnck_window_get_xid (win));
28436 - gdk_display_sync (gdk_display_get_default ());
28437 -@@ -4976,17 +4982,18 @@ force_quit_dialog_realize (GtkWidget *dialog,
28438 - static char *
28439 - get_client_machine (Window xwindow)
28440 - {
28441 -- Atom atom, type;
28442 -- gulong nitems, bytes_after;
28443 -- guchar *str = NULL;
28444 -- int format, result;
28445 -- char *retval;
28446 -+ Display *xdisplay = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
28447 -+ Atom atom, type;
28448 -+ gulong nitems, bytes_after;
28449 -+ guchar *str = NULL;
28450 -+ int format, result;
28451 -+ char *retval;
28452 -
28453 -- atom = XInternAtom (gdk_display, "WM_CLIENT_MACHINE", FALSE);
28454 -+ atom = XInternAtom (xdisplay, "WM_CLIENT_MACHINE", FALSE);
28455 -
28456 - gdk_error_trap_push ();
28457 -
28458 -- result = XGetWindowProperty (gdk_display,
28459 -+ result = XGetWindowProperty (xdisplay,
28460 - xwindow, atom,
28461 - 0, G_MAXLONG,
28462 - FALSE, XA_STRING, &type, &format, &nitems,
28463 -@@ -5013,6 +5020,8 @@ get_client_machine (Window xwindow)
28464 - static void
28465 - kill_window (WnckWindow *win)
28466 - {
28467 -+ GdkDisplay *gdk_display = gdk_display_get_default ();
28468 -+ Display *xdisplay = GDK_DISPLAY_XDISPLAY (gdk_display);
28469 - WnckApplication *app;
28470 -
28471 - app = wnck_window_get_application (win);
28472 -@@ -5038,8 +5047,8 @@ kill_window (WnckWindow *win)
28473 - }
28474 -
28475 - gdk_error_trap_push ();
28476 -- XKillClient (gdk_display, wnck_window_get_xid (win));
28477 -- gdk_display_sync (gdk_display_get_default ());
28478 -+ XKillClient (xdisplay, wnck_window_get_xid (win));
28479 -+ gdk_display_sync (gdk_display);
28480 - gdk_error_trap_pop ();
28481 - }
28482 -
28483 -@@ -5623,9 +5632,9 @@ static int
28484 - update_shadow (void)
28485 - {
28486 - decor_shadow_options_t opt;
28487 -- Display *xdisplay = gdk_display;
28488 -- GdkDisplay *display = gdk_display_get_default ();
28489 -- GdkScreen *screen = gdk_display_get_default_screen (display);
28490 -+ GdkDisplay *display = gdk_display_get_default ();
28491 -+ Display *xdisplay = GDK_DISPLAY_XDISPLAY (display);
28492 -+ GdkScreen *screen = gdk_display_get_default_screen (display);
28493 -
28494 - opt.shadow_radius = shadow_radius;
28495 - opt.shadow_opacity = shadow_opacity;
28496
28497 diff --git a/x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch b/x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch
28498 deleted file mode 100644
28499 index 1ef84a1..0000000
28500 --- a/x11-wm/compiz/files/compiz-0.8.6-r2-fontcorruption.patch
28501 +++ /dev/null
28502 @@ -1,23 +0,0 @@
28503 -From 0f95c41a0aa175ddf7947ba18b01f746c95594a9 Mon Sep 17 00:00:00 2001
28504 -From: Paul Donohue <compiz@××××××.com>
28505 -Date: Sun, 17 Oct 2010 16:24:14 +0000
28506 -Subject: Fix pixmap size calculation, server drawn borders are also included in
28507 -the pixmap.
28508 ----
28509 -diff --git a/src/window.c b/src/window.c
28510 -index a925288..6674643 100644
28511 ---- a/src/window.c
28512 -+++ b/src/window.c
28513 -@@ -1446,8 +1446,8 @@ bindWindow (CompWindow *w)
28514 - }
28515 -
28516 - w->pixmap = XCompositeNameWindowPixmap (dpy, w->id);
28517 -- w->width = attr.width;
28518 -- w->height = attr.height;
28519 -+ w->width = attr.width + attr.border_width * 2;
28520 -+ w->height = attr.height + attr.border_width * 2;
28521 -
28522 - XUngrabServer (dpy);
28523 - }
28524 ---
28525 -cgit v0.8.3.1-30-gff3a