From owner-freebsd-ports@freebsd.org Sat Mar 13 18:21:08 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4AD8257E5C2 for ; Sat, 13 Mar 2021 18:21:08 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DyWGC6RlVz3C0J; Sat, 13 Mar 2021 18:21:07 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id e00b2ba4; Sat, 13 Mar 2021 18:21:05 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id d06bbd0c (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Sat, 13 Mar 2021 18:21:03 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Testing www/chromium before installing From: Michael Gmelin In-Reply-To: <20210313175136.GA72527@www.zefox.net> Date: Sat, 13 Mar 2021 19:21:03 +0100 Cc: freebsd-ports@freebsd.org Message-Id: <83BF04F7-BBE2-4E7C-8B27-D2FF2BAEBB64@freebsd.org> References: <20210313175136.GA72527@www.zefox.net> To: bob prohaska X-Mailer: iPhone Mail (18D52) X-Rspamd-Queue-Id: 4DyWGC6RlVz3C0J X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2021 18:21:08 -0000 > On 13. Mar 2021, at 18:51, bob prohaska 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 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 >>>>> 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"