Hello community,

here is the log from the commit of package uranium-lulzbot for openSUSE:Factory 
checked in at 2018-07-12 09:18:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uranium-lulzbot (Old)
 and      /work/SRC/openSUSE:Factory/.uranium-lulzbot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uranium-lulzbot"

Thu Jul 12 09:18:47 2018 rev:3 rq:621913 version:3.2.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/uranium-lulzbot/uranium-lulzbot.changes  
2018-05-15 10:34:24.549968696 +0200
+++ /work/SRC/openSUSE:Factory/.uranium-lulzbot.new/uranium-lulzbot.changes     
2018-07-12 09:21:06.146581100 +0200
@@ -1,0 +2,12 @@
+Tue Jul  3 13:02:15 UTC 2018 - adr...@suse.de
+
+- update to version 3.2.22
+  * Bottom view orientation button added
+
+-------------------------------------------------------------------
+Wed May 30 06:13:27 UTC 2018 - adr...@suse.de
+
+- update to version 3.2.21
+  * version increase only
+
+-------------------------------------------------------------------

Old:
----
  Uranium-3.2.20.obscpio

New:
----
  Uranium-3.2.22.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ uranium-lulzbot.spec ++++++
--- /var/tmp/diff_new_pack.mZOoJk/_old  2018-07-12 09:21:06.666581827 +0200
+++ /var/tmp/diff_new_pack.mZOoJk/_new  2018-07-12 09:21:06.666581827 +0200
@@ -18,7 +18,7 @@
 
 Name:           uranium-lulzbot
 Conflicts:      uranium
-Version:        3.2.20
+Version:        3.2.22
 Release:        0
 Summary:        3D printer control software: python UI stack
 License:        AGPL-3.0-only
@@ -71,8 +71,8 @@
 mv %{buildroot}/%{_datadir}/cmake* %{buildroot}/%{_datadir}/cmake
 
 %files -f %{name}.lang
-%defattr(-,root,root,-)
-%doc docs LICENSE README.md
+%doc docs README.md
+%license LICENSE
 %{python3_sitelib}/UM
 %{_prefix}/lib/uranium
 %dir %{_datadir}/uranium

