What build step builds the gnome-shell-theme.gresource files?

Asked by Anselm Schüler

I’m trying to manually build Yaru but my builds end up missing a few files that are present in the Ubuntu package.
What is this project doing differently to generate the files share/gnome-shell/gnome-shell-theme.gresource and share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource?

My current build process is:
$ meson ./build --prefix $(realpath ./out)
$ cd build; ninja install

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yaru-theme Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Details, please - Which Ubuntu release, from which repository did you download the source ...?

Ubuntu creates software packages in a standard way that is based on dpkg and debhelper.

The recommended way for building a package locally is using apt:

Add deb-src entries into the /etc/apt/source.list configuration file and execute the commands

apt install build-essential
apt depends yaru-theme
apt source --compile yaru-theme

If you have already downloaded the source files (and/or have made modifications), then you should run "dpkg-buildpackage" to build the package in the same way as Ubuntu does.

see also https://packaging.ubuntu.com/

Revision history for this message
Anselm Schüler (anselmschueler) said (last edit ):
#2

I’m trying to build it without apt as I’m planning to use the theme on a system without it in the future. However, currently I am using an Ubuntu 22.04 installation. I downloaded the source using git clone from GitHub, and am at commit 730235c. I’m asking what steps need to be done in addition to meson & ninja in order to generate the additional files present in the data portion of the Debian package but not in the output directory of the ninja install.

I have also attempted to build from a git clone from Launchpad at commit fb99563.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

If you don't want to use the Ubuntu tools, then you have to ask elsewhere.

Can you help with this problem?

Provide an answer of your own, or ask Anselm Schüler for more information if necessary.

To post a message you must log in.