[arch-commits] Commit in cura/trunk (PKGBUILD cura-4.13.0-no-sentry.patch)

Jelle van der Waa jelle at gemini.archlinux.org
Sun Jan 16 12:29:52 UTC 2022


    Date: Sunday, January 16, 2022 @ 12:29:51
  Author: jelle
Revision: 1106232

upgpkg: cura 4.13.0-1

Added:
  cura/trunk/cura-4.13.0-no-sentry.patch
Modified:
  cura/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   10 +++++++---
 cura-4.13.0-no-sentry.patch |   22 ++++++++++++++++++++++
 2 files changed, 29 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-16 12:24:45 UTC (rev 1106231)
+++ PKGBUILD	2022-01-16 12:29:51 UTC (rev 1106232)
@@ -2,7 +2,7 @@
 # Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
 
 pkgname=cura
-pkgver=4.12.1
+pkgver=4.13.0
 pkgrel=1
 pkgdesc="A software solution for 3D printing aimed at RepRaps and the Ultimaker."
 depends=('python-pyqt5' 'qt5-svg' 'python-scipy' 'python-pyserial' 'python-numpy' 'uranium' 'python-requests'
@@ -19,8 +19,10 @@
 url="https://ultimaker.com/software/ultimaker-cura"
 license=('LGPL')
 arch=('any')
-source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz)
-sha512sums=('397048e1ed93d2e3ec326a3b0564db2b6ee2b239843346e2dd44470b11b5aea86f3f519534270789e020261c87a0100bf3bba39ddbd3a1d8be0e38e68fd7e0c0')
+source=($pkgname-$pkgver.tar.gz::https://github.com/Ultimaker/Cura/archive/${pkgver}.tar.gz
+        cura-${pkgver}-no-sentry.patch::https://github.com/Ultimaker/Cura/commit/aad41807c365ccef001b787407d7dc756e11de02.patch)
+sha512sums=('46f13cde12735d64dad2c533c7688612ebc1c2c8b78d71ced8cfd7d7abd80a53c09105bb16f64ae92cddf345fe44f83800d4448007fe5c2938c652f58354747b'
+            'c602c5e585862d9bab280a8d5bd2289fe1b10d79f54cd76171b76fcf48793b190ff5bf6fca22818d8b65a726ee64098750c79cba67f044e0186a83aeb78e8a14')
 
 # Build order
 # arcus -> uranium -> curaengine -> libsavitar -> pynest2d ->
@@ -28,6 +30,8 @@
 prepare(){
   cd Cura-${pkgver}
   sed -i 's,/dist-packages,.${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+ 
+  patch -Np1 -i $srcdir/cura-${pkgver}-no-sentry.patch
 }
 
 build(){

Added: cura-4.13.0-no-sentry.patch
===================================================================
--- cura-4.13.0-no-sentry.patch	                        (rev 0)
+++ cura-4.13.0-no-sentry.patch	2022-01-16 12:29:51 UTC (rev 1106232)
@@ -0,0 +1,22 @@
+From aad41807c365ccef001b787407d7dc756e11de02 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= <g at leirbag.net>
+Date: Tue, 11 Jan 2022 20:28:41 +0100
+Subject: [PATCH] Remove unused import of sentry_sdk
+
+---
+ cura/CrashHandler.py | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py
+index c911a423504..35e9aa832be 100644
+--- a/cura/CrashHandler.py
++++ b/cura/CrashHandler.py
+@@ -12,8 +12,6 @@
+ import locale
+ from typing import cast, Any
+ 
+-import sentry_sdk
+-
+ try:
+     from sentry_sdk.hub import Hub
+     from sentry_sdk.utils import event_from_exception



More information about the arch-commits mailing list