[packages/cura] - more fixes, partially works (doesn't generate gcode unfortunately)
arekm
arekm at pld-linux.org
Thu May 14 23:13:12 CEST 2015
commit da393406859e36c36f3650cf5813db60a76484f2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 14 23:13:07 2015 +0200
- more fixes, partially works (doesn't generate gcode unfortunately)
cura | 2 +-
cura-no-firmware.patch | 2 +-
cura.spec | 5 +++--
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/cura.spec b/cura.spec
index 2b6cb25..1de110d 100644
--- a/cura.spec
+++ b/cura.spec
@@ -26,12 +26,13 @@ BuildRequires: dos2unix
BuildRequires: gettext
BuildRequires: python-devel
Requires: CuraEngine >= 14.12.1
-Requires: pypy
+#?
+#Requires: pypy
Requires: python-PyOpenGL
Requires: python-numpy
Requires: python-power
Requires: python-serial
-Requires: wxPython
+Requires: python-wxPython
BuildArch: noarch
%description
diff --git a/cura b/cura
index 322824e..738e76f 100755
--- a/cura
+++ b/cura
@@ -9,7 +9,7 @@ for i in range(len(sys.argv)):
sys.argv[i] = os.path.abspath(sys.argv[i])
# change the pwd
-os.chdir("/usr/lib/python2.7/site-packages/")
+os.chdir("/usr/%s/python2.7/site-packages/" % sys.lib)
# start cura
cura.main()
diff --git a/cura-no-firmware.patch b/cura-no-firmware.patch
index 39a3873..e3c92cb 100644
--- a/cura-no-firmware.patch
+++ b/cura-no-firmware.patch
@@ -54,7 +54,7 @@ diff -urN Cura-15.02.1.org/Cura/gui/firmwareInstall.py Cura-15.02.1/Cura/gui/fir
filename = getDefaultFirmware(machineIndex)
if filename is None:
- wx.MessageBox(_("I am sorry, but Cura does not ship with a default firmware for your machine configuration."), _("Firmware update"), wx.OK | wx.ICON_ERROR)
-+ wx.MessageBox(_("I am sorry, but Cura on Fedora does not ship firmware for technical reasons. Please go download it and install it as custom firmware instead."), _("Firmware update"), wx.OK | wx.ICON_ERROR)
++ wx.MessageBox(_("I am sorry, but Cura on Fedora does not ship firmware for technical reasons. Please go download it and install it as custom firmware instead."), _("Firmware update"), wx.OK | wx.ICON_ERROR)
self.Destroy()
return
self._machine_type = profile.getMachineSetting('machine_type', machineIndex)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cura.git/commitdiff/da393406859e36c36f3650cf5813db60a76484f2
More information about the pld-cvs-commit
mailing list