[Dev] Documenting Feathercoin Specific Software settings - Part 12
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
New file, 1021 lines of code
+# Makefile.in generated by automake 1.13.4 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@
Start of code, is this needed? it is auto generated? review
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
aclocal.m4
+# generated automatically by aclocal 1.13.4 -*- Autoconf -*- + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. + +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE.
Start of auto generated file, 1090 lines of code, review?
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
m4/ax_boost_base.m4
+# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_boost_base.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# DESCRIPTION +# +# Test for the Boost C++ libraries of a particular version (or newer) +# +# If no path to the installed boost library is given the macro searchs +# under /usr, /usr/local, /opt and /opt/local and evaluates the +# $BOOST_ROOT environment variable. Further documentation is available at +# <http://randspringer.de/boost/index.html>. +# +# This macro calls: +# +# AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS) +# +# And sets: +# +# HAVE_BOOST +# +# LICENSE
Start of autogenerated code 119 lines of code
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
m4/ax_boost_filesystem.m4
+# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_boost_filesystem.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_BOOST_FILESYSTEM +# +# DESCRIPTION +# +# Test for Filesystem library from the Boost C++ libraries. The macro +# requires a preceding call to AX_BOOST_BASE. Further documentation is +# available at <http://randspringer.de/boost/index.html>. +# +# This macro calls: +# +# AC_SUBST(BOOST_FILESYSTEM_LIB) +# +# And sets: +# +# HAVE_BOOST_FILESYSTEM
Start of autogenerated code, 119 lines, review?
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
m4/ax_boost_program_options.m4
m4/ax_boost_thread.m4
m4/ax_boost_unit_test_framework.m4
m4/ax_check_compile_flag.m4
m4/ax_check_link_flag.m4
m4/ax_check_preproc_flag.m4
m4/ax_pthread.m4
m4/bitcoin_find_bdb48.m4
m4/bitcoin_find_bdb51.m4
m4/bitcoin_qt.m4
m4/bitcoin_subdir_to_include.m4
share/qt/Info.plist
Autogenerated?
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
share/qt/Info.plist
New file 97 lines of code.
+<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> +<plist version="0.9"> +<dict> + <key>LSMinimumSystemVersion</key> + <string>10.6.0</string> + + <key>LSArchitecturePriority</key> + <array> + <string>x86_64</string> + </array> + + <key>CFBundleIconFile</key> + <string>bitcoin.icns</string> + + <key>CFBundlePackageType</key> + <string>APPL</string> + + <key>CFBundleGetInfoString</key> + <string>0.9, Copyright © 2009-2014 The Bitcoin Core developers</string> + + <key>CFBundleShortVersionString</key> + <string>0.9</string>
Start of new layout code
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
share/setup.nsi
+Name "Feathercoin Core (-bit)" + +RequestExecutionLevel highest +SetCompressor /SOLID lzma + +# General Symbol Definitions +!define REGKEY "SOFTWARE\$(^Name)" +!define VERSION 0.9.3 +!define COMPANY "Bitcoin Core project" +!define URL http://www.bitcoin.org/ + +# MUI Symbol Definitions +!define MUI_ICON "/home/wolfgang/workspace/Feathercoin/share/pixmaps/bitcoin.ico" +!define MUI_WELCOMEFINISHPAGE_BITMAP "/home/wolfgang/workspace/Feathercoin/share/pixmaps/nsis-wizard.bmp" +!define MUI_HEADERIMAGE +!define MUI_HEADERIMAGE_RIGHT +!define MUI_HEADERIMAGE_BITMAP "/home/wolfgang/workspace/Feathercoin/share/pixmaps/nsis-header.bmp" +!define MUI_FINISHPAGE_NOAUTOCLOSE +!define MUI_STARTMENUPAGE_REGISTRY_ROOT HKLM +!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY} +!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME StartMenuGroup +!define MUI_STARTMENUPAGE_DEFAULTFOLDER "Feathercoin Core" +!define MUI_FINISHPAGE_RUN $INSTDIR\bitcoin-qt.exe +!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" +!define MUI_UNWELCOMEFINISHPAGE_BITMAP "/home/wolfgang/workspace/Feathercoin/share/pixmaps/nsis-wizard.bmp" +!define MUI_UNFINISHPAGE_NOAUTOCLOSE + +# Included files +!include Sections.nsh +!include MUI2.nsh +!if "" == "64" +!include x64.nsh +!endif + +# Variables +Var StartMenuGroup + +# Installer pages +!insertmacro MUI_PAGE_WELCOME +!insertmacro MUI_PAGE_DIRECTORY +!insertmacro MUI_PAGE_STARTMENU Application $StartMenuGroup +!insertmacro MUI_PAGE_INSTFILES +!insertmacro MUI_PAGE_FINISH +!insertmacro MUI_UNPAGE_CONFIRM +!insertmacro MUI_UNPAGE_INSTFILES + +# Installer languages +!insertmacro MUI_LANGUAGE English + +# Installer attributes +OutFile /home/wolfgang/workspace/Feathercoin/bitcoin-${VERSION}-win-setup.exe +!if "" == "64" +InstallDir $PROGRAMFILES64\Bitcoin +!else +InstallDir $PROGRAMFILES\Bitcoin +!endif +CRCCheck on +XPStyle on +BrandingText " " +ShowInstDetails show +VIProductVersion ${VERSION}.1 +VIAddVersionKey ProductName "Bitcoin Core" +VIAddVersionKey ProductVersion "${VERSION}" +VIAddVersionKey CompanyName "${COMPANY}" +VIAddVersionKey CompanyWebsite "${URL}" +VIAddVersionKey FileVersion "${VERSION}" +VIAddVersionKey FileDescription "" +VIAddVersionKey LegalCopyright "" +InstallDirRegKey HKCU "${REGKEY}" Path +ShowUninstDetails show + +# Installer sections +Section -Main SEC0000 + SetOutPath $INSTDIR + SetOverwrite on + File /home/wolfgang/workspace/Feathercoin/release/bitcoin-qt.exe + File /oname=COPYING.txt /home/wolfgang/workspace/Feathercoin/COPYING + File /oname=readme.txt /home/wolfgang/workspace/Feathercoin/doc/README_windows.txt + SetOutPath $INSTDIR\daemon + File /home/wolfgang/workspace/Feathercoin/release/bitcoind.exe + File /home/wolfgang/workspace/Feathercoin/release/bitcoin-cli.exe + SetOutPath $INSTDIR\doc + File /r /home/wolfgang/workspace/Feathercoin/doc\*.* + SetOutPath $INSTDIR + WriteRegStr HKCU "${REGKEY}\Components" Main 1 + + # Remove old wxwidgets-based-bitcoin executable and locales: + Delete /REBOOTOK $INSTDIR\bitcoin.exe + RMDir /r /REBOOTOK $INSTDIR\locale +SectionEnd + +Section -post SEC0001 + WriteRegStr HKCU "${REGKEY}" Path $INSTDIR + SetOutPath $INSTDIR + WriteUninstaller $INSTDIR\uninstall.exe + !insertmacro MUI_STARTMENU_WRITE_BEGIN Application + CreateDirectory $SMPROGRAMS\$StartMenuGroup + CreateShortcut "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" $INSTDIR\bitcoin-qt.exe + CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" $INSTDIR\uninstall.exe + !insertmacro MUI_STARTMENU_WRITE_END + WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)" + WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayVersion "${VERSION}" + WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" Publisher "${COMPANY}" + WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" URLInfoAbout "${URL}" + WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayIcon $INSTDIR\uninstall.exe + WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" UninstallString $INSTDIR\uninstall.exe + WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1 + WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1 + WriteRegStr HKCR "bitcoin" "URL Protocol" "" + WriteRegStr HKCR "bitcoin" "" "URL:Bitcoin" + WriteRegStr HKCR "bitcoin\DefaultIcon" "" $INSTDIR\bitcoin-qt.exe + WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "%1"' +SectionEnd + +# Macro for selecting uninstaller sections +!macro SELECT_UNSECTION SECTION_NAME UNSECTION_ID + Push $R0 + ReadRegStr $R0 HKCU "${REGKEY}\Components" "${SECTION_NAME}" + StrCmp $R0 1 0 next${UNSECTION_ID} + !insertmacro SelectSection "${UNSECTION_ID}" + GoTo done${UNSECTION_ID} +next${UNSECTION_ID}: + !insertmacro UnselectSection "${UNSECTION_ID}" +done${UNSECTION_ID}: + Pop $R0 +!macroend + +# Uninstaller sections +Section /o -un.Main UNSEC0000 + Delete /REBOOTOK $INSTDIR\bitcoin-qt.exe + Delete /REBOOTOK $INSTDIR\COPYING.txt + Delete /REBOOTOK $INSTDIR\readme.txt + RMDir /r /REBOOTOK $INSTDIR\daemon + RMDir /r /REBOOTOK $INSTDIR\doc + DeleteRegValue HKCU "${REGKEY}\Components" Main +SectionEnd + +Section -un.post UNSEC0001 + DeleteRegKey HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" + Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" + Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" + Delete /REBOOTOK "$SMSTARTUP\Bitcoin.lnk" + Delete /REBOOTOK $INSTDIR\uninstall.exe + Delete /REBOOTOK $INSTDIR\debug.log + Delete /REBOOTOK $INSTDIR\db.log + DeleteRegValue HKCU "${REGKEY}" StartMenuGroup + DeleteRegValue HKCU "${REGKEY}" Path + DeleteRegKey /IfEmpty HKCU "${REGKEY}\Components" + DeleteRegKey /IfEmpty HKCU "${REGKEY}" + DeleteRegKey HKCR "bitcoin" + RmDir /REBOOTOK $SMPROGRAMS\$StartMenuGroup + RmDir /REBOOTOK $INSTDIR + Push $R0 + StrCpy $R0 $StartMenuGroup 1 + StrCmp $R0 ">" no_smgroup +no_smgroup: + Pop $R0 +SectionEnd + +# Installer functions +Function .onInit + InitPluginsDir +!if "" == "64" + ${If} ${RunningX64} + ; disable registry redirection (enable access to 64-bit portion of registry) + SetRegView 64 + ${Else} + MessageBox MB_OK|MB_ICONSTOP "Cannot install 64-bit version on a 32-bit system." + Abort + ${EndIf} +!endif +FunctionEnd + +# Uninstaller functions +Function un.onInit + ReadRegStr $INSTDIR HKCU "${REGKEY}" Path + !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuGroup + !insertmacro SELECT_UNSECTION Main ${UNSEC0000} +FunctionEnd
New file 189 lines of code
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/Makefile.in
Autogenerated file? review
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/bitcoin-config.h
-#define CLIENT_VERSION_BUILD 0 +#define CLIENT_VERSION_BUILD 1
Code replaced
-#define HAVE_BOOST_UNIT_TEST_FRAMEWORK /**/ +/* #undef HAVE_BOOST_UNIT_TEST_FRAMEWORK */
code removed commented out
+#define HAVE_LIBQRENCODE 1
Code uncommented
-/* #undef HAVE_LIBZXING */ +#define HAVE_LIBZXING 1 +#define USE_DBUS 1 +#define USE_QRCODE 1 +#define USE_ZXING 1
Code uncommented
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/bitcoin-config.h.in
Autogenerated review?
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/bitcoin-config.h.in
src/qt/Makefile.in
src/qt/test/Makefile.in
** src/test/Makefile.in**
Auto generated? review
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/secp256k1/build-aux/depcomp
+#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2013-05-30.07; # UTC
Start of code. Autogenerated? review
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/secp256k1/build-aux/install-sh
Auto genrated file? review
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Cleaned needed files commit
https://github.com/FeatherCoin/Feathercoin/commit/fb1146b4e5a71e90c6867ff049d81bc21471d076
src/secp256k1/build-aux/test-driver
Auto generated files
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Removed dependency to libqrenncode - commit
https://github.com/FeatherCoin/Feathercoin/commit/0530fa446eaca77d9de3399e55533188e5569f82
+ AC_DEFINE([USE_QRCODE],[0],[Define if QR support should be compiled in]) - use_qr=yes + use_qr=no
Code replaced
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Clean / Removed dependency to libqrenncode 2 commit
https://github.com/FeatherCoin/Feathercoin/commit/0530fa446eaca77d9de3399e55533188e5569f82
.gitignore
+src/bitcoin-config.h
Code Added
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Clean / Removed dependency to libqrenncode 2 commit
https://github.com/FeatherCoin/Feathercoin/commit/0530fa446eaca77d9de3399e55533188e5569f82
- PKG_CHECK_MODULES([QRENCODE], [libqrencode],, [AC_MSG_ERROR(libqrencode not found.)]) - BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],, [have_qr=no])]) + # PKG_CHECK_MODULES([QRENCODE], [libqrencode],, [AC_MSG_ERROR(libqrencode not found.)]) + # BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],, [have_qr=no])])
Code replaced
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
fixed check for qr-encode library commit
https://github.com/FeatherCoin/Feathercoin/commit/cbc50985ccd63fe9052af3c84e66dd5f16c99ff5
.gitignore
+src/Makefile.in +src/test/Makefile.in +src/test/test_bitcoin +src/qt/Makefile.in +src/qt/test/test_bitcoin-qt +src/qt/test/Makefile.in + + +autom4te.cache/ +config.log +config.status +configure +
Code added
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
fixed check for qr-encode library commit
https://github.com/FeatherCoin/Feathercoin/commit/cbc50985ccd63fe9052af3c84e66dd5f16c99ff5
- # BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],, [have_qr=no])]) + BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],, [have_qr=no])])
Code replaced
+ BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qr=no)])
Code added
-
Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*
Set release flag to false – commit
For normal development version false is default, until checked
https://github.com/FeatherCoin/Feathercoin/commit/124e871288f3f2ac8a7d9f1d75fa198eb58bf4ed
+define(_CLIENT_VERSION_IS_RELEASE, false)
Code replaced
Update configure.ac
https://github.com/FeatherCoin/Feathercoin/commit/f5a15e896621c3ad5d005648b65e74ddb920de1b
+define(_CLIENT_VERSION_IS_RELEASE, true)
Code replaced