Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-desktop
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-desktop@g.o
From: Alex Efros <powerman@...>
Subject: [PATCH] amarok-1.4.10_p20090130-r4 fail to compile
Date: Tue, 27 Sep 2011 18:04:03 +0300
Hi!

Error from build log:

---cut---
In file included from amarokdcophandler.cpp:36:0:
../../../amarok/src/osd.h: At global scope:
../../../amarok/src/osd.h:40:74: error: cannot call constructor 'QImage::QImage' directly
../../../amarok/src/osd.h:40:74: error:   for a function-style cast, remove the redundant '::QImage'
---cut---

Patch (duplicated in attach):

---cut---
--- amarok/src/osd.h.orig       2011-09-27 17:47:26.000000000 +0300
+++ amarok/src/osd.h    2011-09-27 17:47:43.000000000 +0300
@@ -37,7 +37,7 @@
 
       public slots:
         /** calls setText() then show(), after setting image if needed */
-        void show( const QString &text, QImage newImage = QImage::QImage() );
+        void show( const QString &text, QImage newImage = QImage() );
         void ratingChanged( const short rating );
         void ratingChanged( const QString& path, int rating );
         void volChanged( unsigned char volume );
---cut---

I noticed this issue when re-emerging @world after upgrading gcc 4.4.5 to
4.5.3, but probably this issue have nothing with gcc and related to some
previous qt upgrade, so I named patch file amarok-qt3-4.7.patch but I'm
not sure this is correct name.

-- 
			WBR, Alex.
--- amarok/src/osd.h.orig	2011-09-27 17:47:26.000000000 +0300
+++ amarok/src/osd.h	2011-09-27 17:47:43.000000000 +0300
@@ -37,7 +37,7 @@
 
       public slots:
         /** calls setText() then show(), after setting image if needed */
-        void show( const QString &text, QImage newImage = QImage::QImage() );
+        void show( const QString &text, QImage newImage = QImage() );
         void ratingChanged( const short rating );
         void ratingChanged( const QString& path, int rating );
         void volChanged( unsigned char volume );
--- /var/lib/layman/kde-sunset/media-sound/amarok/amarok-1.4.10_p20090130-r4.ebuild	2010-11-14 21:17:44.000000000 +0200
+++ amarok-1.4.10_p20090130-r4.ebuild	2011-09-27 17:49:36.000000000 +0300
@@ -77,6 +77,7 @@
 	"${FILESDIR}/${PN}-libmp4v2.patch"
 	"${FILESDIR}/${PN}-libmp4v2-2.patch"
 	"${FILESDIR}/${PN}-1.4.10-fix-autoconf-2.64.patch"
+	"${FILESDIR}/${PN}-qt3-4.7.patch"
 	"${WORKDIR}/${PN}-1.4.10-post20090130.diff"
 	"${WORKDIR}/${PN}-1.4.10-desktop-entry.diff"
 )
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
How to get rid of things depending on KDE4.
Next by thread:
KDE3 overlay message.
Previous by date:
Re: UNSUBSCRIBE
Next by date:
KDE3 overlay message.


Updated Jun 28, 2012

Summary: Archive of the gentoo-desktop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.