Menu

#26 CMAKE_INSTALL_PREFIX not honoured

Beta 2.1
fixed
None
2020-10-27
2019-02-13
Agri Kola
No

On make install two files do not honour the prefix for the installation. Namely xtrkcad.desktop and xtrkcad.png, these are always installed into /usr/share/applications and /usr/share/pixmaps respectively.
This happens on Devuan 2.x ASCII (like Debian 9.x Stretch) with branch 'default'.

The rules for installation of said files are set in [1]. After playing a bit with the options I was able to make it work on my system. Though I have no clue about cmake nor the project, so no idea whether this suits other distros and operating systems.

In said file[1] I've altered line 50 to:
DESTINATION "${XTRKCAD_SHARE_INSTALL_DIR}/applications"
and line 54 to:
DESTINATION "${XTRKCAD_SHARE_INSTALL_DIR}/pixmaps"

[1] https://sourceforge.net/p/xtrkcad-fork/xtrkcad/ci/default/tree/app/lib/CMakeLists.txt

Discussion

  • Agri Kola

    Agri Kola - 2019-02-13
    • Priority: 5 --> 3
     
  • Agri Kola

    Agri Kola - 2019-02-13
    • Operating System: Any --> Linux
     
  • Dave Bullis

    Dave Bullis - 2020-07-26
    • status: open --> fixed
    • assigned_to: Dave Bullis
    • OS Level: -->
    • Milestone: --> Beta 2.1
     
  • Dave Bullis

    Dave Bullis - 2020-07-26

    Fixed as above
    More work is required to update the system menus and desktop

     
  • Adam Richards

    Adam Richards - 2020-10-27

    Ticket moved from /p/xtrkcad-fork/bugs/284/

    Can't be converted:

    • _os_level:
    • _operating_system: Linux
    • _priority: 3
     

Log in to post a comment.

MongoDB Logo MongoDB