Bug 42171 - x11-toolkits/qt30 doesn't build & install msg2qm
Summary: x11-toolkits/qt30 doesn't build & install msg2qm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-29 19:50 UTC by Tilman Linneweh
Modified: 2002-09-01 00:25 UTC (History)
1 user (show)

See Also:


Attachments
qt.diff (1.91 KB, patch)
2002-08-29 19:50 UTC, Tilman Linneweh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Linneweh 2002-08-29 19:50:01 UTC
	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.
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-08-29 20:25:02 UTC
Responsible Changed
From-To: freebsd-ports->kde

Over to maintainer(s)
Comment 2 Tilman Linneweh 2002-08-30 15:29:21 UTC
> >Synopsis:       x11-toolkits/qt30 doesn't build & install msg2qm
> >Arrival-Date:   Thu Aug 29 11:50:01 PDT 2002

Updated diff, small typo q and g looked too similar at that late time.

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	30 Aug 2002 14:24:04 -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/msg2qm/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
Comment 3 Tilman Linneweh 2002-08-30 21:27:25 UTC
* FreeBSD-gnats-submit@FreeBSD.org [Thu, 29 Aug 2002 11:50:01 -0700 (PDT)]:
> >Category:       ports
> >Responsible:    freebsd-ports
> >Synopsis:       x11-toolkits/qt30 doesn't build & install msg2qm
> >Arrival-Date:   Thu Aug 29 11:50:01 PDT 2002

Third try...
Another needed perlscript was missing findtr

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	30 Aug 2002 14:58:25 -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,22 @@
 	@${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/msg2qm/msg2qm ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/qembed/qembed ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/qvfb/qvfb ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/findtr ${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	30 Aug 2002 15:10:53 -0000
@@ -1,12 +1,18 @@
 bin/assistant
 bin/designer
+bin/findtr
 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
Comment 4 Alan Eldridge freebsd_committer freebsd_triage 2002-08-30 21:33:44 UTC
Responsible Changed
From-To: kde->alane

I'll handle this one.
Comment 5 Alan Eldridge freebsd_committer freebsd_triage 2002-09-01 00:24:27 UTC
Responsible Changed
From-To: alane->kde

So close msg will go to right place.
Comment 6 Alan Eldridge freebsd_committer freebsd_triage 2002-09-01 00:24:59 UTC
State Changed
From-To: open->closed

Committed, thanks.