summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
2017-12-03vars/build.vars:*_minipix: fixed.Lucio Andrés Illanes Albornoz (arab, vxp)2-29/+33
patches/{bash,bzip2,coreutils}_minipix-*.patch: linked. subr/ex_pkg_env.subr, var/env.vars: replaces flavours mechanism w/ non-recursive per-package ${PKG_INHERIT_FROM}. subr/pkg_configure_patch.subr: remove ${PKG_NAME_PARENT} bits. vars/{bash,xz}_minipix.vars: added/linked.
2017-12-03etc/build.usage: update.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): reimplement -r ALL.
2017-12-03subr/pkg_install_libs.subr:pkg_install_libs(): remove stray xtrace barrier.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+0
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)35-729/+667
2017-12-02vars/vim.vars: copy config.cache into src/auto/.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+4
subr/pkg_configure_autotools.subr: correctly output config.cache.
2017-11-29subr/ex_{rtl,pkg_steps}.subr: simplify ex_lfilter().Lucio Andrés Illanes Albornoz (arab, vxp)2-14/+24
2017-11-29subr/ex_setup_subdirs.subr, vars/env.vars: fix -c (clean ${PREFIX}.)Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+3
2017-11-29build.sh: always print std{out,err} logs given ${ARG_XTRACE} (-x.)Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+5
etc/build.usage: updated. subr/ex_pkg_dispatch.subr: set -o xtrace within child process given ${ARG_XTRACE} (-x.) subr/ex_setup_args.subr: set ${ARG_VERBOSE2} (-vv) given ${ARG_XTRACE} (-x.)
2017-11-29subr/pkg_configure_autotools.subr: create ${PKG_BUILD_DIR}/config.cache from ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+6
${PKG_CONFIG_CACHE{,_EXTRA}}. etc/config.cache, vars/*.vars: split into vars/*.vars.
2017-11-28vars/build.vars, etc/build.usage: split build targets.Lucio Andrés Illanes Albornoz (arab, vxp)1-8/+3
subr/pkg_install.subr, vars/env.vars: removes ${PKG_PREFIX_EXTRA}. etc/config.cache: adds util_linux.
2017-11-28subr/ex_setup_subdirs.subr: create ${PREFIX}/share/pkgconfig -> ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
../lib/pkgconfig link.
2017-11-28subr/pkg_install_subdirs.subr: create ${PKG_DESTDIR}/share/pkgconfig -> ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-11/+13
../lib/pkgconfig link.
2017-11-28etc/config.cache: adds git and pcre <- {lighttpd,smallbasic}.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
subr/pkg_configure_autotools.subr: substitute %PREFIX% within installed config.cache.
2017-11-28vars/build.vars: remove ${ENV_VARS_EXTRA} hacks in favour of ${PKG{,_}CONFIG}.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+5
subr/ex_pkg_env.subr: export ${PKG{,_}CONFIG} and ${PKG_CONFIG_LIBDIR} during non-host builds.
2017-11-28subr/pkg_install_libs.subr:pkgp_install_lib_link(): prevent recursive link.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2017-11-27subr/ex_{pkg_env.rtl}.subr: fix ${PKG_ENV_VARS_EXTRA} processing.Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+7
2017-11-27subr/pkg_install_libs.subr:pkgp_install_lib_check(): fixed.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+5
2017-11-23subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): fix potential race condition.Lucio Andrés Illanes Albornoz1-13/+14
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): eliminate redundant 2nd FIFO.
2017-11-22build.sh:-R: always print/don't print std{out,err} logs for failed packages.Lucio Andrés Illanes Albornoz (arab, vxp)3-14/+12
build.sh:-vv: always print/don't print stdout logs for successfully built packages. subr/ex_rtl_fileop.subr:ex_build_fileop(): log at vvvo (-vvv.) subr/ex_rtl_log.subr, vars/env.vars: removes [vw]arn, separates info & {vnfo,vvfo,vvvo}. var/env.vars:${CLEAR_ENV_VARS_EXCEPT}: adds ARG_VERBOSE[23].
2017-11-22build.sh, etc/build.usage, subr/ex_setup_args.subr: adds -vvv and -vv.Lucio Andrés Illanes Albornoz (arab, vxp)2-1/+17
subr/ex_rtl_log.subr:ex_log_msg(): adds vvvo and vvfo.
2017-11-22subr/ex_pkg_{dispatch,env}.subr: move ${PKG_DISABLED} check.Lucio Andrés Illanes Albornoz (arab, vxp)2-14/+16
2017-11-22subr/ex_pkg_{dispatch,steps}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)4-128/+144
subr/ex_pkg_{env,vars}.subr: moved checks.
2017-11-22build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic.Lucio Andrés Illanes Albornoz (arab, vxp)3-54/+78
subr/ex_pkg_dispatch.subr: dispatch background jobs w/ redirected std{err,out} & FIFO. subr/ex_pkg_state.subr:ex_pkg_state_init(): trap(1) signals to abort build. vars/{gcc,musl}.vars: don't exit(1) from within package subroutine.
2017-11-22subr/pkg_configure_patch.subr: apply ${PKG_NAME_PARENT} patches whenever ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+8
applicable.
2017-11-22subr/{ex_setup,pkg_install}_subdirs.subr: create share/{doc,info,man}/ dirs ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-1/+12
& symlinks.
2017-11-22subr/ex_pkg_env.subr: explicitly export ${PKG_CONFIG} when building non-host ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+6
packages.
2017-11-22subr/ex_pkg_dispatch.subr: correctly check for finished package status.Lucio Andrés Illanes Albornoz (arab, vxp)1-51/+53
2017-11-22patches/*, subr/pkg_configure_patch{,_pre}.subr: only match against package ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-19/+9
{name,version}. subr/pkg_configure_patch.subr: remove `_host' package name postfix when searching for chainport patches. subr/ex_pkg_env.subr: fix typo.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)30-322/+309
2017-11-22vars/build.vars:{chainport,install_strip_host,dist:*}: don't log build vars.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
vars/env.vars, subr/pkg_setup_env.subr: adds ${PKG_NO_LOG_VARS}.
2017-11-22subr/pkg_setup_dispatch.subr: set ${PKG_NAME_PARENT}.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-11-21subr/pkg_install_libs.subr:pkgp_install_lib_check(): fix typo in glob.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21pkg_setup_dispatch.subr: prevent infinite loop.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21subr/pkg_install_libs.subr:pkgp_install_lib_check(): fix typo in glob.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-11-21vars/glib{,_host}.vars: force -l{ffi,pcre,z} into pkg-config(1) files.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/pkg_install_pkgconfig.subr: explicitly pass -i"" to sed(1).
2017-11-21subr/pkg_install_subdirs.subr: create ${PKG_DESTDIR}/lib64 -> lib symlink.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2017-11-21subr/pre_subdirs.subr: create ${PREFIX}/lib64 -> lib symlink.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2017-11-21vars/libfirm.vars: correctly install to & reference ${PKG_DESTDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+8
subr/pkg_install_subdirs.subr: fix ${PKG_DESTDIR} reference.
2017-11-21subr/pkg_*.subr, vars/{apr,git}.vars: supply & reference ${PKG_DESTDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)8-19/+22
2017-11-21build.sh, subr/{build,pre_state}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)2-25/+31
2017-11-21{build.sh,subr/pre_setup_args.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+68
subr/pre_setup_env.subr: set -o noglob.
2017-11-21subr/pkg_setup_dispatch.subr: fix permissions.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+0
2017-11-21{build.sh,subr/pkg_setup_dispatch.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+67
2017-11-21subr/pkg_setup_distclean.subr: rm(1) ${PKG_BASE_DIR} on-demand.Lucio Andrés Illanes Albornoz (arab, vxp)3-2/+22
etc/build.usage: updated. subr/pkg_setup_{env,subdirs}.subr: split {cd,mkdir}(1) sequence into setup_env_subdirs. vars/env.vars: adds setup_distclean:variant & setup_subdirs:invariant build steps.
2017-11-21vars/build.vars: wake up disabled packages.Lucio Andrés Illanes Albornoz (arab, vxp)2-7/+23
vars/env.vars: fix ${DEFAULT_BUILD_CPUS} reference. vars/{gcc,libfirm,psxstub}.vars: fix ${PKG_MAKEFLAGS_BUILD} reference. vars/git.vars:pkg_git_install_post(): process files in destdir. subr/pkg_install_libs.subr:pkgp_install_lib_link(): ln(1) w/ target's basename. subr/pkg_install_libs.subr:pkg_install_libs(): sanity-check filenames. subr/pkg_setup_env.subr:pkg_setup_env(): rm(1) ${PKG_BASE_DIR} during -r. etc/build.usage: updated.
2017-11-21subr/pkg_setup_env.subr:pkg_setup_env(): correctly check for presence of ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
package build subroutine. vars/dist_{etc,digest,tarballs}.vars: renamed from vars/*.subr & fixed.
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)33-656/+404
subr/mode_check_updates.subr: seperated into check_updates.sh. subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.
2017-11-20subr/pkg_{autoconf,configure,patch}.subr: reference ${PKG_BASE_DIR} instead ↵Lucio Andrés Illanes Albornoz (arab, vxp)14-87/+84
of ${WORKDIR}. subr/pkg_build_dir.subr: {build,install} packages nested within ${PKG_BUILD_DIR}/. subr/pkg_distclean.subr: removed from repository. subr/pkg_{extract,fetch}.subr: {extract,fetch} within ${PKG_BASE_DIR}. subr/pkg_install.subr: install to ../destdir to facilitate post-installation processing. subr/pkg_setup_env.subr: set & create ${PKG_BASE_DIR}. subr/pre_subdirs.subr: always create ${PREFIX}/bin. vars/build.vars: consistently use ${PKG_{PREFIX,MAKE_INSTALL_VNAME,MAKEFLAGS_INSTALL}}. vars/env.vars, *: cleanup.
2017-11-20vars/{build,env}.vars: diet, pt. II.Lucio Andrés Illanes Albornoz (arab, vxp)12-107/+148
vars/build.vars: install w/ `DESTDIR=<prefix> PREFIX= prefix=' by default. vars/build.vars:cmake: build w/ -g0 -O2. vars/cmake.vars: build using cmake_host. vars/pkgconf_host.vars: remove & don't install ${PREFIX}/bin/pkg-config link to avoid confusing host packages. vars/{apr_util,chainport}.vars: replaced w/ corresponding ${PKG_BUILD_STEPS}. patches/perl-5.22.1.local.patch: pass -L. -lperl when linking. patches/smallbasic.local.patch: don't call pcre-config. subr/pkg_autoconf.subr, vars/{lib{caca,udns},toilet}.vars: always install config.sub after bootstrap. subr/pkg_disabled.subr: always silently finish disabled packages. subr/pkg_setup_{env,vars}.subr: split. subr/pkg_{build,install}.subr: always pass LIBTOOL=${PKG_SLIBTOOL:=slibtool}. subr/pkg_{{build,work}_dir,extract,setup_env}.subr: infer ${PKG_BUILD_DIR} from ${PKG_SUBDIR} given the absence of configure{,.{ac,in}}.
2017-11-19vars/build.vars, subr/pkg_setup_env.subr: automatically infer ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+8
${PKG_{SUB,BUILD_}DIR} from ${PKG_URLS_GIT}.