curaLulzbot: 3.6.20 -> 3.6.21

This commit is contained in:
Charles Duffy 2019-10-13 15:32:33 -05:00
parent de36bdc269
commit b60d3a3160
No known key found for this signature in database
GPG Key ID: BB397BA4CAA75978
6 changed files with 16 additions and 35 deletions

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "curaengine-lulzBot"; pname = "curaengine-lulzBot";
version = "3.6.18"; version = "3.6.21";
src = fetchgit { src = fetchgit {
url = https://code.alephobjects.com/source/curaengine-lulzbot.git; url = https://code.alephobjects.com/source/curaengine-lulzbot.git;

View File

@ -2,11 +2,11 @@
let let
# admittedly, we're using (printer firmware) blobs when we could compile them ourselves. # admittedly, we're using (printer firmware) blobs when we could compile them ourselves.
curaBinaryDataVersion = "3.6.18"; # Marlin v2.0.0.144. Keep this accurate wrt. the below. curaBinaryDataVersion = "3.6.21"; # Marlin v2.0.0.174 for Bio, v2.0.0.144 for others.
curaBinaryData = fetchgit { curaBinaryData = fetchgit {
url = https://code.alephobjects.com/diffusion/CBD/cura-binary-data.git; url = https://code.alephobjects.com/diffusion/CBD/cura-binary-data.git;
rev = "cdc046494bbfe1f65bfb34659a257eef9a0100a0"; rev = "5c75d0f6c10d8b7a903e2072a48cd1f08059509e";
sha256 = "0v0s036gxdjiglas2yzw95alv60sw3pq5k1zrrhmw9mxr4irrblb"; sha256 = "1qdsj6rczwzdwzyr7nz7fnypbphckjrnwl8c9dr6izsxyzs465c4";
}; };
libarcusLulzbot = callPackage ./libarcus.nix { libarcusLulzbot = callPackage ./libarcus.nix {
@ -27,12 +27,12 @@ let
in in
mkDerivation rec { mkDerivation rec {
pname = "cura-lulzbot"; pname = "cura-lulzbot";
version = "3.6.20"; version = "3.6.21";
src = fetchgit { src = fetchgit {
url = https://code.alephobjects.com/source/cura-lulzbot.git; url = https://code.alephobjects.com/source/cura-lulzbot.git;
rev = "df5f905482114194eb1cfb85a7aed851b4a6d32a"; rev = "7faeb18604c83004846a02c60cb240708db0034f";
sha256 = "1xkqf89anxmy2aw0vr604ln7qsibacgk9l2g8jlf467hja8f0dzq"; sha256 = "10q38s8c8x6xkh1vns4p3iqa5y267vrjh5vq8h55mg1q5001scyq";
}; };
buildInputs = [ qtbase qtquickcontrols2 ]; buildInputs = [ qtbase qtquickcontrols2 ];

View File

@ -2,13 +2,13 @@
buildPythonPackage { buildPythonPackage {
pname = "libarcus"; pname = "libarcus";
version = "3.6.18"; version = "3.6.21";
format = "other"; format = "other";
src = fetchgit { src = fetchgit {
url = https://code.alephobjects.com/source/arcus.git; url = https://code.alephobjects.com/source/arcus.git;
rev = "c795c0644591703ce04e1fd799fc97b1539031aa"; rev = "aeda02d7727f45b657afb72cef203283fbf09325";
sha256 = "1yap9wbqxbjx3kqyqcsldny4mlcm33ywiwpdjlfgs0wjahfg4ip0"; sha256 = "1ak0d4k745sx7paic27was3s4987z9h3czscjs21hxbi6qy83g99";
}; };
disabled = pythonOlder "3.4.0"; disabled = pythonOlder "3.4.0";

View File

@ -3,13 +3,13 @@
buildPythonPackage { buildPythonPackage {
pname = "libsavitar-lulzbot"; pname = "libsavitar-lulzbot";
name = "libsavitar-lulzbot"; name = "libsavitar-lulzbot";
version = "3.6.18"; version = "3.6.21";
format = "other"; format = "other";
src = fetchgit { src = fetchgit {
url = https://code.alephobjects.com/source/savitar.git; url = https://code.alephobjects.com/source/savitar.git;
rev = "988a26d35b2a1d042f8c38938ccda77ab146af7d"; rev = "ee8ada42c55f54727ce4d275c294ba426d3d8234";
sha256 = "146agw3a92azkgs5ahmn2rrck4an78m2r3pcss6ihmb60lx165k7"; sha256 = "1wm5ii3cmni8dk3c65kw4wglpypkdsfpgd480d3hc1r5bqpq0d6j";
}; };
postPatch = '' postPatch = ''

View File

@ -1,16 +0,0 @@
diff --git a/UM/Qt/Bindings/i18nCatalogProxy.py b/UM/Qt/Bindings/i18nCatalogProxy.py
index 7e2bb16c..cec70dd6 100644
--- a/UM/Qt/Bindings/i18nCatalogProxy.py
+++ b/UM/Qt/Bindings/i18nCatalogProxy.py
@@ -86,9 +86,9 @@ class i18nCatalogProxy(QObject): # [CodeStyle: Ultimaker code style requires cla
# \todo Move this to a more generic place so more things can use it.
def _wrapFunction(self, engine, this_object, function):
# JavaScript code that wraps the Python method call in a closure
- wrap_js = """function(this_object) {{
+ wrap_js = """(function(this_object) {{
return function({args}) {{ return this_object.{function}({args}) }}
- }}"""
+ }})"""
# Get the function name and argument list.
function_name = function.__name__

View File

@ -2,15 +2,15 @@
, pyqt5, numpy, scipy, shapely, libarcusLulzbot, doxygen, gettext, pythonOlder }: , pyqt5, numpy, scipy, shapely, libarcusLulzbot, doxygen, gettext, pythonOlder }:
buildPythonPackage { buildPythonPackage {
version = "3.6.18"; version = "3.6.21";
pname = "uranium"; pname = "uranium";
name = "uraniumLulzbot"; name = "uraniumLulzbot";
format = "other"; format = "other";
src = fetchgit { src = fetchgit {
url = https://code.alephobjects.com/diffusion/U/uranium.git; url = https://code.alephobjects.com/diffusion/U/uranium.git;
rev = "33df88a7414375ac924ac761113baa48d2ced2b4"; rev = "54d911edd2551c5875c554928896122835a0dd6c";
sha256 = "109cbv7y105crbrzfp70lmcr9n20ap5c97i5qd46fmxbx86yj7f8"; sha256 = "04bym3vwikaxw8ab0mymv9sc9n8i7yw5kfsv99ic811g9lzz3j1i";
}; };
disabled = pythonOlder "3.5.0"; disabled = pythonOlder "3.5.0";
@ -19,9 +19,6 @@ buildPythonPackage {
propagatedBuildInputs = [ pyqt5 numpy scipy shapely libarcusLulzbot ]; propagatedBuildInputs = [ pyqt5 numpy scipy shapely libarcusLulzbot ];
nativeBuildInputs = [ cmake doxygen ]; nativeBuildInputs = [ cmake doxygen ];
# Qt 5.12+ support; see https://code.alephobjects.com/rU70b73ba0a270799b9eacf78e400aa8b8ab3fb2ee
patches = [ ./uranium-qt512-support.patch ];
postPatch = '' postPatch = ''
sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
sed -i \ sed -i \