Cura-packaging/Cura/patches/02-exclude-fonts.patch

18 lines
635 B
Diff
Raw Normal View History

Author: Gregor Riepl <onitake@gmail.com>
Description: Fonts should be packaged separately.
This patch excludes the installation of Open Sans,
so a system version is picked up instead.
A dependency on fonts-open-sans was added to debian/control.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,7 +37,8 @@
find_package(PythonInterp 3.5.0 REQUIRED)
install(DIRECTORY resources
- DESTINATION ${CMAKE_INSTALL_DATADIR}/cura)
+ DESTINATION ${CMAKE_INSTALL_DATADIR}/cura
+ PATTERN resources/themes/cura-light/fonts EXCLUDE)
install(DIRECTORY plugins
DESTINATION lib/cura)
if(NOT APPLE AND NOT WIN32)