From a2e391a3eb7192e3ffb031f961f125617aef2baf Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 30 Oct 2016 10:20:21 -0400 Subject: [PATCH] graphicsmagick&zbar: Add --without-x I did not need this myself, @vishalbiswas reported it on gitter. --- packages/graphicsmagick/build.sh | 6 ++++-- packages/zbar/build.sh | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/graphicsmagick/build.sh b/packages/graphicsmagick/build.sh index 6cc7073cf..1d2dcc5d8 100644 --- a/packages/graphicsmagick/build.sh +++ b/packages/graphicsmagick/build.sh @@ -4,6 +4,8 @@ TERMUX_PKG_VERSION=1.3.25 # Bandwith limited on main ftp site, so it's asked to use sourceforge instead: TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/${TERMUX_PKG_VERSION}/GraphicsMagick-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_DEPENDS="littlecms, libtiff, freetype, libjasper, libjpeg-turbo, libpng, libbz2, libxml2, liblzma" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_ftime=no --without-magick-plus-plus" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-fontpath=/system/fonts" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_ftime=no +--without-magick-plus-plus +--with-fontpath=/system/fonts +--without-x" TERMUX_PKG_RM_AFTER_INSTALL="bin/*-config share/man/man1/*-config.1" diff --git a/packages/zbar/build.sh b/packages/zbar/build.sh index 7ce387654..6cb402e8f 100644 --- a/packages/zbar/build.sh +++ b/packages/zbar/build.sh @@ -4,7 +4,10 @@ TERMUX_PKG_VERSION=0.10 TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_DEPENDS="imagemagick" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthread --disable-video --without-xshm --without-xv --without-gtk --without-qt --without-python --mandir=$TERMUX_PREFIX/share/man" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-pthread +--disable-video --without-xshm --without-xv +--without-x --without-gtk --without-qt +--without-python --mandir=$TERMUX_PREFIX/share/man" termux_step_pre_configure () { # Run autoreconf since we have patched configure.ac