Open ryandesign opened 1 month ago
This patch allowed me to get through cmake
and make
without having Qt (or ghostscript which as far as I know is only used by the Qt GUI):
--- src/CMakeLists.txt.orig 2023-04-10 19:46:19.000000000 -0500
+++ src/CMakeLists.txt 2024-07-26 06:22:10.000000000 -0500
@@ -228,14 +228,6 @@
#
#find_package(poppler)
#
-# -- GHOSTscript or GHOSTPDL include directory only since gle links to installed version at runtime
-#
-find_path(GDIR1 iapi.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices ghostscript )
-list(APPEND GHOSTPDL_INCLUDE_DIRS ${GDIR1} )
-find_path(GDIR2 gdevdsp.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices ghostscript )
-list(APPEND GHOSTPDL_INCLUDE_DIRS ${GDIR2} )
-find_path(GDIR3 gserrors.h PATHS ${GHOSTPDL_ROOT} PATH_SUFFIXES psi base devices ghostscript )
-list(APPEND GHOSTPDL_INCLUDE_DIRS ${GDIR3} )
include_directories(
${ZLIB_INCLUDE_DIRS}
@@ -245,7 +237,6 @@
${PNG_INCLUDE_DIRS}
${CAIRO_INCLUDE_DIRS}
${PIXMAN_INCLUDE_DIRS}
- ${GHOSTPDL_INCLUDE_DIRS}
)
#
# -- compile time definitions
@@ -450,12 +441,10 @@
endif()
add_subdirectory(fbuild)
add_subdirectory(makefmt)
-add_subdirectory(gui)
add_subdirectory(fonts)
add_subdirectory(TeX)
add_dependencies(fbuild gle)
add_dependencies(makefmt gle)
-add_dependencies(qgle gle)
add_dependencies(fonts fbuild makefmt)
# documentation file installation in doc folder
However make install
didn't actually install anything.
What I expected it to install—what GLE 4.2.5 installed—is:
$PREFIX/bin/gle
$PREFIX/bin/glebtool
$PREFIX/bin/glegs
$PREFIX/bin/manip
$PREFIX/lib/libgle-graphics-$VERSION.dylib
$PREFIX/lib/pkgconfig/gle-graphics.pc
$PREFIX/share/gle-graphics/$VERSION/*
$PREFIX/share/man/man1/gle.1
However
make install
didn't actually install anything.
I see this is because files only get installed when CMAKE_BUILD_TYPE
is Release
or Debug
:
(I was using a different build type.) This was also noted in #10.
Running
cmake
for GLE 4.3.4 fails with this message:I was able to build only the non-Qt parts of GLE 4.2.5 using the configure argument
--with-qt=no
. Now that the build system has been converted to CMake in GLE 4.3.x, what is the equivalent CMake option to build only the non-Qt parts?