Why freeglut3-dev doesn't provide .pc file for pkg-config?
Asked Answered
I

0

5

Why latest Debian's Sid (Sid, which is after Debian Buster 10.0) testing repositories doesn't contain .pc file for pkg-config?

Result of dpkg -L freeglut3-dev:

/.
/usr
/usr/include
/usr/include/GL
/usr/include/GL/glut.h
/usr/include/GL/freeglut_std.h
/usr/include/GL/freeglut_ext.h
/usr/include/GL/freeglut.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libglut.a
/usr/share
/usr/share/doc
/usr/share/doc/freeglut3-dev
/usr/share/doc/freeglut3-dev/changelog.gz
/usr/share/doc/freeglut3-dev/index.html
/usr/share/doc/freeglut3-dev/progress.html
/usr/share/doc/freeglut3-dev/ogl_sm.png
/usr/share/doc/freeglut3-dev/download.html
/usr/share/doc/freeglut3-dev/freeglut_user_interface.html
/usr/share/doc/freeglut3-dev/copyright
/usr/share/doc/freeglut3-dev/freeglut_logo.png
/usr/share/doc/freeglut3-dev/freeglut.html
/usr/share/doc/freeglut3-dev/structure.html
/usr/share/doc/freeglut3-dev/changelog.Debian.gz
/usr/lib/x86_64-linux-gnu/libglut.so

Note that in freeglut's repository there is freeglut.pc.in file and is included in CMakeLists.txt.

I know that there are some threads about this issue, but they don't refer to any Linux distribution.

Related question: installing Freeglut on Linux.

Inamorata answered 8/10, 2015 at 13:30 Comment(4)
This post is more appropriate for Debian bugtracker, isn't it?Chowchow
Someone already posted it on Debian bugtracker.Inamorata
BTW: Lack of .pc file for freeglut isn't big problem, because CMake has GLUT's CMake module (which is preferred). You can check it running cmake --help-module-list | grep -i glut.Inamorata
Lack of .pc file is actually a problem if you build project without CMake.Chowchow

© 2022 - 2024 — McMap. All rights reserved.