Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 380197

Summary: x11-wm/emerald pollutes pkg-config Libs space
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Desktop-Effects herd <desktop-effects+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354479    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-22 08:32:57 UTC
As per summary: the EMERALD_LIBS and EMERALD_CFLAGS variables substituted in the .pc files are the expansion of what is found by Require:

The problem is that by doing this, -lpng14 is written to emeraldengine.pc and nothing will build against it until rebuilt, when updating to libpng 1.5 (and so on).
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-09-14 20:48:07 UTC
I hope I got it right.

+  14 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> emerald-0.8.4-r2.ebuild,
+  +files/emerald-0.8.4-pkgconfig-pollution.patch:
+  Use Requires.private and Libs.private instead of Requires and Libs wrt
+  #380197 by Diego Elio Pettenò

Without revbump, I don't really expect emerald to cause any real problems, with only 1-2 reverse deps (likely not using the engine at all)