Update contrib/debian for autotools, among a few other tweaks

This commit is contained in:
Matt Corallo 2014-04-26 20:18:18 -04:00
parent 4765b8c116
commit 6e40fcf455
5 changed files with 27 additions and 20 deletions

View file

@ -1,4 +1,4 @@
bitcoin-qt usr/bin usr/local/bin/bitcoin-qt usr/bin
share/pixmaps/bitcoin32.xpm usr/share/pixmaps share/pixmaps/bitcoin32.xpm usr/share/pixmaps
share/pixmaps/bitcoin16.xpm usr/share/pixmaps share/pixmaps/bitcoin16.xpm usr/share/pixmaps
share/pixmaps/bitcoin128.png usr/share/pixmaps share/pixmaps/bitcoin128.png usr/share/pixmaps

View file

@ -1 +1,2 @@
src/bitcoind usr/bin usr/local/bin/bitcoind usr/bin
usr/local/bin/bitcoin-cli usr/bin

View file

@ -1,3 +1,16 @@
bitcoin (0.9.1-precise1) precise; urgency=medium
* New upstream release.
* Backport pull #4019
-- Matt Corallo <matt@bluematt.me> Sat, 19 Apr 2014 17:29:00 -0400
bitcoin (0.9.0-precise1) precise; urgency=medium
* New upstream release.
-- Matt Corallo <matt@bluematt.me> Thu, 20 Mar 2014 13:10:00 -0400
bitcoin (0.8.6-precise1) precise; urgency=medium bitcoin (0.8.6-precise1) precise; urgency=medium
* New upstream release. * New upstream release.

View file

@ -5,6 +5,7 @@ Maintainer: Jonas Smedegaard <dr@jones.dk>
Uploaders: Micah Anderson <micah@debian.org> Uploaders: Micah Anderson <micah@debian.org>
Build-Depends: debhelper, Build-Depends: debhelper,
devscripts, devscripts,
automake,
bash-completion, bash-completion,
libboost-system-dev (>> 1.35) | libboost-system1.35-dev, libboost-system-dev (>> 1.35) | libboost-system1.35-dev,
libdb4.8++-dev, libdb4.8++-dev,
@ -17,7 +18,8 @@ Build-Depends: debhelper,
libboost-test-dev (>> 1.35) | libboost-test1.35-dev, libboost-test-dev (>> 1.35) | libboost-test1.35-dev,
qt4-qmake, qt4-qmake,
libqt4-dev, libqt4-dev,
libqrencode-dev libqrencode-dev,
libprotobuf-dev, protobuf-compiler
Standards-Version: 3.9.2 Standards-Version: 3.9.2
Homepage: http://www.bitcoin.org/ Homepage: http://www.bitcoin.org/
Vcs-Git: git://github.com/bitcoin/bitcoin.git Vcs-Git: git://github.com/bitcoin/bitcoin.git
@ -34,7 +36,7 @@ Description: peer-to-peer network based digital currency - daemon
check for double-spending. check for double-spending.
. .
Full transaction history is stored locally at each client. This Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing. requires 20+ GB of space, slowly growing.
. .
This package provides bitcoind, a combined daemon and CLI tool to This package provides bitcoind, a combined daemon and CLI tool to
interact with the daemon. interact with the daemon.
@ -50,6 +52,6 @@ Description: peer-to-peer network based digital currency - Qt GUI
check for double-spending. check for double-spending.
. .
Full transaction history is stored locally at each client. This Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing. requires 20+ GB of space, slowly growing.
. .
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt. This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt.

View file

@ -11,23 +11,14 @@ DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*
%: %:
dh --with bash-completion $@ dh --with bash-completion $@
override_dh_auto_build:
cd src; $(MAKE) -f makefile.unix bitcoind
$(MAKE)
override_dh_auto_clean: override_dh_auto_clean:
if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f bitcoin-qt; fi if [ -f Makefile ]; then $(MAKE) distclean; fi
cd src; $(MAKE) -f makefile.unix clean 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
# Yea, autogen should be run on the source archive, but I like doing git archive
override_dh_auto_configure: override_dh_auto_configure:
qmake bitcoin-qt.pro USE_QRCODE=1 ./autogen.sh
./configure
override_dh_auto_test: override_dh_auto_test:
cd src; $(MAKE) -f makefile.unix test_bitcoin make check
src/test_bitcoin
# Ensure wrapper is set executable
binary-post-install/bitcoind:
chmod +x $(cdbs_curdestdir)usr/bin/bitcoind
binary-post-install/bitcoin-qt:
chmod +x $(cdbs_curdestdir)usr/bin/bitcoin-qt