#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 25. Graphical Environment Libraries

- Prev

  xdg-desktop-portal-1.20.0

- Next

  Display Managers

- Up
- Home

# xdg-desktop-portal-gtk-1.15.2

## Introduction to xdg-desktop-portal-gtk

xdg-desktop-portal-gtk is a backend for xdg-desktop-portal, that is using GTK and various pieces of GNOME infrastructure.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://github.com/flatpak/xdg-desktop-portal-gtk/releases/download/1.15.2/xdg-desktop-portal-gtk-1.15.2.tar.xz

- Download MD5 sum: a84f2748611383cd1d1731542de7bce0

- Download size: 92 KB

- Estimated disk space required: 6.3 MB

- Estimated build time: 0.1 SBU

### xdg-desktop-portal-gtk Dependencies

#### Required

GTK-3.24.48 and xdg-desktop-portal-1.20.0

#### Recommended

gnome-desktop-44.1 (for compiling more portal interfaces)

## Installation of xdg-desktop-portal-gtk

Install xdg-desktop-portal-gtk by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

This package does not come with a test suite.

Now, as the `root` user:

    ninja install

Remove systemd files that are useless (as the `root` user):

    rm -rvf /usr/lib/systemd

## Contents

Installed Program: one daemon in /usr/libexec
Installed Library: None
Installed Directory: /usr/share/xdg-desktop-portal (if no other xdg-desktop-portal backend is installed)

- Prev

  xdg-desktop-portal-1.20.0

- Next

  Display Managers

- Up
- Home