From be39e04b0517a4c1665610b83b41730971ccf305 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Oct 2018 18:26:22 +0200 Subject: [PATCH] Changed dependencies: libcurlpp-dev is not in buster anymore, but in sid --- .drone.yml | 35 ++++++----------------------------- README.md | 2 +- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/.drone.yml b/.drone.yml index ead0bea..7e43a1e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,12 +3,12 @@ pipeline: image: gcc:8 pull: true commands: - - echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list + - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - apt-get update -q - apt-get install -qy cmake - apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev - - apt-get install -qy -t buster libcurlpp-dev + - apt-get install -qy -t sid libcurlpp-dev - apt-get install -qy rpm file - rm -rf build && mkdir -p build && cd build - cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON .. @@ -25,12 +25,12 @@ pipeline: image: gcc:7 pull: true commands: - - echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list + - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release - apt-get update -q - apt-get install -qy cmake - apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev - - apt-get install -qy -t buster libcurlpp-dev + - apt-get install -qy -t sid libcurlpp-dev - apt-get install -qy rpm file - rm -rf build && mkdir -p build && cd build - cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON .. @@ -48,12 +48,12 @@ pipeline: pull: true commands: - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list - - echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list + - echo "deb http://deb.debian.org/debian sid main" >> /etc/apt/sources.list.d/sid.list - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release - apt-get update -q - apt-get install -qy -t jessie-backports cmake libjsoncpp-dev - apt-get install -qy libcurl4-openssl-dev - - apt-get install -qy -t buster libcurlpp-dev + - apt-get install -qy -t sid libcurlpp-dev - apt-get install -qy rpm file - rm -rf build && mkdir -p build && cd build - cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON .. @@ -66,29 +66,6 @@ pipeline: - make package - cmake -DWITH_DEB=OFF -DWITH_RPM=ON .. - make package - # gcc5: - # image: gcc:5 - # pull: true - # commands: - # - echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list - # - echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list - # - echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release - # - apt-get update -q - # - apt-get install -qy -t jessie-backports cmake libjsoncpp-dev - # - apt-get install -qy libcurl4-openssl-dev - # - apt-get install -qy -t buster libcurlpp-dev - # - apt-get install -qy rpm file - # - rm -rf build && mkdir -p build && cd build - # - cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON .. - # - make VERBOSE=1 - # - make install DESTDIR=install - # - ctest .. - # - cp -v ../packages/gentoo/mastodon-cpp-0.0.0.ebuild mastodon-cpp-${DRONE_TAG}.ebuild - # - make package - # - cmake -DWITH_DEB=ON .. - # - make package - # - cmake -DWITH_DEB=OFF -DWITH_RPM=ON .. - # - make package prepare_release: image: gcc:6 pull: true diff --git a/README.md b/README.md index 73f2324..a51b7f3 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Prebuilt DEB and RPM packages for x86_64(amd64) are provided with each release. These packages are automatically built and not tested. Install with `dpkg -i` or `rpm -i`, respectively. -To use the DEB package on stretch, you will need [libcurlpp0](https://packages.debian.org/libcurlpp0) from buster. +To use the DEB package on stretch, you will need [libcurlpp0](https://packages.debian.org/libcurlpp0) from sid. ## From source