mesonbuild / mesonbuild/meson

Add 'follow_symlinks' support to gnome.yelp ()

Open
#13,636 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
1.9k
Avg merge
2d 6h
Merged PRs (30d)
33

Description

Downstream bug report: https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2612

Meson throws the following warning when doing an install, as `gnome.yelp()` doesn't have `follow_symlinks` support added yet.

```
Warning: trying to copy a symlink that points to a file. This currently copies
the file by default, but will be changed in a future version of Meson to copy
the link instead. Set follow_symlinks to true to preserve current behavior, or
false to copy the link.
```
The following is [help/C/figures/scalable/symbolic](https://github.com/GNOME/gnome-software/tree/main/help/C/figures/scalable/symbolic) subtree of `gnome-software` app.

### Screenshot of help subtree:

![gs-help-symlinks](https://github.com/user-attachments/assets/1045b1cf-ffd4-42dd-856c-b89db85821b1)

Contributor guide

Open the contributing guide

Research direction

Start at the gnome.yelp() implementation and use the linked gnome-software help subtree as the reproduction case. Check how the install handles its symlinks, then verify that gnome.yelp() accepts follow_symlinks and that the reported Meson warning is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.