summaryrefslogtreecommitdiffhomepage
path: root/midipix.env
AgeCommit message (Collapse)AuthorFilesLines
2023-01-28midipix.env: override fchmodat gnulib checkØrjan Malde1-0/+1
Signed-off-by: Ørjan Malde <red@foxi.me>
2022-12-27groups/231.native_packages_etc.group:gettext_tiny:${PKG_DEPENDS}: adds libiconv.Lucía Andrea Illanes Albornoz1-1/+1
groups/231.native_packages_etc.group:gettext_tiny:${PKG_CFLAGS_BUILD}: build w/ ${NATIVE_PACKAGES_CFLAGS_CONFIGURE}. groups/231.native_packages_etc.group:gettext_tiny:${PKG_LDFLAGS_BUILD}: build w/ ${NATIVE_PACKAGES_LDFLAGS_CONFIGURE:+${NATIVE_PACKAGES_CFLAGS_CONFIGURE} }-liconv. midipix.env:${DEFAULT_BUILD_VARS}: adds LDFLAGS_BUILD.
2022-12-26groups/010.host_deps.group:mpackage_host:${PKG_NO_CLEAN_BUILD_DIR}: don't ↵Lucía Andrea Illanes Albornoz1-1/+1
clean build directory. (via imfatf1sh) midipix.env:${DEFAULT_BUILD_VARS}: adds NO_CLEAN_BUILD_DIR. subr/pkg_clean.subr: don't clean build directory unless ${PKG_NO_CLEAN_BUILD_DIR} -eq 0.
2022-09-16midipix.env: more gnulib overridesØrjan Malde1-1/+13
Signed-off-by: Ørjan Malde <red@foxi.me>
2022-09-10midipix.env: more gnulib nonsense.Ørjan Malde1-0/+3
Signed-off-by: Ørjan Malde <red@foxi.me>
2022-06-24{build,pkgtool}.sh, etc/LICENCE, midipix.env: update copyright legend.Lucía Andrea Illanes Albornoz1-2/+2
2021-09-28groups/211.native_packages_cmdline.group: coreutils: bump to v9.0Ørjan Malde1-0/+5
Signed-off-by: Ørjan Malde <red@foxi.me>
2021-09-09Don't copy etc/config.guess for binutils{,_*}.Lucio Andrés Illanes Albornoz1-18/+19
etc/README.md: updated. midipix.env:${DEFAULT_BUILD_VARS}: adds AUTOCONF_CONFIG_GUESS. groups/010.host_deps.group:binutils_build:${PKG_PATCHES_EXTRA}: from chainport (via midipix.) patches/binutils_build-2.24.51.local.patch: from patches/binutils-2.24.51.local.patch (via midipix.) subr/pkg_configure_autotools.subr: copy etc/config.guess according to ${PKG_AUTOCONF_CONFIG_GUESS}.
2021-08-24midipix.env:${DEFAULT_BUILD_VARS}: adds INSTALL_FILES_V2.Lucio Andrés Illanes Albornoz1-1/+1
subr.rtl/rtl_install_v2.subr:rtlp_install_fmap(): fix typo. subr.rtl/rtl_install_v2.subr:rtlp_install_fmap_patterns(): don't prepend ${_rifp2_prefix} w/ %<*>. subr/ex_pkg_exec.subr:exp_pkg_exec_pre(): honour ${PKG_INSTALL_FILES:-} in emitting missing_pkg. subr/pkg_install_files.subr:pkgp_install_files_v2(): initial implementation.
2021-08-24Adds ${PKG_VARS_FILE} package variable.Lucio Andrés Illanes Albornoz1-1/+1
2021-06-01groups/221.native_packages_dev.group: m4: bump to v1.4.19Ørjan Malde1-0/+1
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
2021-05-12Implements CMake support.Lucio Andrés Illanes Albornoz1-33/+63
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-47/+55
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-45/+48
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-05-06patches/texinfo{,_host}-6.7.local.patch: added.Lucio Andrés Illanes Albornoz1-3/+3
midipix.env:${DEFAULT_{CROSS,HOST,NATIVE}_MAKE}: default to make. subr/pkg_{build,install}.subr: honour ${PKG_MAKE}. subr/pkg_build.subr: export "make LIBTOOL=${PKG_LIBTOOL}" during ${PKG_MAKE} if non-zero and not "none". subr/pkg_configure.subr: export "make LIBTOOL=${PKG_LIBTOOL}" during ${PKG_CONFIGURE} if non-zero and not "none". subr/pkg_install_make.subr: export "make LIBTOOL=${PKG_LIBTOOL}" during ${PKG_MAKE} if non-zero and not "none".
2021-04-11Integrate w/ sofort's ${NATIVE_{C,CXX,LD}FLAGS}.Lucio Andrés Illanes Albornoz1-2/+5
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-01-24Reimplements Git repository mirroring because Git is a special snowflake.Lucio Andrés Illanes Albornoz1-13/+17
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-22Implements ${{DEFAULT,PKG,...}_MIRRORS}.Lucio Andrés Illanes Albornoz1-1/+5
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().
2020-10-08midipix.env: set gl_cv_func_getopt_gnuØrjan Malde1-1/+2
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
2020-06-02midipix.env:${DEFAULT_BUILD_VARS}: adds ${PKG_CFLAGS_BUILD} and ↵Lucio Andrés Illanes Albornoz1-2/+2
${PKG_MAKE_SUBDIRS}. subr/pkg_{build,install}.subr: honour ${PKG_MAKE_SUBDIRS}. etc/README.md: updated.
2020-05-15Optionally install ${PKG_DESTDIR_HOST} into ${PREFIX}.Lucio Andrés Illanes Albornoz1-10/+10
vars/libxslt.vars:pkg_libxslt_install_make_post(): install ${PREFIX}/bin/xslt-config into ${PKG_DESTDIR_HOST}/bin.
2020-05-11build.sh:build(): don't forcibly initialise ${BUILD_HNAME}.Lucio Andrés Illanes Albornoz1-1/+1
midipix.env:${DEFAULT_LOG_ENV_VARS}: additionally log ${PREFIX_RPM}.
2020-05-11midipix.env:${DEFAULT_WGET_ARGS}: set to --no-check-certificate --timeout=25 ↵Lucio Andrés Illanes Albornoz1-1/+1
--waitretry=16.
2020-05-11midipix.env:${DEFAULT_WGET_ARGS}: set to --no-check-certificate --timeout=30 ↵Lucio Andrés Illanes Albornoz1-1/+1
(via midipix.)
2020-05-05midipix.env:${DEFAULT_MAKEFLAGS_VERBOSITY}: set to V=99 VERBOSE=1.Lucio Andrés Illanes Albornoz1-1/+1
2020-05-03midipix.env:${DEFAULT_C{,PP,XX}FLAGS{,_*}}: prepend -D_REDIR_TIME64=0 (via ↵Lucio Andrés Illanes Albornoz1-18/+18
midipix.)
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-16/+16
etc/{{build,pkgtool}.usage,README.md}: updated.
2020-04-13subr/pkg_build.subr: pass either ${PKG_MAKEFLAGS_VERBOSITY} or nothing if ↵Lucio Andrés Illanes Albornoz1-2/+3
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-3/+3
2020-04-08subr/build_init.subr:buildp_init_args(): move ${BUILD_HNAME} check & default ↵Lucio Andrés Illanes Albornoz1-2/+2
from buildp_init_env(). midipix.env:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: adds BUILD_HNAME. etc/README.md: updated.
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-0/+31
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-12midipix.env: remove redundant ${DEFAULT_LOG_MSG_*_COLOUR} variables.Lucio Andrés Illanes Albornoz1-10/+0
subr/rtl_log.subr:${DEFAULT_LOG_MSG_WARN_COLOUR}: added.
2020-03-11Initial implementation of pkgtool.sh.Lucio Andrés Illanes Albornoz1-1/+5
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-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-10/+10
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-29etc/README.md: updated.Lucio Andrés Illanes Albornoz1-3/+3
midipix.env: updated.
2020-02-29etc/README, midipix.env: updated.Lucio Andrés Illanes Albornoz1-9/+9
2020-02-29midipix.env: renamed from vars/env.vars.Lucio Andrés Illanes Albornoz1-0/+272
subr/build_init.subr:buildp_init_vars(): source ./midipix.env.