Skip to content

Commit 814df91

Browse files
committed
Merge pull request #4098
6e40fcf Update contrib/debian for autotools, among a few other tweaks (Matt Corallo)
2 parents 4765b8c + 6e40fcf commit 814df91

File tree

5 files changed

+27
-20
lines changed

5 files changed

+27
-20
lines changed

contrib/debian/bitcoin-qt.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
bitcoin-qt usr/bin
1+
usr/local/bin/bitcoin-qt usr/bin
22
share/pixmaps/bitcoin32.xpm usr/share/pixmaps
33
share/pixmaps/bitcoin16.xpm usr/share/pixmaps
44
share/pixmaps/bitcoin128.png usr/share/pixmaps

contrib/debian/bitcoind.install

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
src/bitcoind usr/bin
1+
usr/local/bin/bitcoind usr/bin
2+
usr/local/bin/bitcoin-cli usr/bin

contrib/debian/changelog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
bitcoin (0.9.1-precise1) precise; urgency=medium
2+
3+
* New upstream release.
4+
* Backport pull #4019
5+
6+
-- Matt Corallo <[email protected]> Sat, 19 Apr 2014 17:29:00 -0400
7+
8+
bitcoin (0.9.0-precise1) precise; urgency=medium
9+
10+
* New upstream release.
11+
12+
-- Matt Corallo <[email protected]> Thu, 20 Mar 2014 13:10:00 -0400
13+
114
bitcoin (0.8.6-precise1) precise; urgency=medium
215

316
* New upstream release.

contrib/debian/control

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Maintainer: Jonas Smedegaard <[email protected]>
55
Uploaders: Micah Anderson <[email protected]>
66
Build-Depends: debhelper,
77
devscripts,
8+
automake,
89
bash-completion,
910
libboost-system-dev (>> 1.35) | libboost-system1.35-dev,
1011
libdb4.8++-dev,
@@ -17,7 +18,8 @@ Build-Depends: debhelper,
1718
libboost-test-dev (>> 1.35) | libboost-test1.35-dev,
1819
qt4-qmake,
1920
libqt4-dev,
20-
libqrencode-dev
21+
libqrencode-dev,
22+
libprotobuf-dev, protobuf-compiler
2123
Standards-Version: 3.9.2
2224
Homepage: http://www.bitcoin.org/
2325
Vcs-Git: git://github.com/bitcoin/bitcoin.git
@@ -34,7 +36,7 @@ Description: peer-to-peer network based digital currency - daemon
3436
check for double-spending.
3537
.
3638
Full transaction history is stored locally at each client. This
37-
requires 2+ GB of space, slowly growing.
39+
requires 20+ GB of space, slowly growing.
3840
.
3941
This package provides bitcoind, a combined daemon and CLI tool to
4042
interact with the daemon.
@@ -50,6 +52,6 @@ Description: peer-to-peer network based digital currency - Qt GUI
5052
check for double-spending.
5153
.
5254
Full transaction history is stored locally at each client. This
53-
requires 2+ GB of space, slowly growing.
55+
requires 20+ GB of space, slowly growing.
5456
.
5557
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt.

contrib/debian/rules

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,14 @@ DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*
1111
%:
1212
dh --with bash-completion $@
1313

14-
override_dh_auto_build:
15-
cd src; $(MAKE) -f makefile.unix bitcoind
16-
$(MAKE)
17-
1814
override_dh_auto_clean:
19-
if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f bitcoin-qt; fi
20-
cd src; $(MAKE) -f makefile.unix clean
15+
if [ -f Makefile ]; then $(MAKE) distclean; fi
16+
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in
2117

18+
# Yea, autogen should be run on the source archive, but I like doing git archive
2219
override_dh_auto_configure:
23-
qmake bitcoin-qt.pro USE_QRCODE=1
20+
./autogen.sh
21+
./configure
2422

2523
override_dh_auto_test:
26-
cd src; $(MAKE) -f makefile.unix test_bitcoin
27-
src/test_bitcoin
28-
29-
# Ensure wrapper is set executable
30-
binary-post-install/bitcoind:
31-
chmod +x $(cdbs_curdestdir)usr/bin/bitcoind
32-
binary-post-install/bitcoin-qt:
33-
chmod +x $(cdbs_curdestdir)usr/bin/bitcoin-qt
24+
make check

0 commit comments

Comments
 (0)