Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 20:44:25 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kde@FreeBSD.org
Subject:   ports/42171: x11-toolkits/qt30 doesn't build & install msg2qm
Message-ID:  <200208291844.g7TIiPRY016316@tl.kom.tuwien.ac.at>

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

>Number:         42171
>Category:       ports
>Synopsis:       x11-toolkits/qt30 doesn't build & install msg2qm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 29 11:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Vienna University of Technology
>Environment:
System: FreeBSD tl.kom.tuwien.ac.at 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Jul 24 15:50:09 CEST 2002 root@tl.kom.tuwien.ac.at:/usr/obj/usr/src/sys/MYKERNEL i386


	
>Description:
	The msg2qm utility is needed by at least two ports i wanted to update
	to QT3, devel/qtez and mail/liamail.
	It is used to qenerate the .qm translation files.

	I am a bit unsure why they are not built, but why they are not
	installed ist clear, as the install: target in the specific directory 
	is empty.

	While I was patching the port to install msg2qm I looked at the other 
	programs in the tools - directory, I noticed some other have the same
	problem. I dunno what they are used for, but as I think our qt-port 
	should be complete I added them too. They are all quite small. 
	
>How-To-Repeat:
	
>Fix:

	

--- qt.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/qt30/Makefile,v
retrieving revision 1.113
diff -u -r1.113 Makefile
--- Makefile	17 Aug 2002 19:49:44 -0000	1.113
+++ Makefile	29 Aug 2002 18:32:55 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME?=	qt
 PORTVERSION?=	3.0.5
-PORTREVISION?=  2
+PORTREVISION?=  3
 CATEGORIES?=	x11-toolkits
 MASTER_SITES=	ftp://ftp.trolltech.com/qt/source/ \
 		ftp://ftp.chg.ru/pub/X11/qt/source/
@@ -106,9 +106,21 @@
 	@${REINPLACE_CMD} -e 's,g++,${CXX},' \
 		${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
 
+post-build:
+	cd ${WRKSRC}/tools/makeqpf/; ${SETENV} ${MAKE_ENV} ${MAKE}
+	cd ${WRKSRC}/tools/mergetr/; ${SETENV} ${MAKE_ENV} ${MAKE}
+	cd ${WRKSRC}/tools/msg2qm/; ${SETENV} ${MAKE_ENV} ${MAKE}
+	cd ${WRKSRC}/tools/qembed/; ${SETENV} ${MAKE_ENV} ${MAKE}
+	cd ${WRKSRC}/tools/qvfb/; ${SETENV} ${MAKE_ENV} ${MAKE}
+
 # Work around qmake generated dependencies
 pre-install:
 	@${INSTALL_DATA} ${WRKSRC}/lib/*.prl ${PREFIX}/lib
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/makeqpf/makeqpf ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/mergetr/mergetr ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/msq2qm/msg2qm ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/qembed/qembed ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/qvfb/qvfb ${PREFIX}/bin
 
 .if exists(${PKGMESSAGE})
 # Display another GL advisory. This one goes in the package, too.
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/qt30/pkg-plist,v
retrieving revision 1.51
diff -u -r1.51 pkg-plist
--- pkg-plist	25 Aug 2002 04:37:16 -0000	1.51
+++ pkg-plist	29 Aug 2002 16:19:05 -0000
@@ -3,10 +3,15 @@
 bin/linguist
 bin/lrelease
 bin/lupdate
+bin/makeqpf
+bin/mergetr
+bin/msg2qm
 bin/moc
+bin/qembed
 bin/qm2ts
 bin/qmake
 bin/qtconfig
+bin/qvfb
 bin/uic
 include/private/qapplication_p.h
 include/private/qcolor_p.h
--- qt.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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