Date: Sat, 13 Mar 2021 19:21:03 +0100 From: Michael Gmelin <grembo@freebsd.org> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-ports@freebsd.org Subject: Re: Testing www/chromium before installing Message-ID: <83BF04F7-BBE2-4E7C-8B27-D2FF2BAEBB64@freebsd.org> In-Reply-To: <20210313175136.GA72527@www.zefox.net> References: <20210313175136.GA72527@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 13. Mar 2021, at 18:51, bob prohaska <fbsd@www.zefox.net> wrote: >=20 > =EF=BB=BFOn Sat, Mar 13, 2021 at 06:11:06PM +0100, Michael Gmelin wrote: >>=20 >>=20 >>> On Sat, 13 Mar 2021 08:50:07 -0800 >>> bob prohaska <fbsd@www.zefox.net> wrote: >>>=20 >>> Hi Michel, >>>=20 >>> On Sat, Mar 13, 2021 at 05:01:16PM +0100, Michael Gmelin wrote: >>>> What about ???make stage???? >>>>=20 >>> Never heard of it, and can't find any obvious references. >>> Is there a description somewhere? >>=20 >> It's one of the seven main targets of building a port: >>=20 >> - extract >> - patch >> - configure >> - build >> - stage >> - install >> - package >>=20 >> It installs the port into STAGEDIR (by default work/stage). Install and >> package copy files from STAGEDIR, so usually stage is run implicitly. >> See /usr/ports/Mk/bsd.port.mk for details (documentation isn't great, >> most of it is from when the big conversion to STAGEDIR happened a >> couple of years ago). >>=20 >> To give you a simple port as an example >>=20 >> # cd /usr/ports/editors/joe >> # make stage >> ... >> # find work/stage -type f -perm +111 >> work/stage/usr/local/bin/joe >>=20 >> Same should work with chromium (you might need to set LD_LIBRARY_PATH >> in case chromium comes with its own libraries). >>=20 >=20 > Thank you! Found the executable, and it suffers from the same problem > as the old version: The controls drop-down menu (right of the URL bar) > is non-persistent and can't be used. The new version does seem to run > faster, which is a step forward. >=20 > It's surprising that a simple > find . -name stage=20 > didn't discover the directory, but did discover those for node,=20 > in the same subtree. The exact syntax you provided seems to be=20 > required. >=20 >> Oh, alternatively you could of course simply make a backup of your >> current chromium package: >>=20 >> pkg create chromium >>=20 >> Which you then can re-install in case the new version doesn't work as >> expected: pkg add chromium-someversion.txz >>=20 >=20 > The sources for the existing version of chromium are long overwritten, > can a package be constructed from installed files? =20 Yes, =E2=80=9Cpkg create=E2=80=9D creates a package from what is installed o= n a system (package database and installed files). You can use =E2=80=9Cpkg create -a=E2=80=9D to create tarballs for all insta= lled packages (useful before doing major surgery or to transfer a full packa= ge set to a different system). Check =E2=80=9Cman pkg-create=E2=80=9D for de= tails. -m >=20 > bob prohaska >=20 >=20 >> Best, >> Michael >>=20 >>>=20 >>> Thanks for writing! >>>=20 >>> bob prohaska >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>>> On 13. Mar 2021, at 16:49, bob prohaska <fbsd@www.zefox.net> >>>>> wrote: >>>>>=20 >>>>> ???After a _very_ long time www/chromium finished compiling on a >>>>> Pi3B+. I'd like to test it before installing, since I have a >>>>> (mostly) working version in /usr/local/bin and don't want to >>>>> overwrite it until I know the new version works at least as >>>>> well as the old one.=20 >>>>>=20 >>>>> Poking around in the source tree didn't disclose any obvious=20 >>>>> executable, could somebody offer a hint at test methods, if any? >>>>>=20 >>>>> Thanks for reading, >>>>>=20 >>>>> bob prohaska >>>>>=20 >>>>> _______________________________________________ >>>>> freebsd-ports@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >>>>> To unsubscribe, send any mail to >>>>> "freebsd-ports-unsubscribe@freebsd.org" =20 >>>>=20 >>>>=20 >>=20 >>=20 >>=20 >> --=20 >> Michael Gmelin > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83BF04F7-BBE2-4E7C-8B27-D2FF2BAEBB64>