Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

298.1. remmina-1.4.43

Remote desktop client (GTK 3) for RDP, VNC, SPICE and SSH

Version 1.4.43, release 1
Shelf virt — Virtual machines, their tooling, and remote-desktop and VNC protocols
Phase 44_apps (Applications), 418 of 422 in build order
Licence GPL-2.0-or-later
Homepage https://remmina.org/
Build time 4.0 SBU
Installed size 1.8 MiB in 368 files
Recipe ports/core/virt/remmina/kpkgbuild

About

Remmina is a GTK 3 remote desktop client. Each protocol is a plugin: RDP through FreeRDP 3, VNC through libvncserver’s client library, SPICE through spice-gtk, and SSH and SFTP through libssh with a VTE terminal. Saved passwords go through libsecret.

Sources

Dependencies

Depends on: cmake, ninja, pkgconf, libintl, gtk3, glib, cairo, pango, json-glib, curl, pcre2, openssl, libsodium, libgcrypt, libsecret, freerdp, libvncserver, gnutls, libssh, vte3, spice-gtk, cups, zlib, libjpeg-turbo, libX11, shared-mime-info, hicolor-icon-theme, libayatana-appindicator.

Required by: no port names it.

Patches

build.sh applies these; kpkg applies nothing by itself.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install remmina'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/virt/remmina.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/virt/remmina
echo '16533f8a806daff524649bb45ae51e51f61685da94846006018b3c279ebe7035  remmina-1.4.43.tar.gz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/remmina
SRC=$SRC_ROOT/remmina-1.4.43
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf remmina-1.4.43.tar.gz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

patch -p1 -i "$PORT_SRC/vnc-link-gnutls.patch"

LDFLAGS="$LDFLAGS -lintl" \
cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D CMAKE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D WITH_FREERDP3=ON \
	-D WITH_NEWS=OFF \
	-D WITH_STATS=OFF \
	-D WITH_TIP=OFF \
	-D WITH_WWW=OFF \
	-D WITH_KF5WALLET=OFF \
	-D WITH_GVNC=OFF \
	-D WITH_X2GO=OFF \
	-D WITH_NX=OFF \
	-D WITH_XDMCP=OFF \
	-D WITH_ST=OFF \
	-D WITH_PYTHONLIBS=OFF \
	-D WITH_VTE=ON \
	-D WITH_MANPAGES=ON \
	-D WITH_TRANSLATIONS=OFF \
	-D WITH_KIOSK_SESSION=OFF \
	-D WITH_ICON_CACHE=OFF \
	-D WITH_UPDATE_DESKTOP_DB=OFF \
	-D HAVE_LIBAPPINDICATOR=ON \
	-D WITH_AVAHI=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_WinPR=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_FreeRDP=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_FreeRDP-Client=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_SharedMimeInfo=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_LIBSSH=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_LIBVNCSERVER=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Spice=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Libsecret=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_VTE=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_GCRYPT=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Cups=ON \
	-D VERSION=$version \
	-D prefix=/usr \
	-D exec_prefix=/usr \
	-D libdir=/usr/lib \
	-D includedir=/usr/include \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
grep -q "^includedir=/usr/include$" "$PKG/usr/lib/pkgconfig/remmina.pc"

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/remmina, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf remmina-1.4.43-1.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/remmina, and runs the triggers its paths call for.

Contents

Installed programs: remmina, remmina-file-wrapper.

Installed directories: /usr/include/remmina, /usr/lib/remmina, /usr/share/icons/hicolor/apps, /usr/share/licenses/remmina, /usr/share/remmina.

Short descriptions

remmina Remmina the GTK+ Remote Desktop Client
remmina.pc The GTK+ Remote Desktop Client