[ruby-gnome2-doc-cvs] [Hiki] update - RubyGecko

Zurück zum Archiv-Index

ruby-****@sourc***** ruby-****@sourc*****
2005年 3月 27日 (日) 05:02:57 JST


-------------------------
REMOTE_ADDR = 84.220.102.131
REMOTE_HOST = 
REMOTE_USER = ruby-gnome2-hiki        URL = http://ruby-gnome2.sourceforge.jp/cgi-bin/hiki/hiki.cgi?RubyGecko
-------------------------
@@ -1,25 +1,9 @@
 = Gtk::MozEmbed sample 
 
-In this section we will illustrate two sample application using the Gtk::MozEmbed widget. The first is a simple single-window browser and the latter is a toy-editor for HTML.
+In this section we will illustrate some sample applications using the Gtk::MozEmbed widget. 
 
-To run this sample you need to install Ruby/GTK2 >= 0.12.0 and Ruby/GtkMozEmbed that you can get here: ((<URL:http://sourceforge.net/project/showfiles.php?group_id=53614&package_id=147357>))
+To run this sample you need to install Ruby/GTK2 >= 0.12.0 and Ruby/GtkMozEmbed >= 0.3.1 that you can get here: ((<URL:http://sourceforge.net/project/showfiles.php?group_id=53614&package_id=147357>))
 
-You need to have libgtkmozembed.so in your library path either via /etc/ld.so.conf or setting the LD_LIBRARY_PATH environment variable. If you have mozilla-dev packages installed you can simply do:
- 
- $ export LD_LIBRARY_PATH=`pkg-config --variable=libdir mozilla-gtkmozembed`:$LD_LIBRARY_PATH
-
-If you don't, the following are some good bet:
-
- $ export LD_LIBRARY_PATH=/usr/lib/mozilla/:$LD_LIBRARY_PATH
- $ export LD_LIBRARY_PATH=/usr/lib/mozilla-firefox/:$LD_LIBRARY_PATH
-
-If all else fail please do:
-
- $ find /usr/lib -name libgtkmozembed.so; find /usr/local/ -name libgtkmozembed.so; \
-    find /opt -name libgtkmozembed.so
-
-and than set LD_LIBRARY_PATH accordingly.
-
 == ruby-gecko browser.
 
 Download via CVS (or use the version you should already have):
@@ -30,18 +14,-4 @@
 
  $ ruby ruby-gecko.rb
 
-Or if you have not set the library path you can do it on the same line:
-
- $ LD_LIBRARY_PATH=/path/to/gtkmozembed/ ruby ruby-gecko.rb
-
-
 == MozEditor HTML toy-editor.
 
 {{image_right "moz-editor.png"}}
 
 This sample mixes Gtk::SourceView and the Gtk::MozEmbed to build a simple "WYSIWYM" (What You See Is What You Meant) HTML editor. In the left pane the HTML source code can be edited via gtksourceview and is rendered in realtime in the GTK/MozEmbed pane on the right.
 
-
 Download the source code and the demo css:
 * ((<URL:http://mirko.lilik.it/Ruby-GNOME2/moz-editor.rb>))
 * ((<URL:http://mirko.lilik.it/Ruby-GNOME2/moz-editor.css>))
@@ -49,17 +27,-4 @@
 Or view the source online:
 * ((<URL:http://mirko.lilik.it/Ruby-GNOME2/moz-editor.rb.html>))
 
-You can run the ruby-gecko browser by calling
+You can run the moz-editor by calling
 
  $ ruby moz-editor.rb
 
-Or if you have not set the library path with:
+This sample uses the Observer pattern mixin to notify multiple views of document updates:
+((<URL:http://mirko.lilik.it/Ruby-GNOME2/Observer-s.png>))
 
- $ LD_LIBRARY_PATH=/path/to/gtkmozembed/ ruby moz-editor.rb
+== MozSnapshooter (HTML page thumbnailer)
 
+((<URL:http://mirko.lilik.it/Ruby-GNOME2/moz-snapshooter.rb>))
 
-This sample uses the Observer pattern mixin to notify multiple views of document updates:
-((<URL:http://mirko.lilik.it/Ruby-GNOME2/Observer-s.png>))
+This sample does a thumbnail of the ruby-lang.org site.
 
 == License
 GPL
@@ -70,5 +49,-14 @@
 
 
 === Changelog
+:2005-03-26
+ Removed LD_LIBRARY_PATH oddity, added moz-snapshooter sample.
 :2005-03-22
  Initial release





ruby-gnome2-cvs メーリングリストの案内
Zurück zum Archiv-Index