sivarajankumar / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
Apache License 2.0
0 stars 0 forks source link

0.11.1 build from both stable and svn cannot run iGoogle gadgets on Ubuntu Karmic #351

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Since the version 10.0 does not support iGoogle gadgets, I tried to install
0.11.1 from stable. 

This finally installed and launched, revealing an iGoogle widget wizard.
However, the iGoogle widget installed by default did not load, instead you
get a small window showing...

'Error loading gadget'

and setting a new gadget URL in the Options window as suggested by phnixwxz
only reveals a window which says...

'options loading'.

I tried the SVN version direct from trunk today. This behaves just the same
way.

When running from the command line, you can see also a console error which
says...

Error Host  not found

Can anyone tell me what is missing from my environment which would create
this error?

This is running on Linux Mint 8 (a lightly customised Ubuntu Karmic)
following this sequence...

# note xulrunner-1.9.1-dev since xulrunner-1.9-dev is not available/compatible
sudo apt-get install build-essential zip flex desktop-file-utils
shared-mime-info zlib1g-dev libgtk2.0-dev libxml2-dev libdbus-1-dev
librsvg2-dev libltdl3-dev libcurl4-gnutls-dev
libgstreamer-plugins-base0.10-dev xulrunner-1.9.1-dev network-manager-dev
libqt4-dev libstartup-notification0-dev
sh autotools/bootstrap.sh
mkdir build
cd build
../configure --prefix=/usr --disable-werror
--with-browser-plugins-dir=/usr/lib/xulrunner-addons/plugins
make
sudo checkinstall --pkgname "google-gadgets-svn" --pkgversion "0.11.1" make
install

Original issue reported on code.google.com by google....@cefn.com on 18 Jan 2010 at 2:27

GoogleCodeExporter commented 8 years ago
Looks like the 'Error host not found' error was spurious, and owing to a 
previous
attempt to add an iGoogle widget still lurking in my config files at...

.google/gadgets/

...deleting this config directory eliminates the 'host not found' error, but the
iGoogle gadgets and the option menu for iGoogle gadgets still do not load, so 
the
core problem remains.  

Original comment by google....@cefn.com on 18 Jan 2010 at 2:42

GoogleCodeExporter commented 8 years ago
Please post the output of configure script and the screenshot of the error when 
you 
trying to add an iGoogle gadget.

Original comment by james...@gmail.com on 18 Jan 2010 at 2:47

GoogleCodeExporter commented 8 years ago
I've been able to launch the ggl-gtk version from the binaries I built from 
today's
SVN trunk, and add an iGoogle gadget, from this URL...

http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/hamster.xml

However, the ggl-qt binary still behaves as described in the first post in this
thread, showing errors both for the initial iGoogle gadget, and for editing the
Options pane for the iGoogle gadget. 

I don't want to use the gtk version since gadgets appear in an ugly sidebar. 
The Qt
version causes Gadgets to float transparently as windows visible when Scaled in
Compiz (Expose-like window behaviour) - very nice. 

Now if only I could add iGoogle gadgets to ggl-qt!

Original comment by google....@cefn.com on 18 Jan 2010 at 3:07

GoogleCodeExporter commented 8 years ago
As requested by james.su, here is the result of running the following script on 
Linux
Mint 8 afte adding all the packages I could find the project might depend on. 

../configure --prefix=/usr --disable-werror
--with-browser-plugins-dir=/usr/lib/xulrunner-addons/plugins

Build options:
  Version                         "0.11.1"
  Install prefix                  /usr
  Install included libltdl        no
  Build shared libs               yes
  Build static libs               yes
  Enable debug                    no
  Host type                       linux
  Cross Compiling                 no
  OEM brand                       

 Libraries:
  Build libggadget-dbus           yes
  Build libggadget-gtk            yes
  Build libggadget-npapi          yes
  Build libggadget-qt             yes

 Extensions:
  Build curl-xml-http-request     yes
  Build soup-xml-http-request     no
  Build dbus-script-class         yes
  Build gst-audio-framework       yes
  Build gst-video-element         yes
  Build gtk-edit-element          yes
  Build gtk-flash-element         yes
  Build gtk-system-framework      yes
  Build gtkmoz-browser-element    yes
  Build libxml2-xml-parser        yes
  Build linux-system-framework    yes
  Build qt-edit-element           yes
  Build qt-script-runtime         yes
  Build qt-system-framework       yes
  Build qt-xml-http-request       yes
  Build qtwebkit-browser          yes
  Build smjs-script-runtime       yes
  Build webkit-script-runtime     no
  Build gtkwebkit-browser-element no

 Other features:
  GTK SVG Support                 yes
  NetworkManager support          yes
  Startup notification support    yes
  Built-in xdgmime support        yes
  Browser plugins directory       /usr/lib/xulrunner-addons/plugins
  Default gstreamer audio sink    autoaudiosink
  SSL CA certificate file         
  Memory check command            

 Hosts:
  Build gtk host                  yes
  Build qt host                   yes

