konform-browser/bsys6
1
0
Fork
You've already forked bsys6
1
forked from librewolf/bsys6
Konform Browser build system https://konform-browser.codeberg.page/
  • Shell 97.9%
  • Dockerfile 2.1%
Find a file
Your Name 994580e2a0
Some checks are pending
Docker Image / Build image (push) Successful in 8m43s
ci/woodpecker/manual/woodpecker Pipeline is running
chore: update .gitignore
2026年06月20日 22:57:03 +00:00
.forgejo/workflows ci(forgejo): switch runner type 2026年06月14日 04:48:05 +00:00
.vscode Initial commit 2023年02月26日 17:49:32 +01:00
assets Fix provides and category for deb 2026年05月17日 12:58:19 +00:00
src chore: tidy up unnecessary scripts 2026年06月20日 22:56:46 +00:00
.dockerignore chore: add .dockerignore 2026年04月15日 07:55:31 +00:00
.gitignore chore: update .gitignore 2026年06月20日 22:57:03 +00:00
.woodpecker.yml ci(woodpecker): restrict release-script access to SIGNING_KEY 2026年06月20日 18:21:05 +00:00
bsys6 make shebang use /usr/bin/env 2023年08月23日 19:07:14 -04:00
bsys6_docker docker: local bsys6 image configurable via BSYS6_IMAGE env var 2026年05月17日 10:50:43 +00:00
LICENSE add license 2023年03月11日 12:57:39 +01:00
README.md docker: local bsys6 image configurable via BSYS6_IMAGE env var 2026年05月17日 10:50:43 +00:00

🛠️ bsys6

This repository should make it easy to build Konform Browser and various things around it, via Docker or directly on your system.

Usage

Right now this repository is only meant to be used on a x86_64 Linux system. You always run ./bsys6, followed by a chain of commands you want to run. The most important commands are the following, a arrow indicates a dependency to another command:

flowchart TB
 source --> build --> package --> deb & rpm

To view all commands, run ./bsys6 help. Commands can be customized by setting environment variables, most importantly:

Environment variable Description Possible values (bold is default)
TARGET The platform you want to build for. linux
ARCH The architecture that you want to build for. x86_64 arm64 i686
VERSION The version of Konform Browser to build. [latest version] [version tag].
WORKDIR The directory where the source code should be downloaded to and where the compilation should happen. ~/.local/share/bsys6/work [any directory]
SOURCE_TAR Optionally, a path to a local source tarball to use instead of downloading the VERSION-tarball from web. [any filepath]
BSYS6_IMAGE For docker commands, the bsys6 image name to build and run. codeberg.org/konform-browser/bsys6:$TARGET [any OCI image name]

For actually building Konform Browser, there are two options available:

Building with Docker

  1. Run ./bsys6_docker <COMMAND>. The available commands can be found above and the resulting artifact will be placed in your current directory.

    To build the image locally, run ./bsys6 build_image, optionally with the TARGET environment variable set to specify which image you want to build.

Building directly on your system

  1. Prepare all the dependencies for your system. You can do that by running ./bsys6 prepare.

    This step is only supported on Arch and Debian based systems, you will have to install the dependencies manually on other systems. If you want to cross-compile, also already set the TARGET environment variable to the platform you want to target before that to ensure all necessary dependencies are installed.

  2. Run ./bsys6 <COMMAND>. The available commands can be found above and the resulting artifact will be placed in your current directory.

Development

Structure

Directory Contents Arguments How to include
src/{command}.sh Commands that can be run by the user with ./bsys6 {command}. Can export new environment variables. Via environment variable With source
src/exports/*.sh Scripts that export environment variables, but shouldn't be run directly by the user. Via environment variable With source
src/utils/*.sh Scripts that don't export environment variables and shouldn't be run directly by the user. Via environment variable or positional arguments Run directly

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.