Skip to content

Commit

Permalink
chore(deps): Update c-toxcore to v0.2.18
Browse files Browse the repository at this point in the history
Replace msgpack-c with toxcore submodule of cmp.
  • Loading branch information
anthonybilinski committed May 1, 2022
1 parent a004243 commit 3c467de
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 93 deletions.
1 change: 0 additions & 1 deletion .ci-scripts/build-osx-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ install_deps \
build_vpx.sh \
build_opus.sh \
build_ffmpeg.sh \
build_msgpack_c.sh \
build_toxcore.sh \
build_sqlcipher.sh \
26 changes: 0 additions & 26 deletions buildscripts/build_msgpack_c.sh

This file was deleted.

1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.almalinux
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ RUN dnf --nodocs -y install dnf-plugins-core && \
ffmpeg-devel \
libexif-devel \
qrencode-devel \
msgpack-devel \
openal-soft-devel \
kf5-sonnet-devel \
libXScrnSaver-devel \
Expand Down
1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ RUN pacman -Syu --noconfirm --needed \
sqlcipher \
openal \
sonnet \
msgpack-c \
snorenotify \
git \
&& \
Expand Down
1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ RUN apt-get update && \
libkf5sonnet-dev \
pkg-config \
libqrencode-dev \
libmsgpack-dev \
qttools5-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
Expand Down
1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.debian_old
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ RUN apt-get update && \
libkf5sonnet-dev \
pkg-config \
libqrencode-dev \
libmsgpack-dev \
qt5-default \
qttools5-dev && \
apt-get clean && \
Expand Down
1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ RUN dnf --nodocs -y install dnf-plugins-core && \
openal-soft-devel \
kf5-sonnet-devel \
libXScrnSaver-devel \
msgpack-devel \
patch \
sqlite-devel \
sqlcipher-devel && \
Expand Down
5 changes: 0 additions & 5 deletions buildscripts/docker/Dockerfile.flatpak_builder
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ RUN mkdir -p /src/libsodium && \
cd /src/libsodium && \
/build/download/download_sodium.sh

COPY download/download_msgpack_c.sh /build/download/download_msgpack_c.sh
RUN mkdir -p /src/msgpack && \
cd /src/msgpack && \
/build/download/download_msgpack_c.sh

COPY download/download_sqlcipher.sh /build/download/download_sqlcipher.sh
RUN mkdir -p /src/sqlcipher && \
cd /src/sqlcipher && \
Expand Down
1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.opensuse
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ RUN zypper install --no-recommends -y \
libqt5-qtsvg-devel \
libsodium-devel \
libvpx-devel \
msgpack-devel \
openal-soft-devel \
qrencode-devel \
sqlcipher-devel \
Expand Down
1 change: 0 additions & 1 deletion buildscripts/docker/Dockerfile.ubuntu_lts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ RUN apt-get update && \
libinotifytools0-dev \
liblz4-dev \
libcairo-dev \
libmsgpack-dev \
desktop-file-utils \
wget \
xxd \
Expand Down
8 changes: 0 additions & 8 deletions buildscripts/docker/Dockerfile.windows_builder
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,6 @@ RUN mkdir -p /src/nsisshellexecasuser && \
/build/build_nsisshellexecasuser_windows.sh && \
rm -fr /src/nsisshellexecasuser

COPY download/download_msgpack_c.sh /build/download/download_msgpack_c.sh
COPY build_msgpack_c.sh /build/build_msgpack_c.sh
RUN mkdir -p /src/msgpack_c && \
cd /src/msgpack_c && \
/build/build_msgpack_c.sh && \
rm -fr /src/msgpack_c

COPY download/download_toxcore.sh /build/download/download_toxcore.sh
COPY download/download_toxext.sh /build/download/download_toxext.sh
COPY download/download_toxext_messages.sh /build/download/download_toxext_messages.sh
Expand Down Expand Up @@ -193,7 +186,6 @@ RUN mkdir /export && \
cp /windows/lib/libqrencode.dll /export && \
cp /windows/bin/libsodium-*.dll /export && \
cp /windows/bin/libsqlcipher-*.dll /export && \
cp /windows/bin/libmsgpackc.dll /export && \
cp /windows/bin/swscale-*.dll /export && \
cp /windows/bin/libcrypto-*.dll /export && \
cp /windows/bin/libtoxcore.dll /export && \
Expand Down
27 changes: 0 additions & 27 deletions buildscripts/download/download_msgpack_c.sh

This file was deleted.

6 changes: 3 additions & 3 deletions buildscripts/download/download_toxcore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

set -euo pipefail

TOXCORE_VERSION=0.2.17
TOXCORE_HASH=d9cdf5d690fe8e217dcaba5b988fb943bbe7bda919a2fde6d9506df047e5f4cb
TOXCORE_VERSION=0.2.18
TOXCORE_HASH=f2940537998863593e28bc6a6b5f56f09675f6cd8a28326b7bc31b4836c08942

source "$(dirname "$(realpath "$0")")/common.sh"

download_verify_extract_tarball \
https://github.com/TokTok/c-toxcore/archive/v$TOXCORE_VERSION.tar.gz \
https://github.com/TokTok/c-toxcore/releases/download/v$TOXCORE_VERSION/c-toxcore-$TOXCORE_VERSION.tar.gz \
"$TOXCORE_HASH"
15 changes: 0 additions & 15 deletions flatpak/io.github.qtox.qTox.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,6 @@
}
]
},
{
"name": "msgpack",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release",
"-DMSGPACK_BUILD_EXAMPLES=OFF",
"-DMSGPACK_BUILD_TESTS=OFF"
],
"sources": [
{
"type": "dir",
"path": "/src/msgpack"
}
]
},
{
"name": "c-toxcore",
"buildsystem": "cmake-ninja",
Expand Down
1 change: 0 additions & 1 deletion osx/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ brew "qrencode"
brew "qt@5"
brew "sqlcipher"
brew "openal-soft"
brew "msgpack"
# accelerate builds with ccache
brew "ccache"

Expand Down

0 comments on commit 3c467de

Please sign in to comment.