CMakeList.txt is out of date

Bug #390419 reported by Elv13
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
ideasman42

Bug Description

The cmake inkscape build file does not work anymore. CMake make building from source so much faster and easier, I think you should keep CMake and link ./configure to cmake instead of keeping 2 build system.

CMake log:

-- Creating build files in: /home/kde-devel/kde/build/inkscape
-- Found SIGC++: /usr/lib64/libsigc-2.0.so
-- Found XML2: /usr/lib64/libxml2.so
-- Found XSLT: /usr/lib64/libxslt.so
-- Found GSL: /usr/lib64/libgsl.so
-- Found ImageMagick++: /usr/lib64/libMagick++.so
-- Found FREETYPE2: /usr/lib64/libfreetype.so
-- Found GnomeVFS2: /usr/lib64/libgnomevfs-2.so
-- Found BoehmGC: /usr/lib64/libgc.so
-- checking for module 'libwpg-0.1'
-- package 'libwpg-0.1' not found
-- checking for module 'popt'
-- package 'popt' not found
-- Found Popt: /usr/lib64/libpopt.so
-- Generating header and sourcefiles from sp-marshal.list (Glib-Marshal)
-- sp-marshal.h unchanged
-- Configuring done
CMake Error in src/CMakeLists.txt:
  Cannot find source file "inkscape-stock.cpp". Tried extensions .c .C .c++
  .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

-- Build files have been written to: /home/kde-devel/kde/build/inkscape
make: *** No targets specified and no makefile found. Stop.

Tags: build cmake
Revision history for this message
Alexandre Prokoudine (alexandre-prokoudine) wrote :

We will never link ./configure to CMake :)

In fact, we still haven't decided which build system we choose and whether we choose something else. While I personally agree that CMake is very, very good, there is nobody to keep it in shape right now. Patches are welcome, however :)

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
fsando (fsando) wrote :

I see this in Ubuntu Intrepid. I see no obvious way to compile/install.

Revision history for this message
ScislaC (scislac) wrote :

fsando,
CMake is not currently used in our project.

./autogen.sh
./configure
make

Revision history for this message
Kris (kris-degussem) wrote :

I guess this bug should be fixed by now.
Can you have a look ideasman42 ?

Changed in inkscape:
assignee: nobody → ideasman42 (ideasman42)
tags: added: build
Revision history for this message
su_v (suv-lp) wrote :

As far as we know current trunk does compile with CMake/Ninja - closing.

Changed in inkscape:
milestone: none → 0.91
status: Confirmed → Fix Committed
Revision history for this message
su_v (suv-lp) wrote :

Changing milestone to 0.92 (AFAICT the latest fixes for cmake builds wrt poppler and lcms2 are missing in the 0.91.x branch).

Changed in inkscape:
milestone: 0.91 → 0.92
tags: added: cmake
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.