tags 782702 +pending thanks Thanks! Committed to git [1] will be uploaded after alglib-3.9.0 will be accepted by FTP-masters.
[1] http://anonscm.debian.org/cgit/debian-science/packages/alglib.git/commit/?h=experimental&id=6cb9e0591b611b504321d8afe79d29ac0d3c58cf Cheers Anton 2015-04-16 14:34 GMT+02:00 Vincent Nivoliers <vincent.nivoli...@univ-lyon1.fr>: > Package: libalglib-dev > Version: 3.8.2-3 > Severity: minor > Tags: patch > > When the package is installed, the header files are installed directly in > /usr/include. This creates for instance a file "/usr/include/statistics.h". > > 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. > > 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. > > diff -Naur alglib-3.8.2/CMakeLists.txt alglib-3.8.2_mine/CMakeLists.txt > --- alglib-3.8.2/CMakeLists.txt 2015-04-16 13:58:58.000000000 +0200 > +++ alglib-3.8.2_mine/CMakeLists.txt 2015-04-16 14:07:06.148389902 +0200 > @@ -13,7 +13,7 @@ > SOVERSION ${SOVERSION}) > > INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/) > -INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) > +INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION > ${CMAKE_INSTALL_INCLUDEDIR}/libalglib) > > #=========================================================== > ADD_EXECUTABLE(test_c tests/test_c.cpp) > diff -Naur alglib-3.8.2/debian/libalglib-dev.install > alglib-3.8.2_mine/debian/libalglib-dev.install > --- alglib-3.8.2/debian/libalglib-dev.install 2013-11-10 > 09:42:53.000000000 +0100 > +++ alglib-3.8.2_mine/debian/libalglib-dev.install 2015-04-16 > 13:47:07.470418446 +0200 > @@ -1,2 +1,2 @@ > -usr/include/* > +usr/include/libalglib* > usr/lib/*/libalglib.so > > -- System Information: > Debian Release: 8.0 > APT prefers testing > APT policy: (990, 'testing'), (600, 'unstable'), (500, 'testing-updates') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores) > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages libalglib-dev depends on: > ii libalglib3.8 3.8.2-3 > > libalglib-dev recommends no packages. > > libalglib-dev suggests no packages. > > -- no debconf information > > -- > debian-science-maintainers mailing list > debian-science-maintainers@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers