Browse Source

Adjust some branding back to mainline Slic3r;

Move test_data.cpp/hpp out of fff_print so it can be used for config tests.

Add a short test to ensure that z_steps_per_mm config option is converted appropriately.
Joseph Lenox 4 years ago
parent
commit
3e28eb136c

+ 17 - 17
CMakeLists.txt

@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.13)
-project(SuperSlicer)
+project(Slic3r)
 
 include("version.inc")
 include(GNUInstallDirs)
@@ -22,11 +22,11 @@ else()
         endif()
 endif()
 
-option(SLIC3R_STATIC 			"Compile SuperSlicer with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL})
-option(SLIC3R_GUI    			"Compile SuperSlicer with GUI components (OpenGL, wxWidgets)" 1)
-option(SLIC3R_FHS               "Assume SuperSlicer is to be installed in a FHS directory structure" 0)
+option(SLIC3R_STATIC 			"Compile Slic3r with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL})
+option(SLIC3R_GUI    			"Compile Slic3r with GUI components (OpenGL, wxWidgets)" 1)
+option(SLIC3R_FHS               "Assume Slic3r is to be installed in a FHS directory structure" 0)
 option(SLIC3R_WX_STABLE         "Build against wxWidgets stable (3.0) as oppsed to dev (3.1) on Linux" 0)
-option(SLIC3R_PROFILE 			"Compile SuperSlicer with an invasive Shiny profiler" 0)
+option(SLIC3R_PROFILE 			"Compile Slic3r with an invasive Shiny profiler" 0)
 option(SLIC3R_PCH               "Use precompiled headers" 1)
 option(SLIC3R_MSVC_COMPILE_PARALLEL "Compile on Visual Studio in parallel" 1)
 option(SLIC3R_MSVC_PDB          "Generate PDB files on MSVC in Release mode" 1)
@@ -239,13 +239,13 @@ add_definitions(-DwxUSE_UNICODE -D_UNICODE -DUNICODE -DWXINTL_NO_GETTEXT_MACRO)
 add_definitions(-DwxNO_UNSAFE_WXSTRING_CONV)
 
 if (SLIC3R_PROFILE)
-    message("SuperSlicer will be built with a Shiny invasive profiler")
+    message("Slic3r will be built with a Shiny invasive profiler")
     add_definitions(-DSLIC3R_PROFILE)
 endif ()
 
 # Disable optimization even with debugging on.
 if (0)
-    message(STATUS "Perl compiled without optimization. Disabling optimization for the SuperSlicer build.")
+    message(STATUS "Perl compiled without optimization. Disabling optimization for the Slic3r build.")
     message("Old CMAKE_CXX_FLAGS_RELEASE: ${CMAKE_CXX_FLAGS_RELEASE}")
     message("Old CMAKE_CXX_FLAGS_RELWITHDEBINFO: ${CMAKE_CXX_FLAGS_RELEASE}")
     message("Old CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS_RELEASE}")
@@ -425,7 +425,7 @@ set(L10N_DIR "${SLIC3R_RESOURCES_DIR}/localization")
 add_custom_target(gettext_make_pot
     COMMAND xgettext --keyword=L --keyword=_L --keyword=_u8L --keyword=L_CONTEXT:1,2c --keyword=_L_PLURAL:1,2 --add-comments=TRN --from-code=UTF-8 --debug
         -f "${L10N_DIR}/list.txt"
-        -o "${L10N_DIR}/SuperSlicer.pot"
+        -o "${L10N_DIR}/Slic3r.pot"
     WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
     COMMENT "Generate pot file from strings in the source tree"
 )
@@ -433,10 +433,10 @@ add_custom_target(gettext_po_to_mo
     WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
     COMMENT "Generate localization po files (binary) from mo files (texts)"
 )
-file(GLOB L10N_PO_FILES "${L10N_DIR}/*/SuperSlicer*.po")
+file(GLOB L10N_PO_FILES "${L10N_DIR}/*/Slic3r*.po")
 foreach(po_file ${L10N_PO_FILES})
     GET_FILENAME_COMPONENT(po_dir "${po_file}" DIRECTORY)
-    SET(mo_file "${po_dir}/SuperSlicer.mo")
+    SET(mo_file "${po_dir}/Slic3r.mo")
     add_custom_command(
         TARGET gettext_po_to_mo PRE_BUILD
         COMMAND msgfmt ARGS -o ${mo_file} ${po_file}
@@ -490,9 +490,9 @@ function(prusaslicer_copy_dlls target)
 endfunction()
 
 
-# libslic3r, SuperSlicer GUI and the SuperSlicer executable.
+# libslic3r, Slic3r GUI and the Slic3r executable.
 add_subdirectory(src)
-set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT SuperSlicer_app_console)
+set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Slic3r_app_console)
 
 # Perl bindings, currently only used for the unit / integration tests of libslic3r.
 # Also runs the unit / integration tests.
@@ -515,14 +515,14 @@ if (WIN32)
     install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/resources")
 elseif (SLIC3R_FHS)
     # CMAKE_INSTALL_FULL_DATAROOTDIR: read-only architecture-independent data root (share)
-    set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/SuperSlicer")
+    set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/Slic3r")
     install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${SLIC3R_FHS_RESOURCES}")
-    install(FILES src/platform/unix/SuperSlicer.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications)
+    install(FILES src/platform/unix/Slic3r.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications)
     install(FILES src/platform/unix/SuperGcodeviewer.desktop DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications)
-    install(FILES resources/icons/Slic3r_192px.png DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/pixmaps RENAME SuperSlicer.png)
-    install(FILES resources/icons/PrusaSlicer-gcodeviewer_192px.png DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/pixmaps RENAME SuperSlicer-gcodeviewer.png)
+    install(FILES resources/icons/Slic3r_192px.png DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/pixmaps RENAME Slic3r.png)
+    install(FILES resources/icons/PrusaSlicer-gcodeviewer_192px.png DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/pixmaps RENAME Slic3r-gcodeviewer.png)
 else ()
-    install(FILES src/platform/unix/SuperSlicer.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/resources/applications)
+    install(FILES src/platform/unix/Slic3r.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/resources/applications)
     install(FILES src/platform/unix/SuperGcodeviewer.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/resources/applications)
     install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${CMAKE_INSTALL_PREFIX}/resources")
 endif ()

BIN
resources/icons/Slic3r.png


BIN
resources/icons/Slic3r_128px.png


BIN
resources/icons/Slic3r_192px.png


BIN
resources/icons/Slic3r_192px_transparent.png


+ 51 - 51
src/CMakeLists.txt

@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.13)
-project(SuperSlicer-native)
+project(Slic3r-native)
 
 add_subdirectory(build-utils)
 add_subdirectory(admesh)
