[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 (Comment added) 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: Closed
Resolution: Wont Fix
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 :)

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

Comment By: Samuli Suominen (ssuominen)
Date: 2010-03-17 16:01

Message:
OK, thanks for reply. I've moved the loadpng.h back to /usr/include in our
(gentoo linux) package 

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

Comment By: Peter Wang (tjaden)
Date: 2010-03-17 15:29

Message:
Yes, it wasn't such a good idea to name it loadpng.h. Still, I'd rather not
move it, or have it in different locations on Unix vs other platforms. If
another program has a different loadpng.h, it can probably will be found
correctly with #include "loadpng.h" syntax so it shouldn't be fatal.


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

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/