Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877611 - gnome-base/gnome-keyring-42.1: does not need to depend on app-crypt/gcr[gtk]
Summary: gnome-base/gnome-keyring-42.1: does not need to depend on app-crypt/gcr[gtk]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-19 02:41 UTC by Jocelyn Mayer
Modified: 2022-10-26 23:02 UTC (History)
2 users (show)

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


Attachments
output from emerge --info =gnome-base/gnome-keyring-42.1 (emerge_infos,24.32 KB, text/plain)
2022-10-19 03:13 UTC, Jocelyn Mayer
Details
Proposed patch to add gtk+ dependency optional (gnome-keyring-42.1-disable-gtk.patch,1.69 KB, patch)
2022-10-19 03:15 UTC, Jocelyn Mayer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Mayer 2022-10-19 02:41:40 UTC
for machines (servers) without any GUI, no X11, thus no GTK+ installed, gnome-keyring is able to build using app-crypt/gcr[-gtk], using a quite simple patch mostly in configure.ac file in order to add a '--disable-gtk' configure flag.

Reproducible: Always

Steps to Reproduce:
1. Choose a machine build with USE="-X -gtk'
2. Try to build gnome-keyring package
3. Configuration fails due to lack of libgcr presence
Actual Results:  
Configure script check inconditionnaly for libgcr presence, but it is absent when app-crypt/libgcr is build with '-gtk' USE flag

Expected Results:  
Adding a '--disable-gtk' to gnome-keyring configure script and make libgcr check optional.
With a small additional patch gnome-keyring is able to build and the daemon can run, even if it warns about XDISPLAY absence at startup

A merge request has been submitted to gitlab.gnome.org. Will update with the link asap.
Comment 1 Jocelyn Mayer 2022-10-19 03:13:31 UTC
Created attachment 824719 [details]
output from emerge --info =gnome-base/gnome-keyring-42.1
Comment 2 Jocelyn Mayer 2022-10-19 03:15:23 UTC
Created attachment 824721 [details, diff]
Proposed patch to add gtk+ dependency optional

This patch adds an '--disable-gtk' option to configure.ac and changes two headers inclusions, using gcr/gcr-base.h instead of gcr/gcr.h.
Comment 3 Jocelyn Mayer 2022-10-19 06:59:35 UTC
Just openned an issue on Gnome gitlab site:
https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/121