From 8f9937e5e3dd638760f4e95a4a7addec85311902 Mon Sep 17 00:00:00 2001 From: Przemo Firszt Date: Wed, 6 Sep 2023 18:02:48 +0100 Subject: [PATCH] COPR - fix nightlies --- package/fedora/freecad.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/fedora/freecad.spec b/package/fedora/freecad.spec index 1fede2491e..233631382a 100644 --- a/package/fedora/freecad.spec +++ b/package/fedora/freecad.spec @@ -7,7 +7,7 @@ # Maintainers: keep this list of plugins up to date # List plugins in %%{_libdir}/%{name}/lib, less '.so' and 'Gui.so', here -%global plugins Fem FreeCAD PathApp Import Inspection Mesh MeshPart Part Points ReverseEngineering Robot Sketcher Start Web PartDesignGui _PartDesign Path PathGui Spreadsheet SpreadsheetGui area DraftUtils DraftUtils flatmesh libDriver libDriverDAT libDriverSTL libDriverUNV libE57Format libMEFISTO2 libSMDS libSMESH libSMESHDS libStdMeshers Measure TechDraw TechDrawGui libarea-native Surface SurfaceGui PathSimulator +%global plugins Fem FreeCAD PathApp Import Inspection Mesh MeshPart Part Points ReverseEngineering Robot Sketcher Start Web PartDesignGui _PartDesign Path PathGui Spreadsheet SpreadsheetGui area DraftUtils DraftUtils libDriver libDriverDAT libDriverSTL libDriverUNV libE57Format libMEFISTO2 libSMDS libSMESH libSMESHDS libStdMeshers Measure TechDraw TechDrawGui libarea-native Surface SurfaceGui AssemblyGui flatmesh QtUnitGui PathSimulator # Some configuration options for other environments @@ -76,7 +76,6 @@ BuildRequires: qt5-qttools-static BuildRequires: qt5-qtxmlpatterns-devel BuildRequires: fmt-devel -BuildRequires: qqc2-desktop-style BuildRequires: xerces-c @@ -181,6 +180,9 @@ rm -rf src/zipios++ # src/Base/Reader.cpp src/Base/Writer.h %endif +# Fix encodings +dos2unix -k src/Mod/Test/unittestgui.py + # Removed bundled libraries @@ -233,6 +235,7 @@ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined'; export LDFLAGS -DPACKAGE_WCREF="%{release} (Git)" \ -DPACKAGE_WCURL="git://github.com/%{github_name}/FreeCAD.git master" \ -DENABLE_DEVELOPER_TESTS=FALSE \ + -DBUILD_GUI=TRUE \ ../ make fc_version @@ -258,6 +261,7 @@ mv %{buildroot}%{_libdir}/%{name}/share/metainfo/* %{buildroot}%{_metainfodir}/ mkdir %{buildroot}%{_datadir}/applications/ mv %{buildroot}%{_libdir}/%{name}/share/applications/* %{buildroot}%{_datadir}/applications/ + mkdir -p %{buildroot}%{_datadir}/thumbnailers/ mv %{buildroot}%{_libdir}/%{name}/share/thumbnailers/* %{buildroot}%{_datadir}/thumbnailers/