summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* startprefix: retain WAYLAND_DISPLAY when an absolute path•••Relative paths require XDG_RUNTIME_DIR, but that may be set/overridden by the Prefix itself. Basically allow people who know what they are doing to pass the socket through. Bug: https://bugs.gentoo.org/915393 Signed-off-by: Fabian Groffen <grobian@gentoo.org> prefix-toolkit-12mainFabian Groffen2025-12-151-1/+5
* startprefix: give hint how to stop using Gentoo Prefix env•••This is based on the work from David Palao <david.palao@gmail.com>. The wording is somewhat different, but to the extent to give a hint that exiting the shell is also leaving the Gentoo Prefix environment. Closes: https://github.com/gentoo/prefix-toolkit/pull/1 Signed-off-by: Fabian Groffen <grobian@gentoo.org> prefix-toolkit-11Fabian Groffen2025-01-131-1/+2
* Drop prefix-toolkit-9.ebuild•••This was only here as a conversion artefact in each commit in case I missed anything (as the files were all extracted from the corresponding ebuild). We don't want to use the ebuild from the repo and it shouldn't be modified in future either -> bin it. Signed-off-by: Sam James <sam@gentoo.org> prefix-toolkit-10Sam James2023-05-261-702/+0
* app-portage/prefix-toolkit: startprefix is for Prefix only•••To allow for prefix-stack on top of vanilla Gentoo, prefix-stack-setup does make sense there - but startprefix does not. Add comment why prefix-stack does have some RDEPENDs, and reorder RDEPEND to logically match the comment. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit d3088df8d4f537268af659f9910c4600186bbdcc) prefix-toolkit-9Michael Haubenwallner2023-05-261-6/+15
* app-portage/prefix-toolkit: stack: keepdir /usr/share/aclocal•••Avoid failing eautoreconf in prefix-stack when no package does install into (stacked) usr/share/aclocal. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit a9fd88abcbb33b8e2b01e056f8a21f59a9a62caf) prefix-toolkit-8Michael Haubenwallner2023-05-261-0/+1
* app-portage/prefix-toolkit: stack: set AT_SYS_M4DIR, run gcc-config•••In stacked Prefix, need to set AT_SYS_M4DIR so eautoreconf is able to find the m4 files from stacked Prefix. As prefix-toolkit does wrap the compiler found in base prefix to get the additional system paths in, need to perform gcc-config at pkg_postinst. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 3f6fc129ad56558e154c0542686160c786bdc0a3) prefix-toolkit-7Michael Haubenwallner2023-05-262-0/+8
* app-portage/prefix-toolkit(winnt): pull pthreads4w, intercept -pthread•••Some X11 library build system is dumb enough to just use -pthread, while others do triage this, before trying with -lpthread. So we intercept the -pthread compiler flag and add -lpthread instead. We cannot do that in parity because pthreads4w is installed in the stacked prefix, where it is built using parity. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit f2795c7e3b35c00c41cfc5a9937c55639a57783a) prefix-toolkit-6Michael Haubenwallner2023-05-263-4/+41
* app-portage/prefix-toolkit: drop /portage from child's PORTAGE_TMPDIR•••Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 4cd61342d847cb65569cf938728b995b8f0c20ca) Michael Haubenwallner2023-05-262-2/+2
* app-portage/prefix-toolkit: revbump•••startprefix: * On Cygwin (assumed when /proc/registry/ is available), also preserve SYSTEMDRIVE, COMSPEC and TEMP env vars, for native Windows programs. prefix-stack-setup: * Give the child prefix a private PORTAGE_TMPDIR, to not lock PORTAGE_TMPDIR in base prefix when merging in multiple childs. * Define clean CFLAGS/CXXFLAGS for the child prefix, it may use a different compiler. Instead, preserve the base prefix' CFLAGS/CXXFLAGS via package.env only for packages using the base prefix compiler. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 54b026b7d865a5936b16d099da8fabc372d5bd10) prefix-toolkit-5Michael Haubenwallner2023-05-263-8/+38
* app-portage/prefix-toolkit (prefix-stack-setup): revbump•••We do not want to have CBUILD build deps in prefix-stack, but CHOST build deps only. Since EAPI 7 there is BDEPEND, but EAPI 6 and older have both CBUILD and CHOST build deps in DEPEND. As most CHOST build deps also are in RDEPEND anyway, we omit EAPI 6 DEPEND from prefix-stack by setting EMERGE_DEFAULT_OPTS="--root-deps=rdeps" - ignored for EAPI 7. Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 5e3e580aa799fd7849b974179f894fcef2a25d5e) prefix-toolkit-4Michael Haubenwallner2023-05-262-0/+6
* app-portage/prefix-toolkit(prefix-stack-setup): accept --chost argument•••Allow to override the CHOST value for the stacked Prefix. Require the --chost argument if the profile does not set CHOST. Package-Manager: Portage-2.3.67-prefix, Repoman-2.3.14 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 7c05ed37cfc125aa8c66fc8dd98811a5e8c64414) prefix-toolkit-3Michael Haubenwallner2023-05-262-4/+70
* app-portage/prefix-toolkit: revbump•••* In prefix-stack, maintain @system set independent of profile, as in explicitly removing everything found per etc/portage/make.profile, but adding prefix-toolkit, having RDEPENDs for additional @system packages. * Do not install libtool into prefix-stack any more, packages really should not use any installed libtool script, but configure their own. * In prefix-stack toolchain on Linux, use -isystem to avoid warnings from installed header files. Remember: This is known to break on AIX. Package-Manager: Portage-2.3.67-prefix, Repoman-2.3.13 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 37ce4db03cdef74a6ae97466405133bcc85c7b60) prefix-toolkit-2Michael Haubenwallner2023-05-263-55/+103
* app-portage/prefix-toolkit: BDEPEND on portage, not RDEPEND•••Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit f6390b8bb5cea47bb3aef53f9b25dde6e154ada1) prefix-toolkit-1Michael Haubenwallner2023-05-261-2/+4
* app-portage/prefix-toolkit: new package•••* For any Gentoo Prefix, provides the 'startprefix' script, and should provide some 'runprefix' script later on, as inspired in Bug: https://bugs.gentoo.org/673816 * For base Gentoo Prefix (as in "not stacked"), provides the 'prefix-stack-setup' script, superseding app-portage/prefix-chain-setup, does force the prefix-stack implit USE flag in the stacked Prefix. * For stacked Gentoo Prefix (set up using 'prefix-stack-setup'), provides the toolchain wrapper, superseding sys-apps/prefix-chain-utils. Bug: https://bugs.gentoo.org/658572 Closes: https://bugs.gentoo.org/509142 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org> (cherry picked from commit 84b9f582e8c8db69a3b3677de702c7cc00ac3dab) prefix-toolkit-0Michael Haubenwallner2023-05-267-0/+982