diff --git a/README.md b/README.md index 5fb7d9b04..7045e35fe 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This source folder is mounted as the `/root/termux-packages` data volume, so cha in sync between the host and the container when trying things out before committing, and built deb files will be available on the host in the `debs/` directory just as when building on the host. -The docker container used for building packages is a Ubuntu 16.10 installation with necessary packages +The docker container used for building packages is a Ubuntu 17.04 installation with necessary packages pre-installed. The default user is a non-root user to avoid problems with package builds modifying the system by mistake, but `sudo` can be used to install additional Ubuntu packages to be used during development. @@ -33,7 +33,7 @@ Note that building packages can take up a lot of space (especially if `build-all Build environment without Docker ================================ -If you can't run Docker you can use a Ubuntu 16.10 installation (either by installing a virtual maching guest or on direct hardware) by using the below scripts: +If you can't run Docker you can use a Ubuntu 17.04 installation (either by installing a virtual maching guest or on direct hardware) by using the below scripts: - Run `scripts/setup-ubuntu.sh` to install required packages and setup the `/data/` folder. diff --git a/packages/librsvg/build.sh b/packages/librsvg/build.sh index 0c15608e0..7e3484bf5 100644 --- a/packages/librsvg/build.sh +++ b/packages/librsvg/build.sh @@ -4,4 +4,4 @@ TERMUX_PKG_VERSION=2.40.16 TERMUX_PKG_SRCURL=http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.40/librsvg-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=d48bcf6b03fa98f07df10332fb49d8c010786ddca6ab34cbba217684f533ff2e TERMUX_PKG_DEPENDS="libcroco,pango,gdk-pixbuf" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-introspection" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-introspection --disable-pixbuf-loader" diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 102b1edd2..320eb1284 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -4,7 +4,7 @@ # docker push termux/package-builder # This is done after changing this file or any of the # scripts/setup-{ubuntu,android-sdk}.sh setup scripts. -FROM ubuntu:16.10 +FROM ubuntu:17.04 # Fix locale to avoid warnings: ENV LANG C.UTF-8 diff --git a/scripts/Vagrantfile b/scripts/Vagrantfile index f73382dbc..2885b7931 100644 --- a/scripts/Vagrantfile +++ b/scripts/Vagrantfile @@ -3,7 +3,7 @@ Vagrant.configure("2") do |config| - config.vm.box = "ubuntu/yakkety64" + config.vm.box = "ubuntu/zesty64" config.vm.provider "virtualbox" do |vb| # Customize the amount of memory on the VM diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 08a3912b0..657134dae 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -13,7 +13,6 @@ PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses. PACKAGES+=" git" # Used by the neovim build. PACKAGES+=" help2man" PACKAGES+=" intltool" # Used by qalc build. -PACKAGES+=" libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses. PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses. PACKAGES+=" libtool-bin" PACKAGES+=" lzip" @@ -21,9 +20,10 @@ PACKAGES+=" python3.6" PACKAGES+=" tar" PACKAGES+=" unzip" PACKAGES+=" m4" -PACKAGES+=" openjdk-8-jdk" # Used for android-sdk. +PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk. PACKAGES+=" pkg-config" -PACKAGES+=" python-docutils" # For rst2man, used by mpv. +PACKAGES+=" python3-docutils" # For rst2man, used by mpv. +PACKAGES+=" python3-setuptools" # Needed by at least asciinema. PACKAGES+=" scons" PACKAGES+=" texinfo" PACKAGES+=" xmlto"