Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215216 - dev-util/glade ebuilds incorrectly set G2CONF in pkg_config instead of pkg_setup.
Summary: dev-util/glade ebuilds incorrectly set G2CONF in pkg_config instead of pkg_se...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
: 206567 (view as bug list)
Depends on:
Blocks: 192812 201962
  Show dependency tree
 
Reported: 2008-03-28 16:17 UTC by Philippe Chaintreuil
Modified: 2008-03-29 19:31 UTC (History)
2 users (show)

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


Attachments
Patch to replace glade-{2.6,3}*.ebuild files use pkg_setup instead of pkg_config for setting G2CONF (glade_pkg_config_2_setup.patch,2.48 KB, patch)
2008-03-28 16:31 UTC, Philippe Chaintreuil
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Chaintreuil 2008-03-28 16:17:59 UTC
All the current dev-util/glade ebuilds incorrectly set G2CONF in pkg_config instead of pkg_setup.

pkg_config is only executed if and when the user runs: emerge --config =${PF}.

pkg_setup is used to set G2CONF for anjuta & devhelp, so I figure that's where the code belongs for glade.

This makes the gnome use flag pretty much do nothing as it stands.



Reproducible: Always
Comment 1 Philippe Chaintreuil 2008-03-28 16:21:43 UTC
"All the current dev-util/glade ebuilds..."

That statement is incorrect, all the 2.6.12 ebuilds use pkg_setup correctly.
Comment 2 Philippe Chaintreuil 2008-03-28 16:31:50 UTC
Created attachment 147559 [details, diff]
Patch to replace glade-{2.6,3}*.ebuild files use pkg_setup instead of pkg_config for setting G2CONF

Attached a patch that should rename pkg_config functions pkg_setup on the affected ebuild files.

I only tested this change on the glade-2.6.8.ebuild since that's all I use -- but it seems simple enough that I'd assume it'll work on the 3.x versions.

You can verify it's working by watching the configure line when compiling starts.  The old way wouldn't have --enable-gnome or --disable-debug in the line at all -- now it should always be in there and react to your USE flag.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-28 17:51:18 UTC
*** Bug 206567 has been marked as a duplicate of this bug. ***
Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-03-29 19:31:49 UTC
Fixed.