Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 20:53:14 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150494: multimedia/kplayer-kde4: fix build with KDE 4.5
Message-ID:  <201009112053.o8BKrE5p019050@www.freebsd.org>
Resent-Message-ID: <201009112100.o8BL08k4054790@freefall.freebsd.org>

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

>Number:         150494
>Category:       ports
>Synopsis:       multimedia/kplayer-kde4: fix build with KDE 4.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 11 21:00:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
FreeBSD luna.dio.ru 8.1-STABLE FreeBSD 8.1-STABLE #10: Tue Aug 31 10:36:57 MSD 2010     root@luna.dio.ru:/usr/obj/usr/freebsd/8/src/sys/LUNA  amd64
>Description:
Fix build with KDE 4.5
Remove needless USE_LDCONFIG
Mark MAKE_JOBS_SAFE

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/kplayer-kde4/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile	4 Sep 2010 07:40:07 -0000	1.24
+++ Makefile	11 Sep 2010 20:44:17 -0000
@@ -13,22 +13,26 @@
 MAINTAINER=	avg@icyb.net.ua
 COMMENT=	Movie player based on mplayer
 
+BUILD_DEPENDS=	${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
 RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer
 
 LATEST_LINK=	${PORTNAME}-kde4
 
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
-USE_LDCONFIG=	yes
 USE_CMAKE=	yes
 USE_QT_VER=	4
 QT_COMPONENTS=	corelib qmake_build moc_build rcc_build uic_build
 USE_KDE4=	kdehier kdeprefix kdelibs automoc4
+MAKE_JOBS_SAFE=	yes
 
-post-extract:
+post-patch:
 .for lang in da en es it pt sv
 	${REINPLACE_CMD} -e "s,HTML_INSTALL_DIR},HTML_INSTALL_DIR}/${lang} SUBDIR kplayer,g" \
 	 ${WRKSRC}/doc/${lang}/CMakeLists.txt
 .endfor
+#Fix build with kdelibs>=4.5.0
+	${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+		${WRKSRC}/doc/*/index.docbook
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/multimedia/kplayer-kde4/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- pkg-plist	1 Sep 2010 13:56:06 -0000	1.11
+++ pkg-plist	11 Sep 2010 20:43:43 -0000
@@ -311,5 +311,3 @@
 @dirrm share/apps/kplayer/icons
 @dirrm share/apps/kplayer
 @dirrmtry share/apps/konqueror/servicemenus
-@dirrmtry share/apps/konqueror
-@dirrmtry share/applications/kde


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



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