Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910189 - games-board/gnome-mahjongg-3.40.0 missing dependency gui-libs/libadwaita:1[vala]
Summary: games-board/gnome-mahjongg-3.40.0 missing dependency gui-libs/libadwaita:1[vala]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-07-10 11:26 UTC by Peter Fox
Modified: 2024-08-03 08:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (mahjongg.info,6.62 KB, text/plain)
2023-07-10 11:33 UTC, Peter Fox
Details
build log (mahjongg.blog,33.10 KB, text/plain)
2023-07-10 11:34 UTC, Peter Fox
Details
Proposed patch (gnome-mahjongg-3.40.0.ebuild.patch,333 bytes, patch)
2023-07-10 11:39 UTC, Peter Fox
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fox 2023-07-10 11:26:38 UTC
gnome-mahjongg fails to build if libadwaita not built with vala support:

FAILED: src/gnome-mahjongg.p/game.c src/gnome-mahjongg.p/game-view.c src/gnome-mahjongg.p/gnome-mahjongg.c src/gnome-mahjongg.p/history.c src/gnome-mahjongg.p/map.c src/gnome-mahjongg.p/score-dialog.c src/gnome-mahjongg.p/window.c src/gnome-mahjongg.p/preferences.c 
/usr/bin/valac-0.56 -C --pkg librsvg-2.0 --pkg libadwaita-1 --pkg gtk4 --target-glib ' 2.40.0' --pkg glib-2.0 --color=always --directory src/gnome-mahjongg.p --basedir ../gnome-mahjongg-3.40.0/src --gresources=../gnome-mahjongg-3.40.0/data/org.gnome.Mahjongg.gresource.xml --pkg=posix ../gnome-mahjongg-3.40.0/src/config.vapi ../gnome-mahjongg-3.40.0/src/game.vala ../gnome-mahjongg-3.40.0/src/game-view.vala ../gnome-mahjongg-3.40.0/src/gnome-mahjongg.vala ../gnome-mahjongg-3.40.0/src/history.vala ../gnome-mahjongg-3.40.0/src/map.vala ../gnome-mahjongg-3.40.0/src/score-dialog.vala ../gnome-mahjongg-3.40.0/src/window.vala ../gnome-mahjongg-3.40.0/src/preferences.vala
error: Package `libadwaita-1' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)


Reproducible: Always

Steps to Reproduce:
1. emerge =games-board/gnome-mahjongg-3.40.0
2.
3.
Actual Results:  
Emerge fails

Expected Results:  
Emerge builds

Modify the ebuild to include [vala] lin libadwaita dependency line
Comment 1 Peter Fox 2023-07-10 11:33:46 UTC
Created attachment 865330 [details]
emerge info
Comment 2 Peter Fox 2023-07-10 11:34:23 UTC
Created attachment 865331 [details]
build log
Comment 3 Peter Fox 2023-07-10 11:39:09 UTC
Created attachment 865332 [details, diff]
Proposed patch

Add vala requirement for libadwaita
Comment 4 Larry the Git Cow gentoo-dev 2024-08-03 08:07:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6540e5e9b95a6b6de03ab9c5f85ce4a82370ab

commit ad6540e5e9b95a6b6de03ab9c5f85ce4a82370ab
Author:     Chris Mayo <aklhfex@gmail.com>
AuthorDate: 2024-05-20 18:22:04 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-08-03 08:06:11 +0000

    games-board/gnome-mahjongg: add libadwaita[vala] dependency
    
    Closes: https://bugs.gentoo.org/910189
    Signed-off-by: Chris Mayo <aklhfex@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36314
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 games-board/gnome-mahjongg/gnome-mahjongg-3.40.1.ebuild | 1 +
 1 file changed, 1 insertion(+)