Make a merry car great again
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/umbrello?expand=0&rev=57
This commit is contained in:
parent
e95e8a31d8
commit
db83c9473e
@ -1,27 +0,0 @@
|
||||
From f1431eda6617dfc3ca2f37a994ef41f91f9cabad Mon Sep 17 00:00:00 2001
|
||||
From: Ralf Habacker <ralf.habacker@freenet.de>
|
||||
Date: Sat, 25 Mar 2017 14:24:52 +0100
|
||||
Subject: [PATCH] Fix 'KF5 version fails to install'.
|
||||
|
||||
org.kde.umbrello.appdata.xml is only installed by kf5 builds
|
||||
which means there is no need to add a '5' postfix to the name.
|
||||
|
||||
BUG:378057
|
||||
FIXED-IN:2.21.80 (KDE Applications 17.03.80)
|
||||
---
|
||||
umbrello/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/umbrello/CMakeLists.txt b/umbrello/CMakeLists.txt
|
||||
index 97d55f4..057b3d6 100644
|
||||
--- a/umbrello/CMakeLists.txt
|
||||
+++ b/umbrello/CMakeLists.txt
|
||||
@@ -600,7 +600,7 @@ else()
|
||||
string(REPLACE "-caption" "-qwindowtitle" UMBRELLO_DESKTOP_OUT "${UMBRELLO_DESKTOP}")
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop "${UMBRELLO_DESKTOP_OUT}")
|
||||
install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME org.kde.umbrello5.desktop)
|
||||
- install(FILES org.kde.umbrello5.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||
+ install(FILES org.kde.umbrello.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||
endif()
|
||||
|
||||
install( FILES
|
@ -1,30 +0,0 @@
|
||||
From 70aa7cf78289abbd9c26828c5119a71d766448a6 Mon Sep 17 00:00:00 2001
|
||||
From: Ralf Habacker <ralf.habacker@freenet.de>
|
||||
Date: Sat, 25 Mar 2017 14:52:31 +0100
|
||||
Subject: [PATCH] Fix 'org.kde.umbrello.appdata.xml specifies wrong binary
|
||||
name'.
|
||||
|
||||
The binary of umbrello for kf5 builds is named 'umbrello5'.
|
||||
|
||||
BUG:378064
|
||||
FIXED-IN:2.21.90 (KDE Applications 17.03.90)
|
||||
---
|
||||
umbrello/CMakeLists.txt | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/umbrello/CMakeLists.txt b/umbrello/CMakeLists.txt
|
||||
index 057b3d6..3ae6247 100644
|
||||
--- a/umbrello/CMakeLists.txt
|
||||
+++ b/umbrello/CMakeLists.txt
|
||||
@@ -600,7 +600,10 @@ else()
|
||||
string(REPLACE "-caption" "-qwindowtitle" UMBRELLO_DESKTOP_OUT "${UMBRELLO_DESKTOP}")
|
||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop "${UMBRELLO_DESKTOP_OUT}")
|
||||
install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/umbrello.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} RENAME org.kde.umbrello5.desktop)
|
||||
- install(FILES org.kde.umbrello.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||
+ file(READ org.kde.umbrello.appdata.xml UMBRELLO_APPDATA)
|
||||
+ string(REPLACE "<binary>umbrello</binary>" "<binary>umbrello5</binary>" UMBRELLO_APPDATA_OUT "${UMBRELLO_APPDATA}")
|
||||
+ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/org.kde.umbrello.appdata.xml "${UMBRELLO_APPDATA_OUT}")
|
||||
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.umbrello.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
|
||||
endif()
|
||||
|
||||
install( FILES
|
@ -10,6 +10,9 @@ Wed Apr 12 20:26:14 CEST 2017 - lbeltrame@kde.org
|
||||
* release-windows-packages: pack debug package with 'all' command
|
||||
* Fix 'org.kde.umbrello.appdata.xml specifies wrong binary name'.
|
||||
* Fix 'KF5 version fails to install'.
|
||||
- Remove patches, now upstream:
|
||||
* fix-appstream-install-1.patch
|
||||
* fix-appstream-install-2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 25 23:10:58 CET 2017 - lbeltrame@kde.org
|
||||
|
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: umbrello
|
||||
Version: 17.03.90
|
||||
Release: 0
|
||||
@ -27,10 +26,6 @@ License: GPL-2.0 and GFDL-1.2
|
||||
Group: Development/Tools/Other
|
||||
Url: http://www.kde.org/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch101: fix-appstream-install-1.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch102: fix-appstream-install-2.patch
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: karchive-devel
|
||||
@ -74,8 +69,6 @@ Umbrello is a UML modelling application.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
|
||||
%build
|
||||
%ifarch ppc64
|
||||
|
Loading…
Reference in New Issue
Block a user