summaryrefslogtreecommitdiff
path: root/user/umbrello
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-05 20:12:34 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-05 20:12:56 +0000
commitc16b7147097e6052bb643518cb07b205d187b12f (patch)
treec794da00e208d05eba0c88d678b5823fc69480ba /user/umbrello
parentb2997ede702a824a09454b6adc6a03dd196095b0 (diff)
downloadpackages-c16b7147097e6052bb643518cb07b205d187b12f.tar.gz
packages-c16b7147097e6052bb643518cb07b205d187b12f.tar.bz2
packages-c16b7147097e6052bb643518cb07b205d187b12f.tar.xz
packages-c16b7147097e6052bb643518cb07b205d187b12f.zip
user/[KDE]: Upgrade the rest of KDE to current versions
Diffstat (limited to 'user/umbrello')
-rw-r--r--user/umbrello/APKBUILD11
-rw-r--r--user/umbrello/assertion-fix.patch41
2 files changed, 4 insertions, 48 deletions
diff --git a/user/umbrello/APKBUILD b/user/umbrello/APKBUILD
index 67f2fa698..670483fdd 100644
--- a/user/umbrello/APKBUILD
+++ b/user/umbrello/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=umbrello
-pkgver=19.08.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Software modelling tool and code generator"
url="https://umbrello.kde.org/"
@@ -14,12 +14,11 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
kcrash-dev kdoctools-dev kiconthemes-dev kdelibs4support-dev kio-dev
ktexteditor-dev kwindowsystem-dev kwidgetsaddons-dev kxmlgui-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/umbrello-$pkgver.tar.xz
+source="https://download.kde.org/stable/release-service/$pkgver/src/umbrello-$pkgver.tar.xz
hax.patch
"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -30,19 +29,17 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="a251d6e65cb0b177fee88cadaea1cc9105ac5a0b0b8ab09b31a279c4e473fdeea3acf9a7b54b66178b4d77460bc1406caf4bb03844f8c57f46175bff6c587525 umbrello-19.08.2.tar.xz
+sha512sums="b85a1f099cebe207b65b0f69f6f4c3c7d76c72e7d09e2c025661ad5a8c1ccc6394b6686a59fa1c997d3b29cfaaa67fc4f98d269abd1a5fdae423de8fdf2ab232 umbrello-19.12.0.tar.xz
fcbe03a49d5420bf17383e5e6d4bac4377c1abfcafacea20ac37409457471537067efe3236647fb3570abfa410a4a3870b1638bb1ef880a24e6f60e2b189a562 hax.patch"
diff --git a/user/umbrello/assertion-fix.patch b/user/umbrello/assertion-fix.patch
deleted file mode 100644
index ef86e6546..000000000
--- a/user/umbrello/assertion-fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From af72e059f728d70e43ac3ea03653865585818e66 Mon Sep 17 00:00:00 2001
-From: Ralf Habacker <ralf.habacker@freenet.de>
-Date: Fri, 2 Nov 2018 11:38:37 +0100
-Subject: Fix 'Umbrello fails to start due to ASSERT failure in QVector<T>::at
- "index out of range"'
-
-The backtrace shows that Qt wants to access tree view items that
-have already been deleted. To avoid this, graphical updates are
-disabled when creating the new document.
-
-BUG:400501
-FIXED-IN:2.26.3 (KDE Applications 18.08.3)
----
- umbrello/umldoc.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/umbrello/umldoc.cpp b/umbrello/umldoc.cpp
-index d4099bb..af5c889 100644
---- a/umbrello/umldoc.cpp
-+++ b/umbrello/umldoc.cpp
-@@ -442,6 +442,9 @@ void UMLDoc::closeDocument()
- */
- bool UMLDoc::newDocument()
- {
-+ bool state = UMLApp::app()->document()->loading();
-+ UMLApp::app()->document()->setLoading(false);
-+
- closeDocument();
- UMLApp::app()->setCurrentView(0);
- setUrlUntitled();
-@@ -465,6 +468,7 @@ bool UMLDoc::newDocument()
- UMLApp::app()->enableUndoAction(false);
- UMLApp::app()->clearUndoStack();
-
-+ UMLApp::app()->document()->setLoading(state);
- return true;
- }
-
---
-cgit v0.11.2
-