@@ -89,56 +89,56 @@ if (SLIC3R_GUI)
 endif()
 
 
-# Create a SuperSlicer executable
+# Create a Slic3r executable
 # Process mainfests for various platforms.
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/SuperSlicer.rc.in ${CMAKE_CURRENT_BINARY_DIR}/SuperSlicer.rc @ONLY)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/Slic3r.rc.in ${CMAKE_CURRENT_BINARY_DIR}/Slic3r.rc @ONLY)
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/PrusaSlicer-gcodeviewer.rc.in ${CMAKE_CURRENT_BINARY_DIR}/PrusaSlicer-gcodeviewer.rc @ONLY)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/PrusaSlicer.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/SuperSlicer.manifest @ONLY)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/msw/PrusaSlicer.manifest.in ${CMAKE_CURRENT_BINARY_DIR}/Slic3r.manifest @ONLY)
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platform/osx/Info.plist.in ${CMAKE_CURRENT_BINARY_DIR}/Info.plist @ONLY)
 if (WIN32)
-    add_library(SuperSlicer SHARED PrusaSlicer.cpp PrusaSlicer.hpp)
+    add_library(Slic3r SHARED PrusaSlicer.cpp PrusaSlicer.hpp)
 else ()
-    add_executable(SuperSlicer PrusaSlicer.cpp PrusaSlicer.hpp)
+    add_executable(Slic3r PrusaSlicer.cpp PrusaSlicer.hpp)
 endif ()
 
 if (MINGW)
