summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
2020-03-02subr/pkg_install.subr: serialise simultaneous installation to ${PKG_PREFIX} ↵Lucio Andrés Illanes Albornoz1-0/+14
w/ flock(1).
2020-03-02build.sh:build(): iteratively print list of unknown packages, if any.Lucio Andrés Illanes Albornoz3-5/+5
subr/build_init.subr:buildp_init_args(): correctly parse -r package[,...]:step[,...]. subr/ex_pkg{,_dispatch}.subr: minor cleanup. subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): don't reset ${EX_PKG_DISPATCH_UNKNOWN} on entry. subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): correctly check ${_pkg_names} for ${_pkg_name} when updating ${EX_PKG_DISPATCH_UNKNOWN}.
2020-03-02subr/pkg_install.subr: remove -D pkg remnants.Lucio Andrés Illanes Albornoz1-3/+0
2020-03-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz18-81/+169
dist/dist_digest.dist: removes obsolete dist file. etc/{build.usage,README.md}: updated. groups/000.host_tools.group:{autoconf,automake,gettext_tiny,install_strip,libtool,m4}_host: moved from groups/010.host_deps.group. groups/221.native_packages_dev.group:lua: moved from groups/231.native_packages_etc.group. groups/221.native_packages_dev.group:lua:${PKG_FORCE_AUTORECONF}: set. groups/231.native_packages_etc.group:{mlogin,tdnf}:${PKG_FORCE_AUTORECONF}: set. groups/241.native_packages_inet.group:nullmailer:${PKG_FORCE_AUTORECONF}: set. groups/251.native_packages_lib.group:lib{asr,gpg_error}:${PKG_FORCE_AUTORECONF}: set. midipix.env, etc/README.md, subr/pkg_configure_autotools.subr: adds FORCE_NO_AUTORECONF. subr/rtl_fileop.subr: adds ch{mod,own} fileops. vars/{check_updates,jamvm,lib{asr,gpg_error},lua,mlogin,tdnf}.vars: removes obsolete vars file.
2020-03-01build.sh:buildp_ast(): reset package state of in-progress packages at EXIT ↵Lucio Andrés Illanes Albornoz1-10/+10
signal time. subr/ex_pkg_dispatch.subr: convert ${EXP_PKG_DISPATCH_WAIT} to unscoped global ${EX_PKG_DISPATCH_WAIT}.
2020-02-29subr/build_init.subr:buildp_init_env(): don't use unavailable rtl_lconcat() ↵Lucio Andrés Illanes Albornoz1-1/+1
(via Redfoxmoon.)
2020-02-29subr/ex_pkg_env.subr:exp_pkg_env_set(): reduce hard-wiring.Lucio Andrés Illanes Albornoz1-7/+3
2020-02-29midipix.env: renamed from vars/env.vars.Lucio Andrés Illanes Albornoz1-1/+1
subr/build_init.subr:buildp_init_vars(): source ./midipix.env.
2020-02-29Refactors dist packages into groups/999.dist.group and dist/dist_*.dist.Lucio Andrés Illanes Albornoz2-2/+8
build.sh:buildp_dispatch_pkg_state(): fix `missing_pkg' log message. subr/ex_pkg_env.subr:exp_pkg_env_set(): source from "dist/${_pkg_name}.dist" given `dist' group.
2020-02-29build.sh:buildp_ast(): correctly call rtl_kill_tree().Lucio Andrés Illanes Albornoz1-6/+10
subr/rtl_complex.subr:rtl_kill_tree(): iteratively & recursively kill tree of processes excluding ${$}.
2020-02-29build.sh:buildp_dispatch{,_pkg_state}(): forward `msg_pkg' messages to ↵Lucio Andrés Illanes Albornoz1-0/+2
stdout given -v. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_group() forward `msg_pkg' to ${_dispatch_fn}. vars/invariants_zipdist.vars: log progress w/ `msg_pkg' messages in addition to rtl_log_msg().
2020-02-29subr/build_init.subr:buildp_init_vars(): reject unknown groups.Lucio Andrés Illanes Albornoz1-9/+17
2020-02-29groups/dev_packages.group:${GROUP_AUTO}: set to 0.Lucio Andrés Illanes Albornoz1-1/+8
subr/build_init.subr:buildp_init_vars(): don't include groups in ${_default_build_groups} if ${GROUP_AUTO} is set to 0.
2020-02-29build.sh:buildp_dispatch(): silence command(1) output.Lucio Andrés Illanes Albornoz1-2/+5
build.sh:build(): turn ${_build_date_start} into scoped global ${BUILD_DATE_START} due to vars/invariants_zipdist.vars. subr/ex_pkg_exec.subr:ex_pkg_exec(): correctly set ${_rc} from pkg_${_pkg_name}_all()'s return status. subr/ex_pkg_exec.subr:ex_pkg_exec(): only set `finish' package build state given zero ${_rc} and ${_restart_at}.
2020-02-26subr/pkg_{fetch_extract,install_make}.subr, vars/env.vars: minor cleanup.Lucio Andrés Illanes Albornoz2-6/+1
2020-02-26build.sh:buildp_dispatch_group_state(): fix type signature.Lucio Andrés Illanes Albornoz1-4/+4
subr/build_init.subr:buildp_init_vars(): fix ${_default_build_groups} generation.
2020-02-26Implements group-group dependencies.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-26General cleanup, pt. II.Lucio Andrés Illanes Albornoz29-480/+589
2020-02-25build.sh: reintroduce {disabled,skipped}_pkg messages at -v[v[v]].Lucio Andrés Illanes Albornoz2-10/+10
build.sh, subr/build_init.subr: minor cleanup. subr/ex_pkg_dispatch.subr:exp_pkg_expand_packages(): call ${_dispatch_fn} w/ {disabled,skipped}_pkg for {disabled,skipped} packages. subr/ex_pkg_dispatch.subr:exp_pkg_expand_packages(): don't mutate ${EX_PKG_NSKIPPED}. subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): don't set ${EX_PKG_NSKIPPED}.
2020-02-25subr/ex_pkg_dispatch.subr:exp_pkg_check_depends(): apply ex_rtl_uniq() to ↵Lucio Andrés Illanes Albornoz2-22/+16
expanded package list. subr/ex_{pkg_dispatch,rtl_list}.subr: splits ex_rtl_lunfold_depends().
2020-02-25subr/ex_rtl_string.subr: explicitly expand [a-z] and [A-Z] to mitigate ↵Lucio Andrés Illanes Albornoz1-8/+8
locale-dependent case issues.
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz30-597/+824
2020-02-21subr/ex_rtl_complex.subr:ex_rtl_kill_tree(): join line.Lucio Andrés Illanes Albornoz1-2/+1
2020-02-21etc/README: updates build-time dependencies.Lucio Andrés Illanes Albornoz1-1/+1
subr/build_init.subr:buildp_init_prereqs(): redirect which(1) stderr to /dev/null.
2020-02-20subr/build_init.subr:buildp_init_prereqs(): adds perl (required by ↵Lucio Andrés Illanes Albornoz1-3/+3
intltool_host.) etc/README: updated.
2020-02-20subr/build_init.subr:buildp_init_prereqs(): updates prerequisite commands list.Lucio Andrés Illanes Albornoz1-5/+5
2020-02-20subr/build_init.subr:buildp_init_prereqs(): print missing prerequisite ↵Lucio Andrés Illanes Albornoz1-4/+9
package(s).
2020-02-15subr/build_init.subr:buildp_init_prereqs(): add flock to list of ↵Lucio Andrés Illanes Albornoz1-5/+5
prerequisite commands. etc/README: updated.
2020-02-15subr/build_init.subr:buildp_init_prereqs(): remove openssl from & add ↵Lucio Andrés Illanes Albornoz2-4/+4
sha256sum to list of prerequisite commands. subr/ex_rtl_fetch.subr:ex_rtl_fetch_url_wget(): use sha256sum(1) instead of openssl(1) w/ dgst -sha256. etc/README: updated.
2020-02-15subr/ex_rtl_fetch.subr:exp_rtl_fetch_url_{git,wget}(): serialise ↵Lucio Andrés Illanes Albornoz1-20/+39
simultaneous execution w/ flock(1).
2020-02-15subr/build_init.subr:buildp_init_getopts(): split -p jobs from -P due to ↵Lucio Andrés Illanes Albornoz1-3/+3
getopts(1) constraints.
2020-02-15subr/build_init.subr:buildp_init_getopts(): split -p jobs from -P due to ↵Lucio Andrés Illanes Albornoz1-20/+23
getopts(1) constraints. etc/build.usage: updated.
2020-02-15subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_{group,package}(): correctly ↵Lucio Andrés Illanes Albornoz1-0/+1
register {disabled,skipped} packages in ${_pkgs_found}.
2020-02-14subr/build_init.subr:buildp_init_vars(): set ${DEFAULT_BUILD_CPUS} before ↵Lucio Andrés Illanes Albornoz1-7/+7
sourcing vars.
2020-02-14groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz1-4/+8
subr/ex_pkg_dispatch.subr: fix -r *[ ... ].
2020-02-14groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz1-4/+3
subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_{group,package}(): correctly register {disabled,skipped} packages in ${_pkgs_found}.
2020-02-14subr/build_init.subr:buildp_init_env(): default to -P jobs count to ↵Lucio Andrés Illanes Albornoz1-10/+19
${DEFAULT_BUILD_CPUS}/2 or 1. subr/build_init.subr:buildp_init_env(): reject invalid -P job counts. etc/build.usage: updated.
2020-02-14subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_package(): correctly reference ↵Lucio Andrés Illanes Albornoz1-1/+1
${ARG_RESTART_RECURSIVE}.
2020-02-14groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz1-1/+1
subr/ex_pkg_dispatch.subr:exp_pkg_check_depends(): forcibly rebuild all dependencies w/ -r **[ ...] vs. -r *[ ... ].
2020-02-14build.sh: minor cleanup.Lucio Andrés Illanes Albornoz2-11/+17
groups/2*.native_packages_*.group: adds dependencies. subr/{build_init,ex_pkg_dispatch}.subr, etc/build.usage: forcibly rebuild all dependencies w/ -r **[ ...] vs. -r *[ ... ]. subr/ex_pkg_dispatch.subr:exp_pkg_get_packages(): log message before and after resolving dependencies.
2020-02-14groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz3-14/+40
subr/build_init.subr:buildp_init_getopts(): reject invalid build group names. subr/build_init.subr:buildp_init_prereqs(): insist on GNU sed. subr/build_init.subr:build_fini(): fixed. subr/ex_rtl_complex.subr:ex_rtl_kill_tree(): restored. subr/ex_rtl_log.subr: include fallback ${DEFAULT_LOG_MSG_*_COLOUR}s.
2020-02-14etc/README: updated.Lucio Andrés Illanes Albornoz4-219/+297
groups/231.native_packages_etc.group:apr_util:${PKG_MAKEFLAGS_BUILD}: build w/ -j1. subr/{build_{args,init},ex_rtl{,_complex}}.subr: minor cleanup. subr/{build_args,ex_rtl}.subr: purge leading whitespaces.
2020-02-13subr/build_args.subr: reimplemented using getopts(1).Lucio Andrés Illanes Albornoz1-64/+28
etc/build.usage: updated. groups/2*.native_packages_*.group: adds dependencies.
2020-02-13subr/build_args.subr: temporarily return to original getopts(1)-based ↵Lucio Andrés Illanes Albornoz1-17/+56
implementation. etc/build.usage: updated.
2020-02-13build.sh: change working directory to "$(dirname "${0}")" at startup.Lucio Andrés Illanes Albornoz2-67/+27
etc/build.usage: updated. groups/2*.native_packages_*.group: adds dependencies. vars/env.vars, groups/{010.host_deps,120.native_runtime}.group: removes ${PKG_SRC_TARBALL_DISABLE}. groups/999.invariants.group b, vars/{env,invariants_tarballs}.vars: removes tarball generation. subr/build_args.subr: reimplemented using getopts(1). subr/{build_args,ex_pkg_dispatch}.subr: don't inhibit dependency processing if ${ARG_RESTART_RECURSIVE} is set.
2020-02-13groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz1-0/+3
groups/231.native_packages_etc.group:apr:${PKG_NO_CLEAN}: don't clean due to reverse dependency on apr_util. groups/231.native_packages_etc.group:apr_util:${PKG_ENV_VARS_EXTRA}: build w/ LDADD_dbd_sqlite3=-lsqlite3 -lapr-1 -L.libs -laprutil-1. patches/apr_util-1.6.1.local.patch: removes obsolete patch. subr/pkg_clean.subr, vars/env.vars: don't clean if ${PKG_NO_CLEAN} is set.
2020-02-12groups/2*.native_packages{,cmdline,dev,etc,inet,lib,x11}.group: ↵Lucio Andrés Illanes Albornoz1-1/+3
merged/split, adds dependencies. groups/: updates layout. etc/build.usage: updated. subr/build_init.subr:build_init(): only include actual groups in ${GROUPS_DEFAULT}.
2020-02-12{build.sh,subr/ex_pkg_dispatch.subr}: prepend {disabled,skipped,start}_pkg ↵Lucio Andrés Illanes Albornoz1-11/+16
messages w/ {current,maximum} count of packages in build group.
2020-02-12groups/*.group: split from vars/build.vars.Lucio Andrés Illanes Albornoz1-2/+8
subr/build_init.subr: source groups/*.group & set ${GROUPS_DEFAULT}. vars/midipix.vars: merged into vars/env.vars.
2020-02-12subr/ex_pkg_dispatch.subr: fix typo.Lucio Andrés Illanes Albornoz1-3/+3