Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #5 Generate lib to cgogen and write test suite #6

Closed
wants to merge 138 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
e10514a
[submodule] refs #5 Update path submodule
Dec 5, 2019
cad51e0
[Makefile] refs #5 Correcting path submodule
Dec 5, 2019
a387fad
[cgo] refs #5 Correting url the path modules
Dec 5, 2019
517b60a
[test-libfc] refs #5 Update test `TestRegisterSkycoinPlugin`
Dec 5, 2019
dc7f0c4
[submodule] refs #5 Update submodule to last commmit `develop`
Dec 5, 2019
54558d4
[cgo] refs #5 Changes in path in `libfc_types`
Dec 5, 2019
39e5da0
[test-fc] refs #5 Update suite test `TestRegisterSkycoinPlugin`
Dec 6, 2019
6914124
[include] refs #5 Refactor `make lint-libc`
Dec 6, 2019
0c24cda
[submodule] refs #5 Update submodule to last commit
Dec 19, 2019
c89ef43
[golangci] refs #5 Added support golangci
Feb 2, 2020
0d89afd
[cgo] refs #5 Added `util.cipher`
Feb 4, 2020
0555508
[cgo] refs #5 Added `util.util`
Feb 4, 2020
f58a751
[submodule] refs #5 Update submodule
Feb 4, 2020
870a667
[cgo] refs #5 Added fle conf
Feb 4, 2020
ed6705a
[include] refs #5 Added file `fctypes.gen.h`, `fctypes.h` and `util.c…
Feb 4, 2020
278884e
[include] refs #5 Correcting definiction
Feb 4, 2020
2533a30
[cgo] refs #5 Finalized `util.pluginutil`
Feb 8, 2020
868e7e3
[submodule] refs #5 Update submodule
Feb 8, 2020
4b71a44
[cgo] refs #5 Regenerate `util.util.go`
Feb 10, 2020
71fce79
[cgo] refs #5 Generate `util.sign.go`
Feb 10, 2020
cf4cd7b
[cgo] refs #5 FInalized `util.datetime.go`
Feb 10, 2020
dc5a031
[cgo] refs #5 Generate `util.coin.go`
Feb 10, 2020
f1c706b
[cgo] refs #5 Added new type date Handles `AltcoinPlugin` , `Wallet`…
Feb 10, 2020
a4efd30
[submodule] refs #5 Update submodule
Feb 25, 2020
f4d172a
[golint-ci] refs #5 EXclude false positive
Feb 28, 2020
f47c085
[cgo] refs #5 Added new datatye `InputSignDescriptor`
Feb 28, 2020
e4c7b4f
[cgo] refs #5 Added datatype `PasswdReader` is callback
Feb 28, 2020
c1b34b6
[cgo] refs #5 Correcting call util in lib
Feb 28, 2020
c727593
[cgo] refs #5 Finalized `util.wallet`
Feb 28, 2020
9f50c4f
[liberr] refs #5 Added files `libfc_error.go`
Feb 29, 2020
3faea42
[travis] refs #5 Change mirror the gox
Feb 29, 2020
61b945f
[travis] refs #5 Remove equal `go get -t ./...`
Feb 29, 2020
875928a
[cgo] refs #5 Parse files `libfc_error`, `libfc_types`, `util.cipher`…
Feb 29, 2020
f4bcb62
[travis] refs #5 Added install QT in Travis
Feb 29, 2020
b9b0541
[travis] refs #5 New tag in Makefile and added new parameter in Conf.
Feb 29, 2020
36630c4
[travis] refs #5 Remove definition make install-deps in Makefile and …
Feb 29, 2020
8fc758b
[travis] refs #5 Upgrade version go to 1.13.x
Feb 29, 2020
4444ba7
[travis] refs #5 Upgrade dist to xenial=> bionic
Feb 29, 2020
cf9c673
[travis] refs #5 Added dep
Feb 29, 2020
7c1620d
[travis] refs #5 Remove `install-golangci-lint.sh` and install `golan…
Feb 29, 2020
d076632
[travis] refs #5 Comment `make test`
Feb 29, 2020
8228624
[travis] refs #5 Comment `make lint-libc`
Feb 29, 2020
35687b6
[travis] refs #5 Remove make deps
Feb 29, 2020
7b1ddd6
[travis] refs #5 Change to make install-deps => install-deps-no-envs
Feb 29, 2020
ac5046f
[travis] refs #5 Remove to make install-deps-no-envs
Feb 29, 2020
42a7493
[travis] refs #5 Restore owen in docker_install_ubuntu
Feb 29, 2020
10f8fe3
[travis] refs #5 Restore owen in docker_install_ubuntu
Feb 29, 2020
b9637a6
[travis] refs #5 Correcting declare tags
Feb 29, 2020
e3e679f
[travis] refs #5 Added install 'mesa-common-dev'
Feb 29, 2020
8b2b67d
[travis] refs #5 Added install 'mesa-common-dev' in Linux
Feb 29, 2020
12ec90c
[travis] refs #5 Added cache path $GOPATH and therecipe
Feb 29, 2020
3453042
[travis] refs #5 Added cache path $GOPATH and therecipe
Feb 29, 2020
7c652f4
[travis] refs #5 Installed all need GL
Feb 29, 2020
2b0ab8e
[travis] refs #5 Added install therece
Mar 1, 2020
16b2ddb
[travis] refs #5 Added install therece with make install-deps
Mar 1, 2020
a703073
[travis] refs #5 Trining test install in travis therece/qt
Mar 4, 2020
3917a37
[travis] refs #5 Changes install libs necesary to compile QT
Mar 4, 2020
d57a75d
[Makefile] refs #5 Remove bad definitions in `LIBC_LIBS`
Mar 4, 2020
0b7669d
[travis] refs #5 Update list apt in `install-travis-gcc.sh`
Mar 4, 2020
2c83f83
[submodule] refs #5 Update submodule
Mar 4, 2020
2cd711d
[cgo] refs #5 Changes `util.coin.go`
Mar 4, 2020
f395c70
[Makefile] refs #5 Tryning -R in research library
Mar 4, 2020
625cfa2
[travis] refs #5 Install `libqt5multimedia5` in Linux
Mar 4, 2020
059f3b6
[makefile] refs #5 Remove old definition the env_tags
Mar 4, 2020
60451ee
[travis] refs #5 Added `make test`
Mar 4, 2020
3624357
[travis] refs #5 Trining install multimedia qt
Mar 4, 2020
238d501
[travis] refs #5 Commit install QT
Mar 4, 2020
11d5135
[travis] refs #5 Discomment install QT
Mar 4, 2020
8a61a8a
[travis] refs #5 INstall optinal package the QT
Mar 6, 2020
1f22fd9
[travis] refs #5 Using default package de QTCreator
Mar 6, 2020
10ec1a9
[travis] refs #5 Upgrade dist
Mar 6, 2020
1a7efb2
[travis] refs #5 Tryning install qt in OSX
Mar 6, 2020
91b858d
[travis] refs #5 Remove declarations install QT5 in OSX
Mar 6, 2020
b8f7428
[Makefile] refs #5 Tryning mount gcc_64
Mar 9, 2020
dbf8bee
[Makefile] refs #5 Using default env_513
Mar 10, 2020
72ccc31
[travis] refs #5 Install `Libqt5multimedia.so`
Mar 10, 2020
1d3b2c8
[travis] refs #5 Added install `libgl1-mesa-dev` in GNU
Mar 10, 2020
c25b191
[travis] refs #5 Limit time in OSX and include new package install en…
Mar 10, 2020
f62d11c
[submodule] refs #5 Update submodule
Mar 10, 2020
32bf2b2
[test-libc] refs #5 Added new suite test `util.cipher`
Mar 10, 2020
8f90d05
[cgo][test-libc] refs #5 Finalized test `TestNewGenericAddress`
Mar 11, 2020
4043aa5
[test-libc] refs #5 Correcting that error in travis https://travis-ci…
Mar 11, 2020
88fef13
[submodule] refs #5 Update module
Mar 14, 2020
8c4b92a
[cgo] refs #5 Added `util.textutil`
Mar 16, 2020
8650d22
[submodule] refs #5 Change branch to `master`
Mar 16, 2020
e24c5bb
[cgo] refs #5 Repair that error https://travis-ci.org/github/fibercry…
Mar 16, 2020
9430938
[submodule] refs #5 Update submodule
Mar 16, 2020
9f6edf6
[cgogen] refs #5 Added datatype `util__BalanceSnapshot`
Mar 17, 2020
e25250c
[cgo] refs #5 Finalized util.account.go
Mar 17, 2020
071598b
[test-libc] refs #5 Correcting parse test `TestNewGenericAddress`
Mar 18, 2020
3321276
[cgo] refs #5 Added datatype `AddressBook__Handle`, `Contact__Handle`…
Mar 18, 2020
bf083cd
[cgo] refs #5 Finalized `coin.mock.CyptoAccount`
Mar 18, 2020
8691251
[cgo] refs #5 Added `coin.mock.Address`
Mar 18, 2020
6fb2a13
[cgo] refs #5 Added `coin.mocks.AddressBook`
Mar 18, 2020
40b0ec2
[travis] refs #5 Remove old definitions the brew
Mar 19, 2020
09c92fa
[cgo] refs #5 Added `coin.mocks.AddressIterator.go`
Mar 19, 2020
c39a40c
[cgo] refs #5 Declare typedate `AddressIteratorMocks__Handle`
Mar 19, 2020
2b548e4
[cgo] refs #5 Added `coin.mocks.AltcoinManager`
Mar 19, 2020
aaf5570
[cgo] refs #5 Format `coin.mocks.AltcoinManager`
Mar 20, 2020
8dfc042
[cgo] refs #5 Added `coin.mocks.AltcoinPlugin`
Mar 20, 2020
b88f405
[cgo] refs #5 Added `coin.mocks.Block`
Mar 20, 2020
9930901
[cgo] refs #5 Added `coin.mocks.BlockBlockchainSignService`
Mar 20, 2020
571c8b8
[cgo] refs #5 Added `coin.mocks.BlockchainStatus`
Mar 20, 2020
d28be1d
[cgo] refs #5 Added `coin.mocks.BlockchainTransactionsAPI`
Mar 21, 2020
e0f9395
[cgo] refs #5 Added `coin.mocks.Contact`
Mar 21, 2020
97295ab
[submodule] refs #5 Update submodule
Mar 22, 2020
58c7cca
[cgo] refs #5 Added `coin.network`
Mar 22, 2020
c3fda55
[cgo] refs #5 Added `core.wallet`
Mar 22, 2020
7ee0d3b
[travis] refs #5 Comment version go
Mar 22, 2020
7c8fcbe
[cgo] refs #5 Added `coin.mocks.MultiPool`
Mar 22, 2020
c4c5d24
[cgo] refs #5 Added `coin.mocks.PEX`
Mar 22, 2020
7561b52
[cgo] refs #5 Added `coin.mocks.PexNode`
Mar 23, 2020
5fac7f4
[cgo] refs #5 Added `coin.mocks.PexNodeIterator`
Mar 23, 2020
b841b2a
[cgo] refs #5 Added `coin.mocks.PexNodeSet`
Mar 23, 2020
3055c3d
[cgo] refs #5 Added `coin.mocks.PubKey`
Mar 24, 2020
425b1cf
[cgo] refs #5 Added `coin.mocks.SecKey`
Mar 24, 2020
2355e4b
[cgo] refs #5 Added `coin.mocks.SeedGenerator`
Mar 24, 2020
4741786
[cgo] refs #5 Added `coin.mocks.StringAddress`
Mar 24, 2020
8a62c14
[cgo] refs #5 Added `coin.mocks.Transaction`
Mar 24, 2020
8d54c2f
[cgo] refs #5 Added `coin.mocks.TransactionInput`
Mar 24, 2020
675efc8
[cgo] refs #5 Added `coin.mocks.TransactionInputIterator`
Mar 24, 2020
152ba34
[cgo] refs #5 Added `coin.mocks.TransactionIterator`
Mar 24, 2020
78ccfa0
[cgo] refs #5 Added `coin.mocks.TransactionOutput`
Mar 24, 2020
a6b1428
[cgo] refs #5 Added `coin.mocks.TransactionOutputIterator`
Mar 24, 2020
6648fce
[cgo] refs #5 Added `coin.mocks.TxnSigner`
Mar 24, 2020
fde68d9
[cgo] refs #5 Added `coin.mocks.TxnSignerIterator`
Mar 24, 2020
371cb4d
[cgo] refs #5 Added `coin.mocks.Wallet`
Mar 24, 2020
3e60cb6
[cgo] refs #5 Added `coin.mocks.WalletAddress`
Mar 24, 2020
dbef753
[cgo] refs #5 Added `coin.mocks.WalletEnv`
Mar 24, 2020
4e5979a
[cgo] refs #5 Added `coin.mocks.WalletIterator`
Mar 24, 2020
e58ea19
[cgo] refs #5 Added `coin.mocks.WalletOutput`
Mar 26, 2020
03bcf20
[cgo] refs #5 Added `coin.mocks.WalletSet`
Mar 26, 2020
0290e0f
[cgo] refs #5 Added `coin.mocks.WalletStorage`
Mar 26, 2020
3cf8907
[test] refs #5 Finalized suite test `TestNewGenericAddress`
Mar 27, 2020
8fc2289
[test-libc] refs #5 Init suite test `util.datetime`
Mar 27, 2020
6f36371
[test-libc] refs #5 Correcting work TestParseDate
Mar 27, 2020
b59a03c
[test-libc] refs #5 FInalized suite test `TestParseDate`
Mar 27, 2020
881a092
[test] refs #5 Initial test util.coin
Mar 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ bin/test_libfibercrypto_shared
bin/test_libfibercrypto_static
include/libfibercrypto.h
.directory
bin
build