Original comment by google....@cefn.com on 18 Jan 2010 at 3:11

GoogleCodeExporter commented 8 years ago
Launching ggl-qt now causes the Hamster gadget which I added in ggl-gtk to 
appear as
an iGoogle gadget in ggl-qt. The options screen can then load correctly.

I don't know why, but in this newer version of ggl-qt the widgets do not behave 
as
windows in Compiz. They also do not have an 'always on top' behaviour as in the 
case
of the gtk sidebar, and have no hotkey control. I therefore don't know how to
actually use google-gadgets-for-linux in a real desktop setting, since it's 
extremely
hard to load them into sight when using any other windows. 

The only option seems to be to hunt for the system tray icon, and then right 
click
and select Show all. Clicking on any other window then causes the gadget layer 
to
disappear. Is this really the only option? It seems unusable compared to the Mac
dashboard for example.

I attach a screenshot of the behaviour when adding a new iGoogle gadget through 
the
ggl-qt host.

Original comment by google....@cefn.com on 18 Jan 2010 at 3:26

Attachments:

GoogleCodeExporter commented 8 years ago
About sidebar of ggl-gtk: you can use -ns or --no-sidebar command line option 
to 
disable the sidebar. For now ggl-gtk has more features than ggl-qt.

About iGoogle loading failure: I guess the problem is in the 
qt-xml-http-request 
module. Can you help build a debug version (--enable-debug) and copy the 
console 
output?

Original comment by phnix...@gmail.com on 19 Jan 2010 at 2:10

GoogleCodeExporter commented 8 years ago
Reran ../configure with the --enable-debug option...

../configure --enable-debug --prefix=/usr --disable-werror 
--with-browser-plugins-
dir=/usr/lib/xulrunner-addons/plugins

...which produced...

Build options:
  Version                         "0.11.1"
  Install prefix                  /usr
  Install included libltdl        no
  Build shared libs               yes
  Build static libs               yes
  Enable debug                    yes
  Host type                       linux
  Cross Compiling                 no
  OEM brand                       

 Libraries:
  Build libggadget-dbus           yes
  Build libggadget-gtk            yes
  Build libggadget-npapi          yes
  Build libggadget-qt             yes

 Extensions:
  Build curl-xml-http-request     yes
  Build soup-xml-http-request     no
  Build dbus-script-class         yes
  Build gst-audio-framework       yes
  Build gst-video-element         yes
  Build gtk-edit-element          yes
  Build gtk-flash-element         yes
  Build gtk-system-framework      yes
  Build gtkmoz-browser-element    yes
  Build libxml2-xml-parser        yes
  Build linux-system-framework    yes
  Build qt-edit-element           yes
  Build qt-script-runtime         yes
  Build qt-system-framework       yes
  Build qt-xml-http-request       yes
  Build qtwebkit-browser          yes
  Build smjs-script-runtime       yes
  Build webkit-script-runtime     no
  Build gtkwebkit-browser-element no

 Other features:
  GTK SVG Support                 yes
  NetworkManager support          yes
  Startup notification support    yes
  Built-in xdgmime support        yes
  Browser plugins directory       /usr/lib/xulrunner-addons/plugins
  Default gstreamer audio sink    autoaudiosink
  SSL CA certificate file         
  Memory check command            

 Hosts:
  Build gtk host                  yes
  Build qt host                   yes

I ran...
make
sudo checkinstall --pkgname "google-gadgets-svn" --pkgversion "0.11.1" make 
install
nohup ggl-qt

Attached is the nohup.out file from a session in which I tried to add an 
iGoogle 
gadget and access the Options pane of the added gadget, which showed the 
loading 
errors as before.

Original comment by google.c...@cefn.com on 19 Jan 2010 at 4:21

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by james...@gmail.com on 27 Jan 2010 at 4:11

GoogleCodeExporter commented 8 years ago
Please use ggl-gtk for now. We'll look into the ggl-qt problem as soon as 
possible. For 
ggl-gtk you either could disable the sidebar with --no-sidebar command line 
option, or 
more easily, you could just drag the gadgets out of sidebar and hide sidebar by 
clicking the (-) icon on the sidebar's top right corner.

Original comment by james...@gmail.com on 27 Jan 2010 at 4:15