After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 53375 - Correct example Makefiles to use pkg-config
Correct example Makefiles to use pkg-config
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-04-19 13:39 UTC by Skip Montanaro
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Skip Montanaro 2001-04-19 13:39:09 UTC
The gtk+ examples directory still uses the obsolete gtk-config command.
The referenced URL contains a context diff that replaces gtk-config with
pkg-config.
Comment 1 Havoc Pennington 2001-04-19 14:20:09 UTC
Patch looks OK except that options should go before args, i.e. 
"--cflags gtk+-2.0" rather than "gtk+-2.0 --cflags", the reason is
that if you have the POSIXLY_CORRECT env variable set then options are
not allowed after args, and this results in people getting confused.
Comment 2 Owen Taylor 2001-11-02 15:22:37 UTC
Applied with a little bit of patch surgery to fix the
order of arguments.

Fri Nov  2 10:21:03 2001  Owen Taylor  <otaylor@redhat.com>

	* examples/**/Makefile.am: Convert to use pkg-config
	rather than gtk-config. (#53375, Skip Montanaro)
Comment 3 Bugzilla Maintainers 2004-04-01 23:44:57 UTC
The URL field has been removed from bugzilla.gnome.org. This URL was in the old URL field, and is being added as a comment so that the data is not lost. Please email bugmaster@gnome.org if you have any questions.

URL: 
http://orca.mojam.com/~skip/gtk-examples.diffs