Update Cutter versions and lock decompilers. (#2416)

This commit is contained in:
karliss 2020-09-02 19:49:01 +03:00 committed by GitHub
parent aa218b7754
commit d0a3a042f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 11 deletions

View File

@ -1,4 +1,4 @@
version: '1.11.0-git-{build}'
version: '1.12.0-git-{build}'
image: 'Visual Studio 2019'
clone_depth: 1
@ -33,7 +33,6 @@ environment:
DEPLOY: false
install:
- cmd: if defined QMAKE ( git clone --depth 1 --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git %APPVEYOR_BUILD_FOLDER%/r2ghidra-dec )
- ps: $env:path = ($env:path -split ";").Where({!($_ -like "*Microsoft SQL Server*")}) -join ";"
- cmd: C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && scripts/fetch_deps.sh"
- cmd: set "CUTTER_DEPS_DIR=%APPVEYOR_BUILD_FOLDER%\cutter-deps"
@ -46,7 +45,7 @@ install:
- cmd: where meson.exe
- cmd: powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget %NINJA_URL% -OutFile ninja.zip; Expand-Archive .\ninja.zip -DestinationPath ."
# Artifacts
- cmd: set "ARTIFACT_NAME=Cutter-v1.11.0-%ARCH%.Windows"
- cmd: set "ARTIFACT_NAME=Cutter-v1.12.0-rc1-%ARCH%.Windows"
- cmd: if defined MESON ( set "ARTIFACT_PATH=dist_%ARCH%" ) else ( set "ARTIFACT_PATH=build_%ARCH%\cutter" )
before_build:

View File

@ -24,9 +24,9 @@ copyright = '2020, The Cutter Developers'
author = 'The Cutter Developers'
# The short X.Y version
version = '1.11'
# The full version, including alpha/beta/rc tags
release = '1.11.0'
version = '1.12'
# The full version, including a2lpha/beta/rc tags
release = '1.12.0-rc1'
# -- General configuration ---------------------------------------------------

View File

@ -1,8 +1,15 @@
#!/bin/bash
set -eu
git clone --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git $APPVEYOR_BUILD_FOLDER/r2ghidra-dec
pushd $APPVEYOR_BUILD_FOLDER/r2ghidra-dec
git checkout --recurse-submodules 8e576eeadc211de4ac8d8c759cc368fa48cdfa99
popd
scripts/r2ghidra.sh \
-DCMAKE_C_COMPILER=cl \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH="$APPVEYOR_BUILD_FOLDER/r2_dist;$APPVEYOR_BUILD_FOLDER/r2_dist/include/libr;$APPVEYOR_BUILD_FOLDER/r2_dist/include/libr/sdb;$QT64PATH" \
-DCMAKE_PREFIX_PATH="$APPVEYOR_BUILD_FOLDER/r2_dist;$APPVEYOR_BUILD_FOLDER/r2_dist/include/libr;$APPVEYOR_BUILD_FOLDER/r2_dist/include/libr/sdb" \
-DCMAKE_INSTALL_PREFIX="$APPVEYOR_BUILD_FOLDER/r2_dist" \
-DRADARE2_INSTALL_PLUGDIR="$APPVEYOR_BUILD_FOLDER/r2_dist/lib/plugins"

View File

@ -1,8 +1,9 @@
$dist = $args[0]
$python = Split-Path((Get-Command python.exe).Path)
git clone https://github.com/wargio/r2dec-js.git
git clone https://github.com/radareorg/r2dec-js.git
cd r2dec-js
git checkout b5a0d15c7bcc488f268ffb0931b7ced2919f6c9d
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS --prefix=$dist --libdir=lib\plugins --datadir=lib\plugins p build
ninja -C build install
Remove-Item -Recurse -Force $dist\lib\plugins\core_pdd.lib

View File

@ -7,7 +7,10 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d r2dec-js ]]; then
git clone --depth 1 https://github.com/wargio/r2dec-js.git
git clone https://github.com/wargio/r2dec-js.git
cd r2dec-js
git checkout b5a0d15c7bcc488f268ffb0931b7ced2919f6c9d
cd ..
fi
cd r2dec-js

View File

@ -1,11 +1,16 @@
#!/bin/bash
set -e
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d r2ghidra-dec ]]; then
git clone --depth 1 --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git || exit 1
git clone --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git || exit 1
pushd r2ghidra-dec
git checkout --recurse-submodules 8e576eeadc211de4ac8d8c759cc368fa48cdfa99
popd
fi
cd r2ghidra-dec || exit 1

View File

@ -3,7 +3,7 @@ TEMPLATE = app
TARGET = Cutter
CUTTER_VERSION_MAJOR = 1
CUTTER_VERSION_MINOR = 11
CUTTER_VERSION_MINOR = 12
CUTTER_VERSION_PATCH = 0
VERSION = $${CUTTER_VERSION_MAJOR}.$${CUTTER_VERSION_MINOR}.$${CUTTER_VERSION_PATCH}

View File

@ -25,6 +25,7 @@
<update_contact>xarkes</update_contact>
<releases>
<release version="1.12.0-rc1" type="development" date="2020-09-02" />
<release version="1.11.0" date="2020-07-24" />
<release version="1.10.3" date="2020-05-08" />
<release version="1.10.2" date="2020-03-10" />