Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

logos-co/logos-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logos-app

How to Build

Using Nix (Recommended)

Build Complete Application

# Build everything (default)
nix build

# Or explicitly
nix build '.#default'

The result will include:

  • /bin/logos-app - The main Logos application executable
  • All required modules and dependencies

Build Individual Components

# Build only the main application
nix build '.#app'

Development Shell

# Enter development shell with all dependencies
nix develop

Note: In zsh, you need to quote the target (e.g., '.#default') to prevent glob expansion.

If you don't have flakes enabled globally, add experimental flags:

nix build --extra-experimental-features 'nix-command flakes'

The compiled artifacts can be found at result/

Running the Application

After building with nix build, you can run the application:

# Run the main Logos application
./result/bin/logos-app

The application will automatically load all required modules and dependencies. All components are bundled in the Nix store layout.

macOS Distribution (Experimental)

Build a standalone .app bundle or DMG installer for macOS. This is experimental and intended for testing purposes.

# Build .app bundle
nix build '.#app-bundle'

# Build DMG installer
nix build '.#dmg'

The outputs will be at:

  • result/LogosApp.app/ - Application bundle
  • result/LogosApp.dmg - DMG installer

Linux AppImage (Experimental)

Build a self-contained AppImage on Linux hosts:

nix build '.#appimage'

The output will be at result/LogosApp-<version>.AppImage.

Nix Organization

The nix build system is organized into modular files in the /nix directory:

  • nix/default.nix - Common configuration and main application build
  • nix/app.nix - Application-specific compilation settings
  • nix/main-ui.nix - UI components compilation
  • nix/counter.nix - Counter module compilation
  • nix/macos-bundle.nix - macOS .app bundle (darwin only)
  • nix/macos-dmg.nix - macOS DMG installer (darwin only)

Requirements

Build Tools

  • CMake (3.16 or later)
  • Ninja build system
  • pkg-config

Dependencies

  • Qt6 (qtbase)
  • Qt6 Widgets (included in qtbase)
  • Qt6 Remote Objects (qtremoteobjects)
  • logos-liblogos
  • logos-cpp-sdk (for header generation)
  • logos-capability-module
  • logos-package-manager
  • zstd
  • krb5
  • abseil-cpp

Disclaimer

This repository forms part of an experimental development environment and is not intended for production use.

See the Logos Core repository for additional information about the experimental development environment: https://github.com/logos-co/logos-liblogos