mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
kde-frameworks/kpackage: Add fix for <=Plasma-5.8
5.28.0 left users with a broken desktop without pre-existing config. Package-Manager: portage-2.3.0
This commit is contained in:
committed by
Michael Palimaka
parent
a696605b5f
commit
59e9c4717c
@@ -0,0 +1,30 @@
|
||||
From e7861d979c71815a614f2baf0b3d25f329fadef0 Mon Sep 17 00:00:00 2001
|
||||
From: Marco Martin <notmart@gmail.com>
|
||||
Date: Fri, 18 Nov 2016 15:51:49 +0100
|
||||
Subject: keep installing metadata.desktop
|
||||
|
||||
there are too many existing users that rely on existence of metadata.desktop,
|
||||
so keep installing it, even if with new plasma-workspace releases only the
|
||||
metadata.json would be used. the framework should never change its behavior
|
||||
wrt old software, even if it was doing something in a sense wrong
|
||||
CCMAIL: Aleix Pol Gonzalez <aleixpol@kde.org>
|
||||
BUG:372594
|
||||
---
|
||||
KF5PackageMacros.cmake | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/KF5PackageMacros.cmake b/KF5PackageMacros.cmake
|
||||
index cc5aae2..a14ab0b 100644
|
||||
--- a/KF5PackageMacros.cmake
|
||||
+++ b/KF5PackageMacros.cmake
|
||||
@@ -31,7 +31,6 @@ function(kpackage_install_package dir component)
|
||||
set(install_dir ${KPACKAGE_RELATIVE_DATA_INSTALL_DIR})
|
||||
endif()
|
||||
install(DIRECTORY ${dir}/ DESTINATION ${KDE_INSTALL_DATADIR}/${install_dir}/${root}/${component}
|
||||
- PATTERN metadata.desktop EXCLUDE
|
||||
PATTERN .svn EXCLUDE
|
||||
PATTERN CMakeLists.txt EXCLUDE
|
||||
PATTERN Messages.sh EXCLUDE
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
||||
32
kde-frameworks/kpackage/kpackage-5.28.0-r1.ebuild
Normal file
32
kde-frameworks/kpackage/kpackage-5.28.0-r1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Framework to install and load packages of non binary content"
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="man"
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
man? ( $(add_frameworks_dep kdoctools) )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-install-metadata.patch" ) # fix for <=Plasma-5.8
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package man KF5DocTools)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user