1 |
blueness 12/06/16 22:46:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bitcoin-qt-0.6.0.8_rc2.ebuild |
5 |
bitcoin-qt-0.5.6_rc2.ebuild |
6 |
Removed: bitcoin-qt-0.5.6_rc1.ebuild |
7 |
Log: |
8 |
Removed broken 0.5.x, add fixes |
9 |
|
10 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.29 net-p2p/bitcoin-qt/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.29&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.29&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.28&r2=1.29 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v |
22 |
retrieving revision 1.28 |
23 |
retrieving revision 1.29 |
24 |
diff -u -r1.28 -r1.29 |
25 |
--- ChangeLog 21 May 2012 22:51:44 -0000 1.28 |
26 |
+++ ChangeLog 16 Jun 2012 22:46:48 -0000 1.29 |
27 |
@@ -1,6 +1,15 @@ |
28 |
# ChangeLog for net-p2p/bitcoin-qt |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.28 2012/05/21 22:51:44 johu Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.29 2012/06/16 22:46:48 blueness Exp $ |
32 |
+ |
33 |
+*bitcoin-qt-0.6.0.8_rc2 (16 Jun 2012) |
34 |
+*bitcoin-qt-0.5.6_rc2 (16 Jun 2012) |
35 |
+ |
36 |
+ 16 Jun 2012; Anthony G. Basile <blueness@g.o> |
37 |
+ -bitcoin-qt-0.5.6_rc1.ebuild, +bitcoin-qt-0.5.6_rc2.ebuild, |
38 |
+ +bitcoin-qt-0.6.0.8_rc2.ebuild: |
39 |
+ Removed broken 0.5.x, add fixes |
40 |
+ See: https://bitcointalk.org/?topic=87660 |
41 |
|
42 |
21 May 2012; Johannes Huber <johu@g.o> bitcoin-qt-0.5.5.ebuild: |
43 |
Stable for x86, wrt bug #415973 |
44 |
|
45 |
|
46 |
|
47 |
1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc2.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc2.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc2.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: bitcoin-qt-0.6.0.8_rc2.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2012 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.8_rc2.ebuild,v 1.1 2012/06/16 22:46:48 blueness Exp $ |
57 |
|
58 |
EAPI=4 |
59 |
|
60 |
DB_VER="4.8" |
61 |
|
62 |
LANGS="ca_ES cs da de en es es_CL et eu_ES fa fa_IR fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW" |
63 |
inherit db-use eutils qt4-r2 versionator |
64 |
|
65 |
DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
66 |
HOMEPAGE="http://bitcoin.org/" |
67 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
68 |
http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.6.0-eligius_sendfee.patch.xz |
69 |
" |
70 |
|
71 |
LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~arm ~x86" |
74 |
IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode ssl upnp" |
75 |
|
76 |
RDEPEND=" |
77 |
>=dev-libs/boost-1.41.0 |
78 |
dev-libs/openssl[-bindist] |
79 |
qrcode? ( |
80 |
media-gfx/qrencode |
81 |
) |
82 |
upnp? ( |
83 |
net-libs/miniupnpc |
84 |
) |
85 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
86 |
x11-libs/qt-gui |
87 |
dbus? ( |
88 |
x11-libs/qt-dbus |
89 |
) |
90 |
" |
91 |
DEPEND="${RDEPEND} |
92 |
>=app-shells/bash-4.1 |
93 |
" |
94 |
|
95 |
DOCS="doc/README" |
96 |
|
97 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
98 |
|
99 |
src_prepare() { |
100 |
cd src || die |
101 |
use eligius && epatch "${WORKDIR}/0.6.0-eligius_sendfee.patch" |
102 |
|
103 |
local filt= yeslang= nolang= |
104 |
|
105 |
for lan in $LANGS; do |
106 |
if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
107 |
ewarn "Language '$lan' no longer supported. Ebuild needs update." |
108 |
fi |
109 |
done |
110 |
|
111 |
for ts in $(ls qt/locale/*.ts) |
112 |
do |
113 |
x="${ts/*bitcoin_/}" |
114 |
x="${x/.ts/}" |
115 |
if ! use "linguas_$x"; then |
116 |
nolang="$nolang $x" |
117 |
rm "$ts" |
118 |
filt="$filt\\|$x" |
119 |
else |
120 |
yeslang="$yeslang $x" |
121 |
fi |
122 |
done |
123 |
filt="bitcoin_\\(${filt:2}\\)\\.qm" |
124 |
sed "/${filt}/d" -i 'qt/bitcoin.qrc' |
125 |
einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
126 |
} |
127 |
|
128 |
src_configure() { |
129 |
OPTS=() |
130 |
local BOOST_PKG BOOST_VER |
131 |
|
132 |
use dbus && OPTS+=("USE_DBUS=1") |
133 |
use ssl && OPTS+=("DEFINES+=USE_SSL") |
134 |
if use upnp; then |
135 |
OPTS+=("USE_UPNP=1") |
136 |
else |
137 |
OPTS+=("USE_UPNP=-") |
138 |
fi |
139 |
use qrcode && OPTS+=("USE_QRCODE=1") |
140 |
use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1") |
141 |
|
142 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
143 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
144 |
|
145 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
146 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
147 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
148 |
OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}") |
149 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
150 |
|
151 |
eqmake4 "${PN}.pro" "${OPTS[@]}" |
152 |
} |
153 |
|
154 |
src_compile() { |
155 |
emake |
156 |
} |
157 |
|
158 |
src_test() { |
159 |
cd src || die |
160 |
emake -f makefile.unix "${OPTS[@]}" test_bitcoin |
161 |
./test_bitcoin || die 'Tests failed' |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
qt4-r2_src_install |
166 |
dobin ${PN} |
167 |
insinto /usr/share/pixmaps |
168 |
newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
169 |
make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P" |
170 |
} |
171 |
|
172 |
|
173 |
|
174 |
1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc2.ebuild |
175 |
|
176 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc2.ebuild?rev=1.1&view=markup |
177 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc2.ebuild?rev=1.1&content-type=text/plain |
178 |
|
179 |
Index: bitcoin-qt-0.5.6_rc2.ebuild |
180 |
=================================================================== |
181 |
# Copyright 1999-2012 Gentoo Foundation |
182 |
# Distributed under the terms of the GNU General Public License v2 |
183 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6_rc2.ebuild,v 1.1 2012/06/16 22:46:48 blueness Exp $ |
184 |
|
185 |
EAPI=4 |
186 |
|
187 |
DB_VER="4.8" |
188 |
|
189 |
LANGS="da de en es es_CL hu it nb nl pt_BR ru uk zh_CN zh_TW" |
190 |
inherit db-use eutils qt4-r2 versionator |
191 |
|
192 |
DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
193 |
HOMEPAGE="http://bitcoin.org/" |
194 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
195 |
bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz ) |
196 |
eligius? ( |
197 |
!bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz ) |
198 |
) |
199 |
" |
200 |
|
201 |
LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain" |
202 |
SLOT="0" |
203 |
KEYWORDS="~amd64 ~arm ~x86" |
204 |
IUSE="$IUSE +bip16 dbus +eligius ssl upnp" |
205 |
|
206 |
RDEPEND=" |
207 |
>=dev-libs/boost-1.41.0 |
208 |
dev-libs/openssl[-bindist] |
209 |
upnp? ( |
210 |
net-libs/miniupnpc |
211 |
) |
212 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
213 |
x11-libs/qt-gui |
214 |
dbus? ( |
215 |
x11-libs/qt-dbus |
216 |
) |
217 |
" |
218 |
DEPEND="${RDEPEND} |
219 |
>=app-shells/bash-4.1 |
220 |
" |
221 |
|
222 |
DOCS="doc/README" |
223 |
|
224 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
225 |
|
226 |
src_prepare() { |
227 |
cd src || die |
228 |
if use bip16; then |
229 |
epatch "${WORKDIR}/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch" |
230 |
use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch" |
231 |
else |
232 |
use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch" |
233 |
fi |
234 |
|
235 |
local filt= yeslang= nolang= |
236 |
|
237 |
for lan in $LANGS; do |
238 |
if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
239 |
ewarn "Language '$lan' no longer supported. Ebuild needs update." |
240 |
fi |
241 |
done |
242 |
|
243 |
for ts in $(ls qt/locale/*.ts) |
244 |
do |
245 |
x="${ts/*bitcoin_/}" |
246 |
x="${x/.ts/}" |
247 |
if ! use "linguas_$x"; then |
248 |
nolang="$nolang $x" |
249 |
rm "$ts" |
250 |
filt="$filt\\|$x" |
251 |
else |
252 |
yeslang="$yeslang $x" |
253 |
fi |
254 |
done |
255 |
filt="bitcoin_\\(${filt:2}\\)\\.qm" |
256 |
sed "/${filt}/d" -i 'qt/bitcoin.qrc' |
257 |
einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
258 |
} |
259 |
|
260 |
src_configure() { |
261 |
OPTS=() |
262 |
local BOOST_PKG BOOST_VER |
263 |
|
264 |
use dbus && OPTS+=("USE_DBUS=1") |
265 |
use ssl && OPTS+=("DEFINES+=USE_SSL") |
266 |
if use upnp; then |
267 |
OPTS+=("USE_UPNP=1") |
268 |
else |
269 |
OPTS+=("USE_UPNP=-") |
270 |
fi |
271 |
|
272 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
273 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
274 |
|
275 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
276 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
277 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
278 |
OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}") |
279 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
280 |
|
281 |
eqmake4 "${PN}.pro" "${OPTS[@]}" |
282 |
} |
283 |
|
284 |
src_compile() { |
285 |
emake |
286 |
} |
287 |
|
288 |
src_test() { |
289 |
cd src || die |
290 |
emake -f makefile.unix "${OPTS[@]}" test_bitcoin |
291 |
./test_bitcoin || die 'Tests failed' |
292 |
} |
293 |
|
294 |
src_install() { |
295 |
qt4-r2_src_install |
296 |
dobin ${PN} |
297 |
insinto /usr/share/pixmaps |
298 |
newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
299 |
make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P" |
300 |
} |