Page 1 of 1
codelite.desktop not generated by cmake
Posted: Fri Feb 15, 2013 7:59 pm
by qdii
I can see that the old ./configure had a custom line
Code: Select all
sed s@%%PREFIX%%@$prefix@g Runtime/codelite.desktop.template >> Runtime/codelite.desktop
That line generated codelite.desktop from codelite.desktop.template
Yet I cannot find an equivalent within the CMakeLists.txt, and make install fails on me.
Re: codelite.desktop not generated by cmake
Posted: Fri Feb 15, 2013 11:00 pm
by eranif
qdii wrote:Yet I cannot find an equivalent within the CMakeLists.txt
Ok, will fix this
qdii wrote:and make install fails on me
What do you mean by this? Can you show us the output you get from make install?
Eran
Re: codelite.desktop not generated by cmake
Posted: Fri Feb 15, 2013 11:13 pm
by qdii
I believe make install fails because the file cannot be found
Code: Select all
CMake Error at LiteEditor/cmake_install.cmake:204 (FILE):
file INSTALL cannot find
"/tmp/portage/dev-util/codelite-9999/work/codelite-9999/Runtime/codelite.desktop".
Call Stack (most recent call first):
cmake_install.cmake:62 (INCLUDE)
make: *** [install] Error 1
Re: codelite.desktop not generated by cmake
Posted: Fri Feb 15, 2013 11:30 pm
by eranif
mm, I see what you mean... I did not notice this before since I already had that file on my system (from the old configure script)
Try updating now, should be fixed
Eran
Re: codelite.desktop not generated by cmake
Posted: Sat Feb 16, 2013 1:30 am
by qdii
Seems to be working fine
good job!
Re: codelite.desktop not generated by cmake
Posted: Mon Feb 18, 2013 10:32 pm
by qdii
Actually it only partly worked.
The file is created, but the path is not set correctly because you used
$prefix and not
${CMAKE_INSTALL_PREFIX}, resulting in codelite no longer having an icon :/
I have added a patch to fix that
here.