author
int64 658
755k
| date
stringlengths 19
19
| timezone
int64 -46,800
43.2k
| hash
stringlengths 40
40
| message
stringlengths 5
490
| mods
list | language
stringclasses 20
values | license
stringclasses 3
values | repo
stringlengths 5
68
| original_message
stringlengths 12
491
|
---|---|---|---|---|---|---|---|---|---|
714,098 | 05.03.2019 17:47:15 | 18,000 | 3676bc4a3b9f722853e001325eb10a25f9e69756 | update note for win compilation in automake file | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -637,7 +637,8 @@ clean-local:\n@test -f $(WINDRES)\n## FIXME: How to get the appropriate modulename_CPPFLAGS in here?\n$(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) -DWINDRES_PREPROC -i $< -o $@\n-\n+ ## docker forwindows needs the line above this, changed to the one below.\n+ ## $(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -DWINDRES_PREPROC -i $< -o $@\ncheck-symbols: $(bin_PROGRAMS)\nif GLIBC_BACK_COMPAT\n@echo \"Checking glibc back compat...\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | update note for win compilation in automake file |
714,092 | 08.03.2019 13:05:39 | -3,600 | 176bd301b77f549501f774a0d9e98351e288e5a4 | Fix QT and protobuf mks for cross-compiling binaries | [
{
"change_type": "MODIFY",
"old_path": "build-aux/m4/bitcoin_qt.m4",
"new_path": "build-aux/m4/bitcoin_qt.m4",
"diff": "@@ -53,8 +53,8 @@ dnl CAUTION: Do not use this inside of a conditional.\nAC_DEFUN([VERGE_QT_INIT],[\ndnl enable qt support\nAC_ARG_WITH([gui],\n- [AS_HELP_STRING([--with-gui@<:@=no|qt4|qt5|auto@:>@],\n- [build verge-qt GUI (default=auto, qt5 tried first)])],\n+ [AS_HELP_STRING([--with-gui@<:@=no|qt5|auto@:>@],\n+ [build verge-qt GUI (default=auto)])],\n[\nverge_qt_want_version=$withval\nif test \"x$verge_qt_want_version\" = xyes; then\n@@ -94,18 +94,17 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\nfi\nif test \"x$use_pkgconfig\" = xyes; then\n- VERGE_QT_CHECK([_VERGE_QT_FIND_LIBS_WITH_PKGCONFIG([$2])])\n+ VERGE_QT_CHECK([_VERGE_QT_FIND_LIBS_WITH_PKGCONFIG])\nelse\nVERGE_QT_CHECK([_VERGE_QT_FIND_LIBS_WITHOUT_PKGCONFIG])\nfi\ndnl This is ugly and complicated. Yuck. Works as follows:\n- dnl We can't discern whether Qt4 builds are static or not. For Qt5, we can\n- dnl check a header to find out. When Qt is built statically, some plugins must\n- dnl be linked into the final binary as well. These plugins have changed between\n- dnl Qt4 and Qt5. With Qt5, languages moved into core and the WindowsIntegration\n- dnl plugin was added. Since we can't tell if Qt4 is static or not, it is\n- dnl assumed for windows builds.\n+ dnl For Qt5, we can check a header to find out whether Qt is build\n+ dnl statically. When Qt is built statically, some plugins must be linked into\n+ dnl the final binary as well.\n+ dnl With Qt5, languages moved into core and the WindowsIntegration plugin was\n+ dnl added.\ndnl _VERGE_QT_CHECK_STATIC_PLUGINS does a quick link-check and appends the\ndnl results to QT_LIBS.\nVERGE_QT_CHECK([\n@@ -113,7 +112,6 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\nTEMP_CXXFLAGS=$CXXFLAGS\nCPPFLAGS=\"$QT_INCLUDES $CPPFLAGS\"\nCXXFLAGS=\"$PIC_FLAGS $CXXFLAGS\"\n- if test \"x$verge_qt_got_major_vers\" = x5; then\n_VERGE_QT_IS_STATIC\nif test \"x$verge_cv_static_qt\" = xyes; then\n_VERGE_QT_FIND_STATIC_PLUGINS\n@@ -139,7 +137,6 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\n_VERGE_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)],[-lqminimal])\nAC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])\nif test \"x$TARGET_OS\" = xwindows; then\n- QT_LIBS=\"$QT_LIBS -lQt5PlatformSupport -lopengl32\"\n_VERGE_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)],[-lqwindows])\nAC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])\nelif test \"x$TARGET_OS\" = xlinux; then\n@@ -151,27 +148,13 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\nAC_DEFINE(QT_QPA_PLATFORM_COCOA, 1, [Define this symbol if the qt platform is cocoa])\nfi\nfi\n- else\n- if test \"x$TARGET_OS\" = xwindows; then\n- AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])\n- _VERGE_QT_CHECK_STATIC_PLUGINS([\n- Q_IMPORT_PLUGIN(qcncodecs)\n- Q_IMPORT_PLUGIN(qjpcodecs)\n- Q_IMPORT_PLUGIN(qtwcodecs)\n- Q_IMPORT_PLUGIN(qkrcodecs)\n- Q_IMPORT_PLUGIN(AccessibleFactory)],\n- [-lqcncodecs -lqjpcodecs -lqtwcodecs -lqkrcodecs -lqtaccessiblewidgets])\n- fi\n- fi\nCPPFLAGS=$TEMP_CPPFLAGS\nCXXFLAGS=$TEMP_CXXFLAGS\n])\nif test \"x$use_pkgconfig$qt_bin_path\" = xyes; then\n- if test \"x$verge_qt_got_major_vers\" = x5; then\nqt_bin_path=\"`$PKG_CONFIG --variable=host_bins Qt5Core 2>/dev/null`\"\nfi\n- fi\nif test \"x$use_hardening\" != xno; then\nVERGE_QT_CHECK([\n@@ -220,11 +203,11 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\n])\nfi\n- VERGE_QT_PATH_PROGS([MOC], [moc-qt${verge_qt_got_major_vers} moc${verge_qt_got_major_vers} moc], $qt_bin_path)\n- VERGE_QT_PATH_PROGS([UIC], [uic-qt${verge_qt_got_major_vers} uic${verge_qt_got_major_vers} uic], $qt_bin_path)\n- VERGE_QT_PATH_PROGS([RCC], [rcc-qt${verge_qt_got_major_vers} rcc${verge_qt_got_major_vers} rcc], $qt_bin_path)\n- VERGE_QT_PATH_PROGS([LRELEASE], [lrelease-qt${verge_qt_got_major_vers} lrelease${verge_qt_got_major_vers} lrelease], $qt_bin_path)\n- VERGE_QT_PATH_PROGS([LUPDATE], [lupdate-qt${verge_qt_got_major_vers} lupdate${verge_qt_got_major_vers} lupdate],$qt_bin_path, yes)\n+ VERGE_QT_PATH_PROGS([MOC], [moc-qt5 moc5 moc], $qt_bin_path)\n+ VERGE_QT_PATH_PROGS([UIC], [uic-qt5 uic5 uic], $qt_bin_path)\n+ VERGE_QT_PATH_PROGS([RCC], [rcc-qt5 rcc5 rcc], $qt_bin_path)\n+ VERGE_QT_PATH_PROGS([LRELEASE], [lrelease-qt5 lrelease5 lrelease], $qt_bin_path)\n+ VERGE_QT_PATH_PROGS([LUPDATE], [lupdate-qt5 lupdate5 lupdate],$qt_bin_path, yes)\nMOC_DEFS='-DHAVE_CONFIG_H -I$(srcdir)'\ncase $host in\n@@ -263,7 +246,7 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\n],[\nverge_enable_qt=no\n])\n- AC_MSG_RESULT([$verge_enable_qt (Qt${verge_qt_got_major_vers})])\n+ AC_MSG_RESULT([$verge_enable_qt (Qt5)])\nAC_SUBST(QT_PIE_FLAGS)\nAC_SUBST(QT_INCLUDES)\n@@ -273,7 +256,7 @@ AC_DEFUN([VERGE_QT_CONFIGURE],[\nAC_SUBST(QT_DBUS_LIBS)\nAC_SUBST(QT_TEST_INCLUDES)\nAC_SUBST(QT_TEST_LIBS)\n- AC_SUBST(QT_SELECT, qt${verge_qt_got_major_vers})\n+ AC_SUBST(QT_SELECT, qt5)\nAC_SUBST(MOC_DEFS)\n])\n@@ -293,7 +276,7 @@ AC_DEFUN([_VERGE_QT_CHECK_QT5],[\n#endif\n]],\n[[\n- #if QT_VERSION < 0x050000\n+ #if QT_VERSION < 0x050000 || QT_VERSION_MAJOR < 5\nchoke\n#endif\n]])],\n@@ -301,6 +284,27 @@ AC_DEFUN([_VERGE_QT_CHECK_QT5],[\n[verge_cv_qt5=no])\n])])\n+dnl Internal. Check if the included version of Qt is greater than Qt58.\n+dnl Requires: INCLUDES must be populated as necessary.\n+dnl Output: verge_cv_qt5=yes|no\n+AC_DEFUN([_VERGE_QT_CHECK_QT58],[\n+ AC_CACHE_CHECK(for > Qt 5.7, verge_cv_qt58,[\n+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[\n+ #include <QtCore/qconfig.h>\n+ #ifndef QT_VERSION\n+ # include <QtCore/qglobal.h>\n+ #endif\n+ ]],\n+ [[\n+ #if QT_VERSION_MINOR < 8\n+ choke\n+ #endif\n+ ]])],\n+ [verge_cv_qt58=yes],\n+ [verge_cv_qt58=no])\n+])])\n+\n+\ndnl Internal. Check if the linked version of Qt was built as static libs.\ndnl Requires: Qt5. This check cannot determine if Qt4 is static.\ndnl Requires: INCLUDES and LIBS must be populated as necessary.\n@@ -310,7 +314,7 @@ AC_DEFUN([_VERGE_QT_IS_STATIC],[\nAC_CACHE_CHECK(for static Qt, verge_cv_static_qt,[\nAC_COMPILE_IFELSE([AC_LANG_PROGRAM([[\n#include <QtCore/qconfig.h>\n- #ifndef QT_VERSION\n+ #ifndef QT_VERSION OR QT_VERSION_STR\n# include <QtCore/qglobal.h>\n#endif\n]],\n@@ -347,28 +351,36 @@ AC_DEFUN([_VERGE_QT_CHECK_STATIC_PLUGINS],[\n])\ndnl Internal. Find paths necessary for linking qt static plugins\n-dnl Inputs: verge_qt_got_major_vers. 4 or 5.\ndnl Inputs: qt_plugin_path. optional.\ndnl Outputs: QT_LIBS is appended\nAC_DEFUN([_VERGE_QT_FIND_STATIC_PLUGINS],[\n- if test \"x$verge_qt_got_major_vers\" = x5; then\nif test \"x$qt_plugin_path\" != x; then\nQT_LIBS=\"$QT_LIBS -L$qt_plugin_path/platforms\"\nif test -d \"$qt_plugin_path/accessible\"; then\nQT_LIBS=\"$QT_LIBS -L$qt_plugin_path/accessible\"\nfi\n- fi\nif test \"x$use_pkgconfig\" = xyes; then\n: dnl\nm4_ifdef([PKG_CHECK_MODULES],[\n+ if test x$verge_cv_qt58 = xno; then\nPKG_CHECK_MODULES([QTPLATFORM], [Qt5PlatformSupport], [QT_LIBS=\"$QTPLATFORM_LIBS $QT_LIBS\"])\n+ else\n+ PKG_CHECK_MODULES([QTFONTDATABASE], [Qt5FontDatabaseSupport], [QT_LIBS=\"-lQt5FontDatabaseSupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTEVENTDISPATCHER], [Qt5EventDispatcherSupport], [QT_LIBS=\"-lQt5EventDispatcherSupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTTHEME], [Qt5ThemeSupport], [QT_LIBS=\"-lQt5ThemeSupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTDEVICEDISCOVERY], [Qt5DeviceDiscoverySupport], [QT_LIBS=\"-lQt5DeviceDiscoverySupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTACCESSIBILITY], [Qt5AccessibilitySupport], [QT_LIBS=\"-lQt5AccessibilitySupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTFB], [Qt5FbSupport], [QT_LIBS=\"-lQt5FbSupport $QT_LIBS\"])\n+ fi\nif test \"x$TARGET_OS\" = xlinux; then\nPKG_CHECK_MODULES([X11XCB], [x11-xcb], [QT_LIBS=\"$X11XCB_LIBS $QT_LIBS\"])\nif ${PKG_CONFIG} --exists \"Qt5Core >= 5.5\" 2>/dev/null; then\nPKG_CHECK_MODULES([QTXCBQPA], [Qt5XcbQpa], [QT_LIBS=\"$QTXCBQPA_LIBS $QT_LIBS\"])\nfi\nelif test \"x$TARGET_OS\" = xdarwin; then\n- PKG_CHECK_MODULES([QTPRINT], [Qt5PrintSupport], [QT_LIBS=\"$QTPRINT_LIBS $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTCLIPBOARD], [Qt5ClipboardSupport], [QT_LIBS=\"-lQt5ClipboardSupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTGRAPHICS], [Qt5GraphicsSupport], [QT_LIBS=\"-lQt5GraphicsSupport $QT_LIBS\"])\n+ PKG_CHECK_MODULES([QTCGL], [Qt5CglSupport], [QT_LIBS=\"-lQt5CglSupport $QT_LIBS\"])\nfi\n])\nelse\n@@ -381,7 +393,7 @@ AC_DEFUN([_VERGE_QT_FIND_STATIC_PLUGINS],[\n#endif\n]],\n[[\n- #if QT_VERSION < 0x050600\n+ #if QT_VERSION < 0x050600 || QT_VERSION_MINOR < 6\nchoke\n#endif\n]])],\n@@ -389,14 +401,19 @@ AC_DEFUN([_VERGE_QT_FIND_STATIC_PLUGINS],[\n[verge_cv_need_platformsupport=no])\n])\nif test \"x$verge_cv_need_platformsupport\" = xyes; then\n- VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}PlatformSupport],[main],,VERGE_QT_FAIL(lib${QT_LIB_PREFIX}PlatformSupport not found)))\n+ if test x$verge_cv_qt58 = xno; then\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}PlatformSupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXPlatformSupport not found)))\n+ else\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}FontDatabaseSupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXFontDatabaseSupport not found)))\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}EventDispatcherSupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXEventDispatcherSupport not found)))\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}ThemeSupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXThemeSupport not found)))\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}FbSupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXFbSupport not found)))\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}DeviceDiscoverySupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXDeviceDiscoverySupport not found)))\n+ VERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}AccessibilitySupport],[main],,VERGE_QT_FAIL(lib$QT_LIB_PREFIXAccessibilitySupport not found)))\n+ QT_LIBS=\"$QT_LIBS -lversion -ldwmapi -luxtheme\"\nfi\nfi\nfi\n- else\n- if test \"x$qt_plugin_path\" != x; then\n- QT_LIBS=\"$QT_LIBS -L$qt_plugin_path/accessible\"\n- QT_LIBS=\"$QT_LIBS -L$qt_plugin_path/codecs\"\nfi\nfi\n])\n@@ -407,38 +424,14 @@ dnl first.\ndnl Inputs: $1: If verge_qt_want_version is \"auto\", check for this version\ndnl first.\ndnl Outputs: All necessary QT_* variables are set.\n-dnl Outputs: verge_qt_got_major_vers is set to \"4\" or \"5\".\ndnl Outputs: have_qt_test and have_qt_dbus are set (if applicable) to yes|no.\nAC_DEFUN([_VERGE_QT_FIND_LIBS_WITH_PKGCONFIG],[\nm4_ifdef([PKG_CHECK_MODULES],[\n- auto_priority_version=$1\n- if test \"x$auto_priority_version\" = x; then\n- auto_priority_version=qt5\n- fi\n- if test \"x$verge_qt_want_version\" = xqt5 || ( test \"x$verge_qt_want_version\" = xauto && test \"x$auto_priority_version\" = xqt5 ); then\nQT_LIB_PREFIX=Qt5\n- verge_qt_got_major_vers=5\n- else\n- QT_LIB_PREFIX=Qt\n- verge_qt_got_major_vers=4\n- fi\nqt5_modules=\"Qt5Core Qt5Gui Qt5Network Qt5Widgets\"\n- qt4_modules=\"QtCore QtGui QtNetwork\"\nVERGE_QT_CHECK([\n- if test \"x$verge_qt_want_version\" = xqt5 || ( test \"x$verge_qt_want_version\" = xauto && test \"x$auto_priority_version\" = xqt5 ); then\nPKG_CHECK_MODULES([QT5], [$qt5_modules], [QT_INCLUDES=\"$QT5_CFLAGS\"; QT_LIBS=\"$QT5_LIBS\" have_qt=yes],[have_qt=no])\n- elif test \"x$verge_qt_want_version\" = xqt4 || ( test \"x$verge_qt_want_version\" = xauto && test \"x$auto_priority_version\" = xqt4 ); then\n- PKG_CHECK_MODULES([QT4], [$qt4_modules], [QT_INCLUDES=\"$QT4_CFLAGS\"; QT_LIBS=\"$QT4_LIBS\" ; have_qt=yes], [have_qt=no])\n- fi\n- dnl qt version is set to 'auto' and the preferred version wasn't found. Now try the other.\n- if test \"x$have_qt\" = xno && test \"x$verge_qt_want_version\" = xauto; then\n- if test \"x$auto_priority_version\" = xqt5; then\n- PKG_CHECK_MODULES([QT4], [$qt4_modules], [QT_INCLUDES=\"$QT4_CFLAGS\"; QT_LIBS=\"$QT4_LIBS\" ; have_qt=yes; QT_LIB_PREFIX=Qt; verge_qt_got_major_vers=4], [have_qt=no])\n- else\n- PKG_CHECK_MODULES([QT5], [$qt5_modules], [QT_INCLUDES=\"$QT5_CFLAGS\"; QT_LIBS=\"$QT5_LIBS\" ; have_qt=yes; QT_LIB_PREFIX=Qt5; verge_qt_got_major_vers=5], [have_qt=no])\n- fi\n- fi\nif test \"x$have_qt\" != xyes; then\nhave_qt=no\nVERGE_QT_FAIL([Qt dependencies not found])\n@@ -459,7 +452,6 @@ dnl from the discovered headers.\ndnl Inputs: verge_qt_want_version (from --with-gui=). The version to use.\ndnl If \"auto\", the version will be discovered by _VERGE_QT_CHECK_QT5.\ndnl Outputs: All necessary QT_* variables are set.\n-dnl Outputs: verge_qt_got_major_vers is set to \"4\" or \"5\".\ndnl Outputs: have_qt_test and have_qt_dbus are set (if applicable) to yes|no.\nAC_DEFUN([_VERGE_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[\nTEMP_CPPFLAGS=\"$CPPFLAGS\"\n@@ -480,14 +472,9 @@ AC_DEFUN([_VERGE_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[\nVERGE_QT_CHECK([\nif test \"x$verge_qt_want_version\" = xauto; then\n_VERGE_QT_CHECK_QT5\n+ _VERGE_QT_CHECK_QT58\nfi\n- if test \"x$verge_cv_qt5\" = xyes || test \"x$verge_qt_want_version\" = xqt5; then\nQT_LIB_PREFIX=Qt5\n- verge_qt_got_major_vers=5\n- else\n- QT_LIB_PREFIX=Qt\n- verge_qt_got_major_vers=4\n- fi\n])\nVERGE_QT_CHECK([\n@@ -502,16 +489,19 @@ AC_DEFUN([_VERGE_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[\n])\nVERGE_QT_CHECK(AC_CHECK_LIB([z] ,[main],,AC_MSG_WARN([zlib not found. Assuming qt has it built-in])))\n- VERGE_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtpng png],,AC_MSG_WARN([libpng not found. Assuming qt has it built-in])))\nVERGE_QT_CHECK(AC_SEARCH_LIBS([jpeg_create_decompress] ,[qtjpeg jpeg],,AC_MSG_WARN([libjpeg not found. Assuming qt has it built-in])))\n+ if test x$verge_cv_qt58 = xno; then\n+ VERGE_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtpng png],,AC_MSG_WARN([libpng not found. Assuming qt has it built-in])))\nVERGE_QT_CHECK(AC_SEARCH_LIBS([pcre16_exec], [qtpcre pcre16],,AC_MSG_WARN([libpcre16 not found. Assuming qt has it built-in])))\n- VERGE_QT_CHECK(AC_SEARCH_LIBS([hb_ot_tags_from_script] ,[qtharfbuzzng harfbuzz],,AC_MSG_WARN([libharfbuzz not found. Assuming qt has it built-in or support is disabled])))\n+ else\n+ VERGE_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtlibpng png],,AC_MSG_WARN([libpng not found. Assuming qt has it built-in])))\n+ VERGE_QT_CHECK(AC_SEARCH_LIBS([pcre2_match_16], [qtpcre2 libqtpcre2],,AC_MSG_WARN([libqtpcre2 not found. Assuming qt has it built-in])))\n+ fi\n+ VERGE_QT_CHECK(AC_SEARCH_LIBS([hb_ot_tags_from_script] ,[qtharfbuzzng qtharfbuzz harfbuzz],,AC_MSG_WARN([libharfbuzz not found. Assuming qt has it built-in or support is disabled])))\nVERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Core] ,[main],,VERGE_QT_FAIL(lib${QT_LIB_PREFIX}Core not found)))\nVERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Gui] ,[main],,VERGE_QT_FAIL(lib${QT_LIB_PREFIX}Gui not found)))\nVERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Network],[main],,VERGE_QT_FAIL(lib${QT_LIB_PREFIX}Network not found)))\n- if test \"x$verge_qt_got_major_vers\" = x5; then\nVERGE_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Widgets],[main],,VERGE_QT_FAIL(lib${QT_LIB_PREFIX}Widgets not found)))\n- fi\nQT_LIBS=\"$LIBS\"\nLIBS=\"$TEMP_LIBS\"\n@@ -537,4 +527,3 @@ AC_DEFUN([_VERGE_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[\nCXXFLAGS=\"$TEMP_CXXFLAGS\"\nLIBS=\"$TEMP_LIBS\"\n])\n-\n"
}
]
| C++ | MIT License | vergecurrency/verge | Fix QT and protobuf mks for cross-compiling binaries |
714,092 | 08.03.2019 13:38:57 | -3,600 | 963a3a0d86087c751d14d801b3b92506872e5649 | Enable new pipeline for verge test builds | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "-sudo: true\n-language: cpp\n-\n-matrix:\n- include:\n- - os: linux\ndist: xenial\n- - os: osx\n- osx_image: xcode10.1\n-\n-addons:\n- apt:\n- sources:\n- - ubuntu-toolchain-r-test\n- - llvm-toolchain-precise-3.8\n- packages:\n- - g++-6\n- - clang-3.8\n- - build-essential\n- - libtool\n- - autotools-dev\n- - automake\n- - pkg-config\n- - bsdmainutils\n- - python3\n- - libssl-dev\n- - libevent-dev\n- - libboost-all-dev\n- - zlib1g-dev\n- - libseccomp-dev\n- - libcap-dev\n- - libncap-dev\n- - libdb-dev\n- - libdb++-dev\n- - libminiupnpc-dev\n- - libzmq3-dev\n- - libqt5gui5\n- - libqt5core5a\n- - libqt5dbus5\n- - qttools5-dev\n- - qttools5-dev-tools\n- - libprotobuf-dev\n- - protobuf-compiler\n- - libqrencode-dev\n-\n+os: linux\n+language: minimal\n+cache:\n+ ccache: true\n+ directories:\n+ - depends/built\n+ - depends/sdk-sources\n+ - $HOME/.ccache\n+stages:\n+ - lint\n+ - test\n+env:\n+ global:\n+ - MAKEJOBS=-j3\n+ - RUN_UNIT_TESTS=false\n+ - RUN_FUNCTIONAL_TESTS=false\n+ - RUN_FUZZ_TESTS=false\n+ - DOCKER_NAME_TAG=ubuntu:18.04\n+ - BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID\n+ - CCACHE_SIZE=100M\n+ - CCACHE_TEMPDIR=/tmp/.ccache-temp\n+ - CCACHE_COMPRESS=1\n+ - CCACHE_DIR=$HOME/.ccache\n+ - BASE_OUTDIR=$TRAVIS_BUILD_DIR/out\n+ - SDK_URL=https://bitcoincore.org/depends-sources/sdks\n+ - WINEDEBUG=fixme-all\n+ - DOCKER_PACKAGES=\"build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache\"\nbefore_install:\n- - if [[ \"$TRAVIS_OS_NAME\" == \"osx\" ]]; then brew update; fi\n- # openssl and boost are already pre-installed on travis\n- - if [[ \"$TRAVIS_OS_NAME\" == \"osx\" ]]; then brew install automake berkeley-db4 libtool miniupnpc pkg-config protobuf python qt libevent qrencode; fi\n+ - set -o errexit; source .travis/test_03_before_install.sh\n+install:\n+ - set -o errexit; source .travis/test_04_install.sh\n+before_script:\n+ - set -o errexit; source .travis/test_05_before_script.sh\n+script:\n+ - if [ $SECONDS -gt 1200 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_a.sh; fi\n+ - if [ $SECONDS -gt 1800 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_b.sh; fi\n+after_script:\n+ - echo $TRAVIS_COMMIT_RANGE\n+ - echo $TRAVIS_COMMIT_LOG\n+jobs:\n+ include:\n+ - stage: lint\n+ name: 'lint'\n+ env:\n+ cache: false\n+ language: python\n+ python: '3.5' # Oldest supported version according to doc/dependencies.md\n+ install:\n+ - set -o errexit; source .travis/lint_04_install.sh\n+ before_script:\n+ - set -o errexit; source .travis/lint_05_before_script.sh\nscript:\n- - ./autogen.sh # prepare all build-aux and update submodules\n- - ./configure --with-incompatible-bdb --disable-bench # configure all sources for the compiling process\n- - make -j3 # make sources\n\\ No newline at end of file\n+ - set -o errexit; source .travis/lint_06_script.sh\n+\n+ - stage: test\n+ name: 'ARM [GOAL: install] [no unit or functional tests]'\n+ env: >-\n+ HOST=arm-linux-gnueabihf\n+ PACKAGES=\"python3 g++-arm-linux-gnueabihf\"\n+ RUN_UNIT_TESTS=false\n+ RUN_FUNCTIONAL_TESTS=false\n+ GOAL=\"install\"\n+ # -Wno-psabi is to disable ABI warnings: \"note: parameter passing for argument of type ... changed in GCC 7.1\"\n+ # This could be removed once the ABI change warning does not show up by default\n+ BITCOIN_CONFIG=\"--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi --disable-bench\"\n+\n+ - stage: test\n+ name: 'Win32 [GOAL: deploy] [no gui or functional tests]'\n+ env: >-\n+ HOST=i686-w64-mingw32\n+ DPKG_ADD_ARCH=\"i386\"\n+ PACKAGES=\"python3 nsis g++-mingw-w64-i686 wine-binfmt wine32\"\n+ RUN_FUNCTIONAL_TESTS=false\n+ GOAL=\"deploy\"\n+ BITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n+\n+ - stage: test\n+ name: 'Win64 [GOAL: deploy] [no gui or functional tests]'\n+ env: >-\n+ HOST=x86_64-w64-mingw32\n+ PACKAGES=\"python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64\"\n+ RUN_FUNCTIONAL_TESTS=false\n+ GOAL=\"deploy\"\n+ BITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n+\n+ - stage: test\n+ name: '32-bit + dash [GOAL: install] [GUI: no BIP70]'\n+ env: >-\n+ HOST=i686-pc-linux-gnu\n+ PACKAGES=\"g++-multilib python3-zmq\"\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--enable-zmq --with-gui=qt5 --disable-bip70 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++ --disable-bench\"\n+ CONFIG_SHELL=\"/bin/dash\"\n+\n+ - stage: test\n+ name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout]'\n+ env: >-\n+ HOST=x86_64-unknown-linux-gnu\n+ PACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev\"\n+ DEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n+\n+ - stage: test\n+ name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'\n+ env: >-\n+ HOST=x86_64-unknown-linux-gnu\n+ DOCKER_NAME_TAG=ubuntu:14.04\n+ PACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools libicu-dev libpng-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev\"\n+ NO_DEPENDS=1\n+ RUN_FUNCTIONAL_TESTS=false\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-incompatible-bdb --with-gui=no\"\n+\n+ - stage: test\n+ name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'\n+ env: >-\n+ HOST=x86_64-unknown-linux-gnu\n+ DOCKER_NAME_TAG=ubuntu:16.04\n+ PACKAGES=\"clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev\"\n+ NO_DEPENDS=1\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++\"\n+\n+ - stage: test\n+ name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'\n+ env: >-\n+ HOST=x86_64-unknown-linux-gnu\n+ PACKAGES=\"clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev\"\n+ NO_DEPENDS=1\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=address,integer,undefined CC=clang CXX=clang++\"\n+\n+ - stage: test\n+ name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address]'\n+ env: >-\n+ HOST=x86_64-unknown-linux-gnu\n+ PACKAGES=\"clang llvm python3 libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev\"\n+ NO_DEPENDS=1\n+ RUN_UNIT_TESTS=false\n+ RUN_FUNCTIONAL_TESTS=false\n+ RUN_FUZZ_TESTS=true\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--disable-bench --disable-wallet --disable-bench --with-utils=no --with-daemon=no --with-libs=no --with-gui=no --enable-fuzz --with-sanitizers=fuzzer,address CC=clang CXX=clang++\"\n+\n+ - stage: test\n+ name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'\n+ env: >-\n+ HOST=x86_64-unknown-linux-gnu\n+ PACKAGES=\"python3-zmq\"\n+ DEP_OPTS=\"NO_WALLET=1\"\n+ GOAL=\"install\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-glibc-back-compat --enable-reduce-exports\"\n+\n+ - stage: test\n+ name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'\n+ env: >-\n+ HOST=x86_64-apple-darwin14\n+ PACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git\"\n+ OSX_SDK=10.11\n+ RUN_UNIT_TESTS=false\n+ RUN_FUNCTIONAL_TESTS=false\n+ GOAL=\"deploy\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-gui --enable-reduce-exports --enable-werror\"\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/lint_06_script.sh",
"new_path": ".travis/lint_06_script.sh",
"diff": "@@ -14,9 +14,9 @@ fi\n#test/lint/git-subtree-check.sh src/secp256k1\n#test/lint/git-subtree-check.sh src/univalue\n#test/lint/git-subtree-check.sh src/leveldb\n-test/lint/check-doc.py\n-test/lint/check-rpc-mappings.py .\n-test/lint/lint-all.sh\n+#test/lint/check-doc.py\n+#test/lint/check-rpc-mappings.py .\n+#test/lint/lint-all.sh\n#if [ \"$TRAVIS_REPO_SLUG\" = \"bitcoin/bitcoin\" -a \"$TRAVIS_EVENT_TYPE\" = \"cron\" ]; then\n# git log --merges --before=\"2 days ago\" -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit\n"
},
{
"change_type": "UNKNOWN",
"old_path": "test/lint/check-doc.py",
"new_path": "test/lint/check-doc.py",
"diff": ""
},
{
"change_type": "UNKNOWN",
"old_path": "test/lint/check-rpc-mappings.py",
"new_path": "test/lint/check-rpc-mappings.py",
"diff": ""
}
]
| C++ | MIT License | vergecurrency/verge | Enable new pipeline for verge test builds |
714,092 | 08.03.2019 13:56:43 | -3,600 | b07248b032095e7be942d6a56860475b1956a462 | Script for testing and running other commands on travis | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".travis/test_06_script_a.sh",
"diff": "+#!/usr/bin/env bash\n+#\n+# Copyright (c) 2018 The Bitcoin Core developers\n+# Distributed under the MIT software license, see the accompanying\n+# file COPYING or http://www.opensource.org/licenses/mit-license.php.\n+\n+export LC_ALL=C.UTF-8\n+\n+TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)\n+export TRAVIS_COMMIT_LOG\n+\n+OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\n+BITCOIN_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\n+if [ -z \"$NO_DEPENDS\" ]; then\n+ DOCKER_EXEC ccache --max-size=$CCACHE_SIZE\n+fi\n+\n+BEGIN_FOLD autogen\n+if [ -n \"$CONFIG_SHELL\" ]; then\n+ DOCKER_EXEC \"$CONFIG_SHELL\" -c \"./autogen.sh\"\n+else\n+ DOCKER_EXEC ./autogen.sh\n+fi\n+END_FOLD\n+\n+mkdir build\n+cd build || (echo \"could not enter build directory\"; exit 1)\n+\n+BEGIN_FOLD configure\n+DOCKER_EXEC ../configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)\n+END_FOLD\n+\n+BEGIN_FOLD distdir\n+DOCKER_EXEC make distdir VERSION=$HOST\n+END_FOLD\n+\n+cd \"bitcoin-$HOST\" || (echo \"could not enter distdir bitcoin-$HOST\"; exit 1)\n+\n+BEGIN_FOLD configure\n+DOCKER_EXEC ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)\n+END_FOLD\n+\n+set -o errtrace\n+trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n+\n+BEGIN_FOLD build\n+DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\n+END_FOLD\n+\n+cd ${TRAVIS_BUILD_DIR} || (echo \"could not enter travis build dir $TRAVIS_BUILD_DIR\"; exit 1)\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": ".travis/test_06_script_b.sh",
"diff": "+#!/usr/bin/env bash\n+#\n+# Copyright (c) 2018 The Bitcoin Core developers\n+# Distributed under the MIT software license, see the accompanying\n+# file COPYING or http://www.opensource.org/licenses/mit-license.php.\n+\n+export LC_ALL=C.UTF-8\n+\n+cd \"build/bitcoin-$HOST\" || (echo \"could not enter distdir build/bitcoin-$HOST\"; exit 1)\n+\n+if [ \"$RUN_UNIT_TESTS\" = \"true\" ]; then\n+ BEGIN_FOLD unit-tests\n+ DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1\n+ END_FOLD\n+fi\n+\n+if [ \"$RUN_FUNCTIONAL_TESTS\" = \"true\" ]; then\n+ BEGIN_FOLD functional-tests\n+ DOCKER_EXEC test/functional/test_runner.py --ci --combinedlogslen=4000 --coverage --quiet --failfast\n+ END_FOLD\n+fi\n+\n+if [ \"$RUN_FUZZ_TESTS\" = \"true\" ]; then\n+ BEGIN_FOLD fuzz-tests\n+ DOCKER_EXEC test/fuzz/test_runner.py -l DEBUG ${DIR_FUZZ_IN}\n+ END_FOLD\n+fi\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Script for testing and running other commands on travis |
714,092 | 08.03.2019 15:36:19 | -3,600 | e24307c5750cfbe995c1a75bb19377c22fcfa98e | Adding libseccomp mk | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "depends/packages/libseccomp.mk",
"diff": "+package=libseccomp\n+$(package)_version=2.3.3\n+$(package)_download_path=https://github.com/seccomp/libseccomp/releases/download/v$($(package)_version)/\n+$(package)_file_name=$(package)-$($(package)_version).tar.gz\n+$(package)_sha256_hash=7fc28f4294cc72e61c529bedf97e705c3acf9c479a8f1a3028d4cd2ca9f3b155\n+\n+define $(package)_set_vars\n+$(package)_config_opts=--disable-static\n+endef\n+\n+define $(package)_config_cmds\n+ $($(package)_autoconf)\n+endef\n+\n+define $(package)_build_cmds\n+ $(MAKE) V=1\n+endef\n+\n+define $(package)_stage_cmds\n+ $(MAKE) DESTDIR=$($(package)_staging_dir) install\n+endef\n"
},
{
"change_type": "MODIFY",
"old_path": "depends/packages/packages.mk",
"new_path": "depends/packages/packages.mk",
"diff": "-packages:=boost openssl libevent zeromq\n+packages:=boost openssl libevent zeromq libseccomp\nqt_native_packages = native_protobuf\nqt_packages = qrencode protobuf zlib\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adding libseccomp mk |
714,092 | 08.03.2019 16:07:49 | -3,600 | b33cb1638134a96aae0e7abf8bae68ee402f77ce | Add libcap mk for depends builds | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "depends/packages/libcap.mk",
"diff": "+package=libcap\n+$(package)_version=2.26\n+$(package)_download_path=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/\n+$(package)_file_name=$(package)-$($(package)_version).tar.gz\n+$(package)_sha256_hash=94fa5a39f1a67a2c41bc01a895702cb3f46caef37dae7a6c8cceb1f5853afdcd\n+\n+define $(package)_set_vars\n+ $(package)_config_opts=--disable-static\n+endef\n+\n+define $(package)_build_cmds\n+ $(MAKE)\n+endef\n+\n+define $(package)_stage_cmds\n+ $(MAKE) DESTDIR=$($(package)_staging_dir) install\n+endef\n"
},
{
"change_type": "MODIFY",
"old_path": "depends/packages/libseccomp.mk",
"new_path": "depends/packages/libseccomp.mk",
"diff": "@@ -13,7 +13,7 @@ define $(package)_config_cmds\nendef\ndefine $(package)_build_cmds\n- $(MAKE) V=1\n+ $(MAKE)\nendef\ndefine $(package)_stage_cmds\n"
},
{
"change_type": "MODIFY",
"old_path": "depends/packages/packages.mk",
"new_path": "depends/packages/packages.mk",
"diff": "-packages:=boost openssl libevent zeromq libseccomp\n+packages:=boost openssl libevent zeromq libcap libseccomp\nqt_native_packages = native_protobuf\nqt_packages = qrencode protobuf zlib\n"
}
]
| C++ | MIT License | vergecurrency/verge | Add libcap mk for depends builds |
714,092 | 08.03.2019 21:05:03 | -3,600 | 12585eef25d3c0f82b2a3ede8dd354fbec645883 | Clean up and simplify travis jobs | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -55,19 +55,16 @@ jobs:\n- set -o errexit; source .travis/lint_06_script.sh\n- stage: test\n- name: 'ARM [GOAL: install] [no unit or functional tests]'\n+ name: 'x86_64 Linux'\nenv: >-\n- HOST=arm-linux-gnueabihf\n- PACKAGES=\"python3 g++-arm-linux-gnueabihf\"\n- RUN_UNIT_TESTS=false\n- RUN_FUNCTIONAL_TESTS=false\n+ HOST=x86_64-unknown-linux-gnu\n+ PACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\n+ DEP_OPTS=\"NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\nGOAL=\"install\"\n- # -Wno-psabi is to disable ABI warnings: \"note: parameter passing for argument of type ... changed in GCC 7.1\"\n- # This could be removed once the ABI change warning does not show up by default\n- BITCOIN_CONFIG=\"--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi --disable-bench\"\n+ BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n- - stage: test\n- name: 'Win32 [GOAL: deploy] [no gui or functional tests]'\n+ - stage: deploy\n+ name: 'Windows 32-bit'\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n@@ -76,8 +73,8 @@ jobs:\nGOAL=\"deploy\"\nBITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n- - stage: test\n- name: 'Win64 [GOAL: deploy] [no gui or functional tests]'\n+ - stage: deploy\n+ name: 'Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\nPACKAGES=\"python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64\"\n@@ -85,77 +82,9 @@ jobs:\nGOAL=\"deploy\"\nBITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n- - stage: test\n- name: '32-bit + dash [GOAL: install] [GUI: no BIP70]'\n- env: >-\n- HOST=i686-pc-linux-gnu\n- PACKAGES=\"g++-multilib python3-zmq\"\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--enable-zmq --with-gui=qt5 --disable-bip70 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++ --disable-bench\"\n- CONFIG_SHELL=\"/bin/dash\"\n-\n- - stage: test\n- name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout]'\n- env: >-\n- HOST=x86_64-unknown-linux-gnu\n- PACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev\"\n- DEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n-\n- - stage: test\n- name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'\n- env: >-\n- HOST=x86_64-unknown-linux-gnu\n- DOCKER_NAME_TAG=ubuntu:14.04\n- PACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools libicu-dev libpng-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev\"\n- NO_DEPENDS=1\n- RUN_FUNCTIONAL_TESTS=false\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-incompatible-bdb --with-gui=no\"\n-\n- - stage: test\n- name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'\n- env: >-\n- HOST=x86_64-unknown-linux-gnu\n- DOCKER_NAME_TAG=ubuntu:16.04\n- PACKAGES=\"clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev\"\n- NO_DEPENDS=1\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++\"\n-\n- - stage: test\n- name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'\n- env: >-\n- HOST=x86_64-unknown-linux-gnu\n- PACKAGES=\"clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev\"\n- NO_DEPENDS=1\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=address,integer,undefined CC=clang CXX=clang++\"\n-\n- - stage: test\n- name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address]'\n- env: >-\n- HOST=x86_64-unknown-linux-gnu\n- PACKAGES=\"clang llvm python3 libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev\"\n- NO_DEPENDS=1\n- RUN_UNIT_TESTS=false\n- RUN_FUNCTIONAL_TESTS=false\n- RUN_FUZZ_TESTS=true\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--disable-bench --disable-wallet --disable-bench --with-utils=no --with-daemon=no --with-libs=no --with-gui=no --enable-fuzz --with-sanitizers=fuzzer,address CC=clang CXX=clang++\"\n- - stage: test\n- name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'\n- env: >-\n- HOST=x86_64-unknown-linux-gnu\n- PACKAGES=\"python3-zmq\"\n- DEP_OPTS=\"NO_WALLET=1\"\n- GOAL=\"install\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-glibc-back-compat --enable-reduce-exports\"\n-\n- - stage: test\n- name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'\n+ - stage: deploy\n+ name: 'macOS 10.10+'\nenv: >-\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Clean up and simplify travis jobs |
714,092 | 08.03.2019 23:16:22 | -3,600 | ca38f46ddb59290c4ee5d33d5e45b1f746d756bd | Disable special packages and add them by default | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -55,7 +55,7 @@ jobs:\n- set -o errexit; source .travis/lint_06_script.sh\n- stage: test\n- name: 'x86_64 Linux'\n+ name: '[Test] Linux 64-bit'\nenv: >-\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\n@@ -68,7 +68,7 @@ jobs:\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis g++-mingw-w64-i686 wine-binfmt wine32\"\n+ PACKAGES=\"python3 nsis g++-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nBITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n@@ -77,7 +77,7 @@ jobs:\nname: 'Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64\"\n+ PACKAGES=\"python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nBITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n@@ -87,7 +87,7 @@ jobs:\nname: 'macOS 10.10+'\nenv: >-\nHOST=x86_64-apple-darwin14\n- PACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git\"\n+ PACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\nOSX_SDK=10.11\nRUN_UNIT_TESTS=false\nRUN_FUNCTIONAL_TESTS=false\n"
},
{
"change_type": "MODIFY",
"old_path": "depends/packages/packages.mk",
"new_path": "depends/packages/packages.mk",
"diff": "-packages:=boost openssl libevent zeromq libcap libseccomp\n+packages:=boost openssl libevent zeromq #libcap libseccomp\nqt_native_packages = native_protobuf\nqt_packages = qrencode protobuf zlib\n"
}
]
| C++ | MIT License | vergecurrency/verge | Disable special packages and add them by default |
714,092 | 09.03.2019 08:13:37 | -3,600 | fbf4bbc035d5a71110cf316af2e59286e428fee8 | Deactivate QT building for the test scenario (speed up processing) | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -59,7 +59,7 @@ jobs:\nenv: >-\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\n- DEP_OPTS=\"NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n+ DEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\nGOAL=\"install\"\nBITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Deactivate QT building for the test scenario (speed up processing) |
714,092 | 09.03.2019 08:39:08 | -3,600 | 056ee6ee643ab001beb6b5673ede484b3aaec536 | Adjust bitcoin to VERGE | [
{
"change_type": "MODIFY",
"old_path": ".travis/lint_06_script.sh",
"new_path": ".travis/lint_06_script.sh",
"diff": "@@ -18,7 +18,7 @@ fi\n#test/lint/check-rpc-mappings.py .\n#test/lint/lint-all.sh\n-#if [ \"$TRAVIS_REPO_SLUG\" = \"bitcoin/bitcoin\" -a \"$TRAVIS_EVENT_TYPE\" = \"cron\" ]; then\n+#if [ \"$TRAVIS_REPO_SLUG\" = \"vergecurrency/VERGE\" -a \"$TRAVIS_EVENT_TYPE\" = \"cron\" ]; then\n# git log --merges --before=\"2 days ago\" -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit\n# while read -r LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys &&\n# travis_wait 50 contrib/verify-commits/verify-commits.py --clean-merge=2;\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_04_install.sh",
"new_path": ".travis/test_04_install.sh",
"diff": "@@ -12,10 +12,10 @@ export ASAN_OPTIONS=\"\"\nexport LSAN_OPTIONS=\"suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/lsan\"\nexport TSAN_OPTIONS=\"suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/tsan:log_path=${TRAVIS_BUILD_DIR}/sanitizer-output/tsan\"\nexport UBSAN_OPTIONS=\"suppressions=${TRAVIS_BUILD_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1\"\n-env | grep -E '^(BITCOIN_CONFIG|CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL|(ASAN|LSAN|TSAN|UBSAN)_OPTIONS)' | tee /tmp/env\n+env | grep -E '^(VERGE_CONFIG|CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL|(ASAN|LSAN|TSAN|UBSAN)_OPTIONS)' | tee /tmp/env\nif [[ $HOST = *-mingw32 ]]; then\nDOCKER_ADMIN=\"--cap-add SYS_ADMIN\"\n-elif [[ $BITCOIN_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASan + LSan), Docker needs access to ptrace (https://github.com/google/sanitizers/issues/764)\n+elif [[ $VERGE_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASan + LSan), Docker needs access to ptrace (https://github.com/google/sanitizers/issues/764)\nDOCKER_ADMIN=\"--cap-add SYS_PTRACE\"\nfi\nDOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env $DOCKER_NAME_TAG)\n"
},
{
"change_type": "DELETE",
"old_path": ".travis/test_06_script.sh",
"new_path": null,
"diff": "-#!/usr/bin/env bash\n-#\n-# Copyright (c) 2018 The Bitcoin Core developers\n-# Distributed under the MIT software license, see the accompanying\n-# file COPYING or http://www.opensource.org/licenses/mit-license.php.\n-\n-export LC_ALL=C.UTF-8\n-\n-TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)\n-export TRAVIS_COMMIT_LOG\n-\n-OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\n-BITCOIN_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\n-if [ -z \"$NO_DEPENDS\" ]; then\n- DOCKER_EXEC ccache --max-size=$CCACHE_SIZE\n-fi\n-\n-BEGIN_FOLD autogen\n-if [ -n \"$CONFIG_SHELL\" ]; then\n- DOCKER_EXEC \"$CONFIG_SHELL\" -c \"./autogen.sh\"\n-else\n- DOCKER_EXEC ./autogen.sh\n-fi\n-END_FOLD\n-\n-mkdir build\n-cd build || (echo \"could not enter build directory\"; exit 1)\n-\n-BEGIN_FOLD configure\n-DOCKER_EXEC ../configure $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)\n-END_FOLD\n-\n-BEGIN_FOLD distdir\n-DOCKER_EXEC make distdir VERSION=$HOST\n-END_FOLD\n-\n-cd \"bitcoin-$HOST\" || (echo \"could not enter distdir bitcoin-$HOST\"; exit 1)\n-\n-BEGIN_FOLD configure\n-DOCKER_EXEC ./configure $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)\n-END_FOLD\n-\n-set -o errtrace\n-trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n-\n-BEGIN_FOLD build\n-DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\n-END_FOLD\n-\n-if [ \"$RUN_UNIT_TESTS\" = \"true\" ]; then\n- BEGIN_FOLD unit-tests\n- DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1\n- END_FOLD\n-fi\n-\n-if [ \"$TRAVIS_EVENT_TYPE\" = \"cron\" ]; then\n- extended=\"--extended --exclude feature_pruning\"\n-fi\n-\n-if [ \"$RUN_FUNCTIONAL_TESTS\" = \"true\" ]; then\n- BEGIN_FOLD functional-tests\n- DOCKER_EXEC test/functional/test_runner.py --ci --combinedlogslen=4000 --coverage --quiet --failfast ${extended} ${FUNCTIONAL_TESTS_CONFIG}\n- END_FOLD\n-fi\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -10,7 +10,7 @@ TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)\nexport TRAVIS_COMMIT_LOG\nOUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\n-BITCOIN_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\n+VERGE_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\nif [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC ccache --max-size=$CCACHE_SIZE\nfi\n@@ -27,17 +27,17 @@ mkdir build\ncd build || (echo \"could not enter build directory\"; exit 1)\nBEGIN_FOLD configure\n-DOCKER_EXEC ../configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)\n+DOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\nBEGIN_FOLD distdir\nDOCKER_EXEC make distdir VERSION=$HOST\nEND_FOLD\n-cd \"bitcoin-$HOST\" || (echo \"could not enter distdir bitcoin-$HOST\"; exit 1)\n+cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\nBEGIN_FOLD configure\n-DOCKER_EXEC ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)\n+DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\nset -o errtrace\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_b.sh",
"new_path": ".travis/test_06_script_b.sh",
"diff": "export LC_ALL=C.UTF-8\n-cd \"build/bitcoin-$HOST\" || (echo \"could not enter distdir build/bitcoin-$HOST\"; exit 1)\n+cd \"build/verge-$HOST\" || (echo \"could not enter distdir build/verge-$HOST\"; exit 1)\nif [ \"$RUN_UNIT_TESTS\" = \"true\" ]; then\nBEGIN_FOLD unit-tests\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adjust bitcoin to VERGE |
714,092 | 09.03.2019 10:56:07 | -3,600 | 6dd8a101e8d76e43a1405537ada71b7f5314adb6 | Clean up module configurations | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1403,9 +1403,8 @@ if test x$need_bundled_univalue = xyes; then\nAC_CONFIG_SUBDIRS([src/univalue])\nfi\n-ac_configure_args=\"${ac_configure_args} --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc --with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl) CFLAGS=$($PKG_CONFIG --cflags openssl)\"\nAC_CONFIG_SUBDIRS([src/secp256k1])\n-AC_CONFIG_SUBDIRS([src/tor])\n+AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-unittests], [--enable-module-recovery], [--disable-jni], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc]])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Clean up module configurations |
714,092 | 09.03.2019 11:28:21 | -3,600 | fe749f9de786545eff7d07c3fdc99435dc80588d | Remove distdir creation and second configuration for simplicity | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -30,15 +30,15 @@ BEGIN_FOLD configure\nDOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n-BEGIN_FOLD distdir\n-DOCKER_EXEC make distdir VERSION=$HOST\n-END_FOLD\n+# BEGIN_FOLD distdir\n+# DOCKER_EXEC make distdir VERSION=$HOST\n+# END_FOLD\n-cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+# cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n-BEGIN_FOLD configure\n-DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-END_FOLD\n+# BEGIN_FOLD configure\n+# DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+# END_FOLD\nset -o errtrace\ntrap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_b.sh",
"new_path": ".travis/test_06_script_b.sh",
"diff": "export LC_ALL=C.UTF-8\n-cd \"build/verge-$HOST\" || (echo \"could not enter distdir build/verge-$HOST\"; exit 1)\n+cd \"build\" || (echo \"could not enter distdir build\"; exit 1)\nif [ \"$RUN_UNIT_TESTS\" = \"true\" ]; then\nBEGIN_FOLD unit-tests\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove distdir creation and second configuration for simplicity |
714,092 | 09.03.2019 12:14:00 | -3,600 | 04368004b7a700b01053dbfd477166b7b66976ea | Remove explicit goals as it defaults to the right one | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -60,7 +60,6 @@ jobs:\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n- GOAL=\"install\"\nBITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n- stage: deploy\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove explicit goals as it defaults to the right one |
714,092 | 09.03.2019 12:15:05 | -3,600 | 47e4252f63ea2fbcfb460d0cd4291f544bd3a9a8 | Rename to VERGE config for travis to recognize | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -60,7 +60,7 @@ jobs:\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n+ VERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n- stage: deploy\nname: 'Windows 32-bit'\n@@ -70,7 +70,7 @@ jobs:\nPACKAGES=\"python3 nsis g++-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\n- BITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n- stage: deploy\nname: 'Windows 64-bit'\n@@ -79,7 +79,7 @@ jobs:\nPACKAGES=\"python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\n- BITCOIN_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n- stage: deploy\n@@ -91,4 +91,4 @@ jobs:\nRUN_UNIT_TESTS=false\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\n- BITCOIN_CONFIG=\"--disable-bench --enable-gui --enable-reduce-exports --enable-werror\"\n\\ No newline at end of file\n+ VERGE_CONFIG=\"--disable-bench --enable-gui --enable-reduce-exports --enable-werror\"\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Rename to VERGE config for travis to recognize |
714,092 | 09.03.2019 16:14:07 | -3,600 | c0009c0dfc935c65dc9872d475774989925e71ed | Fallback to standard subdir init | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1403,9 +1403,8 @@ if test x$need_bundled_univalue = xyes; then\nAC_CONFIG_SUBDIRS([src/univalue])\nfi\n-ac_configure_args=\"${ac_configure_args} --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc --with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl) CFLAGS=$($PKG_CONFIG --cflags openssl)\"\n-AC_CONFIG_SUBDIRS([src/secp256k1])\n-AC_CONFIG_SUBDIRS([src/tor])\n+AX_SUBDIRS_CONFIGURE([src/secp256k1], [[--disable-shared], [--with-pic], [--with-bignum=no], [--enable-module-recovery], [--enable-experimental], [--enable-module-ecdh]])\n+AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc]])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Fallback to standard subdir init |
714,092 | 09.03.2019 21:09:32 | -3,600 | 1686105b36af8e63abc1eca9085e2c74380cf1f6 | Disabling alternating compilers (some problem can happen) | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_05_before_script.sh",
"new_path": ".travis/test_05_before_script.sh",
"diff": "@@ -17,7 +17,7 @@ if [ -n \"$OSX_SDK\" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then\ntar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz\nfi\nif [[ $HOST = *-mingw32 ]]; then\n- DOCKER_EXEC update-alternatives --set $HOST-g++ \\$\\(which $HOST-g++-posix\\)\n+ #DOCKER_EXEC update-alternatives --set $HOST-g++ \\$\\(which $HOST-g++-posix\\)\nfi\nif [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC CONFIG_SHELL= make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS\n"
}
]
| C++ | MIT License | vergecurrency/verge | Disabling alternating compilers (some problem can happen) |
714,092 | 09.03.2019 23:47:36 | -3,600 | 1c8d3de90c8a878b0e6a6178d12a651077f0dc2a | Remove flags which might crash windows builds | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -635,10 +635,8 @@ clean-local:\n.rc.o:\n@test -f $(WINDRES)\n- ## FIXME: How to get the appropriate modulename_CPPFLAGS in here?\n- $(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) -DWINDRES_PREPROC -i $< -o $@\n- ## docker forwindows needs the line above this, changed to the one below.\n- ## $(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -DWINDRES_PREPROC -i $< -o $@\n+ $(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -DWINDRES_PREPROC -i $< -o $@\n+\ncheck-symbols: $(bin_PROGRAMS)\nif GLIBC_BACK_COMPAT\n@echo \"Checking glibc back compat...\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove flags which might crash windows builds |
714,092 | 10.03.2019 09:17:00 | -3,600 | e76ac4e9b2ef788f2408cfbc045e4cef0d8d1f51 | Checking some windows specifics to be disable for building windows | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -67,19 +67,19 @@ jobs:\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis g++-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis g++-mingw-w64-i686 mingw-w64-i686-dev wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: deploy\nname: 'Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis g++-mingw-w64-x86-64 mingw-w64-x86-64-dev wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: deploy\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_05_before_script.sh",
"new_path": ".travis/test_05_before_script.sh",
"diff": "@@ -16,9 +16,9 @@ fi\nif [ -n \"$OSX_SDK\" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then\ntar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz\nfi\n-# if [[ $HOST = *-mingw32 ]]; then\n-# DOCKER_EXEC update-alternatives --set $HOST-g++ \\$\\(which $HOST-g++-posix\\)\n-# fi\n+if [[ $HOST = *-mingw32 ]]; then\n+ DOCKER_EXEC update-alternatives --set $HOST-g++ \\$\\(which $HOST-g++-posix\\)\n+fi\nif [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC CONFIG_SHELL= make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS\nfi\n"
},
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -152,6 +152,12 @@ AC_ARG_ENABLE([hardening],\n[use_hardening=$enableval],\n[use_hardening=auto])\n+AC_ARG_ENABLE([windows],\n+ [AS_HELP_STRING([--enable-windows],\n+ [implements different compiling standards for windows 32/64bit)])],\n+ [use_windows=$enableval],\n+ [use_windows=no])\n+\nAC_ARG_ENABLE([reduce-exports],\n[AS_HELP_STRING([--enable-reduce-exports],\n[attempt to reduce exported symbols in the resulting executables (default is no)])],\n@@ -1305,6 +1311,7 @@ AM_CONDITIONAL([ENABLE_BENCH],[test x$use_bench = xyes])\nAM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])\nAM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes])\nAM_CONDITIONAL([GLIBC_BACK_COMPAT],[test x$use_glibc_compat = xyes])\n+AM_CONDITIONAL([WINDOWS],[test x$use_windows = xyes])\nAM_CONDITIONAL([HARDEN],[test x$use_hardening = xyes])\nAM_CONDITIONAL([ENABLE_HWCRC32],[test x$enable_hwcrc32 = xyes])\nAM_CONDITIONAL([ENABLE_SSE41],[test x$enable_sse41 = xyes])\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -633,9 +633,14 @@ clean-local:\n-rm -f config.h\n-rm -rf test/__pycache__\n-.rc.o:\n- @test -f $(WINDRES)\n+.rc.o: @test -f $(WINDRES)\n+if WINDOWS\n+ $(info >>> Generating windows specifics <<<)\n$(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -DWINDRES_PREPROC -i $< -o $@\n+else\n+ $(info >>> Defaulting to other systems <<<)\n+ $(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) -DWINDRES_PREPROC -i $< -o $@\n+endif\ncheck-symbols: $(bin_PROGRAMS)\nif GLIBC_BACK_COMPAT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Checking some windows specifics to be disable for building windows |
714,092 | 10.03.2019 18:03:34 | -3,600 | bac75599fb794b5adaafc12f0d3161e0c852a23f | Adding additional logs for configuration on travis | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -28,6 +28,7 @@ cd build || (echo \"could not enter build directory\"; exit 1)\nBEGIN_FOLD configure\nDOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+cat config.log\nEND_FOLD\n# BEGIN_FOLD distdir\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adding additional logs for configuration on travis |
714,092 | 10.03.2019 20:05:29 | -3,600 | a95a345fa01c5f276dcd570ae4009f1653a71d08 | Add new compiler editions and seperate distributions | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -40,7 +40,6 @@ after_script:\n- echo $TRAVIS_COMMIT_LOG\njobs:\ninclude:\n-\n- stage: lint\nname: 'lint'\nenv:\n@@ -67,7 +66,7 @@ jobs:\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis g++-mingw-w64-i686 mingw-w64-i686-dev wine-binfmt wine32 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n@@ -76,12 +75,11 @@ jobs:\nname: 'Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis g++-mingw-w64-x86-64 mingw-w64-x86-64-dev wine-binfmt wine64 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n-\n- stage: deploy\nname: 'macOS 10.10+'\nenv: >-\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -31,18 +31,18 @@ DOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONF\ncat config.log\nEND_FOLD\n-# BEGIN_FOLD distdir\n-# DOCKER_EXEC make distdir VERSION=$HOST\n-# END_FOLD\n+BEGIN_FOLD distdir\n+DOCKER_EXEC make distdir VERSION=$HOST\n+END_FOLD\n-# cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n-# BEGIN_FOLD configure\n-# DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-# END_FOLD\n+BEGIN_FOLD configure\n+DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+END_FOLD\n-set -o errtrace\n-trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n+# set -o errtrace\n+# trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\nBEGIN_FOLD build\nDOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\n"
}
]
| C++ | MIT License | vergecurrency/verge | Add new compiler editions and seperate distributions |
714,092 | 10.03.2019 20:06:19 | -3,600 | 8fde05fc4ae3b12e0c53ee2ddeaae15d03d2258a | Remove usless logging | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -28,7 +28,6 @@ cd build || (echo \"could not enter build directory\"; exit 1)\nBEGIN_FOLD configure\nDOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-cat config.log\nEND_FOLD\nBEGIN_FOLD distdir\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove usless logging |
714,092 | 10.03.2019 20:18:55 | -3,600 | 3fc5a3d5ed4a3bd899a16721d2ea62b2bb090646 | Simplify the travis workflow for faster processing | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -61,8 +61,8 @@ jobs:\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\nVERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n- - stage: deploy\n- name: 'Windows 32-bit'\n+ - stage: test\n+ name: '[Deploy] Windows 32-bit'\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n@@ -71,8 +71,8 @@ jobs:\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- - stage: deploy\n- name: 'Windows 64-bit'\n+ - stage: test\n+ name: '[Deploy] Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\nPACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine-binfmt wine64 libcap-dev libseccomp-dev\"\n@@ -80,8 +80,8 @@ jobs:\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- - stage: deploy\n- name: 'macOS 10.10+'\n+ - stage: test\n+ name: '[Deploy] macOS 10.10+'\nenv: >-\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -30,15 +30,15 @@ BEGIN_FOLD configure\nDOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n-BEGIN_FOLD distdir\n-DOCKER_EXEC make distdir VERSION=$HOST\n-END_FOLD\n+# BEGIN_FOLD distdir\n+# DOCKER_EXEC make distdir VERSION=$HOST\n+# END_FOLD\n-cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+# cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n-BEGIN_FOLD configure\n-DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-END_FOLD\n+# BEGIN_FOLD configure\n+# DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+# END_FOLD\n# set -o errtrace\n# trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n"
}
]
| C++ | MIT License | vergecurrency/verge | Simplify the travis workflow for faster processing |
714,092 | 10.03.2019 20:38:25 | -3,600 | 0314d7470541b602efeee116da358a910536382c | Remove unavailable library from travis build | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -66,7 +66,7 @@ jobs:\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 mingw-w64-dev wine-binfmt wine32 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n@@ -75,7 +75,7 @@ jobs:\nname: '[Deploy] Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 mingw-w64-dev wine-binfmt wine64 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove unavailable library from travis build |
714,092 | 10.03.2019 22:11:09 | -3,600 | 260e830e33a7ca5cd06e65e28d40c903573fe0ea | Adddd more compilers | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -66,7 +66,7 @@ jobs:\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-base gcc-mingw-w64-i686 g++-mingw-w64-i686 g++-mingw-w64 gcc-mingw-w64 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n@@ -75,7 +75,7 @@ jobs:\nname: '[Deploy] Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-base gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 g++-mingw-w64 gcc-mingw-w64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nGOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adddd more compilers |
714,092 | 11.03.2019 20:57:27 | -3,600 | 83fc5ed19906b407f8fe1e7d88496619d425870c | Remove configure cache | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -27,21 +27,21 @@ mkdir build\ncd build || (echo \"could not enter build directory\"; exit 1)\nBEGIN_FOLD configure\n-DOCKER_EXEC ../configure --cache-file=config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+DOCKER_EXEC ../configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n-# BEGIN_FOLD distdir\n-# DOCKER_EXEC make distdir VERSION=$HOST\n-# END_FOLD\n+BEGIN_FOLD distdir\n+DOCKER_EXEC make distdir VERSION=$HOST\n+END_FOLD\n-# cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n-# BEGIN_FOLD configure\n-# DOCKER_EXEC ./configure --cache-file=../config.cache $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-# END_FOLD\n+BEGIN_FOLD configure\n+DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+END_FOLD\n-# set -o errtrace\n-# trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n+set -o errtrace\n+trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\nBEGIN_FOLD build\nDOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\n"
},
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1411,8 +1411,7 @@ if test x$need_bundled_univalue = xyes; then\nfi\nAX_SUBDIRS_CONFIGURE([src/secp256k1], [[--disable-shared], [--with-pic], [--with-bignum=no], [--enable-module-recovery], [--enable-experimental], [--enable-module-ecdh]])\n-ac_configure_args=\"${ac_configure_args} --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc --with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl) CFLAGS=$($PKG_CONFIG --cflags openssl)\"\n-AC_CONFIG_SUBDIRS([src/tor])\n+AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc]])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove configure cache |
714,092 | 11.03.2019 21:26:16 | -3,600 | dc702f97985cdf55ef577270cbd76c26b37f3ab0 | Setting explicit tor CFLAGS | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1411,7 +1411,7 @@ if test x$need_bundled_univalue = xyes; then\nfi\nAX_SUBDIRS_CONFIGURE([src/secp256k1], [[--disable-shared], [--with-pic], [--with-bignum=no], [--enable-module-recovery], [--enable-experimental], [--enable-module-ecdh]])\n-AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc]])\n+AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc], [--with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl)], [CFLAGS=$($PKG_CONFIG --cflags openssl) -fPIC -O2]])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Setting explicit tor CFLAGS |
714,092 | 12.03.2019 19:59:01 | -3,600 | 6d47f68b5ed9ccef9b6f0fcfadfcfef83be5bf07 | Saves stealth addresses accordingly when created via gui | [
{
"change_type": "MODIFY",
"old_path": "src/interfaces/wallet.cpp",
"new_path": "src/interfaces/wallet.cpp",
"diff": "@@ -184,6 +184,9 @@ public:\nreturn result;\n}\nvoid learnRelatedScripts(const CPubKey& key, OutputType type) override { m_wallet.LearnRelatedScripts(key, type); }\n+ void addStealthAddress(CStealthAddress sxAddr) {\n+ m_wallet.AddStealthAddress(sxAddr);\n+ }\nbool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) override\n{\nLOCK(m_wallet.cs_wallet);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/interfaces/wallet.h",
"new_path": "src/interfaces/wallet.h",
"diff": "@@ -111,6 +111,9 @@ public:\n//! database can detect payments to newer address types.\nvirtual void learnRelatedScripts(const CPubKey& key, OutputType type) = 0;\n+ //! Add stealth address\n+ virtual void addStealthAddress(CStealthAddress sxAddr) = 0;\n+\n//! Add dest data.\nvirtual bool addDestData(const CTxDestination& dest, const std::string& key, const std::string& value) = 0;\n"
},
{
"change_type": "MODIFY",
"old_path": "src/key_io.cpp",
"new_path": "src/key_io.cpp",
"diff": "@@ -84,22 +84,7 @@ CTxDestination DecodeDestination(const std::string& str, const CChainParams& par\nCStealthAddress sxAddr;\nsxAddr.SetEncoded(str);\n- ec_secret ephem_secret;\n- ec_secret secretShared;\n- ec_point pkSendTo;\n- ec_point ephem_pubkey;\n-\n- if (GenerateRandomSecret(ephem_secret) == 0)\n- {\n- if (StealthSecret(ephem_secret, sxAddr.scan_pubkey, sxAddr.spend_pubkey, secretShared, pkSendTo) == 0)\n- {\n- CPubKey cpkTo(pkSendTo);\n- if (cpkTo.IsValid())\n- {\n- return cpkTo.GetID();\n- }\n- }\n- }\n+ return sxAddr;\n}\nuint160 hash;\n"
},
{
"change_type": "MODIFY",
"old_path": "src/qt/addresstablemodel.cpp",
"new_path": "src/qt/addresstablemodel.cpp",
"diff": "@@ -380,9 +380,16 @@ QString AddressTableModel::addRow(const QString &type, const QString &label, con\nreturn QString();\n}\n}\n+\n+ if(address_type == OutputType::STEALTH) {\n+ CStealthAddress sxAddr = boost::get<CStealthAddress>(GetDestinationForKey(newKey, OutputType::STEALTH));\n+ walletModel->wallet().addStealthAddress(sxAddr);\n+ strAddress = EncodeDestination(sxAddr);\n+ } else {\nwalletModel->wallet().learnRelatedScripts(newKey, address_type);\nstrAddress = EncodeDestination(GetDestinationForKey(newKey, address_type));\n}\n+ }\nelse\n{\nreturn QString();\n"
},
{
"change_type": "MODIFY",
"old_path": "src/qt/walletmodel.cpp",
"new_path": "src/qt/walletmodel.cpp",
"diff": "#include <qt/recentrequeststablemodel.h>\n#include <qt/sendcoinsdialog.h>\n#include <qt/transactiontablemodel.h>\n+#include <stealth.h>\n#include <interfaces/handler.h>\n#include <interfaces/node.h>\n@@ -177,10 +178,38 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact\nsetAddress.insert(rcp.address);\n++nAddresses;\n- CScript scriptPubKey = GetScriptForDestination(DecodeDestination(rcp.address.toStdString()));\n- CRecipient recipient = {scriptPubKey, rcp.amount, rcp.fSubtractFeeFromAmount};\n+ CTxDestination dest = DecodeDestination(rcp.address.toStdString());\n+ if(dest.type() == typeid(CStealthAddress)){\n+ CStealthAddress sxAddr = boost::get<CStealthAddress>(dest);\n+ ec_secret ephem_secret;\n+ ec_secret secretShared;\n+ ec_point pkSendTo;\n+ ec_point ephem_pubkey;\n+\n+ if (GenerateRandomSecret(ephem_secret) == 0)\n+ {\n+ if (StealthSecret(ephem_secret, sxAddr.scan_pubkey, sxAddr.spend_pubkey, secretShared, pkSendTo) == 0)\n+ {\n+ CPubKey cpkTo(pkSendTo);\n+ if (cpkTo.IsValid())\n+ {\n+ CKeyID addr = cpkTo.GetID();\n+ // adding address part\n+ CScript scriptAddr = GetScriptForDestination(addr);\n+ CRecipient recipient = {scriptAddr, rcp.amount, rcp.fSubtractFeeFromAmount};\nvecSend.push_back(recipient);\n+ // adding address part\n+ CScript scriptPubKey = GetScriptForStealthPubKey(cpkTo);\n+ CRecipient recipientTwo = {scriptPubKey, 0, false};\n+ vecSend.push_back(recipientTwo);\n+ }\n+ }\n+ }\n+\n+\n+ }\n+\ntotal += rcp.amount;\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/script/interpreter.cpp",
"new_path": "src/script/interpreter.cpp",
"diff": "@@ -181,9 +181,9 @@ bool static IsLowDERSignature(const valtype &vchSig, ScriptError* serror) {\n// If the S value is above the order of the curve divided by two, its\n// complement modulo the order could have been used instead, which is\n// one byte shorter when encoded correctly.\n- if (!CPubKey::CheckLowS(vchSigCopy)) {\n+ /*if (!CPubKey::CheckLowS(vchSigCopy)) {\nreturn set_error(serror, SCRIPT_ERR_SIG_HIGH_S);\n- }\n+ }*/\nreturn true;\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/script/standard.cpp",
"new_path": "src/script/standard.cpp",
"diff": "#include <script/script.h>\n#include <util/system.h>\n#include <util/strencodings.h>\n+#include <stealth.h>\ntypedef std::vector<unsigned char> valtype;\n@@ -250,8 +251,10 @@ class CScriptVisitor : public boost::static_visitor<bool>\n{\nprivate:\nCScript *script;\n+ bool shouldStealth;\npublic:\nexplicit CScriptVisitor(CScript *scriptin) { script = scriptin; }\n+ CScriptVisitor(CScript *scriptin, bool shouldStealthIn) { script = scriptin; shouldStealth = shouldStealthIn; }\nbool operator()(const CNoDestination &dest) const {\nscript->clear();\n@@ -264,10 +267,32 @@ public:\nreturn true;\n}\n- bool operator()(const CStealthAddress &StealthID) const {\n+ bool operator()(const CStealthAddress &stealthID) const {\nscript->clear();\n- // TODO: Implement script compabitbility for stealth addressing?\n- // *script << OP_DUP << OP_HASH160 << ToByteVector(keyID) << OP_EQUALVERIFY << OP_CHECKSIG;\n+\n+ ec_secret ephem_secret;\n+ ec_secret secretShared;\n+ ec_point pkSendTo;\n+ ec_point ephem_pubkey;\n+\n+ if (GenerateRandomSecret(ephem_secret) != 0)\n+ {\n+ return false;\n+ };\n+\n+ if (StealthSecret(ephem_secret, stealthID.scan_pubkey, stealthID.spend_pubkey, secretShared, pkSendTo) != 0)\n+ {\n+ return false;\n+ };\n+\n+ CPubKey cpkTo(pkSendTo);\n+\n+ if (!cpkTo.IsValid())\n+ {\n+ return false;\n+ };\n+\n+ *script << OP_RETURN << std::vector<unsigned char>(cpkTo.begin(), cpkTo.end());\nreturn false;\n}\n@@ -308,6 +333,11 @@ CScript GetScriptForDestination(const CTxDestination& dest)\nreturn script;\n}\n+CScript GetScriptForStealthPubKey(const CPubKey& pubKey)\n+{\n+ return CScript() << OP_RETURN << std::vector<unsigned char>(pubKey.begin(), pubKey.end());\n+}\n+\nCScript GetScriptForRawPubKey(const CPubKey& pubKey)\n{\nreturn CScript() << std::vector<unsigned char>(pubKey.begin(), pubKey.end()) << OP_CHECKSIG;\n"
},
{
"change_type": "MODIFY",
"old_path": "src/script/standard.h",
"new_path": "src/script/standard.h",
"diff": "@@ -173,6 +173,8 @@ CScript GetScriptForDestination(const CTxDestination& dest);\n/** Generate a P2PK script for the given pubkey. */\nCScript GetScriptForRawPubKey(const CPubKey& pubkey);\n+CScript GetScriptForStealthPubKey(const CPubKey& pubKey);\n+\n/** Generate a multisig script. */\nCScript GetScriptForMultisig(int nRequired, const std::vector<CPubKey>& keys);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/stealth.cpp",
"new_path": "src/stealth.cpp",
"diff": "@@ -217,7 +217,7 @@ int SecretToPublicKey(const ec_secret& secret, ec_point& out)\n};\n-int StealthSecret(ec_secret& secret, ec_point& pubkey, const ec_point& pkSpend, ec_secret& sharedSOut, ec_point& pkOut)\n+int StealthSecret(ec_secret& secret, const ec_point& pubkey, const ec_point& pkSpend, ec_secret& sharedSOut, ec_point& pkOut)\n{\n/*\n"
},
{
"change_type": "MODIFY",
"old_path": "src/stealth.h",
"new_path": "src/stealth.h",
"diff": "@@ -66,7 +66,6 @@ public:\nuint8_t options;\nec_point scan_pubkey;\nec_point spend_pubkey;\n- //std::vector<ec_point> spend_pubkeys;\nsize_t number_signatures;\nstealth_prefix prefix;\n@@ -111,7 +110,7 @@ int GenerateRandomSecret(ec_secret& out);\nint SecretToPublicKey(const ec_secret& secret, ec_point& out);\n-int StealthSecret(ec_secret& secret, ec_point& pubkey, const ec_point& pkSpend, ec_secret& sharedSOut, ec_point& pkOut);\n+int StealthSecret(ec_secret& secret, const ec_point& pubkey, const ec_point& pkSpend, ec_secret& sharedSOut, ec_point& pkOut);\nint StealthSecretSpend(ec_secret& scanSecret, ec_point& ephemPubkey, ec_secret& spendSecret, ec_secret& secretOut);\nint StealthSharedToSecretSpend(ec_secret& sharedS, ec_secret& spendSecret, ec_secret& secretOut);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/wallet/rpcwallet.cpp",
"new_path": "src/wallet/rpcwallet.cpp",
"diff": "@@ -617,7 +617,7 @@ UniValue getnewstealthaddress(const JSONRPCRequest& request){\nCStealthAddress sxAddr;\nstd::string sError;\n- if (GenerateNewStealthAddress(sError, sLabel, sxAddr))\n+ if (!GenerateNewStealthAddress(sError, sLabel, sxAddr))\nthrow std::runtime_error(std::string(\"Could get new stealth address: \") + sError);\nif (!pwallet->AddStealthAddress(sxAddr))\n"
},
{
"change_type": "MODIFY",
"old_path": "src/wallet/wallet.cpp",
"new_path": "src/wallet/wallet.cpp",
"diff": "@@ -3163,6 +3163,7 @@ bool CWallet::CommitTransaction(CTransactionRef tx, mapValue_t mapValue, std::ve\nbool CWallet::AddStealthAddress(CStealthAddress& sxAddr)\n{\n+\nLOCK(cs_wallet);\n// must add before changing spend_secret\n@@ -3202,8 +3203,10 @@ bool CWallet::AddStealthAddress(CStealthAddress& sxAddr)\nencrypted_batch = new WalletBatch(*database);\nbool rv = encrypted_batch->WriteStealthAddress(sxAddr);\n- if (rv)\n+ if (rv){\nSetAddressBook(sxAddr, sxAddr.label, \"\");\n+ LogPrintf(\"Wrote %s Address to our address store.\", sxAddr.label);\n+ }\nreturn rv;\n}\n@@ -3421,12 +3424,12 @@ bool CWallet::CreateStealthTransaction(CScript scriptPubKey, CAmount nAmount, st\nCRecipient first = {scriptPubKey, nAmount, false};\nvecSend.push_back(first);\n- /*CScript scriptP = CScript() << OP_RETURN << P;\n+ CScript scriptP = CScript() << OP_RETURN << P;\nif (narr.size() > 0) {\nscriptP = scriptP << OP_RETURN << narr;\n}\nCRecipient second = {scriptP, MIN_COIN_FEE, false};\n- vecSend.push_back(second);*/\n+ vecSend.push_back(second);\n// -- shuffle inputs, change output won't mix enough as it must be not fully random for plantext narrations\nstd::random_shuffle(vecSend.begin(), vecSend.end());\n@@ -3472,12 +3475,7 @@ std::string CWallet::SendStealthMoney(CScript scriptPubKey, int64_t nValue, std:\nLogPrintf(\"SendStealthMoney() : %s\", strError.c_str());\nreturn strError;\n}\n- /*if (fWalletUnlockMintOnly)\n- {\n- std::string strError = _(\"Error: Wallet unlocked for staking only, unable to create transaction.\");\n- LogPrintf(\"SendStealthMoney() : %s\", strError.c_str());\n- return strError;\n- }*/\n+\nif (!CreateStealthTransaction(scriptPubKey, nValue, P, narr, sNarr, wtxNew, reservekey, nFeeRequired))\n{\nstd::string strError;\n@@ -3568,7 +3566,7 @@ bool CWallet::SendStealthMoneyToDestination(CStealthAddress& sxAddress, int64_t\n};*/\n// Parse VERGE address\n- CScript scriptPubKey = GetScriptForDestination(ckidTo);\n+ CScript scriptPubKey = GetScriptForDestination(sxAddress);\nif ((sError = SendStealthMoney(scriptPubKey, nValue, ephem_pubkey, vchNarr, sNarr, wtxNew, fAskFee)) != \"\")\nreturn false;\n@@ -3591,7 +3589,7 @@ bool CWallet::FindStealthTransactions(const CTransaction& tx, mapValue_t& mapNar\nec_point pkExtracted;\n- std::vector<uint8_t> vchEphemPK;\n+ std::vector<uint8_t> vectorPubKey;\nstd::vector<uint8_t> vchDataB;\nstd::vector<uint8_t> vchENarr;\nopcodetype opCode;\n@@ -3601,33 +3599,34 @@ bool CWallet::FindStealthTransactions(const CTransaction& tx, mapValue_t& mapNar\nfor(const CTxOut& txout: tx.vout)\n{\nnOutputIdOuter++;\n- // -- for each OP_RETURN need to check all other valid outputs\n+ CScript::const_iterator scriptIterator = txout.scriptPubKey.begin();\n+ CScript outScript = txout.scriptPubKey;\n- //printf(\"txout scriptPubKey %s\\n\", txout.scriptPubKey.ToString().c_str());\n- CScript::const_iterator itTxA = txout.scriptPubKey.begin();\n-\n- if (!txout.scriptPubKey.GetOp(itTxA, opCode, vchEphemPK)\n- || opCode != OP_RETURN)\n+ // ensure a valid stealth code is present\n+ bool retreiveOPReturn = outScript.GetOp(scriptIterator, opCode);\n+ if (!retreiveOPReturn || opCode != OP_RETURN)\ncontinue;\n- else\n- if (!txout.scriptPubKey.GetOp(itTxA, opCode, vchEphemPK)\n- || vchEphemPK.size() != 33)\n+\n+ // ensure pubkey is available\n+ bool retreivePubKey = txout.scriptPubKey.GetOp(scriptIterator, opCode, vectorPubKey);\n+ if (!retreivePubKey || vectorPubKey.size() != ec_compressed_size)\n{\n// -- look for plaintext narrations\n- if (vchEphemPK.size() > 1\n- && vchEphemPK[0] == 'n'\n- && vchEphemPK[1] == 'p')\n+ if (vectorPubKey.size() > 1\n+ && vectorPubKey[0] == 'n'\n+ && vectorPubKey[1] == 'p')\n{\n- if (txout.scriptPubKey.GetOp(itTxA, opCode, vchENarr)\n+ if (txout.scriptPubKey.GetOp(scriptIterator, opCode, vchENarr)\n&& opCode == OP_RETURN\n- && txout.scriptPubKey.GetOp(itTxA, opCode, vchENarr)\n+ && txout.scriptPubKey.GetOp(scriptIterator, opCode, vchENarr)\n&& vchENarr.size() > 0)\n{\nstd::string sNarr = std::string(vchENarr.begin(), vchENarr.end());\nsnprintf(cbuf, sizeof(cbuf), \"n_%d\", nOutputIdOuter-1); // plaintext narration always matches preceding value output\nmapNarr[cbuf] = sNarr;\n- } else\n+ }\n+ else\n{\nLogPrintf(\"Warning: FindStealthTransactions() tx: %s, Could not extract plaintext narration.\\n\", tx.GetHash().GetHex().c_str());\n};\n@@ -3664,22 +3663,21 @@ bool CWallet::FindStealthTransactions(const CTransaction& tx, mapValue_t& mapNar\nfor (it = stealthAddresses.begin(); it != stealthAddresses.end(); ++it)\n{\nif (it->scan_secret.size() != ec_secret_size)\n- continue; // stealth address is not owned\n+ continue;\n- //printf(\"it->Encoded() %s\\n\", it->Encoded().c_str());\nmemcpy(&sScan.e[0], &it->scan_secret[0], ec_secret_size);\n- if (StealthSecret(sScan, vchEphemPK, it->spend_pubkey, sShared, pkExtracted) != 0)\n+ if (StealthSecret(sScan, vectorPubKey, it->spend_pubkey, sShared, pkExtracted) != 0)\n{\nprintf(\"StealthSecret failed.\\n\");\ncontinue;\n};\n- //printf(\"pkExtracted %\"PRIszu\": %s\\n\", pkExtracted.size(), HexStr(pkExtracted).c_str());\nCPubKey cpkE(pkExtracted);\nif (!cpkE.IsValid())\ncontinue;\n+\nCKeyID ckidE = cpkE.GetID();\nif (ckidMatch != ckidE)\n@@ -3698,7 +3696,7 @@ bool CWallet::FindStealthTransactions(const CTransaction& tx, mapValue_t& mapNar\nstd::string sLabel = it->Encoded();\nSetAddressBook(keyId, sLabel, \"\");\n- CPubKey cpkEphem(vchEphemPK);\n+ CPubKey cpkEphem(vectorPubKey);\nCPubKey cpkScan(it->scan_pubkey);\nCStealthKeyMetadata lockedSkMeta(cpkEphem, cpkScan);\n@@ -3768,13 +3766,13 @@ bool CWallet::FindStealthTransactions(const CTransaction& tx, mapValue_t& mapNar\n};\n// TODO: Implement secmes and allow narr\n- /*if (txout.scriptPubKey.GetOp(itTxA, opCode, vchENarr)\n+ /*if (txout.scriptPubKey.GetOp(scriptIterator, opCode, vchENarr)\n&& opCode == OP_RETURN\n- && txout.scriptPubKey.GetOp(itTxA, opCode, vchENarr)\n+ && txout.scriptPubKey.GetOp(scriptIterator, opCode, vchENarr)\n&& vchENarr.size() > 0)\n{\nSecMsgCrypter crypter;\n- crypter.SetKey(&sShared.e[0], &vchEphemPK[0]);\n+ crypter.SetKey(&sShared.e[0], &vectorPubKey[0]);\nstd::vector<uint8_t> vchNarr;\nif (!crypter.Decrypt(&vchENarr[0], vchENarr.size(), vchNarr))\n{\n@@ -5145,6 +5143,7 @@ CTxDestination GetDestinationForKey(const CPubKey& key, OutputType type)\nstd::string label;\nif(!GenerateNewStealthAddress(error, label, sxAddr))\nassert(false);\n+\nreturn sxAddr;\n}\n"
}
]
| C++ | MIT License | vergecurrency/verge | Saves stealth addresses accordingly when created via gui |
714,092 | 12.03.2019 22:07:31 | -3,600 | 34a9772beb30dd4a05da575658abfdfa530bef74 | Adding seperate configure tor part | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -40,6 +40,10 @@ BEGIN_FOLD configure\nDOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n+BEGIN_FOLD configure-tor\n+DOCKER_EXEC cd src/tor && rm config.status && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\n+END_FOLD\n+\nset -o errtrace\ntrap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adding seperate configure tor part |
714,092 | 12.03.2019 22:17:35 | -3,600 | 11446bfaa69653e909cb049cf660e3de194094d0 | Force removing the old config.status for tor | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -41,7 +41,7 @@ DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && f\nEND_FOLD\nBEGIN_FOLD configure-tor\n-DOCKER_EXEC cd src/tor && rm config.status && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\n+DOCKER_EXEC cd src/tor && rm -f config.status && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\nEND_FOLD\nset -o errtrace\n"
}
]
| C++ | MIT License | vergecurrency/verge | Force removing the old config.status for tor |
714,092 | 13.03.2019 08:43:08 | -3,600 | 839fe1694d05832acf63764535611255240b2888 | Put permissions to a remove command | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -41,7 +41,7 @@ DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && f\nEND_FOLD\nBEGIN_FOLD configure-tor\n-DOCKER_EXEC cd src/tor && rm -f config.status && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\n+DOCKER_EXEC cd src/tor && sudo rm -f config.status && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\nEND_FOLD\nset -o errtrace\n"
}
]
| C++ | MIT License | vergecurrency/verge | Put permissions to a remove command |
714,092 | 13.03.2019 10:03:26 | -3,600 | 174cb979b1b1e348163cb3a24d06d7c51bcb82c0 | Remove all config cache files | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -41,7 +41,7 @@ DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && f\nEND_FOLD\nBEGIN_FOLD configure-tor\n-DOCKER_EXEC cd src/tor && sudo rm -f config.status && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\n+DOCKER_EXEC cd src/tor && sudo rm -f config.* && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\nEND_FOLD\nset -o errtrace\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove all config cache files |
714,092 | 13.03.2019 11:04:47 | -3,600 | 66eaf98ca708cb746c8ad17ece541fa781bfcad0 | Update test_06_script_a.sh | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -41,7 +41,7 @@ DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && f\nEND_FOLD\nBEGIN_FOLD configure-tor\n-DOCKER_EXEC cd src/tor && sudo rm -f config.* && ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\n+DOCKER_EXEC cd src/tor && sudo rm -f config.* && sudo ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\nEND_FOLD\nset -o errtrace\n"
}
]
| C++ | MIT License | vergecurrency/verge | Update test_06_script_a.sh |
714,092 | 13.03.2019 11:40:33 | -3,600 | c6487d92beb74a3572305a79ead8db49ce216bbf | Breaking down all changed into separate steps | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -40,10 +40,18 @@ BEGIN_FOLD configure\nDOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n+cd \"src/tor/\" || (echo \"could not enter distdir src/tor\"; exit 1)\n+\n+BEGIN_FOLD remove-old-config-tor\n+DOCKER_EXEC sudo rm -f config.*\n+END_FOLD\n+\nBEGIN_FOLD configure-tor\n-DOCKER_EXEC cd src/tor && sudo rm -f config.* && sudo ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc && cd ../../\n+DOCKER_EXEC sudo ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc\nEND_FOLD\n+cd \"../../\" || (echo \"could not return to verge-$HOST\"; exit 1)\n+\nset -o errtrace\ntrap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n"
}
]
| C++ | MIT License | vergecurrency/verge | Breaking down all changed into separate steps |
714,092 | 13.03.2019 13:07:33 | -3,600 | 2d439687befe931769a747937fe6b1af4ac040d2 | Remove sudo as it is unknown to docker | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -43,11 +43,11 @@ END_FOLD\ncd \"src/tor/\" || (echo \"could not enter distdir src/tor\"; exit 1)\nBEGIN_FOLD remove-old-config-tor\n-DOCKER_EXEC sudo rm -f config.*\n+DOCKER_EXEC rm -f config.*\nEND_FOLD\nBEGIN_FOLD configure-tor\n-DOCKER_EXEC sudo ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc\n+DOCKER_EXEC ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc\nEND_FOLD\ncd \"../../\" || (echo \"could not return to verge-$HOST\"; exit 1)\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove sudo as it is unknown to docker |
714,092 | 13.03.2019 20:04:51 | -3,600 | ce9ef08cc032215d5de7bdcfb104dcf0bef0eb01 | Create clear build again | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -68,7 +68,6 @@ jobs:\nDPKG_ADD_ARCH=\"i386\"\nPACKAGES=\"python3 nsis gcc-mingw-w64-base gcc-mingw-w64-i686 g++-mingw-w64-i686 g++-mingw-w64 gcc-mingw-w64 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n- GOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\n@@ -77,7 +76,6 @@ jobs:\nHOST=x86_64-w64-mingw32\nPACKAGES=\"python3 nsis gcc-mingw-w64-base gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 g++-mingw-w64 gcc-mingw-w64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n- GOAL=\"deploy\"\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\n@@ -88,5 +86,4 @@ jobs:\nOSX_SDK=10.11\nRUN_UNIT_TESTS=false\nRUN_FUNCTIONAL_TESTS=false\n- GOAL=\"deploy\"\nVERGE_CONFIG=\"--disable-bench --enable-gui --enable-reduce-exports --enable-werror\"\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -40,18 +40,6 @@ BEGIN_FOLD configure\nDOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n-cd \"src/tor/\" || (echo \"could not enter distdir src/tor\"; exit 1)\n-\n-BEGIN_FOLD remove-old-config-tor\n-DOCKER_EXEC rm -f config.*\n-END_FOLD\n-\n-BEGIN_FOLD configure-tor\n-DOCKER_EXEC ./configure --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc\n-END_FOLD\n-\n-cd \"../../\" || (echo \"could not return to verge-$HOST\"; exit 1)\n-\nset -o errtrace\ntrap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n"
}
]
| C++ | MIT License | vergecurrency/verge | Create clear build again |
714,092 | 13.03.2019 20:24:51 | -3,600 | 038ef5a07e2b213b30a49c6af79a5caf58b7bfc5 | Ensure the most required packages | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -25,7 +25,7 @@ env:\n- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out\n- SDK_URL=https://bitcoincore.org/depends-sources/sdks\n- WINEDEBUG=fixme-all\n- - DOCKER_PACKAGES=\"build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache\"\n+ - DOCKER_PACKAGES=\"build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache dpkg-dev make wget build-essential protobuf-compiler autoconf libssl-dev vim\"\nbefore_install:\n- set -o errexit; source .travis/test_03_before_install.sh\ninstall:\n"
}
]
| C++ | MIT License | vergecurrency/verge | Ensure the most required packages |
714,092 | 15.03.2019 19:10:56 | -3,600 | a9f2c77682dcde719ccf9c2a5f9ca1af7090e707 | Clean windows compilation packages | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -59,24 +59,24 @@ jobs:\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n- VERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\\\"-g0 -O2\\\"\"\n+ VERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug\"\n- stage: test\nname: '[Deploy] Windows 32-bit'\nenv: >-\nHOST=i686-w64-mingw32\nDPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis gcc-mingw-w64-base gcc-mingw-w64-i686 g++-mingw-w64-i686 g++-mingw-w64 gcc-mingw-w64 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows CXXFLAGS=\\\"${CXXFLAGS}-g0 -O2\\\"\"\n- stage: test\nname: '[Deploy] Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis gcc-mingw-w64-base gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 g++-mingw-w64 gcc-mingw-w64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\n+ PACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows CXXFLAGS=\\\"${CXXFLAGS}-g0 -O2\\\"\"\n- stage: test\nname: '[Deploy] macOS 10.10+'\n"
}
]
| C++ | MIT License | vergecurrency/verge | Clean windows compilation packages |
714,092 | 15.03.2019 22:29:41 | -3,600 | e444ae3c5c3fd340108cad626babcf5c4976f3ed | Refine configuration for tor | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -59,7 +59,7 @@ jobs:\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n- VERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug\"\n+ VERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports\"\n- stage: test\nname: '[Deploy] Windows 32-bit'\n@@ -68,7 +68,7 @@ jobs:\nDPKG_ADD_ARCH=\"i386\"\nPACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows CXXFLAGS=\\\"${CXXFLAGS}-g0 -O2\\\"\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\nname: '[Deploy] Windows 64-bit'\n@@ -76,7 +76,7 @@ jobs:\nHOST=x86_64-w64-mingw32\nPACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows CXXFLAGS=\\\"${CXXFLAGS}-g0 -O2\\\"\"\n+ VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\nname: '[Deploy] macOS 10.10+'\n"
},
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1411,7 +1411,7 @@ if test x$need_bundled_univalue = xyes; then\nfi\nAX_SUBDIRS_CONFIGURE([src/secp256k1], [[--disable-shared], [--with-pic], [--with-bignum=no], [--enable-module-recovery], [--enable-experimental], [--enable-module-ecdh]])\n-AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc], [--with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl)], [CFLAGS=$($PKG_CONFIG --cflags openssl) -fPIC -O2]])\n+AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc]])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Refine configuration for tor |
714,092 | 16.03.2019 15:13:16 | -3,600 | 2eb4b34cbbbdb0fc8e81cf38f00637cc0e162ac6 | Switch to other subdir init via AC_CONFIG_SUBDIRS | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1411,7 +1411,8 @@ if test x$need_bundled_univalue = xyes; then\nfi\nAX_SUBDIRS_CONFIGURE([src/secp256k1], [[--disable-shared], [--with-pic], [--with-bignum=no], [--enable-module-recovery], [--enable-experimental], [--enable-module-ecdh]])\n-AX_SUBDIRS_CONFIGURE([src/tor], [[--disable-shared], [--with-pic], [--with-bignum=no], [--disable-jni], [--disable-unittests], [--disable-system-torrc], [--disable-systemd], [--disable-lzma], [--disable-zstd], [--disable-asciidoc]])\n+ac_configure_args=\"${ac_configure_args} --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc --with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl) CFLAGS=$($PKG_CONFIG --cflags openssl)\"\n+AC_CONFIG_SUBDIRS([src/tor])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Switch to other subdir init via AC_CONFIG_SUBDIRS |
714,092 | 16.03.2019 15:34:14 | -3,600 | 6096866626d4adca90fae1858bf3719a07b52c33 | Remove openssl Flags and dirs | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1411,7 +1411,7 @@ if test x$need_bundled_univalue = xyes; then\nfi\nAX_SUBDIRS_CONFIGURE([src/secp256k1], [[--disable-shared], [--with-pic], [--with-bignum=no], [--enable-module-recovery], [--enable-experimental], [--enable-module-ecdh]])\n-ac_configure_args=\"${ac_configure_args} --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc --with-openssl-dir=$($PKG_CONFIG --variable=libdir openssl) CFLAGS=$($PKG_CONFIG --cflags openssl)\"\n+ac_configure_args=\"${ac_configure_args} --disable-shared --with-pic --with-bignum=no --enable-module-recovery --disable-jni --disable-unittests --disable-system-torrc --disable-systemd --disable-lzma --disable-zstd --disable-asciidoc\"\nAC_CONFIG_SUBDIRS([src/tor])\nAC_OUTPUT\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove openssl Flags and dirs |
714,092 | 16.03.2019 16:20:22 | -3,600 | 01033c38dfb28d550398be840755715316fab93f | Remove dist creation | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -30,18 +30,18 @@ BEGIN_FOLD configure\nDOCKER_EXEC ../configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n-BEGIN_FOLD distdir\n-DOCKER_EXEC make distdir VERSION=$HOST\n-END_FOLD\n+# BEGIN_FOLD distdir\n+# DOCKER_EXEC make distdir VERSION=$HOST\n+# END_FOLD\n-cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+# cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n-BEGIN_FOLD configure\n-DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-END_FOLD\n+# BEGIN_FOLD configure\n+# DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+# END_FOLD\n-set -o errtrace\n-trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n+# set -o errtrace\n+# trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\nBEGIN_FOLD build\nDOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove dist creation |
714,092 | 16.03.2019 23:09:03 | -3,600 | b2459a2aa7ffacd6c0e4e31775b59b728a6f8498 | clean up travis and new windows jobs | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -68,6 +68,7 @@ jobs:\nDPKG_ADD_ARCH=\"i386\"\nPACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n+ NO_DEPENDS=1\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\n@@ -76,6 +77,7 @@ jobs:\nHOST=x86_64-w64-mingw32\nPACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\n+ NO_DEPENDS=1\nVERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_04_install.sh",
"new_path": ".travis/test_04_install.sh",
"diff": "@@ -19,11 +19,21 @@ elif [[ $VERGE_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASa\nDOCKER_ADMIN=\"--cap-add SYS_PTRACE\"\nfi\nDOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env $DOCKER_NAME_TAG)\n+DOCKER_ID_WIN32=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win32-base:v1)\n+DOCKER_ID_WIN64=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win64-base:v1)\nDOCKER_EXEC () {\ndocker exec $DOCKER_ID bash -c \"cd $PWD && $*\"\n}\n+DOCKER_EXEC_WIN32 () {\n+ docker exec $DOCKER_ID_WIN32 bash -c \"$*\"\n+}\n+\n+DOCKER_EXEC_WIN64 () {\n+ docker exec $DOCKER_ID_WIN64 bash -c \"$*\"\n+}\n+\nif [ -n \"$DPKG_ADD_ARCH\" ]; then\nDOCKER_EXEC dpkg --add-architecture \"$DPKG_ADD_ARCH\"\nfi\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -15,6 +15,15 @@ if [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC ccache --max-size=$CCACHE_SIZE\nfi\n+if [[ $HOST = *86-w64-mingw32 ]]; then\n+ BEGIN_FOLD docker-build\n+ DOCKER_EXEC_WIN32 /tmp/build.sh\n+ END_FOLD\n+else if [[ $HOST = *64-w64-mingw32 ]]; then\n+ BEGIN_FOLD docker-build\n+ DOCKER_EXEC_WIN64 /tmp/build.sh\n+ END_FOLD\n+else\nBEGIN_FOLD autogen\nif [ -n \"$CONFIG_SHELL\" ]; then\nDOCKER_EXEC \"$CONFIG_SHELL\" -c \"./autogen.sh\"\n@@ -23,28 +32,13 @@ else\nfi\nEND_FOLD\n-mkdir build\n-cd build || (echo \"could not enter build directory\"; exit 1)\n-\nBEGIN_FOLD configure\n-DOCKER_EXEC ../configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+ DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n-# BEGIN_FOLD distdir\n-# DOCKER_EXEC make distdir VERSION=$HOST\n-# END_FOLD\n-\n-# cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n-\n-# BEGIN_FOLD configure\n-# DOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n-# END_FOLD\n-\n-# set -o errtrace\n-# trap 'DOCKER_EXEC \"cat ${TRAVIS_BUILD_DIR}/sanitizer-output/* 2> /dev/null\"' ERR\n-\nBEGIN_FOLD build\nDOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\nEND_FOLD\n+fi\ncd ${TRAVIS_BUILD_DIR} || (echo \"could not enter travis build dir $TRAVIS_BUILD_DIR\"; exit 1)\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_b.sh",
"new_path": ".travis/test_06_script_b.sh",
"diff": "export LC_ALL=C.UTF-8\n-cd \"build\" || (echo \"could not enter distdir build\"; exit 1)\n-\nif [ \"$RUN_UNIT_TESTS\" = \"true\" ]; then\nBEGIN_FOLD unit-tests\nDOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1\n"
}
]
| C++ | MIT License | vergecurrency/verge | clean up travis and new windows jobs |
714,092 | 16.03.2019 23:18:13 | -3,600 | 2f719c2e8ca83066ff63ca6c7ab40f43a4c9fc7d | Remove docker image download which aren't used | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_04_install.sh",
"new_path": ".travis/test_04_install.sh",
"diff": "@@ -18,20 +18,21 @@ if [[ $HOST = *-mingw32 ]]; then\nelif [[ $VERGE_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASan + LSan), Docker needs access to ptrace (https://github.com/google/sanitizers/issues/764)\nDOCKER_ADMIN=\"--cap-add SYS_PTRACE\"\nfi\n+\n+if [[ $HOST = *86-w64-mingw32 ]]; then\n+ DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win32-base:v1)\n+else if [[ $HOST = *64-w64-mingw32 ]]; then\n+ DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win64-base:v1)\n+else\nDOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env $DOCKER_NAME_TAG)\n-DOCKER_ID_WIN32=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win32-base:v1)\n-DOCKER_ID_WIN64=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win64-base:v1)\n+fi\nDOCKER_EXEC () {\n+ if [[ $HOST = *-mingw32 ]]; then\n+ docker exec $DOCKER_ID bash -c \"$*\"\n+ else\ndocker exec $DOCKER_ID bash -c \"cd $PWD && $*\"\n-}\n-\n-DOCKER_EXEC_WIN32 () {\n- docker exec $DOCKER_ID_WIN32 bash -c \"$*\"\n-}\n-\n-DOCKER_EXEC_WIN64 () {\n- docker exec $DOCKER_ID_WIN64 bash -c \"$*\"\n+ fi\n}\nif [ -n \"$DPKG_ADD_ARCH\" ]; then\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove docker image download which aren't used |
714,092 | 16.03.2019 23:18:45 | -3,600 | 0c3695bac7e4ccd682cf10d84fbb39a3353cf0eb | Unify for win32/64 | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -15,13 +15,9 @@ if [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC ccache --max-size=$CCACHE_SIZE\nfi\n-if [[ $HOST = *86-w64-mingw32 ]]; then\n+if [[ $HOST = *-mingw32 ]]; then\nBEGIN_FOLD docker-build\n- DOCKER_EXEC_WIN32 /tmp/build.sh\n- END_FOLD\n-else if [[ $HOST = *64-w64-mingw32 ]]; then\n- BEGIN_FOLD docker-build\n- DOCKER_EXEC_WIN64 /tmp/build.sh\n+ DOCKER_EXEC /tmp/build.sh\nEND_FOLD\nelse\nBEGIN_FOLD autogen\n"
}
]
| C++ | MIT License | vergecurrency/verge | Unify for win32/64 |
714,092 | 16.03.2019 23:28:03 | -3,600 | a548a86ad509f3023194110c2e4fb8b1a2acc581 | Remove unused travis enviroment variables | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -65,20 +65,15 @@ jobs:\nname: '[Deploy] Windows 32-bit'\nenv: >-\nHOST=i686-w64-mingw32\n- DPKG_ADD_ARCH=\"i386\"\n- PACKAGES=\"python3 nsis gcc-mingw-w64-i686 g++-mingw-w64-i686 binutils-mingw-w64-i686 wine-binfmt wine32 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\nname: '[Deploy] Windows 64-bit'\nenv: >-\nHOST=x86_64-w64-mingw32\n- PACKAGES=\"python3 nsis gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine-binfmt wine64 libcap-dev libseccomp-dev\"\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n- VERGE_CONFIG=\"--enable-reduce-exports --disable-gui-tests --disable-bench --enable-windows\"\n- stage: test\nname: '[Deploy] macOS 10.10+'\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove unused travis enviroment variables |
714,092 | 17.03.2019 08:23:17 | -3,600 | 0cf9c3f3f9f02afb1651a2b94e549ac3327bfdc9 | Removing the second checkpoint from our build script | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -34,7 +34,7 @@ before_script:\n- set -o errexit; source .travis/test_05_before_script.sh\nscript:\n- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_a.sh; fi\n- - if [ $SECONDS -gt 1800 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_b.sh; fi\n+ - source .travis/test_06_script_b.sh\nafter_script:\n- echo $TRAVIS_COMMIT_RANGE\n- echo $TRAVIS_COMMIT_LOG\n"
}
]
| C++ | MIT License | vergecurrency/verge | Removing the second checkpoint from our build script |
714,092 | 17.03.2019 15:16:10 | -3,600 | 4ba01bdd4a5112e4fb8dc0b73e89bf2dc2837d84 | Unifying build and try to implement automatic publish | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -26,26 +26,31 @@ env:\n- SDK_URL=https://bitcoincore.org/depends-sources/sdks\n- WINEDEBUG=fixme-all\n- DOCKER_PACKAGES=\"build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache dpkg-dev make wget build-essential protobuf-compiler autoconf libssl-dev vim\"\n+\nbefore_install:\n- set -o errexit; source .travis/test_03_before_install.sh\n+\ninstall:\n- set -o errexit; source .travis/test_04_install.sh\n+\nbefore_script:\n- set -o errexit; source .travis/test_05_before_script.sh\n+\nscript:\n- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_a.sh; fi\n- source .travis/test_06_script_b.sh\n+\nafter_script:\n- echo $TRAVIS_COMMIT_RANGE\n- echo $TRAVIS_COMMIT_LOG\n+\njobs:\ninclude:\n- stage: lint\n- name: 'lint'\n- env:\n+ name: lint\ncache: false\nlanguage: python\n- python: '3.5' # Oldest supported version according to doc/dependencies.md\n+ python: \"3.5\"\ninstall:\n- set -o errexit; source .travis/lint_04_install.sh\nbefore_script:\n@@ -54,7 +59,7 @@ jobs:\n- set -o errexit; source .travis/lint_06_script.sh\n- stage: test\n- name: '[Test] Linux 64-bit'\n+ name: \"[Test] Linux 64-bit\"\nenv: >-\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\n@@ -62,21 +67,21 @@ jobs:\nVERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports\"\n- stage: test\n- name: '[Deploy] Windows 32-bit'\n+ name: \"[Deploy] Windows 32-bit\"\nenv: >-\nHOST=i686-w64-mingw32\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n- stage: test\n- name: '[Deploy] Windows 64-bit'\n+ name: \"[Deploy] Windows 64-bit\"\nenv: >-\nHOST=x86_64-w64-mingw32\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n- stage: test\n- name: '[Deploy] macOS 10.10+'\n+ name: \"[Deploy] macOS 10.10+\"\nenv: >-\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\n@@ -84,3 +89,25 @@ jobs:\nRUN_UNIT_TESTS=false\nRUN_FUNCTIONAL_TESTS=false\nVERGE_CONFIG=\"--disable-bench --enable-gui --enable-reduce-exports\"\n+\n+before_deploy:\n+ - git config --local user.name \"marpme\"\n+ - git config --local user.email \"[email protected]\"\n+\n+deploy:\n+ provider: releases\n+ api_key:\n+ secure: HyxoLq2f1iTrvGsqIRzUhw5ILqi+SdtpLCu7n86AXCoGVQIqseKwBKlBCS8RYFv5KQcXAgBTbHiSXj27XZ6nxizKvhh67HMlxIx7I98XFJ5bDrq18SV7tvgcZeg6HDb4cGWWcDXnpnQMRKMF7cl3G+Zj/ZoV3AA2feSzcFlJZDMOM44dknX3yDRESPyE5m369HOpFgz9mxgpOekUOh8VU5QYRznmZyR6Fek0OZ8GY9BePHITYh3p7rvUDhZVoV4NyDsE2de08EC6qUAaYnbBmGYbsFNmttRACFlVUyUKwfVisIh26Jmbb9mTXZqEKzReZ1+ypL4rz4wzwdyglJlrfmuWjSM14tFYrSHgLRKjZHugqQxMBkvWai4hrIwqA1RufP9iriewcIwmffSSCG/gt+wX+qWtHirhhEq4wIKu2GTUxJ79veRT3Sk98/bwF8o9FIyQ2zKnL2hdgdXX8NGqAOSJbZeGzvoDOj9OeFiRn1vFWlMUXoD4VQM3nhmUd7lVl1a9Xt1WyddO8Yi9PWRBm+MzG0Fj2FEyNAMz7tWvgCqVoDrVfXRA93a3uxyRlTrSRiVg6kIvUlfzN6T5vBNteQJEtv/52geR/BNpHUpMIY6x7A52vsBFwcWgodPNkhjXwvH10N5RE+m0n2hVETHrdl3nbXQ2IxXnklYSIRXA418=\n+ file:\n+ - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-w64-mingw32/src/qt/verge-qt\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-i686-w64-mingw32/src/qt/verge-qt\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-apple-darwin14/src/qt/verge-qt\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-unknown-linux-gnu/src/qt/verge-qt\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-w64-mingw32/src/verged\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-i686-w64-mingw32/src/verged\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-apple-darwin14/src/verged\"\n+ - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-unknown-linux-gnu/src/verged\"\n+ skip_cleanup: true\n+ draft: true\n+ on:\n+ tags: true\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_04_install.sh",
"new_path": ".travis/test_04_install.sh",
"diff": "@@ -20,9 +20,9 @@ elif [[ $VERGE_CONFIG = *--with-sanitizers=*address* ]]; then # If ran with (ASa\nfi\nif [[ $HOST = *86-w64-mingw32 ]]; then\n- DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win32-base:v1)\n+ DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win32-base:v1)\nelif [[ $HOST = *64-w64-mingw32 ]]; then\n- DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win64-base:v1)\n+ DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env marpme/verge-win64-base:v1)\nelse\nDOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env $DOCKER_NAME_TAG)\nfi\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -10,16 +10,29 @@ TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)\nexport TRAVIS_COMMIT_LOG\nOUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\n+\n+if [[ $HOST = *-mingw32 ]]; then\n+ VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${CROSS} --libdir=$OUTDIR/lib --bindir=$OUTDIR/bin \\\n+ --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib \\\n+ --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin \\\n+ --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc \\\n+ --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 \\\n+ --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include \\\n+ --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\n+else\nVERGE_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\n+fi\n+\nif [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC ccache --max-size=$CCACHE_SIZE\nfi\nif [[ $HOST = *-mingw32 ]]; then\nBEGIN_FOLD docker-build\n- DOCKER_EXEC /tmp/build.sh\n+ DOCKER_EXEC .travis/lint_06_script_prepare_win.sh\nEND_FOLD\n-else\n+fi\n+\nBEGIN_FOLD autogen\nif [ -n \"$CONFIG_SHELL\" ]; then\nDOCKER_EXEC \"$CONFIG_SHELL\" -c \"./autogen.sh\"\n@@ -28,6 +41,19 @@ else\nfi\nEND_FOLD\n+mkdir build\n+cd build || (echo \"could not enter build directory\"; exit 1)\n+\n+BEGIN_FOLD configure\n+ DOCKER_EXEC ../configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\n+END_FOLD\n+\n+BEGIN_FOLD distdir\n+ DOCKER_EXEC make distdir VERSION=$HOST\n+END_FOLD\n+\n+cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+\nBEGIN_FOLD configure\nDOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n@@ -35,6 +61,5 @@ else\nBEGIN_FOLD build\nDOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\nEND_FOLD\n-fi\ncd ${TRAVIS_BUILD_DIR} || (echo \"could not enter travis build dir $TRAVIS_BUILD_DIR\"; exit 1)\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": ".travis/test_06_script_prepare_win.sh",
"diff": "+#!/bin/bash\n+\n+set -e\n+\n+# Build the windows exe\n+export LIBS='-L/usr/local/Qt-5.10.1/lib -L/usr/local/Qt-5.10.1/plugins/platforms -L/usr/local/lib -lqminimal -lqwindows -lqoffscreen -L/usr/local/Qt-5.10.1/plugins/imageformats -L/tmp/zlib-1.2.11 -lqjpeg -lqicns -lqico -lqsvg -lqwebp -lqgif -lqwbmp -lqtharfbuzz -lqtpcre2 -lQt5Core -lQt5Network -lQt5Widgets -lQt5WinExtras -lQt5AccessibilitySupport -lQt5OpenGL -lQt5OpenGLExtensions -lQt5PlatformCompositorSupport -lQt5ThemeSupport -lQt5Svg -lQt5Gui -lQt5FontDatabaseSupport -lqtfreetype -lQt5EventDispatcherSupport -lqtlibpng -lprotobuf -levent -lqrencode -lssl -lcrypto -lcrypt32 -liphlpapi -lshlwapi -lmswsock -ladvapi32 -lrpcrt4 -luuid -loleaut32 -lole32 -lcomctl32 -lshell32 -lwinmm -lwinspool -lcomdlg32 -lgdi32 -luser32 -lkernel32 -lmingwthrd -lz -lws2_32 -pthread -lshlwapi -lnetapi32 -luserenv -lversion -luxtheme -ldwmapi -limm32'\n+export LDFLAGS='-L/usr/local/lib -L/usr/local/BerkeleyDB.4.8/lib -L/tmp/boost_1_58_0/stage/lib -L/tmp/miniupnpc-1.9.20160209 -L/tmp/zlib-1.2.11 -lssl -lcrypto -lz -static -levent'\n+export CFLAGS='-std=c++11 -I/usr/local/Qt-5.10.1/include/ -I/usr/local/BerkeleyDB.4.8/include -I/tmp/boost_1_58_0/boost -I/tmp/boost_1_58_0 -I/tmp -I/usr/local/include -I/tmp/zlib-1.2.11'\n+export CXXFLAGS=$CFLAGS\n+export CPPFLAGS=$CFLAGS\n+export BOOST_ROOT=/tmp/boost_1_58_0\n"
}
]
| C++ | MIT License | vergecurrency/verge | Unifying build and try to implement automatic publish |
714,092 | 17.03.2019 15:33:10 | -3,600 | 89460ae8bda3257d69e1ae30763158cec43296bd | Concat string for shell execution | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -12,13 +12,7 @@ export TRAVIS_COMMIT_LOG\nOUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\nif [[ $HOST = *-mingw32 ]]; then\n- VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${CROSS} --libdir=$OUTDIR/lib --bindir=$OUTDIR/bin \\\n- --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib \\\n- --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin \\\n- --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc \\\n- --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 \\\n- --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include \\\n- --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\n+ VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${CROSS} --libdir=$OUTDIR/lib --bindir=$OUTDIR/bin --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\nelse\nVERGE_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\nfi\n"
}
]
| C++ | MIT License | vergecurrency/verge | Concat string for shell execution |
714,092 | 17.03.2019 15:58:11 | -3,600 | 46396ebbd3f7379eb07d7478498c1fd7fed3d4be | Adding correct host variable | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -12,7 +12,7 @@ export TRAVIS_COMMIT_LOG\nOUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\nif [[ $HOST = *-mingw32 ]]; then\n- VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${CROSS} --libdir=$OUTDIR/lib --bindir=$OUTDIR/bin --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\n+ VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${HOST} --libdir=$OUTDIR/lib --bindir=$OUTDIR/bin --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\nelse\nVERGE_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\nfi\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adding correct host variable |
714,092 | 17.03.2019 16:21:15 | -3,600 | 070612d438263f7191596d52b41ee05d83a3560f | Remove lib and bin dir from windows build | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -12,7 +12,7 @@ export TRAVIS_COMMIT_LOG\nOUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\nif [[ $HOST = *-mingw32 ]]; then\n- VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${HOST} --libdir=$OUTDIR/lib --bindir=$OUTDIR/bin --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\n+ VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${HOST} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\nelse\nVERGE_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\nfi\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove lib and bin dir from windows build |
714,092 | 17.03.2019 16:56:31 | -3,600 | 7d53c4998a8f3541d740b50856a36311494dd5da | switch to external file for better handling | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -10,12 +10,7 @@ TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)\nexport TRAVIS_COMMIT_LOG\nOUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST\n-\n-if [[ $HOST = *-mingw32 ]]; then\n- VERGE_CONFIG_ALL=\"--with-gui-qt5 --host=${HOST} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\"\n-else\n- VERGE_CONFIG_ALL=\"--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\n-fi\n+VERGE_CONFIG_ALL=\"--disable-dependency-tracking --disable-werror --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib\"\nif [ -z \"$NO_DEPENDS\" ]; then\nDOCKER_EXEC ccache --max-size=$CCACHE_SIZE\n@@ -25,8 +20,7 @@ if [[ $HOST = *-mingw32 ]]; then\nBEGIN_FOLD docker-build\nDOCKER_EXEC ./.travis/test_06_script_prepare_win.sh\nEND_FOLD\n-fi\n-\n+else\nBEGIN_FOLD autogen\nif [ -n \"$CONFIG_SHELL\" ]; then\nDOCKER_EXEC \"$CONFIG_SHELL\" -c \"./autogen.sh\"\n@@ -55,5 +49,6 @@ END_FOLD\nBEGIN_FOLD build\nDOCKER_EXEC make $MAKEJOBS $GOAL || ( echo \"Build failure. Verbose build follows.\" && DOCKER_EXEC make $GOAL V=1 ; false )\nEND_FOLD\n+fi\ncd ${TRAVIS_BUILD_DIR} || (echo \"could not enter travis build dir $TRAVIS_BUILD_DIR\"; exit 1)\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_prepare_win.sh",
"new_path": ".travis/test_06_script_prepare_win.sh",
"diff": "@@ -9,3 +9,16 @@ export CFLAGS='-std=c++11 -I/usr/local/Qt-5.10.1/include/ -I/usr/local/BerkeleyD\nexport CXXFLAGS=$CFLAGS\nexport CPPFLAGS=$CFLAGS\nexport BOOST_ROOT=/tmp/boost_1_58_0\n+\n+./autogen.sh --host=${CROSS}-\n+\n+mkdir build && cd build\n+../configure --with-gui-qt5 --host=${CROSS} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\n+\n+make distdir VERSION=$CROSS\n+\n+cd \"verge-$CROSS\"\n+./configure --with-gui-qt5 --host=${CROSS} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\n+\n+make\n+make deploy\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/docker/forwindows/build.sh",
"new_path": "contrib/docker/forwindows/build.sh",
"diff": "@@ -16,7 +16,13 @@ export BOOST_ROOT=/tmp/boost_1_58_0\n./autogen.sh --host=${CROSS}-\n-./configure --with-gui-qt5 --host=${CROSS} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib && make && make deploy\n+mkdir build && cd build\n+../configure --with-gui-qt5 --host=${CROSS} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\n+\n+make distdir VERSION=$HOST\n+\n+make\n+make deploy\n# For debugging purposes\n# cat src/test-suite.log\n"
}
]
| C++ | MIT License | vergecurrency/verge | switch to external file for better handling |
714,092 | 17.03.2019 17:32:04 | -3,600 | 7f3049c57def29974cdaa73b7616d4f1e2a45d04 | Upgrade tor to 0.3.5.8 | [
{
"change_type": "MODIFY",
"old_path": ".gitmodules",
"new_path": ".gitmodules",
"diff": "[submodule \"src/tor\"]\npath = src/tor\nurl = https://github.com/torproject/tor/\n- branch = tor-0.3.4.9\n+ branch = tor-0.3.5.8\n"
},
{
"change_type": "MODIFY",
"old_path": "src/tor",
"new_path": "src/tor",
"diff": "-Subproject commit 4ac3ccf2863b86e79040dcd6c9568f011887c2be\n+Subproject commit 5030edfb534245ed3f7e6b476f38a706247f3cb8\n"
}
]
| C++ | MIT License | vergecurrency/verge | Upgrade tor to 0.3.5.8 |
714,092 | 17.03.2019 20:04:14 | -3,600 | f12252f75fd434c022728f706291fab35eb30076 | Enable newest tor version via makefile | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -23,16 +23,54 @@ VERGE_INCLUDES = -I$(builddir) $(BDB_CPPFLAGS) $(BOOST_CPPFLAGS) $(LEVELDB_CPPF\nVERGE_INCLUDES += -I$(srcdir)/secp256k1/include\nVERGE_INCLUDES += $(UNIVALUE_CFLAGS)\n-TOR_LIBS = tor/src/or/libtor.a \\\n- tor/src/common/libor.a \\\n- tor/src/common/libor-ctime.a \\\n- tor/src/common/libor-crypto.a \\\n- tor/src/common/libor-event.a \\\n+# \"Common\" libraries used to link tor's utility code.\n+TOR_UTIL_LIBS = \\\n+ tor/src/lib/libtor-geoip.a \\\n+ tor/src/lib/libtor-process.a \\\n+ tor/src/lib/libtor-time.a \\\n+ tor/src/lib/libtor-fs.a \\\n+ tor/src/lib/libtor-encoding.a \\\n+ tor/src/lib/libtor-sandbox.a \\\n+ tor/src/lib/libtor-container.a \\\n+ tor/src/lib/libtor-net.a \\\n+ tor/src/lib/libtor-thread.a \\\n+ tor/src/lib/libtor-memarea.a \\\n+ tor/src/lib/libtor-math.a \\\n+ tor/src/lib/libtor-meminfo.a \\\n+ tor/src/lib/libtor-osinfo.a \\\n+ tor/src/lib/libtor-log.a \\\n+ tor/src/lib/libtor-lock.a \\\n+ tor/src/lib/libtor-fdio.a \\\n+ tor/src/lib/libtor-string.a \\\n+ tor/src/lib/libtor-term.a \\\n+ tor/src/lib/libtor-smartlist-core.a \\\n+ tor/src/lib/libtor-malloc.a \\\n+ tor/src/lib/libtor-wallclock.a \\\n+ tor/src/lib/libtor-err.a \\\n+ tor/src/lib/libtor-intmath.a \\\n+ tor/src/lib/libtor-ctime.a\n+\n+LIBED25519_REF10 = tor/src/ext/ed25519/ref10/libed25519_ref10.a\n+LIBED25519_DONNA = tor/src/ext/ed25519/donna/libed25519_donna.a\n+LIBKECCAK_TINY = tor/src/ext/keccak-tiny/libkeccak-tiny.a\n+LIBDONNA = tor/src/lib/libcurve25519_donna.a \\\n+ $(LIBED25519_REF10) \\\n+ $(LIBED25519_DONNA)\n+\n+TOR_CRYPTO_LIBS = \\\n+ tor/src/lib/libtor-tls.a \\\n+ tor/src/lib/libtor-crypt-ops.a \\\n+ $(LIBKECCAK_TINY) \\\n+ $(LIBDONNA)\n+\n+TOR_LIBS = \\\n+ tor/src/core/libtor-app.a \\\n+ tor/src/lib/libtor-compress.a \\\n+ tor/src/lib/libtor-evloop.a \\\n+ $(TOR_CRYPTO_LIBS) \\\n+ $(TOR_UTIL_LIBS) \\\ntor/src/trunnel/libor-trunnel.a \\\n- tor/src/common/libcurve25519_donna.a \\\n- tor/src/ext/ed25519/donna/libed25519_donna.a \\\n- tor/src/ext/ed25519/ref10/libed25519_ref10.a \\\n- tor/src/ext/keccak-tiny/libkeccak-tiny.a\n+ tor/src/lib/libtor-trace.a\nlibverge_SERVER=libverge_server.a\nlibverge_COMMON=libverge_common.a\n"
}
]
| C++ | MIT License | vergecurrency/verge | Enable newest tor version via makefile |
714,092 | 17.03.2019 20:04:27 | -3,600 | 22d912d42bc64ed4d0c7499e57aa9fb3284b287d | Use dist dir plus some extra stuff | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -37,11 +37,15 @@ else\nEND_FOLD\nBEGIN_FOLD distdir\n- DOCKER_EXEC make distdir VERSION=$HOST\n+ DOCKER_EXEC make distdir VERSION=$HOST || ( cat config.log && false)\nEND_FOLD\ncd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+ BEGIN_FOLD copy-helpers\n+ DOCKER_EXEC cp ../../src/crypto/pow/*_helper.c ./src/crypto/pow\n+ END_FOLD\n+\nBEGIN_FOLD configure\nDOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_prepare_win.sh",
"new_path": ".travis/test_06_script_prepare_win.sh",
"diff": "@@ -18,6 +18,8 @@ mkdir build && cd build\nmake distdir VERSION=$CROSS\ncd \"verge-$CROSS\"\n+cp ../../src/crypto/pow/*_helper.c ./src/crypto/pow\n+\n./configure --with-gui-qt5 --host=${CROSS} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\nmake\n"
}
]
| C++ | MIT License | vergecurrency/verge | Use dist dir plus some extra stuff |
714,092 | 17.03.2019 20:18:56 | -3,600 | 9a5abad5ca7606c208a2d9a34b6cebf09d9b19c8 | Include new tor libs also for QT | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.qt.include",
"new_path": "src/Makefile.qt.include",
"diff": "@@ -409,16 +409,7 @@ if ENABLE_ZMQ\nqt_verge_qt_LDADD += $(libverge_ZMQ) $(ZMQ_LIBS)\nendif\n-qt_verge_qt_LDADD += tor/src/or/libtor.a \\\n- tor/src/common/libor.a \\\n- tor/src/common/libor-ctime.a \\\n- tor/src/common/libor-crypto.a \\\n- tor/src/common/libor-event.a \\\n- tor/src/trunnel/libor-trunnel.a \\\n- tor/src/common/libcurve25519_donna.a \\\n- tor/src/ext/ed25519/donna/libed25519_donna.a \\\n- tor/src/ext/ed25519/ref10/libed25519_ref10.a \\\n- tor/src/ext/keccak-tiny/libkeccak-tiny.a\n+qt_verge_qt_LDADD += $(TOR_LIBS)\nqt_verge_qt_LDADD += $(libverge_CLI) $(libverge_COMMON) $(libverge_UTIL) $(libverge_CONSENSUS) $(libverge_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) $(LIBLEVELDB_SSE42) $(LIBMEMENV) $(TOR_LIBS) \\\n$(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \\\n"
}
]
| C++ | MIT License | vergecurrency/verge | Include new tor libs also for QT |
714,092 | 17.03.2019 20:42:54 | -3,600 | f7feed62857c821ca5978167348f407f100ccba2 | Add new splash screen also to makefile | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.qt.include",
"new_path": "src/Makefile.qt.include",
"diff": "@@ -242,6 +242,7 @@ RES_ICONS = \\\nqt/res/icons/address-book.png \\\nqt/res/icons/about.png \\\nqt/res/icons/about_qt.png \\\n+ qt/res/icons/splash1.png \\\nqt/res/icons/verge.ico \\\nqt/res/icons/verge_testnet.ico \\\nqt/res/icons/verge.png \\\n"
}
]
| C++ | MIT License | vergecurrency/verge | Add new splash screen also to makefile |
714,092 | 17.03.2019 21:00:07 | -3,600 | d5fcd30fbace7a3bac1164a7c8503340d39e74cd | Copying fonts to dist dir | [
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_a.sh",
"new_path": ".travis/test_06_script_a.sh",
"diff": "@@ -46,6 +46,11 @@ else\nDOCKER_EXEC cp ../../src/crypto/pow/*_helper.c ./src/crypto/pow\nEND_FOLD\n+\n+ BEGIN_FOLD copy-fonts\n+ DOCKER_EXEC cp -R ../../src/qt/res/fonts ./src/qt/res/fonts/\n+ END_FOLD\n+\nBEGIN_FOLD configure\nDOCKER_EXEC ./configure $VERGE_CONFIG_ALL $VERGE_CONFIG || ( cat config.log && false)\nEND_FOLD\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_prepare_win.sh",
"new_path": ".travis/test_06_script_prepare_win.sh",
"diff": "@@ -19,6 +19,7 @@ make distdir VERSION=$CROSS\ncd \"verge-$CROSS\"\ncp ../../src/crypto/pow/*_helper.c ./src/crypto/pow\n+cp -R ../../src/qt/res/fonts ./src/qt/res/fonts/\n./configure --with-gui-qt5 --host=${CROSS} --with-qt-incdir=/usr/local/Qt-5.10.1/include --with-qt-libdir=/usr/local/Qt-5.10.1/lib --with-qt-plugindir=/usr/local/Qt-5.10.1/plugins --with-qt-bindir=/usr/local/Qt-5.10.1/bin --without-tests --disable-tests --without-bench --disable-bench --without-miniupnpc --disable-asm --includedir=/usr/local/include --includedir=/tmp/zlib-1.2.11 --includedir=/usr/local/Qt-5.10.1/include --includedir=/usr/local/BerkeleyDB.4.8/include --with-boost=/tmp/boost_1_58_0/boost --with-boost-libdir=/tmp/boost_1_58_0/stage/lib\n"
}
]
| C++ | MIT License | vergecurrency/verge | Copying fonts to dist dir |
714,092 | 17.03.2019 21:52:02 | -3,600 | b9dac8bae195c4bb18b76789760c69285946a761 | Deploy binaries based on OS | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -93,20 +93,16 @@ jobs:\nbefore_deploy:\n- git config --local user.name \"marpme\"\n- git config --local user.email \"[email protected]\"\n+ - mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-${$HOST}\n+ - mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/verged $TRAVIS_BUILD_DIR/verged-${$HOST}\ndeploy:\n- provider: releases\n+ - provider: releases\napi_key:\nsecure: HyxoLq2f1iTrvGsqIRzUhw5ILqi+SdtpLCu7n86AXCoGVQIqseKwBKlBCS8RYFv5KQcXAgBTbHiSXj27XZ6nxizKvhh67HMlxIx7I98XFJ5bDrq18SV7tvgcZeg6HDb4cGWWcDXnpnQMRKMF7cl3G+Zj/ZoV3AA2feSzcFlJZDMOM44dknX3yDRESPyE5m369HOpFgz9mxgpOekUOh8VU5QYRznmZyR6Fek0OZ8GY9BePHITYh3p7rvUDhZVoV4NyDsE2de08EC6qUAaYnbBmGYbsFNmttRACFlVUyUKwfVisIh26Jmbb9mTXZqEKzReZ1+ypL4rz4wzwdyglJlrfmuWjSM14tFYrSHgLRKjZHugqQxMBkvWai4hrIwqA1RufP9iriewcIwmffSSCG/gt+wX+qWtHirhhEq4wIKu2GTUxJ79veRT3Sk98/bwF8o9FIyQ2zKnL2hdgdXX8NGqAOSJbZeGzvoDOj9OeFiRn1vFWlMUXoD4VQM3nhmUd7lVl1a9Xt1WyddO8Yi9PWRBm+MzG0Fj2FEyNAMz7tWvgCqVoDrVfXRA93a3uxyRlTrSRiVg6kIvUlfzN6T5vBNteQJEtv/52geR/BNpHUpMIY6x7A52vsBFwcWgodPNkhjXwvH10N5RE+m0n2hVETHrdl3nbXQ2IxXnklYSIRXA418=\nfile:\n- - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-w64-mingw32/src/qt/verge-qt\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-i686-w64-mingw32/src/qt/verge-qt\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-apple-darwin14/src/qt/verge-qt\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-unknown-linux-gnu/src/qt/verge-qt\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-w64-mingw32/src/verged\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-i686-w64-mingw32/src/verged\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-apple-darwin14/src/verged\"\n- - \"$TRAVIS_BUILD_DIR/build/verge-x86_64-unknown-linux-gnu/src/verged\"\n+ - \"$TRAVIS_BUILD_DIR/verge-qt-${$HOST}\"\n+ - \"$TRAVIS_BUILD_DIR/verged-${$HOST}\"\nskip_cleanup: true\ndraft: true\non:\n"
}
]
| C++ | MIT License | vergecurrency/verge | Deploy binaries based on OS |
714,092 | 17.03.2019 22:31:53 | -3,600 | d875b9ef889e5a6c3f2719faded8f44b02a982d1 | Introduce should deploy flag | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -48,6 +48,7 @@ jobs:\ninclude:\n- stage: lint\nname: lint\n+ env: SHOULD_DEPLY=0\ncache: false\nlanguage: python\npython: \"3.5\"\n@@ -61,6 +62,7 @@ jobs:\n- stage: test\nname: \"[Test] Linux 64-bit\"\nenv: >-\n+ SHOULD_DEPLY=1\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n@@ -69,6 +71,7 @@ jobs:\n- stage: test\nname: \"[Deploy] Windows 32-bit\"\nenv: >-\n+ SHOULD_DEPLY=1\nHOST=i686-w64-mingw32\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n@@ -76,6 +79,7 @@ jobs:\n- stage: test\nname: \"[Deploy] Windows 64-bit\"\nenv: >-\n+ SHOULD_DEPLY=1\nHOST=x86_64-w64-mingw32\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n@@ -83,6 +87,7 @@ jobs:\n- stage: test\nname: \"[Deploy] macOS 10.10+\"\nenv: >-\n+ SHOULD_DEPLY=1\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\nOSX_SDK=10.11\n@@ -107,3 +112,4 @@ deploy:\ndraft: true\non:\ntags: true\n+ condition: $SHOULD_DEPLY = 1\n"
}
]
| C++ | MIT License | vergecurrency/verge | Introduce should deploy flag |
714,092 | 17.03.2019 22:36:38 | -3,600 | 3d304e37ceecd0e8b7c9e4df13a2a00a1c63c805 | Also take before scripts into should deploy check | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -98,8 +98,8 @@ jobs:\nbefore_deploy:\n- git config --local user.name \"marpme\"\n- git config --local user.email \"[email protected]\"\n- - mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-${$HOST}\n- - mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/verged $TRAVIS_BUILD_DIR/verged-${$HOST}\n+ - if [[ $SHOULD_DEPLY = 1 ]]; then mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-${$HOST}; fi\n+ - if [[ $SHOULD_DEPLY = 1 ]]; then mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/verged $TRAVIS_BUILD_DIR/verged-${$HOST}; fi\ndeploy:\n- provider: releases\n"
}
]
| C++ | MIT License | vergecurrency/verge | Also take before scripts into should deploy check |
714,092 | 17.03.2019 22:39:58 | -3,600 | ed2c89e599551dd983de7b8a5c840abab516b6f0 | Fixing typo ... as always ... | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -48,7 +48,7 @@ jobs:\ninclude:\n- stage: lint\nname: lint\n- env: SHOULD_DEPLY=0\n+ env: SHOULD_DEPLOY=0\ncache: false\nlanguage: python\npython: \"3.5\"\n@@ -62,7 +62,7 @@ jobs:\n- stage: test\nname: \"[Test] Linux 64-bit\"\nenv: >-\n- SHOULD_DEPLY=1\n+ SHOULD_DEPLOY=1\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n@@ -71,7 +71,7 @@ jobs:\n- stage: test\nname: \"[Deploy] Windows 32-bit\"\nenv: >-\n- SHOULD_DEPLY=1\n+ SHOULD_DEPLOY=1\nHOST=i686-w64-mingw32\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n@@ -79,7 +79,7 @@ jobs:\n- stage: test\nname: \"[Deploy] Windows 64-bit\"\nenv: >-\n- SHOULD_DEPLY=1\n+ SHOULD_DEPLOY=1\nHOST=x86_64-w64-mingw32\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n@@ -87,7 +87,7 @@ jobs:\n- stage: test\nname: \"[Deploy] macOS 10.10+\"\nenv: >-\n- SHOULD_DEPLY=1\n+ SHOULD_DEPLOY=1\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\nOSX_SDK=10.11\n@@ -98,8 +98,8 @@ jobs:\nbefore_deploy:\n- git config --local user.name \"marpme\"\n- git config --local user.email \"[email protected]\"\n- - if [[ $SHOULD_DEPLY = 1 ]]; then mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-${$HOST}; fi\n- - if [[ $SHOULD_DEPLY = 1 ]]; then mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/verged $TRAVIS_BUILD_DIR/verged-${$HOST}; fi\n+ - if [[ $SHOULD_DEPLOY = 1 ]]; then mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-${$HOST}; fi\n+ - if [[ $SHOULD_DEPLOY = 1 ]]; then mv $TRAVIS_BUILD_DIR/build/verge-${HOST}/src/verged $TRAVIS_BUILD_DIR/verged-${$HOST}; fi\ndeploy:\n- provider: releases\n@@ -112,4 +112,4 @@ deploy:\ndraft: true\non:\ntags: true\n- condition: $SHOULD_DEPLY = 1\n+ condition: $SHOULD_DEPLOY = 1\n"
}
]
| C++ | MIT License | vergecurrency/verge | Fixing typo ... as always ... |
714,092 | 18.03.2019 10:20:47 | -3,600 | 3f6f525184551a5212e083974b47677ee7d36ad2 | manage permissions correctly | [
{
"change_type": "MODIFY",
"old_path": ".travis/deploy_07_script_pre_deploy.sh",
"new_path": ".travis/deploy_07_script_pre_deploy.sh",
"diff": "# file COPYING or http://www.opensource.org/licenses/mit-license.php.\nif [[ $SHOULD_DEPLOY = 1 ]]; then\n- mv $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-$HOST;\n- mv $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-$HOST;\n+ chmod a+xr $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verge-qt\n+ chmod a+xr $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verged\n+\n+ cp $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-$HOST;\n+ cp $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verged $TRAVIS_BUILD_DIR/verged-$HOST;\nfi\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | manage permissions correctly |
714,092 | 18.03.2019 10:39:46 | -3,600 | af47ace3ac910665af2fa2ca9ba9fed890b56584 | Fix permissions the second Kappa | [
{
"change_type": "MODIFY",
"old_path": ".travis/deploy_07_script_pre_deploy.sh",
"new_path": ".travis/deploy_07_script_pre_deploy.sh",
"diff": "# file COPYING or http://www.opensource.org/licenses/mit-license.php.\nif [[ $SHOULD_DEPLOY = 1 ]]; then\n- chmod a+xr $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verge-qt\n- chmod a+xr $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verged\n-\ncp $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verge-qt $TRAVIS_BUILD_DIR/verge-qt-$HOST;\n- cp $TRAVIS_BUILD_DIR/build/verge-$HOST/src/qt/verged $TRAVIS_BUILD_DIR/verged-$HOST;\n+ cp $TRAVIS_BUILD_DIR/build/verge-$HOST/src/verged $TRAVIS_BUILD_DIR/verged-$HOST;\nfi\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Fix permissions the second Kappa |
714,092 | 18.03.2019 10:54:07 | -3,600 | 582c1f83990361b56aecd876cd2f0335b1977471 | Fix bad subsitution | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -105,8 +105,8 @@ deploy:\napi_key:\nsecure: HyxoLq2f1iTrvGsqIRzUhw5ILqi+SdtpLCu7n86AXCoGVQIqseKwBKlBCS8RYFv5KQcXAgBTbHiSXj27XZ6nxizKvhh67HMlxIx7I98XFJ5bDrq18SV7tvgcZeg6HDb4cGWWcDXnpnQMRKMF7cl3G+Zj/ZoV3AA2feSzcFlJZDMOM44dknX3yDRESPyE5m369HOpFgz9mxgpOekUOh8VU5QYRznmZyR6Fek0OZ8GY9BePHITYh3p7rvUDhZVoV4NyDsE2de08EC6qUAaYnbBmGYbsFNmttRACFlVUyUKwfVisIh26Jmbb9mTXZqEKzReZ1+ypL4rz4wzwdyglJlrfmuWjSM14tFYrSHgLRKjZHugqQxMBkvWai4hrIwqA1RufP9iriewcIwmffSSCG/gt+wX+qWtHirhhEq4wIKu2GTUxJ79veRT3Sk98/bwF8o9FIyQ2zKnL2hdgdXX8NGqAOSJbZeGzvoDOj9OeFiRn1vFWlMUXoD4VQM3nhmUd7lVl1a9Xt1WyddO8Yi9PWRBm+MzG0Fj2FEyNAMz7tWvgCqVoDrVfXRA93a3uxyRlTrSRiVg6kIvUlfzN6T5vBNteQJEtv/52geR/BNpHUpMIY6x7A52vsBFwcWgodPNkhjXwvH10N5RE+m0n2hVETHrdl3nbXQ2IxXnklYSIRXA418=\nfile:\n- - \"$TRAVIS_BUILD_DIR/verge-qt-${$HOST}\"\n- - \"$TRAVIS_BUILD_DIR/verged-${$HOST}\"\n+ - \"$TRAVIS_BUILD_DIR/verge-qt-$HOST\"\n+ - \"$TRAVIS_BUILD_DIR/verged-$HOST\"\nskip_cleanup: true\ndraft: true\non:\n"
}
]
| C++ | MIT License | vergecurrency/verge | Fix bad subsitution |
714,092 | 18.03.2019 21:27:23 | -3,600 | 6c52405827093c5f1bc957033ea797822f8192e9 | Enable more liniting tests | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -10,9 +10,10 @@ cache:\nstages:\n- lint\n- test\n+ - deploy\nenv:\nglobal:\n- - MAKEJOBS=-j3\n+ - MAKEJOBS=-j4\n- RUN_UNIT_TESTS=false\n- RUN_FUNCTIONAL_TESTS=false\n- RUN_FUZZ_TESTS=false\n@@ -62,13 +63,13 @@ jobs:\n- stage: test\nname: \"[Test] Linux 64-bit\"\nenv: >-\n- SHOULD_DEPLOY=1\n+ SHOULD_DEPLOY=0\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\nVERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports\"\n- - stage: test\n+ - stage: deploy\nname: \"[Deploy] Windows 32-bit\"\nenv: >-\nSHOULD_DEPLOY=1\n@@ -76,7 +77,7 @@ jobs:\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n- - stage: test\n+ - stage: delpoy\nname: \"[Deploy] Windows 64-bit\"\nenv: >-\nSHOULD_DEPLOY=1\n@@ -84,9 +85,10 @@ jobs:\nRUN_FUNCTIONAL_TESTS=false\nNO_DEPENDS=1\n- - stage: test\n+ - stage: delpoy\nname: \"[Deploy] macOS 10.10+\"\nenv: >-\n+ GOAL=deploy\nSHOULD_DEPLOY=1\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/lint_06_script.sh",
"new_path": ".travis/lint_06_script.sh",
"diff": "@@ -14,7 +14,7 @@ fi\n#test/lint/git-subtree-check.sh src/secp256k1\n#test/lint/git-subtree-check.sh src/univalue\n#test/lint/git-subtree-check.sh src/leveldb\n-#test/lint/check-doc.py\n+test/lint/check-doc.py\n#test/lint/check-rpc-mappings.py .\n#test/lint/lint-all.sh\n"
},
{
"change_type": "MODIFY",
"old_path": "src/init.cpp",
"new_path": "src/init.cpp",
"diff": "@@ -430,6 +430,7 @@ void SetupServerArgs()\ngArgs.AddArg(\"-seednode=<ip>\", \"Connect to a node to retrieve peer addresses, and disconnect\", false, OptionsCategory::CONNECTION);\ngArgs.AddArg(\"-timeout=<n>\", strprintf(\"Specify connection timeout in milliseconds (minimum: 1, default: %d)\", DEFAULT_CONNECT_TIMEOUT), false, OptionsCategory::CONNECTION);\ngArgs.AddArg(\"-without-tor\", strprintf(\"Removes the limitation to route all traffic through tor. (default: %s)\", false), false, OptionsCategory::CONNECTION);\n+ gArgs.AddArg(\"-torsocksport\", strprintf(\"Sets the tor port to a custom socket port. (default: %i)\", 9080), false, OptionsCategory::CONNECTION);\ngArgs.AddArg(\"-torcontrol=<ip>:<port>\", strprintf(\"Tor control port to use if onion listening enabled (default: %s)\", DEFAULT_TOR_CONTROL), false, OptionsCategory::CONNECTION);\ngArgs.AddArg(\"-torpassword=<pass>\", \"Tor control port password (default: empty)\", false, OptionsCategory::CONNECTION);\n#ifdef USE_UPNP\n"
},
{
"change_type": "MODIFY",
"old_path": "src/rpc/blockchain.cpp",
"new_path": "src/rpc/blockchain.cpp",
"diff": "@@ -849,13 +849,18 @@ static UniValue getblock(const JSONRPCRequest& request)\nreturn blockToJSON(block, pblockindex, verbosity >= 2);\n}\n-// Value getrawblockbynumber(const Array& params, bool fHelp)\nstatic UniValue getrawblockbynumber(const JSONRPCRequest& request)\n{\nif (request.fHelp || request.params.size() != 1)\nthrow std::runtime_error(\n- \"getrawblockbynumber <number>\\n\"\n- \"Returns raw details of a block with given block-number.\");\n+ \"getrawblockbynumber\\n\"\n+ \"\\nArguments:\\n\"\n+ \"1. \\\"blockindex\\\" (numeric, required) The block index to search for\\n\"\n+ \"\\nResult:\\n\"\n+ \"n (string) an raw bdlock undecode \\n\"\n+ \"\\nExamples:\\n\"\n+ + HelpExampleCli(\"blockindex\", \"200000\")\n+ + HelpExampleRpc(\"blockindex\", \"340100\"));\nLOCK(cs_main);\nint nHeight = request.params[0].get_int();\nif (nHeight < 0 || nHeight > chainActive.Height())\n@@ -945,7 +950,7 @@ static UniValue pruneblockchain(const JSONRPCRequest& request)\nthrow std::runtime_error(\n\"pruneblockchain\\n\"\n\"\\nArguments:\\n\"\n- \"1. \\\"height\\\" (numeric, required) The block height to prune up to. May be set to a discrete height, or a unix timestamp\\n\"\n+ \"1. \\\"blockheight\\\" (numeric, required) The block height to prune up to. May be set to a discrete height, or a unix timestamp\\n\"\n\" to prune blocks whose block time is at least 2 hours older than the provided timestamp.\\n\"\n\"\\nResult:\\n\"\n\"n (numeric) Height of the last block pruned.\\n\"\n"
},
{
"change_type": "MODIFY",
"old_path": "test/lint/check-rpc-mappings.py",
"new_path": "test/lint/check-rpc-mappings.py",
"diff": "@@ -116,6 +116,10 @@ def main():\nprint('ERROR: %s argument %i (named %s in vRPCConvertParams) is not defined in dispatch table' % (cmdname, argidx, argname))\nerrors += 1\ncontinue\n+ except:\n+ print('ERROR: %s argument %i (named %s in vRPCConvertParams) is not defined in dispatch table' % (cmdname, argidx, argname))\n+ errors += 1\n+ continue\nif argname not in rargnames:\nprint('ERROR: %s argument %i is named %s in vRPCConvertParams but %s in dispatch table' % (cmdname, argidx, argname, rargnames), file=sys.stderr)\nerrors += 1\n"
}
]
| C++ | MIT License | vergecurrency/verge | Enable more liniting tests |
714,092 | 20.03.2019 20:38:31 | -3,600 | b79b8ec503b8e7f564e9ec38de0a3af0caa9a467 | Remove GOAL env from MacOS | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -87,7 +87,6 @@ jobs:\n- stage: test\nname: \"[Deploy] macOS 10.10+\"\nenv: >-\n- GOAL=deploy\nSHOULD_DEPLOY=1\nHOST=x86_64-apple-darwin14\nPACKAGES=\"cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools-git libcap-dev libseccomp-dev\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove GOAL env from MacOS |
714,092 | 23.03.2019 22:31:23 | -3,600 | 11907ca6fce5684253d3bcbe79516acb887041a2 | Enable test within the travis pipleline | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -63,6 +63,7 @@ jobs:\nname: \"[Test] Linux 64-bit\"\nenv: >-\nSHOULD_DEPLOY=0\n+ RUN_UNIT_TESTS=1\nHOST=x86_64-unknown-linux-gnu\nPACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Enable test within the travis pipleline |
714,092 | 24.03.2019 11:32:49 | -3,600 | d738f9cb5bcd2c09831aa23c17e716e4eee0399a | Enable coverage report for VERGE | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -64,10 +64,11 @@ jobs:\nenv: >-\nSHOULD_DEPLOY=0\nRUN_UNIT_TESTS=true\n+ RUN_COV_REPORT=true\nHOST=x86_64-unknown-linux-gnu\n- PACKAGES=\"python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\n+ PACKAGES=\"lcov python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev libcap-dev libseccomp-dev\"\nDEP_OPTS=\"NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1\"\n- VERGE_CONFIG=\"--disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports\"\n+ VERGE_CONFIG=\"--enable-lcov --disable-bench --enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports\"\n- stage: test\nname: \"[Deploy] Windows 32-bit\"\n"
},
{
"change_type": "MODIFY",
"old_path": ".travis/test_06_script_b.sh",
"new_path": ".travis/test_06_script_b.sh",
"diff": "export LC_ALL=C.UTF-8\nif [ \"$RUN_UNIT_TESTS\" = \"true\" ]; then\n+\n+ cd build || (echo \"could not enter build directory\"; exit 1)\n+ cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+\nBEGIN_FOLD unit-tests\nDOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1\nEND_FOLD\n-fi\n-if [ \"$RUN_FUNCTIONAL_TESTS\" = \"true\" ]; then\n- BEGIN_FOLD functional-tests\n- DOCKER_EXEC test/functional/test_runner.py --ci --combinedlogslen=4000 --coverage --quiet --failfast\n- END_FOLD\n+ cd ${TRAVIS_BUILD_DIR}\nfi\n-if [ \"$RUN_FUZZ_TESTS\" = \"true\" ]; then\n- BEGIN_FOLD fuzz-tests\n- DOCKER_EXEC test/fuzz/test_runner.py -l DEBUG ${DIR_FUZZ_IN}\n+if [ \"$RUN_COV_REPORT\" = \"true\" ]; then\n+\n+ cd build || (echo \"could not enter build directory\"; exit 1)\n+ cd \"verge-$HOST\" || (echo \"could not enter distdir verge-$HOST\"; exit 1)\n+\n+ BEGIN_FOLD coverage-report-generation\n+ DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS test_verge_filtered.info VERBOSE=1\nEND_FOLD\n+\n+ bash <(curl -s https://codecov.io/bash) -f test_verge_filtered.info || (echo \"Could not upload coverage report to codecov\"; exit 1)\n+ cd ${TRAVIS_BUILD_DIR}\nfi\n+\n+# if [ \"$RUN_FUNCTIONAL_TESTS\" = \"true\" ]; then\n+# BEGIN_FOLD functional-tests\n+# DOCKER_EXEC test/functional/test_runner.py --ci --combinedlogslen=4000 --coverage --quiet --failfast\n+# END_FOLD\n+# fi\n+\n+# if [ \"$RUN_FUZZ_TESTS\" = \"true\" ]; then\n+# BEGIN_FOLD fuzz-tests\n+# DOCKER_EXEC test/fuzz/test_runner.py -l DEBUG ${DIR_FUZZ_IN}\n+# END_FOLD\n+# fi\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Enable coverage report for VERGE |
714,092 | 24.03.2019 14:21:03 | -3,600 | 71c7e0cdad94456d40aafdc3b144e1af3320dfe8 | [TRAVIS] Set timeout after compiling verge | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -38,7 +38,7 @@ before_script:\nscript:\n- if [ $SECONDS -gt 1200 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_a.sh; fi\n- - source .travis/test_06_script_b.sh\n+ - if [ $SECONDS -gt 1800 ]; then set +o errexit; echo \"Travis early exit to cache current state\"; false; else set -o errexit; source .travis/test_06_script_b.sh; fi\nafter_script:\n- echo $TRAVIS_COMMIT_RANGE\n"
}
]
| C++ | MIT License | vergecurrency/verge | [TRAVIS] Set timeout after compiling verge |
714,092 | 24.03.2019 18:19:14 | -3,600 | 186bc2f3d7cceaffbd538ed083d725dd3195780c | Remove useless addressbook log | [
{
"change_type": "MODIFY",
"old_path": "src/wallet/wallet.cpp",
"new_path": "src/wallet/wallet.cpp",
"diff": "@@ -3204,7 +3204,6 @@ bool CWallet::AddStealthAddress(CStealthAddress& sxAddr)\nif (rv){\nSetAddressBook(sxAddr, sxAddr.label, \"\");\n- LogPrintf(\"Wrote %s Address to our address store.\", sxAddr.label);\n}\nreturn rv;\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove useless addressbook log |
714,092 | 24.03.2019 18:19:47 | -3,600 | 2d246c9db6ba07d81618017ec3e053629b104ab0 | Remove unused boolean for stealth in standard visitor | [
{
"change_type": "MODIFY",
"old_path": "src/script/standard.cpp",
"new_path": "src/script/standard.cpp",
"diff": "@@ -251,10 +251,9 @@ class CScriptVisitor : public boost::static_visitor<bool>\n{\nprivate:\nCScript *script;\n- bool shouldStealth;\npublic:\nexplicit CScriptVisitor(CScript *scriptin) { script = scriptin; }\n- CScriptVisitor(CScript *scriptin, bool shouldStealthIn) { script = scriptin; shouldStealth = shouldStealthIn; }\n+ CScriptVisitor(CScript *scriptin, bool shouldStealthIn) { script = scriptin; }\nbool operator()(const CNoDestination &dest) const {\nscript->clear();\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove unused boolean for stealth in standard visitor |
714,092 | 24.03.2019 18:31:32 | -3,600 | bf1983e9a01cf550edfdb1acb89583e1440b2f45 | Re-enable check for low S-value | [
{
"change_type": "MODIFY",
"old_path": "src/script/interpreter.cpp",
"new_path": "src/script/interpreter.cpp",
"diff": "@@ -181,9 +181,9 @@ bool static IsLowDERSignature(const valtype &vchSig, ScriptError* serror) {\n// If the S value is above the order of the curve divided by two, its\n// complement modulo the order could have been used instead, which is\n// one byte shorter when encoded correctly.\n- /*if (!CPubKey::CheckLowS(vchSigCopy)) {\n+ if (!CPubKey::CheckLowS(vchSigCopy)) {\nreturn set_error(serror, SCRIPT_ERR_SIG_HIGH_S);\n- }*/\n+ }\nreturn true;\n}\n"
}
]
| C++ | MIT License | vergecurrency/verge | Re-enable check for low S-value |
714,092 | 25.03.2019 06:58:58 | -3,600 | 1e5b603e4baeedc329a43ffb3ddecbef270b17c8 | Adding default branch for handling other address types | [
{
"change_type": "MODIFY",
"old_path": "src/qt/walletmodel.cpp",
"new_path": "src/qt/walletmodel.cpp",
"diff": "@@ -206,8 +206,10 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact\n}\n}\n}\n-\n-\n+ } else {\n+ CScript scriptPubKey = GetScriptForDestination(dest);\n+ CRecipient recipient = {scriptPubKey, rcp.amount, rcp.fSubtractFeeFromAmount};\n+ vecSend.push_back(recipient);\n}\ntotal += rcp.amount;\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adding default branch for handling other address types |
714,092 | 06.04.2019 20:46:46 | -7,200 | 26bebcbde6423b60c54e19900b044d38e1cb2f9c | Sending out the EPHEM key as data | [
{
"change_type": "MODIFY",
"old_path": "src/qt/walletmodel.cpp",
"new_path": "src/qt/walletmodel.cpp",
"diff": "@@ -194,15 +194,22 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact\nif (cpkTo.IsValid())\n{\nCKeyID addr = cpkTo.GetID();\n+\n+ if (SecretToPublicKey(ephem_secret, ephem_pubkey) == 0)\n+ {\n// adding address part\nCScript scriptAddr = GetScriptForDestination(addr);\nCRecipient recipient = {scriptAddr, rcp.amount, rcp.fSubtractFeeFromAmount};\nvecSend.push_back(recipient);\n- // adding address part\n- CScript scriptPubKey = GetScriptForStealthPubKey(cpkTo);\n+ // adding the ephem key part\n+ CPubKey ephemPubKey(ephem_pubkey);\n+ CScript scriptPubKey = GetScriptForStealthPubKey(ephemPubKey);\nCRecipient recipientTwo = {scriptPubKey, 0, false};\nvecSend.push_back(recipientTwo);\n+\n+ }\n+\n}\n}\n}\n"
}
]
| C++ | MIT License | vergecurrency/verge | Sending out the EPHEM key as data |
714,092 | 08.04.2019 21:19:07 | -7,200 | 71501b6d8d4b4de35794df51e2a29f57507125eb | Adjusted minimum/required fee calculation to 10 CENT / kb | [
{
"change_type": "MODIFY",
"old_path": "src/wallet/fees.cpp",
"new_path": "src/wallet/fees.cpp",
"diff": "#include <validation.h>\n#include <wallet/coincontrol.h>\n#include <wallet/wallet.h>\n+#include <math.h>\nCAmount GetRequiredFee(const CWallet& wallet, unsigned int nTxBytes)\n{\n- // return GetRequiredFeeRate(wallet).GetFee(nTxBytes);\n+ int64_t tenCent = 10 * CENT;\n+ int64_t ceiledKiloBytesUsed = ceil(nTxBytes / static_cast<float>(1024));\n+\n+ CAmount feeForData = tenCent * ceiledKiloBytesUsed;\n+ return std::max(feeForData, tenCent);\nreturn 10 * CENT;\n}\nCAmount GetMinimumFee(const CWallet& wallet, unsigned int nTxBytes, const CCoinControl& coin_control, const CTxMemPool& pool, const CBlockPolicyEstimator& estimator, FeeCalculation* feeCalc)\n{\n- /*CAmount fee_needed = GetMinimumFeeRate(wallet, coin_control, pool, estimator, feeCalc).GetFee(nTxBytes);\n- // Always obey the maximum\n- if (fee_needed > maxTxFee) {\n- fee_needed = maxTxFee;\n- if (feeCalc) feeCalc->reason = FeeReason::MAXTXFEE;\n- }\n- return fee_needed;*/\n- return 10 * CENT;\n+ return GetRequiredFee(wallet, nTxBytes);\n}\nCFeeRate GetRequiredFeeRate(const CWallet& wallet)\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adjusted minimum/required fee calculation to 10 CENT / kb |
714,092 | 12.04.2019 19:47:26 | -7,200 | b44eb1be5343ed9768d6a9f68930ef38ad3f70d3 | Prepare gitian builds | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "contrib/gitian-build.py",
"diff": "+#!/usr/bin/env python3\n+\n+import argparse\n+import os\n+import subprocess\n+import sys\n+\n+def setup():\n+ global args, workdir\n+ programs = ['ruby', 'git', 'apt-cacher-ng', 'make', 'wget']\n+ if args.kvm:\n+ programs += ['python-vm-builder', 'qemu-kvm', 'qemu-utils']\n+ elif args.docker:\n+ dockers = ['docker.io', 'docker-ce']\n+ for i in dockers:\n+ return_code = subprocess.call(['sudo', 'apt-get', 'install', '-qq', i])\n+ if return_code == 0:\n+ break\n+ if return_code != 0:\n+ print('Cannot find any way to install docker', file=sys.stderr)\n+ exit(1)\n+ else:\n+ programs += ['lxc', 'debootstrap']\n+ subprocess.check_call(['sudo', 'apt-get', 'install', '-qq'] + programs)\n+ if not os.path.isdir('gitian.sigs'):\n+ subprocess.check_call(['git', 'clone', 'https://github.com/bitcoin-core/gitian.sigs.git'])\n+ if not os.path.isdir('bitcoin-detached-sigs'):\n+ subprocess.check_call(['git', 'clone', 'https://github.com/bitcoin-core/bitcoin-detached-sigs.git'])\n+ if not os.path.isdir('gitian-builder'):\n+ subprocess.check_call(['git', 'clone', 'https://github.com/devrandom/gitian-builder.git'])\n+ if not os.path.isdir('verge'):\n+ subprocess.check_call(['git', 'clone', 'https://github.com/vergecurrency/VERGE.git'])\n+ os.chdir('gitian-builder')\n+ make_image_prog = ['bin/make-base-vm', '--suite', 'bionic', '--arch', 'amd64']\n+ if args.docker:\n+ make_image_prog += ['--docker']\n+ elif not args.kvm:\n+ make_image_prog += ['--lxc']\n+ subprocess.check_call(make_image_prog)\n+ os.chdir(workdir)\n+ if args.is_bionic and not args.kvm and not args.docker:\n+ subprocess.check_call(['sudo', 'sed', '-i', 's/lxcbr0/br0/', '/etc/default/lxc-net'])\n+ print('Reboot is required')\n+ exit(0)\n+\n+def build():\n+ global args, workdir\n+\n+ os.makedirs('verge-binaries/' + args.version, exist_ok=True)\n+ print('\\nBuilding Dependencies\\n')\n+ os.chdir('gitian-builder')\n+ os.makedirs('inputs', exist_ok=True)\n+\n+ subprocess.check_call(['wget', '-N', '-P', 'inputs', 'https://downloads.sourceforge.net/project/osslsigncode/osslsigncode/osslsigncode-1.7.1.tar.gz'])\n+ subprocess.check_call(['wget', '-N', '-P', 'inputs', 'https://bitcoincore.org/cfields/osslsigncode-Backports-to-1.7.1.patch'])\n+ subprocess.check_call([\"echo 'a8c4e9cafba922f89de0df1f2152e7be286aba73f78505169bc351a7938dd911 inputs/osslsigncode-Backports-to-1.7.1.patch' | sha256sum -c\"], shell=True)\n+ subprocess.check_call([\"echo 'f9a8cdb38b9c309326764ebc937cba1523a3a751a7ab05df3ecc99d18ae466c9 inputs/osslsigncode-1.7.1.tar.gz' | sha256sum -c\"], shell=True)\n+ subprocess.check_call(['make', '-C', '../verge/depends', 'download', 'SOURCES_PATH=' + os.getcwd() + '/cache/common'])\n+\n+ if args.linux:\n+ print('\\nCompiling ' + args.version + ' Linux')\n+ subprocess.check_call(['bin/gbuild', '-j', args.jobs, '-m', args.memory, '--commit', 'verge='+args.commit, '--url', 'verge='+args.url, '../verge/contrib/gitian-descriptors/gitian-linux.yml'])\n+ subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-linux', '--destination', '../gitian.sigs/', '../verge/contrib/gitian-descriptors/gitian-linux.yml'])\n+ subprocess.check_call('mv build/out/verge-*.tar.gz build/out/src/verge-*.tar.gz ../verge-binaries/'+args.version, shell=True)\n+\n+ if args.windows:\n+ print('\\nCompiling ' + args.version + ' Windows')\n+ subprocess.check_call(['bin/gbuild', '-j', args.jobs, '-m', args.memory, '--commit', 'verge='+args.commit, '--url', 'verge='+args.url, '../verge/contrib/gitian-descriptors/gitian-win.yml'])\n+ subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-win-unsigned', '--destination', '../gitian.sigs/', '../verge/contrib/gitian-descriptors/gitian-win.yml'])\n+ subprocess.check_call('mv build/out/verge-*-win-unsigned.tar.gz inputs/', shell=True)\n+ subprocess.check_call('mv build/out/verge-*.zip build/out/verge-*.exe ../verge-binaries/'+args.version, shell=True)\n+\n+ if args.macos:\n+ print('\\nCompiling ' + args.version + ' MacOS')\n+ subprocess.check_call(['bin/gbuild', '-j', args.jobs, '-m', args.memory, '--commit', 'verge='+args.commit, '--url', 'verge='+args.url, '../verge/contrib/gitian-descriptors/gitian-osx.yml'])\n+ subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-osx-unsigned', '--destination', '../gitian.sigs/', '../verge/contrib/gitian-descriptors/gitian-osx.yml'])\n+ subprocess.check_call('mv build/out/verge-*-osx-unsigned.tar.gz inputs/', shell=True)\n+ subprocess.check_call('mv build/out/verge-*.tar.gz build/out/verge-*.dmg ../verge-binaries/'+args.version, shell=True)\n+\n+ os.chdir(workdir)\n+\n+ if args.commit_files:\n+ print('\\nCommitting '+args.version+' Unsigned Sigs\\n')\n+ os.chdir('gitian.sigs')\n+ subprocess.check_call(['git', 'add', args.version+'-linux/'+args.signer])\n+ subprocess.check_call(['git', 'add', args.version+'-win-unsigned/'+args.signer])\n+ subprocess.check_call(['git', 'add', args.version+'-osx-unsigned/'+args.signer])\n+ subprocess.check_call(['git', 'commit', '-m', 'Add '+args.version+' unsigned sigs for '+args.signer])\n+ os.chdir(workdir)\n+\n+def sign():\n+ global args, workdir\n+ os.chdir('gitian-builder')\n+\n+ if args.windows:\n+ print('\\nSigning ' + args.version + ' Windows')\n+ subprocess.check_call('cp inputs/verge-' + args.version + '-win-unsigned.tar.gz inputs/verge-win-unsigned.tar.gz', shell=True)\n+ subprocess.check_call(['bin/gbuild', '-i', '--commit', 'signature='+args.commit, '../verge/contrib/gitian-descriptors/gitian-win-signer.yml'])\n+ subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-win-signed', '--destination', '../gitian.sigs/', '../verge/contrib/gitian-descriptors/gitian-win-signer.yml'])\n+ subprocess.check_call('mv build/out/verge-*win64-setup.exe ../verge-binaries/'+args.version, shell=True)\n+ subprocess.check_call('mv build/out/verge-*win32-setup.exe ../verge-binaries/'+args.version, shell=True)\n+\n+ if args.macos:\n+ print('\\nSigning ' + args.version + ' MacOS')\n+ subprocess.check_call('cp inputs/verge-' + args.version + '-osx-unsigned.tar.gz inputs/verge-osx-unsigned.tar.gz', shell=True)\n+ subprocess.check_call(['bin/gbuild', '-i', '--commit', 'signature='+args.commit, '../verge/contrib/gitian-descriptors/gitian-osx-signer.yml'])\n+ subprocess.check_call(['bin/gsign', '-p', args.sign_prog, '--signer', args.signer, '--release', args.version+'-osx-signed', '--destination', '../gitian.sigs/', '../verge/contrib/gitian-descriptors/gitian-osx-signer.yml'])\n+ subprocess.check_call('mv build/out/verge-osx-signed.dmg ../verge-binaries/'+args.version+'/verge-'+args.version+'-osx.dmg', shell=True)\n+\n+ os.chdir(workdir)\n+\n+ if args.commit_files:\n+ print('\\nCommitting '+args.version+' Signed Sigs\\n')\n+ os.chdir('gitian.sigs')\n+ subprocess.check_call(['git', 'add', args.version+'-win-signed/'+args.signer])\n+ subprocess.check_call(['git', 'add', args.version+'-osx-signed/'+args.signer])\n+ subprocess.check_call(['git', 'commit', '-a', '-m', 'Add '+args.version+' signed binary sigs for '+args.signer])\n+ os.chdir(workdir)\n+\n+def verify():\n+ global args, workdir\n+ os.chdir('gitian-builder')\n+\n+ print('\\nVerifying v'+args.version+' Linux\\n')\n+ subprocess.check_call(['bin/gverify', '-v', '-d', '../gitian.sigs/', '-r', args.version+'-linux', '../verge/contrib/gitian-descriptors/gitian-linux.yml'])\n+ print('\\nVerifying v'+args.version+' Windows\\n')\n+ subprocess.check_call(['bin/gverify', '-v', '-d', '../gitian.sigs/', '-r', args.version+'-win-unsigned', '../verge/contrib/gitian-descriptors/gitian-win.yml'])\n+ print('\\nVerifying v'+args.version+' MacOS\\n')\n+ subprocess.check_call(['bin/gverify', '-v', '-d', '../gitian.sigs/', '-r', args.version+'-osx-unsigned', '../verge/contrib/gitian-descriptors/gitian-osx.yml'])\n+ print('\\nVerifying v'+args.version+' Signed Windows\\n')\n+ subprocess.check_call(['bin/gverify', '-v', '-d', '../gitian.sigs/', '-r', args.version+'-win-signed', '../verge/contrib/gitian-descriptors/gitian-win-signer.yml'])\n+ print('\\nVerifying v'+args.version+' Signed MacOS\\n')\n+ subprocess.check_call(['bin/gverify', '-v', '-d', '../gitian.sigs/', '-r', args.version+'-osx-signed', '../verge/contrib/gitian-descriptors/gitian-osx-signer.yml'])\n+\n+ os.chdir(workdir)\n+\n+def main():\n+ global args, workdir\n+\n+ parser = argparse.ArgumentParser(usage='%(prog)s [options] signer version')\n+ parser.add_argument('-c', '--commit', action='store_true', dest='commit', help='Indicate that the version argument is for a commit or branch')\n+ parser.add_argument('-p', '--pull', action='store_true', dest='pull', help='Indicate that the version argument is the number of a github repository pull request')\n+ parser.add_argument('-u', '--url', dest='url', default='https://github.com/vergecurrency/VERGE', help='Specify the URL of the repository. Default is %(default)s')\n+ parser.add_argument('-v', '--verify', action='store_true', dest='verify', help='Verify the Gitian build')\n+ parser.add_argument('-b', '--build', action='store_true', dest='build', help='Do a Gitian build')\n+ parser.add_argument('-s', '--sign', action='store_true', dest='sign', help='Make signed binaries for Windows and MacOS')\n+ parser.add_argument('-B', '--buildsign', action='store_true', dest='buildsign', help='Build both signed and unsigned binaries')\n+ parser.add_argument('-o', '--os', dest='os', default='lwm', help='Specify which Operating Systems the build is for. Default is %(default)s. l for Linux, w for Windows, m for MacOS')\n+ parser.add_argument('-j', '--jobs', dest='jobs', default='2', help='Number of processes to use. Default %(default)s')\n+ parser.add_argument('-m', '--memory', dest='memory', default='2000', help='Memory to allocate in MiB. Default %(default)s')\n+ parser.add_argument('-k', '--kvm', action='store_true', dest='kvm', help='Use KVM instead of LXC')\n+ parser.add_argument('-d', '--docker', action='store_true', dest='docker', help='Use Docker instead of LXC')\n+ parser.add_argument('-S', '--setup', action='store_true', dest='setup', help='Set up the Gitian building environment. Uses LXC. If you want to use KVM, use the --kvm option. Only works on Debian-based systems (Ubuntu, Debian)')\n+ parser.add_argument('-D', '--detach-sign', action='store_true', dest='detach_sign', help='Create the assert file for detached signing. Will not commit anything.')\n+ parser.add_argument('-n', '--no-commit', action='store_false', dest='commit_files', help='Do not commit anything to git')\n+ parser.add_argument('signer', help='GPG signer to sign each build assert file')\n+ parser.add_argument('version', help='Version number, commit, or branch to build. If building a commit or branch, the -c option must be specified')\n+\n+ args = parser.parse_args()\n+ workdir = os.getcwd()\n+\n+ args.linux = 'l' in args.os\n+ args.windows = 'w' in args.os\n+ args.macos = 'm' in args.os\n+\n+ args.is_bionic = b'bionic' in subprocess.check_output(['lsb_release', '-cs'])\n+\n+ if args.buildsign:\n+ args.build=True\n+ args.sign=True\n+\n+ if args.kvm and args.docker:\n+ raise Exception('Error: cannot have both kvm and docker')\n+\n+ args.sign_prog = 'true' if args.detach_sign else 'gpg --detach-sign'\n+\n+ # Set environment variable USE_LXC or USE_DOCKER, let gitian-builder know that we use lxc or docker\n+ if args.docker:\n+ os.environ['USE_DOCKER'] = '1'\n+ elif not args.kvm:\n+ os.environ['USE_LXC'] = '1'\n+ if not 'GITIAN_HOST_IP' in os.environ.keys():\n+ os.environ['GITIAN_HOST_IP'] = '10.0.3.1'\n+ if not 'LXC_GUEST_IP' in os.environ.keys():\n+ os.environ['LXC_GUEST_IP'] = '10.0.3.5'\n+\n+ # Disable for MacOS if no SDK found\n+ if args.macos and not os.path.isfile('gitian-builder/inputs/MacOSX10.11.sdk.tar.gz'):\n+ print('Cannot build for MacOS, SDK does not exist. Will build for other OSes')\n+ args.macos = False\n+\n+ script_name = os.path.basename(sys.argv[0])\n+ # Signer and version shouldn't be empty\n+ if args.signer == '':\n+ print(script_name+': Missing signer.')\n+ print('Try '+script_name+' --help for more information')\n+ exit(1)\n+ if args.version == '':\n+ print(script_name+': Missing version.')\n+ print('Try '+script_name+' --help for more information')\n+ exit(1)\n+\n+ # Add leading 'v' for tags\n+ if args.commit and args.pull:\n+ raise Exception('Cannot have both commit and pull')\n+ args.commit = ('' if args.commit else 'v') + args.version\n+\n+ if args.setup:\n+ setup()\n+\n+ os.chdir('verge')\n+ if args.pull:\n+ subprocess.check_call(['git', 'fetch', args.url, 'refs/pull/'+args.version+'/merge'])\n+ os.chdir('../gitian-builder/inputs/verge')\n+ subprocess.check_call(['git', 'fetch', args.url, 'refs/pull/'+args.version+'/merge'])\n+ args.commit = subprocess.check_output(['git', 'show', '-s', '--format=%H', 'FETCH_HEAD'], universal_newlines=True, encoding='utf8').strip()\n+ args.version = 'pull-' + args.version\n+ print(args.commit)\n+ subprocess.check_call(['git', 'fetch'])\n+ subprocess.check_call(['git', 'checkout', args.commit])\n+ os.chdir(workdir)\n+\n+ if args.build:\n+ build()\n+\n+ if args.sign:\n+ sign()\n+\n+ if args.verify:\n+ verify()\n+\n+if __name__ == '__main__':\n+ main()\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-linux.yml",
"new_path": "contrib/gitian-descriptors/gitian-linux.yml",
"diff": "---\n-name: \"verge-linux-0.17\"\n+name: \"verge-linux-5.0.0-beta1\"\nenable_cache: true\nsuites:\n- \"trusty\"\n@@ -29,7 +29,7 @@ packages:\n- \"python\"\nremotes:\n- \"url\": \"https://github.com/vergecurrency/VERGE.git\"\n- \"dir\": \"VERGE\"\n+ \"dir\": \"verge\"\nfiles: []\nscript: |\n@@ -79,13 +79,13 @@ script: |\n}\n# Faketime for depends so intermediate results are comparable\n- export PATH_orig=${PATH}\n- create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n- create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\n- export PATH=${WRAP_DIR}:${PATH}\n+ # export PATH_orig=${PATH}\n+ # create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n+ # create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\n+ # export PATH=${WRAP_DIR}:${PATH}\n- EXTRA_INCLUDES_BASE=$WRAP_DIR/extra_includes\n- mkdir -p $EXTRA_INCLUDES_BASE\n+ # EXTRA_INCLUDES_BASE=$WRAP_DIR/extra_includes\n+ # mkdir -p $EXTRA_INCLUDES_BASE\n# x86 needs /usr/include/i386-linux-gnu/asm pointed to /usr/include/x86_64-linux-gnu/asm,\n# but we can't write there. Instead, create a link here and force it to be included in the\n@@ -126,10 +126,10 @@ script: |\ndone\n# Faketime for binaries\n- export PATH=${PATH_orig}\n- create_global_faketime_wrappers \"${REFERENCE_DATETIME}\"\n- create_per-host_faketime_wrappers \"${REFERENCE_DATETIME}\"\n- export PATH=${WRAP_DIR}:${PATH}\n+ # export PATH=${PATH_orig}\n+ # create_global_faketime_wrappers \"${REFERENCE_DATETIME}\"\n+ # create_per-host_faketime_wrappers \"${REFERENCE_DATETIME}\"\n+ # export PATH=${WRAP_DIR}:${PATH}\n# Create the release tarball using (arbitrarily) the first host\n./autogen.sh\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-osx.yml",
"new_path": "contrib/gitian-descriptors/gitian-osx.yml",
"diff": "---\n-name: \"verge-osx-0.17\"\n+name: \"verge-osx-5.0.0-beta1\"\nenable_cache: true\nsuites:\n- \"trusty\"\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-win.yml",
"new_path": "contrib/gitian-descriptors/gitian-win.yml",
"diff": "---\n-name: \"verge-win-0.17\"\n+name: \"verge-win-5.0.0-beta1\"\nenable_cache: true\nsuites:\n- \"trusty\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Prepare gitian builds |
714,092 | 13.04.2019 23:39:30 | -7,200 | 2a63afbf08f1998958fc76724d45a1947bb76aa6 | Updating depending packages | [
{
"change_type": "MODIFY",
"old_path": "depends/packages/libcap.mk",
"new_path": "depends/packages/libcap.mk",
"diff": "@@ -9,9 +9,11 @@ define $(package)_set_vars\nendef\ndefine $(package)_build_cmds\n- $(MAKE)\n-endef\n-\n-define $(package)_stage_cmds\n- $(MAKE) DESTDIR=$($(package)_staging_dir) install\n+ $(MAKE) DESTDIR=`pwd`/out prefix=/ RAISE_SETFCAP=no lib=\"lib\" install && \\\n+ mkdir -p $($(package)_staging_dir)$(host_prefix)/bin && \\\n+ cp -a out/sbin/* $($(package)_staging_dir)$(host_prefix)/bin/ && \\\n+ \\\n+ mkdir -p $($(package)_staging_dir)$(host_prefix)/lib && \\\n+ cp -a out/lib/* $($(package)_staging_dir)$(host_prefix)/lib/ && \\\n+ cp -a out/lib/pkgconfig/* $($(package)_staging_dir)$(host_prefix)/lib/pkgconfig/\nendef\n"
},
{
"change_type": "MODIFY",
"old_path": "depends/packages/packages.mk",
"new_path": "depends/packages/packages.mk",
"diff": "-packages:=boost openssl libevent zeromq #libcap libseccomp\n+packages:=boost openssl libevent libcap libseccomp zeromq\nqt_native_packages = native_protobuf\nqt_packages = qrencode protobuf zlib\n"
}
]
| C++ | MIT License | vergecurrency/verge | Updating depending packages |
714,092 | 14.04.2019 12:47:14 | -7,200 | 11eee36f59482548713ac3c3c1b0dc5cae8ad881 | Include new pow helper dists | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -637,6 +637,12 @@ CTAES_DIST += crypto/ctaes/ctaes.h\nCTAES_DIST += crypto/ctaes/README.md\nCTAES_DIST += crypto/ctaes/test.c\n+CRYPTO_HELPER_DIST = crypto/pow/aes_helper.c\n+CRYPTO_HELPER_DIST += crypto/pow/hamsi_helper.c\n+CRYPTO_HELPER_DIST += crypto/pow/haval_helper.c\n+CRYPTO_HELPER_DIST += crypto/pow/md_helper.c\n+CRYPTO_HELPER_DIST += crypto/pow/sph_md_helper.c\n+\nCLEANFILES = $(EXTRA_LIBRARIES)\nCLEANFILES += *.gcda *.gcno\n@@ -653,7 +659,7 @@ CLEANFILES += wallet/test/*.gcda wallet/test/*.gcno\nCLEANFILES += zmq/*.gcda zmq/*.gcno\nCLEANFILES += obj/build.h\n-EXTRA_DIST = $(CTAES_DIST)\n+EXTRA_DIST = $(CTAES_DIST) $(CRYPTO_HELPER_DIST)\nconfig/verge-config.h: config/stamp-h1\n"
}
]
| C++ | MIT License | vergecurrency/verge | Include new pow helper dists |
714,092 | 14.04.2019 12:47:34 | -7,200 | 5e32ebd83c3d5d5eeecfdf1d23b5861def980261 | Include our fonts by default (dist) | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.qt.include",
"new_path": "src/Makefile.qt.include",
"diff": "@@ -296,6 +296,26 @@ RES_ICONS = \\\nqt/res/icons/warning.png \\\nqt/res/icons/verify.png\n+RES_FONTS = \\\n+ qt/res/fonts/Montserrat-BlackItalic.ttf \\\n+ qt/res/fonts/Montserrat-LightItalic.ttf \\\n+ qt/res/fonts/Montserrat-Black.ttf \\\n+ qt/res/fonts/Montserrat-MediumItalic.ttf \\\n+ qt/res/fonts/Montserrat-BoldItalic.ttf \\\n+ qt/res/fonts/Montserrat-Medium.ttf \\\n+ qt/res/fonts/Montserrat-Bold.ttf \\\n+ qt/res/fonts/Montserrat-Regular.ttf \\\n+ qt/res/fonts/Montserrat-ExtraBoldItalic.ttf \\\n+ qt/res/fonts/Montserrat-SemiBoldItalic.ttf \\\n+ qt/res/fonts/Montserrat-ExtraBold.ttf \\\n+ qt/res/fonts/Montserrat-SemiBold.ttf \\\n+ qt/res/fonts/Montserrat-ExtraLightItalic.ttf \\\n+ qt/res/fonts/Montserrat-ThinItalic.ttf \\\n+ qt/res/fonts/Montserrat-ExtraLight.ttf \\\n+ qt/res/fonts/Montserrat-Thin.ttf \\\n+ qt/res/fonts/Montserrat-Italic.ttf \\\n+ qt/res/fonts/montserrat.ttf\n+\nVERGE_QT_BASE_CPP = \\\nqt/bantablemodel.cpp \\\nqt/vergeaddressvalidator.cpp \\\n@@ -372,7 +392,7 @@ qt_libvergeqt_a_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)\nqt_libvergeqt_a_OBJCXXFLAGS = $(AM_OBJCXXFLAGS) $(QT_PIE_FLAGS)\nqt_libvergeqt_a_SOURCES = $(VERGE_QT_CPP) $(VERGE_QT_H) $(QT_FORMS_UI) \\\n- $(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES)\n+ $(QT_QRC) $(QT_QRC_LOCALE) $(QT_TS) $(PROTOBUF_PROTO) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(RES_FONTS)\nnodist_qt_libvergeqt_a_SOURCES = $(QT_MOC_CPP) $(QT_MOC) $(PROTOBUF_CC) \\\n$(PROTOBUF_H) $(QT_QRC_CPP) $(QT_QRC_LOCALE_CPP)\n"
}
]
| C++ | MIT License | vergecurrency/verge | Include our fonts by default (dist) |
714,092 | 15.04.2019 20:12:59 | -7,200 | 86b7120429cdc5861bb3a944ce4592fa8a60b064 | Enable libseccomp only for non windows systems | [
{
"change_type": "MODIFY",
"old_path": "depends/packages/libseccomp.mk",
"new_path": "depends/packages/libseccomp.mk",
"diff": "@@ -4,6 +4,8 @@ $(package)_download_path=https://github.com/seccomp/libseccomp/releases/download\n$(package)_file_name=$(package)-$($(package)_version).tar.gz\n$(package)_sha256_hash=7fc28f4294cc72e61c529bedf97e705c3acf9c479a8f1a3028d4cd2ca9f3b155\n+ifneq ($(host_os),mingw32)\n+\ndefine $(package)_set_vars\n$(package)_config_opts=--disable-static\nendef\n@@ -19,3 +21,5 @@ endef\ndefine $(package)_stage_cmds\n$(MAKE) DESTDIR=$($(package)_staging_dir) install\nendef\n+\n+endif\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Enable libseccomp only for non windows systems |
714,092 | 16.04.2019 18:35:53 | -7,200 | 88f3f45528c544d50d669955455d59ec719874fd | Disable Libseccomp for darwin | [
{
"change_type": "MODIFY",
"old_path": "depends/packages/libseccomp.mk",
"new_path": "depends/packages/libseccomp.mk",
"diff": "@@ -5,6 +5,7 @@ $(package)_file_name=$(package)-$($(package)_version).tar.gz\n$(package)_sha256_hash=7fc28f4294cc72e61c529bedf97e705c3acf9c479a8f1a3028d4cd2ca9f3b155\nifneq ($(host_os),mingw32)\n+ifneq ($(host_os),darwin)\ndefine $(package)_set_vars\n$(package)_config_opts=--disable-static\n@@ -23,3 +24,4 @@ define $(package)_stage_cmds\nendef\nendif\n+endif\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Disable Libseccomp for darwin |
714,092 | 16.04.2019 18:36:13 | -7,200 | 088ad0dc2253e63ed317095daca4d285257e7f23 | Fix gitian build descriptors for all systems | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-linux.yml",
"new_path": "contrib/gitian-descriptors/gitian-linux.yml",
"diff": "@@ -27,6 +27,8 @@ packages:\n- \"bsdmainutils\"\n- \"ca-certificates\"\n- \"python\"\n+- \"libattr1-dev\"\n+\nremotes:\n- \"url\": \"https://github.com/vergecurrency/VERGE.git\"\n\"dir\": \"verge\"\n@@ -79,13 +81,13 @@ script: |\n}\n# Faketime for depends so intermediate results are comparable\n- # export PATH_orig=${PATH}\n+ export PATH_orig=${PATH}\n#create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n#create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\n- # export PATH=${WRAP_DIR}:${PATH}\n+ export PATH=${WRAP_DIR}:${PATH}\n- # EXTRA_INCLUDES_BASE=$WRAP_DIR/extra_includes\n- # mkdir -p $EXTRA_INCLUDES_BASE\n+ EXTRA_INCLUDES_BASE=$WRAP_DIR/extra_includes\n+ mkdir -p $EXTRA_INCLUDES_BASE\n# x86 needs /usr/include/i386-linux-gnu/asm pointed to /usr/include/x86_64-linux-gnu/asm,\n# but we can't write there. Instead, create a link here and force it to be included in the\n@@ -113,7 +115,7 @@ script: |\nchmod +x ${WRAP_DIR}/${prog}\ndone\n- cd VERGE\n+ cd verge\nBASEPREFIX=`pwd`/depends\n# Build dependencies for each host\nfor i in $HOSTS; do\n@@ -170,11 +172,11 @@ script: |\n# Instead, we should investigate why these are popping up.\n# For aarch64, we'll need to bump up the min GLIBC version, as the abi\n# support wasn't introduced until 2.17.\n- case $i in\n- aarch64-*) : ;;\n- arm-*) : ;;\n- *) make ${MAKEOPTS} -C src check-symbols ;;\n- esac\n+ # case $i in\n+ # aarch64-*) : ;;\n+ # arm-*) : ;;\n+ # *) make ${MAKEOPTS} -C src check-symbols ;;\n+ # esac\nmake install DESTDIR=${INSTALLPATH}\ncd installed\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-osx.yml",
"new_path": "contrib/gitian-descriptors/gitian-osx.yml",
"diff": "@@ -27,9 +27,11 @@ packages:\n- \"python-dev\"\n- \"python-setuptools\"\n- \"fonts-tuffy\"\n+- \"libattr1-dev\"\n+\nremotes:\n- \"url\": \"https://github.com/vergecurrency/VERGE.git\"\n- \"dir\": \"VERGE\"\n+ \"dir\": \"verge\"\nfiles:\n- \"MacOSX10.11.sdk.tar.gz\"\nscript: |\n@@ -79,8 +81,8 @@ script: |\n# Faketime for depends so intermediate results are comparable\nexport PATH_orig=${PATH}\n- create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n- create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\n+ #create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n+ #create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\nexport PATH=${WRAP_DIR}:${PATH}\ncd verge\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-win.yml",
"new_path": "contrib/gitian-descriptors/gitian-win.yml",
"diff": "@@ -21,9 +21,13 @@ packages:\n- \"zip\"\n- \"ca-certificates\"\n- \"python\"\n+- \"libattr1-dev\"\n+- \"libseccomp-dev\"\n+- \"libcap-dev\"\n+\nremotes:\n- \"url\": \"https://github.com/vergecurrency/VERGE.git\"\n- \"dir\": \"VERGE\"\n+ \"dir\": \"verge\"\nfiles: []\nscript: |\nWRAP_DIR=$HOME/wrapped\n@@ -96,9 +100,9 @@ script: |\n# Faketime for depends so intermediate results are comparable\nexport PATH_orig=${PATH}\n- create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n- create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\n- create_per-host_linker_wrapper \"2000-01-01 12:00:00\"\n+ #create_global_faketime_wrappers \"2000-01-01 12:00:00\"\n+ #create_per-host_faketime_wrappers \"2000-01-01 12:00:00\"\n+ #create_per-host_linker_wrapper \"2000-01-01 12:00:00\"\nexport PATH=${WRAP_DIR}:${PATH}\ncd verge\n"
}
]
| C++ | MIT License | vergecurrency/verge | Fix gitian build descriptors for all systems |
714,092 | 17.04.2019 11:48:26 | -7,200 | 42814efc77c610860088629d96a84def58ef6f78 | Upgrade QT to the latest patch | [
{
"change_type": "MODIFY",
"old_path": "depends/packages/qt.mk",
"new_path": "depends/packages/qt.mk",
"diff": "PACKAGE=qt\n-$(package)_version=5.9.7\n+$(package)_version=5.9.8\n$(package)_download_path=https://download.qt.io/official_releases/qt/5.9/$($(package)_version)/submodules\n$(package)_suffix=opensource-src-$($(package)_version).tar.xz\n$(package)_file_name=qtbase-$($(package)_suffix)\n-$(package)_sha256_hash=36dd9574f006eaa1e5af780e4b33d11fe39d09fd7c12f3b9d83294174bd28f00\n+$(package)_sha256_hash=9b9dec1f67df1f94bce2955c5604de992d529dde72050239154c56352da0907d\n$(package)_dependencies=openssl zlib\n$(package)_linux_dependencies=freetype fontconfig libxcb libX11 xproto libXext\n$(package)_build_subdir=qtbase\n@@ -125,11 +125,11 @@ define $(package)_extract_cmds\necho \"$($(package)_qttools_sha256_hash) $($(package)_source_dir)/$($(package)_qttools_file_name)\" >> $($(package)_extract_dir)/.$($(package)_file_name).hash && \\\n$(build_SHA256SUM) -c $($(package)_extract_dir)/.$($(package)_file_name).hash && \\\nmkdir qtbase && \\\n- tar --strip-components=1 -xf $($(package)_source) -C qtbase && \\\n+ tar --no-same-owner --strip-components=1 -xf $($(package)_source) -C qtbase && \\\nmkdir qttranslations && \\\n- tar --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttranslations_file_name) -C qttranslations && \\\n+ tar --no-same-owner --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttranslations_file_name) -C qttranslations && \\\nmkdir qttools && \\\n- tar --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttools_file_name) -C qttools\n+ tar --no-same-owner --strip-components=1 -xf $($(package)_source_dir)/$($(package)_qttools_file_name) -C qttools\nendef\ndefine $(package)_preprocess_cmds\n@@ -138,7 +138,7 @@ define $(package)_preprocess_cmds\nsed -i.old \"/updateqm.depends =/d\" qttranslations/translations/translations.pro && \\\nsed -i.old \"s/src_plugins.depends = src_sql src_network/src_plugins.depends = src_network/\" qtbase/src/src.pro && \\\nsed -i.old \"s|X11/extensions/XIproto.h|X11/X.h|\" qtbase/src/plugins/platforms/xcb/qxcbxsettings.cpp && \\\n- sed -i.old 's/if \\[ \"$$$$XPLATFORM_MAC\" = \"yes\" \\]; then xspecvals=$$$$(macSDKify/if \\[ \"$$$$BUILD_ON_MAC\" = \"yes\" \\]; then xspecvals=$$$$(macSDKify/' qtbase/configure && \\\n+ sed -i.old -e 's/if \\[ \"$$$$XPLATFORM_MAC\" = \"yes\" \\]; then xspecvals=$$$$(macSDKify/if \\[ \"$$$$BUILD_ON_MAC\" = \"yes\" \\]; then xspecvals=$$$$(macSDKify/' -e 's|/bin/pwd|pwd|' qtbase/configure && \\\nsed -i.old 's/CGEventCreateMouseEvent(0, kCGEventMouseMoved, pos, 0)/CGEventCreateMouseEvent(0, kCGEventMouseMoved, pos, kCGMouseButtonLeft)/' qtbase/src/plugins/platforms/cocoa/qcocoacursor.mm && \\\nmkdir -p qtbase/mkspecs/macx-clang-linux &&\\\ncp -f qtbase/mkspecs/macx-clang/Info.plist.lib qtbase/mkspecs/macx-clang-linux/ &&\\\n"
}
]
| C++ | MIT License | vergecurrency/verge | Upgrade QT to the latest patch |
714,092 | 17.04.2019 16:32:00 | -7,200 | 42f6a7033483a8cabdddd48a9a768bba221c6ee8 | Update QT hashes for newer version | [
{
"change_type": "MODIFY",
"old_path": "depends/packages/qt.mk",
"new_path": "depends/packages/qt.mk",
"diff": "@@ -11,10 +11,10 @@ $(package)_qt_libs=corelib network widgets gui plugins testlib\n$(package)_patches=fix_qt_pkgconfig.patch mac-qmake.conf fix_configure_mac.patch fix_no_printer.patch fix_rcc_determinism.patch fix_riscv64_arch.patch xkb-default.patch\n$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix)\n-$(package)_qttranslations_sha256_hash=b36da7d93c3ab6fca56b32053bb73bc619c8b192bb89b74e3bcde2705f1c2a14\n+$(package)_qttranslations_sha256_hash=fb5a47799754af73d3bf501fe513342cfe2fc37f64e80df5533f6110e804220c\n$(package)_qttools_file_name=qttools-$($(package)_suffix)\n-$(package)_qttools_sha256_hash=d62e0f70d99645d6704dbb8976fb2222443061743689943d40970c52c49367a1\n+$(package)_qttools_sha256_hash=a97556eb7b2f30252cdd8a598c396cfce2b2f79d2bae883af6d3b26a2cdcc63c\n$(package)_extra_sources = $($(package)_qttranslations_file_name)\n$(package)_extra_sources += $($(package)_qttools_file_name)\n"
}
]
| C++ | MIT License | vergecurrency/verge | Update QT hashes for newer version |
714,092 | 19.04.2019 09:35:02 | -7,200 | 16d2d3eda088eb49aef42d53e91f5c9b9a3c41a4 | Add windows compatiability | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-win.yml",
"new_path": "contrib/gitian-descriptors/gitian-win.yml",
"diff": "name: \"verge-win-5.0.0-beta1\"\nenable_cache: true\nsuites:\n-- \"trusty\"\n+- \"bionic\"\narchitectures:\n- \"amd64\"\npackages:\n@@ -17,6 +17,7 @@ packages:\n- \"bsdmainutils\"\n- \"mingw-w64\"\n- \"g++-mingw-w64\"\n+- \"g++-mingw-w64-x86-64\"\n- \"nsis\"\n- \"zip\"\n- \"ca-certificates\"\n@@ -31,7 +32,7 @@ remotes:\nfiles: []\nscript: |\nWRAP_DIR=$HOME/wrapped\n- HOSTS=\"i686-w64-mingw32 x86_64-w64-mingw32\"\n+ HOSTS=\"x86_64-w64-mingw32\"\nCONFIGFLAGS=\"--enable-reduce-exports --disable-bench --disable-gui-tests\"\nFAKETIME_HOST_PROGS=\"g++ ar ranlib nm windres strip objcopy\"\nFAKETIME_PROGS=\"date makensis zip\"\n@@ -43,6 +44,7 @@ script: |\nexport TAR_OPTIONS=\"--mtime=\"$REFERENCE_DATE\\\\\\ $REFERENCE_TIME\"\"\nexport TZ=\"UTC\"\nexport BUILD_DIR=`pwd`\n+ update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix\nmkdir -p ${WRAP_DIR}\nif test -n \"$GBUILD_CACHE_ENABLED\"; then\nexport SOURCES_PATH=${GBUILD_COMMON_CACHE}\n"
}
]
| C++ | MIT License | vergecurrency/verge | Add windows compatiability |
714,092 | 19.04.2019 21:56:08 | -7,200 | a999a61286398b9fce4520e8c2d8b3aa4db787db | More fixes for the windows build | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-win.yml",
"new_path": "contrib/gitian-descriptors/gitian-win.yml",
"diff": "@@ -8,7 +8,7 @@ architectures:\npackages:\n- \"curl\"\n- \"g++\"\n-- \"git-core\"\n+- \"git\"\n- \"pkg-config\"\n- \"autoconf\"\n- \"libtool\"\n@@ -21,11 +21,16 @@ packages:\n- \"nsis\"\n- \"zip\"\n- \"ca-certificates\"\n-- \"python\"\n+- \"python3\"\n+- \"rename\"\n- \"libattr1-dev\"\n- \"libseccomp-dev\"\n- \"libcap-dev\"\n+alternatives:\n+ - package: x86_64-w64-mingw32-g++\n+ path: /usr/bin/x86_64-w64-mingw32-g++-posix\n+\nremotes:\n- \"url\": \"https://github.com/vergecurrency/VERGE.git\"\n\"dir\": \"verge\"\n@@ -36,6 +41,7 @@ script: |\nCONFIGFLAGS=\"--enable-reduce-exports --disable-bench --disable-gui-tests\"\nFAKETIME_HOST_PROGS=\"g++ ar ranlib nm windres strip objcopy\"\nFAKETIME_PROGS=\"date makensis zip\"\n+ HOST_LDFLAGS=\"-lboost_system-mt-s\"\nHOST_CFLAGS=\"-O2 -g\"\nHOST_CXXFLAGS=\"-O2 -g\"\n@@ -44,7 +50,6 @@ script: |\nexport TAR_OPTIONS=\"--mtime=\"$REFERENCE_DATE\\\\\\ $REFERENCE_TIME\"\"\nexport TZ=\"UTC\"\nexport BUILD_DIR=`pwd`\n- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix\nmkdir -p ${WRAP_DIR}\nif test -n \"$GBUILD_CACHE_ENABLED\"; then\nexport SOURCES_PATH=${GBUILD_COMMON_CACHE}\n@@ -155,7 +160,7 @@ script: |\nmkdir src/obj\ncp ../src/obj/build.h src/obj/\n- CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS} CFLAGS=\"${HOST_CFLAGS}\" CXXFLAGS=\"${HOST_CXXFLAGS}\"\n+ CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS} CFLAGS=\"${HOST_CFLAGS}\" CXXFLAGS=\"${HOST_CXXFLAGS}\" LDFLAGS=\"${HOST_LDFLAGS}\"\nmake ${MAKEOPTS}\nmake ${MAKEOPTS} -C src check-security\nmake deploy\n"
},
{
"change_type": "MODIFY",
"old_path": "depends/packages/boost.mk",
"new_path": "depends/packages/boost.mk",
"diff": "package=boost\n-$(package)_version=1_67_0\n-$(package)_download_path=https://dl.bintray.com/boostorg/release/1.67.0/source/\n+$(package)_version=1_64_0\n+$(package)_download_path=https://dl.bintray.com/boostorg/release/1.64.0/source/\n$(package)_file_name=$(package)_$($(package)_version).tar.bz2\n-$(package)_sha256_hash=2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba\n+$(package)_sha256_hash=7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332\ndefine $(package)_set_vars\n$(package)_config_opts_release=variant=release\n"
},
{
"change_type": "MODIFY",
"old_path": "share/setup.nsi.in",
"new_path": "share/setup.nsi.in",
"diff": "@@ -74,12 +74,12 @@ ShowUninstDetails show\nSection -Main SEC0000\nSetOutPath $INSTDIR\nSetOverwrite on\n- File @abs_top_srcdir@/release/@Verge_GUI_NAME@@EXEEXT@\n+ File @abs_top_srcdir@/release/@VERGE_GUI_NAME@@EXEEXT@\nFile /oname=COPYING.txt @abs_top_srcdir@/COPYING\nFile /oname=readme.txt @abs_top_srcdir@/doc/README_windows.txt\nSetOutPath $INSTDIR\\daemon\n- File @abs_top_srcdir@/release/@Verge_DAEMON_NAME@@EXEEXT@\n- File @abs_top_srcdir@/release/@Verge_CLI_NAME@@EXEEXT@\n+ File @abs_top_srcdir@/release/@VERGE_DAEMON_NAME@@EXEEXT@\n+ File @abs_top_srcdir@/release/@VERGE_CLI_NAME@@EXEEXT@\nSetOutPath $INSTDIR\\doc\nFile /r @abs_top_srcdir@/doc\\*.*\nSetOutPath $INSTDIR\n@@ -92,8 +92,8 @@ Section -post SEC0001\nWriteUninstaller $INSTDIR\\uninstall.exe\n!insertmacro MUI_STARTMENU_WRITE_BEGIN Application\nCreateDirectory $SMPROGRAMS\\$StartMenuGroup\n- CreateShortcut \"$SMPROGRAMS\\$StartMenuGroup\\$(^Name).lnk\" $INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\n- CreateShortcut \"$SMPROGRAMS\\$StartMenuGroup\\@PACKAGE_NAME@ (testnet, @WINDOWS_BITS@-bit).lnk\" \"$INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\" \"-testnet\" \"$INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\" 1\n+ CreateShortcut \"$SMPROGRAMS\\$StartMenuGroup\\$(^Name).lnk\" $INSTDIR\\@VERGE_GUI_NAME@@EXEEXT@\n+ CreateShortcut \"$SMPROGRAMS\\$StartMenuGroup\\@PACKAGE_NAME@ (testnet, @WINDOWS_BITS@-bit).lnk\" \"$INSTDIR\\@VERGE_GUI_NAME@@EXEEXT@\" \"-testnet\" \"$INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\" 1\nCreateShortcut \"$SMPROGRAMS\\$StartMenuGroup\\Uninstall $(^Name).lnk\" $INSTDIR\\uninstall.exe\n!insertmacro MUI_STARTMENU_WRITE_END\nWriteRegStr HKCU \"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$(^Name)\" DisplayName \"$(^Name)\"\n@@ -106,8 +106,8 @@ Section -post SEC0001\nWriteRegDWORD HKCU \"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\$(^Name)\" NoRepair 1\nWriteRegStr HKCR \"@PACKAGE_TARNAME@\" \"URL Protocol\" \"\"\nWriteRegStr HKCR \"@PACKAGE_TARNAME@\" \"\" \"URL:Verge\"\n- WriteRegStr HKCR \"@PACKAGE_TARNAME@\\DefaultIcon\" \"\" $INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\n- WriteRegStr HKCR \"@PACKAGE_TARNAME@\\shell\\open\\command\" \"\" '\"$INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\" \"%1\"'\n+ WriteRegStr HKCR \"@PACKAGE_TARNAME@\\DefaultIcon\" \"\" $INSTDIR\\@VERGE_GUI_NAME@@EXEEXT@\n+ WriteRegStr HKCR \"@PACKAGE_TARNAME@\\shell\\open\\command\" \"\" '\"$INSTDIR\\@VERGE_GUI_NAME@@EXEEXT@\" \"%1\"'\nSectionEnd\n# Macro for selecting uninstaller sections\n@@ -125,7 +125,7 @@ done${UNSECTION_ID}:\n# Uninstaller sections\nSection /o -un.Main UNSEC0000\n- Delete /REBOOTOK $INSTDIR\\@Verge_GUI_NAME@@EXEEXT@\n+ Delete /REBOOTOK $INSTDIR\\@VERGE_GUI_NAME@@EXEEXT@\nDelete /REBOOTOK $INSTDIR\\COPYING.txt\nDelete /REBOOTOK $INSTDIR\\readme.txt\nRMDir /r /REBOOTOK $INSTDIR\\daemon\n"
}
]
| C++ | MIT License | vergecurrency/verge | More fixes for the windows build |
714,092 | 21.04.2019 21:07:55 | -7,200 | f4cee811c89bc352c7f76c3a1fe4331fcdbd9956 | Base Circle CI build | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".circleci/config.yml",
"diff": "+version: 2\n+jobs:\n+ build:\n+ machine:\n+ enabled: true\n+ steps:\n+ - checkout:\n+ path: ~/project/verge\n+ - run:\n+ name: Prepare VM\n+ command: sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common git python3\n+ - run:\n+ name: Hardcopy gitian build script\n+ command: cp ./verge/contrib/gitian-build.py . && chmod u+x gitian-build.py\n+ - run:\n+ name: Prepare VM Builder\n+ command: git clone https://github.com/newroco/vmbuilder.git && cd vmbuilder && sudo chmod u+x setup.py && sudo ./setup.py install\n+ - run:\n+ name: Set Python Version\n+ command: pyenv global 3.5.2\n+ - run:\n+ name: Setup repo and execute VM builder\n+ command: ./gitian-build.py --docker --commit --setup marpme master\n+ - run:\n+ name: Add OSX SDK\n+ command: cd ./gitian-builder && mkdir -p inputs && cd inputs && curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz --output MacOSX10.11.sdk.tar.gz\n+ windows:\n+ machine:\n+ enabled: true\n+ steps:\n+ - run:\n+ name: Gitian Build Windows\n+ command: ./gitian-build.py --docker --detach-sign -o w --commit -j 4 -m 4000 -b marpme master\n+\n+ macos:\n+ machine:\n+ enabled: true\n+ steps:\n+ - run:\n+ name: Gitian Build Windows\n+ command: ./gitian-build.py --docker --detach-sign -o m --commit -j 4 -m 4000 -b marpme master\n+ linux:\n+ machine:\n+ enabled: true\n+ steps:\n+ - run:\n+ name: Gitian Build Windows\n+ command: ./gitian-build.py --docker --detach-sign -o l --commit -j 4 -m 4000 -b marpme master\n+\n+workflows:\n+ version: 2\n+ build_all:\n+ jobs:\n+ - build\n+ - windows:\n+ requires:\n+ - build\n+ filters:\n+ branches:\n+ only: master\n+ - macos:\n+ requires:\n+ - build\n+ filters:\n+ branches:\n+ only: master\n+ - linux:\n+ requires:\n+ - build\n+ filters:\n+ branches:\n+ only: master\n"
}
]
| C++ | MIT License | vergecurrency/verge | Base Circle CI build |
714,092 | 21.04.2019 22:00:42 | -7,200 | 52672732287d901d68d1eaf57847df45221649ad | fix fix and circle CI | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -30,9 +30,6 @@ jobs:\n- run:\nname: Prepare VM Builder\ncommand: git clone https://github.com/newroco/vmbuilder.git && cd vmbuilder && sudo chmod u+x setup.py && sudo ./setup.py install\n- - run:\n- name: Add OSX SDK\n- command: mkdir -p gitian-builder && cd ./gitian-builder && mkdir -p inputs && cd inputs && curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz --output MacOSX10.11.sdk.tar.gz\n- persist_to_workspace:\nroot: \".\"\npaths:\n@@ -65,7 +62,7 @@ jobs:\n- run:\n<<: *run_base_setup\n- run:\n- name: Gitian Build Windows\n+ name: Gitian Build MacOS\ncommand: ./gitian-build.py --docker --detach-sign -o m --commit -j 4 -m 4000 -b marpme master\nlinux:\n<<: *defaults\n@@ -79,7 +76,10 @@ jobs:\n- run:\n<<: *run_base_setup\n- run:\n- name: Gitian Build Windows\n+ name: Add OSX SDK\n+ command: mkdir -p gitian-builder && cd ./gitian-builder && mkdir -p inputs && cd inputs && curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz --output MacOSX10.11.sdk.tar.gz\n+ - run:\n+ name: Gitian Build Linux\ncommand: ./gitian-build.py --docker --detach-sign -o l --commit -j 4 -m 4000 -b marpme master\nworkflows:\n"
}
]
| C++ | MIT License | vergecurrency/verge | fix fix and circle CI |
714,092 | 22.04.2019 10:43:42 | -7,200 | cd2a1041335385bf9e42c42dc7219928c2f551d4 | Update gitian-builder | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-build.py",
"new_path": "contrib/gitian-build.py",
"diff": "@@ -32,7 +32,7 @@ def setup():\nif not os.path.isdir('bitcoin-detached-sigs'):\nsubprocess.check_call(['git', 'clone', 'https://github.com/bitcoin-core/bitcoin-detached-sigs.git'])\nif not os.path.isdir('gitian-builder'):\n- subprocess.check_call(['git', 'clone', 'https://github.com/devrandom/gitian-builder.git'])\n+ subprocess.check_call(['git', 'clone', 'https://github.com/marpme/gitian-builder.git'])\nif not os.path.isdir('verge'):\nsubprocess.check_call(['git', 'clone', 'https://github.com/vergecurrency/VERGE.git'])\nos.chdir('gitian-builder')\n@@ -84,7 +84,7 @@ def build():\nos.chdir(workdir)\n- if args.commit_files:\n+ if args.commit_files and not os.environ.get('CI'):\nprint('\\nCommitting '+args.version+' Unsigned Sigs\\n')\nos.chdir('gitian.sigs')\nsubprocess.check_call(['git', 'add', args.version+'-linux/'+args.signer])\n"
}
]
| C++ | MIT License | vergecurrency/verge | Update gitian-builder |
714,092 | 22.04.2019 10:47:52 | -7,200 | 2aa486d0867178bc6d684b419dc1e421cce7c4d3 | Reactivate filters for master again | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -90,18 +90,18 @@ workflows:\n- windows:\nrequires:\n- build\n- # filters:\n- # branches:\n- # only: master\n+ filters:\n+ branches:\n+ only: master\n- macos:\nrequires:\n- build\n- # filters:\n- # branches:\n- # only: master\n+ filters:\n+ branches:\n+ only: master\n- linux:\nrequires:\n- build\n- # filters:\n- # branches:\n- # only: master\n+ filters:\n+ branches:\n+ only: master\n"
}
]
| C++ | MIT License | vergecurrency/verge | Reactivate filters for master again |
714,092 | 22.04.2019 10:57:41 | -7,200 | 6f9e34c49031644dd3e06afb6ee8eb264d0c21ef | Upgrade gitian to bionic | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-linux.yml",
"new_path": "contrib/gitian-descriptors/gitian-linux.yml",
"diff": "---\nname: \"verge-linux-5.0.0-beta1\"\nenable_cache: true\n+distro: \"ubuntu\"\nsuites:\n- \"bionic\"\narchitectures:\n@@ -8,17 +9,21 @@ architectures:\npackages:\n- \"curl\"\n- \"g++-aarch64-linux-gnu\"\n-- \"g++-4.8-aarch64-linux-gnu\"\n-- \"gcc-4.8-aarch64-linux-gnu\"\n+- \"g++-8-aarch64-linux-gnu\"\n+- \"gcc-8-aarch64-linux-gnu\"\n- \"binutils-aarch64-linux-gnu\"\n- \"g++-arm-linux-gnueabihf\"\n-- \"g++-4.8-arm-linux-gnueabihf\"\n-- \"gcc-4.8-arm-linux-gnueabihf\"\n+- \"g++-8-arm-linux-gnueabihf\"\n+- \"gcc-8-arm-linux-gnueabihf\"\n- \"binutils-arm-linux-gnueabihf\"\n-- \"g++-4.8-multilib\"\n-- \"gcc-4.8-multilib\"\n+- \"g++-riscv64-linux-gnu\"\n+- \"g++-8-riscv64-linux-gnu\"\n+- \"gcc-8-riscv64-linux-gnu\"\n+- \"binutils-riscv64-linux-gnu\"\n+- \"g++-8-multilib\"\n+- \"gcc-8-multilib\"\n- \"binutils-gold\"\n-- \"git-core\"\n+- \"git\"\n- \"pkg-config\"\n- \"autoconf\"\n- \"libtool\"\n@@ -27,7 +32,6 @@ packages:\n- \"bsdmainutils\"\n- \"ca-certificates\"\n- \"python3\"\n-- \"rename\"\n- \"libattr1-dev\"\nremotes:\n"
},
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-osx.yml",
"new_path": "contrib/gitian-descriptors/gitian-osx.yml",
"diff": "---\nname: \"verge-osx-5.0.0-beta1\"\nenable_cache: true\n+distro: \"ubuntu\"\nsuites:\n- \"bionic\"\narchitectures:\n@@ -9,7 +10,7 @@ packages:\n- \"ca-certificates\"\n- \"curl\"\n- \"g++\"\n-- \"git-core\"\n+- \"git\"\n- \"pkg-config\"\n- \"autoconf\"\n- \"librsvg2-bin\"\n@@ -23,10 +24,9 @@ packages:\n- \"libcap-dev\"\n- \"libz-dev\"\n- \"libbz2-dev\"\n-- \"python-dev\"\n-- \"python-setuptools\"\n- \"python3\"\n-- \"rename\"\n+- \"python3-dev\"\n+- \"python3-setuptools\"\n- \"fonts-tuffy\"\n- \"libattr1-dev\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Upgrade gitian to bionic |
714,092 | 22.04.2019 10:59:29 | -7,200 | c90f984d0502015716e3d300b0c93b4fb3f30135 | Move OSX SDK into the right container | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -61,6 +61,9 @@ jobs:\n<<: *set_python_version\n- run:\n<<: *run_base_setup\n+ - run:\n+ name: Add OSX SDK\n+ command: mkdir -p gitian-builder && cd ./gitian-builder && mkdir -p inputs && cd inputs && curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz --output MacOSX10.11.sdk.tar.gz\n- run:\nname: Gitian Build MacOS\ncommand: ./gitian-build.py --docker --detach-sign -o m --commit -j 4 -m 4000 -b marpme master\n@@ -75,9 +78,6 @@ jobs:\n<<: *set_python_version\n- run:\n<<: *run_base_setup\n- - run:\n- name: Add OSX SDK\n- command: mkdir -p gitian-builder && cd ./gitian-builder && mkdir -p inputs && cd inputs && curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.11.sdk.tar.xz --output MacOSX10.11.sdk.tar.gz\n- run:\nname: Gitian Build Linux\ncommand: ./gitian-build.py --docker --detach-sign -o l --commit -j 4 -m 4000 -b marpme master\n"
}
]
| C++ | MIT License | vergecurrency/verge | Move OSX SDK into the right container |
714,092 | 22.04.2019 17:22:54 | -7,200 | 804b1241f4c9f8010288a89347c015c2c869e55e | Remove 32bit linux variant | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-linux.yml",
"new_path": "contrib/gitian-descriptors/gitian-linux.yml",
"diff": "@@ -41,7 +41,7 @@ files: []\nscript: |\nWRAP_DIR=$HOME/wrapped\n- HOSTS=\"i686-pc-linux-gnu x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu\"\n+ HOSTS=\"x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu\"\nCONFIGFLAGS=\"--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests\"\nFAKETIME_HOST_PROGS=\"\"\nFAKETIME_PROGS=\"date ar ranlib nm\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove 32bit linux variant |
714,092 | 22.04.2019 19:59:37 | -7,200 | a71b540b9716d44bae31f4948d28dd5d033455c1 | Drop Other linux distros | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-linux.yml",
"new_path": "contrib/gitian-descriptors/gitian-linux.yml",
"diff": "@@ -41,7 +41,7 @@ files: []\nscript: |\nWRAP_DIR=$HOME/wrapped\n- HOSTS=\"x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu\"\n+ HOSTS=\"x86_64-linux-gnu\"\nCONFIGFLAGS=\"--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests\"\nFAKETIME_HOST_PROGS=\"\"\nFAKETIME_PROGS=\"date ar ranlib nm\"\n"
}
]
| C++ | MIT License | vergecurrency/verge | Drop Other linux distros |
714,092 | 22.04.2019 20:00:13 | -7,200 | 9bb183b01902484120f7c38e529890d83d566d35 | Remove win32 build references | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-win.yml",
"new_path": "contrib/gitian-descriptors/gitian-win.yml",
"diff": "@@ -185,6 +185,6 @@ script: |\ncp $OUTDIR/verge-*setup-unsigned.exe unsigned/\nfind . | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-win-unsigned.tar.gz\nmv ${OUTDIR}/${DISTNAME}-x86_64-*-debug.zip ${OUTDIR}/${DISTNAME}-win64-debug.zip\n- mv ${OUTDIR}/${DISTNAME}-i686-*-debug.zip ${OUTDIR}/${DISTNAME}-win32-debug.zip\n+ # mv ${OUTDIR}/${DISTNAME}-i686-*-debug.zip ${OUTDIR}/${DISTNAME}-win32-debug.zip\nmv ${OUTDIR}/${DISTNAME}-x86_64-*.zip ${OUTDIR}/${DISTNAME}-win64.zip\n- mv ${OUTDIR}/${DISTNAME}-i686-*.zip ${OUTDIR}/${DISTNAME}-win32.zip\n+ # mv ${OUTDIR}/${DISTNAME}-i686-*.zip ${OUTDIR}/${DISTNAME}-win32.zip\n"
}
]
| C++ | MIT License | vergecurrency/verge | Remove win32 build references |
714,092 | 23.04.2019 19:17:17 | -7,200 | bfe1fe76d1fd73146f9885911670908cb1c8e32e | Add boost_system to the linker | [
{
"change_type": "MODIFY",
"old_path": "contrib/gitian-descriptors/gitian-osx.yml",
"new_path": "contrib/gitian-descriptors/gitian-osx.yml",
"diff": "@@ -42,6 +42,7 @@ script: |\nWRAP_DIR=$HOME/wrapped\nHOSTS=\"x86_64-apple-darwin11\"\nCONFIGFLAGS=\"--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage\"\n+ HOST_LDFLAGS=\"-lboost_system-mt\"\nFAKETIME_HOST_PROGS=\"\"\nFAKETIME_PROGS=\"ar ranlib date dmg genisoimage\"\n@@ -138,7 +139,7 @@ script: |\nmkdir src/obj\ncp ../src/obj/build.h src/obj/\n- CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}\n+ CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS} LDFLAGS=\"${HOST_LDFLAGS}\"\nmake ${MAKEOPTS}\nmake install-strip DESTDIR=${INSTALLPATH}\n"
}
]
| C++ | MIT License | vergecurrency/verge | Add boost_system to the linker |
714,092 | 23.04.2019 19:27:20 | -7,200 | 04e7d4cd93881cfd6ea1c1898ce80fa2e758b57c | Add tag filter for the release workflow | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -86,22 +86,25 @@ workflows:\nversion: 2\nbuild_all:\njobs:\n- - build\n+ - build:\n+ filters:\n+ tags:\n+ only: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n- windows:\nrequires:\n- build\nfilters:\n- branches:\n- only: master\n+ tags:\n+ only: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n- macos:\nrequires:\n- build\nfilters:\n- branches:\n- only: master\n+ tags:\n+ only: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n- linux:\nrequires:\n- build\nfilters:\n- branches:\n- only: master\n+ tags:\n+ only: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n\\ No newline at end of file\n"
}
]
| C++ | MIT License | vergecurrency/verge | Add tag filter for the release workflow |
714,092 | 23.04.2019 20:07:20 | -7,200 | d22315f2aec020cbebc3dddb1bfa239451c7093a | Rename requires | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -145,19 +145,19 @@ workflows:\nonly: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n- release-windows:\nrequires:\n- - build\n+ - release-prepare-machine\nfilters:\ntags:\nonly: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n- release-macos:\nrequires:\n- - build\n+ - release-prepare-machine\nfilters:\ntags:\nonly: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n- release-linux:\nrequires:\n- - build\n+ - release-prepare-machine\nfilters:\ntags:\nonly: /v[0-9]+\\.[0-9]\\.[0-9]-rc[1-9]/\n"
}
]
| C++ | MIT License | vergecurrency/verge | Rename requires |
714,092 | 23.04.2019 20:10:46 | -7,200 | 4ed665d18cdac81624561671bde0fd0fde3ba52d | Correct file references | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -96,7 +96,7 @@ jobs:\nname: Hash dependencies\ncommand: md5sum depends/packages/* > hashes.run\n- restore_cache:\n- key: source-depends-{{ checksum hashes.run }}\n+ key: source-depends-{{ checksum \"./hashes.run\" }}\npaths:\n- \"./depends\"\n- run:\n@@ -106,13 +106,14 @@ jobs:\nname: Creating depends\ncommand: cd depends/ && make -j4 HOST=x86_64-linux-gnu\n- save_cache:\n- key: source-depends-{{ checksum hashes.run }}\n+ key: source-depends-{{ checksum \"./hashes.run\" }}\npaths:\n- \"./depends\"\n- persist_to_workspace:\nroot: \".\"\npaths:\n- \".\"\n+\ntest-create-and-test-build:\n<<: *defaults-docker\nsteps:\n"
}
]
| C++ | MIT License | vergecurrency/verge | Correct file references |
714,092 | 23.04.2019 20:29:13 | -7,200 | 5740bd4af143c1efadf75ee3f8de73865bb6ce62 | Adjust configure prefix | [
{
"change_type": "MODIFY",
"old_path": ".circleci/config.yml",
"new_path": ".circleci/config.yml",
"diff": "@@ -127,7 +127,7 @@ jobs:\ncommand: ./autogen.sh\n- run:\nname: Configuring code\n- command: ./configure --disable-bench\n+ command: ./configure --disable-bench --disable-dependency-tracking --disable-werror --prefix=`pwd`/depends/x86_64-linux-gnu --bindir=`pwd`/release/bin --libdir=`pwd`/release/lib\n- run:\nname: Make\ncommand: make -j4\n"
}
]
| C++ | MIT License | vergecurrency/verge | Adjust configure prefix |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.