Bug 199778 - sys-fs/ecryptfs-utils-30 fails to find GTK+
Bug#: 199778 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: masterdriverz@gentoo.org Reported By: farcaller@gmail.com
Component: Applications
URL: 
Summary: sys-fs/ecryptfs-utils-30 fails to find GTK+
Keywords:  
Status Whiteboard: 
Opened: 2007-11-20 14:11 0000
Description:   Opened: 2007-11-20 14:11 0000
configure script for ecryptfs (USE="doc gpg gtk openssl pam -pkcs11") fails:

checking for GTK... sh: gtk-config: command not found
sh: gtk-config: command not found
sh: gtk-config: command not found
no
configure: error: Cannot locate gtk+

I have gtk+-2.12.1-r1. Maybe ecryptfs should use pkg-config instead?

Reproducible: Always

Steps to Reproduce:
1. emerge ecryptfs-utils

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-11-20 17:54:59 0000 -------
STRANGE!
It does not use gtk-config.
Can you please attach config.log?

------- Comment #2 From Vladimir Pouzanov 2007-11-22 12:01:56 0000 -------
Created an attachment (id=136673) [details]
config.log

Here it is

------- Comment #3 From Alon Bar-Lev (RETIRED) 2007-11-22 20:32:45 0000 -------
gtk-config is called within pkg-config.
Can you please:
$ grep gtk-config /usr/lib/pkgconfig/*

------- Comment #4 From Alon Bar-Lev (RETIRED) 2007-11-22 20:42:13 0000 -------
Created an attachment (id=136708) [details]
ecryptfs-utils-30-gtk.patch

Can you please try this patch?

------- Comment #5 From Alon Bar-Lev (RETIRED) 2007-12-04 06:46:15 0000 -------
Vladimir?

------- Comment #6 From Vladimir Pouzanov 2007-12-04 09:46:04 0000 -------
The patch is ok. Bug fixed.

------- Comment #7 From Alon Bar-Lev (RETIRED) 2007-12-04 11:02:30 0000 -------
Thanks.