From cc09f4e32bb45efb247198cdb7519b8df5e92c50 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 06 Apr 2023 20:34:47 -0400 Subject: TODO: Arch- and plat-indep Description field --- diff --git a/TODO b/TODO index e0d7a7e..835229c 100644 --- a/TODO +++ b/TODO @@ -4,6 +4,29 @@ Future Tasks Functional Changes ------------------ + * Make binary package `Description` fields architecture- and platform- + independent (so a packages index Web site can show one description for a + binary package for all its architectures and platforms). + - `ob_set_source_substvar()` needs a third optional (for API compatibility) + `archplat_dep` parameter (default `false`) that, if `true`, causes + variable to be stored in a separate array. + - `ob_set_package_substvars()` needs a second optional (for API + compatibility) `archplat_indep` parameter (default `false`) that, if + `false`, enables checking for variables in the aforementioned separate + array. + - In `_ob_set_package_substvars_2()`, replace: + ob_set_source_substvar 'Host-Arch' "${OPK_HOST_ARCH}" + ob_set_source_substvar 'Host-Plat' "${OPK_HOST_PLAT}" + with: + ob_set_source_substvar 'Host-Arch' "${OPK_HOST_ARCH}" true + ob_set_source_substvar 'Host-Plat' "${OPK_HOST_PLAT}" true + - In ob-gencontrol, replace: + desc="$(ob_substvars "${desc}" "${pkg}")" + with: + desc="$(ob_substvars "${desc}" "${pkg}" true)" + - Add `${Host-Arch}` (which should be copied verbatim to output control + file) to `Description` in tests **BEFORE** above changes to verify correct + behavior. * Split distribution packaging from upstream sources in source packages. - Non-native package: * `src:foo` is the distribution packaging, and it depends on @@ -21,7 +44,7 @@ Functional Changes Copyright ========= -Copyright (C) 2018, 2019 Patrick McDermott +Copyright (C) 2018, 2019, 2023 Patrick McDermott Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright -- cgit v0.9.1