[AD] [ alleg-Bugs-2971931 ] loadpng.h gets installed to /usr/include/

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Bugs item #2971931, was opened at 2010-03-17 14:42
Message generated for change (Tracker Item Submitted) made by ssuominen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2971931&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Samuli Suominen (ssuominen)
Assigned to: Nobody/Anonymous (nobody)
Summary: loadpng.h gets installed to /usr/include/

Initial Comment:
History: 

I've recently migrated some 50+ applications to libpng 1.4.1 API and noticed this generic name, loadpng.h, being used in several of these. Programs, old games, ...

In short:

The loadpng.h is way too common name to be installed directly under /usr/include/ as it will potentially break building of these 3rd party applications.

Solution:

Since loadpng.pc is installed, pkg-config --cflags loadpng could list /usr/include/loadpng/ directory as -I flag
and loadpng.h could get installed under /usr/include/loadpng/ instead of /usr/include/

hope that clears it up :)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2971931&group_id=5665




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/