summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg_env.subr
AgeCommit message (Collapse)AuthorFilesLines
2021-04-16subr/ex_pkg_env.subr:ex_pkg_env_sofort(): remove stray backslash (via ↵Lucio Andrés Illanes Albornoz1-1/+1
Redfoxmoon.)
2021-04-11Integrate w/ sofort's ${NATIVE_{C,CXX,LD}FLAGS}.Lucio Andrés Illanes Albornoz1-1/+44
groups/{000.host_tools,010.host_deps,200.native_packages}.group:${*_SOFORT_NATIVE_C{,XX}FLAGS}: build w/ -I${PREFIX}/include. groups/010.host_deps.group:python[23]_host:${PKG_ENV_VARS_EXTRA}: updated. groups/010.host_deps.group:python[23]_host:${PKG_SOFORT_FORCE}: force calling ex_pkg_env_sofort(). groups/010.host_deps.group:python3_host:${PKG_SOFORT_NATIVE_CC}: build w/ ${DEFAULT_HOST_CC} (via midipix.) groups/221.native_packages_dev.group:python[23]:${PKG_SOFORT_FORCE}: force calling ex_pkg_env_sofort(). groups/221.native_packages_dev.group:${PKG_{ENV_VARS_EXTRA,SOFORT_NATIVE_CFLAGS_EXTRA}}: updated. midipix.env:${DEFAULT_BUILD_VARS}: adds SOFORT_NATIVE_{{CC,CXX,LD},{C,CXX,LD}FLAGS{,_EXTRA}}. patches/python3_host-3.6.3.local.patch: removes obsolete patch. subr/ex_pkg_env.subr:ex_pkg_env_sofort(): initial implementation. subr/ex_pkg_env.subr:ex_pkg_env(): call ex_pkg_env_sofort() initially. subr/pkg_configure_autotools.subr: call ex_pkg_env_sofort().
2021-04-06pkgtool.sh:pkgtoolp_mirror_fetch(): call pkg_fetch_download_clean_dlcache() ↵Lucio Andrés Illanes Albornoz1-1/+4
post-{archive,Git} mirroring. pkgtool.sh:pkgtoolp_mirror_fetch(): mirror both archive as well as Git URL(s). subr/pkg_configure_patch.subr:pkg_configure_patch(): apply patches from within ${PKG_BASE_DIR} given both ${PKG_FNAME} and ${PKG_URLS_GIT}. subr.rtl/rtl_fetch.subr:rtl_fetch_mirror_urls_git(): ignore all but last component in ${_subdir}. subr.rtl/rtl_fetch.subr:rtl_fetch_mirror_urls_git(): create prerequisite directories. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): ignore all but last component in ${_subdir} wrt. ${_cache_dlname}. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): create prerequisite directories wrt. ${_tgtdir}. subr/ex_pkg_env.subr:exp_pkg_env_defaults(): reject absence of ${PKG_SUBDIR} given both ${PKG_FNAME} and ${PKG_URLS_GIT}. subr/pkg_fetch_download.subr:pkg_fetch_download_clean_dlcache(): initial implementation. subr/pkg_fetch_download.subr:pkg_fetch_download(): call pkg_fetch_download_clean_dlcache() post-{archive,Git} download.
2020-05-15Optionally install ${PKG_DESTDIR_HOST} into ${PREFIX}.Lucio Andrés Illanes Albornoz1-0/+1
vars/libxslt.vars:pkg_libxslt_install_make_post(): install ${PREFIX}/bin/xslt-config into ${PKG_DESTDIR_HOST}/bin.
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-2/+2
etc/{{build,pkgtool}.usage,README.md}: updated.
2020-04-29subr/ex_pkg_env.subr:exp_pkg_env_set(): additionally set from package name ↵Lucio Andrés Illanes Albornoz1-2/+2
prefix plus {debug,release} build.
2020-03-26subr/ex_pkg_env.subr:exp_pkg_env_set(): correctly join NL-separated package ↵Lucio Andrés Illanes Albornoz1-7/+7
variable names before passing to rtl_set_vars().
2020-03-24subr/{ex_pkg_env,pkg_install,rtl_list}.subr: reference ${IFS} w/ explicit ↵Lucio Andrés Illanes Albornoz1-1/+1
default value (via midipix.)
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-9/+15
groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file.
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-3/+3
2020-03-13Implements ./pkgtool.sh -[irt] options.Lucio Andrés Illanes Albornoz1-10/+15
etc/{README.md,pkgtool.usage}: updated. subr/ex_pkg.subr:ex_pkg_{find_package,get_packages}(): initial implementation. subr/ex_pkg.subr:ex_pkg_unfold_{,r}depends(): split from ex_pkg_expand_packages(). subr/ex_pkg{,_dispatch}.subr: removes ${EX_PKG_COMPLETE} scoped global. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_expand_packages(): split from subr/ex_pkg.subr. subr/rtl_list.subr:rtl_lsort(): initial implementation.
2020-03-12Reduce awk(1), grep(1), seq(1), and stat(1) usage.Lucio Andrés Illanes Albornoz1-6/+8
subr/build_init.subr:buildp_init_files(): replace timestamp w/ running total log filename suffix. subr/build_init.subr:buildp_init_prereqs(): ensure sed(1) supports -i option. subr/rtl_complex.subr:rtl_{get_cpu_count,is_newer}(): initial implementation. subr/rtl_string.subr:rtl_match(): initial implementation.
2020-03-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-1/+1
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-02-29subr/ex_pkg_env.subr:exp_pkg_env_set(): reduce hard-wiring.Lucio Andrés Illanes Albornoz1-7/+3
2020-02-29Refactors dist packages into groups/999.dist.group and dist/dist_*.dist.Lucio Andrés Illanes Albornoz1-1/+5
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-26General cleanup, pt. II.Lucio Andrés Illanes Albornoz1-25/+32
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-41/+82
2020-02-11Implements package-package dependencies.Lucio Andrés Illanes Albornoz1-3/+3
2020-02-09Rename build targets to build groups to avoid confusion w/ target architectures.Lucio Andrés Illanes Albornoz1-17/+17
2019-10-12subr/build_init.subr: don't set ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz1-3/+0
subr/ex_pkg_env.subr: don't unset ${LD_LIBRARY_PATH} given build target host_packages_deps. vars/libsolv.vars: don't unset ${LD_LIBRARY_PATH}.
2019-10-11subr/ex_pkg_env.subr:exp_pkg_env_source(): unset ${LD_LIBRARY_PATH} given ↵Lucio Andrés Illanes Albornoz1-0/+3
build target host_packages_deps. vars/ncurses{,tw}_host.vars: removed.
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz1-3/+3
2017-12-04subr/{ex_{pkg_{env,exec},rtl_fetch},pkg_install_pkgconfig}.subr: remove ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
trailing SP/VT.
2017-12-03vars/build.vars:*_minipix: fixed.Lucio Andrés Illanes Albornoz (arab, vxp)1-10/+16
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-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-58/+56
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-27subr/ex_{pkg_env.rtl}.subr: fix ${PKG_ENV_VARS_EXTRA} processing.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2017-11-22subr/ex_pkg_{dispatch,env}.subr: move ${PKG_DISABLED} check.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+0
2017-11-22subr/ex_pkg_{dispatch,steps}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-43/+56
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)1-49/+39
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/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-22patches/*, subr/pkg_configure_patch{,_pre}.subr: only match against package ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
{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)1-0/+63