1 |
commit: c5ee035bf5e54c6946d65ac53144e33079a16806 |
2 |
Author: Andreas K. Huettel (dilfridge) <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 30 13:52:43 2015 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 30 13:52:43 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c5ee035b |
7 |
|
8 |
[kde-base/kalarm] Add 4.4-noakonadi snapshot |
9 |
|
10 |
Package-Manager: portage-2.2.20 |
11 |
|
12 |
kde-base/kalarm/files/kalarm-4.4.11.1-crash.patch | 34 +++++++++++++++++++ |
13 |
.../files/kalarm-4.4.11.1-underlinking.patch | 14 ++++++++ |
14 |
kde-base/kalarm/kalarm-4.4.2015.06.ebuild | 38 ++++++++++++++++++++++ |
15 |
3 files changed, 86 insertions(+) |
16 |
|
17 |
diff --git a/kde-base/kalarm/files/kalarm-4.4.11.1-crash.patch b/kde-base/kalarm/files/kalarm-4.4.11.1-crash.patch |
18 |
new file mode 100644 |
19 |
index 0000000..2c05d75 |
20 |
--- /dev/null |
21 |
+++ b/kde-base/kalarm/files/kalarm-4.4.11.1-crash.patch |
22 |
@@ -0,0 +1,34 @@ |
23 |
+diff --git a/kalarm/lib/spinbox2.cpp b/kalarm/lib/spinbox2.cpp |
24 |
+index cc10882..f1e8ab9 100644 |
25 |
+--- a/kalarm/lib/spinbox2.cpp |
26 |
++++ b/kalarm/lib/spinbox2.cpp |
27 |
+@@ -1,7 +1,7 @@ |
28 |
+ /* |
29 |
+ * spinbox2.cpp - spin box with extra pair of spin buttons (for Qt 3) |
30 |
+ * Program: kalarm |
31 |
+- * Copyright © 2001-2009 by David Jarvie <djarvie@×××.org> |
32 |
++ * Copyright © 2001-2009,2011 by David Jarvie <djarvie@×××.org> |
33 |
+ * |
34 |
+ * This program is free software; you can redistribute it and/or modify |
35 |
+ * it under the terms of the GNU General Public License as published by |
36 |
+@@ -28,7 +28,7 @@ |
37 |
+ #include <QMouseEvent> |
38 |
+ #include <QStyleOptionSpinBox> |
39 |
+ #include <QGraphicsPixmapItem> |
40 |
+-#include <QPaintEngine> |
41 |
++#include <QPainter> |
42 |
+ #include <QTimer> |
43 |
+ #include <QFrame> |
44 |
+ #include <QBrush> |
45 |
+@@ -588,8 +588,9 @@ void SpinMirror::setFrame() |
46 |
+ p = grabWidget(mMainSpinbox, QRect(x, 0, 1, height())); |
47 |
+ // Blot out edit field stuff from the middle of the slice |
48 |
+ QPixmap dot = grabWidget(mMainSpinbox, QRect(x, editOffsetY, 1, 1)); |
49 |
+- QPaintEngine* pe = p.paintEngine(); |
50 |
+- pe->drawTiledPixmap(QRectF(0, editOffsetY, 1, height() - 2*editOffsetY), dot, QPointF(0, 0)); |
51 |
++ QPainter painter(&p); |
52 |
++ painter.drawTiledPixmap(0, editOffsetY, 1, height() - 2*editOffsetY, dot, 0, 0); |
53 |
++ painter.end(); |
54 |
+ // Horizontally fill the mirror widget with the vertical slice |
55 |
+ p = p.scaled(size()); |
56 |
+ // Grab the left hand border of the main spinbox, and draw it into the mirror widget. |
57 |
|
58 |
diff --git a/kde-base/kalarm/files/kalarm-4.4.11.1-underlinking.patch b/kde-base/kalarm/files/kalarm-4.4.11.1-underlinking.patch |
59 |
new file mode 100644 |
60 |
index 0000000..87eadc8 |
61 |
--- /dev/null |
62 |
+++ b/kde-base/kalarm/files/kalarm-4.4.11.1-underlinking.patch |
63 |
@@ -0,0 +1,14 @@ |
64 |
+diff -ruN kalarm-4.4.11.1.orig/kalarm/CMakeLists.txt kalarm-4.4.11.1/kalarm/CMakeLists.txt |
65 |
+--- kalarm-4.4.11.1.orig/kalarm/CMakeLists.txt 2011-04-20 22:03:31.000000000 +0200 |
66 |
++++ kalarm-4.4.11.1/kalarm/CMakeLists.txt 2011-08-11 22:03:27.096295681 +0200 |
67 |
+@@ -130,7 +130,9 @@ |
68 |
+ |
69 |
+ set_target_properties(kalarm_bin PROPERTIES OUTPUT_NAME kalarm) |
70 |
+ |
71 |
+-target_link_libraries(kalarm_bin ${KDE4_KUTILS_LIBS} kalarm_resources kalarm_calendar ${KDEPIMLIBS_KCAL_LIBS} ${KDE4_KABC_LIBRARY} ${KDE4_KMIME_LIBRARY} ${KDEPIMLIBS_KPIMIDENTITIES_LIBS} ${KDEPIMLIBS_MAILTRANSPORT_LIBS} ${KDEPIMLIBS_KHOLIDAYS_LIBS} ${KDE4_PHONON_LIBS} ${X11_X11_LIB} kdepim) |
72 |
++target_link_libraries(kalarm_bin ${KDE4_KUTILS_LIBS} kalarm_resources kalarm_calendar ${KDEPIMLIBS_KCAL_LIBS} ${KDE4_KABC_LIBRARY} |
73 |
++ ${KDE4_KMIME_LIBRARY} ${KDEPIMLIBS_KPIMIDENTITIES_LIBS} ${KDEPIMLIBS_MAILTRANSPORT_LIBS} ${KDEPIMLIBS_KHOLIDAYS_LIBS} |
74 |
++ ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_KPIMUTILS_LIBS} ${KDE4_PHONON_LIBS} ${X11_X11_LIB} kdepim) |
75 |
+ |
76 |
+ install(TARGETS kalarm_bin ${INSTALL_TARGETS_DEFAULT_ARGS} ) |
77 |
+ #endif (UNIX) |
78 |
|
79 |
diff --git a/kde-base/kalarm/kalarm-4.4.2015.06.ebuild b/kde-base/kalarm/kalarm-4.4.2015.06.ebuild |
80 |
new file mode 100644 |
81 |
index 0000000..3320fd2 |
82 |
--- /dev/null |
83 |
+++ b/kde-base/kalarm/kalarm-4.4.2015.06.ebuild |
84 |
@@ -0,0 +1,38 @@ |
85 |
+# Copyright 1999-2014 Gentoo Foundation |
86 |
+# Distributed under the terms of the GNU General Public License v2 |
87 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalarm/kalarm-4.4.11.1-r2.ebuild,v 1.9 2014/04/05 18:08:59 dilfridge Exp $ |
88 |
+ |
89 |
+EAPI=5 |
90 |
+ |
91 |
+KMNAME="kdepim" |
92 |
+KDE_HANDBOOK=optional |
93 |
+inherit kde4-meta |
94 |
+ |
95 |
+DESCRIPTION="Personal alarm message, command and email scheduler for KDE (noakonadi branch)" |
96 |
+KEYWORDS="" |
97 |
+IUSE="debug" |
98 |
+ |
99 |
+RDEPEND=" |
100 |
+ $(add_kdebase_dep kdepimlibs '' 4.6) |
101 |
+ $(add_kdebase_dep libkdepim) |
102 |
+" |
103 |
+DEPEND="${RDEPEND} |
104 |
+ dev-libs/boost:= |
105 |
+ dev-libs/libxslt |
106 |
+" |
107 |
+ |
108 |
+KMEXTRACTONLY=" |
109 |
+ kmail/ |
110 |
+" |
111 |
+ |
112 |
+PATCHES=( |
113 |
+ "${FILESDIR}/${PN}-4.4.11.1-underlinking.patch" |
114 |
+) |
115 |
+ |
116 |
+src_configure() { |
117 |
+ mycmakeargs=( |
118 |
+ -DBUILD_akonadi=OFF |
119 |
+ -DXSLTPROC_EXECUTABLE="${EPREFIX}"/usr/bin/xsltproc |
120 |
+ ) |
121 |
+ kde4-meta_src_configure |
122 |
+} |