1
0
2018-01-25 15:16:49 +00:00
committed by Git OBS Bridge
commit 7d5e243552
9 changed files with 166 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c254cfbf49974aee9686331d59beae62906e7dc41c19b4fd9ddbe29df86b5da0
size 2546189

25
CuraEngine.1 Normal file
View File

@@ -0,0 +1,25 @@
.TH CURAENGINE "1" "DATE" "CuraEngine VERSION" "User Commands"
.SH NAME
CuraEngine \- manual page for CuraEngine VERSION
.SH SYNOPSIS
.B CuraEngine
[\fIOPTION\fR]... \fI-o OUTPUT \fR\fIMODEL\fR...
.SH DESCRIPTION
The CuraEngine is a C++ console application for 3D printing GCode
generation. It has been made as a better and faster alternative to the old
Skeinforge engine.
.TP
Example: CuraEngine -o <output.gcode> <model.stl>
.TP
\fB\-h\fR
Help
.TP
\fB\-v\fR
Version information
.TP
\fB\-s\fR
Settings key value
.TP
\fB\-m\fR
Size
.PP

5
CuraEngine.obsinfo Normal file
View File

@@ -0,0 +1,5 @@
name: CuraEngine
version: 2.6.66
mtime: 1513246124
commit: 69ac8f99e0f3578ab9d677c5772d9d55c1ff8672

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://code.alephobjects.com/diffusion/CTE/cura-engine.git</param>
<param name="scm">git</param>
<param name="revision">v2.6.66</param>
<param name="version">2.6.66</param>
<param name="submodules">disable</param>
<param name="filename">CuraEngine</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version" />
</services>

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Nov 3 07:49:32 UTC 2017 - adrian@suse.de
- forked and update to lulzbot version 2.6.43

72
cura-engine-lulzbot.spec Normal file
View File

@@ -0,0 +1,72 @@
#
# spec file for package CuraEngine
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: cura-engine-lulzbot
Version: 2.6.66
Release: 0
Summary: 3D printer control software
License: AGPL-3.0
Group: BLAH
# TODO: rename engine to avoid this
Conflicts: cura-engine
Url: http://github.com/Ultimaker/CuraEngine
Source0: https://github.com/Ultimaker/CuraEngine/archive/%{version}/CuraEngine-%{version}.tar.xz
Source1: CuraEngine.1
Patch1: fix-build.patch
%if 0%{?suse_version} < 1500
BuildRequires: gcc6-c++
#!BuildIgnore: libgcc_s1
%else
BuildRequires: gcc-c++
%endif
BuildRequires: cmake
BuildRequires: libArcus-devel
%description
CuraEngine is the a powerful, fast and robust engine for processing 3D models
into 3D printing instruction for Ultimaker and other GCode based 3D printers.
It is part of the larger open source project called "Cura".
%prep
%setup -q -n CuraEngine-%version
%patch1 -p1
%build
%if 0%{?suse_version} < 1500
export CC=gcc-6
export CXX=g++-6
%endif
%cmake -DCMAKE_C_FLAGS="%{optflags} -fPIC" \
-DCMAKE_CXX_FLAGS="%{optflags} -fPIC -fpermissive"
make %{?_smp_mflags}
%install
cd build
%make_install
install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/CuraEngine.1
# hack... not ready for the distro
install -Dm0755 lib_CuraEngine.so %{buildroot}%{_libdir}/lib_CuraEngine.so
%files
%defattr(-,root,root,-)
%_bindir/CuraEngine
%_libdir/*
%_mandir/man1/CuraEngine.1*
%changelog

17
fix-build.patch Normal file
View File

@@ -0,0 +1,17 @@
diff --git a/src/settings/SettingRegistry.cpp b/src/settings/SettingRegistry.cpp
index 7c4be40d..cff696a6 100644
--- a/src/settings/SettingRegistry.cpp
+++ b/src/settings/SettingRegistry.cpp
@@ -35,12 +35,6 @@ std::string SettingRegistry::toString(rapidjson::Type type)
}
-SettingConfig::SettingConfig(std::string key, std::string label)
-: SettingContainer(key, label)
-{
-// std::cerr << key << std::endl; // debug output to show all frontend registered settings...
-}
-
bool SettingRegistry::settingExists(std::string key) const
{
return setting_key_to_config.find(key) != setting_key_to_config.end();