View | Details | Raw Unified | Return to bug 190929
Collapse All | Expand All

(-)QT/Mk/bsd.qt.mk (-2 / +2 lines)
Lines 285-291 Link Here
285
Qt_Post_Include=	bsd.qt.mk
285
Qt_Post_Include=	bsd.qt.mk
286
286
287
_USE_QT_ALL=	assistant clucene dbus declarative designer gui help \
287
_USE_QT_ALL=	assistant clucene dbus declarative designer gui help \
288
				imageformats linguist multimedia network opengl pixeltool \
288
				imageformats linguist linguisttools multimedia network opengl pixeltool \
289
				qdbusviewer qmake script scripttools sql sql-ibase sql-mysql \
289
				qdbusviewer qmake script scripttools sql sql-ibase sql-mysql \
290
				sql-odbc sql-pgsql sql-sqlite2 sql-sqlite3 svg testlib webkit \
290
				sql-odbc sql-pgsql sql-sqlite2 sql-sqlite3 svg testlib webkit \
291
				xml xmlpatterns
291
				xml xmlpatterns
Lines 296-302 Link Here
296
				phonon-gst porting qdoc3 qmlviewer qt3support qtconfig \
296
				phonon-gst porting qdoc3 qmlviewer qt3support qtconfig \
297
				qtestlib qvfb rcc uic uic3 xmlpatterns-tool
297
				qtestlib qvfb rcc uic uic3 xmlpatterns-tool
298
298
299
_USE_QT5_ONLY=	buildtools concurrent core graphicaleffects linguisttools \
299
_USE_QT5_ONLY=	buildtools concurrent core graphicaleffects \
300
				paths printsupport qdbus qdoc qev qml quick \
300
				paths printsupport qdbus qdoc qev qml quick \
301
				quickcontrols serialport uitools widgets x11extras
301
				quickcontrols serialport uitools widgets x11extras
302
302
(-)QT/devel/qt4-linguist/Makefile (-2 / +3 lines)
Lines 1-8 Link Here
1
# Created by: lofi@FreeBSD.org
1
# Created by: lofi@FreeBSD.org
2
# $FreeBSD$
2
# $FreeBSD: head/devel/qt4-linguist/Makefile 367888 2014-09-10 20:50:31Z gerald $
3
3
4
PORTNAME=	linguist
4
PORTNAME=	linguist
5
DISTVERSION=	${QT4_VERSION}
5
DISTVERSION=	${QT4_VERSION}
6
PORTREVISION=	1
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
PKGNAMEPREFIX=	qt4-
8
PKGNAMEPREFIX=	qt4-
8
9
Lines 10-16 Link Here
10
COMMENT=	Qt 4 localization tools
11
COMMENT=	Qt 4 localization tools
11
12
12
USE_QT4=	qmake_build designer_build moc_build rcc_build uic_build \
13
USE_QT4=	qmake_build designer_build moc_build rcc_build uic_build \
13
		assistant_run gui network xml
14
		assistant_run gui linguisttools_run network xml
14
QT_DIST=	yes
15
QT_DIST=	yes
15
16
16
HAS_CONFIGURE=	yes
17
HAS_CONFIGURE=	yes
(-)QT/devel/qt4-linguist/files/patch-tools_linguist_linguist.pro (+10 lines)
Line 0 Link Here
1
--- tools/linguist/linguist.pro.orig	2015-02-23 21:20:45 UTC
2
+++ tools/linguist/linguist.pro
3
@@ -1,6 +1,2 @@
4
 TEMPLATE = subdirs
5
-SUBDIRS  = \
6
-    lrelease \
7
-    lupdate \
8
-    lconvert
9
-!no-png:!contains(QT_CONFIG, no-gui):SUBDIRS += linguist
10
+SUBDIRS  = linguist
(-)QT/devel/qt4-linguist/pkg-plist (-6 lines)
Lines 1-11 Link Here
1
%%QT_BINDIR%%/lconvert
2
%%DEBUG%%%%QT_BINDIR%%/lconvert.debug
3
%%QT_BINDIR%%/linguist-qt4
1
%%QT_BINDIR%%/linguist-qt4
4
%%DEBUG%%%%QT_BINDIR%%/linguist-qt4.debug
2
%%DEBUG%%%%QT_BINDIR%%/linguist-qt4.debug
5
%%QT_BINDIR%%/lrelease-qt4
6
%%DEBUG%%%%QT_BINDIR%%/lrelease-qt4.debug
7
%%QT_BINDIR%%/lupdate-qt4
8
%%DEBUG%%%%QT_BINDIR%%/lupdate-qt4.debug
9
share/pixmaps/linguist-qt4.png
3
share/pixmaps/linguist-qt4.png
10
%%QT_DATADIR%%/phrasebooks/danish.qph
4
%%QT_DATADIR%%/phrasebooks/danish.qph
11
%%QT_DATADIR%%/phrasebooks/dutch.qph
5
%%QT_DATADIR%%/phrasebooks/dutch.qph
(-)QT/devel/qt4-linguisttools/Makefile (+51 lines)
Line 0 Link Here
1
# $FreeBSD: head/devel/qt4-linguist/Makefile 367888 2014-09-10 20:50:31Z gerald $
2
3
PORTNAME=	linguisttools
4
DISTVERSION=	${QT4_VERSION}
5
PORTREVISION=	1
6
CATEGORIES=	devel
7
PKGNAMEPREFIX=	qt4-
8
9
MAINTAINER=	kde@FreeBSD.org
10
COMMENT=	Qt 4 localization tools
11
12
USE_QT4=	qmake_build moc_build rcc_build uic_build xml
13
QT_DIST=	yes
14
15
HAS_CONFIGURE=	yes
16
17
ALL_TARGET=	first
18
CONFIGURE_ENV?=	QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
19
MAKE_ENV?=	QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib:$$LD_LIBRARY_PATH \
20
		PATH=${WRKSRC}/bin:$$PATH
