svn commit: trunk/buildroot/package/qtopia4
Author: ninevoltz
Date: 2008-04-24 11:44:30 -0700 (Thu, 24 Apr 2008) New Revision: 21851
Log:
update qtopia snapshot version and fix problem with qmake generated makefiles being unable to find the toolchain
Modified:
trunk/buildroot/package/qtopia4/Config.in
trunk/buildroot/package/qtopia4/qtopia4.mk
Changeset:
Modified: trunk/buildroot/package/qtopia4/Config.in
===================================================================
buildroot/package/qtopia4/Config.in +28 -59
@@ -12,6 +12,7 @@ bool "Compile with debug support" default n depends BR2_PACKAGE_QTOPIA4 + help choice prompt "Library type"
@@ -59,7 +60,7 @@ default "" depends BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL help - Commercial users can download their source directly by providing a username. + Commercial users can download their source directly by providing a username. config BR2_PACKAGE_QTOPIA4_COMMERCIAL_PASSWORD
@@ -67,15 +68,23 @@ default "" depends BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL help - Commercial users can download their source directly by providing a password. + Commercial users can download their source directly by providing a password. config BR2_PACKAGE_QTOPIA4_QT3SUPPORT bool "Compatibility with Qt3" default y depends BR2_PACKAGE_QTOPIA4 help - Turns on support for older Qt3. + Turns on support for older Qt3. +config BR2_PACKAGE_QTOPIA4_DEPTHS + string "color depths to support" + default "-depths 8" + depends BR2_PACKAGE_QTOPIA4 + help + Which color depths to support for the library. Default is "-depths + 8". Is specified by a comma separated list, i.e. -depths 24,16,8. + config BR2_PACKAGE_QTOPIA4_GIF bool "Enable GIF support" default n
@@ -86,80 +95,39 @@ config BR2_PACKAGE_QTOPIA4_LIBMNG bool "Enable libmng support" default n + select BR2_PACKAGE_LIBPNG depends BR2_PACKAGE_QTOPIA4 help This compiles and installs the plugin for MNG support. choice - prompt "JPEG support" + prompt "libjpeg support" depends BR2_PACKAGE_QTOPIA4 default BR2_PACKAGE_QTOPIA4_NOJPEG help Select libjpeg support. config BR2_PACKAGE_QTOPIA4_NOJPEG - bool "No jpeg support" + bool + prompt "No jpeg support" + help + Disable JPEG support config BR2_PACKAGE_QTOPIA4_SYSTEMJPEG - bool "Use system libjpeg" + bool select BR2_PACKAGE_JPEG + prompt "use system libjpeg" + help + Link against system libjpeg config BR2_PACKAGE_QTOPIA4_QTJPEG - bool "Use Qt libjpeg" - -endchoice - -choice - prompt "PNG support" - depends BR2_PACKAGE_QTOPIA4 - default BR2_PACKAGE_QTOPIA4_NOPNG + bool + prompt "use qt libjpeg" help - Select which library to use if PNG support should be enabled. - -config BR2_PACKAGE_QTOPIA4_NOPNG - bool "No PNG support" - -config BR2_PACKAGE_QTOPIA4_SYSTEMPNG - bool "Use system libpng" - select BR2_PACKAGE_LIBPNG - -config BR2_PACKAGE_QTOPIA4_QTPNG - bool "Use Qt bundled libpng" - + Link against libjpeg proveded with Qt endchoice choice - prompt "TIFF support" - depends BR2_PACKAGE_QTOPIA4 - default BR2_PACKAGE_QTOPIA4_NOTIFF - help - Select which library to use if TIFF support should be enabled. - -config BR2_PACKAGE_QTOPIA4_NOTIFF - bool "No TIFF support" - -config BR2_PACKAGE_QTOPIA4_SYSTEMTIFF - bool "Use system libtiff" - select BR2_PACKAGE_TIFF - -config BR2_PACKAGE_QTOPIA4_QTTIFF - bool "Use Qt bundled libtiff" - -endchoice - -config BR2_PACKAGE_QTOPIA4_SQL - bool "Enable SQL support" - depends BR2_PACKAGE_QTOPIA4 - help - Enable all the SQL drivers it QtSql library. - -config BR2_PACKAGE_QTOPIA4_OPENSSL - bool "Enable OpenSSL support" - depends BR2_PACKAGE_QTOPIA4 - help - Enable support for the OpenSSL encryption library. - -choice prompt "zlib support" depends BR2_PACKAGE_QTOPIA4 default BR2_PACKAGE_QTOPIA4_QTZLIB
@@ -178,7 +146,7 @@ prompt "Qt zlib" help Use the zlib bundled with Qt. - + config BR2_PACKAGE_QTOPIA4_SYSTEMZLIB bool select BR2_PACKAGE_ZLIB
@@ -186,6 +154,7 @@ help Use the shared zlib from the system. endchoice + config BR2_PACKAGE_QTOPIA4_EMB_PLATFORM string "The embedded platform we are making Qtopia4 for"
@@ -207,4 +176,4 @@ default "generic" if BR2_sparc depends BR2_PACKAGE_QTOPIA4 help - The platform. + The platform.
Modified: trunk/buildroot/package/qtopia4/qtopia4.mk
===================================================================
buildroot/package/qtopia4/qtopia4.mk +64 -72
281 lines not on this page · raw message
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"ninevoltz" == ninevoltz <[email protected]> writes:
ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-04-24 11:44:30 -0700 (Thu, 24 Apr 2008) ninevoltz> New Revision: 21851
ninevoltz> Log:
ninevoltz> update qtopia snapshot version and fix problem with qmake ninevoltz> generated makefiles being unable to find the toolchain
What about all the config changes? Why don't you comment on them? Why are you changing it?
ninevoltz> Modified:
ninevoltz> trunk/buildroot/package/qtopia4/Config.in
ninevoltz> trunk/buildroot/package/qtopia4/qtopia4.mk
ninevoltz> Changeset:
ninevoltz> Modified: trunk/buildroot/package/qtopia4/Config.in ninevoltz> ===================================================================
ninevoltz> --- trunk/buildroot/package/qtopia4/Config.in 2008-04-24 18:35:44 UTC (rev 21850)
ninevoltz> +++ trunk/buildroot/package/qtopia4/Config.in 2008-04-24 18:44:30 UTC (rev 21851)
ninevoltz> @@ -12,6 +12,7 @@
ninevoltz> bool "Compile with debug support" ninevoltz> default n ninevoltz> depends BR2_PACKAGE_QTOPIA4
ninevoltz> + help
Why?
ninevoltz> +qtopia4-status:
ninevoltz> + @echo "QTOPIA4_QMAKE: " $(QTOPIA4_QMAKE)
ninevoltz> + @echo "QTOPIA4_DEP_LIBS: " $(QTOPIA4_DEP_LIBS)
What is that for?
Signature · 1 line
Bye, Peter Korsgaard
I would assume it was due to changes in the build from the different snapshot versions of qtopia. The commit log goes like this:
------------------------------------------------------------------------
r382 | thiago.correa | 2008-04-07 16:00:23 -0400 (Mon, 07 Apr 2008) | 1 line
Fix problem with qmake generaged makefiles unable to find the toolchain
------------------------------------------------------------------------
r366 | john.voltz | 2008-04-04 13:57:27 -0400 (Fri, 04 Apr 2008) | 1 line
update qtopia 4 file version
------------------------------------------------------------------------
r319 | thiago.correa | 2008-03-27 14:34:10 -0400 (Thu, 27 Mar 2008) | 1 line
Sync upstream -r 21517 (buildroot.uclibc.org)
------------------------------------------------------------------------
Quoted 38 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"ninevoltz" == ninevoltz <[email protected]> writes:
ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-04-24 11:44:30 -0700 (Thu, 24 Apr 2008) ninevoltz> New Revision: 21851ninevoltz> Log:
ninevoltz> update qtopia snapshot version and fix problem with qmake ninevoltz> generated makefiles being unable to find the toolchainWhat about all the config changes? Why don't you comment on them? Why are you changing it?
ninevoltz> Modified:
ninevoltz> trunk/buildroot/package/qtopia4/Config.in
ninevoltz>trunk/buildroot/package/qtopia4/qtopia4.mkninevoltz> Changeset:
ninevoltz> Modified: trunk/buildroot/package/qtopia4/Config.in ninevoltz>
===================================================================
ninevoltz> --- trunk/buildroot/package/qtopia4/Config.in 2008-04-24
18:35:44 UTC (rev 21850)
ninevoltz> +++ trunk/buildroot/package/qtopia4/Config.in 2008-04-24
18:44:30 UTC (rev 21851)
ninevoltz> @@ -12,6 +12,7 @@ninevoltz> bool "Compile with debug support" ninevoltz> default n ninevoltz> depends BR2_PACKAGE_QTOPIA4 ninevoltz> + helpWhy?
ninevoltz> +qtopia4-status:
ninevoltz> + @echo "QTOPIA4_QMAKE: " $(QTOPIA4_QMAKE) ninevoltz> + @echo "QTOPIA4_DEP_LIBS: " $(QTOPIA4_DEP_LIBS)
Quoted 9 lines
What is that for?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080424/c7c3493e/attachment-0001.htm
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Voltz <[email protected]> writes:
John> I would assume it was due to changes in the build from the John> different snapshot versions of qtopia. The commit log goes like John> this:
That still doesn't explain the white space changes. Please cleanup stuff before checking in to buildroot instead of simply mirroring what you have in the other repo.
Or alternatively, send the indivual changes as patches and give us some days to comment before checking in.
Signature · 1 line
Bye, Peter Korsgaard
Sorry, I was actually going to wait a little bit to send a patch.... then would have caught this on the diff. But that's quite a small change anyway. The only thing that makes me uncomfortable is the QMAKE variable, it could go without the CONFIGURE_OPTS thing.
Anyway, given that it now actually works as opposed to not, that's quite a minor annoyance.
Btw, it seams to be missing the new Config.in.sql
Quoted 22 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Voltz <[email protected]> writes:
John> I would assume it was due to changes in the build from the John> different snapshot versions of qtopia. The commit log goes like John> this:
That still doesn't explain the white space changes. Please cleanup stuff before checking in to buildroot instead of simply mirroring what you have in the other repo.
Or alternatively, send the indivual changes as patches and give us some days to comment before checking in.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Quoted 11 lines · ninevoltz at uclibc.org
Author: ninevoltz
Date: 2008-04-24 11:44:30 -0700 (Thu, 24 Apr 2008) New Revision: 21851Log:
update qtopia snapshot version and fix problem with qmake generated makefiles being unable to find the toolchainModified:
trunk/buildroot/package/qtopia4/Config.in
trunk/buildroot/package/qtopia4/qtopia4.mk
This is broken, please revert.
buildroot/package/qtopia4/Config.in line 16
Quoted 11 lines
Changeset:
Modified: trunk/buildroot/package/qtopia4/Config.in
===================================================================buildroot/package/qtopia4/Config.in +1
-0@@ -12,6 +12,7 @@ bool "Compile with debug support" default n depends BR2_PACKAGE_QTOPIA4 + help
Remove this
buildroot/package/qtopia4/Config.in line 64
Quoted 9 lines
buildroot/package/qtopia4/Config.in +1
-1choice prompt "Library type"@@ -59,7 +60,7 @@ default "" depends BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL help - Commercial users can download their source directly by providing a username. + Commercial users can download their source directly by providing a username.
Whitespace damage
buildroot/package/qtopia4/Config.in line 72
Quoted 8 lines
buildroot/package/qtopia4/Config.in +1
-1config BR2_PACKAGE_QTOPIA4_COMMERCIAL_PASSWORD@@ -67,15 +68,23 @@ default "" depends BR2_PACKAGE_QTOPIA4 && BR2_PACKAGE_QTOPIA4_LICENSE_TYPE_COMMERCIAL help - Commercial users can download their source directly by providing a password. + Commercial users can download their source directly by providing a password.
Whitespace damage
buildroot/package/qtopia4/Config.in line 79
Quoted 8 lines
buildroot/package/qtopia4/Config.in +1
-1config BR2_PACKAGE_QTOPIA4_QT3SUPPORT bool "Compatibility with Qt3" default y depends BR2_PACKAGE_QTOPIA4 help - Turns on support for older Qt3. + Turns on support for older Qt3.
Whitespace damage
buildroot/package/qtopia4/Config.in line 87
Quoted 8 lines
buildroot/package/qtopia4/Config.in +8
-0+config BR2_PACKAGE_QTOPIA4_DEPTHS + string "color depths to support" + default "-depths 8" + depends BR2_PACKAGE_QTOPIA4 + help + Which color depths to support for the library. Default is "-depths + 8". Is specified by a comma separated list, i.e. -depths 24,16,8. +
Default should be nothing, i.e. enabling all colour depths.
buildroot/package/qtopia4/Config.in line 98
Quoted 8 lines
buildroot/package/qtopia4/Config.in +1
-0config BR2_PACKAGE_QTOPIA4_GIF bool "Enable GIF support" default n@@ -86,80 +95,39 @@ config BR2_PACKAGE_QTOPIA4_LIBMNG bool "Enable libmng support" default n + select BR2_PACKAGE_LIBPNG
Huh? Does PNG support MNG? AFAIK this is to enable the internal MNG library in Qt embedded.
Quoted 9 lines
buildroot/package/qtopia4/Config.in +1
-1depends BR2_PACKAGE_QTOPIA4 help This compiles and installs the plugin for MNG support. choice - prompt "JPEG support" + prompt "libjpeg support" depends BR2_PACKAGE_QTOPIA4 default BR2_PACKAGE_QTOPIA4_NOJPEG
buildroot/package/qtopia4/Config.in line 115
Quoted 10 lines
buildroot/package/qtopia4/Config.in +4
-1help Select libjpeg support. config BR2_PACKAGE_QTOPIA4_NOJPEG - bool "No jpeg support" + bool + prompt "No jpeg support" + help + Disable JPEG support
Broken, Use the bool "<name>" stuff.
buildroot/package/qtopia4/Config.in line 122
Quoted 8 lines
buildroot/package/qtopia4/Config.in +4
-1config BR2_PACKAGE_QTOPIA4_SYSTEMJPEG - bool "Use system libjpeg" + bool select BR2_PACKAGE_JPEG + prompt "use system libjpeg" + help + Link against system libjpeg
?Broken, Use the bool "<name>" stuff.
Quoted 14 lines
buildroot/package/qtopia4/Config.in +2
-10config BR2_PACKAGE_QTOPIA4_QTJPEG - bool "Use Qt libjpeg" - -endchoice - -choice - prompt "PNG support" - depends BR2_PACKAGE_QTOPIA4 - default BR2_PACKAGE_QTOPIA4_NOPNG + bool + prompt "use qt libjpeg" help - Select which library to use if PNG support should be enabled. -
buildroot/package/qtopia4/Config.in line 128
Quoted 10 lines
buildroot/package/qtopia4/Config.in +0
-10-config BR2_PACKAGE_QTOPIA4_NOPNG - bool "No PNG support" - -config BR2_PACKAGE_QTOPIA4_SYSTEMPNG - bool "Use system libpng" - select BR2_PACKAGE_LIBPNG - -config BR2_PACKAGE_QTOPIA4_QTPNG - bool "Use Qt bundled libpng" -
Why are you removing PNG choice?
Quoted 12 lines
buildroot/package/qtopia4/Config.in +1
-8+ Link against libjpeg proveded with Qt endchoice choice - prompt "TIFF support" - depends BR2_PACKAGE_QTOPIA4 - default BR2_PACKAGE_QTOPIA4_NOTIFF - help - Select which library to use if TIFF support should be enabled. - -config BR2_PACKAGE_QTOPIA4_NOTIFF - bool "No TIFF support"
buildroot/package/qtopia4/Config.in line 149
Quoted 10 lines
buildroot/package/qtopia4/Config.in +0
-10- -config BR2_PACKAGE_QTOPIA4_SYSTEMTIFF - bool "Use system libtiff" - select BR2_PACKAGE_TIFF - -config BR2_PACKAGE_QTOPIA4_QTTIFF - bool "Use Qt bundled libtiff" - -endchoice -
Why remove TIFF support?
buildroot/package/qtopia4/Config.in line 155
Quoted 6 lines
buildroot/package/qtopia4/Config.in +0
-6-config BR2_PACKAGE_QTOPIA4_SQL - bool "Enable SQL support" - depends BR2_PACKAGE_QTOPIA4 - help - Enable all the SQL drivers it QtSql library. -
Why remove SQL support?
buildroot/package/qtopia4/Config.in line 161
Quoted 6 lines
buildroot/package/qtopia4/Config.in +0
-6-config BR2_PACKAGE_QTOPIA4_OPENSSL - bool "Enable OpenSSL support" - depends BR2_PACKAGE_QTOPIA4 - help - Enable support for the OpenSSL encryption library. -
Why remove SSL support?
buildroot/package/qtopia4/Config.in line 149
Quoted 10 lines
buildroot/package/qtopia4/Config.in +1
-2-choice prompt "zlib support" depends BR2_PACKAGE_QTOPIA4 default BR2_PACKAGE_QTOPIA4_QTZLIB@@ -178,7 +146,7 @@ prompt "Qt zlib" help Use the zlib bundled with Qt. - +
Whitespace damage
buildroot/package/qtopia4/Config.in line 158
Quoted 9 lines
buildroot/package/qtopia4/Config.in +1
-0config BR2_PACKAGE_QTOPIA4_SYSTEMZLIB bool select BR2_PACKAGE_ZLIB@@ -186,6 +154,7 @@ help Use the shared zlib from the system. endchoice +
Let zlib be user selectable.
buildroot/package/qtopia4/Config.in line 179
Quoted 9 lines
buildroot/package/qtopia4/Config.in +1
-1config BR2_PACKAGE_QTOPIA4_EMB_PLATFORM string "The embedded platform we are making Qtopia4 for"@@ -207,4 +176,4 @@ default "generic" if BR2_sparc depends BR2_PACKAGE_QTOPIA4 help - The platform. + The platform.
Whitespace damage
buildroot/package/qtopia4/qtopia4.mk line 19
Quoted 10 lines
Modified:
trunk/buildroot/package/qtopia4/qtopia4.mk
===================================================================buildroot/package/qtopia4/qtopia4.mk +1
-1@@ -16,7 +16,7 @@ # (cd /usr/include; sudo ln -s dbus-1.0/dbus dbus) # to fix -QTOPIA4_VERSION:=4.4.0-snapshot-20080312 +QTOPIA4_VERSION:=4.4.0-snapshot-20080325
We should bump to version 4.4.1.-snapshot-20080425.
Quoted 8 lines
buildroot/package/qtopia4/qtopia4.mk +1
-0QTOPIA4_CAT:=$(ZCAT) BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME:=$(strip $(subst ",, $(BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME)))@@ -24,20 +24,20 @@ BR2_PACKAGE_QTOPIA4_COMMERCIAL_PASSWORD:=$(strip $(subst ",, $(BR2_PACKAGE_QTOPIA4_COMMERCIAL_PASSWORD))) #")) +QTOPIA4_CONFIGURE:=#empty
buildroot/package/qtopia4/qtopia4.mk line 34
Quoted 10 lines
buildroot/package/qtopia4/qtopia4.mk +2
-3+ # What to download, free or commercial version. ifneq ($(BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME),) QTOPIA4_SITE:=http://$(BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME):$(BR2_QTOPIA4_COMMERCIAL_PASSWORD)@dist.trolltech.com/$(BR2_PACKAGE_QTOPIA4_COMMERCIAL_USERNAME) QTOPIA4_SOURCE:=qt-embedded-linux-commercial-src-$(QTOPIA4_VERSION).tar.gz QTOPIA4_TARGET_DIR:=$(BUILD_DIR)/qt-embedded-linux-commercial-src-$(QTOPIA4_VERSION) -QTOPIA4_NO_SQL_OCI:=-no-sql-oci -QTOPIA4_NO_SQL_TDS:=-no-sql-tds -QTOPIA4_NO_SQL_DB2:=-no-sql-db2 +QTOPIA4_CONFIGURE+= -no-sql-oci -no-sql-tds -no-sql-db2
The SQL selection stuff should be kept.
Quoted 116 lines
buildroot/package/qtopia4/qtopia4.mk +24
-24else # Good, good, we are free: QTOPIA4_SITE=ftp://ftp.trolltech.com/qt/snapshots QTOPIA4_SOURCE:=qt-embedded-linux-opensource-src-$(QTOPIA4_VERSION).tar.gz QTOPIA4_TARGET_DIR:=$(BUILD_DIR)/qt-embedded-linux-opensource-src-$(QTOPIA4_VERSION) ifeq ($(BR2_PACKAGE_QTOPIA4_GPL_LICENSE_APPROVED),y) -QTOPIA4_APPROVE_GPL_LICENSE:=-confirm-license +QTOPIA4_CONFIGURE+= -confirm-license endif endif@@ -54,15 +54,15 @@ QTOPIA4_QCONFIG_FILE_LOCATION:=/src/corelib/global/ ifeq ($(BR2_LARGEFILE),y) -QTOPIA4_LARGEFILE=-largefile +QTOPIA4_CONFIGURE+= -largefile else -QTOPIA4_LARGEFILE=-no-largefile +QTOPIA4_CONFIGURE+= -no-largefile endif ifeq ($(BR2_PACKAGE_QTOPIA4_QT3SUPPORT),y) -QTOPIA4_QT3SUPPORT=-qt3support +QTOPIA4_CONFIGURE+= -qt3support else -QTOPIA4_QT3SUPPORT=-no-qt3support +QTOPIA4_CONFIGURE+= -no-qt3support endif ifeq ($(BR2_PACKAGE_TSLIB),y)@@ -74,110 +74,110 @@ endif ifeq ($(BR2_PACKAGE_QTOPIA4_DEBUG),y) -QTOPIA4_DEBUG="-debug $(QTOPIA4_TSLIB_DEB)" +QTOPIA4_CONFIGURE+= "-debug $(QTOPIA4_TSLIB_DEB)" else -QTOPIA4_DEBUG=-release +QTOPIA4_CONFIGURE+= -release endif ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y) -QTOPIA4_SHARED=-shared +QTOPIA4_CONFIGURE+= -shared else -QTOPIA4_SHARED=-static +QTOPIA4_CONFIGURE+= -static endif ifeq ($(BR2_ENDIAN),"LITTLE") -QTOPIA4_ENDIAN=-little-endian +QTOPIA4_CONFIGURE+= -little-endian else -QTOPIA4_ENDIAN=-big-endian +QTOPIA4_CONFIGURE+= -big-endian endif ifeq ($(BR2_PACKAGE_QTOPIA4_GIF),y) -QTOPIA4_GIF=-qt-gif +QTOPIA4_CONFIGURE+= -qt-gif else -QTOPIA4_GIF=-no-gif +QTOPIA4_CONFIGURE+= -no-gif endif ifeq ($(BR2_PACKAGE_QTOPIA4_LIBMNG),y) -QTOPIA4_MNG=-qt-libmng +QTOPIA4_CONFIGURE+= -qt-libmng else -QTOPIA4_MNG=-no-libmng +QTOPIA4_CONFIGURE+= -no-libmng endif ifeq ($(BR2_PACKAGE_QTOPIA4_QTZLIB),y) -QTOPIA4_ZLIB=-qt-zlib +QTOPIA4_CONFIGURE+= -qt-zlib else ifeq ($(BR2_PACKAGE_QTOPIA4_SYSTEMZLIB),y) -QTOPIA4_ZLIB=-system-zlib +QTOPIA4_CONFIGURE+= -system-zlib QTOPIA4_DEP_LIBS+=zlib else -QTOPIA4_ZLIB=-no-zlib +QTOPIA4_CONFIGURE+= -no-zlib endif endif ifeq ($(BR2_PACKAGE_QTOPIA4_QTJPEG),y) -QTOPIA4_JPEG=-qt-libjpeg +QTOPIA4_CONFIGURE+= -qt-libjpeg else ifeq ($(BR2_PACKAGE_QTOPIA4_SYSTEMJPEG),y) -QTOPIA4_JPEG=-system-libjpeg +QTOPIA4_CONFIGURE+= -system-libjpeg QTOPIA4_DEP_LIBS+=jpeg else -QTOPIA4_JPEG=-no-libjpeg +QTOPIA4_CONFIGURE+= -no-libjpeg endif endif ifeq ($(BR2_PACKAGE_QTOPIA4_QTPNG),y) -QTOPIA4_PNG=-qt-libpng +QTOPIA4_CONFIGURE+= -qt-libpng else ifeq ($(BR2_PACKAGE_QTOPIA4_SYSTEMPNG),y) -QTOPIA4_PNG=-system-libpng +QTOPIA4_CONFIGURE+= -system-libpng QTOPIA4_DEP_LIBS+=libpng else -QTOPIA4_PNG=-no-libpng +QTOPIA4_CONFIGURE+= -no-libpng endif endif ifeq ($(BR2_PACKAGE_QTOPIA4_QTTIFF),y)
buildroot/package/qtopia4/qtopia4.mk line 146
Quoted 10 lines
buildroot/package/qtopia4/qtopia4.mk +3
-3-QTOPIA4_TIFF=-qt-libtiff +QTOPIA4_CONFIGURE+= -qt-libtiff else ifeq ($(BR2_PACKAGE_QTOPIA4_SYSTEMTIFF),y) -QTOPIA4_TIFF=-system-libtiff +QTOPIA4_CONFIGURE+= -system-libtiff QTOPIA4_DEP_LIBS+=tiff else -QTOPIA4_TIFF=-no-libtiff +QTOPIA4_CONFIGURE+= -no-libtiff
You removed TIFF support in kconfig, but kept it in Makefile...
Quoted 29 lines
buildroot/package/qtopia4/qtopia4.mk +8
-11endif endif ifeq ($(BR2_PACKAGE_QTOPIA4_OPENSSL),y) -QTOPIA4_OPENSSL=-openssl +QTOPIA4_CONFIGURE+= -openssl QTOPIA4_DEP_LIBS+=openssl else -QTOPIA4_OPENSSL=-no-openssl +QTOPIA4_CONFIGURE+= -no-openssl endif ifeq ($(BR2_PACKAGE_QTOPIA4_SQL),y) -QTOPIA4_SQL_IBASE=-qt-sql-ibase -QTOPIA4_SQL_MYSQL=-qt-sql-mysql -QTOPIA4_SQL_ODBC=-qt-sql-odbc -QTOPIA4_SQL_PSQL=-qt-sql-psql -QTOPIA4_SQL_SQLITE=-qt-sql-sqlite -QTOPIA4_SQL_SQLITE2=-qt-sql-sqlite2 +QTOPIA4_CONFIGURE+= -qt-sql-ibase +QTOPIA4_CONFIGURE+= -qt-sql-mysql +QTOPIA4_CONFIGURE+= -qt-sql-odbc +QTOPIA4_CONFIGURE+= -qt-sql-psql +QTOPIA4_CONFIGURE+= -qt-sql-sqlite +QTOPIA4_CONFIGURE+= -qt-sql-sqlite2 else -QTOPIA4_SQL_IBASE=-no-sql-ibase -QTOPIA4_SQL_MYSQL=-no-sql-mysql -QTOPIA4_SQL_ODBC=-no-sql-odbc
buildroot/package/qtopia4/qtopia4.mk line 171
Quoted 10 lines
buildroot/package/qtopia4/qtopia4.mk +6
-3-QTOPIA4_SQL_PSQL=-no-sql-psql -QTOPIA4_SQL_SQLITE=-no-sql-sqlite -QTOPIA4_SQL_SQLITE2=-no-sql-sqlite2 +QTOPIA4_CONFIGURE+= -no-sql-ibase +QTOPIA4_CONFIGURE+= -no-sql-mysql +QTOPIA4_CONFIGURE+= -no-sql-odbc +QTOPIA4_CONFIGURE+= -no-sql-psql +QTOPIA4_CONFIGURE+= -no-sql-sqlite +QTOPIA4_CONFIGURE+= -no-sql-sqlite2 endif
Same about SQL.
buildroot/package/qtopia4/qtopia4.mk line 181
Quoted 12 lines
buildroot/package/qtopia4/qtopia4.mk +2
-2-QTOPIA4_DEBUG:=$(strip $(subst ",, $(QTOPIA4_DEBUG))) +QTOPIA4_CONFIGURE:=$(strip $(subst ",, $(QTOPIA4_CONFIGURE))) #")) BR2_PACKAGE_QTOPIA4_EMB_PLATFORM:=$(strip $(subst ",, $(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM))) #")) # Variable for other Qt applications to use -QTOPIA4_QMAKE:=$(STAGING_DIR)/usr/bin/qmake +QTOPIA4_QMAKE:=$(TARGET_CONFIGURE_OPTS) $(STAGING_DIR)/usr/bin/qmake -spec qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++
Is this really needed? qmake works fine for me by just specifying the Buildroot PATH to STAGING_DIR/bin.
Quoted 7 lines
buildroot/package/qtopia4/qtopia4.mk +0
-1$(DL_DIR)/$(QTOPIA4_SOURCE): $(WGET) -P $(DL_DIR) $(QTOPIA4_SITE)/$(QTOPIA4_SOURCE)@@ -198,7 +198,16 @@ $(SED) 's/^CFG_IPV6IFNAME=auto/CFG_IPV6IFNAME=no/' $(QTOPIA4_TARGET_DIR)/configure endif $(SED) 's/^CFG_XINERAMA=auto/CFG_XINERAMA=no/' $(QTOPIA4_TARGET_DIR)/configure - $(SED) 's,-O2,$(TARGET_CFLAGS),' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf
buildroot/package/qtopia4/qtopia4.mk line 210
Quoted 10 lines
buildroot/package/qtopia4/qtopia4.mk +10
-0+ #$(SED) 's,-O2,$(TARGET_CFLAGS),' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + # Fix compiler path + $(SED) '\,QMAKE_CC, c\QMAKE_CC = $(TARGET_CC)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_CXX, c\QMAKE_CXX = $(TARGET_CXX)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_LINK, c\QMAKE_LINK = $(TARGET_CXX)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_LINK_SHLIB, c\QMAKE_LINK_SHLIB = $(TARGET_CXX)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_AR, c\QMAKE_AR = $(TARGET_CROSS)ar cqs' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_RANLIB, c\QMAKE_RANLIB = $(TARGET_RANLIB)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_STRIP, c\QMAKE_STRIP = $(TARGET_CROSS)strip' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf +
Again, if people use the BUildroot environment, this is not needed.
Quoted 62 lines
buildroot/package/qtopia4/qtopia4.mk +3
-24-[ -f $(QTOPIA4_QCONFIG_FILE) ] && cp $(QTOPIA4_QCONFIG_FILE) \ $(QTOPIA4_TARGET_DIR)/$(QTOPIA4_QCONFIG_FILE_LOCATION) (cd $(QTOPIA4_TARGET_DIR); rm -rf config.cache; \@@ -207,28 +216,12 @@ -verbose \ -embedded $(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM) \ $(QTOPIA4_QCONFIG_COMMAND) \ - $(QTOPIA4_DEBUG) \ - $(QTOPIA4_SHARED) \ + $(QTOPIA4_CONFIGURE) \ -no-stl \ -no-cups \ -no-nis \ -no-freetype \ -no-accessibility \ - $(QTOPIA4_MNG) \ - $(QTOPIA4_GIF) \ - $(QTOPIA4_JPEG) \ - $(QTOPIA4_PNG) \ - $(QTOPIA4_TIFF) \ - $(QTOPIA4_ZLIB) \ - $(QTOPIA4_SQL_IBASE) \ - $(QTOPIA4_SQL_MYSQL) \ - $(QTOPIA4_SQL_ODBC) \ - $(QTOPIA4_SQL_PSQL) \ - $(QTOPIA4_SQL_SQLITE) \ - $(QTOPIA4_SQL_SQLITE2) \ - $(QTOPIA4_NO_SQL_DB2) \ - $(QTOPIA4_NO_SQL_OCI) \ - $(QTOPIA4_NO_SQL_TDS) \ -no-webkit \ -no-separate-debug-info \ -prefix /usr \@@ -237,11 +230,6 @@ -no-rpath \ -nomake examples \ -nomake demos \ - $(QTOPIA4_QT3SUPPORT) \ - $(QTOPIA4_TSLIB) \ - $(QTOPIA4_LARGEFILE) \ - $(QTOPIA4_ENDIAN) \ - $(QTOPIA4_APPROVE_GPL_LICENSE) \ ) touch $@@@ -260,13 +248,13 @@ cp -dpf $(STAGING_DIR)/usr/lib/fonts/micro*.qpf $(TARGET_DIR)/usr/lib/fonts ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y) cp -dpf $(STAGING_DIR)/usr/lib/libQt*.so.* $(TARGET_DIR)/usr/lib/ - -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libQt*.so.* + -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libQt*.so.* endif # Install image plugins if they are built if [ -d $(STAGING_DIR)/usr/plugins/imageformats ]; then \ mkdir -p $(TARGET_DIR)/usr/plugins; \ cp -dpfr $(STAGING_DIR)/usr/plugins/imageformats $(TARGET_DIR)/usr/plugins/; \ - $(STRIP) --strip-unneeded $(TARGET_DIR)/usr/plugins/imageformats/*; \ + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/plugins/imageformats/*; \ fi ifneq ($(BR2_PACKAGE_QTOPIA4_SQL),y) # Remove Sql libraries, not needed
buildroot/package/qtopia4/qtopia4.mk line 277
Quoted 7 lines
buildroot/package/qtopia4/qtopia4.mk +4
-0@@ -283,6 +271,10 @@ qtopia4-dirclean: rm -rf $(QTOPIA4_TARGET_DIR) +qtopia4-status: + @echo "QTOPIA4_QMAKE: " $(QTOPIA4_QMAKE) + @echo "QTOPIA4_DEP_LIBS: " $(QTOPIA4_DEP_LIBS) +
Do we really need this?
Quoted 3 lines
buildroot/package/qtopia4/qtopia4.mk +0
-0############################################################# # # Toplevel Makefile options
Signature · 2 lines
With kind regards, Hans-Christian Egtvedt, Applications Engineer
Quoted 8 lines
buildroot/package/qtopia4/qtopia4.mk line 34
Quoted 6 lines
QTOPIA4_SOURCE:=qt-embedded-linux-commercial-src-$(QTOPIA4_VERSION).tar.gz QTOPIA4_TARGET_DIR:=$(BUILD_DIR)/qt-embedded-linux-commercial-src-$(QTOPIA4_VERSION)
buildroot/package/qtopia4/qtopia4.mk +1
-3-QTOPIA4_NO_SQL_OCI:=-no-sql-oci -QTOPIA4_NO_SQL_TDS:=-no-sql-tds -QTOPIA4_NO_SQL_DB2:=-no-sql-db2 +QTOPIA4_CONFIGURE+= -no-sql-oci -no-sql-tds -no-sql-db2The SQL selection stuff should be kept.
Actually, according to configure --help, all sql drivers are disabled by default, so this is not needed.
Quoted 9 lines
Quoted 9 lines
buildroot/package/qtopia4/qtopia4.mk +1
-1-QTOPIA4_DEBUG:=$(strip $(subst ",, $(QTOPIA4_DEBUG))) +QTOPIA4_CONFIGURE:=$(strip $(subst ",, $(QTOPIA4_CONFIGURE))) #")) BR2_PACKAGE_QTOPIA4_EMB_PLATFORM:=$(strip $(subst ",, $(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM))) #"))
Quoted 7 lines
buildroot/package/qtopia4/qtopia4.mk line 180
Quoted 4 lines
# Variable for other Qt applications to use
buildroot/package/qtopia4/qtopia4.mk +1
-1-QTOPIA4_QMAKE:=$(STAGING_DIR)/usr/bin/qmake +QTOPIA4_QMAKE:=$(TARGET_CONFIGURE_OPTS) $(STAGING_DIR)/usr/bin/qmake -spec qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++Is this really needed? qmake works fine for me by just specifying the Buildroot PATH to STAGING_DIR/bin.
Actually that's what you suggested, that prepend calling qmake with $(TARGET_CONFIGURE_OPTS) , but that makes no difference, so this one isn't.
Quoted 12 lines
Quoted 12 lines
$(DL_DIR)/$(QTOPIA4_SOURCE):
$(WGET) -P $(DL_DIR) $(QTOPIA4_SITE)/$(QTOPIA4_SOURCE)buildroot/package/qtopia4/qtopia4.mk +4
-1@@ -198,7 +198,16 @@ $(SED) 's/^CFG_IPV6IFNAME=auto/CFG_IPV6IFNAME=no/' $(QTOPIA4_TARGET_DIR)/configure endif $(SED) 's/^CFG_XINERAMA=auto/CFG_XINERAMA=no/' $(QTOPIA4_TARGET_DIR)/configure - $(SED) 's,-O2,$(TARGET_CFLAGS),' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + #$(SED) 's,-O2,$(TARGET_CFLAGS),' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + # Fix compiler path + $(SED) '\,QMAKE_CC, c\QMAKE_CC = $(TARGET_CC)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_CXX, c\QMAKE_CXX = $(TARGET_CXX)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf
Quoted 9 lines
buildroot/package/qtopia4/qtopia4.mk line 210
Quoted 6 lines
buildroot/package/qtopia4/qtopia4.mk +6
-0+ $(SED) '\,QMAKE_LINK, c\QMAKE_LINK = $(TARGET_CXX)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_LINK_SHLIB, c\QMAKE_LINK_SHLIB = $(TARGET_CXX)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_AR, c\QMAKE_AR = $(TARGET_CROSS)ar cqs' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_RANLIB, c\QMAKE_RANLIB = $(TARGET_RANLIB)' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf + $(SED) '\,QMAKE_STRIP, c\QMAKE_STRIP = $(TARGET_CROSS)strip' $(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf +Again, if people use the BUildroot environment, this is not needed.
Again, it simply doesn't work.
The issue is not qmake, but the generated makefile. This is the only way I found it to work.
Quoted 2 lines
buildroot/package/qtopia4/qtopia4.mk line 251
Quoted 2 lines
buildroot/package/qtopia4/qtopia4.mk +1
-1- -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libQt*.so.* + -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libQt*.so.*
$(STRIP) doesn't exist, and now that the patch was reverted, it doesn't work, as opposed to working. So, it seams fixing whitespace damage is more important than producing a working binary.
Quoted 6 lines
buildroot/package/qtopia4/qtopia4.mk line 257
Quoted 6 lines
buildroot/package/qtopia4/qtopia4.mk +0
-0# Install image plugins if they are built if [ -d $(STAGING_DIR)/usr/plugins/imageformats ]; then \mkdir -p $(TARGET_DIR)/usr/plugins; \ cp -dpfr $(STAGING_DIR)/usr/plugins/imageformats $(TARGET_DIR)/usr/plugins/; \buildroot/package/qtopia4/qtopia4.mk +1
-1- $(STRIP) --strip-unneeded $(TARGET_DIR)/usr/plugins/imageformats/*; \ + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/plugins/imageformats/*; \
Same here.
Quoted 8 lines
buildroot/package/qtopia4/qtopia4.mk line 277
Quoted 5 lines
buildroot/package/qtopia4/qtopia4.mk +4
-0+qtopia4-status: + @echo "QTOPIA4_QMAKE: " $(QTOPIA4_QMAKE) + @echo "QTOPIA4_DEP_LIBS: " $(QTOPIA4_DEP_LIBS) +Do we really need this?
We have one to debug linux kernel makefile, and other packages as well, so why not? Does it really bother people?
Kind Regards,
Thiago A. Correa
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thiago" == Thiago A Corr?a <[email protected]> writes:
Hi,
Thiago> $(STRIP) doesn't exist, and now that the patch was reverted, it Thiago> doesn't work, as opposed to working. So, it seams fixing whitespace Thiago> damage is more important than producing a working binary.
Ofcause not, but random unneeded changes aren't particular welcome either. Your changelog didn't mention anything about STRIP though.
Anyway, several of the recent commits are broken in this regard. I have fixed qtopia4, oprofile, dummy and webif in r21859.
Signature · 1 line
Bye, Peter Korsgaard