scripts: changing glibc-based package name checking
A package with the glibc32 prefix in its name is a package that is compiled on a 32-bit architecture standard but will run on a 64-bit device
The branch has conflicts.
Test build - https://github.com/termux-pacman/glibc-packages/pull/317
improved cross compilation based on bionic library
Will requires changes to variables, will do them myself soon.
I have overridden your latest push as I told you about and based the changes on https://github.com/termux/termux-packages/commit/eca927c1. I have removed properties.sh changes from dd07fbbb and added them in fbe83a5b.
- You had removed the original
TERMUX__PREFIX__LIB_DIRand replaced it withTERMUX_PREFIX_LIB, I have restored it back. - I have removed the newly added and immediately deprecated variables
TERMUX_PREFIX_BASE_LIB,TERMUX_PREFIX_MULTI_LIBandTERMUX_PREFIX_GLIBC. Do not add duplicate variables. - I have added
TERMUX__PREFIX__INCLUDE_DIR,TERMUX__PREFIX__BASE_INCLUDE_DIRandTERMUX__PREFIX__MULTI_INCLUDE_DIR, asinclude32was hardcoded before. - I have overridden
TERMUX__PREFIXas well instead of justTERMUX_PREFIX, when you override it withTERMUX__PREFIX_GLIBC. The original value for prefix is stored inTERMUX__PREFIX_CLASSICAL. - Removed the indented variables from
properties.shas would mess with bash language server variable definition goto's. - Added validation for
TERMUX__PREFIX_GLIBC, and intermux_build_props__set_termux_prefix_dir_and_sub_variables()whenTERMUX__PREFIXis overridden as unsafe values can have dangerous consequences.
I can squash fbe83a5b when you have reviewed and tested the changes. I have not reviewed other parts of the code, that should be done by packages devs as I don't have time.