Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/qtopia4

Buildroot antab at uclibc.org 5 participants 6 messages Oct 31, 2008 – Nov 2, 2008

lore
Share & tools
lore
#0 lore raw

Author: antab
Date: 2008-10-31 10:17:23 -0700 (Fri, 31 Oct 2008) New Revision: 23886

Log:
Add options to select what gfx and mouse drivers are compiled in. Note to tslib users: You now have to select the tslib mouse driver to build it.

Added:
trunk/buildroot/package/qtopia4/Config.gfx.in trunk/buildroot/package/qtopia4/Config.mouse.in

Modified:
trunk/buildroot/package/qtopia4/Config.in
trunk/buildroot/package/qtopia4/Config.sql.in
trunk/buildroot/package/qtopia4/qtopia4.mk

Changeset:
Added: trunk/buildroot/package/qtopia4/Config.gfx.in
===================================================================

buildroot/package/qtopia4/Config.gfx.in +23 -0
@@ -0,0 +1,23 @@
+menu "Graphics drivers"
+
+config BR2_PACKAGE_QTOPIA4_GFX_LINUXFB
+	bool "Linux Framebuffer"
+	default y
+
+config BR2_PACKAGE_QTOPIA4_GFX_TRANSFORMED
+	bool "Transformed"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_GFX_QVFB
+	bool "Qt Virtual Framebuffer"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_GFX_VNC
+	bool "VNC"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_GFX_MULTISCREEN
+	bool "multiscreen"
+	default y
+
+endmenu

Modified: trunk/buildroot/package/qtopia4/Config.in
===================================================================

buildroot/package/qtopia4/Config.in +2 -6
@@ -224,13 +224,9 @@
 	help
 	  The target platform.
 
-menuconfig BR2_PACKAGE_QTOPIA4_SQL_MODULE
-	bool "SQL Module"
-	help
-	  Compile Qtopia SQL Module
-if BR2_PACKAGE_QTOPIA4_SQL_MODULE
 source "package/qtopia4/Config.sql.in"
-endif
+source "package/qtopia4/Config.gfx.in"
+source "package/qtopia4/Config.mouse.in"
 
 config BR2_PACKAGE_QTOPIA4_XMLPATTERNS
 	bool "XML Patterns Module"

Added: trunk/buildroot/package/qtopia4/Config.mouse.in
===================================================================

buildroot/package/qtopia4/Config.mouse.in +31 -0
@@ -0,0 +1,31 @@
+menu "Mouse drivers"
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_PC
+	bool "pc"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_BUS
+	bool "bus"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_LINUXTP
+	bool "linuxtp"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_YOPY
+	bool "yopy"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_VR41XX
+	bool "vxr41xx"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_TSLIB
+	bool "tslib"
+	default n
+
+config BR2_PACKAGE_QTOPIA4_MOUSE_QVFB
+	bool "qvfb"
+	default n
+
+endmenu

Modified: trunk/buildroot/package/qtopia4/Config.sql.in
===================================================================

buildroot/package/qtopia4/Config.sql.in +7 -1
@@ -1,3 +1,9 @@
+menuconfig BR2_PACKAGE_QTOPIA4_SQL_MODULE
+    bool "SQL Module"
+    help
+      Compile Qtopia SQL Module
+
+if BR2_PACKAGE_QTOPIA4_SQL_MODULE
 config BR2_PACKAGE_QTOPIA4_MYSQL
 	bool "MySQL Driver"
 	help
@@ -33,4 +39,4 @@
 	help
 	  Build SQLite 2 driver
 	  If unsure, say n.
-
+endif

Modified: trunk/buildroot/package/qtopia4/qtopia4.mk
===================================================================

buildroot/package/qtopia4/qtopia4.mk +58 -2

70 lines not on this page · raw message

#1 lore raw

antab at uclibc.org, 31.10.2008:

Quoted 9 lines

Author: antab
Date: 2008-10-31 10:17:23 -0700 (Fri, 31 Oct 2008) New Revision: 23886

Log:
Add options to select what gfx and mouse drivers are compiled in. Note to tslib users: You now have to select the tslib mouse driver to build it.

Quoted 8 lines

Added:
trunk/buildroot/package/qtopia4/Config.gfx.in trunk/buildroot/package/qtopia4/Config.mouse.in

Modified:
trunk/buildroot/package/qtopia4/Config.in
trunk/buildroot/package/qtopia4/Config.sql.in
trunk/buildroot/package/qtopia4/qtopia4.mk

Just some comments:

buildroot/package/qtopia4/Config.gfx.in line 21

