summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
2018-06-07subr/pkg_install.subr: derive pkglist.${PKG_BUILD_TYPE} items from ↵Lucio Andrés Illanes Albornoz1-1/+4
${PKG_BASE_DIR} instead of ${PKG_NAME} (via midipix.)
2018-05-31subr/build_init.subr, etc/build.usage: additionally source ↵Lucio Andrés Illanes Albornoz1-1/+1
${HOME}/.midipix_build.vars.
2018-05-21subr/pkg_install.subr:pkg_install(): create & append `${PKG_NAME}\n' to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+4
${PREFIX}/pkglist.${PKG_BUILD_TYPE} (via midipix.)
2018-05-14subr/pkg_install_rpm.subr: prefer ${PKG_URL} over ${PKG_URLS_GIT}, don't ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+5
accept unknown versions.
2018-05-14subr/build_init.subr, vars/build.vars: move LD_LIBRARY_PATH+=${PREFIX}/bin ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
export.
2018-05-14subr/pkg_install_rpm.subr: split from subr/pkg_install.subr.Lucio Andrés Illanes Albornoz (arab, vxp)2-37/+61
subr/pkg_install_rpm.subr: correctly determine ${PKG_VERSION} and ${PKG_URL}. vars/env.vars:${DEFAULT_BUILD_STEPS}: adds install_rpm after install.
2018-05-14subr/pkg_install.subr: fixup ${PKG_VERSION} for rpmbuild(8).Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+9
2018-05-14subr/pkg_install.subr: additionally install rpmbuild(8) spec files.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2018-05-14subr/pkg_install.subr: fix %install script & %files list.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+5
2018-05-14subr/pkg_install.subr: default to `Unknown' if ${PKG_URLS_GIT} is unset or ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
empty.
2018-05-14subr/pkg_install.subr: default to ${PKG_URLS_GIT} if ${PKG_URL} is unset or ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
empty.
2018-05-14subr/pkg_install.subr: default to `Unknown' if ${PKG_VERSION} is unset or empty.Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+6
2018-05-14subr/pkg_install.subr: only build RPM when rpmbuild(8) is available.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
2018-05-14Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm.Lucio Andrés Illanes Albornoz (arab, vxp)3-0/+32
2018-05-09subr/build_init.subr:build_init(): set permissive umask (022.)Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2018-05-09subr/pkg_install.subr: correctly check for {absence,presence} of [ugo]+x.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
2018-05-09pkg_install.subr: set permission bits 0{644,755} on files and 0755 on ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
directories in ${PKG_DESTDIR}, resp.
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz23-39/+39
2018-04-05subr/build_{checks,init}.subr: move --as-needed exit check in order to ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-6/+6
prevent clobbering build.log.
2018-04-01subr/build_checks.subr: don't build given --as-needed and no new commits to ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-0/+7
midipix_build since the last build. etc/build.usage, subr/build_args.subr: adds --as-needed. vars/build.vars:dist_target: adds dist_gitref. vars/dist_gitref.vars: print git-rev-parse(1) HEAD to ${PREFIX}/build.gitref.
2018-02-25Fixes transient mintty build failures (via katex.)Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+3
subr/ex_rtl_fetch.subr:exp_rtl_fetch_url_git(): correctly handle Git URL branch suffixes.
2018-01-27subr/ex_rtl_fetch.subr:ex_rtl_fetch_url_wget(): clarify hash mismatch error ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
message.
2017-12-22subr/pkg_install.subr: force directory and non-executable/executable file ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+8
permissions bits {0700,0600,0700}, resp.
2017-12-22build.sh:fail_pkg: terminate pending builds given build failure, -P, and ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-5/+6
absence of -R. etc/build.usage: clarify the consequences of parallelising builds to guide the perplexed and to confuse the people of the tribe of certainty into enlightenment (or not?) subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): moved traps. subr/ex_pkg_exec.subr:ex_pkg_exec(): forcibly pkill(1) child processes on failure.
2017-12-22build.sh, subr/build_args.subr, etc/build.usage: remove meta-targets & fix ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
target.. argument spec(s). vars/build.vars: removes meta-targets, adds ${ALL_TARGETS}.
2017-12-22subr/ex_rtl_install.subr: prepend ${_prefix} to source pathname as well.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
vars/build.vars:dash_minipix: copy bin/sh instead of symlinking.
2017-12-15subr/build_init.subr:build_init(): don't unset ${DEFAULT_...} environment ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
variables. vars/midipix.vars:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: remove implied environment variable names.
2017-12-15subr/build_init.subr:build_init(): don't unset ${PKG_...} environment variables.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+9
2017-12-14vars/build.vars:apr{,_util}: explicitly mark dependency.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
subr/pkg_clean.subr: defer cleaning packages w/ dependencies. vars/env.vars:${DEFAULT_BUILD_VARS}: adds DEPS_{BASE,PARENT}.
2017-12-10subr/pkg_clean.subr: correctly rm(1) ${PKG_BASE_DIR}/${PKG_SUBDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-10subr/build_init.subr:build_init(): always rm(1) ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}.
2017-12-10etc/build.usage, subr/build_args.subr: adds -C build[,dest[,src]] (clean ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-3/+33
subdirs) and -p (create package tarballs). subr/pkg_clean.subr: given -C, clean build, dest, and/or src. subr/pkg_install.subr: given -p, create gzip(1)-compressed package tarball at ${PKG_BASE_DIR}/${PKG_NAME}.tgz. vars/env.vars:${DEFAULT_BUILD_STEPS}: adds `clean' post-install.
2017-12-06subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): don't launch new jobs if at ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-10/+12
least one package failed.
2017-12-06vars/build.vars:host_packages_deps: adds python3_host v3.5.1 & ${PKG_PYTHON}.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+4
vars/env.vars, subr/pkg_configure.subr: process ${PKG_PYTHON}. vars/python3_host.vars: create ${PREFIX}/bin/python ${LD_LIBRARY_PATH} wrapper.
2017-12-06subr/pkg_install.subr, vars/dist_{etc,minipix_dist}.vars: explicitly pass ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
--overwrite to tar(1).
2017-12-05subr/build_init.subr: fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-05subr/build_init.subr: touch ${DEFAULT_BUILD_LOG_FNAME} and set ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-16/+31
${BUILD_IS_PARENT=1}. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): set ${BUILD_IS_PARENT=0} within child process context. subr/ex_rtl_log.subr:exp_rtl_log_printf(): append message sans attributes to ${DEFAULT_BUILD_LOG_FNAME} given ${BUILD_IS_PARENT}.
2017-12-05build.sh: log step_pkg in blue at -v[v[v]].Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
subr/ex_rtl_log.subr, vars/env.vars: adds `vucc' & ${DEFAULT_LOG_MSG_VUCC_COLOUR}.
2017-12-05etc/build.usage: adds -P [jobs].Lucio Andrés Illanes Albornoz (arab, vxp)3-19/+34
subr/build_args.subr: adds `optarg' arg type & ARG_PARALLEL:optarg:-P:auto. subr/build_init.subr: default ${ARG_PARALLEL} ([jobs]) to ${DEFAULT_BUILD_CPUS}. subr/ex_pkg_dispatch.subr: honour ${ARG_PARALLEL}, defaulting to no parallelisation.
2017-12-05subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): dispatch ${_njobs_max} jobs ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+10
prior to entering FIFO loop.
2017-12-05subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): open FIFO in read/write mode to ↵Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+4
prevent EOF-related race conditions. subr/ex_pkg_exec.subr:ex_pkg_exec(): always dispatch finish for successfully built packages.
2017-12-05subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): correctly handle failed package ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+0
builds.
2017-12-05subr/ex_pkg_dispatch.subr: maintain the count of jobs at its maximum at all ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-40/+56
times, whenever applicable.
2017-12-05vars/build.vars:{native_packages_*,dist_minipix}: enables parallelisation.Lucio Andrés Illanes Albornoz (arab, vxp)1-39/+52
vars/env.vars:${DEFAULT_BUILD_VARS}: adds ${PKG_PARALLELISE}. subr/ex_pkg_dispatch.subr: implements parallelisation.
2017-12-04vars/build.vars: replaces dist_minipix_{libs,links} w/ dist_minipix.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+10
vars/dist_minipix.vars: install binaries, libraries, and terminfo into ${PREFIX}/minipix_dist/bin. subr/ex_rtl_fileop.subr: adds cp_follow.
2017-12-04subr/{ex_{pkg_{env,exec},rtl_fetch},pkg_install_pkgconfig}.subr: remove ↵Lucio Andrés Illanes Albornoz (arab, vxp)4-4/+4
trailing SP/VT.
2017-12-04vars/build.vars:{cparser,libfirm}: enabled.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
subr/ex_pkg_exec.subr:exp_pkg_exec_pre(): always mkdir ${PKG_{BUILD_,DEST}DIR}.
2017-12-03subr/*.subr: fix header legends.Lucio Andrés Illanes Albornoz (arab, vxp)9-7/+19
subr/ex_pkg_dispatch.subr: add warning to header concerning set -o errexit.
2017-12-03subr/pkg_install_strip.subr: remove stray set -o errexit barrier.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+0
2017-12-03subr/ex_rtl.subr:-ex_rtl_try_run(): remove explicit exit & respect set -o ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
errexit constraints.