Skip to content

Commit

Permalink
Update to the latest version of most dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed May 31, 2020
1 parent f78cfe3 commit 31fec68
Show file tree
Hide file tree
Showing 37 changed files with 76 additions and 51 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,6 @@
[submodule "leveldb"]
path = tst-network/leveldb
url = https://github.com/google/leveldb.git
[submodule "c-ares"]
path = min-wireshark/c-ares
url = https://github.com/c-ares/c-ares.git
2 changes: 1 addition & 1 deletion app-shared/flutter-desktop-embedding
Submodule flutter-desktop-embedding updated 48 files
+1 −1 .github/workflows/ci.yml
+22 −0 plugins/color_panel/linux/CMakeLists.txt
+0 −111 plugins/color_panel/linux/Makefile
+1 −1 plugins/color_panel/linux/color_panel_plugin.cc
+0 −0 plugins/color_panel/linux/include/color_panel_plugin.h
+4 −2 plugins/color_panel/pubspec.yaml
+22 −0 plugins/file_chooser/linux/CMakeLists.txt
+0 −107 plugins/file_chooser/linux/Makefile
+1 −1 plugins/file_chooser/linux/file_chooser_plugin.cc
+0 −0 plugins/file_chooser/linux/include/file_chooser_plugin.h
+4 −2 plugins/file_chooser/pubspec.yaml
+4 −2 plugins/flutter_plugins/path_provider_fde/pubspec.yaml
+16 −0 plugins/flutter_plugins/url_launcher_fde/linux/CMakeLists.txt
+0 −108 plugins/flutter_plugins/url_launcher_fde/linux/Makefile
+0 −0 plugins/flutter_plugins/url_launcher_fde/linux/include/url_launcher_plugin.h
+1 −1 plugins/flutter_plugins/url_launcher_fde/linux/url_launcher_plugin.cc
+4 −2 plugins/flutter_plugins/url_launcher_fde/pubspec.yaml
+22 −0 plugins/menubar/linux/CMakeLists.txt
+0 −107 plugins/menubar/linux/Makefile
+0 −0 plugins/menubar/linux/include/menubar_plugin.h
+1 −1 plugins/menubar/linux/menubar_plugin.cc
+4 −2 plugins/menubar/pubspec.yaml
+24 −0 plugins/window_size/linux/CMakeLists.txt
+0 −110 plugins/window_size/linux/Makefile
+0 −0 plugins/window_size/linux/include/window_size_plugin.h
+1 −1 plugins/window_size/linux/window_size_plugin.cc
+4 −2 plugins/window_size/pubspec.yaml
+1 −0 testbed/gtk/.gitignore
+82 −0 testbed/gtk/CMakeLists.txt
+0 −85 testbed/gtk/Makefile
+5 −0 testbed/gtk/README.md
+1 −0 testbed/gtk/flutter/.template_version
+77 −0 testbed/gtk/flutter/CMakeLists.txt
+7 −2 testbed/gtk/main.cc
+5 −0 testbed/gtk/window_configuration.cc
+15 −0 testbed/gtk/window_configuration.h
+2 −1 testbed/lib/main.dart
+84 −0 testbed/linux/CMakeLists.txt
+0 −146 testbed/linux/Makefile
+0 −16 testbed/linux/app_configuration.mk
+1 −1 testbed/linux/flutter/.template_version
+108 −0 testbed/linux/flutter/CMakeLists.txt
+3 −3 testbed/linux/flutter/generated_plugin_registrant.cc
+12 −0 testbed/linux/flutter/generated_plugins.cmake
+0 −35 testbed/linux/flutter/generated_plugins.mk
+6 −6 testbed/macos/Flutter/GeneratedPluginRegistrant.swift
+2 −2 testbed/pubspec.yaml
+1 −1 testbed/test/widget_test.dart
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 3 additions & 7 deletions env/output.mk
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,9 @@ code = $(patsubst @/%,$(output)/$(arch)/%,$(header)) $(sysroot)

# XXX: replace cflags with cflags/ once I fix pwd to not begin with ./
# in this model, cflags would be something controlled only by the user
dflags = $(if $(filter ./,$(1)),,$(call dflags,$(dir $(patsubst %/,%,$(1)))) $(cflags/$(1)))

flags = $(qflags)
flags += $(filter -I%,$(call dflags,$(patsubst ./$(output)/%,%,$(patsubst ./$(output)/$(arch)/%,./$(output)/%,./$(dir $<)))))
flags += $(patsubst -I@/%,-I$(output)/$(arch)/%,$(cflags))
flags += $(filter-out -I%,$(call dflags,$(patsubst ./$(output)/%,%,$(patsubst ./$(output)/$(arch)/%,./$(output)/%,./$(dir $<)))))
flags += $(cflags/./$<)
flags_ = $(if $(filter ./,$(1)),,$(call flags_,$(dir $(patsubst %/,%,$(1)))) $(cflags/$(1)))
flags- = $(call flags_,$(patsubst ./$(output)/%,%,$(patsubst ./$(output)/$(arch)/%,./$(output)/%,./$(dir $<))))
flags = $(qflags) $(patsubst -I@/%,-I$(output)/$(arch)/%,$(filter -I%,$(cflags/./$<) $(flags-) $(cflags)) $(filter-out -I%,$(cflags) $(flags-) $(cflags/./$<)))

