[opensuse-packaging] Why include dirs diffrent at freetype2 2.5.5 and 2.6.3

One question about include-dirs in freetype. But also seen in other libs. In 2.5.5 from Leap 42.1 the include dir is: /usr/include/freetype2/*.h In 2.6.3 from Leap 42.2 the include dir is: /usr/include/freetype2/freetype/*.h What is the reason about the diffrent? And when this should correct, what must i do in packages to build? Other things are in /usr/include/foo_lib/*.h and some in /usr/include/foo_lib/foo_lib/*h -- Regards Eric -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

* Eric Schirra (ecsos@opensuse.org) [20160719 12:34]:
What is the reason about the diffrent?
There are a few possible reasons, most probably because upstream changed the path. But an error on the packagers side is possible too. You have to either try to contact the packager or look at the sources to get an answer.
I'd say foo_lib/foo_lib is an error and should be fixed but I'd have to see a real example to confirm that. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

On Tue, 2016-07-19 at 12:33 +0200, Eric Schirra wrote:
Freetype is special and you are not supposed to include headers like this... see https://www.freetype.org/freetype2/docs/reference/ft2-header_inclusion. html Cheers, Dominique

On Tue, Jul 19, 2016 at 6:33 AM, Eric Schirra <ecsos@opensuse.org> wrote:
And when this should correct, what must i do in packages to build?
You should use pkgconfig to determine the correct include dir. pkg-config --cflags freetype2 and follow the header inclusion instructions that Dominique pointed out in his message. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

* Eric Schirra (ecsos@opensuse.org) [20160719 12:34]:
What is the reason about the diffrent?
There are a few possible reasons, most probably because upstream changed the path. But an error on the packagers side is possible too. You have to either try to contact the packager or look at the sources to get an answer.
I'd say foo_lib/foo_lib is an error and should be fixed but I'd have to see a real example to confirm that. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

On Tue, 2016-07-19 at 12:33 +0200, Eric Schirra wrote:
Freetype is special and you are not supposed to include headers like this... see https://www.freetype.org/freetype2/docs/reference/ft2-header_inclusion. html Cheers, Dominique

On Tue, Jul 19, 2016 at 6:33 AM, Eric Schirra <ecsos@opensuse.org> wrote:
And when this should correct, what must i do in packages to build?
You should use pkgconfig to determine the correct include dir. pkg-config --cflags freetype2 and follow the header inclusion instructions that Dominique pointed out in his message. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Cristian Rodríguez
-
Dominique Leuenberger / DimStar
-
Eric Schirra
-
Philipp Thomas