D17940: Remove "libindi" prefix in header files

Thomas Stibor noreply at phabricator.kde.org
Thu Jan 3 13:49:12 GMT 2019


tstibor created this revision.
tstibor added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
tstibor requested review of this revision.

REVISION SUMMARY
  Compiling KStars with INDI support requires correct INDI_INCLUDE_DIR such that ${INDI_INCLUDE_DIR}/indiapi.h can be find
  in FindINDI.cmake.
  
  Compiling and installing INDI (master) in e.g.
  
    >ll /opt/indi
    drwxr-xr-x 2 root root 4096 Jan  3 14:13 bin
    drwxr-xr-x 3 root root 4096 Jan  3 14:13 include
    drwxr-xr-x 4 root root 4096 Jan  3 14:13 lib
    drwxr-xr-x 3 root root 4096 Jan  3 14:13 share
  
  and compiling KStars as follows
  
    cmake -DINDI_INCLUDE_DIR:PATH=/opt/indi/include/libindi .. && make
    ....
    -- The following OPTIONAL packages have been found:
    
     * KF5NotifyConfig
     * CFitsio , FITS IO Library , <http://heasarc.gsfc.nasa.gov/fitsio/fitsio.html>
       Support for the FITS (Flexible Image Transport System) data format in KStars.
     * INDI (required version >= 1.7.1) , Astronomical instrumentation control , <http://www.indilib.org>
       Support for controlling astronomical devices on Linux with KStars.
     * LibRaw , Library for reading RAW files , <http://www.libraw.org>
       Support for reading and displaying RAW files in KStars.
     * WCSLIB , World Coordinate System library , <http://www.atnf.csiro.au/people/mcalabre/WCS>
       WCS enables KStars to read and process world coordinate systems in FITS header.
     * Qt5Keychain
     * OpenGL , Open Graphics Library , <http://www.opengl.org>
       Support for hardware rendering in KStars.
     * PkgConfig
    ....
  
  leads to error:
  
    /tmp/kstars/kstars/ekos/manager.h:15:32: fatal error: libindi/baseclient.h: No such file or directory
     #include <libindi/baseclient.h>
  
  In all but 2 remaining KStar header files the prefix "libindi" leads to this error and thus needs to be removed.

REPOSITORY
  R321 KStars

REVISION DETAIL
  https://phabricator.kde.org/D17940

AFFECTED FILES
  kstars/ekos/manager.h
  kstars/ekos/scheduler/scheduler.h

To: tstibor, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190103/47eca8cc/attachment-0001.html>


More information about the kde-edu mailing list