From: Michael Stapelberg Date: Thu, 26 May 2016 12:53:30 +0000 (+0200) Subject: travis: ubuntu: install libxcb-xrm from our repository X-Git-Tag: 4.13~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=460e33a847db1911d3e46e5b9f9b6c77d0a1c9b4;p=i3%2Fi3 travis: ubuntu: install libxcb-xrm from our repository see #2363 --- diff --git a/travis/travis-base-ubuntu-386.Dockerfile b/travis/travis-base-ubuntu-386.Dockerfile index bc92a695..c20cc41d 100644 --- a/travis/travis-base-ubuntu-386.Dockerfile +++ b/travis/travis-base-ubuntu-386.Dockerfile @@ -24,18 +24,9 @@ RUN linux32 apt-get update && \ # Install i3 build dependencies. COPY debian/control /usr/src/i3-debian-packaging/control -RUN linux32 apt-get update && \ - sed -i '/^\s*libxcb-xrm-dev/d' /usr/src/i3-debian-packaging/control && \ +RUN echo 'deb http://dl.bintray.com/i3/i3-autobuild-ubuntu wily main' > /etc/apt/sources.list.d/i3-autobuild.list && \ + linux32 apt-get update && \ + linux32 apt-get --allow-unauthenticated install i3-autobuild-keyring && \ + linux32 apt-get update && \ DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \ rm -rf /var/lib/apt/lists/* - -# Install xcb-util-xrm. This is a workaround until it is available in the -# distribution packages. -RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends xutils-dev ca-certificates autoconf automake autotools-dev libtool -RUN git clone --recursive https://github.com/Airblader/xcb-util-xrm.git && \ - cd xcb-util-xrm && \ - ./autogen.sh --prefix=/usr && \ - make && \ - make install && \ - cd - diff --git a/travis/travis-base-ubuntu.Dockerfile b/travis/travis-base-ubuntu.Dockerfile index 5b0f731a..e060fe0f 100644 --- a/travis/travis-base-ubuntu.Dockerfile +++ b/travis/travis-base-ubuntu.Dockerfile @@ -25,18 +25,9 @@ RUN apt-get update && \ # Install i3 build dependencies. COPY debian/control /usr/src/i3-debian-packaging/control -RUN apt-get update && \ - sed -i '/^\s*libxcb-xrm-dev/d' /usr/src/i3-debian-packaging/control && \ +RUN echo 'deb http://dl.bintray.com/i3/i3-autobuild-ubuntu wily main' > /etc/apt/sources.list.d/i3-autobuild.list && \ + apt-get update && \ + apt-get --allow-unauthenticated install i3-autobuild-keyring && \ + apt-get update && \ DEBIAN_FRONTEND=noninteractive mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' /usr/src/i3-debian-packaging/control && \ rm -rf /var/lib/apt/lists/* - -# Install xcb-util-xrm. This is a workaround until it is available in the -# distribution packages. -RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends xutils-dev ca-certificates autoconf automake autotools-dev libtool -RUN git clone --recursive https://github.com/Airblader/xcb-util-xrm.git && \ - cd xcb-util-xrm && \ - ./autogen.sh --prefix=/usr && \ - make && \ - make install && \ - cd -