Unverified Commit 6d0caec2 authored by Amin Bandali's avatar Amin Bandali Committed by Maxim Cournoyer
Browse files

debian: build and package client-qt

Also remove unused DEBIAN_PACKAGING_OVERRIDE.

Change-Id: Ida109a811bebd1fb46fd1a8b90fb5463518382c0
parent 019583c0
FROM debian:buster FROM debian:buster
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y vim devscripts apt-get install -y -o Acquire::Retries=10 \
ca-certificates \
devscripts \
dirmngr \
gnupg \
wget
# Speed up mk-build-deps RUN wget -O - https://dl.jami.net/public-key.gpg | \
RUN apt-get clean tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
RUN apt-get update && \ RUN sh -c "echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/nightly/debian_10_qt/ jami main' > /etc/apt/sources.list.d/libqt-jami.list"
apt-get install -y -o Acquire::Retires=10 \
git \ # add deb-src entries (needed for next step)
autoconf \ RUN sed -n '/^deb\s/s//deb-src /p' /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list
automake \ RUN apt-get clean && apt-get update
autopoint \
cmake \ COPY packaging/rules/debian/* ${OVERRIDE_PACKAGING_DIR} /tmp/builddeps/debian/
nasm \ RUN cd /tmp/builddeps/debian; \
libtool \ if [ -n "${OVERRIDE_PACKAGING_DIR}" ] && [ -d "$(basename ${OVERRIDE_PACKAGING_DIR})" ]; then \
libdbus-1-dev \ mv "$(basename ${OVERRIDE_PACKAGING_DIR})"/* .; \
libdbus-c++-dev \ rm -r "$(basename ${OVERRIDE_PACKAGING_DIR})"; \
libargon2-0-dev \ fi; \
libcanberra-gtk3-dev \ cd ..; \
libclutter-gtk-1.0-dev \ apt-get update; \
libclutter-1.0-dev \ mk-build-deps \
libglib2.0-dev \ --remove --install \
libgtk-3-dev \ --tool "apt-get -y --no-install-recommends -o Acquire::Retries=10" \
libnotify-dev \ "debian/control"; \
qtbase5-dev \ cd / && rm -rf /tmp/builddeps
qttools5-dev \
qttools5-dev-tools \
yasm \
autotools-dev \
gettext \
libpulse-dev \
libasound2-dev \
libexpat1-dev \
libpcre3-dev \
libyaml-cpp-dev \
libboost-dev \
libxext-dev \
libxfixes-dev \
libspeex-dev \
libspeexdsp-dev \
uuid-dev \
libavcodec-dev \
libavutil-dev \
libavformat-dev \
libswscale-dev \
libavdevice-dev \
libopus-dev \
libudev-dev \
libgsm1-dev \
libjsoncpp-dev \
libmsgpack-dev \
libnatpmp-dev \
libappindicator3-dev \
libqrencode-dev \
libnm-dev \
libwebkit2gtk-4.0-dev \
libcrypto++-dev \
libva-dev \
libvdpau-dev \
libssl-dev
ADD scripts/build-package-debian.sh /opt/build-package-debian.sh ADD scripts/build-package-debian.sh /opt/build-package-debian.sh
......
FROM arm64v8/debian:buster FROM arm64v8/debian:buster
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y vim devscripts apt-get install -y -o Acquire::Retries=10 \
ca-certificates \
devscripts \
dirmngr \
gnupg \
wget
# Speed up mk-build-deps RUN wget -O - https://dl.jami.net/public-key.gpg | \
RUN apt-get clean tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
RUN apt-get update && \ RUN sh -c "echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/nightly/debian_10_qt/ jami main' > /etc/apt/sources.list.d/libqt-jami.list"
apt-get install -y -o Acquire::Retires=10 \
git \ # add deb-src entries (needed for next step)
autoconf \ RUN sed -n '/^deb\s/s//deb-src /p' /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list
automake \ RUN apt-get clean && apt-get update
autopoint \
cmake \ COPY packaging/rules/debian/* ${OVERRIDE_PACKAGING_DIR} /tmp/builddeps/debian/
nasm \ RUN cd /tmp/builddeps/debian; \
libtool \ if [ -n "${OVERRIDE_PACKAGING_DIR}" ] && [ -d "$(basename ${OVERRIDE_PACKAGING_DIR})" ]; then \
libdbus-1-dev \ mv "$(basename ${OVERRIDE_PACKAGING_DIR})"/* .; \
libdbus-c++-dev \ rm -r "$(basename ${OVERRIDE_PACKAGING_DIR})"; \
libargon2-0-dev \ fi; \
libcanberra-gtk3-dev \ cd ..; \
libclutter-gtk-1.0-dev \ apt-get update; \
libclutter-1.0-dev \ mk-build-deps \
libglib2.0-dev \ --remove --install \
libgtk-3-dev \ --tool "apt-get -y --no-install-recommends -o Acquire::Retries=10" \
libnotify-dev \ "debian/control"; \
qtbase5-dev \ cd / && rm -rf /tmp/builddeps
qttools5-dev \
qttools5-dev-tools \
yasm \
autotools-dev \
gettext \
libpulse-dev \
libasound2-dev \
libexpat1-dev \
libpcre3-dev \
libyaml-cpp-dev \
libboost-dev \
libxext-dev \
libxfixes-dev \
libspeex-dev \
libspeexdsp-dev \
uuid-dev \
libavcodec-dev \
libavutil-dev \
libavformat-dev \
libswscale-dev \
libavdevice-dev \
libopus-dev \
libudev-dev \
libgsm1-dev \
libjsoncpp-dev \
libmsgpack-dev \
libnatpmp-dev \
libappindicator3-dev \
libqrencode-dev \
libnm-dev \
libwebkit2gtk-4.0-dev \
libcrypto++-dev \
libva-dev \
libvdpau-dev \
libssl-dev
ADD scripts/build-package-debian.sh /opt/build-package-debian.sh ADD scripts/build-package-debian.sh /opt/build-package-debian.sh
......
FROM arm32v7/debian:buster FROM arm32v7/debian:buster
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y vim devscripts apt-get install -y -o Acquire::Retries=10 \
ca-certificates \
devscripts \
dirmngr \
gnupg \
wget
# Speed up mk-build-deps RUN wget -O - https://dl.jami.net/public-key.gpg | \
RUN apt-get clean tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
RUN apt-get update && \ RUN sh -c "echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/nightly/debian_10_qt/ jami main' > /etc/apt/sources.list.d/libqt-jami.list"
apt-get install -y -o Acquire::Retires=10 \
git \ # add deb-src entries (needed for next step)
autoconf \ RUN sed -n '/^deb\s/s//deb-src /p' /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list
automake \ RUN apt-get clean && apt-get update
autopoint \
cmake \ COPY packaging/rules/debian/* ${OVERRIDE_PACKAGING_DIR} /tmp/builddeps/debian/
nasm \ RUN cd /tmp/builddeps/debian; \
libtool \ if [ -n "${OVERRIDE_PACKAGING_DIR}" ] && [ -d "$(basename ${OVERRIDE_PACKAGING_DIR})" ]; then \
libdbus-1-dev \ mv "$(basename ${OVERRIDE_PACKAGING_DIR})"/* .; \
libdbus-c++-dev \ rm -r "$(basename ${OVERRIDE_PACKAGING_DIR})"; \
libargon2-0-dev \ fi; \
libcanberra-gtk3-dev \ cd ..; \
libclutter-gtk-1.0-dev \ apt-get update; \
libclutter-1.0-dev \ mk-build-deps \
libglib2.0-dev \ --remove --install \
libgtk-3-dev \ --tool "apt-get -y --no-install-recommends -o Acquire::Retries=10" \
libnotify-dev \ "debian/control"; \
qtbase5-dev \ cd / && rm -rf /tmp/builddeps
qttools5-dev \
qttools5-dev-tools \
yasm \
autotools-dev \
gettext \
libpulse-dev \
libasound2-dev \
libexpat1-dev \
libpcre3-dev \
libyaml-cpp-dev \
libboost-dev \
libxext-dev \
libxfixes-dev \
libspeex-dev \
libspeexdsp-dev \
uuid-dev \
libavcodec-dev \
libavutil-dev \
libavformat-dev \
libswscale-dev \
libavdevice-dev \
libopus-dev \
libudev-dev \
libgsm1-dev \
libjsoncpp-dev \
libmsgpack-dev \
libnatpmp-dev \
libappindicator3-dev \
libqrencode-dev \
libnm-dev \
libwebkit2gtk-4.0-dev \
libcrypto++-dev \
libva-dev \
libvdpau-dev \
libssl-dev
ADD scripts/build-package-debian.sh /opt/build-package-debian.sh ADD scripts/build-package-debian.sh /opt/build-package-debian.sh
......
FROM i386/debian:buster FROM i386/debian:buster
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y vim devscripts apt-get install -y -o Acquire::Retries=10 \
ca-certificates \
devscripts \
dirmngr \
gnupg \
wget
# Speed up mk-build-deps RUN wget -O - https://dl.jami.net/public-key.gpg | \
RUN apt-get clean tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
RUN apt-get update && \ RUN sh -c "echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/nightly/debian_10_qt/ jami main' > /etc/apt/sources.list.d/libqt-jami.list"
apt-get install -y -o Acquire::Retires=10 \
git \ # add deb-src entries (needed for next step)
autoconf \ RUN sed -n '/^deb\s/s//deb-src /p' /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list
automake \ RUN apt-get clean && apt-get update
autopoint \
cmake \ COPY packaging/rules/debian/* ${OVERRIDE_PACKAGING_DIR} /tmp/builddeps/debian/
nasm \ RUN cd /tmp/builddeps/debian; \
libtool \ if [ -n "${OVERRIDE_PACKAGING_DIR}" ] && [ -d "$(basename ${OVERRIDE_PACKAGING_DIR})" ]; then \
libdbus-1-dev \ mv "$(basename ${OVERRIDE_PACKAGING_DIR})"/* .; \
libdbus-c++-dev \ rm -r "$(basename ${OVERRIDE_PACKAGING_DIR})"; \
libargon2-0-dev \ fi; \
libcanberra-gtk3-dev \ cd ..; \
libclutter-gtk-1.0-dev \ apt-get update; \
libclutter-1.0-dev \ mk-build-deps \
libglib2.0-dev \ --remove --install \
libgtk-3-dev \ --tool "apt-get -y --no-install-recommends -o Acquire::Retries=10" \
libnotify-dev \ "debian/control"; \
qtbase5-dev \ cd / && rm -rf /tmp/builddeps
qttools5-dev \
qttools5-dev-tools \
yasm \
autotools-dev \
gettext \
libpulse-dev \
libasound2-dev \
libexpat1-dev \
libpcre3-dev \
libyaml-cpp-dev \
libboost-dev \
libxext-dev \
libxfixes-dev \
libspeex-dev \
libspeexdsp-dev \
uuid-dev \
libavcodec-dev \
libavutil-dev \
libavformat-dev \
libswscale-dev \
libavdevice-dev \
libopus-dev \
libudev-dev \
libgsm1-dev \
libjsoncpp-dev \
libmsgpack-dev \
libnatpmp-dev \
libappindicator3-dev \
libqrencode-dev \
libnm-dev \
libwebkit2gtk-4.0-dev \
libcrypto++-dev \
libva-dev \
libvdpau-dev \
libssl-dev
ADD scripts/build-package-debian.sh /opt/build-package-debian.sh ADD scripts/build-package-debian.sh /opt/build-package-debian.sh
......
FROM ubuntu:18.04 FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean
RUN apt-get update && \
apt-get install -y devscripts equivs
# Speed up mk-build-deps
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y -o Acquire::Retries=10 \ apt-get install -y -o Acquire::Retries=10 \
g++-8 \ ca-certificates \
devscripts \
dirmngr \
equivs \
gcc-8 \ gcc-8 \
cpp-8 \ g++-8 \
file \ gnupg \
make \ wget
libc6-dev \
libstdc++-8-dev \ RUN wget -O - https://dl.jami.net/public-key.gpg | \
git \ tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
autoconf \ RUN sh -c "echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/nightly/ubuntu_18.04_qt/ jami main' > /etc/apt/sources.list.d/libqt-jami.list"
automake \
autopoint \ # add deb-src entries (needed for next step)
cmake \ RUN sed -n '/^deb\s/s//deb-src /p' /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list
libdbus-1-dev \ RUN apt-get clean && apt-get update
libdbus-c++-dev \
libgnutls28-dev \ COPY packaging/rules/debian/* ${OVERRIDE_PACKAGING_DIR} /tmp/builddeps/debian/
libargon2-0-dev \ RUN cd /tmp/builddeps/debian; \
libcanberra-gtk3-dev \ if [ -n "${OVERRIDE_PACKAGING_DIR}" ] && [ -d "$(basename ${OVERRIDE_PACKAGING_DIR})" ]; then \
libclutter-gtk-1.0-dev \ mv "$(basename ${OVERRIDE_PACKAGING_DIR})"/* .; \
libclutter-1.0-dev \ rm -r "$(basename ${OVERRIDE_PACKAGING_DIR})"; \
libglib2.0-dev \ fi; \
libgtk-3-dev \ cd ..; \
libnotify-dev \ apt-get update; \
qtbase5-dev \ mk-build-deps \
qttools5-dev \ --remove --install \
qttools5-dev-tools \ --tool "apt-get -y --no-install-recommends -o Acquire::Retries=10" \
yasm \ "debian/control"; \
nasm \ cd / && rm -rf /tmp/builddeps
autotools-dev \
gettext \
libpulse-dev \
libasound2-dev \
libexpat1-dev \
libpcre3-dev \
libyaml-cpp-dev \
libboost-dev \
libxext-dev \
libxfixes-dev \
libspeex-dev \
libspeexdsp-dev \
uuid-dev \
libavcodec-dev \
libavutil-dev \
libavformat-dev \
libswscale-dev \
libavdevice-dev \
libopus-dev \
libudev-dev \
libgsm1-dev \
libjsoncpp-dev \
libmsgpack-dev \
libnatpmp-dev \
libayatana-appindicator3-dev \
libqrencode-dev \
libnm-dev \
libwebkit2gtk-4.0-dev \
libcrypto++-dev \
libva-dev \
libvdpau-dev \
libssl-dev \
libsndfile1-dev
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50 RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50
......
FROM i386/ubuntu:18.04 FROM i386/ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean
RUN apt-get update && \
apt-get install -y devscripts equivs
# Speed up mk-build-deps
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y -o Acquire::Retries=10 \ apt-get install -y -o Acquire::Retries=10 \
g++-8 \ ca-certificates \
devscripts \
dirmngr \
equivs \
gcc-8 \ gcc-8 \
cpp-8 \ g++-8 \
file \ gnupg \
make \ wget
libc6-dev \
libstdc++-8-dev \ RUN wget -O - https://dl.jami.net/public-key.gpg | \
git \ tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
autoconf \ RUN sh -c "echo 'deb [signed-by=/usr/share/keyrings/jami-archive-keyring.gpg] https://dl.jami.net/nightly/ubuntu_18.04_qt/ jami main' > /etc/apt/sources.list.d/libqt-jami.list"
automake \
autopoint \ # add deb-src entries (needed for next step)
cmake \ RUN sed -n '/^deb\s/s//deb-src /p' /etc/apt/sources.list > /etc/apt/sources.list.d/deb-src.list
libdbus-1-dev \ RUN apt-get clean && apt-get update
libdbus-c++-dev \
libgnutls28-dev \ COPY packaging/rules/debian/* ${OVERRIDE_PACKAGING_DIR} /tmp/builddeps/debian/
libargon2-0-dev \ RUN cd /tmp/builddeps/debian; \
libcanberra-gtk3-dev \ if [ -n "${OVERRIDE_PACKAGING_DIR}" ] && [ -d "$(basename ${OVERRIDE_PACKAGING_DIR})" ]; then \
libclutter-gtk-1.0-dev \ mv "$(basename ${OVERRIDE_PACKAGING_DIR})"/* .; \
libclutter-1.0-dev \ rm -r "$(basename ${OVERRIDE_PACKAGING_DIR})"; \
libglib2.0-dev \ fi; \
libgtk-3-dev \ cd ..; \
libnotify-dev \ apt-get update; \
qtbase5-dev \ mk-build-deps \
qttools5-dev \ --remove --install \
qttools5-dev-tools \ --tool "apt-get -y --no-install-recommends -o Acquire::Retries=10" \
yasm \ "debian/control"; \
nasm \ cd / && rm -rf /tmp/builddeps
autotools-dev \
gettext \
libpulse-dev \
libasound2-dev \
libexpat1-dev \
libpcre3-dev \
libyaml-cpp-dev \
libboost-dev \
libxext-dev \
libxfixes-dev \
libspeex-dev \
libspeexdsp-dev \
uuid-dev \
libavcodec-dev \
libavutil-dev \
libavformat-dev \
libswscale-dev \
libavdevice-dev \
libopus-dev \
libudev-dev \
libgsm1-dev \
libjsoncpp-dev \
libmsgpack-dev \
libnatpmp-dev \
libayatana-appindicator3-dev \
libqrencode-dev \
libnm-dev \
libwebkit2gtk-4.0-dev \
libcrypto++-dev \
libva-dev \
libvdpau-dev \
libssl-dev \
libsndfile1-dev
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50 RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50
......
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get clean
RUN apt-get update && \
apt-get install -y devscripts equivs
# Speed up mk-build-deps
RUN apt-get clean RUN apt-get clean
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y -o Acquire::Retries=10 \ apt-get install -y -o Acquire::Retries=10 \
git \ ca-certificates \
autoconf \ devscripts \
automake \ dirmngr \
autopoint \ equivs \
cmake \ gnupg \
libtool \ wget
libdbus-1-dev \
libdbus-c++-dev \ RUN wget -O - https://dl.jami.net/public-key.gpg | \
libgnutls28-dev \ tee /usr/share/keyrings/jami-archive-keyring.gpg > /dev/null
libargon2-0-dev \