Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 19:36:22 +0000
From:      "D7" <danny@ricin.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        danny@ricin.com
Subject:   ports/91965: [maintainer] x11-toolkits/py-kde: fix build problem with KDE 3.5
Message-ID:  <20060118193916.2981E43D45@mx1.FreeBSD.org>
Resent-Message-ID: <200601181940.k0IJe42v021921@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91965
>Category:       ports
>Synopsis:       [maintainer] x11-toolkits/py-kde: fix build problem with KDE 3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 18 19:40:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Danny Pansters
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD desktop.homenet 6.0-STABLE FreeBSD 6.0-STABLE #6: Sat Nov 5 19:10:14 UTC 2005 danny@desktop.homenet:/usr/obj/usr/src/sys/DESKTOP i386


	
>Description:
	Fails to build with KDE 3.5. Turns out to be a known problem:
	http://mats.imk.fraunhofer.de/pipermail/pykde/2005-December/011603.html

	Also attempt to fix sparc64 build on 7 by upping the number of concatenated
	cpp files generated by SIP. Pointyhat will show if this works.

	Bumped PORTREVISION (because patchfile added).
>How-To-Repeat:
	Install KDE 3.5 and build py-kde.
>Fix:

--- py-kde.diff begins here ---
diff -ruN x11-toolkits/py-kde/Makefile x11-toolkits/py-kde.new/Makefile
--- x11-toolkits/py-kde/Makefile	Fri Dec  2 13:05:57 2005
+++ x11-toolkits/py-kde.new/Makefile	Tue Jan 17 21:31:27 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	kde
 PORTVERSION=	4.0.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	x11-toolkits python kde
 MASTER_SITES=	http://www.river-bank.demon.co.uk/download/PyKDE2/ \
 		http://freebsd.ricin.com/ports/distfiles/
@@ -40,6 +40,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "i386"
+.if ${ARCH} == "sparc64"
+ARGS+=		-j 3
+.endif
 ARGS+=		-j 2
 .endif
 .if defined(WITH_DEBUG)
diff -ruN x11-toolkits/py-kde/files/patch-sip__kdecore__fixx11h.sip x11-toolkits/py-kde.new/files/patch-sip__kdecore__fixx11h.sip
--- x11-toolkits/py-kde/files/patch-sip__kdecore__fixx11h.sip	Thu Jan  1 00:00:00 1970
+++ x11-toolkits/py-kde.new/files/patch-sip__kdecore__fixx11h.sip	Tue Jan 17 21:25:50 2006
@@ -0,0 +1,10 @@
+--- sip/kdecore/fixx11h.sip.orig	Tue Jan 17 12:07:33 2006
++++ sip/kdecore/fixx11h.sip	Tue Jan 17 12:07:57 2006
+@@ -24,6 +24,7 @@
+ // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ 
+ %ModuleHeaderCode
++#include <X11/X.h>
+ #include <fixx11h.h>
+ %End
+ 
--- py-kde.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060118193916.2981E43D45>