summaryrefslogtreecommitdiffhomepage
path: root/etc/README.md
AgeCommit message (Collapse)AuthorFilesLines
2021-08-19etc/README.md: updated.Lucio Andrés Illanes Albornoz1-0/+5
2021-08-15etc/README.md: updated.Lucio Andrés Illanes Albornoz1-14/+8
2021-06-15etc/README.md: updated.Lucio Andrés Illanes Albornoz1-72/+20
2021-06-15etc/README.md: updated.Lucio Andrés Illanes Albornoz1-1/+1
2021-05-12Implements CMake support.Lucio Andrés Illanes Albornoz1-83/+101
etc/README.md: updated. groups/{000.host_tools,010.host_deps,200.native_packages,800.minipix}.group:${*_SOFORT_NATIVE_{C,CXX,LD}FLAGS}: merged into midipix.env. groups/010.host_deps.group:{clang,cmake_host,libzip,llvm}_host:${PKG_CMAKE_ARGS_EXTRA}: added. groups/010.host_deps.group:cmake_host:${PKG_CONFIGURE_TYPE}: configure w/ cmake. groups/010.host_deps.group:cmake_host:${PKG_INSTALL_FILES}: added. groups/010.host_deps.group:expat_host:${PKG_CONFIGURE_TYPE}: configure w/ autotools. groups/010.host_deps.group:python[23]_host:${PKG_{ENV_VARS_EXTRA,SOFORT_FORCE}}: removed. groups/010.host_deps.group:python[23]_host:${PKG_CONFIGURE_TYPE}: configure w/ sofort. groups/010.host_deps.group:python[23]_host:${PKG_SOFORT_NATIVE_CC}: removed. groups/221.native_packages_dev.group:python[23]:${PKG_SOFORT_FORCE}: removed. groups/221.native_packages_dev.group:python[23]:${PKG_CONFIGURE_TYPE}: configure w/ sofort. groups/231.native_packages_etc.group:{cmake,minizip,openjpeg,tdnf,xpdf}:${PKG_CMAKE_ARGS_EXTRA}: added. groups/231.native_packages_etc.group:cmake:${PKG_CONFIGURE_ARGS}: removed. groups/231.native_packages_etc.group:utf8proc:${PKG_IN_TREE}: don't build in-tree. groups/251.native_packages_lib.group:lib{jpeg_turbo,solv,ssh,zip}:${PKG_CMAKE_ARGS_EXTRA}: added. midipix.env:${DEFAULT_BUILD_VARS}: adds ${PKG_{CMAKE{,_{ARGS{,_EXTRA},LISTFILE}},CONFIGURE_TYPE},SOFORT_NATIVE_{C{C,XX},{C,CXX,LD}FLAGS,LD}}. midipix.env:${DEFAULT_BUILD_VARS}: removes ${PKG_SOFORT_FORCE}. midipix.env:${DEFAULT_{CMAKE_LISTFILE,{CROSS,HOST,NATIVE}_CMAKE}}: added. subr.rtl/rtl_complex.subr:rtl_export_vars(): ignore values during -u. subr.rtl/rtl_platform.subr:rtl_set_vars(): updated. subr/ex_pkg_env.subr:exp_pkg_env_set(): always convert ${PKG_{AR,CC,CXX,PKG_CONFIG,RANLIB}} to absolute pathnames. subr/ex_pkg_env.subr:ex_pkg_env_sofort(): merged into subr/pkg_configure.subr. subr/ex_pkg_restart.subr:ex_pkg_process_restart_spec(): remove extraneous echo. subr/pkg_configure.subr:pkgp_configure_{cmake,sofort}(): initial implementation. subr/pkg_configure.subr:pkg_configure(): attempt configuration using autotools, sofort, or cmake. subr/pkg_configure_autotools.subr: skip if ${PKG_CONFIGURE_TYPE} is set and not "autotools". subr/pkg_fetch_clean.subr: fix typo. vars/{clang_host,cmake{,_host},lib{jpeg_turbo,solv,ssh,zip{,_host}},llvm_host,lolcode,minizip,openjpeg,tdnf,xpdf}.vars: deleted.
2021-05-10Implements {fetch,configure,build,install}_clean.Lucio Andrés Illanes Albornoz1-10/+10
build.sh:buildp_dispatch_fail_pkg(): print NL when writing to ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME}. etc/{README.md,build.usage}: updated. midipix.env: updated. subr.rtl/rtl_complex.subr:rtl_sunset(): initial implementation. subr.rtl/rtl_list.subr:rtl_l{filter[23],length2,lift[23]}(): initial implementation. subr.rtl/rtl_state.subr:rtl_state_test(): take ${_build_steps} vs. ${_build_step}. subr/{build_init,ex_pkg_restart}.subr: splits extended restart syntax processing logic. subr/ex_pkg_exec.subr:ex_pkg_exec(): filter "start". subr/pkg_{build,configure,fetch,install}_clean.subr: initial implementation.
2021-05-07Implements extended -r syntax.Lucio Andrés Illanes Albornoz1-33/+104
build.sh:buildp_ast(): only reset package build step state if ${ARG_RESET_PKG} is 1. etc/{build.usage,README.md}: updated. etc/build.usage.short, subr/build_init.subr: implement short help screen. midipix.env: correctly escape multi-line variable assignment expressions. subr.rtl/rtl_list.subr: updated. subr.rtl/rtl_state.subr:rtl_state_set(): correctly implement invalidation. subr.rtl/rtl_state.subr:rtl_state_test(): honour `LAST'. subr/build_init.subr:buildp_init_getopts(): implements --reset-pkg. subr/build_init.subr:buildp_{expand_restart_{at,recursive},process_restart_spec}(): initial implementation. subr/ex_pkg_{dispatch,env}.subr: updated. subr/ex_pkg_exec.subr:ex_pkg_exec(): honour `ALL' and `LAST'. vars/gcc.vars: updated.
2021-04-06etc/README.md: updated.Lucio Andrés Illanes Albornoz1-3/+5
2021-04-05{build,pkgtool}.sh: update copyright legend.Lucio Andrés Illanes Albornoz1-1/+1
etc/README.md: updated.
2021-04-05etc/README.md: updated.Lucio Andrés Illanes Albornoz1-0/+3
2021-04-05pkgtool.sh:pkgtoolp_mirror_fetch(), subr/pkgtool_init.subr: implement and ↵Lucio Andrés Illanes Albornoz1-1/+2
honour -v. etc/{pkgtool.usage,README.md}: updated.
2021-04-05pkgtool.sh:pkgtool{,p_mirror}(): split -m <dname1>,<dname2> into -m <dname> ↵Lucio Andrés Illanes Albornoz1-2/+3
-M <dname> for convenience. subr/pkgtool_init.subr: split -m <dname1>,<dname2> into -m <dname> -M <dname> for convenience. etc/{pkgtool.usage,README.md}: updated.
2021-04-04etc/README.md: updated.Lucio Andrés Illanes Albornoz1-3/+3
etc/build.usage: updated.
2021-01-24Reimplements Git repository mirroring because Git is a special snowflake.Lucio Andrés Illanes Albornoz1-17/+18
etc/{README.md,pkgtool.usage}: updated. groups/221.native_packages_dev.group:cparser:${PKG_DISABLED}: disabled due to repository unavailability. groups/251.native_packages_lib.group:libfirm:${PKG_DISABLED}: disabled due to repository unavailability. midipix.env:${DEFAULT_BUILD_VARS}: adds MIRRORS_GIT. midipix.env:${DEFAULT_MIRRORS{,_GIT}}: split; mirror Git repositories via https://midipix.lucioillanes.de/repos_git/. pkgtool.sh:pkgtoolp_mirror_fetch(): call rtl_fetch_mirror_urls_git() vs. rtl_fetch_urls_git(). pkgtool.sh:pkgtoolp_mirror_fetch(): symlink instead of downloading given package w/ parent package. pkgtool.sh:pkgtoolp_mirror{,_fetch}(): split archives vs. Git repositories directory name. subr.rtl/rtl_fetch.subr: factor out ${DEFAULT_GIT_ARGS}. subr.rtl/rtl_fetch.subr:rtl_fetch_mirror_urls_git(): initial implementation. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): always return on failure. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): correctly attempt to git-clone(1) from ${PKG_URL} and then via ${PKG_MIRRORS}. subr.rtl/rtl_fetch.subr:{rtlp_fetch_url_git,rtl_fetch_urls_git}(): cleanup. {subr/pkg_fetch_download.subr,vars/{gcc,python[23]{,_host}}.vars}: call rtl_fetch_urls_git() w/ ${PKG_NAME} and ${PKG_MIRRORS_GIT:-}.
2021-01-23subr.rtl/rtl_fetch.subr:{rtlp_fetch_url_git,rtl_fetch_urls_git}(): ↵Lucio Andrés Illanes Albornoz1-1/+1
{receive,pass} ${_pkg_name}. subr.rtl/rtl_fetch.subr:rtl_fetch_urls_git(): return 1 on failure from rtlp_fetch_url_git(). subr/pkg_fetch_download.subr: pass ${PKG_NAME} to rtl_fetch_urls_git(). etc/README.md: updated.
2021-01-23Implements setting up & fetching from mirrors.Lucio Andrés Illanes Albornoz1-2/+3
etc/pkgtool.usage: updated. etc/README.md: updated. pkgtool.sh:pkgtoolp_mirror{,_fetch}(): initial implementation. subr/pkg_fetch_download.subr: default to empty ${PKG_MIRRORS}. subr/pkg_fetch_download.subr: factor out ${ARG_FETCH_FORCE} check and ${BUILD_DLCACHEDIR}. subr/pkgtool_init.subr: updated. subr.rtl/rtl_fetch.subr:rtl_fetch_urls_{git,wget}(): factor out ${ARG_FETCH_FORCE} check and ${BUILD_DLCACHEDIR}; minor cleanup. subr.rtl/rtl_fetch.subr:rtl_fetch_url_wget(): return vs. exit on fatal failure. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): copy only if ${_cache_dname} != ${_tgtdir}. subr.rtl/rtl_fetch.subr:rtlp_fetch_url_git(): return if unable to git-clone(1). subr.rtl/rtl_fetch.subr:{rtlp_fetch_url_git,rtl_fetch_urls_git}(): implement Git repository mirroring. vars/{gcc,python[23]{,_host}}.vars: updated.
2021-01-22Implements ${{DEFAULT,PKG,...}_MIRRORS}.Lucio Andrés Illanes Albornoz1-0/+1
build.sh:build(): define and zero-initialise ${DEFAULT_MIRRORS}. etc/README.md: updated. midipix.env: adds ${DEFAULT_MIRRORS} (https://midipix.org/mirror/ https://midipix.lucioillanes.de/archives/). subr.rtl/rtl_fetch.subr:rtl_fetch_url_wget(): receive and operate on target name and optional list of mirrors. subr/pkg_fetch_download.subr: additionally pass ${PKG_NAME} and ${PKG_MIRRORS} to rtl_fetch_url_wget().
2021-01-07etc/README.md: updated.Lucio Andrés Illanes Albornoz1-5/+9
2021-01-06etc/README.md: updated.Lucio Andrés Illanes Albornoz1-7/+15
2021-01-06etc/README.md: updated.Lucio Andrés Illanes Albornoz1-5/+31
2020-12-29etc/README.md: updated.Lucio Andrés Illanes Albornoz1-1/+2
2020-12-02etc/README.md: updated.Lucio Andrés Illanes Albornoz1-1/+1
2020-09-08etc/README.md: updated.Lucio Andrés Illanes Albornoz1-1/+1
2020-06-02midipix.env:${DEFAULT_BUILD_VARS}: adds ${PKG_CFLAGS_BUILD} and ↵Lucio Andrés Illanes Albornoz1-0/+2
${PKG_MAKE_SUBDIRS}. subr/pkg_{build,install}.subr: honour ${PKG_MAKE_SUBDIRS}. etc/README.md: updated.
2020-05-26etc/README.md: updated.Lucio Andrés Illanes Albornoz1-3/+3
2020-05-26etc/README.md: updated.Lucio Andrés Illanes Albornoz1-4/+4
2020-05-15Optionally install ${PKG_DESTDIR_HOST} into ${PREFIX}.Lucio Andrés Illanes Albornoz1-17/+18
vars/libxslt.vars:pkg_libxslt_install_make_post(): install ${PREFIX}/bin/xslt-config into ${PKG_DESTDIR_HOST}/bin.
2020-04-29etc/README.md: updated.Lucio Andrés Illanes Albornoz1-6/+12
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-569/+569
etc/{{build,pkgtool}.usage,README.md}: updated.
2020-04-29etc/README.md: updated.Lucio Andrés Illanes Albornoz1-13/+26
2020-04-13subr/pkg_build.subr: pass either ${PKG_MAKEFLAGS_VERBOSITY} or nothing if ↵Lucio Andrés Illanes Albornoz1-0/+1
set to `none'. groups/010.host_deps.group:ruby_host:${PKG_MAKEFLAGS_VERBOSITY}: build w/ none. groups/221.native_packages_dev.group:ruby:${PKG_MAKEFLAGS_VERBOSITY}: build w/ none. etc/README.md, midipix.env: adds ${PKG_MAKEFLAGS_VERBOSITY}, defaulting to `V=99'.
2020-04-10Pass pkg-config(1) search path via ${PKG_CONFIG_LIBDIR}.Lucio Andrés Illanes Albornoz1-1/+1
2020-04-08subr/build_init.subr:buildp_init_args(): move ${BUILD_HNAME} check & default ↵Lucio Andrés Illanes Albornoz1-0/+1
from buildp_init_env(). midipix.env:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: adds BUILD_HNAME. etc/README.md: updated.
2020-03-25etc/README.md: updated.Lucio Andrés Illanes Albornoz1-2/+2
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-12/+21
2020-03-13Implements ./pkgtool.sh -[irt] options.Lucio Andrés Illanes Albornoz1-16/+46
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-11etc/README.md: updated.Lucio Andrés Illanes Albornoz1-19/+37
2020-03-11subr/build_init.subr:buildp_init_getopts(): --dump-on-abort excludes -R.Lucio Andrés Illanes Albornoz1-1/+1
etc/{build.usage,README.md}: updated.
2020-03-11etc/README.md: updated.Lucio Andrés Illanes Albornoz1-9/+10
2020-03-11Initial implementation of pkgtool.sh.Lucio Andrés Illanes Albornoz1-14/+28
build.sh:build(): move cd(1) to $(dirname "${0}"). etc/{build.usage,README.md}: updated. midipix.env:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. pkgtool.sh: initial implementation. subr/build_init.subr:buildp_init_defaults(): allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. subr/build_init.subr:buildp_init_env(): move cd(1) to $(dirname "${0}"). subr/build_init.subr:buildp_init_files(): correctly pass ${_status} from rtl_check_path_vars(). subr/ex_pkg_exec.subr:ex_pkg_exec(): dump subset of variables and exported variables on build failure and --dump-on-abort. subr/pkgtool_init.subr: adapted from subr/build_init.subr. subr/rtl_complex.subr:rtl_filter_vars(): initial implementation. subr/rtl_string.subr:rtl_subst(): initial implementation.
2020-03-09etc/README.md: updated.Lucio Andrés Illanes Albornoz1-1/+4
2020-03-05etc/README.md: updated.Lucio Andrés Illanes Albornoz1-2/+19
2020-03-05subr/ex_pkg_dispatch.subr: implement *<group>: inhibit group-group ↵Lucio Andrés Illanes Albornoz1-5/+7
dependency expansion. etc/{build.usage,README.md}, subr/build_init.subr: updated.
2020-03-05subr/ex_pkg{,_dispatch}.subr: implement -r ***name[,..][:step,..]: forcibly ↵Lucio Andrés Illanes Albornoz1-3/+4
rebuild all packages that depend on the specified package(s). etc/{build.usage,README.md}, subr/build_init.subr: updated.
2020-03-05etc/{build.usage,README.md}: updated.Lucio Andrés Illanes Albornoz1-113/+227
2020-03-04subr/build_init.subr:build_init(): call buildp_init_prereqs() after ↵Lucio Andrés Illanes Albornoz1-5/+5
buildp_init_getopts(). subr/build_init.subr:buildp_init_prereqs(): split from buildp_init_env(). etc/README.md: updated.
2020-03-04etc/{build.usage,README.md}: updated.Lucio Andrés Illanes Albornoz1-20/+27
2020-03-04etc/README.md: updated.Lucio Andrés Illanes Albornoz1-16/+17
2020-03-04subr/build_init.subr:buildp_init_env(): source subr/*.subr as early as ↵Lucio Andrés Illanes Albornoz1-207/+337
possible (via duvallj.) subr/build_init.subr:buildp_init_env(): correctly emit errors & exit given early initialisation failure. etc/README.md: updated.
2020-03-01etc/README.md: updated.Lucio Andrés Illanes Albornoz1-0/+6