LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GTK on DFB (https://www.linuxquestions.org/questions/linux-software-2/gtk-on-dfb-640188/)

mSaiyesh 05-05-2008 11:42 PM

GTK on DFB
 
i am using FC8.

i want to know
1)how to configure linux on framebuffer
2)how to Install directFB over fb
3)what to and how to install other req which will enable me to display graphics/windows and run mini applications on it without using X

i am having problems installing GTK-DFB..

when i try to install cairo(with DFB backend enabled) it says DirectFB is needed.. but i guess i have already installed DFB.. even "rpm -aq | grep directfb" agrees with me.

i need to install cairo, Pango and then GTK-DFB

i have enabled FB by passing "vga=791" to kernel

if someone has already displayed graphics on FB using GTK then please.. ill be more than happy to use your expertise

paulsm4 05-06-2008 06:12 PM

Hi -

Per your previous posts, you're trying to use DirectFB to run GUI applications without using X windows.

In general, that's impossible. Most GUI applications (Evolution, for example) require X at link time.

With DirectFB - who knows? But you'll need to read the DirectFB documentation, and work with the DriveFB community.

Probably the best place to look - and post follow-on queries - is here:

http://www.directfb.org/wiki/index.p...TK_on_DirectFB
... or ...
http://www.directfb.org/

'Hope that helps .. PSM

exvor 05-06-2008 06:28 PM

There are some alternatives to X windows you could look at as well. I know there is a smaller version of it that works with the frame buffer or vesa device i dont remember. I think Damn Small Linux uses it.

mSaiyesh 05-06-2008 11:31 PM

thanks paulsm and exvor, il see what i can do..

okay may be its impossible to run apps like Evolution without X..
but is it possible to run sm small GTK prog? ..without using X at all?? just on DirectFB.. i think it should be possible to do that.. i m not quite sure tho.. GTK2.0 release can run without X (i read smwhere)

basically i want to use DirectFB for windowing purpose instead of X win sys

rite now if you want to help me.. then please tell me how to install directfb??

i m stuck wid it.. i installed DFB using RPM it gave problems.. sm three dependencies.. cleared that problem.. installed the three things (libdirect,libdirectfb and libfusion).. then tried installing directfb.. it got installed..

then i tried compiling cairo with directfb backend enabled:
code
Quote:

sh configure --prefix=$PREFIX --enable-directfb --disable-xlib --disable-win32
it started and aborted with:

Quote:

checking for directfb... no
no
checking whether cairo's directfb backend could be enabled... no (requires directfb http://www.directfb.org)
does it mean directfb is not installed properly or does it mean it can't enable the directfb backend of cairo??

HELP!!

paulsm4 05-07-2008 11:29 AM

Hi -

Thank you for posting the exact error message, and the corresponding build command - it helps!

I now understand that your immediate problem is that you're getting a build error with Cairo. That's not surprising. Even though you've installed the right RPM's ... you didn't necessarily install the *dev* versions ... or the exact matching *version #" of the dev version ... or the libtools information "config.sh" and/or "autoconf.sh" need to recognize the correct version ... or libtools itself...

Building this stuff and making it all "play nice" together can be messy.

Strong suggestion:
1. Post this particular question to the Cairo group:
http://cairographics.org/contact/

Be sure to include your exact command and exact error message (like you did here), and any other pertinent information.

2. I also encourage you to post to DirectFB (my previous posting).

Good luck .. PSM

PS:
X is pretty much the "standard" - even for things like DSL and Fluxbox. These articles might give you some additional ideas:

http://www.ibm.com/developerworks/li...mbdev.html#h15
http://www.linuxdevices.com/articles/AT9202043619.html

mSaiyesh 05-07-2008 11:11 PM

thank you very much paulsm.. il do wot u hv told me to.. post in directfb n cairo.. will get back if something happens..

m new to this system of solving problems.. i mean posting ur problem and waiting for the reply.. getting used to it.. its nice

thanks.. liking this organization


All times are GMT -5. The time now is 08:52 PM.