001-libsvgfill.patch
file has to be updated. The following version works:
From af69c5cd4c2e5a9ec0208f250d0b4e783c25cacb Mon Sep 17 00:00:00 2001
From: sukanka <su975853527@gmail.com>
Date: Tue, 6 Aug 2024 00:01:25 +0800
Subject: [PATCH] rename liblibsvgfill.so to libsvgfill.so
---
CMakeLists.txt | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24e1512..015609c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,12 +101,13 @@ include_directories(${Boost_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIR}
file(GLOB LIB_H_FILES src/*.h)
file(GLOB LIB_CPP_FILES src/svgfill.cpp)
set(LIB_SRC_FILES ${LIB_H_FILES} ${LIB_CPP_FILES})
-add_library(libsvgfill ${LIB_SRC_FILES})
-target_link_libraries(libsvgfill ${Boost_LIBRARIES} ${BCRYPT_LIBRARIES} ${LIBXML2_LIBRARIES} ${CGAL_LIBRARIES})
+add_library(svgfill ${LIB_SRC_FILES})
+target_link_libraries(svgfill ${Boost_LIBRARIES} ${BCRYPT_LIBRARIES} ${LIBXML2_LIBRARIES} ${CGAL_LIBRARIES})
-add_executable(svgfill src/main.cpp)
-target_link_libraries(svgfill libsvgfill)
+add_executable(svgfill_exe src/main.cpp)
+target_link_libraries(svgfill_exe svgfill)
+set_property(TARGET svgfill_exe PROPERTY OUTPUT_NAME svgfill)
-install(TARGETS svgfill DESTINATION ${BINDIR})
-install(TARGETS libsvgfill DESTINATION ${LIBDIR})
+install(TARGETS svgfill_exe DESTINATION bin)
+install(TARGETS svgfill DESTINATION lib)
install(FILES ${LIB_H_FILES} DESTINATION ${INCLUDEDIR})
Pinned Comments
sukanka commented on 2024-08-04 16:20 (UTC) (edited on 2024-10-21 12:42 (UTC) by sukanka)
Prebuilt binary can be found at my personal repo
This package will not be updated very frequently. But feel free to flag it out of date when there is a new release.
Currently, the blender extension and desktop entry do not work as some python packages are missing.
some patches are updated, please make a clean build