# IDE
.idea
.vscode
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "vendor/github.com/fibercrypto/FiberCryptoWallet"]
path = vendor/github.com/fibercrypto/FiberCryptoWallet
url = https://github.com/fibercrypto/FiberCryptoWallet
[submodule "vendor/github.com/fibercrypto/fibercryptowallet"]
path = vendor/github.com/fibercrypto/fibercryptowallet
url = https://github.com/fibercrypto/fibercryptowallet
2 changes: 2 additions & 0 deletions .golangci.libcgo.yml → .golangci.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ issues:
# it can be disabled by `exclude-use-default: false`. To list all
# excluded by default patterns execute `golangci-lint run --help`
exclude:
- "SA4000"
- "U1000"

# Independently from option `exclude` we use default exclude patterns,
# it can be disabled by this option. To list all
Expand Down
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
sudo: required
language: go
go:
cache:
directories:
- $GOPATH/bin
matrix:
include:
- os: linux
dist: xenial
dist: bionic
- os: osx
before_install:
- ./ci-scripts/install-travis-gcc.sh
- eval "CC=gcc-6 && CXX=g++-6"
- go get -u github.com/golang/dep/cmd/dep
env:
global:
- BUILD_DIR: build
Expand All @@ -19,15 +20,15 @@ env:
- PATH_DIR: "$GOPATH/src/github.com/fibercypto/libfibercrypto/"
install:
# Install gox
- go get github.com/gz-c/gox
- go get -t ./...
- go get github.com/mitchellh/gox
- make install-linters
- make install-deps-libc
- make dep
- make install-deps
- go get -t -d -v ./...
script:
- make build
- make lint
- make test
- make lint-libc

