Skip to content

Commit 67328bb

Browse files
committed
build: remove protobuf from depends
1 parent 4af0447 commit 67328bb

File tree

8 files changed

+2
-82
lines changed

8 files changed

+2
-82
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
FILE_ENV="./ci/test/00_setup_env_win64.sh"
105105
106106
- stage: test
107-
name: '32-bit + dash [GOAL: install] [GUI: BIP70 enabled]'
107+
name: '32-bit + dash [GOAL: install] [gui]'
108108
env: >-
109109
FILE_ENV="./ci/test/00_setup_env_i686.sh"
110110

ci/test/00_setup_env_i686.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
export LC_ALL=C.UTF-8
88

99
export HOST=i686-pc-linux-gnu
10-
export DEP_OPTS="PROTOBUF=1"
1110
export PACKAGES="g++-multilib python3-zmq"
1211
export GOAL="install"
13-
export BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-bip70 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
12+
export BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
1413
export CONFIG_SHELL="/bin/dash"

depends/Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ WORK_PATH = $(BASEDIR)/work
99
BASE_CACHE ?= $(BASEDIR)/built
1010
SDK_PATH ?= $(BASEDIR)/SDKs
1111
NO_QT ?=
12-
PROTOBUF ?=
1312
RAPIDCHECK ?=
1413
NO_WALLET ?=
1514
NO_ZMQ ?=
@@ -101,17 +100,11 @@ wallet_packages_$(NO_WALLET) = $(wallet_packages)
101100
upnp_packages_$(NO_UPNP) = $(upnp_packages)
102101
zmq_packages_$(NO_ZMQ) = $(zmq_packages)
103102

104-
protobuf_packages_$(PROTOBUF) = $(protobuf_packages)
105103
rapidcheck_packages_$(RAPIDCHECK) = $(rapidcheck_packages)
106104

107105
packages += $($(host_arch)_$(host_os)_packages) $($(host_os)_packages) $(qt_packages_) $(wallet_packages_) $(upnp_packages_)
108106
native_packages += $($(host_arch)_$(host_os)_native_packages) $($(host_os)_native_packages)
109107

110-
ifeq ($(protobuf_packages_),)
111-
native_packages += $(protobuf_native_packages)
112-
packages += $(protobuf_packages)
113-
endif
114-
115108
ifneq ($(zmq_packages_),)
116109
packages += $(zmq_packages)
117110
endif
@@ -157,7 +150,6 @@ $(host_prefix)/share/config.site : config.site.in $(host_prefix)/.stamp_$(final_
157150
-e 's|@allow_host_packages@|$(ALLOW_HOST_PACKAGES)|' \
158151
-e 's|@no_qt@|$(NO_QT)|' \
159152
-e 's|@no_zmq@|$(NO_ZMQ)|' \
160-
-e 's|@enable_bip70@|$(PROTOBUF)|' \
161153
-e 's|@no_wallet@|$(NO_WALLET)|' \
162154
-e 's|@no_upnp@|$(NO_UPNP)|' \
163155
-e 's|@debug@|$(DEBUG)|' \

depends/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ The following can be set when running make: make FOO=bar
7777
NO_UPNP: Don't download/build/cache packages needed for enabling upnp
7878
DEBUG: disable some optimizations and enable more runtime checking
7979
RAPIDCHECK: build rapidcheck (experimental, requires cmake)
80-
PROTOBUF: build protobuf (used for deprecated BIP70 support)
8180
HOST_ID_SALT: Optional salt to use when generating host package ids
8281
BUILD_ID_SALT: Optional salt to use when generating build package ids
8382

depends/config.site.in

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ fi
1616
if test -z $with_qt_bindir && test -z "@no_qt@"; then
1717
with_qt_bindir=$depends_prefix/native/bin
1818
fi
19-
if test -z $with_protoc_bindir && test -z "@no_qt@"; then
20-
with_protoc_bindir=$depends_prefix/native/bin
21-
fi
22-
2319

2420
if test -z $enable_wallet && test -n "@no_wallet@"; then
2521
enable_wallet=no
@@ -37,10 +33,6 @@ if test -z $enable_zmq && test -n "@no_zmq@"; then
3733
enable_zmq=no
3834
fi
3935

40-
if test -n $enable_bip70 && test -n "@enable_bip70@"; then
41-
enable_bip70=yes
42-
fi
43-
4436
if test x@host_os@ = xdarwin; then
4537
BREW=no
4638
PORT=no

depends/packages/native_protobuf.mk

Lines changed: 0 additions & 25 deletions
This file was deleted.

depends/packages/packages.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
packages:=boost openssl libevent
22

3-
protobuf_native_packages = native_protobuf
4-
protobuf_packages = protobuf
5-
63
qt_packages = qrencode zlib
74

85
qt_linux_packages:=qt expat libxcb xcb_proto libXau xproto freetype fontconfig

depends/packages/protobuf.mk

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)