puppylinux-woof-CE / woof-CE

woof - the Puppy builder
GNU General Public License v2.0
391 stars 281 forks source link

Add new mechanism to add petbuilds from `DISTRO_PKGS_SPECS-*` #4252

Closed lakshayrohila closed 1 month ago

lakshayrohila commented 6 months ago

Refer to https://github.com/puppylinux-woof-CE/woof-CE/issues/4238#issuecomment-1943441740 (issue #4238).

@peabee's suggestion for the syntax is something like this:

petb|<petbuild_name>|<additional_compat_repo_deps>|exe,doc,dev,nls||<deps:yes>

This makes it not just a simple re-implementation of the mechanism for adding petbuilds, but it will also add the functionality to add required dependencies on the same line and allow redirection of petbuild outputs.

peabee commented 1 month ago

Simpler solution?? Just move the PETBUILDS= line(s) from _00build.conf to DISTRO_PKGS_SPECS-*

as 3builddistro calls _00build.conf at line 11 and then DISTRO_PKGS_SPECS- at line 14 then: a. the petbuilds will still be actioned b. all configuration info (apart from rootfs-packages.conf) will be in DISTRO_PKGS_SPECS- which is much better?

I will try this approach.

peabee commented 1 month ago

Yep - that works. Will gradually change my builds to this format. Closing.