<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="monospace">Package: libalglib-dev<br>
Version: 3.8.2-3<br>
Severity: minor<br>
Tags: patch<br>
</font><br>
<font face="monospace">When the package is installed, the header
files are installed directly in /usr/include. This creates for
instance a file "/usr/include/statistics.h". <br>
<br>
I suggest to create a folder "libalglib" in /usr/include to
install the headers there. This is the behaviour found in other
distributions like for instance archlinux.<br>
<br>
Although I am no debian packaging specialist, downloading the
source package and modifying it as follows yields the desired
behaviour when the package is built and installed.<br>
<br>
diff -Naur alglib-3.8.2/CMakeLists.txt
alglib-3.8.2_mine/CMakeLists.txt<br>
--- alglib-3.8.2/CMakeLists.txt 2015-04-16 13:58:58.000000000
+0200<br>
+++ alglib-3.8.2_mine/CMakeLists.txt 2015-04-16
14:07:06.148389902 +0200<br>
@@ -13,7 +13,7 @@<br>
SOVERSION ${SOVERSION})<br>
<br>
INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/)<br>
-INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION
${CMAKE_INSTALL_INCLUDEDIR})<br>
+INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION
${CMAKE_INSTALL_INCLUDEDIR}/libalglib)<br>
<br>
#===========================================================<br>
ADD_EXECUTABLE(test_c tests/test_c.cpp)<br>
diff -Naur alglib-3.8.2/debian/libalglib-dev.install
alglib-3.8.2_mine/debian/libalglib-dev.install<br>
--- alglib-3.8.2/debian/libalglib-dev.install 2013-11-10
09:42:53.000000000 +0100<br>
+++ alglib-3.8.2_mine/debian/libalglib-dev.install 2015-04-16
13:47:07.470418446 +0200<br>
@@ -1,2 +1,2 @@<br>
-usr/include/*<br>
+usr/include/libalglib*<br>
usr/lib/*/libalglib.so<br>
<br>
-- System Information:<br>
Debian Release: 8.0<br>
APT prefers testing<br>
APT policy: (990, 'testing'), (600, 'unstable'), (500,
'testing-updates')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)<br>
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
<br>
Versions of packages libalglib-dev depends on:<br>
ii libalglib3.8 3.8.2-3<br>
<br>
libalglib-dev recommends no packages.<br>
<br>
libalglib-dev suggests no packages.<br>
<br>
-- no debconf information</font><br>
</body>
</html>