Skip to content

Commit

Permalink
Merge pull request #192 from serpilliere/update_v0.1.4
Browse files Browse the repository at this point in the history
Release v0.1.4
  • Loading branch information
serpilliere authored Jun 1, 2023
2 parents e9e1b31 + e02e886 commit d0c4e20
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 16 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.4] - 2023-05-31

### Changed
- extern-img-source short version is '-k' for all binaries
- remove duplicate '-c' option for client/proxy/server
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 23 additions & 10 deletions build/Dockerfile-windows
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,45 @@ RUN set -eux; \
unzip \
sudo \
git \
fakeroot; \
fakeroot;

RUN set -eux; \
useradd -ms /bin/bash builduser ; \
passwd -d builduser ; \
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers ; \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path ; \
rustup target add x86_64-pc-windows-gnu ; \
rustup toolchain install stable-x86_64-pc-windows-gnu ; \
for lib in SECUR32 KERNEL32 OLEAUT32 OLE32 ; do ln -s /usr/x86_64-w64-mingw32/lib/lib${lib,,}.a /usr/x86_64-w64-mingw32/lib/lib${lib}.a ; done ; \
rustup toolchain install --force-non-host stable-x86_64-pc-windows-gnu ; \
for lib in SECUR32 KERNEL32 OLEAUT32 OLE32 ; do ln -s /usr/x86_64-w64-mingw32/lib/lib${lib,,}.a /usr/x86_64-w64-mingw32/lib/lib${lib}.a ; done

RUN set -eux; \
pacman -S --noconfirm \
libxtst \
libxext \
ffmpeg \
libxdamage \
libxfixes \
curl ; \
cd /tmp/ ; \
curl -L -o /tmp/ffmpeg.zip https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n4.4-latest-win64-gpl-shared-4.4.zip ; \
curl ; \
cd /tmp ; \
curl -L -o /tmp/ffmpeg.zip https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n6.0-latest-win64-gpl-shared-6.0.zip ; \
unzip /tmp/ffmpeg.zip ; cd /tmp/ffmpeg*/bin/ ; \
for lib in *.dll ; do echo ${lib} ; \
cp $lib /usr/x86_64-w64-mingw32/lib/${lib} ; \
ln -s /usr/x86_64-w64-mingw32/lib/${lib} /usr/x86_64-w64-mingw32/lib/${lib/-*.dll/.dll} ; \
done; \
done;


RUN set -eux; \
sudo bash -c "echo 'Defaults env_keep += \"ftp_proxy http_proxy https_proxy no_proxy\"' >> /etc/sudoers" ; \
sudo cat /etc/sudoers

RUN set -eux; \
cd /tmp ; \
sudo --preserve-env=https_proxy -u builduser bash -c 'git clone https://aur.archlinux.org/aurman.git ; cd aurman ; \
makepkg --skippgpcheck --noconfirm -si' ; \
sudo --preserve-env=https_proxy --preserve-env=http_proxy -u builduser bash -c 'aurman --noconfirm --skip_news --noedit -S mingw-w64-opus' ;
sudo -u builduser bash -c 'git clone https://aur.archlinux.org/pikaur.git ; cd pikaur ; \
makepkg --noconfirm -si'

RUN set -eux; \
sudo -u builduser bash -c 'pikaur --noconfirm --noedit -S mingw-w64-opus' ;


WORKDIR /SRC
Expand Down
2 changes: 1 addition & 1 deletion sanzu-broker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sanzu_broker"
version = "0.1.3"
version = "0.1.4"
authors = ["Fabrice Desclaux <fabrice.desclaux@cea.fr>"]
edition = "2018"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion sanzu-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sanzu-common"
version = "0.1.3"
version = "0.1.4"
authors = ["Fabrice Desclaux <fabrice.desclaux@cea.fr>"]
edition = "2018"
description = "Sanzu helper code"
Expand Down
2 changes: 1 addition & 1 deletion sanzu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sanzu"
version = "0.1.3"
version = "0.1.4"
authors = ["Fabrice Desclaux <fabrice.desclaux@cea.fr>"]
edition = "2018"
readme = "README.md"
Expand Down

0 comments on commit d0c4e20

Please sign in to comment.