Package Details: floorp 11.11.2-1

Git Clone URL: https://aur.archlinux.org/floorp.git (read-only, click to copy)
Package Base: floorp
Description: Firefox-based web browser focused on performance and customizability
Upstream URL: https://github.com/Floorp-Projects/Floorp
Licenses: cc-by-nc-sa-4.0, MPL-2.0
Conflicts: floorp
Provides: floorp
Submitter: nsk1010
Maintainer: nsk1010 (xiota)
Last Packager: xiota
Votes: 14
Popularity: 1.49
First Submitted: 2022-06-30 09:53 (UTC)
Last Updated: 2024-03-25 16:17 (UTC)

Dependencies (47)

Required by (0)

Sources (5)

Pinned Comments

xiota commented on 2024-01-17 22:35 (UTC) (edited on 2024-03-25 16:27 (UTC) by xiota)

aur/floorp now builds from source. Binary package available at aur/floorp-bin.

  • If you have problems building:

    • Try clearing cached sources.
    • Try building in a clean chroot.
    • Provide details needed to reproduce the problem: build environment, computer specs, graphics card, desktop environment, commands used to build, etc.
    • Provide the full log in a pastebin.
  • Some options are available by setting environment variables:

    • _build_pgo=false: Don't use profile-guided optimization (PGO). (Builds faster, but runs slower.)
    • _build_pgo_reuse=false: Make new PGO profile.
    • _build_pgo_xvfb=true: Profile with xvfb-run instead of wlheadless-run.
    • _build_private=false: Do not include "private" components.
  • To reduce rebuild times, this package attempts to save and reuse PGO profiles for patch-level releases. Profiles are regenerated for new major and minor releases. (major.minor.patch)

Latest Comments

1 2 3 4 Next › Last »

xiota commented on 2024-03-25 16:18 (UTC) (edited on 2024-03-25 16:20 (UTC) by xiota)

Previously removed features are re-enabled. Building from source again has same features as binary package.

xiota commented on 2024-03-19 21:48 (UTC) (edited on 2024-03-20 11:06 (UTC) by xiota)

Some features were removed from the main Floorp repo a few days ago: CSK, Running extensions, Workspaces, Split view, Status bar, private containers.

Until further notice, they will be unavailable when building from source. They are still available in the binary package.

xiota commented on 2024-02-19 03:27 (UTC) (edited on 2024-02-19 17:46 (UTC) by xiota)

I'm still trying to figure out why PGO doesn't work on some systems. On two different build machines, xvfb-run and xwayland-run both work on one but not the other.

Update: Problem seems to be that I removed the MOZ_ENABLE_FULL_SYMBOLS=1 variable. Don't know why it affects building on one system but not another. Package has been updated and should work now.

jahiy commented on 2024-02-17 07:29 (UTC) (edited on 2024-02-17 08:04 (UTC) by jahiy)

The wlheadless-run version with pkgctl build also works for me now after adding the following lines:

export XDG_RUNTIME_DIR="$PWD/xdg"
mkdir "$XDG_RUNTIME_DIR"

https://gist.github.com/JaHIY/81cdb2bc36510f777ef3e7a3782cac64/revisions

jahiy commented on 2024-02-17 00:29 (UTC)

It is successful to compile it with pkgctl build (in Arch clean chroot) by using xvfb-run instead of wlheadless-run, but still with git repo.

Updated PKGBUILD here: https://gist.github.com/JaHIY/81cdb2bc36510f777ef3e7a3782cac64

jahiy commented on 2024-02-16 00:42 (UTC)

@xiota OK, I'll try to compile it again without sccache. And perhaps you are right. It is not the better way to use git repo instead of tar.gz.

xiota commented on 2024-02-15 22:10 (UTC)

@jahiy sccache is not useful with PGO. The cache prevents optimization or has to be discarded for the recompilation stage. Your build probably "succeeded" by silently disabling PGO.

Shallow clones have to be redownloaded, so waste bandwidth on rebuild, relative to the tarball. Shallow clones have to be setup by the user in makepkg.conf.

Your PKGBUILD also discards and redownloads submodules on rebuild, wasting more bandwidth.

jahiy commented on 2024-02-15 08:28 (UTC) (edited on 2024-02-15 08:29 (UTC) by jahiy)

@xiota

The bandwidth usage you mentioned cannot be ignored. Using git repo requires downloading about 4GB of data, while downloading tar.gz only requires 700MB. However, using git repo allows for the synchronization of submodules using git submodule, which is very convenient. Perhaps we can use the git clone -b <tagname> --depth 1 <repository> to obtain a shallow copy of the repo.

There's one more thing I almost forgot to mention. I also set --with-ccache=sccache in mozconfig, but I don't know whether it really speed up compilation.

xiota commented on 2024-02-15 07:25 (UTC) (edited on 2024-02-15 22:11 (UTC) by xiota)

@jahiy Thanks. I'll take a look. The problem with MOZ_PGO=1 is it previously didn't work in Arch clean chroot. This will probably take some time to solve.

The problem with using the git repo is it uses more bandwidth up front. With Floorp, you would probably make it up after [6] builds without clearing cache. For Firefox, probably over 15 builds would be required. I'll think about it more after I figure out the PGO issue.