[arch-commits] Commit in cura/repos/community-any (4 files)

Jelle van der Waa jelle at gemini.archlinux.org
Sat Feb 5 15:00:00 UTC 2022


    Date: Saturday, February 5, 2022 @ 14:59:59
  Author: jelle
Revision: 1126449

archrelease: copy trunk to community-any

Added:
  cura/repos/community-any/PKGBUILD
    (from rev 1126448, cura/trunk/PKGBUILD)
  cura/repos/community-any/cura-4.13.0-no-sentry.patch
    (from rev 1126448, cura/trunk/cura-4.13.0-no-sentry.patch)
Deleted:
  cura/repos/community-any/PKGBUILD
  cura/repos/community-any/cura-4.13.0-no-sentry.patch

-----------------------------+
 PKGBUILD                    |  124 +++++++++++++++++++++---------------------
 cura-4.13.0-no-sentry.patch |   44 +++++++-------
 2 files changed, 84 insertions(+), 84 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-05 14:59:53 UTC (rev 1126448)
+++ PKGBUILD	2022-02-05 14:59:59 UTC (rev 1126449)
@@ -1,62 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
-
-pkgname=cura
-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'
-         'curaengine' 'libsavitar' 'qt5-graphicaleffects'
-         'python-certifi' 'python-pynest2d' 'python-keyring' 'python-trimesh'
-         'cura-resources-materials')
-makedepends=('qt5-tools' 'cmake')
-optdepends=('python-zeroconf: network printing support'
-            'python-trimesh: Reading AMF files'
-            'python-libcharon: UFPWriter/UFPReader'
-            'cura-binary-data: Binary data (firmwares and such) for cura')
-
-provides=('cura')
-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
-        cura-${pkgver}-no-sentry.patch::https://github.com/Ultimaker/Cura/commit/aad41807c365ccef001b787407d7dc756e11de02.patch)
-sha512sums=('46f13cde12735d64dad2c533c7688612ebc1c2c8b78d71ced8cfd7d7abd80a53c09105bb16f64ae92cddf345fe44f83800d4448007fe5c2938c652f58354747b'
-            'c602c5e585862d9bab280a8d5bd2289fe1b10d79f54cd76171b76fcf48793b190ff5bf6fca22818d8b65a726ee64098750c79cba67f044e0186a83aeb78e8a14')
-
-# Build order
-# arcus -> uranium -> curaengine -> libsavitar -> pynest2d ->
-
-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(){
-  cd Cura-${pkgver}
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
-    -DCURA_VERSION=$pkgver \
-    -DCURA_SDK_VERSION=6.0.0 \
-    -DCURA_CLOUD_API_VERSION=1 \
-    -DCURA_CLOUD_API_ROOT:STRING="https://api.ultimaker.com" \
-    -DCURA_CLOUD_ACCOUNT_API_ROOT:STRING="https://account.ultimaker.com"
-
-  make
-}
-
-package(){
-  cd Cura-${pkgver}/build
-  make DESTDIR="${pkgdir}" install
-  
-  # make sure cura can find uranium plugins:
-  ln -s /usr/lib/uranium/plugins/* "${pkgdir}/usr/lib/cura/plugins/."
-
-  # don't ever send any user or print info through the internet to Ultimaker
-  rm -rf "${pkgdir}/usr/lib/cura/plugins/SliceInfoPlugin"
-}

Copied: cura/repos/community-any/PKGBUILD (from rev 1126448, cura/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-05 14:59:59 UTC (rev 1126449)
@@ -0,0 +1,62 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Grey Christoforo <my first name [at] my last name [dot] net>
+
+pkgname=cura
+pkgver=4.13.1
+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'
+         'curaengine' 'libsavitar' 'qt5-graphicaleffects'
+         'python-certifi' 'python-pynest2d' 'python-keyring' 'python-trimesh'
+         'cura-resources-materials')
+makedepends=('qt5-tools' 'cmake')
+optdepends=('python-zeroconf: network printing support'
+            'python-trimesh: Reading AMF files'
+            'python-libcharon: UFPWriter/UFPReader'
+            'cura-binary-data: Binary data (firmwares and such) for cura')
+
+provides=('cura')
+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
+        cura-${pkgver}-no-sentry.patch::https://github.com/Ultimaker/Cura/commit/aad41807c365ccef001b787407d7dc756e11de02.patch)
+sha512sums=('6483fd6312bd2181cc812bce78aadc7e8532ecf292f09c75ce5e7870f7efddd63e84315ab40eb73c775b15c2ed2ce7fc804fcbefb73b3d8aaac77d8b22f0cbd0'
+            'c602c5e585862d9bab280a8d5bd2289fe1b10d79f54cd76171b76fcf48793b190ff5bf6fca22818d8b65a726ee64098750c79cba67f044e0186a83aeb78e8a14')
+
+# Build order
+# arcus -> uranium -> curaengine -> libsavitar -> pynest2d ->
+
+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(){
+  cd Cura-${pkgver}
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DURANIUM_SCRIPTS_DIR=/usr/share/uranium/scripts \
+    -DCURA_VERSION=$pkgver \
+    -DCURA_SDK_VERSION=6.0.0 \
+    -DCURA_CLOUD_API_VERSION=1 \
+    -DCURA_CLOUD_API_ROOT:STRING="https://api.ultimaker.com" \
+    -DCURA_CLOUD_ACCOUNT_API_ROOT:STRING="https://account.ultimaker.com"
+
+  make
+}
+
+package(){
+  cd Cura-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+  
+  # make sure cura can find uranium plugins:
+  ln -s /usr/lib/uranium/plugins/* "${pkgdir}/usr/lib/cura/plugins/."
+
+  # don't ever send any user or print info through the internet to Ultimaker
+  rm -rf "${pkgdir}/usr/lib/cura/plugins/SliceInfoPlugin"
+}

Deleted: cura-4.13.0-no-sentry.patch
===================================================================
--- cura-4.13.0-no-sentry.patch	2022-02-05 14:59:53 UTC (rev 1126448)
+++ cura-4.13.0-no-sentry.patch	2022-02-05 14:59:59 UTC (rev 1126449)
@@ -1,22 +0,0 @@
-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

Copied: cura/repos/community-any/cura-4.13.0-no-sentry.patch (from rev 1126448, cura/trunk/cura-4.13.0-no-sentry.patch)
===================================================================
--- cura-4.13.0-no-sentry.patch	                        (rev 0)
+++ cura-4.13.0-no-sentry.patch	2022-02-05 14:59:59 UTC (rev 1126449)
@@ -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