$(output)/%.c.o: $$(specific) $$(folder).c $$(code)
$(specific)
Expand Down
2 changes: 2 additions & 0 deletions env/target-apl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ export CARGO_TARGET_$(subst -,_,$(call uc,$(triple/$(1))))_RUSTFLAGS := $$(forea
export CARGO_TARGET_$(subst -,_,$(call uc,$(triple/$(1))))_LINKER := $(firstword $(cc))
endef
$(each)

lflags += -lresolv
9 changes: 7 additions & 2 deletions env/target-win.mk
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ cflags += -fms-extensions
#cflags += -fms-compatibility
#cflags += -D__GNUC__

# warning: 'I64' length modifier is not supported by ISO C
qflags += -Wno-format-non-iso

mflags += has_function_stpcpy=false

# pragma comment(lib, "...lib")
Expand All @@ -89,8 +92,10 @@ cflags += -Wno-unknown-pragmas

cflags += -Wno-unused-const-variable

cflags += -I$(pwd)/win32
cflags += -Wno-nonportable-include-path
qflags += -I$(CURDIR)/$(pwd)/win32
qflags += -Wno-nonportable-include-path

cflags += -I$(pwd)/mingw

msys2 :=
msys2 += crt-git-7.0.0.5553.e922460c-1
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions env/win32/WinSock2.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include_next <winsock2.h>
2 changes: 1 addition & 1 deletion min-icu4c/icu
Submodule icu updated 119 files
5 changes: 4 additions & 1 deletion min-v8/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ $(output)/$(pwd/v8)/torque: $(wildcard $(pwd)/v8/src/torque/*.cc) $(pwd)/v8/src/
clang++ -std=c++14 -pthread -o $@ $^ $(vflags)

tqsrc := $(patsubst %.tq,%-tq-csa.cc,$(torque))
tqsrc += class-debug-readers-tq.cc
tqsrc += class-definitions-tq.cc
tqsrc += class-verifiers-tq.cc
tqsrc += exported-macros-assembler-tq.cc
Expand All @@ -138,14 +139,16 @@ tqsrc += builtin-definitions-tq.h
tqsrc += class-definitions-tq-inl.h
tqsrc += csa-types-tq.h
tqsrc += enum-verifiers-tq.cc
tqsrc += exported-class-definitions-tq-inl.h
tqsrc += exported-class-definitions-tq.h
tqsrc += factory-tq.cc
tqsrc += factory-tq.inc
tqsrc += field-offsets-tq.h
tqsrc += instance-types-tq.h
tqsrc += interface-descriptors-tq.inc
tqsrc += internal-class-definitions-tq-inl.h
tqsrc += internal-class-definitions-tq.h
tqsrc += objects-body-descriptors-tq-inl.h
tqsrc += objects-body-descriptors-tq-inl.inc
tqsrc += objects-printer-tq.cc
tqsrc := $(patsubst %,$(output)/$(pwd/v8)/torque-generated/%,$(tqsrc))

Expand Down
2 changes: 1 addition & 1 deletion min-v8/trace_event
Submodule trace_event updated from dab187 to ef3586
2 changes: 1 addition & 1 deletion min-v8/v8
Submodule v8 updated from 14785e to 780a49
2 changes: 1 addition & 1 deletion min-webrtc/webrtc
Submodule webrtc updated from 3745d3 to 9ca736
1 change: 1 addition & 0 deletions min-wireshark/c-ares
Submodule c-ares added at 1b9817
2 changes: 2 additions & 0 deletions min-wireshark/extra/Ws2tcpip.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// XXX: tell wireshark to use WS2tcpip.h
#include_next <ws2tcpip.h>
2 changes: 1 addition & 1 deletion min-wireshark/libgcrypt
46 changes: 29 additions & 17 deletions min-wireshark/target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ cflags/$(pwd/wireshark)/ += -include malloc.h
cflags/$(pwd/wireshark)/ += -Wno-format
cflags/$(pwd/wireshark)/ += -Wno-missing-braces

cflags/$(pwd/wireshark)/epan/dissectors/packet-smb2.c += -D_MSC_VER
cflags/$(pwd/wireshark)/wsutil/getopt_long.c += -DNO_OLDNAMES
cflags/$(pwd/wireshark)/epan/dissectors/packet-epl-profile-parser.c += -include stdlib.h
else
wireshark := $(filter-out \
%/file_util.c \
Expand All @@ -63,6 +65,8 @@ cflags/$(pwd/wireshark)/ += -DHAVE_ARPA_INET_H
cflags/$(pwd/wireshark)/ += -DHAVE_GRP_H
cflags/$(pwd/wireshark)/ += -DHAVE_MKSTEMPS
cflags/$(pwd/wireshark)/ += -DHAVE_PWD_H

cflags/$(pwd/wireshark)/epan/addr_resolv.c += -include netdb.h
endif

cflags/$(pwd/wireshark)/ += -DHAVE_FCNTL_H
Expand Down Expand Up @@ -141,7 +145,7 @@ $(output)/$(pwd)/%.c $(output)/$(pwd)/%_lex.h: $(pwd)/%.l
$(output)/$(pwd)/%.c $(output)/$(pwd)/%.h: pwd := $(pwd)
$(output)/$(pwd)/%.c $(output)/$(pwd)/%.h: $(pwd)/%.y
@mkdir -p $(dir $(output)/$(pwd)/$*)
bison --name-prefix=ascend --output=$(output)/$(pwd)/$*.c --defines=$(output)/$(pwd)/$*.h $<
bison --name-prefix=$(notdir $*) --output=$(output)/$(pwd)/$*.c --defines=$(output)/$(pwd)/$*.h $<

$(output)/$(pwd/wireshark)/tools/lemon/lemon: $(pwd/wireshark)/tools/lemon/lemon.c
@mkdir -p $(dir $@)
Expand All @@ -159,25 +163,21 @@ source += $(output)/$(pwd/wireshark)/epan/radius_dict.c
source += $(output)/$(pwd/wireshark)/epan/uat_load.c
source += $(output)/$(pwd/wireshark)/wiretap/k12text.c

source += $(output)/$(pwd/wireshark)/epan/dtd_parse.c
$(call depend,$(output)/$(pwd/wireshark)/epan/dtd_parse.c.o,$(output)/$(pwd/wireshark)/epan/dtd_grammar.h)
source += $(output)/$(pwd/wireshark)/epan/dtd_grammar.c

source += $(output)/$(pwd/wireshark)/epan/dfilter/scanner.c
$(call depend,$(output)/$(pwd/wireshark)/epan/dfilter/scanner.c.o,$(output)/$(pwd/wireshark)/epan/dfilter/grammar.h)
source += $(output)/$(pwd/wireshark)/epan/dfilter/grammar.c
$(call depend,$(pwd/wireshark)/epan/dfilter/dfilter.c.o,$(output)/$(pwd/wireshark)/epan/dfilter/scanner_lex.h)
cflags/$(pwd/wireshark)/epan/dfilter/dfilter.c += -I$(output)/$(pwd/wireshark)/epan/dfilter

source += $(output)/$(pwd/wireshark)/wiretap/ascend_scanner.c
$(call depend,$(output)/$(pwd/wireshark)/wiretap/ascend_scanner.c.o,$(output)/$(pwd/wireshark)/wiretap/ascend.h)
source += $(output)/$(pwd/wireshark)/wiretap/ascend.c
$(call depend,$(output)/$(pwd/wireshark)/wiretap/ascend.c.o,$(output)/$(pwd/wireshark)/wiretap/ascend_scanner_lex.h)
define parser
source += $(output)/$(pwd/wireshark)/$(1)$(2).c
$(call depend,$(output)/$(pwd/wireshark)/$(1)$(2).c.o,$(output)/$(pwd/wireshark)/$(1)$(3).h)
source += $(output)/$(pwd/wireshark)/$(1)$(3).c
$(call depend,$(output)/$(pwd/wireshark)/$(1)$(3).c.o,$(output)/$(pwd/wireshark)/$(1)$(2)_lex.h)
endef

source += $(output)/$(pwd/wireshark)/wiretap/candump_scanner.c
$(call depend,$(output)/$(pwd/wireshark)/wiretap/candump_scanner.c.o,$(output)/$(pwd/wireshark)/wiretap/candump_parser.h)
source += $(output)/$(pwd/wireshark)/wiretap/candump_parser.c
$(call depend,$(output)/$(pwd/wireshark)/wiretap/candump_parser.c.o,$(output)/$(pwd/wireshark)/wiretap/candump_scanner_lex.h)
$(eval $(call parser,epan/dfilter/,scanner,grammar))
$(eval $(call parser,epan/dtd_,parse,grammar))
$(eval $(call parser,epan/protobuf_lang,_scanner,))
$(eval $(call parser,wiretap/ascend,_scanner,))
$(eval $(call parser,wiretap/busmaster_,scanner,parser))
$(eval $(call parser,wiretap/candump_,scanner,parser))


# XXX: this is currently shared by libiconv and libgpg-error; it might be sharable by more stuff
Expand Down Expand Up @@ -281,3 +281,15 @@ export GNULIB_TOOL := $(GNULIB_SRCDIR)/gnulib-tool
linked += usr/lib/libiconv.a
header += @/usr/include/iconv.h
# }}}
# c-ares {{{
$(output)/%/$(pwd)/c-ares/ares_build.h: $(output)/%/$(pwd)/c-ares/Makefile
touch $@
$(output)/%/$(pwd)/c-ares/.libs/libcares.a: $(output)/%/$(pwd)/c-ares/ares_build.h
$(MAKE) -C $(dir $<)

cflags/$(pwd/wireshark)/ += -I@/$(pwd)/c-ares
header += @/$(pwd)/c-ares/ares_build.h
linked += $(pwd)/c-ares/.libs/libcares.a
cflags/$(pwd/wireshark)/ += -I$(pwd)/c-ares
cflags += -DCARES_STATICLIB
# }}}
2 changes: 1 addition & 1 deletion min-wireshark/wireshark
Submodule wireshark updated from 414ca8 to c416e2
2 changes: 1 addition & 1 deletion min-zlib/base
Submodule base updated from 2344e0 to b7c905
2 changes: 1 addition & 1 deletion min-zlib/build
Submodule build updated from 3f2bcc to 179c60
2 changes: 1 addition & 1 deletion min-zlib/libz
Submodule libz updated from 21c6af to f5eca0
2 changes: 1 addition & 1 deletion p2p/cppcoro
2 changes: 1 addition & 1 deletion p2p/curl
Submodule curl updated 313 files
2 changes: 1 addition & 1 deletion p2p/fmt
Submodule fmt updated 56 files
+12 −15 CMakeLists.txt
+10 −0 ChangeLog.rst
+3 −1 README.rst
+2 −1 doc/CMakeLists.txt
+6 −7 doc/_templates/layout.html
+10 −4 doc/api.rst
+1 −1 doc/build.py
+2 −2 doc/syntax.rst
+50 −52 include/fmt/chrono.h
+35 −37 include/fmt/color.h
+46 −45 include/fmt/compile.h
+296 −277 include/fmt/core.h
+48 −51 include/fmt/format-inl.h
+636 −682 include/fmt/format.h
+16 −16 include/fmt/locale.h
+5 −5 include/fmt/os.h
+9 −8 include/fmt/ostream.h
+1 −1 include/fmt/posix.h
+66 −54 include/fmt/printf.h
+35 −36 include/fmt/ranges.h
+28 −171 src/format.cc
+13 −12 src/os.cc
+1 −0 support/Vagrantfile
+1 −1 support/manage.py
+2 −1 test/chrono-test.cc
+1 −0 test/color-test.cc
+5 −4 test/compile-test.cc
+118 −37 test/core-test.cc
+5 −4 test/custom-formatter-test.cc
+21 −23 test/format
+42 −46 test/format-impl-test.cc
+81 −251 test/format-test.cc
+2 −2 test/fuzzing/chrono_duration.cpp
+2 −2 test/fuzzing/main.cpp
+2 −2 test/fuzzing/named_arg.cpp
+3 −3 test/fuzzing/one_arg.cpp
+2 −2 test/fuzzing/sprintf.cpp
+2 −2 test/fuzzing/two_args.cpp
+7 −0 test/gmock-gtest-all.cc
+26 −22 test/gtest-extra-test.cc
+3 −3 test/gtest-extra.cc
+3 −2 test/gtest-extra.h
+2 −1 test/locale-test.cc
+4 −4 test/mock-allocator.h
+42 −40 test/os-test.cc
+38 −21 test/ostream-test.cc
+10 −10 test/posix-mock-test.cc
+37 −59 test/printf-test.cc
+18 −5 test/ranges-test.cc
+4 −2 test/scan-test.cc
+11 −11 test/scan.h
+2 −1 test/std-format-test.cc
+1 −0 test/test-assert.h
+1 −0 test/test-main.cc
+1 −0 test/util.cc
+1 −1 test/util.h
2 changes: 1 addition & 1 deletion p2p/jsoncpp
2 changes: 1 addition & 1 deletion p2p/secp256k1
Submodule secp256k1 updated 3 files
+29 −32 .travis.yml
+1 −1 configure.ac
+65 −0 contrib/travis.sh
2 changes: 1 addition & 1 deletion vpn-shared/libmaxminddb
2 changes: 1 addition & 1 deletion vpn-shared/libssh
Submodule libssh updated from e76332 to 866e44
2 changes: 1 addition & 1 deletion vpn-shared/sqlite
Submodule sqlite updated 386 files
2 changes: 1 addition & 1 deletion vpn-shared/tor
Submodule tor updated from 6dc993 to 592208

0 comments on commit 31fec68

Please sign in to comment.