[Pkg-bitcoin-commits] [bitcointrader] 01/07: Initial commit
Dmitry Smirnov
onlyjob at moszumanska.debian.org
Sat Aug 23 19:03:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
onlyjob pushed a commit to branch master
in repository bitcointrader.
commit 960e492
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date: Wed Nov 6 23:28:28 2013
Initial commit
---
debian/QtBitcoinTrader.1 | 8 +++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++
debian/copyright | 28 ++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 3 +++
debian/lintian-overrides | 4 ++++
debian/manpages | 1 +
debian/patches/fix-build.patch | 25 +++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 49 ++++++++++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/watch | 12 +++++++++++
15 files changed, 166 insertions(+)
diff --git a/debian/QtBitcoinTrader.1 b/debian/QtBitcoinTrader.1
new file mode 100644
index 0000000..35ea56f
--- /dev/null
+++ b/debian/QtBitcoinTrader.1
@@ -0,0 +1,8 @@
+.TH QtBitcoinTrader "1" "July 2013" "QtBitcoinTrader" ""
+.SH NAME
+QtBitcoinTrader \- Bitcoin trading application.
+.SH DESCRIPTION
+QtBitcoinTrader help to open and cancel Mt.Gox orders very fast.
+.SH OPTIONS
+.B QtBitcoinTrader
+have no command line interface.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1268783
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+bitcointrader (1.07.07+repack-1) unstable; urgency=low
+
+ * Initial release (Closes: #______).
+
+ -- Dmitry Smirnov <onlyjob at debian.org> Fri, 26 Apr 2013 13:55:49 +1000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d8f06fa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: bitcointrader
+Section: net
+Priority: optional
+Maintainer: Debian Bitcoin Packaging Team <pkg-bitcoin-devel at lists.alioth.debian.org>
+Uploaders: Dmitry Smirnov <onlyjob at debian.org>
+Build-Depends: debhelper (>= 9), help2man
+ ,qt4-qmake
+ ,qtmobility-dev
+ ,libqt4-dev
+ ,libqt4-opengl-dev
+ ,libssl-dev
+# ,qtmultimedia5-dev
+Standards-Version: 3.9.4
+Homepage: https://github.com/JulyIGHOR/QtBitcoinTrader
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-bitcoin/bitcointrader.git
+Vcs-Git: git://anonscm.debian.org/pkg-bitcoin/bitcointrader.git
+
+Package: bitcointrader
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Bitcoin trading application
+ QtBitcoinTrader help to open and cancel Mt.Gox and BTC-e orders very
+ fast and monitor data in real time.
+ .
+ BitCoins are a digital currency, exchanged freely against all other
+ currencies.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..642c39d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: qtbitcointrader
+Upstream-Contact: July IGHOR <julyighor at gmail.com>
+Source: https://github.com/JulyIGHOR/QtBitcoinTrader
+Comment:
+ COMPLETE COPYRIGHT REVIEW IS NEEDED -- THIS FILE IS INCORRECT
+
+Files: debian/*
+Copyright: 2012-2013 Dmitry Smirnov <onlyjob at debian.org>
+License: GPL-3+
+
+Files: *
+Copyright: 2013 July IGHOR <julyighor at gmail.com>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ ․
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ ․
+ The complete text of the GNU General Public License version 3
+ can be found in "/usr/share/common-licenses/GPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..0529244
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+src/*.desktop /usr/share/applications
+src/QtBitcoinTrader.png /usr/share/pixmaps
+src/QtBitcoinTrader /usr/bin
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..9515ab4
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,4 @@
+# from "Resources/Language/German.lng"
+spelling-error-in-binary usr/bin/QtBitcoinTrader Plattform Platform
+spelling-error-in-binary usr/bin/QtBitcoinTrader Programm Program
+
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..0f65186
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/*.1
diff --git a/debian/patches/fix-build.patch b/debian/patches/fix-build.patch
new file mode 100644
index 0000000..690763b
--- /dev/null
+++ b/debian/patches/fix-build.patch
@@ -0,0 +1,25 @@
+Last-Update: 2013-07-04
+Forwarded: no
+Author: Dmitry Smirnov <onlyjob at member.fsf.org>
+Description: fix build with Qt4
+ fixes FTBFS:
+ In file included from qtbitcointrader.cpp:30:0:
+ audioplayer.h:16:24: fatal error: QAudioOutput: No such file or directory
+
+--- a/src/QtBitcoinTrader.pro
++++ b/src/QtBitcoinTrader.pro
+@@ -5,11 +5,12 @@
+ LANGUAGE = C++
+ TARGET = QtBitcoinTrader
+ DEPENDPATH += .
+ INCLUDEPATH += .
+-QT += network multimedia
++QT += network multimediakit
+ LIBS += -lcrypto
+-CONFIG += qt warn_off release
++CONFIG += qt warn_off release mobility
++MOBILITY += multimedia
+
+ #
+ # Headers
+ #
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d8e388a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-build.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b668117
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+
+%:
+ dh $@ --parallel --sourcedirectory=src
+
+override_dh_auto_configure:
+ cd src \
+ && qmake QtBitcoinTrader_Desktop.pro
+
+#override_dh_installchangelogs:
+# dh_installchangelogs NEWS
+
+override_dh_builddeb:
+ dh_builddeb -- -Zxz
+
+## http://wiki.debian.org/onlyjob/get-orig-source
+PKD = $(abspath $(dir $(MAKEFILE_LIST)))
+PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
+UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
+DTYPE = +repack
+VER ?= $(subst $(DTYPE),,$(UVER))
+.PHONY: get-orig-source
+get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE))
+ @
+
+$(PKG)_$(VER)$(DTYPE).orig.tar.xz:
+ @echo "# Downloading..."
+ uscan --noconf --verbose --rename --repack --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
+ $(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
+ @echo "# Extracting..."
+ mkdir $(PKG)-$(VER) \
+ && tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \
+ || $(RM) -r $(PKG)-$(VER)
+ @echo "# Cleaning-up..."
+ cd $(PKG)-$(VER) \
+ && $(RM) -r -v \
+ */*.ico \
+ */*.vcxproj
+ #$(RM) -v $(PKG)_$(VER).orig.tar.*
+ @echo "# Packing..."
+ find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \
+ | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
+ && $(RM) -r "$(PKG)-$(VER)"
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b7bc1f2
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+compression = "xz"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..11a49e2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,12 @@
+version=3
+
+opts=\
+dversionmangle=s/\+(dfsg|repack)//,\
+uversionmangle=s/^(\d\.)(\d\d)(\d\d)$/$1$2.$3/,\
+ https://github.com/JulyIGHOR/QtBitcoinTrader/tags \
+ .*/archive/v?(\d[-\d\.]+)\.tar\.gz
+
+# http://qa.debian.org/watch/sf.php/bitcointrader
+#opts=\
+#dversionmangle=s/\+(dfsg|repack)//,\
+# http://sf.net/bitcointrader/QtBitcoinTrader_SRC_v([0-9.]+)\.(?:zip|tar\.gz|tar\.bz2|tar\.xz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/bitcointrader.git
More information about the Pkg-bitcoin-commits
mailing list