-    target_link_options(SuperSlicer PUBLIC "-Wl,-allow-multiple-definition")
-    set_target_properties(SuperSlicer PROPERTIES PREFIX "")
+    target_link_options(Slic3r PUBLIC "-Wl,-allow-multiple-definition")
+    set_target_properties(Slic3r PROPERTIES PREFIX "")
 endif (MINGW)
 
 if (NOT WIN32 AND NOT APPLE)
     # Binary name on unix like systems (Linux, Unix)
-    set_target_properties(SuperSlicer PROPERTIES OUTPUT_NAME "superslicer")
+    set_target_properties(Slic3r PROPERTIES OUTPUT_NAME "Slic3r")
 endif ()
 
-target_link_libraries(SuperSlicer libslic3r cereal)
+target_link_libraries(Slic3r libslic3r cereal)
 if (APPLE)
 #    add_compile_options(-stdlib=libc++)
 #    add_definitions(-DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_NO_CXX11_RVALUE_REFERENCES -DBOOST_THREAD_USES_MOVE)
     # -liconv: boost links to libiconv by default
-    target_link_libraries(SuperSlicer "-liconv -framework IOKit" "-framework CoreFoundation" -lc++)
+    target_link_libraries(Slic3r "-liconv -framework IOKit" "-framework CoreFoundation" -lc++)
 elseif (MSVC)
-    # Manifest is provided through SuperSlicer.rc, don't generate your own.
+    # Manifest is provided through Slic3r.rc, don't generate your own.
     set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
 else ()
     # Boost on Raspberry-Pi does not link to pthreads explicitely.
-    target_link_libraries(SuperSlicer ${CMAKE_DL_LIBS} -lstdc++ Threads::Threads)
+    target_link_libraries(Slic3r ${CMAKE_DL_LIBS} -lstdc++ Threads::Threads)
 endif ()
 
 # Add the Slic3r GUI library, libcurl, OpenGL and GLU libraries.
 if (SLIC3R_GUI)
 #    target_link_libraries(PrusaSlicer ws2_32 uxtheme setupapi libslic3r_gui ${wxWidgets_LIBRARIES})
-target_link_libraries(SuperSlicer libslic3r_gui)
+target_link_libraries(Slic3r libslic3r_gui)
     if (MSVC)
         # Generate debug symbols even in release mode.
