public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kwin/, kde-base/kwin/files/
Date: Fri, 19 Sep 2014 17:22:47 +0000 (UTC)	[thread overview]
Message-ID: <1411147329.c231d35eaceec2ebc00d3282a26bc35819d8eda4.johu@gentoo> (raw)

commit:     c231d35eaceec2ebc00d3282a26bc35819d8eda4
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 17:22:09 2014 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 17:22:09 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c231d35e

[kde-base/kwin] Add upstream patch, fixes build with Qt 5.4

Spotted by Franz Fellner <alpine.art.de <AT> gmail.com>, bug #523194.

Package-Manager: portage-2.2.13

---
 kde-base/kwin/files/kwin-5.0.2-qt54.patch | 37 +++++++++++++++++++++++++++++++
 kde-base/kwin/kwin-5.0.2.ebuild           |  2 ++
 2 files changed, 39 insertions(+)

diff --git a/kde-base/kwin/files/kwin-5.0.2-qt54.patch b/kde-base/kwin/files/kwin-5.0.2-qt54.patch
new file mode 100644
index 0000000..e490a94
--- /dev/null
+++ b/kde-base/kwin/files/kwin-5.0.2-qt54.patch
@@ -0,0 +1,37 @@
+commit c00c67bf29c10862a973289486a535c8566d5110
+Author: Martin Gräßlin <mgraesslin@kde.org>
+Date:   Wed Sep 3 09:47:21 2014 +0200
+
+    [scripting] Drop qmlRegisterType for QQuickWindow
+    
+    Not needed as one can just do:
+    import QtQuick.Window;
+    
+    This fixes a build problem with Qt 5.4.
+    
+    BUG: 338277
+
+diff --git a/scripting/scripting.cpp b/scripting/scripting.cpp
+index 3bc4358..9dc7bad 100644
+--- a/scripting/scripting.cpp
++++ b/scripting/scripting.cpp
+@@ -620,7 +620,6 @@ void KWin::Scripting::init()
+     qmlRegisterType<KWin::ScriptingClientModel::ClientModelByScreenAndDesktop>("org.kde.kwin", 2, 0, "ClientModelByScreenAndDesktop");
+     qmlRegisterType<KWin::ScriptingClientModel::ClientFilterModel>("org.kde.kwin", 2, 0, "ClientFilterModel");
+     qmlRegisterType<KWin::Client>();
+-    qmlRegisterType<QQuickWindow>();
+     qmlRegisterType<QAbstractItemModel>();
+ 
+     m_qmlEngine->rootContext()->setContextProperty(QStringLiteral("workspace"), m_workspaceWrapper);
+diff --git a/scripts/desktopchangeosd/contents/ui/osd.qml b/scripts/desktopchangeosd/contents/ui/osd.qml
+index fbf7dd7..e2ff86c 100644
+--- a/scripts/desktopchangeosd/contents/ui/osd.qml
++++ b/scripts/desktopchangeosd/contents/ui/osd.qml
+@@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *********************************************************************/
+ import QtQuick 2.0;
++import QtQuick.Window 2.0;
+ import org.kde.plasma.core 2.0 as PlasmaCore;
+ import org.kde.plasma.components 2.0 as Plasma;
+ import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons;

diff --git a/kde-base/kwin/kwin-5.0.2.ebuild b/kde-base/kwin/kwin-5.0.2.ebuild
index 0fd6e0b..5fbac2a 100644
--- a/kde-base/kwin/kwin-5.0.2.ebuild
+++ b/kde-base/kwin/kwin-5.0.2.ebuild
@@ -69,6 +69,8 @@ DEPEND="${COMMON_DEPEND}
 	x11-proto/xproto
 "
 
+PATCHES=( "${FILESDIR}/${P}-qt54.patch" )
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package wayland)


             reply	other threads:[~2014-09-19 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-19 17:22 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-23 11:36 [gentoo-commits] proj/kde:master commit in: kde-base/kwin/, kde-base/kwin/files/ Michael Palimaka
2012-01-13 12:22 Andreas Hüttel
2011-08-17 20:54 Andreas Hüttel
2011-08-15 15:06 Andreas Hüttel
2011-05-11 17:32 Tomas Chvatal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411147329.c231d35eaceec2ebc00d3282a26bc35819d8eda4.johu@gentoo \
    --to=johu@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox