Permalink
Browse files

first commit

  • Loading branch information...
1 parent 63917a4 commit 381154807ec5b891954fe7c95912ced298b65885 root committed Jan 10, 2017
Showing 550 changed files with 133,679 additions and 0 deletions.
View
@@ -0,0 +1 @@
+src/version.cpp export-subst
View
@@ -0,0 +1,24 @@
+src/*.exe
+src/LUNAd
+src/build.h
+.*.swp
+*.*~*
+*.bak
+*.rej
+*.orig
+*.o
+*.patch
+.LUNA
+#compilation and Qt preprocessor part
+*.qm
+Makefile
+LUNA-qt
+#resources cpp
+qrc_*.cpp
+#qt creator
+*.pro.user
+#mac specific
+.DS_Store
+build
+
+!src/leveldb/Makefile
View
@@ -0,0 +1,23 @@
+Copyright © 2009-2015 The Bitcoin developers
+Copyright © 2011-2012 The PPCoin Developers
+Copyright © 2014 The Peerunity Developers
+Copyright © 2014 The EmerCoin Developers
+Copyright © 2012-2015 The LUNA developers
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
@@ -0,0 +1,9 @@
+Building LUNA
+
+See doc/readme-qt.rst for instructions on building LUNA Qt,
+the intended-for-end-users, nice-graphical-interface, reference
+implementation of LUNA.
+
+See doc/build-*.txt for instructions on building LUNAd,
+the intended-for-services, no-graphical-interface, reference
+implementation of LUNA.
@@ -0,0 +1,62 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2012 for Windows Desktop
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LUNAD", "myLUNA\myLUNA.vcxproj", "{00225DF0-9DDB-41A2-972B-56DC24E2C995}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "leveldb", "leveldb\leveldb.vcxproj", "{002CC16A-B4EF-4737-B751-DAD3A8D14133}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LUNAQT", "myLUNAqt\myLUNAqt.vcxproj", "{9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}"
+ ProjectSection(ProjectDependencies) = postProject
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80} = {3703B138-B8DA-460E-9DD1-41BDC7588E80}
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133} = {002CC16A-B4EF-4737-B751-DAD3A8D14133}
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FF475423-FFFE-FFD1-FF41-FF790D534E02}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcommon", "libcommon\libcommon.vcxproj", "{3703B138-B8DA-460E-9DD1-41BDC7588E80}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Debug|Win32.ActiveCfg = Debug|Win32
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Debug|Win32.Build.0 = Debug|Win32
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Debug|x64.ActiveCfg = Debug|x64
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Debug|x64.Build.0 = Debug|x64
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Release|Win32.ActiveCfg = Release|Win32
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Release|Win32.Build.0 = Release|Win32
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Release|x64.ActiveCfg = Release|x64
+ {00225DF0-9DDB-41A2-972B-56DC24E2C995}.Release|x64.Build.0 = Release|x64
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Debug|Win32.ActiveCfg = Debug|Win32
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Debug|Win32.Build.0 = Debug|Win32
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Debug|x64.ActiveCfg = Debug|x64
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Debug|x64.Build.0 = Debug|x64
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Release|Win32.ActiveCfg = Release|Win32
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Release|Win32.Build.0 = Release|Win32
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Release|x64.ActiveCfg = Release|x64
+ {002CC16A-B4EF-4737-B751-DAD3A8D14133}.Release|x64.Build.0 = Release|x64
+ {9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}.Debug|Win32.ActiveCfg = Debug|Win32
+ {9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}.Debug|Win32.Build.0 = Debug|Win32
+ {9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}.Debug|x64.ActiveCfg = Debug|x64
+ {9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}.Release|Win32.ActiveCfg = Release|Win32
+ {9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}.Release|Win32.Build.0 = Release|Win32
+ {9191918D-7DE3-4BE1-8A32-2F2CF4EE6840}.Release|x64.ActiveCfg = Release|x64
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Debug|Win32.Build.0 = Debug|Win32
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Debug|x64.ActiveCfg = Debug|x64
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Debug|x64.Build.0 = Debug|x64
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Release|Win32.ActiveCfg = Release|Win32
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Release|Win32.Build.0 = Release|Win32
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Release|x64.ActiveCfg = Release|x64
+ {3703B138-B8DA-460E-9DD1-41BDC7588E80}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(DPCodeReviewSolutionGUID) = preSolution
+ DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000}
+ EndGlobalSection
+EndGlobal
Binary file not shown.
@@ -0,0 +1,19 @@
+@ECHO ON
+cd C:\MyProjects\Deps\boost_1_57_0
+if %errorlevel% NEQ 0 goto ERRORCLEANUP
+md stage\lib\x64
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
+call bootstrap.bat
+bjam --toolset=msvc-11.0 address-model=64 -a link=static runtime-link=static cxxflags="-Zc:wchar_t-
+move /Y stage\lib\* stage\lib\x64\
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
+call bootstrap.bat
+bjam --toolset=msvc-11.0 -a link=static runtime-link=static cxxflags="-Zc:wchar_t-
+echo All finished!
+pause
+goto EOF
+:ERRORCLEANUP
+echo Something went wrong, please check the directories in this batch file!
+pause
+:EOF
+
@@ -0,0 +1,47 @@
+@ECHO ON
+SET OLDPATH=%PATH%
+cd C:\MyProjects\Deps\openssl-1.0.2
+if %errorlevel% NEQ 0 goto ERRORCLEANUP
+REM first change the debug compiler options
+perl -pi.bak -e "s#/Zi#/Z7#g;" util/pl/VC-32.pl
+perl -pi.bak -e "s#-Zi#-Z7#g;" configure
+REM Now do 64 bit by setting environment to MSVC 64 bit
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
+REM compile debug mode first
+call perl Configure no-asm debug-VC-WIN64A
+call ms\do_win64a
+nmake -f ms\nt.mak clean
+nmake -f ms\nt.mak
+REM Now do release mode
+call perl Configure no-asm VC-WIN64A
+call ms\do_win64a
+nmake -f ms\nt.mak clean
+nmake -f ms\nt.mak
+REM clean up and move files
+set PATH=%OLDPATH%
+md out64
+md out64.dbg
+move /Y out32\* out64\
+move /Y out32.dbg\* out64.dbg\
+REM
+REM Now do 32 bit by setting environment to MSVC 32 bit
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
+REM debug 32 first
+call perl Configure debug-VC-WIN32
+call ms\do_nasm
+nmake -f ms\nt.mak clean
+nmake -f ms\nt.mak
+REM now do release mode
+call perl Configure VC-WIN32
+call ms\do_nasm
+nmake -f ms\nt.mak clean
+nmake -f ms\nt.mak
+REM put back the path
+set PATH=%OLDPATH%
+echo All finished!
+pause
+goto EOF
+:ERRORCLEANUP
+echo Something went wrong, please check the directories in this batch file!
+pause
+:EOF
@@ -0,0 +1,25 @@
+@ECHO ON
+cd C:\MyProjects\Deps\qrencode-win32\vc8
+if %errorlevel% NEQ 0 goto ERRORCLEANUP
+copy C:\MyProjects\Deps\build-helpers\libqrcode.vcxproj . /Y
+if %errorlevel% NEQ 0 goto ERRORCLEANUP
+set VisualStudioVersion=11.0
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
+msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Release" /p:Platform="Win32"
+msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Debug" /p:Platform="Win32"
+msbuild.exe libqrcode.vcxproj /p:Configuration="Release" /p:Platform="Win32"
+msbuild.exe libqrcode.vcxproj /p:Configuration="Debug" /p:Platform="Win32"
+REM
+REM now clean and build 64 bit
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
+msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Release" /p:Platform="x64"
+msbuild.exe libqrcode.vcxproj /t:clean /p:Configuration="Debug" /p:Platform="x64"
+msbuild.exe libqrcode.vcxproj /p:Configuration="Release" /p:Platform="x64"
+msbuild.exe libqrcode.vcxproj /p:Configuration="Debug" /p:Platform="x64"
+echo All finished!
+pause
+goto EOF
+:ERRORCLEANUP
+echo Something went wrong, please check the directories in this batch file!
+pause
+:EOF
@@ -0,0 +1,21 @@
+@ECHO ON
+cd C:\MyProjects\Deps\qt-everywhere-opensource-src-5.3.2
+if %errorlevel% NEQ 0 goto ERRORCLEANUP
+SET OLDPATH=%PATH%
+set VisualStudioVersion=11.0
+REM first change the debug compiler options
+perl -pi.bak -e "s#QMAKE_CFLAGS_RELEASE = -O2 -MD#QMAKE_CFLAGS_RELEASE = -O2 -MT#g;" qtbase\mkspecs\win32-msvc2012\qmake.conf
+perl -pi.bak -e "s#QMAKE_CFLAGS_DEBUG = -Zi -MDd#QMAKE_CFLAGS_DEBUG = -Z7 -MTd#g;" qtbase\mkspecs\win32-msvc2012\qmake.conf
+REM Now do 32 bit by setting environment to MSVC 32 bit
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
+call configure -debug-and-release -openssl-linked -opensource -confirm-license -platform win32-msvc2012 -nomake examples -nomake tests -static -I \MyProjects\Deps\openssl-1.0.2\inc32 -L \MyProjects\Deps\openssl-1.0.2\out32.dbg -L \MyProjects\Deps\openssl-1.0.2\out32 -l gdi32 -no-opengl -qt-zlib -qt-libpng -qt-libjpeg
+nmake
+REM put back the path
+set PATH=%OLDPATH%
+echo All finished!
+pause
+goto EOF
+:ERRORCLEANUP
+echo Something went wrong, please check the directories in this batch file!
+pause
+:EOF
@@ -0,0 +1,21 @@
+@ECHO ON
+cd C:\MyProjects\Deps\qt-everywhere-opensource-src-5.3.2-64
+if %errorlevel% NEQ 0 goto ERRORCLEANUP
+SET OLDPATH=%PATH%
+set VisualStudioVersion=11.0
+REM first change the debug compiler options
+perl -pi.bak -e "s#QMAKE_CFLAGS_RELEASE = -O2 -MD#QMAKE_CFLAGS_RELEASE = -O2 -MT#g;" qtbase\mkspecs\win32-msvc2012\qmake.conf
+perl -pi.bak -e "s#QMAKE_CFLAGS_DEBUG = -Zi -MDd#QMAKE_CFLAGS_DEBUG = -Z7 -MTd#g;" qtbase\mkspecs\win32-msvc2012\qmake.conf
+REM Now do 64 bit by setting environment to MSVC 64 bit
+call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat" x86_amd64
+call configure -debug-and-release -openssl-linked -opensource -confirm-license -platform win32-msvc2012 -nomake examples -nomake tests -static -I \MyProjects\Deps\openssl-1.0.2\inc32 -L \MyProjects\Deps\openssl-1.0.2\out64.dbg -L \MyProjects\Deps\openssl-1.0.2\out64 -l gdi32 -no-opengl -qt-zlib -qt-libpng -qt-libjpeg
+nmake
+REM put back the path
+set PATH=%OLDPATH%
+echo All finished!
+pause
+goto EOF
+:ERRORCLEANUP
+echo Something went wrong, please check the directories in this batch file!
+pause
+:EOF
Oops, something went wrong.

0 comments on commit 3811548

Please sign in to comment.