svn commit: trunk/buildroot/package/directfb
Author: correa
Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008) New Revision: 23621
Log:
widen options to configure directfb, patch by Micha Nelissen <[email protected]>
Modified:
trunk/buildroot/package/directfb/Config.in
trunk/buildroot/package/directfb/directfb.mk
Changeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================
buildroot/package/directfb/Config.in +70 -6
@@ -1,15 +1,10 @@ config BR2_PACKAGE_DIRECTFB bool "directfb" + select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_LIBSYSFS - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_TSLIB help http://www.directfb.org/ - config BR2_PACKAGE_DIRECTFB_MULTI bool "directfb multi application" depends on BR2_PACKAGE_DIRECTFB
@@ -17,3 +12,72 @@ help Enable use of multiple concurrent DirectFB applications http://www.directfb.org/ + +config BR2_PACKAGE_DIRECTFB_XSERVER + bool "build with X server backend" + default n + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_UNIQUE + bool "enable unique window manager" + default n + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_ATI128 + bool "compile ati128 graphics driver" + default n + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_CLE266 + bool "compile cle266 graphics driver" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_MATROX + bool "compile matrox graphics driver" + default n + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_UNICHROME + bool "compile unichrome graphics driver" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_KEYBOARD + bool "compile keyboard input driver" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_PS2MOUSE + bool "compile PS2 mouse input driver" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_SERIALMOUSE + bool "compile serial mouse input driver" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_PNG + bool "enable PNG support" + default y + depends on BR2_PACKAGE_DIRECTFB + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_ZLIB + +config BR2_PACKAGE_DIRECTFB_TSLIB + bool "enable touchscreen support" + default y + depends on BR2_PACKAGE_DIRECTFB + select BR2_PACKAGE_TSLIB + +config BR2_PACKAGE_DIRECTFB_GIF + bool "enable GIF support" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_DIRECTFB_JPEG + bool "enable JPEG support" + default y + depends on BR2_PACKAGE_DIRECTFB + select BR2_PACKAGE_JPEG
Modified: trunk/buildroot/package/directfb/directfb.mk
===================================================================
buildroot/package/directfb/directfb.mk +118 -42
211 lines not on this page · raw message
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"correa" == correa <[email protected]> writes:
correa> Author: correa
correa> Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008) correa> New Revision: 23621
correa> Log:
correa> widen options to configure directfb, patch by Micha Nelissen <[email protected]>
correa> +
correa> +config BR2_PACKAGE_DIRECTFB_XSERVER
correa> + bool "build with X server backend"
Doesn't this need to depend on the various X implementations (E.G. BR2_PACKAGE_XORG || ..XORG7 || ..TINYX ?
correa> +config BR2_PACKAGE_DIRECTFB_PNG
correa> + bool "enable PNG support" correa> + default y correa> + depends on BR2_PACKAGE_DIRECTFB
correa> + select BR2_PACKAGE_LIBPNG
correa> + select BR2_PACKAGE_ZLIB
Indentation seems wrong. Actually it's right here and wrong everywhere else. Config.in uses tabs for indentation, not spaces (and help text is tab+2 spaces).
correa> +config BR2_PACKAGE_DIRECTFB_GIF
correa> + bool "enable GIF support" correa> + default y correa> + depends on BR2_PACKAGE_DIRECTFB
Is that built in, or do you need to select libgif or similar?
Signature · 1 line
Bye, Peter Korsgaard
buildroot/package/directfb/Config.in
Quoted 18 lines · correa at uclibc.org
Author: correa
Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008) New Revision: 23621Log:
widen options to configure directfb, patch by Micha Nelissen <[email protected]>Modified:
trunk/buildroot/package/directfb/Config.in
trunk/buildroot/package/directfb/directfb.mkChangeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================buildroot/package/directfb/Config.in +0
-0@@ -1,15 +1,10 @@
--snip--
I get the following error with this patch:
checking for directfb-csource... no
configure: error: Could not find a directfb-csource in your PATH
make: *** [/home/ormund/buildroot/buildroot/build_i686/DirectFB-1.2.6/.configured] Error 1
__
Ormund
Hi Peter,
Quoted 7 lines
correa> +
correa> +configBR2_PACKAGE_DIRECTFB_XSERVER
correa> + bool "build with X server backend"Doesn't this need to depend on the various X implementations (E.G.
BR2_PACKAGE_XORG|| ..XORG7 || ..TINYX ?
I suppose it should, yes. Sorry, I didn't notice.
Btw, we really need a better check for X. something like the linux kernel with BR2_HAS_X that is set on either X implementation. XORG for instance is an empty folder in package/xorg. When/if that changes, we need to revisit all packages, quite anoying.
Quoted 11 lines
correa> +config
BR2_PACKAGE_DIRECTFB_PNGcorrea> + bool "enable PNG support" correa> + default y correa> + depends on BR2_PACKAGE_DIRECTFBcorrea> + select
BR2_PACKAGE_LIBPNG
correa> + selectBR2_PACKAGE_ZLIBIndentation seems wrong. Actually it's right here and wrong everywhere else. Config.in uses tabs for indentation, not spaces (and help text is tab+2 spaces).
Unfortunally I can't see that using vi. Since it's not Python, I honestly don't see the space/tab being relevant.
Quoted 7 lines
correa> +config
BR2_PACKAGE_DIRECTFB_GIFcorrea> + bool "enable GIF support" correa> + default y correa> + depends on BR2_PACKAGE_DIRECTFBIs that built in, or do you need to select libgif or similar?
It seams to depend on libgif, so another select is missing. I was able to catch the ZLIB select missing in the original patch and added it myself, but I guess I didn't notice this one as I already had libgif selected.
Fixes in -r23629
Kind Regards,
Thiago A. Correa
Quoted 21 lines · Ormund Williams
buildroot/package/directfb/Config.in 2008-10-07 20:29:27 UTC (rev 23621)
Quoted 18 lines · correa at uclibc.org
Author: correa
Date: 2008-10-07 13:29:27 -0700 (Tue, 07 Oct 2008) New Revision: 23621Log:
widen options to configure directfb, patch by Micha Nelissen <[email protected]>Modified:
trunk/buildroot/package/directfb/Config.in
trunk/buildroot/package/directfb/directfb.mkChangeset:
Modified: trunk/buildroot/package/directfb/Config.in
===================================================================buildroot/package/directfb/Config.in 2008-10-07 20:29:27 UTC (rev 23621) renamed from buildroot/package/directfb/Config.in 2008-10-07 17:08:27 UTC (rev 23620) +0
-0@@ -1,15 +1,10 @@--snip--
Quoted 8 lines
I get the following error with this patch:
checking for directfb-csource... no
configure: error: Could not find a directfb-csource in your PATH
make: *** [/home/ormund/buildroot/buildroot/build_i686/DirectFB-1.2.6/.configured] Error 1
I have no idea what directfb-csource is.
This just works for me when compiling for AVR32.
I also don't have it on my search path either:
localhost directfb # which directfb-csource
which: no directfb-csource in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/4.0/sbin:/usr/kde/4.0/bin)
So It can't be coming from the host. Did it work at all before? Perhaps it's one of the new options?
Kind Regards,
Thiago A. Correa
Quoted 10 lines · Thiago A. Corr?a
Hi Peter,
Quoted 7 lines
correa> +
correa> +configBR2_PACKAGE_DIRECTFB_XSERVER
correa> + bool "build with X server backend"Doesn't this need to depend on the various X implementations (E.G.
BR2_PACKAGE_XORG|| ..XORG7 || ..TINYX ?
Quoted 5 lines
I suppose it should, yes. Sorry, I didn't notice.
Btw, we really need a better check for X. something like the linux kernel withBR2_HAS_Xthat is set on either X implementation. XORG for instance is an empty folder in package/xorg. When/if that changes, we need to revisit all packages, quite anoying.
That's the reason why we have BR2_PACKAGE_XSERVER_none; See package/Config.in
Quoted 8 lines
Quoted 8 lines
correa> +config
BR2_PACKAGE_DIRECTFB_PNGcorrea> + bool "enable PNG support" correa> + default y correa> + depends on BR2_PACKAGE_DIRECTFBcorrea> + select
BR2_PACKAGE_LIBPNG
correa> + selectBR2_PACKAGE_ZLIB
Quoted 7 lines
Quoted 4 lines
Indentation seems wrong. Actually it's right here and wrong everywhere else. Config.in uses tabs for indentation, not spaces (and help text is tab+2 spaces).
Unfortunally I can't see that using vi. Since it's not Python, I honestly don't see the space/tab being relevant.
It is relevant since it is the style that is perused in this project. Try something like :match Error '\(^\s\(\s\s\)[^[:alnum:]]\|\s\+$\)' you get the idea..
Quoted 3 lines
Quoted 3 lines
correa> +config
BR2_PACKAGE_DIRECTFB_GIF
correa> + bool "enable GIF support"
Can you please strip all "enable" and "compile" off those bools. They are highly redundant.
TIA
Quoted 1 line · Thiago A. Corr?a
I have no idea what directfb-csource is.
It's a utility for converting a PNG file to a c source file. The source code for it is in the DirectFB source itself.
Quoted 10 lines
This just works for me when compiling for AVR32.
I also don't have it on my search path either:
localhost directfb # which directfb-csource
which: no directfb-csource in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/4.0/sbin:/usr/kde/4.0/bin)So It can't be coming from the host. Did it work at all before? Perhaps it's one of the new options?
I'm using a make file I hacked together based on one Peter Korsgaard posted to the list some time ago. Under this make file it's built and has the target prefix attached, i686-linux-directfb-csource under the ../staging_dir/usr/bin
This is puzzling.
Regards
__
Ormund
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Ormund" == Ormund Williams <[email protected]> writes:
Hi,
Ormund> I'm using a make file I hacked together based on one Peter Ormund> Korsgaard posted to the list some time ago. Under this make Ormund> file it's built and has the target prefix attached, Ormund> i686-linux-directfb-csource under the ../staging_dir/usr/bin
I did? I don't remember having ever used directfb - Could you refresh my memory?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 4 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Ormund" == Ormund Williams <[email protected]> writes:
Hi,
Quoted 8 lines
Ormund> I'm using a make file I hacked together based on one Peter Ormund> Korsgaard posted to the list some time ago. Under this make Ormund> file it's built and has the target prefix attached, Ormund> i686-linux-directfb-csource under the ../staging_dir/usr/bin
I did? I don't remember having ever used directfb - Could you refresh my memory?
Sorry, I meant Daniel Laird.
__
Ormund
Quoted 15 lines · Ormund Williams
Quoted 1 line · Thiago A. Corr?a
I have no idea what directfb-csource is.
It's a utility for converting a PNG file to a c source file. The source code for it is in the DirectFB source itself.
Quoted 10 lines
This just works for me when compiling for AVR32.
I also don't have it on my search path either:
localhost directfb # which directfb-csource
which: no directfb-csource in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/4.0/sbin:/usr/kde/4.0/bin)So It can't be coming from the host. Did it work at all before? Perhaps it's one of the new options?
Quoted 7 lines
I'm using a make file I hacked together based on one Peter Korsgaard posted to the list some time ago. Under this make file it's built and has the target prefix attached, i686-linux-directfb-csource under the ../staging_dir/usr/bin
This is puzzling.
Follow-up: This problem only occurs when UniQue window manager is enabled.
Regards
__
Ormund