Hi there. I’m trying to build gnome-shell. That fails for me with:
ERROR: Error in gtkdoc helper script:
ERROR: ['/usr/bin/gtkdoc-mkhtml', '--path=/build/gnome-shell/src/gnome-shell/docs/reference/shell:/build/gnome-shell/src/build/docs/reference/shell', 'shell', '../shell-docs.sgml'] failed with status 6
warning: failed to load external entity "../xml/shell-recorder.xml"
../shell-docs.sgml:41: element include: XInclude error : could not load ../xml/shell-recorder.xml, and no fallback was found
Since I’m really new to building+packaging, any help for this would be great. I have used and updated the Arch Linux PKGBUILD:
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Flamelab <panosfilip@gmail.com
pkgname=gnome-shell
pkgver=3.38.0
pkgrel=1
epoch=1
pkgdesc="Next generation desktop shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch=(x86_64)
license=(GPL2)
depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libgdm libsecret
mutter nm-connection-editor unzip gstreamer libibus gnome-autoar gnome-disk-utility)
makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
sassc asciidoc bash-completion)
optdepends=('gnome-control-center: System settings'
'evolution-data-server: Evolution calendar integration')
groups=(gnome)
install=gnome-shell.install
_commit=de78ed980c1ee5d900926df4c159c27b08991da4 # tags/3.38.0^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
git submodule init
git submodule set-url subprojects/gvc "$srcdir/libgnome-volume-control"
git submodule update
}
build() {
arch-meson $pkgname build -D gtk_doc=true
meson compile -C build
}
package() {
depends+=(libmutter-7.so)
DESTDIR="$pkgdir" meson install -C build
}