before_deploy:
- export VERSION="$(git describe --tags --exact-match HEAD 2> /dev/null)"
Expand All @@ -42,7 +43,6 @@ deploy:
secure: ZqagrrwPFXs4bgHV9lJkZaex6dxAEUJprSdhsqJLYTkF4uBN5VYNM4KCy+azBabV8pVLxiCCZ8G/ocRw+omQgzJ/1lymNtYez8C/SLAuKzOFxdTxkvyQ9pW5Xr+fjptTEpe/E/lRYvS6LFtQEEpbrtjW/km9HWc7EdMNxUaGhBCRun0YhK3a7JSpQE7JbsyR691Zco8hLb2b5PO8qYx5NoVWHKPMLMYUZhbSZbWs0Viu8s8t9VLVhrSIudAKnQiNs5viWp0YZy6U6mRMuBeZ7wazebx0d/BAj78f+atGOZIiJbHgOxupnhhgR10X7b5B89JggxVe3IFr5t96qz3VV4aTl1yuLZ3i8eYanMIvdirnpPU36bbfAVMJuG7L4hFmZ+pD22ZmiOI4COqHDxSd0gF8DUri+Cf9S+5RF5Kk3YBArQzdue6DjNPBtKyQja1xINfj3Go2LQnaKH+/ffzBJIlw9TICcqf241FS3bNtx0QvUDV/+ezqy0dcD7xKOoUQmLDhyWt5NltNKu/JjoCwj99B9P45GQHJCrSvMu71hwNYlTJxtTJuLIVRXqI5BUEGpnBK99MV+6nycl0ePla4zXTBbJ/uOFzwfj1njAdw2DT4ceTsvtkTAc9qEi3S1hrRL2z3mHQ4loZCTJ9Nn9Cx0WOgfs/bCDvExa7b+AJ3ScE=
file:
- libfibercrypto-${VERSION}-${OS}-${ARCH}.tar.gz
skip_cleanup: true
draft: true
overwrite: true
on:
Expand Down
22 changes: 10 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LIBSRC_SKYSRCREL_PATH = ../../../..
# --- Relative path to libfibercrypto vendor directory
LIBVENDOR_REL_PATH = vendor
# --- Relative path to Skycoin source code submodule
SKYSRC_REL_PATH = $(LIBVENDOR_REL_PATH)/github.com/fibercryto/FiberCryptoWallet
SKYSRC_REL_PATH = $(LIBVENDOR_REL_PATH)/github.com/fibercryto/fibercryptowallet
# --- Relative path to Skycoin vendor directory
SKYVENDOR_REL_PATH = $(SKYSRC_REL_PATH)/vendor