++++++ Uranium-3.2.20.obscpio -> Uranium-3.2.22.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Uranium-3.2.20/CMakeLists.txt.orig 
new/Uranium-3.2.22/CMakeLists.txt.orig
--- old/Uranium-3.2.20/CMakeLists.txt.orig      2018-02-28 04:14:25.000000000 
+0100
+++ new/Uranium-3.2.22/CMakeLists.txt.orig      1970-01-01 01:00:00.000000000 
+0100
@@ -1,75 +0,0 @@
-project(uranium NONE)
-
-cmake_minimum_required(VERSION 2.8.12)
-
-message(STATUS ${CMAKE_MODULE_PATH})
-
-set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/
-                      ${CMAKE_MODULE_PATH})
-include(UraniumTranslationTools)
-
-include(GNUInstallDirs)
-
-if (NOT MINIMUM_PYTHON_VERSION)
-    set(MINIMUM_PYTHON_VERSION 3.5.0)
-endif()
-
-set(MINIMUM_PYTHON_VERSION ${MINIMUM_PYTHON_VERSION} CACHE STRING "Minimum 
Python Version")
-
-if (NOT BUILD_PYTHON)
-    find_package(PythonInterp ${MINIMUM_PYTHON_VERSION} REQUIRED)
-endif()
-
-# # Checks using pylint
-# Note that we use exit 0 here to not mark the build as a failure on check 
failure
-# In addition, the specified pylint configuration uses the spellchecker 
plugin. This required python-enchant to be installed.
-add_custom_target(check)
-add_custom_command(TARGET check POST_BUILD COMMAND 
"PYTHONPATH=${CMAKE_SOURCE_DIR}" ${PYTHON_EXECUTABLE} -m pylint 
--rcfile=${CMAKE_SOURCE_DIR}/pylint.cfg UM --msg-template=\"{path}:{line}: 
[{msg_id}({symbol}), {obj}] {msg}\" > ${CMAKE_BINARY_DIR}/pylint.log || exit 0 
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-
-# # Check using Mypy
-add_custom_target(typecheck)
-add_custom_command(TARGET typecheck POST_BUILD COMMAND ${PYTHON_EXECUTABLE} 
run_mypy.py WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-
-# # Tests
-include(UraniumTests)
-
-# # Benchmarks
-# add_custom_target(benchmark)
-# file(GLOB bench_files tests/benchmarks/*/profile*.py)
-# foreach(file ${bench_files})
-#     add_custom_command(TARGET benchmark POST_BUILD COMMAND 
"PYTHONPATH=${CMAKE_SOURCE_DIR}" kernprof ARGS -l -v ${file})
-# endforeach()
-
-
-# Documentation
-find_package(Doxygen)
-if(${DOXYGEN_FOUND})
-    add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Doxyfile 
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-endif()
-
-# Extract Strings
-add_custom_target(extract-messages 
${CMAKE_SOURCE_DIR}/scripts/extract-messages ${CMAKE_SOURCE_DIR} uranium)
-
-# Build Translations
-CREATE_TRANSLATION_TARGETS()
-
-
-if(NOT PYTHON_SITE_PACKAGES_DIR)
-       if(APPLE OR WIN32)
-               set(PYTHON_SITE_PACKAGES_DIR 
lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages CACHE 
STRING "Directory to install Python bindings to")
-       else()
-               set(PYTHON_SITE_PACKAGES_DIR 
lib/python${PYTHON_VERSION_MAJOR}/dist-packages CACHE STRING "Directory to 
install Python bindings to")
-       endif()
-       set(URANIUM_INSTALL_MODULES_PATH 
${CMAKE_INSTALL_DATADIR}/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules/
 )
-       set(URANIUM_INSTALL_PLUGINS_PATH lib/uranium)
-else()
-       set(URANIUM_INSTALL_MODULES_PATH 
${CMAKE_INSTALL_DATADIR}/cmake/Modules/)
-       set(URANIUM_INSTALL_PLUGINS_PATH ${CMAKE_INSTALL_LIBDIR}/uranium )
-endif()
-
-install(DIRECTORY UM DESTINATION ${PYTHON_SITE_PACKAGES_DIR})
-install(FILES ${CMAKE_SOURCE_DIR}/cmake/UraniumTranslationTools.cmake 
DESTINATION ${URANIUM_INSTALL_MODULES_PATH})
-install(DIRECTORY resources DESTINATION ${CMAKE_INSTALL_DATADIR}/uranium)
-install(DIRECTORY plugins DESTINATION ${URANIUM_INSTALL_PLUGINS_PATH} )
-
-include(CPackConfig.cmake)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Uranium-3.2.20/CMakeLists.txt.rej 
new/Uranium-3.2.22/CMakeLists.txt.rej
--- old/Uranium-3.2.20/CMakeLists.txt.rej       2018-02-28 04:14:25.000000000 
+0100
+++ new/Uranium-3.2.22/CMakeLists.txt.rej       1970-01-01 01:00:00.000000000 
+0100
@@ -1,11 +0,0 @@
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -58,7 +58,7 @@ if(NOT PYTHON_SITE_PACKAGES_DIR)
-               set(PYTHON_SITE_PACKAGES_DIR 
lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages
-                       CACHE STRING "Directory to install Python bindings to")
-       else()
--              set(PYTHON_SITE_PACKAGES_DIR 
lib/python${PYTHON_VERSION_MAJOR}/dist-packages CACHE
-+              set(PYTHON_SITE_PACKAGES_DIR 
lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages CACHE
-                       STRING "Directory to install Python bindings to")
-       endif()
-       set(URANIUM_INSTALL_MODULES_PATH 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Uranium-3.2.20/UM/Controller.py 
new/Uranium-3.2.22/UM/Controller.py
--- old/Uranium-3.2.20/UM/Controller.py 2018-02-28 04:14:25.000000000 +0100
+++ new/Uranium-3.2.22/UM/Controller.py 2018-06-15 12:26:33.000000000 +0200
@@ -395,4 +395,6 @@
             if coordinate == "x":
                 self._camera_tool.rotateCam(angle, 0)
             elif coordinate == "y":
-                self._camera_tool.rotateCam(0, angle)
\ No newline at end of file
+                self._camera_tool.rotateCam(0, angle)
+            elif coordinate == "bottom":
+                self._camera_tool.rotateCam(180,90)
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Uranium-3.2.20/UM/Qt/Bindings/SceneProxy.py 
new/Uranium-3.2.22/UM/Qt/Bindings/SceneProxy.py
--- old/Uranium-3.2.20/UM/Qt/Bindings/SceneProxy.py     2018-02-28 
04:14:25.000000000 +0100
+++ new/Uranium-3.2.22/UM/Qt/Bindings/SceneProxy.py     2018-06-15 
12:26:33.000000000 +0200
@@ -3,15 +3,23 @@
 
 from PyQt5.QtCore import QObject, QCoreApplication, pyqtSlot, pyqtSignal, 
pyqtProperty
 from UM.Scene.Selection import Selection
+from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator
+from cura.Scene.CuraSceneNode import CuraSceneNode
+
 
 class SceneProxy(QObject):
     def __init__(self, parent = None):
+        from UM.Application import Application
+        
Application.getInstance().activityChanged.connect(self.onActivityChanged)
         super().__init__(parent)
         self._scene = QCoreApplication.instance().getController().getScene()
         Selection.selectionChanged.connect(self._onSelectionChanged)
     
     selectionChanged = pyqtSignal()
-    
+    activityChanged = pyqtSignal()
+    def onActivityChanged(self):
+        self.activityChanged.emit()
+
     def _onSelectionChanged(self):
         self.selectionChanged.emit()
         
@@ -29,6 +37,19 @@
     @pyqtSlot(str)
     def setActiveCamera(self, camera):
         self._scene.setActiveCamera(camera)
-        
-        
+
+    @pyqtProperty(bool, notify = activityChanged)
+    def hasObjectsOnBuildPlate(self):
+        from UM.Application import Application
+        active_build_plate = 
Application.getInstance().getBuildPlateModel().activeBuildPlate
+        for node in 
DepthFirstIterator(Application.getInstance().getController().getScene().getRoot()):
+            if (
+                not issubclass(type(node), CuraSceneNode) or
+                (not node.getMeshData() and not 
node.callDecoration("getLayerData")) or
+                (node.callDecoration("getBuildPlateNumber") != 
active_build_plate)):
+
+                continue
+            return True
+        return False
+
     
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Uranium-3.2.20/UM/Scene/Selection.py 
new/Uranium-3.2.22/UM/Scene/Selection.py
--- old/Uranium-3.2.20/UM/Scene/Selection.py    2018-02-28 04:14:25.000000000 
+0100
+++ new/Uranium-3.2.22/UM/Scene/Selection.py    2018-06-15 12:26:33.000000000 
+0200
@@ -47,7 +47,8 @@
     def getBoundingBox(cls):
         bounding_box = None  # don't start with an empty bounding box, because 
that includes (0,0,0)
         for node in cls.__selection:
-            if type(node) is SceneNode or type(node) is Plane:
+            if isinstance(node, SceneNode):
+
                 if not bounding_box:
                     bounding_box = node.getBoundingBox()
                 else:

++++++ Uranium.obsinfo ++++++
--- /var/tmp/diff_new_pack.mZOoJk/_old  2018-07-12 09:21:06.914582175 +0200
+++ /var/tmp/diff_new_pack.mZOoJk/_new  2018-07-12 09:21:06.914582175 +0200
@@ -1,5 +1,5 @@
 name: Uranium
-version: 3.2.20
-mtime: 1519787665
-commit: 0719caef0612a0dba31b37c20d9e76fb080470af
+version: 3.2.22
+mtime: 1529058393
+commit: 3f3055868ba5b9ffe82b5efdb89ffecd873e8bd6
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.mZOoJk/_old  2018-07-12 09:21:06.926582191 +0200
+++ /var/tmp/diff_new_pack.mZOoJk/_new  2018-07-12 09:21:06.926582191 +0200
@@ -3,8 +3,8 @@
     <param 
name="url">https://code.alephobjects.com/diffusion/U/uranium.git</param>
     <param name="scm">git</param>
     <param name="filename">Uranium</param>
-    <param name="revision">v3.2.20</param>
-    <param name="version">3.2.20</param>
+    <param name="revision">v3.2.22</param>
+    <param name="version">3.2.22</param>
   </service>
   <service mode="disabled" name="set_version" />
 


Reply via email to