| |
@@ -1,6 +1,6 @@
|
| |
Name: slic3r
|
| |
- Version: 1.2.9
|
| |
- Release: 18%{?dist}
|
| |
+ Version: 1.3.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
|
| |
License: AGPLv3 and CC-BY
|
| |
# Images are CC-BY, code is AGPLv3
|
| |
@@ -14,31 +14,19 @@
|
| |
# Use /usr/share/slic3r as datadir
|
| |
Patch1: %{name}-datadir.patch
|
| |
Patch2: %{name}-english-locale.patch
|
| |
- Patch3: %{name}-linker.patch
|
| |
+ #Patch3: %{name}-linker.patch
|
| |
#Patch4: %{name}-clipper.patch
|
| |
|
| |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1306668
|
| |
- # https://github.com/alexrj/Slic3r/issues/3117#issuecomment-187767676
|
| |
- Patch5: %{name}-boost160.patch
|
| |
-
|
| |
- # Patch to manually cast too bool, fix FTBFS
|
| |
- # Will report upstream
|
| |
- Patch6: %{name}-boolcast.patch
|
| |
-
|
| |
- # https://bugzilla.redhat.com/show_bug.cgi?id=1285807
|
| |
- # https://github.com/alexrj/Slic3r/commit/1a09ae81db06602050ae83620268efa33ed14da1
|
| |
- Patch7: %{name}-wxclose.patch
|
| |
-
|
| |
- # https://github.com/alexrj/Slic3r/pull/3575
|
| |
- Patch8: %{name}-opengl070.patch
|
| |
-
|
| |
Source1: %{name}.desktop
|
| |
Source2: %{name}.appdata.xml
|
| |
|
| |
+ # TODO check what can be removed
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: perl-devel
|
| |
BuildRequires: perl-generators
|
| |
BuildRequires: perl(Class::XSAccessor)
|
| |
+ BuildRequires: perl(Devel::CheckLib)
|
| |
+ BuildRequires: perl(Devel::Peek)
|
| |
BuildRequires: perl(Encode::Locale) >= 1.05
|
| |
BuildRequires: perl(ExtUtils::CBuilder)
|
| |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.80
|
| |
@@ -51,6 +39,7 @@
|
| |
BuildRequires: perl(Growl::GNTP) >= 0.15
|
| |
BuildRequires: perl(IO::Scalar)
|
| |
BuildRequires: perl(List::Util)
|
| |
+ BuildRequires: perl(local::lib)
|
| |
BuildRequires: perl(Math::PlanePath) >= 53
|
| |
BuildRequires: perl(Module::Build::WithXSpp) >= 0.14
|
| |
BuildRequires: perl(Moo) >= 1.003001
|
| |
@@ -62,6 +51,7 @@
|
| |
BuildRequires: perl(Test::Harness)
|
| |
BuildRequires: perl(Test::More)
|
| |
BuildRequires: perl(Thread::Semaphore)
|
| |
+ BuildRequires: perl(Thread::Queue)
|
| |
BuildRequires: perl(threads) >= 1.96
|
| |
BuildRequires: perl(Time::HiRes)
|
| |
BuildRequires: perl(Unicode::Normalize)
|
| |
@@ -69,17 +59,29 @@
|
| |
BuildRequires: perl(XML::SAX)
|
| |
BuildRequires: perl(XML::SAX::ExpatXS)
|
| |
|
| |
- BuildRequires: admesh-devel >= 0.98.1
|
| |
+ #BuildRequires: admesh-devel >= 0.98.1
|
| |
BuildRequires: boost-devel
|
| |
+ BuildRequires: boost-nowide-devel
|
| |
BuildRequires: desktop-file-utils
|
| |
- BuildRequires: poly2tri-devel
|
| |
+ #BuildRequires: poly2tri-devel
|
| |
#BuildRequires: polyclipping-devel >= 6.2.0
|
| |
BuildRequires: ImageMagick
|
| |
|
| |
Requires: perl(XML::SAX)
|
| |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
| |
- Requires: admesh-libs >= 0.98.1
|
| |
- Provides: bundled(polyclipping) = 6.2.9
|
| |
+ #Requires: admesh-libs >= 0.98.1
|
| |
+
|
| |
+ # TODO check for recommends that are not automatically added
|
| |
+ # Growl::GNTP
|
| |
+ # Wx::GLCanvas
|
| |
+ # OpenGL
|
| |
+ # LWP::UserAgent
|
| |
+ # Net::Bonjour
|
| |
+
|
| |
+ # TODO check what can be unbundled, one by one
|
| |
+ Provides: bundled(admesh) = 0.98
|
| |
+ Provides: bundled(polyclipping) = 6.4.2
|
| |
+ Provides: bundled(poly2tri) = 0.0
|
| |
|
| |
|
| |
%description
|
| |
@@ -94,17 +96,13 @@
|
| |
%patch0 -p1
|
| |
%patch1 -p1
|
| |
%patch2 -p1
|
| |
- %patch3 -p1
|
| |
+ #%%patch3 -p1
|
| |
#%%patch4 -p1
|
| |
- %patch5 -p1
|
| |
- %patch6 -p1
|
| |
- %patch7 -p1
|
| |
- %patch8 -p1
|
| |
|
| |
# Remove bundled admesh, clipper, poly2tri and boost
|
| |
- rm -rf xs/src/admesh
|
| |
+ #rm -rf xs/src/admesh
|
| |
#rm xs/src/clipper.*pp
|
| |
- rm -rf xs/src/poly2tri
|
| |
+ #rm -rf xs/src/poly2tri
|
| |
rm -rf xs/src/boost
|
| |
|
| |
%build
|
| |
@@ -165,10 +163,6 @@
|
| |
SLIC3R_NO_AUTO=1 perl Build.PL installdirs=vendor
|
| |
# the --gui runs no tests, it only checks requires
|
| |
|
| |
- %post -p /sbin/ldconfig
|
| |
-
|
| |
- %postun -p /sbin/ldconfig
|
| |
-
|
| |
%files
|
| |
%doc README.md
|
| |
%{_bindir}/%{name}
|
| |
@@ -184,6 +178,9 @@
|
| |
%{_datadir}/%{name}
|
| |
|
| |
%changelog
|
| |
+ * Thu May 31 2018 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-1
|
| |
+ - Update to 1.3.0
|
| |
+
|
| |
* Tue Mar 06 2018 Petr Pisar <ppisar@redhat.com> - 1.2.9-18
|
| |
- Adapt to removing GCC from a build root (bug #1547165)
|
| |
|
| |