summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
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
2020-02-12vars/build.vars:{host,native}_toolchain: merges {host,native}_toolchain_mingw32.Lucio Andrés Illanes Albornoz1-4/+4
vars/build.vars:native_toolchain: fix group variables. vars/build.vars:ncurses: moved into native_packags_deps_deps. vars/build.vars:{bzip2,expat,lib{elf,ffi,readline,z}}: moved into native_packages_deps. vars/build.vars:{gdb,python2}: moved into native_packages. vars/gcc.vars: minor cleanup. etc/build.usage: updated. subr/ex_pkg_dispatch.subr: disable dependency expansion given -r.
2020-02-11vars/build.vars:{host_toolchain,invariants,native_{runtime,tools,toolchain_m ↵Lucio Andrés Illanes Albornoz1-9/+12
ingw32}}: adds dependencies. vars/build.vars:native_toolchain: merges native_toolchain_deps, adds dependencies. vars/build.vars:{bzip2,expat,gdb,python2}: moved into native_toolchain, adds dependencies. vars/build.vars:native_packages_deps{,_{deps,x11}}:${PKG_IN_TREE}: set. vars/env.vars:${DEFAULT_BUILD_VARS}: adds IN_TREE. vars/gcc.vars: continuously echo build status messages to pipe fd #3. etc/build.usage: updated. subr/ex_pkg_dispatch.subr: enforce in-order building given ${PKG_IN_TREE} set on group.
2020-02-11subr/ex_rtl.subr:ex_rtl_kill_tree(): correctly kill ${_pid_top}.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-11subr/ex_pkg_dispatch.subr: disable dependency expansion given -r.Lucio Andrés Illanes Albornoz1-9/+13
2020-02-11subr/ex_pkg_dispatch.subr: correctly update ${_pkg_names}.Lucio Andrés Illanes Albornoz1-1/+3
2020-02-11subr/build_init.subr:build_ast(): only print ${_pids_killed} if non-empty.Lucio Andrés Illanes Albornoz1-1/+4
2020-02-11subr/build_init.subr:build_{ast,init}(): call ex_rtl_kill_tree() on $$ on ↵Lucio Andrés Illanes Albornoz2-5/+23
signal. subr/build_init.subr:build_init(): check for pgrep(1) in $PATH. subr/ex_rtl.subr:ex_rtl_kill_tree(): implement w/ pgrep(1).
2020-02-11Implements package-package dependencies.Lucio Andrés Illanes Albornoz5-76/+101
2020-02-09patches/{libcaca,toilet}_pre.local.patch: use $PKG_CONFIG vs. pkg-config.Lucio Andrés Illanes Albornoz1-0/+7
subr/pkg_configure_autotools.subr: export ${PKG_CONFIG{,_PATH}}.
2020-02-09Rename build targets to build groups to avoid confusion w/ target architectures.Lucio Andrés Illanes Albornoz4-49/+49
2020-02-08subr/pkg_{build,configure}.subr: {pass,export} ${PKG_CONFIG{,_PATH}}.Lucio Andrés Illanes Albornoz2-8/+4
vars/build.vars:{rpm,dbus{,_glib}}_host:${PKG_ENV_VARS_EXTRA}: remove obsolete ${PKG_CONFIG_PATH} export. vars/env.vars:${DEFAULT_BUILD_VARS}: remove ${PKG_CONFIG_LIBDIR,PKGCONFIG}. vars/midipix.vars: provide ${DEFAULT_HOST_PKG_CONFIG{,_PATH}}, fix typo in ${DEFAULT_NATIVE_PKG_CONFIG_PATH}.
2020-02-08subr/build_init.subr: ensure awk(1) in $PATH is GNU Awk.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-06subr/build_init.subr: ensure awk(1) in $PATH is GNU Awk.Lucio Andrés Illanes Albornoz1-0/+3
2020-02-04Revert "subr/pkg_{build,install_make}.subr: default to LIBTOOL=rdlibtool ↵Lucio Andrés Illanes Albornoz2-2/+2
(via midipix.)" This reverts commit fde9ee5a1385d14a8bd82ae548f1d7c1e1de551a.
2020-02-03subr/pkg_{build,install_make}.subr: default to LIBTOOL=rdlibtool (via midipix.)Lucio Andrés Illanes Albornoz2-2/+2
vars/{gcc,midipix}.vars: default to LIBTOOL=rdlibtool (via midipix.)
2020-01-17subr/pkg_install_rpm.subr: loop on rpmbuild(1) given exit w/ 141.Lucio Andrés Illanes Albornoz1-6/+14
2020-01-17subr/pkg_install_rpm.subr: explicitly provide Buildroot in RPM specification ↵Lucio Andrés Illanes Albornoz1-0/+1
file (possibly fixing [1].) References: Fri, 17 Jan 2020 15:02:03 +0000 [1] 103455 – rpmbuild crashes with broken pipe during check-files <https://bugzilla.redhat.com/show_bug.cgi?id=103455>
2019-12-24vars/build.vars:smallbasic:${PKG_DISABLE}: enabled.Lucio Andrés Illanes Albornoz1-0/+6
subr/ex_rtl_fetch.subr:ex_rtl_fetch_urls_git(): run git-submodule(1) update --init post-checkout.
2019-11-03subr/pkg_fetch_extract.subr: copy chainport patch to ↵Lucio Andrés Illanes Albornoz1-1/+6
${PKG_BASE_DIR}/${PKG_SUBDIR}/patches/ (via midipix.)
2019-11-03subr/build_init.subr: don't echo back ${_env_vars}.Lucio Andrés Illanes Albornoz1-1/+0
2019-11-01subr/build_init.subr: correctly filter ${_env_vars}.Lucio Andrés Illanes Albornoz1-1/+2
2019-11-01ubr/build_init.subr: merge grep(1) ${_env_vars} filter into sed(1) command line.Lucio Andrés Illanes Albornoz1-1/+1
2019-11-01Cope with long environment variables that are wrapped over multiple linesMartin Storsjö1-1/+1
The TERMCAP variable, if present, can be very long (27 lines and over 1500 chars in my case). In these cases, the earlier lines end with a backslash, and the following ones start with a one tab indent. Filter for lines starting with "export" to properly find the variable names only, as that's the only thing we're interested in here.
2019-10-12subr/build_init.subr: don't set ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz2-4/+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.
2019-08-06vars/build.vars:{native_{packages{,_deps{,_x11}}},dev_packages,minipix}:${PK ↵Lucio Andrés Illanes Albornoz1-0/+4
G_CONFIG_CACHE_LOCAL}: set from ${CONFIG_CACHE_GNULIB} (via midipix.) vars/build.vars:${CONFIG_CACHE_GNULIB}, vars/gnulib.vars: merged. vars/env.vars:${DEFAULT_BUILD_VARS}: adds provisional ${CONFIG_CACHE_LOCAL} variable. subr/pkg_configure_autotools.subr: append ${PKG_CONFIG_CACHE_LOCAL} (provisional) to config.cache if non-empty prior to appending ${PKG_CONFIG_CACHE_EXTRA} if non-empty.
2019-04-26vars/build.vars:ed:${PKG_{SHA256SUM,URL}}: update dead URL.Lucio Andrés Illanes Albornoz1-0/+3
subr/pkg_fetch_extract.subr: extract lzip-compressed tarballs w/ lzip.
2019-01-27subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): correctly amend ${_pkgs_found_new}.Lucio Andrés Illanes Albornoz1-0/+1
2019-01-20subr/pkg_install_rpm.subr:pkg_install_rpm(): pass --define="_tmppath ↵Lucio Andrés Illanes Albornoz1-1/+5
${BUILD_WORKDIR}" to rpmbuild.
2019-01-20subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): amend vs. set ↵Lucio Andrés Illanes Albornoz1-3/+4
${${_pkgs_found_vname}}.
2019-01-19subr/pkg_install_strip.subr:pkg_install_strip(): only strip during release ↵Lucio Andrés Illanes Albornoz1-3/+2
builds & /a=x files.
2019-01-19build.sh, subr/{build_args,ex_pkg_dispatch}.subr: fix -r LAST.Lucio Andrés Illanes Albornoz2-16/+12
2019-01-19build.sh:buildp_dispatch(): correctly call ex_pkg_dispatch().Lucio Andrés Illanes Albornoz1-1/+3
subr/ex_pkg_dispatch.subr:ex_pkg_dispatch(): only set ${${_pkgs_found_vname}} if non-zero.
2019-01-19subr/pkg_install_strip.subr:pkg_install_strip(): exclude non-native packages.Lucio Andrés Illanes Albornoz1-1/+2
2019-01-19build.sh, subr/build_checks.subr, vars/midipix.vars: removes ↵Lucio Andrés Illanes Albornoz2-45/+15
${DEFAULT_CHECK_PREREQ_{CMDS,FILES{,_DYNAMIC},PERL_MODULES}}. etc/build.usage: update target list. subr/build_checks.subr: merges remaining checks into subr/build_init.subr.
2019-01-19build.sh, etc/build.usage, subr/ex_pkg_dispatch.subr: adds -r LAST.Lucio Andrés Illanes Albornoz2-7/+24
subr/ex_rtl_state.subr: adds ex_rtl_state_clear(). vars/midipix.vars: adds ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME}.
2019-01-19build.sh, etc/build.usage, subr/build_args.subr: replaces -x w/ -vvv.Lucio Andrés Illanes Albornoz3-20/+20
subr/ex_rtl_{fileop,log}.subr, vars/env.vars: log file operations at -vvvv.
2019-01-19subr/pkg_configure_autotools.subr:pkg_configure_autotools(): invoke scripts ↵Lucio Andrés Illanes Albornoz1-1/+1
w/ /bin/sh. vars/midipix.vars:${DEFAULT_{LOG_ENV_VARS,CLEAR_ENV_VARS_EXCEPT}}: removes SHELL.
2019-01-19etc/build.usage, subr/build_{args,checks}.subr: merges -c into -C as -C prefix.Lucio Andrés Illanes Albornoz7-34/+35
etc/build.usage, subr/build_{args,init}.subr: merges -[46N] into -F as ipv4|ipv6|offline. subr/ex_rtl_fetch.subr: honour ${{ARG_FETCH_FORCE,DEFAULT_GIT_ARGS}}. subr/pkg_install_strip.subr: correctly strip non-release build binaries. subr/pkg_install_strip.subr:pkg_install_strip(): honour ${ARG_DEBUG_MINIPIX}. vars/env.vars, subr/pkg_fetch_{download,git,wget}.subr: merges fetch_{git,wget} into fetch_download. vars/midipix.vars: adds ${DEFAULT_GIT_ARGS}. vars/{musl,python[23]{,_host}}.vars: updated concerning fetch_download.