-        target_link_options(SuperSlicer PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
-        target_link_libraries(SuperSlicer user32.lib Setupapi.lib)
+        target_link_options(Slic3r PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
+        target_link_libraries(Slic3r user32.lib Setupapi.lib)
     elseif (MINGW)
-        target_link_libraries(SuperSlicer ws2_32 uxtheme setupapi)
+        target_link_libraries(Slic3r ws2_32 uxtheme setupapi)
     elseif (APPLE)
-        target_link_libraries(SuperSlicer "-framework OpenGL")
+        target_link_libraries(Slic3r "-framework OpenGL")
     else ()
-        target_link_libraries(SuperSlicer -ldl)
+        target_link_libraries(Slic3r -ldl)
     endif ()
 endif ()
 
@@ -149,25 +149,25 @@ if (WIN32)
         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -municode")
     endif()
 
-    add_executable(SuperSlicer_app_gui WIN32 PrusaSlicer_app_msvc.cpp ${CMAKE_CURRENT_BINARY_DIR}/SuperSlicer.rc)
+    add_executable(Slic3r_app_gui WIN32 PrusaSlicer_app_msvc.cpp ${CMAKE_CURRENT_BINARY_DIR}/Slic3r.rc)
     # Generate debug symbols even in release mode.
     if(MSVC)
-        target_link_options(SuperSlicer_app_gui PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
+        target_link_options(Slic3r_app_gui PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
     endif()
-    target_compile_definitions(SuperSlicer_app_gui PRIVATE -DSLIC3R_WRAPPER_NOCONSOLE)
-    add_dependencies(SuperSlicer_app_gui SuperSlicer)
-    set_target_properties(SuperSlicer_app_gui PROPERTIES OUTPUT_NAME "superslicer")
-    target_link_libraries(SuperSlicer_app_gui PRIVATE boost_headeronly)
+    target_compile_definitions(Slic3r_app_gui PRIVATE -DSLIC3R_WRAPPER_NOCONSOLE)
+    add_dependencies(Slic3r_app_gui Slic3r)
+    set_target_properties(Slic3r_app_gui PROPERTIES OUTPUT_NAME "superslicer")
+    target_link_libraries(Slic3r_app_gui PRIVATE boost_headeronly)
 
-    add_executable(SuperSlicer_app_console PrusaSlicer_app_msvc.cpp ${CMAKE_CURRENT_BINARY_DIR}/SuperSlicer.rc)
+    add_executable(Slic3r_app_console PrusaSlicer_app_msvc.cpp ${CMAKE_CURRENT_BINARY_DIR}/Slic3r.rc)
     # Generate debug symbols even in release mode.
     if (MSVC)
-        target_link_options(SuperSlicer_app_console PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
+        target_link_options(Slic3r_app_console PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
     endif ()
-    target_compile_definitions(SuperSlicer_app_console PRIVATE -DSLIC3R_WRAPPER_CONSOLE)
-    add_dependencies(SuperSlicer_app_console SuperSlicer)
-    set_target_properties(SuperSlicer_app_console PROPERTIES OUTPUT_NAME "superslicer_console")
-    target_link_libraries(SuperSlicer_app_console PRIVATE boost_headeronly)
+    target_compile_definitions(Slic3r_app_console PRIVATE -DSLIC3R_WRAPPER_CONSOLE)
+    add_dependencies(Slic3r_app_console Slic3r)
+    set_target_properties(Slic3r_app_console PROPERTIES OUTPUT_NAME "superslicer_console")
+    target_link_libraries(Slic3r_app_console PRIVATE boost_headeronly)
 
     add_executable(PrusaSlicer_app_gcodeviewer WIN32 PrusaSlicer_app_msvc.cpp ${CMAKE_CURRENT_BINARY_DIR}/PrusaSlicer-gcodeviewer.rc)
     # Generate debug symbols even in release mode.
@@ -175,7 +175,7 @@ if (WIN32)
         target_link_options(PrusaSlicer_app_gcodeviewer PUBLIC "$<$<CONFIG:RELEASE>:/DEBUG>")
     endif ()
     target_compile_definitions(PrusaSlicer_app_gcodeviewer PRIVATE -DSLIC3R_WRAPPER_NOCONSOLE -DSLIC3R_WRAPPER_GCODEVIEWER)
-    add_dependencies(PrusaSlicer_app_gcodeviewer SuperSlicer)
+    add_dependencies(PrusaSlicer_app_gcodeviewer Slic3r)
     set_target_properties(PrusaSlicer_app_gcodeviewer PROPERTIES OUTPUT_NAME "prusa-gcodeviewer")
     target_link_libraries(PrusaSlicer_app_gcodeviewer PRIVATE boost_headeronly)
 endif ()
@@ -186,7 +186,7 @@ if (WIN32)
         foreach (CONF ${CMAKE_CONFIGURATION_TYPES})
             file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}/${CONF}" WIN_CONF_OUTPUT_DIR)
             file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}/${CONF}/resources" WIN_RESOURCES_SYMLINK)
-            add_custom_command(TARGET SuperSlicer POST_BUILD
+            add_custom_command(TARGET Slic3r POST_BUILD
                 COMMAND if exist "${WIN_CONF_OUTPUT_DIR}" "("
                         if not exist "${WIN_RESOURCES_SYMLINK}" "("
                             mklink /J "${WIN_RESOURCES_SYMLINK}" "${SLIC3R_RESOURCES_DIR_WIN}"
@@ -198,7 +198,7 @@ if (WIN32)
         endforeach ()
     else ()
         file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}/resources" WIN_RESOURCES_SYMLINK)
-        add_custom_command(TARGET SuperSlicer POST_BUILD
+        add_custom_command(TARGET Slic3r POST_BUILD
             COMMAND if not exist "${WIN_RESOURCES_SYMLINK}" "(" mklink /J "${WIN_RESOURCES_SYMLINK}" "${SLIC3R_RESOURCES_DIR_WIN}" ")"
             COMMENT "Symlinking the resources directory into the build tree"
             VERBATIM
@@ -206,35 +206,35 @@ if (WIN32)
     endif ()
 
     # This has to be a separate target due to the windows command line lenght limits
-    add_custom_target(slic3rDllsCopy ALL DEPENDS SuperSlicer)
+    add_custom_target(slic3rDllsCopy ALL DEPENDS Slic3r)
     prusaslicer_copy_dlls(slic3rDllsCopy)
 
 else ()
     if (APPLE)
         # On OSX, the name of the binary matches the name of the Application.
-        add_custom_command(TARGET SuperSlicer POST_BUILD
+        add_custom_command(TARGET Slic3r POST_BUILD
             COMMAND ls
-            # COMMAND ln -sf SuperSlicer superslicer
-            COMMAND ln -sf SuperSlicer prusa-gcodeviewer
-            COMMAND ln -sf SuperSlicer PrusaGCodeViewer
-            WORKING_DIRECTORY "$<TARGET_FILE_DIR:SuperSlicer>"
-            COMMENT "Symlinking the G-code viewer to SuperSlicer, symlinking to superslicer and prusa-gcodeviewer"
+            # COMMAND ln -sf Slic3r superslicer
+            COMMAND ln -sf Slic3r prusa-gcodeviewer
+            COMMAND ln -sf Slic3r PrusaGCodeViewer
+            WORKING_DIRECTORY "$<TARGET_FILE_DIR:Slic3r>"
+            COMMENT "Symlinking the G-code viewer to Slic3r, symlinking to superslicer and prusa-gcodeviewer"
             VERBATIM)
     else ()
-        add_custom_command(TARGET SuperSlicer POST_BUILD
+        add_custom_command(TARGET Slic3r POST_BUILD
             COMMAND ln -sf superslicer prusa-gcodeviewer
-            WORKING_DIRECTORY "$<TARGET_FILE_DIR:SuperSlicer>"
-            COMMENT "Symlinking the G-code viewer to SuperSlicer"
+            WORKING_DIRECTORY "$<TARGET_FILE_DIR:Slic3r>"
+            COMMENT "Symlinking the G-code viewer to Slic3r"
             VERBATIM)
     endif ()
     if (XCODE)
-        # Because of Debug/Release/etc. configurations (similar to MSVC) the SuperSlicer binary is located in an extra level
+        # Because of Debug/Release/etc. configurations (similar to MSVC) the Slic3r binary is located in an extra level
         set(BIN_RESOURCES_DIR "${CMAKE_CURRENT_BINARY_DIR}/resources")
     else ()
         set(BIN_RESOURCES_DIR "${CMAKE_CURRENT_BINARY_DIR}/../resources")
     endif ()
-     add_custom_command(TARGET SuperSlicer POST_BUILD
-        # COMMAND ln -sfn "${SLIC3R_RESOURCES_DIR}" "${BIN_RESOURCES_DIR}" # make[3]: stat: src/SuperSlicer: Too many levels of symbolic links
+     add_custom_command(TARGET Slic3r POST_BUILD
+        # COMMAND ln -sfn "${SLIC3R_RESOURCES_DIR}" "${BIN_RESOURCES_DIR}" # make[3]: stat: src/Slic3r: Too many levels of symbolic links
 		 COMMAND cp -r "${SLIC3R_RESOURCES_DIR}" "${BIN_RESOURCES_DIR}"
          COMMENT "Symlinking the resources directory into the build tree"
          VERBATIM)
@@ -242,13 +242,13 @@ endif ()
 
 # Slic3r binary install target
 if (WIN32)
-    install(TARGETS SuperSlicer RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
+    install(TARGETS Slic3r RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
     if (MSVC)
-        install(TARGETS SuperSlicer_app_gui RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
-        install(TARGETS SuperSlicer_app_console RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
+        install(TARGETS Slic3r_app_gui RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
+        install(TARGETS Slic3r_app_console RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
     endif ()
 else ()
-    install(TARGETS SuperSlicer RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
+    install(TARGETS Slic3r RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
 
     # Install the symlink for gcodeviewer
     install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink superslicer supergcodeviewer WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")

+ 0 - 0
src/platform/msw/SuperSlicer.rc.in → src/platform/msw/Slic3r.rc.in


+ 1 - 1
src/slic3r/GUI/AboutDialog.cpp

@@ -264,7 +264,7 @@ AboutDialog::AboutDialog()
         // TRN "Slic3r _is licensed under the_ License"
         const std::string is_lecensed_str = _utf8(L("is licensed under the"));
         const std::string license_str = _utf8(L("GNU Affero General Public License, version 3"));
-        const std::string based_on_str = _utf8(L("SuperSlicer is based on PrusaSlicer which is based on Slic3r by Alessandro Ranellucci and the RepRap community."));
+        const std::string based_on_str = _utf8(L(""));
         const std::string contributors_str = _utf8(L("Contributions by Henrik Brix Andersen, Nicolas Dandrimont, Mark Hindess, Petr Ledvina, Joseph Lenox, Y. Sapir, Mike Sheldrake, Vojtech Bubnik, Durand Rémi and numerous others."));
         const auto text = from_u8(
             (boost::format(

+ 2 - 2
src/slic3r/GUI/GUI_App.cpp

@@ -1525,7 +1525,7 @@ bool GUI_App::load_language(wxString language, bool initial)
         // Get the active language from PrusaSlicer.ini, or empty string if the key does not exist.
         language = app_config->get("translation_language");
         if (! language.empty())
-            BOOST_LOG_TRIVIAL(trace) << boost::format("translation_language provided by SuperSlicer.ini: %1%") % language;
+            BOOST_LOG_TRIVIAL(trace) << boost::format("translation_language provided by Slic3r.ini: %1%") % language;
 
         // Get the system language.
         {
@@ -1569,7 +1569,7 @@ bool GUI_App::load_language(wxString language, bool initial)
     }
 
     if (language_info != nullptr && language_info->LayoutDirection == wxLayout_RightToLeft) {
-        BOOST_LOG_TRIVIAL(trace) << boost::format("The following language code requires right to left layout, which is not supported by SuperSlicer: %1%") % language_info->CanonicalName.ToUTF8().data();
+        BOOST_LOG_TRIVIAL(trace) << boost::format("The following language code requires right to left layout, which is not supported by Slic3r: %1%") % language_info->CanonicalName.ToUTF8().data();
         language_info = nullptr;
     }
 

+ 9 - 0
tests/CMakeLists.txt

@@ -17,10 +17,19 @@ include(Catch)
 
 set(CATCH_EXTRA_ARGS "" CACHE STRING "Extra arguments for catch2 test suites.")
 
+set(COMMON_DATA_UTILS
+    ${TEST_DATA_DIR}/cpp/test_data.cpp
+)
+
+
 add_library(test_common INTERFACE)
 target_compile_definitions(test_common INTERFACE TEST_DATA_DIR=R"\(${TEST_DATA_DIR}\)" CATCH_CONFIG_FAST_COMPILE)
 target_link_libraries(test_common INTERFACE Catch2::Catch2)
 
+add_library(test_common_data ${COMMON_DATA_UTILS})
+target_include_directories(test_common_data PUBLIC ${TEST_DATA_DIR}/include)
+target_link_libraries(test_common_data PRIVATE test_common libslic3r)
+
 if (APPLE)
     target_link_libraries(test_common INTERFACE "-liconv -framework IOKit" "-framework CoreFoundation" -lc++)
 endif()

Some files were not shown because too many files changed in this diff