Skip to content

Commit

Permalink
Ready 1.0 release, update contrib/tate-release, update readme/release…
Browse files Browse the repository at this point in the history
…-notes
  • Loading branch information
guruvan committed Feb 10, 2015
1 parent a709a58 commit 8190865
Show file tree
Hide file tree
Showing 21 changed files with 401 additions and 226 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,11 @@ gui/qt/icons_rc.py
locale/
.devlocaltmp/
*_trial_temp
contrib/tate-release/repo/
contrib/tate-release/source/Tate-*
contrib/tate-release/source/tate-*
contrib/tate-release/releases/*
contrib/tate-releases/ltc_scrypt-1.0/
*.pyd
*.so
*.dylib
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Tate - lightweight Mazacoin client

Licence: GNU GPL v3
Author: Thomas Voegtlin; forked for Mazacoin by mazaclub (Tyler Willis, Rob Nelson, et al.)
Authors: Original Electrum Source: Thomas Voegtlin; forked for Mazacoin by mazaclub (Tyler Willis, Rob Nelson, et al.)
Language: Python
Homepage: https://electrum.org/
Homepage: https://maza.club/tate

**NOTE** that wallets created before version 1.0 are incompatible with Tate 1.0.
**NOTE** that wallets created before version 1.0 are incompatible with Tate 1.0


1. GETTING STARTED
Expand Down
4 changes: 4 additions & 0 deletions RELEASE-NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
* New key derivation (now BIP 44).

* Wallets created pre-1.0 are incompatible with wallets >= 1.0.

* contrib/build-wine removed, contrib/tate-release - produces Tate versioned releases from github

* MZC reorg handler improved
13 changes: 0 additions & 13 deletions contrib/build-wine/README

This file was deleted.

12 changes: 0 additions & 12 deletions contrib/build-wine/archive.patch

This file was deleted.

70 changes: 0 additions & 70 deletions contrib/build-wine/build-electrum-git.sh

This file was deleted.

51 changes: 0 additions & 51 deletions contrib/build-wine/build-electrum.sh

This file was deleted.

68 changes: 0 additions & 68 deletions contrib/build-wine/prepare-wine.sh

This file was deleted.

73 changes: 73 additions & 0 deletions contrib/tate-release/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
FROM ubuntu:14.04
MAINTAINER Rob Nelson <[email protected]>

VOLUME ["/opt/wine-electrum/drive_c/tate"]

RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y git python-pip pyqt4-dev-tools zip unzip \
&& pip install --pre slowaes && pip install ecdsa \
&& pip install pyasn1 && pip install pyasn1_modules \
&& pip install qrcode && pip install requests \
&& pip install tlslite && pip install pbkdf2 \
&& pip install SocksiPy-branch \
&& apt-get install -y software-properties-common && add-apt-repository -y ppa:ubuntu-wine/ppa \
&& dpkg --add-architecture i386 \
&& apt-get update -y \
&& apt-get install -y curl wine1.7 xvfb wget \
&& apt-get install -y winbind \
&& apt-get install -y python-pip pyqt4-dev-tools \
&& apt-get purge -y python-software-properties \
&& apt-get autoclean -y


# Versions
ENV PYTHON_URL https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
ENV PYQT4_URL http://downloads.sourceforge.net/project/pyqt/PyQt4/PyQt-4.11.1/PyQt4-4.11.1-gpl-Py2.7-Qt4.8.6-x32.exe?r=http%3A%2F%2Fwww.riverbankcomputing.co.uk%2Fsoftware%2Fpyqt%2Fdownload&ts=1410031650&use_mirror=skylink
ENV PYWIN32_URL http://downloads.sourceforge.net/project/pywin32/pywin32/Build%20217/pywin32-217.win32-py2.7.exe?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpywin32%2Ffiles%2Fpywin32%2FBuild%2520217%2F&ts=1410031204&use_mirror=kent
ENV PYINSTALLER_URL https://pypi.python.org/packages/source/P/PyInstaller/PyInstaller-2.1.zip
ENV NSIS_URL http://prdownloads.sourceforge.net/nsis/nsis-2.46-setup.exe?download

# Paths
ENV WINEPREFIX /opt/wine-electrum
RUN export WINEPREFIX=/opt/wine-electrum

ENV ELECTRUM_PATH $WINE_PREFIX/drive_c/tate
ENV PYHOME c:/Python27
ENV PYTHON xvfb-run -a wine $PYHOME/python.exe -B
ENV PIP $PYTHON -m pip

# Only needed for debugging
# RUN apt-get install -y vnc4server
# RUN export DISPLAY=:33
# RUN (echo electrum;echo electrum)|vnc4passwd
# EXPOSE 5933



# Docker kills this run before wine is done setting up, don't remove the sleep
RUN xvfb-run -a --server-num=4 wineboot && sleep 5 \
&& echo 'DIRECTORY IS ' ; pwd \
&& wget -O python.msi "$PYTHON_URL" \
&& xvfb-run -a -e /dev/stdout -a msiexec /q /i python.msi \
&& sleep 5 \
&& wget -O pyinstaller.zip "$PYINSTALLER_URL" && unzip pyinstaller.zip && mv PyInstaller-2.1 $WINEPREFIX/drive_c/pyinstaller \
&& wget -O pywin32.exe "$PYWIN32_URL" \
&& unzip -qq pywin32.exe; echo 'Done pywin' \
&& cp -r PLATLIB/* $WINEPREFIX/drive_c/Python27/Lib/site-packages/ \
&& mkdir -p $WINEPREFIX/drive_c/Python27/Scripts/ \
&& cp -r SCRIPTS/* $WINEPREFIX/drive_c/Python27/Scripts/ \
&& $PYTHON $PYHOME/Scripts/pywin32_postinstall.py -install \
&& wget -O PyQt.exe "$PYQT4_URL" \
&& rm -rf /tmp/.wine-* && xvfb-run -a wine PyQt.exe /S \
&& wget -q -O nsis.exe $NSIS_URL \
&& rm -rf /tmp/.wine-* && xvfb-run -a wine nsis.exe /S


COPY ./helpers/ltc_scrypt.pyd /root/ltc_scrypt.pyd
COPY ./helpers/make_packages /root/make_packages
COPY ./helpers/make_release /root/make_release
COPY ./helpers/build-binary /usr/bin/build-binary

# Clean up stale wine processes
RUN rm -rf /tmp/.wine-*
Loading

0 comments on commit 8190865

Please sign in to comment.