From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- scripts/make-ipkg-dir.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/make-ipkg-dir.sh b/scripts/make-ipkg-dir.sh index 857076fb1..65eeb5621 100644 --- a/scripts/make-ipkg-dir.sh +++ b/scripts/make-ipkg-dir.sh @@ -1,4 +1,4 @@ -BASE=http://www.openadk.org +BASE=http://www.openadk.org/distfiles TARGET=$1 CONTROL=$2 VERSION=$3 @@ -14,7 +14,7 @@ grep '^Priority' "$CONTROL" 2>&1 >/dev/null || \ echo "Priority: optional" >> "$TARGET/CONTROL/control" grep '^Source' "$CONTROL" 2>&1 >/dev/null || { pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g") - [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase" + [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE" echo "Source: $src" >> "$TARGET/CONTROL/control" } echo "Version: $VERSION" >> "$TARGET/CONTROL/control" -- cgit v1.2.3 From 444176e8aa3a958f147f15542793678b619be262 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 28 Oct 2013 16:33:41 +0100 Subject: fix host build stuff and update-patches, convert cifs-utils and libaudiofile to new autotool infrastructure --- scripts/scan-pkgs.sh | 33 --------------------------------- scripts/scan-tools.sh | 6 +++--- scripts/update-patches | 11 +++++++++++ 3 files changed, 14 insertions(+), 36 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 757ae4256..74e13ddf0 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -140,22 +140,10 @@ if [[ -n $ADK_PACKAGE_XKEYBOARD_CONFIG ]]; then NEED_XKBCOMP="$NEED_XKBCOMP xkeyboard-config" fi -if [[ -n $ADK_COMPILE_AUTOCONF ]]; then - NEED_M4="$NEED_M4 autoconf" -fi - -if [[ -n $ADK_COMPILE_AUTOMAKE ]]; then - NEED_AUTOCONF="$NEED_AUTOCONF automake" -fi - if [[ -n $ADK_COMPILE_COROSYNC ]]; then NEED_GROFF="$NEED_GROFF corosync" fi -if [[ -n $ADK_COMPILE_LIBTOOL ]]; then - NEED_AUTOMAKE="$NEED_AUTOMAKE libtool" -fi - if [[ -n $ADK_PACKAGE_SQUID ]]; then NEED_GXX="$NEED_GXX squid" fi @@ -342,27 +330,6 @@ if [[ -n $NEED_MKFONTDIR ]]; then fi fi -if [[ -n $NEED_M4 ]]; then - if ! which m4 >/dev/null 2>&1; then - echo >&2 You need GNU m4 to build $NEED_M4 - out=1 - fi -fi - -if [[ -n $NEED_AUTOCONF ]]; then - if ! which autoconf >/dev/null 2>&1; then - echo >&2 You need autoconf to build $NEED_AUTOCONF - out=1 - fi -fi - -if [[ -n $NEED_AUTOMAKE ]]; then - if ! which automake >/dev/null 2>&1; then - echo >&2 You need automake to build $NEED_AUTOMAKE - out=1 - fi -fi - if [[ -n $NEED_INTL ]]; then if ! which intltool-update >/dev/null 2>&1; then echo >&2 You need intltool to build $NEED_INTL diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 7b1446b76..a587e5ad3 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -226,9 +226,9 @@ if ! which perl >/dev/null 2>&1; then fi if ! which m4 >/dev/null 2>&1; then - echo "You must install m4 (macro processor) to continue." - echo - out=1 + echo "You must install m4 (macro processor) to continue." + echo + out=1 fi if ! which pkg-config >/dev/null 2>&1; then diff --git a/scripts/update-patches b/scripts/update-patches index d38a8fdf4..a180b96be 100644 --- a/scripts/update-patches +++ b/scripts/update-patches @@ -77,11 +77,22 @@ else patch_newfiles=0 fi +if [[ -e $WRKDIST/../.autoreconf_done ]]; then + touch $ORGDIST/.autoreconf_done + ignore_autoconf=1 +else + ignore_autoconf=0 +fi + DIFF_FLAGS="-adu -I \"^--- $(echo $D_SUBP.orig/ | $TRANSFORM)@@ .*\"" DIFF_FLAGS="$DIFF_FLAGS -I \"^\+\+\+ $(echo $D_SUBP/ | $TRANSFORM)@@ .*\"" for file in $(cd ${WRKDIST}; find . -type f | sed 's#^\./##'); do + echo "DEBUG: $file" >> /tmp/debug [[ ! -e $ORGDIST/$file && $patch_newfiles = 0 ]] && continue + [[ $file = configure && $ignore_autoconf = 1 ]] && continue + [[ $file = config.h.in && $ignore_autoconf = 1 ]] && continue + [[ $(basename $file) = Makefile.in && $ignore_autoconf = 1 ]] && continue cmp -s "$ORGDIST/$file" "$WRKDIST/$file" && continue echo "Processing ${file}..." >&2 # look in patchdir for an existing patchfile matching this -- cgit v1.2.3 From 5ce633839096d25a684af6978ba9da7d6d34fdaf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 30 Oct 2013 15:46:44 +0100 Subject: fix update-patches when WRKDIST is overwritten in the Makefile --- scripts/update-patches | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/update-patches b/scripts/update-patches index a180b96be..f4303f841 100644 --- a/scripts/update-patches +++ b/scripts/update-patches @@ -91,6 +91,11 @@ for file in $(cd ${WRKDIST}; find . -type f | sed 's#^\./##'); do echo "DEBUG: $file" >> /tmp/debug [[ ! -e $ORGDIST/$file && $patch_newfiles = 0 ]] && continue [[ $file = configure && $ignore_autoconf = 1 ]] && continue + [[ $file = missing && $ignore_autoconf = 1 ]] && continue + [[ $file = depcomp && $ignore_autoconf = 1 ]] && continue + [[ $file = install-sh && $ignore_autoconf = 1 ]] && continue + [[ $file = aclocal.m4 && $ignore_autoconf = 1 ]] && continue + [[ $file = INSTALL && $ignore_autoconf = 1 ]] && continue [[ $file = config.h.in && $ignore_autoconf = 1 ]] && continue [[ $(basename $file) = Makefile.in && $ignore_autoconf = 1 ]] && continue cmp -s "$ORGDIST/$file" "$WRKDIST/$file" && continue -- cgit v1.2.3 From ece5af0bdd72890f082afe69c81b4cf68acd0fa4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 30 Oct 2013 17:22:29 +0100 Subject: remove python and dpkg-architecture dependency, not required anymore --- scripts/scan-pkgs.sh | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 74e13ddf0..985009051 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -23,13 +23,6 @@ out=0 . $topdir/.config -uname -a|grep '\(Debian\|Ubuntu\)' >/dev/null 2>&1 -if [ $? -eq 0 ];then - if [[ -n $ADK_COMPILE_PYTHON2 ]]; then - NEED_DPKG_ARCHITECTURE="$NEED_DPKG_ARCHITECTURE python2" - fi -fi - if [[ -n $ADK_NATIVE ]];then if [[ -n $ADK_PACKAGE_NEON ]];then NEED_LIBXML2_DEV="$NEED_LIBXML2_DEV neon" @@ -91,7 +84,6 @@ fi if [[ -n $ADK_PACKAGE_FIREFOX ]]; then NEED_YASM="$NEED_YASM firefox" NEED_LIBIDL="$NEED_LIBIDL firefox" - NEED_PYTHON="$NEED_PYTHON firefox" NEED_ZIP="$NEED_ZIP firefox" fi @@ -448,15 +440,6 @@ if [[ -n $NEED_DBUSGLIB ]]; then fi fi -if [[ -n $NEED_PYTHON ]]; then - if ! which python >/dev/null 2>&1; then - if ! test -x /usr/pkg/bin/python2.6 >/dev/null; then - echo >&2 You need python to build $NEED_PYTHON - out=1 - fi - fi -fi - if [[ -n $NEED_MAKEDEPEND ]]; then if ! which makedepend >/dev/null 2>&1; then echo >&2 You need makedepend to build $NEED_MAKEDEPEND @@ -464,13 +447,6 @@ if [[ -n $NEED_MAKEDEPEND ]]; then fi fi -if [[ -n $NEED_DPKG_ARCHITECTURE ]]; then - if ! which dpkg-architecture >/dev/null 2>&1; then - echo >&2 You need dpkg-architecture to build $NEED_DPKG_ARCHITECTURE - out=1 - fi -fi - if [[ -n $ADK_USE_CCACHE ]]; then if ! which ccache >/dev/null 2>&1; then echo >&2 You have selected to build with ccache, but ccache could not be found. -- cgit v1.2.3 From fbe47cba997e4f2f2dbaa6af0583dbec2e5d130c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 2 Nov 2013 12:03:09 +0100 Subject: remove dependencies to libiconv,pkg-config and file. use pkgconf and libiconv-tiny instead. fixes glib compile on systems without libiconv/ native iconv implementation --- scripts/scan-tools.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index a587e5ad3..0b7b1d08c 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -213,12 +213,6 @@ if ! which wget >/dev/null 2>&1; then out=1 fi -if ! which file >/dev/null 2>&1; then - echo You must install \"file\" to continue. - echo - out=1 -fi - if ! which perl >/dev/null 2>&1; then echo You must install perl to continue. echo @@ -231,14 +225,14 @@ if ! which m4 >/dev/null 2>&1; then out=1 fi -if ! which pkg-config >/dev/null 2>&1; then - echo "You need pkg-config to continue." +if ! which bc >/dev/null 2>&1; then + echo "You need bc to continue." echo out=1 fi -if ! which bc >/dev/null 2>&1; then - echo "You need bc to continue." +if ! which xargs >/dev/null 2>&1; then + echo "You need xargs to continue." echo out=1 fi -- cgit v1.2.3 From b59da8fc7b46ee62cbe9eb97a05c8a0f1ab75593 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 7 Nov 2013 16:55:09 +0100 Subject: update valgrind to latest upstream version, strlen is not a function in ld.so in latest glibc/eglibc setups, just remove the redirect for now. enable automatic building of debug subpackages. update TODO --- scripts/rstrip.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts') diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 846bafd2f..e676dea82 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -28,8 +28,13 @@ fi find $TARGETS -type f -a -exec file {} \; | \ while IFS= read -r line; do F=${line%%:*} + D=${TARGETS}-dbg V=${F##*/fake-+([!/])/} + P=${F##*/pkg-+([!/])/} + Q=${P%/*} + R=${P##*/} T="${prefix}strip" + O="${prefix}objcopy" T=$T$stripcomm case $line in *ELF*executable*statically\ linked*) @@ -55,6 +60,9 @@ find $TARGETS -type f -a -exec file {} \; | \ echo "$SELF: $V:$S" echo "-> $T $F" eval "chmod u+w $F" + eval "mkdir -p $D/usr/lib/debug/$Q" + eval "$O --only-keep-debug $F $D/usr/lib/debug/$P.debug" eval "$T $F" + eval "cd $D/usr/lib/debug/$Q && $O --add-gnu-debuglink=$R.debug $F" done exit 0 -- cgit v1.2.3 From 8d47e5dc63b6a77081af0ef9c2cf7d0d1e14526d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 8 Nov 2013 19:09:04 +0100 Subject: refresh mksh version number --- scripts/create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/create.sh b/scripts/create.sh index e96f4db77..ef6e644ab 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -37,7 +37,7 @@ esac test -n "$KSH_VERSION" || if ! which mksh >/dev/null 2>&1; then make package=mksh fetch || exit 1 - df=mksh-R40f.cpio.gz + df=mksh-R48b.tgz rm -rf build_mksh mkdir -p build_mksh gzip -dc dl/"$df" | (cd build_mksh; cpio -mid) -- cgit v1.2.3 From 2e7d502c6344dcc949d64a7c9d689ff90e3bbb10 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 10 Nov 2013 16:42:11 +0100 Subject: use cmake-host --- scripts/scan-pkgs.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 985009051..e00ef2da4 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -166,13 +166,8 @@ if [[ -n $ADK_PACKAGE_GLIB ]]; then NEED_GETTEXT="$NEED_GETTEXT glib" fi -if [[ -n $ADK_PACKAGE_BCM2835_VC ]]; then - NEED_CMAKE="$NEED_CMAKE bcm2835-vc" -fi - if [[ -n $ADK_PACKAGE_YAJL ]]; then NEED_RUBY="$NEED_RUBY yajl" - NEED_CMAKE="$NEED_CMAKE yajl" fi if [[ -n $ADK_PACKAGE_XBMC ]]; then @@ -347,13 +342,6 @@ if [[ -n $NEED_BISON ]]; then fi fi -if [[ -n $NEED_CMAKE ]]; then - if ! which cmake >/dev/null 2>&1; then - echo >&2 You need cmake to build $NEED_CMAKE - out=1 - fi -fi - if [[ -n $NEED_ZIP ]]; then if ! which zip >/dev/null 2>&1; then echo >&2 You need zip to build $NEED_ZIP -- cgit v1.2.3 From 06c5fdc855793e05705900ea8c134fd21b75e776 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 10 Nov 2013 17:27:04 +0100 Subject: use more inodes --- scripts/create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/create.sh b/scripts/create.sh index ef6e644ab..08800f0aa 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -297,7 +297,7 @@ fi print "Creating ext2fs filesystem image..." cd "$T" f=0 -genext2fs -U -b $((partfssz)) -d src fsimg || f=1 +genext2fs -U -N 16384 -b $((partfssz)) -d src fsimg || f=1 if (( !f )); then # use bc(1): this may be over the shell’s 32-bit arithmetics wantsz=$($bc <<<"$((partfssz))*1024") -- cgit v1.2.3 From 8a5dfbe8cd722a8c8e8b8504bb016961f4e658ad Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 10 Nov 2013 18:28:42 +0100 Subject: 16384 is not enough for my use case --- scripts/create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/create.sh b/scripts/create.sh index 08800f0aa..058942314 100755 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -297,7 +297,7 @@ fi print "Creating ext2fs filesystem image..." cd "$T" f=0 -genext2fs -U -N 16384 -b $((partfssz)) -d src fsimg || f=1 +genext2fs -U -N 32768 -b $((partfssz)) -d src fsimg || f=1 if (( !f )); then # use bc(1): this may be over the shell’s 32-bit arithmetics wantsz=$($bc <<<"$((partfssz))*1024") -- cgit v1.2.3 From 68f67458e8e92594227640b8dca1526646d09f87 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 11 Nov 2013 20:59:59 +0100 Subject: use bison-host and flex-host --- scripts/scan-pkgs.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index e00ef2da4..60888cfc7 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -91,14 +91,6 @@ if [[ -n $ADK_PACKAGE_MESALIB ]]; then NEED_MAKEDEPEND="$NEED_MAKEDEPEND mesalib" fi -if [[ -n $ADK_COMPILE_HEIMDAL ]]; then - NEED_BISON="$NEED_BISON heimdal-server" -fi - -if [[ -n $ADK_COMPILE_KRB5 ]]; then - NEED_BISON="$NEED_BISON krb5" -fi - if [[ -n $ADK_COMPILE_OPENJDK ]]; then NEED_ZIP="$NEED_ZIP openjdk" NEED_GXX="$NEED_GXX openjdk" @@ -123,11 +115,6 @@ if [[ -n $ADK_PACKAGE_LIBXCB ]]; then NEED_XSLTPROC="$NEED_XSLTPROC libxcb" fi -if [[ -n $ADK_COMPILE_PCMCIAUTILS ]]; then - NEED_BISON="$NEED_BISON pcmciautils" - NEED_FLEX="$NEED_FLEX pcmciautils" -fi - if [[ -n $ADK_PACKAGE_XKEYBOARD_CONFIG ]]; then NEED_XKBCOMP="$NEED_XKBCOMP xkeyboard-config" fi @@ -144,11 +131,6 @@ if [[ -n $ADK_PACKAGE_XKEYBOARD_CONFIG ]]; then NEED_INTL="$NEED_INTL xkeyboard-config" fi -if [[ -n $ADK_PACKAGE_LIBPCAP ]]; then - NEED_FLEX="$NEED_FLEX libpcap" - NEED_BISON="$NEED_BISON libpcap" -fi - if [[ -n $ADK_PACKAGE_LIBXFONT ]]; then NEED_WWW="$NEED_WWW libXfont" NEED_XMLTO="$NEED_XMLTO libXfont" @@ -335,13 +317,6 @@ if [[ -n $NEED_WWW ]]; then fi fi -if [[ -n $NEED_BISON ]]; then - if ! which bison >/dev/null 2>&1; then - echo >&2 You need bison to build $NEED_BISON - out=1 - fi -fi - if [[ -n $NEED_ZIP ]]; then if ! which zip >/dev/null 2>&1; then echo >&2 You need zip to build $NEED_ZIP @@ -398,13 +373,6 @@ if [[ -n $NEED_RPM ]]; then fi fi -if [[ -n $NEED_FLEX ]]; then - if ! which flex >/dev/null 2>&1; then - echo >&2 You need flex to build $NEED_FLEX - out=1 - fi -fi - if [[ -n $ADK_LINUX_X86 ]]; then if [[ -n $NEED_YASM ]]; then if ! which yasm >/dev/null 2>&1; then -- cgit v1.2.3 From 42600701ca5f37210581fd3989796daceef58778 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 12 Nov 2013 08:10:15 +0100 Subject: some more flex-host depends --- scripts/scan-pkgs.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 60888cfc7..980a7f466 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -65,10 +65,6 @@ if [[ -n $ADK_PACKAGE_LIBX11 ]]; then NEED_X11="$NEED_X11 libx11" fi -if [[ -n $ADK_PACKAGE_LIBNL ]]; then - NEED_FLEX="$NEED_FLEX libnl" -fi - if [[ -n $ADK_PACKAGE_GPSD ]]; then NEED_PYTHON="$NEED_PYTHON gpsd" fi -- cgit v1.2.3 From 99ffeabcfc11ffb44d32583fc3d7db37f2fff9fd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 12 Nov 2013 09:30:49 +0100 Subject: update gpsd --- scripts/adkprepare.sh | 7 +------ scripts/scan-pkgs.sh | 4 ---- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'scripts') diff --git a/scripts/adkprepare.sh b/scripts/adkprepare.sh index ff0ecfaf7..c76907c7f 100755 --- a/scripts/adkprepare.sh +++ b/scripts/adkprepare.sh @@ -43,14 +43,11 @@ openbsd() { openbsd_full() { PKG_PATH="ftp://ftp.openbsd.org/pub/OpenBSD/${ver}/packages/${arch}/" export PKG_PATH - pkg_add -v bison pkg_add -v zip pkg_add -v intltool pkg_add -v libIDL pkg_add -v m4 - pkg_add -v autoconf-2.62p0 pkg_add -v gperf - pkg_add -v python-2.6.6p0 } openbsd_lux() { @@ -84,10 +81,8 @@ netbsd_full() { pkg_add -vu intltool pkg_add -vu lynx pkg_add -vu zip - pkg_add -vu bison pkg_add -vu libIDL pkg_add -vu xkbcomp - pkg_add -vu python26 } netbsd_lux() { @@ -106,7 +101,7 @@ freebsd() { freebsd_full() { echo "Preparing FreeBSD for full OpenADK package builds" - pkg_add -r intltool lynx bison zip xkbcomp glib20 libIDL autoconf268 libxslt automake14 swig + pkg_add -r intltool lynx zip xkbcomp glib20 libIDL libxslt swig } freebsd_lux() { diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 980a7f466..2784f6c1c 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -65,10 +65,6 @@ if [[ -n $ADK_PACKAGE_LIBX11 ]]; then NEED_X11="$NEED_X11 libx11" fi -if [[ -n $ADK_PACKAGE_GPSD ]]; then - NEED_PYTHON="$NEED_PYTHON gpsd" -fi - if [[ -n $ADK_PACKAGE_LIBVPX ]]; then NEED_YASM="$NEED_YASM libvpx" fi -- cgit v1.2.3 From 3df91a14bd77540fb4a50b1b90b38e26718b17b2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Nov 2013 19:00:26 +0100 Subject: add yasm-host, remove yasm checks --- scripts/scan-pkgs.sh | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 2784f6c1c..874ee63a7 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -65,16 +65,11 @@ if [[ -n $ADK_PACKAGE_LIBX11 ]]; then NEED_X11="$NEED_X11 libx11" fi -if [[ -n $ADK_PACKAGE_LIBVPX ]]; then - NEED_YASM="$NEED_YASM libvpx" -fi - if [[ -n $ADK_COMPILE_ORBIT2 ]]; then NEED_LIBIDL="$NEED_LIBIDL orbit2" fi if [[ -n $ADK_PACKAGE_FIREFOX ]]; then - NEED_YASM="$NEED_YASM firefox" NEED_LIBIDL="$NEED_LIBIDL firefox" NEED_ZIP="$NEED_ZIP firefox" fi @@ -365,15 +360,6 @@ if [[ -n $NEED_RPM ]]; then fi fi -if [[ -n $ADK_LINUX_X86 ]]; then - if [[ -n $NEED_YASM ]]; then - if ! which yasm >/dev/null 2>&1; then - echo >&2 You need yasm to build $NEED_YASM - out=1 - fi - fi -fi - if [[ -n $NEED_XSLTPROC ]]; then if ! which xsltproc >/dev/null 2>&1; then echo >&2 You need xsltproc to build $NEED_XSLTPROC -- cgit v1.2.3 From 0b3dfd5b3eb3eafb9fc731446e0c840e791c5c27 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Nov 2013 20:04:25 +0100 Subject: refresh list of required tools --- scripts/scan-tools.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh index 0b7b1d08c..a060d24fc 100644 --- a/scripts/scan-tools.sh +++ b/scripts/scan-tools.sh @@ -112,6 +112,12 @@ if ! which gzip >/dev/null 2>&1; then out=1 fi +if ! which bzip2 >/dev/null 2>&1; then + echo You must install bzip2 to continue. + echo + out=1 +fi + if ! which lzop >/dev/null 2>&1; then echo You must install lzop to continue. echo @@ -130,12 +136,6 @@ if ! which xz >/dev/null 2>&1; then out=1 fi -if ! which bzip2 >/dev/null 2>&1; then - echo You must install bzip2 to continue. - echo - out=1 -fi - if ! which patch >/dev/null 2>&1; then echo You must install patch to continue. echo -- cgit v1.2.3 From 7b23ed2098a6fa8f2741b6b5b84310fd9bb4f872 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 14 Nov 2013 10:01:21 +0100 Subject: remove zip and libIDL dependency, firefox does not need libIDL anymore. need to fix orbit2 --- scripts/scan-pkgs.sh | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 874ee63a7..c90760b6e 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -69,17 +69,11 @@ if [[ -n $ADK_COMPILE_ORBIT2 ]]; then NEED_LIBIDL="$NEED_LIBIDL orbit2" fi -if [[ -n $ADK_PACKAGE_FIREFOX ]]; then - NEED_LIBIDL="$NEED_LIBIDL firefox" - NEED_ZIP="$NEED_ZIP firefox" -fi - if [[ -n $ADK_PACKAGE_MESALIB ]]; then NEED_MAKEDEPEND="$NEED_MAKEDEPEND mesalib" fi if [[ -n $ADK_COMPILE_OPENJDK ]]; then - NEED_ZIP="$NEED_ZIP openjdk" NEED_GXX="$NEED_GXX openjdk" NEED_XSLTPROC="$NEED_XSLTPROC openjdk" fi @@ -89,10 +83,6 @@ if [[ -n $ADK_COMPILE_OPENJDK ]]; then [ $? -ne 0 ] && out=1 fi -if [[ -n $ADK_COMPILE_OPENJDK7 ]]; then - NEED_ZIP="$NEED_ZIP openjdk7" -fi - if [[ -n $ADK_COMPILE_OPENJDK7 ]]; then cd ${TOPDIR}/jtools; bash prereq.sh [ $? -ne 0 ] && out=1 @@ -131,10 +121,6 @@ if [[ -n $ADK_PACKAGE_EGLIBC ]]; then NEED_GPERF="$NEED_GPERF eglibc" fi -if [[ -n $ADK_PACKAGE_GLIB ]]; then - NEED_GETTEXT="$NEED_GETTEXT glib" -fi - if [[ -n $ADK_PACKAGE_YAJL ]]; then NEED_RUBY="$NEED_RUBY yajl" fi @@ -160,16 +146,6 @@ if [[ -n $ADK_PACKAGE_FONT_ADOBE_75DPI ]]; then NEED_MKFONTDIR="$NEED_MKFONTDIR font-adobe-75dpi" fi -if [[ -n $NEED_GETTEXT ]]; then - if ! which gettext >/dev/null 2>&1; then - echo >&2 You need gettext to build $NEED_GETTEXT - out=1 - elif ! which msgfmt >/dev/null 2>&1; then - echo >&2 You need msgfmt to build $NEED_GETTEXT - out=1 - fi -fi - if [[ -n $NEED_LIBTIRPCDEV ]];then if ! test -f /usr/include/tirpc/netconfig.h >/dev/null; then echo >&2 You need tirpc headers to build $NEED_LIBTIRPCDEV @@ -304,20 +280,6 @@ if [[ -n $NEED_WWW ]]; then fi fi -if [[ -n $NEED_ZIP ]]; then - if ! which zip >/dev/null 2>&1; then - echo >&2 You need zip to build $NEED_ZIP - out=1 - fi -fi - -if [[ -n $NEED_LIBIDL ]]; then - if ! which libIDL-config-2 >/dev/null 2>&1; then - echo >&2 You need libIDL-config-2 to build $NEED_LIBIDL - out=1 - fi -fi - if [[ -n $NEED_SWIG ]]; then if ! which swig >/dev/null 2>&1; then echo >&2 You need swig to build $NEED_SWIG -- cgit v1.2.3 From a0deaa2aa55c42627339355fa98537693c0bfaa5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 15 Nov 2013 13:09:05 +0100 Subject: mesalib does not use makedepend anymore --- scripts/scan-pkgs.sh | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index c90760b6e..597e8f108 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -65,14 +65,6 @@ if [[ -n $ADK_PACKAGE_LIBX11 ]]; then NEED_X11="$NEED_X11 libx11" fi -if [[ -n $ADK_COMPILE_ORBIT2 ]]; then - NEED_LIBIDL="$NEED_LIBIDL orbit2" -fi - -if [[ -n $ADK_PACKAGE_MESALIB ]]; then - NEED_MAKEDEPEND="$NEED_MAKEDEPEND mesalib" -fi - if [[ -n $ADK_COMPILE_OPENJDK ]]; then NEED_GXX="$NEED_GXX openjdk" NEED_XSLTPROC="$NEED_XSLTPROC openjdk" @@ -336,13 +328,6 @@ if [[ -n $NEED_DBUSGLIB ]]; then fi fi -if [[ -n $NEED_MAKEDEPEND ]]; then - if ! which makedepend >/dev/null 2>&1; then - echo >&2 You need makedepend to build $NEED_MAKEDEPEND - out=1 - fi -fi - if [[ -n $ADK_USE_CCACHE ]]; then if ! which ccache >/dev/null 2>&1; then echo >&2 You have selected to build with ccache, but ccache could not be found. -- cgit v1.2.3 From 527558f7308e16385eadeaeffcd15117cc66e100 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 15 Nov 2013 14:23:38 +0100 Subject: convert to use ruby-host --- scripts/scan-pkgs.sh | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 597e8f108..b6c932772 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -113,10 +113,6 @@ if [[ -n $ADK_PACKAGE_EGLIBC ]]; then NEED_GPERF="$NEED_GPERF eglibc" fi -if [[ -n $ADK_PACKAGE_YAJL ]]; then - NEED_RUBY="$NEED_RUBY yajl" -fi - if [[ -n $ADK_PACKAGE_XBMC ]]; then NEED_SDLDEV="$NEED_SDLDEV xbmc" NEED_SDLIMAGEDEV="$NEED_SDLIMAGEDEV xbmc" @@ -293,13 +289,6 @@ if [[ -n $NEED_GXX ]]; then fi fi -if [[ -n $NEED_RUBY ]]; then - if ! which ruby >/dev/null 2>&1; then - echo >&2 You need ruby to build $NEED_RUBY - out=1 - fi -fi - if [[ -n $NEED_XKBCOMP ]]; then if ! which xkbcomp >/dev/null 2>&1; then echo >&2 You need xkbcomp to build $NEED_XKBCOMP -- cgit v1.2.3 From 3ea82668f719898904b8fc337934c64f8715b2c8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 16 Nov 2013 13:40:07 +0100 Subject: use host tools for libxcb --- scripts/scan-pkgs.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index b6c932772..cebff9846 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -80,10 +80,6 @@ if [[ -n $ADK_COMPILE_OPENJDK7 ]]; then [ $? -ne 0 ] && out=1 fi -if [[ -n $ADK_PACKAGE_LIBXCB ]]; then - NEED_XSLTPROC="$NEED_XSLTPROC libxcb" -fi - if [[ -n $ADK_PACKAGE_XKEYBOARD_CONFIG ]]; then NEED_XKBCOMP="$NEED_XKBCOMP xkeyboard-config" fi -- cgit v1.2.3 From d96c0b112460f4940a8a26617019fbef762ec49e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 16 Nov 2013 16:40:44 +0100 Subject: use xproto-host --- scripts/scan-pkgs.sh | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index cebff9846..5d4a80abc 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -61,10 +61,6 @@ if [[ -n $ADK_NATIVE ]];then fi fi -if [[ -n $ADK_PACKAGE_LIBX11 ]]; then - NEED_X11="$NEED_X11 libx11" -fi - if [[ -n $ADK_COMPILE_OPENJDK ]]; then NEED_GXX="$NEED_GXX openjdk" NEED_XSLTPROC="$NEED_XSLTPROC openjdk" @@ -209,15 +205,6 @@ if [[ -n $NEED_X11DEV ]];then fi fi -if [[ -n $NEED_X11 ]];then - if ! test -f /usr/include/X11/X.h >/dev/null; then - if ! test -f /usr/local/include/X11/X.h >/dev/null; then - echo >&2 You need X11 headers to build $NEED_X11 - out=1 - fi - fi -fi - if [[ -n $NEED_XEXTDEV ]];then if ! test -f /usr/include/X11/extensions/XShm.h >/dev/null; then echo >&2 You need X11 extensions headers to build $NEED_XEXTDEV -- cgit v1.2.3