@@ -1,6 +1,6 @@ | |||
FROM ubuntu:24.04 AS build1 | |||
MAINTAINER Ray Burgemeestre | |||
LABEL maintainer="Ray Burgemeestre <ray@cppse.nl>" | |||
ARG DEBIAN_FRONTEND=noninteractive | |||
@@ -65,7 +65,12 @@ RUN chmod +x /usr/local/bin/switch-to-latest-clang | |||
RUN chmod +x /usr/local/bin/switch-to-latest-gcc | |||
RUN apt clean | |||
# DEBUG | |||
# RUN ls -alh /emsdk/upstream/emscripten/cache/ports/harfbuzz/harfbuzz-3.2.0 | |||
# RUN chown -R root:root /emsdk | |||
# RUN ls -alh /emsdk/upstream/emscripten/cache/ports/harfbuzz/harfbuzz-3.2.0 | |||
FROM scratch | |||
COPY --from=build1 / / |
@@ -1,4 +1,34 @@ | |||
SHELL:=/bin/bash | |||
build: | |||
# Screw gocd, let's go with a simple build script for now | |||
# for dir in */; do \ | |||
# if [ -f "$$dir/Makefile" ]; then \ | |||
# make -C $$dir build; \ | |||
# fi \ | |||
# done | |||
make -C allegro5 build | |||
make -C boost build | |||
# no longer used | |||
# make -C benchmarklib build | |||
make -C caf build | |||
# skipping | |||
# make -C crtmpserver build | |||
# make -C opentelemetry-cpp build | |||
make -C fastpfor build | |||
make -C ffmpeg build | |||
make -C fmt build | |||
make -C openexr build | |||
make -C imagemagick build | |||
make -C inotify-cpp build | |||
make -C png++ build | |||
make -C redis-plus-plus build | |||
make -C seasocks build | |||
make -C sfml build | |||
make -C tvision build | |||
make -C v8pp build | |||
make -C vivid build | |||
ubuntu1804: | |||
docker build . -f Dockerfile-ubuntu1804 -t rayburgemeestre/build-ubuntu:18.04 | |||
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=5.2.5.0 | |||
build: cppse-allegro5_$(VERSION)_amd64.deb | |||
cppse-allegro5_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
git clone https://github.com/liballeg/allegro5.git | |||
pushd allegro5 && git checkout 5.2.5.0 | |||
@@ -27,8 +34,8 @@ ubuntu2204: | |||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | |||
ubuntu2404: | |||
git clone https://github.com/liballeg/allegro5.git | |||
pushd allegro5 && git checkout 5.2.5.0 | |||
git clone https://github.com/liballeg/allegro5.git || true | |||
pushd allegro5 && git checkout $(VERSION) | |||
bash ../ubuntu2404.sh make impl | |||
make package-ubuntu2404 | |||
bash ../ubuntu2404.sh make impl_sdl | |||
@@ -131,8 +138,8 @@ package-ubuntu2404: | |||
cp -prv allegro5/include/allegro5/internal/* out/opt/cppse/build/allegro5/include/allegro5/internal/ | |||
# somewhere also platform became needed, let's pull those in as well | |||
cp -prv allegro5/include/allegro5/platform/* out/opt/cppse/build/allegro5/include/allegro5/platform/ | |||
rm -rf allegro5_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n allegro5 --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||
rm -rf cppse-allegro5_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-allegro5 --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||
package_sdl-ubuntu2004: | |||
rm -rf out | |||
@@ -162,13 +169,14 @@ package_sdl-ubuntu2404: | |||
cp -prv allegro5/include/allegro5/internal/* out/opt/cppse/build/allegro5sdl/include/allegro5/internal/ | |||
cp -prv allegro5/include/allegro5/platform/* out/opt/cppse/build/allegro5sdl/include/allegro5/platform/ | |||
rm -rf allegro5sdl_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:22.04 fpm -v 1.1.1 -s dir -t deb -n allegro5sdl --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - SDL version - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:22.04 fpm -v 1 -s dir -t deb -n allegro5sdl --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - SDL version - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf allegro5 | |||
rm -rf out | |||
rm -rf allegro5*.deb | |||
rm -rf allegro5*.changes | |||
rm -rf cppse-allegro5*.deb | |||
shell: | |||
FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash |
@@ -1,6 +1,6 @@ | |||
FROM ubuntu:24.04 | |||
MAINTAINER Ray Burgemeestre | |||
LABEL maintainer="Ray Burgemeestre <ray@cppse.nl>" | |||
ARG DEBIAN_FRONTEND=noninteractive | |||
@@ -1,5 +1,8 @@ | |||
SHELL:=/bin/bash | |||
build: | |||
echo TODO | |||
apt-ubuntu1804: | |||
wget $$SECRET_URL 1>/dev/null 2>/dev/null | |||
tar -zxvf *secret.tar.gz |
@@ -1,16 +1,23 @@ | |||
SHELL:=/bin/bash | |||
benchmarklib: | |||
git clone https://bitbucket.org/rayburgemeestre/benchmarklib | |||
VERSION:=1.0 | |||
build: cppse-benchmarklib_$(VERSION)_amd64.deb | |||
cppse-benchmarklib_$(VERSION)_amd64.deb: | |||
make benchmarklib_ | |||
benchmarklib_: | |||
git clone https://bitbucket.org/rayburgemeestre/benchmarklib || true | |||
pushd benchmarklib && git checkout master | |||
bash ../ubuntu1804.sh make impl | |||
bash ../ubuntu2404.sh make impl | |||
make package | |||
impl: | |||
switch-to-latest-clang | |||
# TODO install boost from apt repo | |||
# if [[ -f CMakeCache.txt ]]; then rm CMakeCache.txt; fi | |||
dpkg -i boost/pkg/*.deb | |||
dpkg -i ../boost/cppse-boost_*_amd64.deb | |||
pushd benchmarklib && \ | |||
CXX=$$(which c++) cmake -DSTATIC=1 -DBOOST_ROOT=/opt/cppse/build/boost -DCMAKE_INSTALL_PREFIX=$$PWD/benchmarklib_out -DNO_AUTO_USE_LIBCPP_CLANG=1 . && \ | |||
make -j $$(nproc) && \ | |||
@@ -21,7 +28,7 @@ package: | |||
mkdir -p out/opt/cppse/build/benchmarklib | |||
cp -prv ./benchmarklib/benchmarklib_out/* out/opt/cppse/build/benchmarklib/ | |||
rm -rf benchmarklib_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -v 1.1 -s dir -t deb -n benchmarklib --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "benchmarklib - build dependency" --url "https://bitbucket.org/rayburgemeestre/benchmarklib" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -v $(VERSION) -s dir -t deb -n cppse-benchmarklib --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "benchmarklib - build dependency" --url "https://bitbucket.org/rayburgemeestre/benchmarklib" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf benchmarklib |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=1.86.0 | |||
build: cppse-boost_$(VERSION)_amd64.deb | |||
cppse-boost_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
# below URL is unreliable | |||
# wget "https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2" | |||
@@ -103,7 +110,7 @@ package-ubuntu2404: | |||
cp -L -prv boost/stage/lib out/opt/cppse/build/boost/ | |||
cp -L -prv boost/boost out/opt/cppse/build/boost/include/ | |||
rm -rf boost_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n boost --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "boost - build dependency" --url "https://github.com/liballeg/boost.git" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-boost --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "boost - build dependency" --url "https://github.com/liballeg/boost.git" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf boost |
@@ -1,9 +1,16 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=1.0.2 | |||
build: cppse-caf_$(VERSION)_amd64.deb | |||
cppse-caf_$(VERSION)_amd64.deb: | |||
make caf | |||
caf: | |||
git clone https://github.com/actor-framework/actor-framework | |||
pushd actor-framework && git checkout 6bbe993f315eaa7c8264bc9ae240766b05e64513 # master at the time of writing | |||
bash ../ubuntu1804.sh make impl | |||
git clone https://github.com/actor-framework/actor-framework || true | |||
pushd actor-framework && git checkout 1.0.2 | |||
bash ../ubuntu2404.sh make impl | |||
make package | |||
impl: | |||
@@ -35,9 +42,9 @@ package: | |||
mkdir -p out/opt/cppse/build/caf | |||
cp -prv actor-framework/build/caf_out/* out/opt/cppse/build/caf/ | |||
# workaround for https://groups.google.com/forum/#!topic/actor-framework/xOmdVFRD7lc | |||
cp -prv actor-framework/build/caf/detail/build_config.hpp out/opt/cppse/build/caf/include/caf/detail/ | |||
# cp -prv actor-framework/build/caf/detail/build_config.hpp out/opt/cppse/build/caf/include/caf/detail/ | |||
rm -rf caf_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n caf --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "caf - build dependency" --url "https://github.com/liballeg/caf.git" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-caf --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "caf - build dependency" --url "https://github.com/liballeg/caf.git" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf actor-framework |
@@ -1,5 +1,13 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=0.1.7 | |||
build: cppse-fastpfor_$(VERSION)_amd64.deb | |||
cppse-fastpfor_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
#git clone https://github.com/lemire/FastPFor | |||
git clone https://github.com/rayburgemeestre/FastPFor | |||
@@ -22,7 +30,7 @@ ubuntu2204: | |||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | |||
ubuntu2404: | |||
git clone https://github.com/rayburgemeestre/FastPFor | |||
git clone https://github.com/rayburgemeestre/FastPFor || true | |||
pushd FastPFor && git checkout change-google-test-branch # master at the time of writing | |||
bash ../ubuntu2404.sh make impl | |||
make package-ubuntu2404 | |||
@@ -69,7 +77,7 @@ package-ubuntu2404: | |||
cp -prv ./FastPFor/libFastPFOR.a out/opt/cppse/build/fastpfor/lib/ | |||
cp -prv ./FastPFor/headers out/opt/cppse/build/fastpfor/include/ | |||
rm -rf fastpfor_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n fastpfor --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fastpfor - build dependency" --url "https://github.com/rayburgemeestre/FastPFor" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-fastpfor --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fastpfor - build dependency" --url "https://github.com/rayburgemeestre/FastPFor" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf FastPFor |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=7.1 | |||
build: cppse-ffmpeg_$(VERSION)_amd64.deb | |||
cppse-ffmpeg_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
# sometimes got 404 on videolan/x264 | |||
#git clone https://code.videolan.org/videolan/x264 | |||
@@ -35,8 +42,8 @@ ubuntu2204: | |||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | |||
ubuntu2404: | |||
git clone -b stable https://code.videolan.org/videolan/x264 | |||
git clone -b n7.1 https://github.com/FFmpeg/FFmpeg ffmpeg | |||
git clone -b stable https://code.videolan.org/videolan/x264 || true | |||
git clone -b n$(VERSION) https://github.com/FFmpeg/FFmpeg ffmpeg || true | |||
bash ../ubuntu2404.sh make ffmpeg_impl | |||
make package-ubuntu2404 | |||
@@ -107,7 +114,7 @@ package-ubuntu2404: | |||
cp -prv ./x264_out/* out/opt/cppse/build/x264/ | |||
cp -prv ./ffmpeg_out/* out/opt/cppse/build/ffmpeg/ | |||
rm -rf cppseffmpeg_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppseffmpeg --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "ffmpeg - build dependency" --url "https://gitea.cppse.nl/rayburgemeestre/build-config/src/branch/master/ffmpeg" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-ffmpeg --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "ffmpeg - build dependency" --url "https://gitea.cppse.nl/rayburgemeestre/build-config/src/branch/master/ffmpeg" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf x264 |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=7.1.3 | |||
build: cppse-fmt_$(VERSION)_amd64.deb | |||
cppse-fmt_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2004: | |||
git clone https://github.com/rayburgemeestre/fmt --branch 7.1.3 | |||
bash ../ubuntu2004.sh make impl | |||
@@ -61,7 +68,7 @@ package-ubuntu2404: | |||
cp -prv fmt/build/fmt_out/* out/opt/cppse/build/fmt/ | |||
cp -prv fmt/build2/fmt_out/lib/libfmt.a out/opt/cppse/build/fmt/lib/libfmt-em.a | |||
rm -rf fmt_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n fmt --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fmt - build dependency" --url "https://github.com/mattgodbolt/fmt" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-fmt --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fmt - build dependency" --url "https://github.com/mattgodbolt/fmt" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf fmt |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=7.0.10-53 | |||
build: cppse-imagemagick_$(VERSION)_amd64.deb | |||
cppse-imagemagick_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2004: | |||
git clone --branch 7.0.10-53 https://github.com/ImageMagick/ImageMagick || true | |||
bash ../ubuntu2004.sh make impl | |||
@@ -22,7 +29,7 @@ impl: | |||
switch-to-latest-clang | |||
apt-get update && apt-get install libz-dev autoconf -y && \ | |||
apt-get install -y libpng-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libtiff-dev libtiff5-dev libtiffxx6 && \ | |||
dpkg -i openexr/pkg/*.deb && \ | |||
dpkg -i ../openexr/cppse-openexr_*.deb && \ | |||
pushd ImageMagick && \ | |||
autoconf && \ | |||
PKG_CONFIG_PATH=/opt/cppse/build//openexr/lib/pkgconfig ./configure CC=$$(which cc) CXX=$$(which c++) --with-pkgconfigdir=/opt/cppse/build/openexr/lib/pkgconfig CFLAGS="-I/opt/cppse/build/openexr/include/OpenEXR" LDFLAGS="-L/opt/cppse/build/openexr/lib/" --with-openexr=yes --enable-hdri --with-tiff=yes --with-jpeg=yes --with-openexr=yes --with-png=yes --with-tiff=yes --enable-shared=no --enable-static=yes --prefix=$$PWD/imagemagick_out && \ | |||
@@ -48,7 +55,7 @@ package-ubuntu2404: | |||
mkdir -p out/opt/cppse/build/imagemagick | |||
cp -prv ImageMagick/imagemagick_out/* out/opt/cppse/build/imagemagick/ | |||
rm -rf cppseimagemagick_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppseimagemagick --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "imagemagick - build dependency" --url "https://github.com/ImageMagick/ImageMagick" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-imagemagick --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "imagemagick - build dependency" --url "https://github.com/ImageMagick/ImageMagick" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf ImageMagick |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=1.0.0 | |||
build: cppse-inotify-cpp_$(VERSION)_amd64.deb | |||
cppse-inotify-cpp_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2004: | |||
# check out revision that is master at the time of writing | |||
git clone https://github.com/erikzenker/inotify-cpp || true | |||
@@ -28,7 +35,7 @@ ubuntu2404: | |||
make package-ubuntu2404 | |||
impl: | |||
dpkg -i boost/pkg/*.deb | |||
dpkg -i ../boost/cppse-boost_*.deb | |||
pushd inotify-cpp && \ | |||
cmake -DCMAKE_INSTALL_PREFIX=$$PWD/../inotify-cpp_out -DBUILD_EXAMPLE=OFF -DBUILD_TEST=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DUSE_BOOST_FILESYSTEM=OFF -DBoost_USE_STATIC_LIBS=ON -DBOOST_ROOT="/opt/cppse/build/boost/" -DBoost_INCLUDE_DIR="/opt/cppse/build/boost/include" . && \ | |||
make -j8 && \ | |||
@@ -53,7 +60,7 @@ package-ubuntu2404: | |||
mkdir -p out/opt/cppse/build/inotify-cpp | |||
cp -prv inotify-cpp_out/* out/opt/cppse/build/inotify-cpp/ | |||
rm -rf cppse_inotify-cpp_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n inotify-cpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "inotify-cpp - build dependency" --url "https://github.com/erikzenker/inotify-cpp" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-inotify-cpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "inotify-cpp - build dependency" --url "https://github.com/erikzenker/inotify-cpp" --deb-generate-changes -C /src/out | |||
clean: | |||
sudo rm -rf inotify-cpp* |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=3.3.2 | |||
build: cppse-openexr_$(VERSION)_amd64.deb | |||
cppse-openexr_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2004: | |||
git clone --branch v2.5.2 https://github.com/AcademySoftwareFoundation/openexr || true | |||
bash ../ubuntu2004.sh make impl | |||
@@ -54,7 +61,7 @@ package-ubuntu2404: | |||
cp -prv openexr/build/openexr_out/* out/opt/cppse/build/openexr/ | |||
cp -prv openexr/build2/openexr_out/lib/* out/opt/cppse/build/openexr/lib/ | |||
rm -rf cppseopenexr_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppseopenexr --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "openexr - build dependency" --url "https://github.com/AcademySoftwareFoundation/openexr" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-openexr --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "openexr - build dependency" --url "https://github.com/AcademySoftwareFoundation/openexr" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf openexr |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=0.2.10 | |||
build: cppse-pngpp_$(VERSION)_amd64.deb | |||
cppse-pngpp_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
wget http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | |||
tar -zxvf png++-0.2.10.tar.gz | |||
@@ -16,7 +23,7 @@ ubuntu2204: | |||
make package-ubuntu2204 | |||
ubuntu2404: | |||
wget http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | |||
wget -c http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | |||
tar -zxvf png++-0.2.10.tar.gz | |||
make package-ubuntu2404 | |||
@@ -39,7 +46,7 @@ package-ubuntu2404: | |||
mkdir -p out/opt/cppse/build/png++ | |||
cp -prv png++-0.2.10/* out/opt/cppse/build/png++/ | |||
rm -rf pngpp_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n pngpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "png++ - build dependency" --url "https://www.nongnu.org/pngpp/" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-pngpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "png++ - build dependency" --url "https://www.nongnu.org/pngpp/" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf png++* |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=1.3.6 | |||
build: cppse-redis-plus-plus_$(VERSION)_amd64.deb | |||
cppse-redis-plus-plus_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2204: | |||
mkdir -p $$PWD/../out | |||
@@ -54,7 +61,7 @@ package-ubuntu2404: | |||
mkdir -p pkg_out/opt/cppse/build/ | |||
rsync -raPv out/ pkg_out/opt/cppse/build/ | |||
rm -rf redis-plus-plus*amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1 -s dir -t deb -n redis-plus-plus --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "redis-plus-plus - build dependency" --url "https://github.com/sewenew/redis-plus-plus" --deb-generate-changes -C /src/pkg_out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-redis-plus-plus --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "redis-plus-plus - build dependency" --url "https://github.com/sewenew/redis-plus-plus" --deb-generate-changes -C /src/pkg_out | |||
clean: | |||
sudo rm -rf hiredis |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=1.4.4 | |||
build: cppse-seasocks_$(VERSION)_amd64.deb | |||
cppse-seasocks_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
git clone https://github.com/rayburgemeestre/seasocks --branch v1.4.3 | |||
bash ../ubuntu1804.sh make impl | |||
@@ -20,7 +27,7 @@ ubuntu2204: | |||
ubuntu2404: | |||
# git clone https://github.com/rayburgemeestre/seasocks --branch v1.4.4 | |||
git clone https://github.com/rayburgemeestre/seasocks --branch master | |||
git clone https://github.com/rayburgemeestre/seasocks --branch master || true | |||
bash ../ubuntu2404.sh make impl | |||
make package-ubuntu2404 | |||
bash ../ubuntu2404.sh chown $$(id -u):$$(id -g) . -R # fix permissions | |||
@@ -30,7 +37,8 @@ impl: | |||
apt-get update && apt-get install libz-dev -y && \ | |||
pushd seasocks && \ | |||
sed -i 's/favicon\.ico/favicon_\.ico/g' src/test/c/EmbeddedContentTests.cpp src/main/web/CMakeLists.txt && \ | |||
mkdir build && pushd build && \ | |||
mv ./src/main/web/favicon.ico ./src/main/web/favicon_.ico && \ | |||
mkdir -p build && pushd build && \ | |||
CXX=$$(which c++) cmake -DCMAKE_INSTALL_PREFIX=$$PWD/seasocks_out .. && \ | |||
make -j $$(nproc) && \ | |||
make install | |||
@@ -61,11 +69,12 @@ package-ubuntu2404: | |||
mkdir -p out/opt/cppse/build/seasocks | |||
cp -prv seasocks/build/seasocks_out/* out/opt/cppse/build/seasocks/ | |||
rm -rf seasocks_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n seasocks --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "seasocks - build dependency" --url "https://github.com/mattgodbolt/seasocks" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-seasocks --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "seasocks - build dependency" --url "https://github.com/mattgodbolt/seasocks" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf seasocks | |||
rm -rf out | |||
rm -rf build | |||
shell: | |||
FLAGS="-i --privileged" bash ../ubuntu2204.sh /bin/bash |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=2.5.0 | |||
build: cppse-sfml_$(VERSION)_amd64.deb | |||
cppse-sfml_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu1804: | |||
git clone https://github.com/SFML/SFML.git | |||
pushd SFML && git checkout 2.5.x # && patch -p1 < ../patch.txt | |||
@@ -70,7 +77,7 @@ package-ubuntu2404: | |||
mkdir -p out/opt/cppse/build/sfml/ | |||
cp -prv SFML/sfml_static/* out/opt/cppse/build/sfml/ | |||
rm -rf sfml_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n sfml --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "SFML - build dependency" --url "https://github.com/SFML/SFML.git" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-sfml --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "SFML - build dependency" --url "https://github.com/SFML/SFML.git" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf SFML |
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=2.0 | |||
build: cppse-tvision_$(VERSION)_amd64.deb | |||
cppse-tvision_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2004: | |||
# check out revision that is master at the time of writing | |||
git clone https://github.com/magiblot/tvision || true | |||
@@ -22,7 +29,7 @@ ubuntu2404: | |||
# check out revision that is master at the time of writing | |||
git clone https://github.com/magiblot/tvision || true | |||
pushd tvision && \ | |||
git checkout 638f963fe4f6c84854f60f1e9c5772bf6603e4b2 && \ | |||
git checkout 8605384659274edf1db39abef5338d2573c3e0b6 && \ | |||
popd && \ | |||
bash ../ubuntu2404.sh make impl | |||
make package-ubuntu2404 | |||
@@ -54,7 +61,7 @@ package-ubuntu2404: | |||
mkdir -p out/opt/cppse/build/tvision | |||
cp -prv tvision_out/* out/opt/cppse/build/tvision/ | |||
rm -rf cppse_tvision_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppse-tvision --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "tvision - build dependency" --url "https://github.com/magiblot/tvision" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-tvision --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "tvision - build dependency" --url "https://github.com/magiblot/tvision" --deb-generate-changes -C /src/out | |||
clean: | |||
sudo rm -rf tvision* |
@@ -1,4 +1,8 @@ | |||
#!/bin/bash | |||
docker run $FLAGS --pull always -t -v $PWD:$PWD --workdir $PWD rayburgemeestre/build-ubuntu:24.04 sh -c "$*" | |||
set -ex | |||
# docker run $FLAGS --pull always -t -v $PWD:$PWD --workdir $PWD rayburgemeestre/build-ubuntu:24.04 sh -c "$*" | |||
parent_dir=$(dirname "$PWD") | |||
docker run $FLAGS -t -v $parent_dir:$parent_dir --workdir $PWD rayburgemeestre/build-ubuntu:24.04 sh -c "$*" | |||
@@ -1,5 +1,13 @@ | |||
SHELL:=/bin/bash | |||
#VERSION:=11.9.169.4 | |||
VERSION:=13.0.245.25 | |||
build: cppse-v8_$(VERSION)_amd64.deb | |||
cppse-v8_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
#ubuntu1804: | |||
# # git clone https://github.com/rayburgemeestre/v8pp | |||
# # | |||
@@ -33,7 +41,7 @@ ubuntu2204: | |||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git || true | |||
#git clone -b v1.8.1 https://github.com/pmed/v8pp || true , next version 1.8.2, will probably contain the fix for clang-14 as well. for now.. | |||
git clone -b master https://github.com/pmed/v8pp # ..we'll use master. | |||
bash ../ubuntu2204.sh make build # prepares packaging as well | |||
bash ../ubuntu2204.sh make impl # prepares packaging as well | |||
make fpm_package | |||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | |||
@@ -41,12 +49,12 @@ ubuntu2404: | |||
rm -rfv depot_tools | |||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git || true | |||
#git clone -b v1.8.1 https://github.com/pmed/v8pp || true , next version 1.8.2, will probably contain the fix for clang-14 as well. for now.. | |||
git clone -b master https://github.com/pmed/v8pp # ..we'll use master. | |||
bash ../ubuntu2404.sh make build # prepares packaging as well | |||
git clone -b master https://github.com/pmed/v8pp || true # ..we'll use master. | |||
bash ../ubuntu2404.sh make impl # prepares packaging as well | |||
make fpm_package | |||
bash ../ubuntu2404.sh chown $$(id -u):$$(id -g) . -R # fix permissions | |||
build: | |||
impl: | |||
# see issue https://exerror.com/fatal-detected-dubious-ownership-in-repository/ | |||
git config --global --add safe.directory '*' | |||
switch-to-latest-clang | |||
@@ -91,7 +99,7 @@ prepare-package-v8pp: | |||
cp -prv v8pp/v8pp out/opt/cppse/build/v8pp/include/ | |||
fpm_package: | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n v8pp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "v8pp - build dependency" --url "https://github.com/rayburgemeestre/v8pp" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-v8 --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "v8pp - build dependency" --url "https://github.com/rayburgemeestre/v8pp" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf v8pp |
@@ -34,7 +34,8 @@ cd v8 # if this fails, exit! hence the set -ex | |||
#gclient sync -r 8.2.297.1 # https://github.com/pmed/v8-nuget/ | |||
#gclient sync -r 9.3.345.3 # https://github.com/pmed/v8-nuget/ | |||
#gclient sync -r 10.0.139.9 # https://github.com/pmed/v8-nuget/ | |||
gclient sync -r 11.9.169.4 # https://github.com/pmed/v8-nuget/ | |||
#gclient sync -r 11.9.169.4 # https://github.com/pmed/v8-nuget/ | |||
gclient sync -r 13.0.245.25 | |||
# Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN | |||
@@ -1,5 +1,12 @@ | |||
SHELL:=/bin/bash | |||
VERSION:=3.0.1 | |||
build: cppse-vivid_$(VERSION)_amd64.deb | |||
cppse-vivid_$(VERSION)_amd64.deb: | |||
make ubuntu2404 | |||
ubuntu2204: | |||
git clone -b v3.0.1 https://github.com/gurki/vivid | |||
bash ../ubuntu2204.sh make impl | |||
@@ -62,7 +69,7 @@ package-ubuntu2404: | |||
cp -prv vivid/vivid_out2/lib/libvivid.a out/opt/cppse/build/vivid/lib/libvivid-em.a | |||
cp -prv vivid/build/_deps/glm-src/glm out/opt/cppse/build/vivid/include/ | |||
rm -rf vivid_*_amd64.deb | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n vivid --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "vivid - build dependency" --url "https://github.com/gurki/vivid.git" --deb-generate-changes -C /src/out | |||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-vivid --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "vivid - build dependency" --url "https://github.com/gurki/vivid.git" --deb-generate-changes -C /src/out | |||
clean: | |||
rm -rf vivid |