21
22
DO_NOT_EXTRACT=	demos doc examples mkspecs qmake translations \
23
		src/activeqt src/dbus src/multimedia src/network src/opengl \
24
		src/openvg src/phonon src/qt3support src/s60installs \
25
		src/s60main src/script src/scripttools src/sql src/svg \
26
		src/testlib src/tools src/winmain src/xmlpatterns \
27
		src/3rdparty/clucene src/3rdparty/freetype \
28
		src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \
29
		src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit
30
.for dne in ${DO_NOT_EXTRACT}
31
EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
32
.endfor
33
34
BUILD_WRKSRC=	${WRKSRC}/tools/linguist
35
INSTALL_WRKSRC=	${BUILD_WRKSRC}
36
37
pre-configure:
38
	${REINPLACE_CMD} -E -e 's|^TARGET[[:blank:]]*=[[:blank:]]*([a-z]+)|TARGET=\1${_QT_BINSUFX}|g' \
39
		${BUILD_WRKSRC}/linguist.pro ${BUILD_WRKSRC}/linguist/linguist.pro \
40
		${BUILD_WRKSRC}/lrelease/lrelease.pro ${BUILD_WRKSRC}/lupdate/lupdate.pro
41
	${MKDIR} ${WRKSRC}/mkspecs
42
	${LN} -sf ${QMAKE} ${WRKSRC}/bin/qmake
43
	${LN} -sf ${MOC} ${WRKSRC}/bin/moc
44
	${LN} -sf ${UIC} ${WRKSRC}/bin/uic
45
	${LN} -sf ${RCC} ${WRKSRC}/bin/rcc
46
47
post-patch:
48
	@${REINPLACE_CMD} -e '/SUBDIRS.*linguist/ d' \
49
		${WRKSRC}/tools/linguist/linguist.pro
50
51
.include <bsd.port.mk>
(-)QT/devel/qt4-linguisttools/files/patch-tools__linguist__lrelease__main.cpp (+10 lines)
Line 0 Link Here
1
--- tools/linguist/lrelease/main.cpp.orig	2014-04-10 18:37:13 UTC
2
+++ tools/linguist/lrelease/main.cpp
3
@@ -47,6 +47,7 @@
4
 #ifndef QT_BOOTSTRAPPED
5
 #include <QtCore/QCoreApplication>
6
 #include <QtCore/QTranslator>
7
+#include <QtCore/QLibraryInfo>
8
 #endif
9
 #include <QtCore/QDebug>
10
 #include <QtCore/QDir>
(-)QT/devel/qt4-linguisttools/files/patch-tools_linguist_lrelease_lrelease.pro (+11 lines)
Line 0 Link Here
1
--- tools/linguist/lrelease/lrelease.pro.orig	2015-02-23 21:14:17 UTC
2
+++ tools/linguist/lrelease/lrelease.pro
3
@@ -2,6 +2,8 @@ TEMPLATE        = app
4
 TARGET          = lrelease
5
 DESTDIR         = ../../../bin
6
 
7
+QT -= gui
8
+
9
 DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
10
 SOURCES += main.cpp
11
 
(-)QT/devel/qt4-linguisttools/pkg-plist (+6 lines)
Line 0 Link Here
1
%%QT_BINDIR%%/lconvert
2
%%DEBUG%%%%QT_BINDIR%%/lconvert.debug
3
%%QT_BINDIR%%/lrelease-qt4
4
%%DEBUG%%%%QT_BINDIR%%/lrelease-qt4.debug
5
%%QT_BINDIR%%/lupdate-qt4
6
%%DEBUG%%%%QT_BINDIR%%/lupdate-qt4.debug

Return to bug 190929