divyang4481 / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Feature request for generation only scriptable plugin( without gui) #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be cool if have we can create projects without gui dependency.
Is it possible to add to fbgen.py?

Original issue reported on code.google.com by bignikita on 3 Feb 2010 at 6:47

GoogleCodeExporter commented 8 years ago
When you say "without gui dependency", what are you trying to accomplish?

you could simply set the width and height of the object tag to 0 and not do 
anything
with drawing and it should all work.  In fact, since gui is what isn't done on 
mac
and linux, you'd be ready to be cross-platform =]

Would this be sufficient, or did you want something more specific?

Original comment by taxilian on 3 Feb 2010 at 6:51

GoogleCodeExporter commented 8 years ago
Yes, I' using object tag with width and height =0, but it's not what I need.
for example in linux:
./prepmake.sh                                                                   

Building projects                                                               

-- checking for module 'gtk+-2.0'                                               

--   found gtk+-2.0, version 2.16.6                                             

[...]
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.16.6
#make 
#ldd ../buildex/bin/FBTestPlugin/npFBTestPlugin.so                              

        linux-vdso.so.1 =>  (0x00007fff113ff000)                                                                                              
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007fc5e82ea000)                                                            
        libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0 (0x00007fc5e803f000)                                                            
        libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0 (0x00007fc5e7e20000)                                                                    
        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007fc5e7ba8000)                                                                        
        libpangoft2-1.0.so.0 => /usr/lib64/libpangoft2-1.0.so.0 (0x00007fc5e797a000)                                                          
        libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0
(0x00007fc5e775c000)                                                      
        libpangocairo-1.0.so.0 => /usr/lib64/libpangocairo-1.0.so.0
(0x00007fc5e7551000)
        libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007fc5e72da000)
        libpango-1.0.so.0 => /usr/lib64/libpango-1.0.so.0 (0x00007fc5e7091000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fc5e6df7000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fc5e6bc1000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fc5e697e000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fc5e677b000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fc5e649c000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc5e6280000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fc5e5b5d000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fc5e58da000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc5e56bf000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fc5e5351000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fc5e5018000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fc5e4e12000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fc5e4c00000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fc5e49f7000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007fc5e47f4000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fc5e45ea000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fc5e43e2000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fc5e41d7000)
        libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1 (0x00007fc5e3fd5000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007fc5e3dd3000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fc5e3bce000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fc5e39b0000)
        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007fc5e378b000)
        libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007fc5e3545000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fc5e3330000)
        libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fc5e3107000)
        /lib64/ld-linux-x86-64.so.2 (0x00000030f4a00000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fc5e2eff000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fc5e2ce3000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fc5e2ae1000)

I want to use firebreath without gtk+, because I just need to create scriptable
objects and use them from javascript.
Now, plugins can't be compiled without calling add_x11_plugin in
X11/projectDef.cmake.

Original comment by bignikita on 3 Feb 2010 at 11:32

GoogleCodeExporter commented 8 years ago
We are discussing how best to implement this.  Currently we're thinking there 
will
probably need to be a new variable in PluginConfig.cmake and a change in
x11/FactoryMainX11.cpp (or whichever platform you're worried about; however the 
build
dependencies on windows and mac don't change currently)

Original comment by taxilian on 3 Feb 2010 at 5:42

GoogleCodeExporter commented 8 years ago

Original comment by georg.fritzsche on 3 Feb 2010 at 5:51

GoogleCodeExporter commented 8 years ago
As you probably noted, we don't currently have time for this. Its not forgotten
though, just delayed until there are no other more urgent issues.

Original comment by georg.fritzsche on 22 Mar 2010 at 12:14

GoogleCodeExporter commented 8 years ago
Thank you,
I'll wait or may be will do it by myself

Original comment by bignikita on 22 Mar 2010 at 7:13

GoogleCodeExporter commented 8 years ago
This feature is planned for the next release

Original comment by taxilian on 16 Sep 2010 at 5:32

GoogleCodeExporter commented 8 years ago
A fix scheduled for 1.2.1 will make this easier, as it makes events possible on 
a windowless plugin.

Original comment by taxilian on 21 Sep 2010 at 3:13

GoogleCodeExporter commented 8 years ago

Original comment by taxilian on 28 Sep 2010 at 11:06

GoogleCodeExporter commented 8 years ago

Original comment by taxilian on 19 Oct 2010 at 9:03

GoogleCodeExporter commented 8 years ago
Fixed here: https://github.com/firebreath/FireBreath/compare/440dff8...6994a11

This will be in 1.4

to use, put set(FB_GUI_DISABLED 1) in your PluginConfig.cmake and disable all 
mac drawing and event models

Original comment by taxilian on 3 Dec 2010 at 1:37