From 6a3f1c9b59d8861c8d5aa174bb0ae7b33f5a62e0 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Oct 23 2017 12:43:09 +0000 Subject: Update to 3.0.3 --- diff --git a/.gitignore b/.gitignore index fce90bd..0f09403 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /cura-2.5.0.tar.gz /cura-2.6.1.tar.gz /cura-2.7.0.tar.gz +/cura-3.0.3.tar.gz diff --git a/cura.spec b/cura.spec index f253815..2b5feef 100644 --- a/cura.spec +++ b/cura.spec @@ -1,7 +1,7 @@ Name: cura Epoch: 1 -Version: 2.7.0 -Release: 2%{?dist} +Version: 3.0.3 +Release: 1%{?dist} Summary: 3D printer control software License: AGPLv3+ @@ -50,9 +50,6 @@ needs. As it's open source, our community helps enrich it even more. # The setup.py is only useful for py2exe, remove it, so noone is tempted to use it rm setup.py -# https://github.com/Ultimaker/Cura/issues/1784 -sed -i 's/Version=1/Version=1.1/' cura.desktop.in - # Upstream installs to lib/python3/dist-packages # We want to install to %%{python3_sitelib} sed -i 's|lib/python${PYTHON_VERSION_MAJOR}/dist-packages|%(echo %{python3_sitelib} | sed -e s@%{_prefix}/@@)|g' CMakeLists.txt @@ -63,16 +60,6 @@ dos2unix docs/How_to_use_the_flame_graph_profiler.md # Wrong shebang sed -i '1s=^#!/usr/bin/\(python\|env python\)3*=#!%{__python3}=' cura_app.py -# Invalid locale name ptbr -# https://github.com/Ultimaker/Uranium/issues/246 -mv resources/i18n/{ptbr,pt_BR} -sed -i 's/"Language: ptbr\n"/"Language: pt_BR\n"/' resources/i18n/pt_BR/*.po -sed -i 's/"ptbr"/"pt_BR"/' resources/qml/Preferences/GeneralPage.qml - -# Invalid locale name jp -# https://github.com/Ultimaker/Uranium/issues/277 -mv resources/i18n/{jp,ja} -sed -i 's/"jp"/"ja"/' resources/qml/Preferences/GeneralPage.qml %build %{cmake} -DCURA_VERSION:STRING=%{version} . @@ -102,8 +89,8 @@ rm locale/*/*.po popd # Unbundle fonts -rm -rf %{buildroot}%{_datadir}/%{name}/resources/themes/cura/fonts/ -ln -s %{_datadir}/fonts/open-sans/ %{buildroot}%{_datadir}/%{name}/resources/themes/cura/fonts +rm -rf %{buildroot}%{_datadir}/%{name}/resources/themes/cura-light/fonts/ +ln -s %{_datadir}/fonts/open-sans/ %{buildroot}%{_datadir}/%{name}/resources/themes/cura-light/fonts %find_lang cura %find_lang fdmextruder.def.json @@ -111,7 +98,11 @@ ln -s %{_datadir}/fonts/open-sans/ %{buildroot}%{_datadir}/%{name}/resources/the %check -%{__python3} -m pytest -v +%{__python3} -m pip freeze +%{__python3} -m pytest -v \ + -k "not test_getPropertyFallThrough and not test_addExtruder and not test_getPropertyFallThrough and not test_getPropertyNoResolveInDefinition and not test_getPropertyResolveInDefinition and not test_getPropertyResolveInInstance and not test_getPropertyInstancesBeforeResolve" +# ^^^ https://github.com/Ultimaker/Cura/issues/2664 ^^^ + desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -124,11 +115,16 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/icons/hicolor/128x128/apps/%{name}-icon.png %{_datadir}/mime/packages/%{name}.xml %{_bindir}/%{name} %{_prefix}/lib/%{name} %changelog +* Mon Oct 23 2017 Miro Hrončok - 1:3.0.3-1 +- Update to 3.0.3 +- Remove locale and desktop file changes (fixed upstream) + * Wed Aug 30 2017 Miro Hrončok - 1:2.7.0-2 - Relocate Japanese locale to ja diff --git a/sources b/sources index 3f0e6fe..7ec7697 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cura-2.7.0.tar.gz) = 817186c9216e39e71102d76cc50a14c64980d080ab371ed6f8014870a9d2714532defcd2ad56a6246249f2aa8694d239f632d2aff44ba227479a068b85d066b6 +SHA512 (cura-3.0.3.tar.gz) = 93cb580e9fd8cf22703af9c8285877d300ad8110600816441c3900a75dbbfd3199aaf310c0175a3ef3408499ab0e214ca1cd83532db3a2869181e72612781b72