summaryrefslogtreecommitdiffhomepage
path: root/subr.ex
AgeCommit message (Collapse)AuthorFilesLines
2023-12-04subr.ex/ex_init.subr:ex_init_prereqs(): trap full list of signals.Lucía Andrea Illanes Albornoz1-1/+1
2023-12-04subr.ex/ex_rtl_rpm.subr:ex_rtl_build_rpm(): improve target package RPM spec ↵Lucía Andrea Illanes Albornoz1-19/+31
file code. etc/package.spec: updated.
2023-12-01subr.ex/ex_rtl_rpm.subr:ex_rtl_build_rpm(): produce & include package files ↵Lucía Andrea Illanes Albornoz1-1/+9
list in %files directive in target package RPM spec files. etc/package.spec: include %{pkg_files_list} in %files directive.
2023-12-01subr.ex/ex_rtl_rpm.subr:ex_rtl_build_rpm(): substitute (instead of defining) ↵Lucía Andrea Illanes Albornoz1-8/+25
variables in target package RPM files prior to running rpmbuild(1). etc/package.spec: document reference to ex_rtl_build_rpm().
2023-04-03Drop ccache support.Lucía Andrea Illanes Albornoz1-31/+13
2023-04-02Only install library archives for libraries matching lib*.Lucía Andrea Illanes Albornoz1-3/+4
2023-04-02Ensure LC_ALL is set during builds because ccache sucks.Lucía Andrea Illanes Albornoz1-0/+1
2023-03-31Generalise sofort subr.pkg/pkg_configure.subr code.Lucía Andrea Illanes Albornoz1-1/+99
2023-03-31Rename groups/ to groups.d/.Lucía Andrea Illanes Albornoz1-1/+1
2023-03-31Make dist/*.dist regular vars files beneath vars.dist/.Lucía Andrea Illanes Albornoz2-14/+25
2023-03-31subr.ex/ex_pkg_exec.subr: pass @_dispatch_fn to exp_pkg_exec_pre().Lucía Andrea Illanes Albornoz1-4/+7
2023-03-31Split up midipix.env into env.d/*.env.Lucía Andrea Illanes Albornoz1-2/+12
2023-03-31subr.ex/*: documentation cleanup.Lucía Andrea Illanes Albornoz3-43/+43
2023-03-30Delete ${DEFAULT_RPM_JOBS_SEMAPHORE} on init.Lucía Andrea Illanes Albornoz1-3/+8
2023-03-30Limit parallel rpmbuild(1) jobs to 1.Lucía Andrea Illanes Albornoz2-105/+253
2023-03-28Fix printing of package variables in ./pkgtool.sh -i.Lucía Andrea Illanes Albornoz1-0/+23
2023-03-28subr.ex/ex_rtl_configure.subr:ex_rtl_configure_cmake(): correctly process ↵Lucía Andrea Illanes Albornoz1-9/+16
@_build_{kind,type}. subr.pkg/pkg_configure.subr: correctly pass @_build_{kind,type}.
2023-03-28subr.ex/ex_rtl_configure.subr:ex_rtl_configure_cmake(): separate arguments ↵Lucía Andrea Illanes Albornoz1-21/+21
w/ "|" vs. ":".
2023-03-28subr.ex/ex_pkg.subr:ex_pkg_load_vars(): don't set ${PKG_GROUP_FNAME} w/ ↵Lucía Andrea Illanes Albornoz1-6/+12
GROUP_AUTO=0 groups.
2023-03-27Generalise subr.pkg/pkg_configure_autotools.subr code.Lucía Andrea Illanes Albornoz3-400/+534
2023-03-27Generalise subr.pkg/*.subr code.Lucía Andrea Illanes Albornoz4-400/+696
2023-03-26Generalise {configure,make} code.Lucía Andrea Illanes Albornoz1-0/+400
2023-03-26Print group file pathname in ./pkgtool.sh -i output.Lucía Andrea Illanes Albornoz1-18/+33
2023-03-26subr.ex/ex_pkg_env.subr: add header.Lucía Andrea Illanes Albornoz1-0/+3
subr.rtl/rtl_fetch_git.subr: cleanup.
2023-03-21Document subr.rtl/*.subr functions, pt. IV.Lucía Andrea Illanes Albornoz4-18/+18
2023-03-21Document subr.rtl/*.subr functions, pt. III.Lucía Andrea Illanes Albornoz3-4/+4
2023-03-20subr.ex/ex_pkg_restart.subr:exp_pkg_expand_restart_at_virtual(): correctly ↵Lucía Andrea Illanes Albornoz1-3/+1
reject invalid virtual build steps.
2023-03-20Use "Returns:" vs. "Return:" in function documentation.Lucía Andrea Illanes Albornoz5-30/+30
2023-03-20Implements ccache integration.Lucía Andrea Illanes Albornoz1-9/+2
2023-03-20subr.ex/ex_pkg_{dispatch,exec,restart}.subr: document functions.Lucía Andrea Illanes Albornoz3-22/+14
2023-03-20Default theme from etc/*.theme.host.<full hostname>.Lucía Andrea Illanes Albornoz1-2/+11
2023-03-20Implements --theme in {build,pkgtool}.sh.Lucía Andrea Illanes Albornoz1-1/+24
2023-03-20subr.ex/ex_pkg_dispatch.subr:exp_pkg_dispatch_group(): abort on failure and ↵Lucía Andrea Illanes Albornoz1-0/+5
no -R.
2023-03-18Safely send dispatcher messages.Lucía Andrea Illanes Albornoz2-3/+22
2023-03-14Fix relaxed mode (-R).Lucía Andrea Illanes Albornoz1-15/+19
2023-03-13subr.ex/ex_pkg.subr:ex_pkg_get_default(): fix patches/*/*.patch glob.Lucía Andrea Illanes Albornoz1-1/+1
2023-03-13Followup to <fd38dc025f5d31890abbf3d48c597114203b1421>.Lucía Andrea Illanes Albornoz2-16/+9
2023-03-13Move patches & vars pathname defaults handling into subr.ex/ex_pkg.subr.Lucía Andrea Illanes Albornoz2-4/+77
2023-02-22subr.ex/ex_init.subr:ex_init_help(): reset OPTIND to 0 before calling getopts.Lucía Andrea Illanes Albornoz1-1/+3
2023-02-22subr.ex/ex_init.subr:ex_init_help(): show short usage information given -h.Lucía Andrea Illanes Albornoz1-3/+12
2023-02-22subr.ex/ex_init.subr:ex_init_getopts(): reset OPTIND to 0 before calling ↵Lucía Andrea Illanes Albornoz1-0/+1
getopts.
2023-02-19subr.ex/ex_pkg.subr:ex_pkg_load_vars(): prepend ${PREFIX_ROOT} w/ ${PWD%/}/ ↵Lucía Andrea Illanes Albornoz1-1/+6
if not absolute pathname.
2023-02-19subr.ex/ex_pkg.subr:ex_pkg_load_vars(): prepend ${PREFIX} w/ ${PWD%/}/ if ↵Lucía Andrea Illanes Albornoz1-8/+5
not absolute pathname.
2023-02-19subr.ex/ex_pkg.subr:ex_pkg_check_depends(): speed up by testing for finish ↵Lucía Andrea Illanes Albornoz1-1/+0
state w/ solely ex_pkg_state_test2().
2023-02-19Add copyright legends to all files.Lucía Andrea Illanes Albornoz6-0/+6
2023-02-19Reject empty variables from the command line.Lucía Andrea Illanes Albornoz1-10/+15
2023-02-18subr.ex/ex_pkg_env.subr: correctly allow packages inheriting from other ↵Lucía Andrea Illanes Albornoz1-2/+7
packages to override inherited variables.
2023-02-18subr.ex/ex_pkg_restart.subr: correctly call ↵Lucía Andrea Illanes Albornoz1-1/+3
exp_pkg_expand_restart_at_spec_cmp().
2023-02-18Add textwidth=0 to Vim modelines.Lucía Andrea Illanes Albornoz3-3/+3
2023-02-17Make everything a bit faster.Lucía Andrea Illanes Albornoz6-0/+1827
0) Issues several prayers and sacrifices to Enki under threat of a terrible deluge sent down by Ellil 1) Convert fork-write/read exprs to be non-forking 2) Pass mostly everything by reference 3) Don't bother cleaning the variable namespace because Bourne shell is an abomination 4) Removes broken ./pkgtool.sh -s, --restart-at, --update-diff & ./build.sh --dump-{in,on-abort} 5) Cleanup