Quoted 3 lines
buildroot/package/qtopia4/Config.gfx.in +3 -0
+config BR2_PACKAGE_QTOPIA4_GFX_MULTISCREEN
+	bool "multiscreen"
+	default y

I don't know what the multiscreen driver is about, sounds like multiple physical screens. Is this a common setup that you default to y here?

buildroot/package/qtopia4/Config.mouse.in line 20

Quoted 2 lines
buildroot/package/qtopia4/Config.mouse.in +2 -0
+config BR2_PACKAGE_QTOPIA4_MOUSE_VR41XX
+	bool "vxr41xx"

vr41xx

Review

Quoted 1 line
(quoted diff) +1 -0
+	default n

is not necessary in all the options

Quoted 2 lines

Modified: trunk/buildroot/package/qtopia4/qtopia4.mk +### Mouse drivers

MOUSE_QVFB is missing here.

I could also make a patch, but I wanted to clarify the multiscreen thing first.

Markus

#2 lore raw

-----Original Message-----
From: [email protected] on behalf of Markus Heidelberg
Sent: Sat 11/1/2008 11:47 AM
To: buildroot at uclibc.org
Cc: antab at uclibc.org
Subject: Re: [Buildroot] svn commit: trunk/buildroot/package/qtopia4

Quoted 8 lines

Just some comments:

buildroot/package/qtopia4/Config.gfx.in line 21

Quoted 3 lines
buildroot/package/qtopia4/Config.gfx.in +3 -0
+config BR2_PACKAGE_QTOPIA4_GFX_MULTISCREEN
+	bool "multiscreen"
+	default y

I don't know what the multiscreen driver is about, sounds like multiple physical screens. Is this a common setup that you default to y here?

Multiscreen is for using more then one output driver yes, so you can use linuxfb and VNC at the same time (what i'm doing). Probably should have it default no.

Quoted 4 lines

buildroot/package/qtopia4/Config.mouse.in line 20

Quoted 2 lines
buildroot/package/qtopia4/Config.mouse.in +2 -0
+config BR2_PACKAGE_QTOPIA4_MOUSE_VR41XX
+	bool "vxr41xx"

vr41xx

Ah, damn typos;)

Quoted 2 lines

Review

Quoted 1 line
(quoted diff) +1 -0
+	default n

is not necessary in all the options

Is "default n" the default? Was not sure because i have seen other packages use "default n".

Quoted 4 lines
Quoted 2 lines

Modified: trunk/buildroot/package/qtopia4/qtopia4.mk +### Mouse drivers

MOUSE_QVFB is missing here.

Good catch, i added all the drivers listed in configure -help, but not using all of them so i cant test all. Still need to add the kbd driver list, will do that later on.

Quoted 2 lines

I could also make a patch, but I wanted to clarify the multiscreen thing first.

Patches are welcome

Quoted 1 line

Markus

Arnar Mar Sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20081101/78254894/attachment.htm

#3 lore raw
Quoted 6 lines
Quoted 2 lines

I don't know what the multiscreen driver is about, sounds like multiple physical screens. Is this a common setup that you default to y here?

Multiscreen is for using more then one output driver yes, so you can use linuxfb and VNC at the same time (what i'm doing). Probably should have it default no.

Hi Arnar,

Just out of curiosity, did you try the new directfb driver? It's
new to 4.4 series I think. Since directfb was supposed to have the AVR32 accelarated instructions, so you would effectively have an accelarated gfx driver.

I've been meaning to test it out myself but my hardware with LCD
isn't ready yet :(

Kind Regards,
Thiago A. Correa

#4 lore raw
In reply to Arnar Mar Sigurðsson

Arnar Mar Sigur?sson, 01.11.2008:

Quoted 4 lines
Quoted 2 lines

Review

Quoted 1 line
(quoted diff) +1 -0
+	default n

is not necessary in all the options

Is "default n" the default? Was not sure because i have seen other packages use "default n".

Yes, it is.
find package -name Config.* -exec grep "default n" {} \; only shows 7 lines. Look at revision 22874 from 2008-07-17 where all the "default n" lines were removed.

Markus

#5 lore raw
In reply to Arnar Mar Sigurðsson
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnar" == Arnar Mar Sigur?sson <[email protected]> writes:

Hi,

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

+ default n

is not necessary in all the options

Arnar> Is "default n" the default? Was not sure because i have seen Arnar> other packages use "default n".

There shouldn't be any after r22874 - If there are, then that's an error.

Signature · 1 line
Bye, Peter Korsgaard