Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kdbg/files/, dev-util/kdbg/
Date: Wed, 03 Apr 2019 15:18:10
Message-Id: 1554304607.7a42deb3685170c95a34a17ef9a26951d10ca195.asturm@gentoo
1 commit: 7a42deb3685170c95a34a17ef9a26951d10ca195
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 3 15:16:47 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 3 15:16:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a42deb3
7
8 dev-util/kdbg: EAPI-7 bump
9
10 Use upstream patch to not install broken PNGs, drop pngfix hack.
11
12 Package-Manager: Portage-2.3.62, Repoman-2.3.12
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 .../kdbg/files/kdbg-3.0.0-no-png-install.patch | 54 ++++++++++++++++++++++
16 dev-util/kdbg/kdbg-3.0.0-r1.ebuild | 43 +++++++++++++++++
17 2 files changed, 97 insertions(+)
18
19 diff --git a/dev-util/kdbg/files/kdbg-3.0.0-no-png-install.patch b/dev-util/kdbg/files/kdbg-3.0.0-no-png-install.patch
20 new file mode 100644
21 index 00000000000..237feaa981b
22 --- /dev/null
23 +++ b/dev-util/kdbg/files/kdbg-3.0.0-no-png-install.patch
24 @@ -0,0 +1,54 @@
25 +From 826d503da8bfe7c567fc44dee178a4fca2b52f0a Mon Sep 17 00:00:00 2001
26 +From: Johannes Sixt <j6t@××××.org>
27 +Date: Fri, 15 Feb 2019 20:26:03 +0100
28 +Subject: [PATCH] Do not install the pulse frames.
29 +
30 +Andreas Sturmlechner noticed that the frame PNGs are slightly broken:
31 +
32 + .../pulse000000.png: broken IDAT window length
33 +
34 +Since the PNGs are only needed to build pulse.mng, do not install them.
35 +---
36 + kdbg/pics/CMakeLists.txt | 29 -----------------------------
37 + 1 file changed, 29 deletions(-)
38 +
39 +diff --git a/kdbg/pics/CMakeLists.txt b/kdbg/pics/CMakeLists.txt
40 +index 41625b3..9615b1b 100644
41 +--- a/kdbg/pics/CMakeLists.txt
42 ++++ b/kdbg/pics/CMakeLists.txt
43 +@@ -31,35 +31,6 @@ set(PICTOGRAMS
44 + install(FILES ${PICTOGRAMS} DESTINATION "${DATA_INSTALL_DIR}/kdbg/pics")
45 +
46 + ecm_install_icons(ICONS
47 +- 22-actions-pulse000000.png
48 +- 22-actions-pulse000001.png
49 +- 22-actions-pulse000002.png
50 +- 22-actions-pulse000003.png
51 +- 22-actions-pulse000004.png
52 +- 22-actions-pulse000005.png
53 +- 22-actions-pulse000006.png
54 +- 22-actions-pulse000007.png
55 +- 22-actions-pulse000008.png
56 +- 22-actions-pulse000009.png
57 +- 22-actions-pulse000010.png
58 +- 22-actions-pulse000011.png
59 +- 22-actions-pulse000012.png
60 +- 22-actions-pulse000013.png
61 +- 22-actions-pulse000014.png
62 +- 22-actions-pulse000015.png
63 +- 22-actions-pulse000016.png
64 +- 22-actions-pulse000017.png
65 +- 22-actions-pulse000018.png
66 +- 22-actions-pulse000019.png
67 +- 22-actions-pulse000020.png
68 +- 22-actions-pulse000021.png
69 +- 22-actions-pulse000022.png
70 +- 22-actions-pulse000023.png
71 +- 22-actions-pulse000024.png
72 +- 22-actions-pulse000025.png
73 +- 22-actions-pulse000026.png
74 +- 22-actions-pulse000027.png
75 +- 22-actions-pulse000028.png
76 + 22-actions-pulse.mng
77 + DESTINATION "${DATA_INSTALL_DIR}/kdbg/icons"
78 + THEME hicolor
79 \ No newline at end of file
80
81 diff --git a/dev-util/kdbg/kdbg-3.0.0-r1.ebuild b/dev-util/kdbg/kdbg-3.0.0-r1.ebuild
82 new file mode 100644
83 index 00000000000..e8543c0a37c
84 --- /dev/null
85 +++ b/dev-util/kdbg/kdbg-3.0.0-r1.ebuild
86 @@ -0,0 +1,43 @@
87 +# Copyright 1999-2019 Gentoo Authors
88 +# Distributed under the terms of the GNU General Public License v2
89 +
90 +EAPI=7
91 +
92 +KDE_HANDBOOK="true"
93 +inherit kde5
94 +
95 +DESCRIPTION="Graphical debugger interface"
96 +HOMEPAGE="http://www.kdbg.org/"
97 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
98 +
99 +LICENSE="GPL-2"
100 +KEYWORDS="~amd64 ~x86"
101 +IUSE=""
102 +
103 +DEPEND="
104 + $(add_frameworks_dep kconfig)
105 + $(add_frameworks_dep kconfigwidgets)
106 + $(add_frameworks_dep kcoreaddons)
107 + $(add_frameworks_dep ki18n)
108 + $(add_frameworks_dep kiconthemes)
109 + $(add_frameworks_dep kwidgetsaddons)
110 + $(add_frameworks_dep kwindowsystem)
111 + $(add_frameworks_dep kxmlgui)
112 + $(add_qt_dep qtgui)
113 + $(add_qt_dep qtwidgets)
114 +"
115 +RDEPEND="${DEPEND}
116 + !dev-util/kdbg:4
117 + sys-devel/gdb
118 +"
119 +
120 +PATCHES=( "${FILESDIR}/${P}-no-png-install.patch" )
121 +
122 +src_prepare() {
123 + # allow documentation to be handled by eclass
124 + mv kdbg/doc . || die
125 + sed -i -e '/add_subdirectory(doc)/d' kdbg/CMakeLists.txt || die
126 + echo "add_subdirectory ( doc ) " >> CMakeLists.txt || die
127 +
128 + kde5_src_prepare
129 +}