Expand Down Expand Up @@ -48,7 +48,8 @@ CGO_ENABLED=1
PKG_CLANG_FORMAT = clang-format
PKG_CLANG_LINTER = clang-tidy
PKG_LIB_TEST = check

QT_DIR = $(GOPATH)/src/github.com/therecipe/env_linux_amd64_513
QT_VERSION = 5.13.0
ifeq ($(UNAME_S),Linux)
LDLIBS=$(LIBC_LIBS) -lpthread
LDPATH=$(shell printenv LD_LIBRARY_PATH)
Expand Down Expand Up @@ -104,10 +105,10 @@ build-libc-dbg: configure-build build-libc-static build-libc-shared
test-libc: build-libc ## Run tests for libfibercrypto C client library
echo "Compiling with $(CC) $(CC_VERSION) $(STDC_FLAG)"
$(eval TESTS_SRC := $(shell ls $(LIB_DIR)/cgo/tests/*.c))
$(CC) -o $(BIN_DIR)/test_libfibercrypto_shared $(TESTS_SRC) $(LIB_DIR)/cgo/tests/testutils/*.c -lfibercrypto $(LDLIBS) $(LDFLAGS)
$(CC) -o $(BIN_DIR)/test_libfibercrypto_static $(TESTS_SRC) $(LIB_DIR)/cgo/tests/testutils/*.c $(BUILDLIB_DIR)/libfibercrypto.a $(LDLIBS) $(LDFLAGS)
$(LDPATHVAR)="$(LDPATH):$(BUILD_DIR)/usr/lib:$(BUILDLIB_DIR)" $(BIN_DIR)/test_libfibercrypto_shared -lfibercrypto
$(LDPATHVAR)="$(LDPATH):$(BUILD_DIR)/usr/lib" $(BIN_DIR)/test_libfibercrypto_static
$(CC) -Wall -o $(BIN_DIR)/test_libfibercrypto_shared $(TESTS_SRC) $(LIB_DIR)/cgo/tests/testutils/*.c -lfibercrypto $(LDLIBS) $(LDFLAGS) -I$(QT_DIR)/$(QT_VERSION)/gcc_64/lib
# $(CC) -o $(BIN_DIR)/test_libfibercrypto_static $(TESTS_SRC) $(LIB_DIR)/cgo/tests/testutils/*.c $(BUILDLIB_DIR)/libfibercrypto.a $(LDLIBS) $(LDFLAGS)
$(LDPATHVAR)="$(LDPATH):$(BUILD_DIR)/usr/lib:$(BUILDLIB_DIR)":$(QT_DIR)/$(QT_VERSION)/gcc_64/lib $(BIN_DIR)/test_libfibercrypto_shared -lfibercrypto -I$(QT_DIR)/$(QT_VERSION)/gcc_64/lib
# $(LDPATHVAR)="$(LDPATH):$(BUILD_DIR)/usr/lib":$(QT_DIR)/$(QT_VERSION)/gcc_64/lib $(BIN_DIR)/test_libfibercrypto_static


test: test-libc ## Run all test for libfibercrypto
Expand All @@ -120,11 +121,8 @@ docs-libc: ## Generate libfibercrypto documentation
docs: docs-libc ## Generate documentation for all libraries

lint: ## Run linters. Use make install-linters first.
vendorcheck ./...
# lib/cgo needs separate linting rules
golangci-lint run -c .golangci.libcgo.yml ./lib/cgo/...
# The govet version in golangci-lint is out of date and has spurious warnings, run it separately
go vet -all ./...
golangci-lint run -c .golangci.yml ./lib/cgo/...

lint-libc: format-libc
# Linter LIBC
Expand Down Expand Up @@ -152,7 +150,7 @@ install-deps-Darwin: ## Install deps on Mac OSX

install-linters: install-linters-$(UNAME_S) ## Install linters
go get -u github.com/FiloSottile/vendorcheck
cat ./ci-scripts/install-golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.10.2
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(GOPATH)/bin v1.18.0

install-deps-libc: install-deps-libc-$(UNAME_S) ## Install deps for libc

Expand All @@ -166,7 +164,7 @@ check-0.12.0/src/.libs/libcheck.so: ## Install libcheck
install-deps-libc-Darwin: configure-build ## Install locally dependencies for testing libfibercrypto
brew install check

install-deps: install-deps-libc ## Install deps for libc and skyapi
install-deps: install-deps-$(UNAME_S) install-deps-libc ## Install deps for libc and skyapi

format: ## Formats the code. Must have goimports installed (use make install-linters).
goimports -w -local github.com/fibercryto/FiberCryptoWallet ./lib
Expand Down
8 changes: 6 additions & 2 deletions ci-scripts/docker_install_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
#!/usr/bin/env bash

apt-get update
apt-get install gcc-6 g++-6 curl wget cmake libcurl3-gnutls -y
apt-get install gcc g++ wget cmake libcurl3-gnutls -y

sudo apt-get remove curl -y
(cd deps && wget http://curl.haxx.se/download/curl-7.58.0.tar.gz && tar -xvf curl-7.58.0.tar.gz && cd curl-7.58.0/ && ./configure && make && sudo make install)
(cd deps && git clone https://github.com/uncrustify/uncrustify.git && cd uncrustify && mkdir build && cd build && cmake .. && make && sudo make install)

wget -c https://github.com/libcheck/check/releases/download/0.12.0/check-0.12.0.tar.gz
tar -xzf check-0.12.0.tar.gz
cd check-0.12.0 && ./configure --prefix=/usr --disable-static && make && sudo make install
cd check-0.12.0 && ./configure --prefix=/usr --disable-static && make && sudo make install

sudo apt-get -y install build-essential libglu1-mesa-dev libpulse-dev libglib2.0-dev mesa-common-dev
sudo apt-get --no-install-recommends install libqt*5-dev qt*5-dev qml-module-qtquick-* qt*5-doc-html
export GO111MODULE=off; go get -v github.com/therecipe/qt/cmd/... && $GOPATH/bin/qtsetup -test=false
Loading