登録
ftnk.jp -> ~fumi -> ChangeLog -> Ruby
ChangeLog 最新ページ / カテゴリ最新ページ / 前ページ 1 2 3 4 5 6 7 / page 7 (7)2003-06-19 Thu
puts GLib.charset
puts GLib.convert("ほげ", "utf-8", "euc-jp") #str, to, from
puts GLib.locale_to_utf8("ふが")
puts GLib.locale_from_utf8("utf8 string")
- Linuxビボ〜ろく 2003-06-18
http://ponx.s5.xrea.com/bibo/20030618.html
2003-06-17 Tue
アプリケーションの設定ファイル等を保存・読み出しするためのライブラリ
- Linuxビボ〜ろく 2003-6-16
http://ponx.s5.xrea.com/bibo/20030616.html
- GConf ライブラリ概論
http://www.globe.to/~oka326/archive/gnome/gconf/doc/index.html
2003-05-25 Sun
以下のようなエラーがでて,gconf2.so が作れない.
gcc -fPIC -O2 -march=i586 -funroll-loops -ffast-math -fstack-protector -fPIC -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I~/rpm/BUILD/ruby-gnome2-0.5.0/glib/src -I. -I/usr/lib/ruby/1.6/i586-linux -I~/rpm/BUILD/ruby-gnome2-0.5.0/gconf/src -c -o rbgconf-entry.o rbgconf-entry.c distcc[15581] (dcc_preferred_hosts) Warning: $DISTCC_HOSTS is not defined; can't distribute work rbgconf-entry.c:46: 警告: `gconf_entry_copy' は非 static の後で static 宣言されています rbgconf-entry.c: 関数 `gconf_entry_copy' 内: rbgconf-entry.c:47: 仮引数 `entry' はプロトタイプに一致しません /usr/include/gconf/2/gconf/gconf-value.h:168: prototype declaration make[2]: *** [rbgconf-entry.o] エラー 1 make[2]: Leaving directory `~/rpm/BUILD/ruby-gnome2-0.5.0/gconf/src'とりあえず,gconf は使わないので,spec file からはずしておく.
2003-05-23 Fri
http://raa.ruby-lang.org/list.rhtml?name=supershape
A Belgian Biologist named Johan Gielis discovered a formula
that can create a vast diversity of natural shapes. By tweaking
four parameters it can produce everything from simple triangles
and pentagons, to stars, spirals and petals.
ってことで,Maths gets into shape や SuperShapes を見るとなかなか面白い図形ができる.
2003-05-17 Sat
http://rubygtkembedmoz.sourceforge.net/
Ruby/GtkEmbedMoz is a Ruby language binding for the Mozilla's GTK
Embedding Widget. If you use Ruby/GtkEmbedMoz, you'll be able to Embed
Mozilla into Ruby/GTK applications. For example, browsers, etc...
2003-04-17 Thu
http://rgnuplot.sourceforge.net/
0.5 が出ていたので package を作る.
附属の demo では,
require 'Gnuplot'となっているが,document では
require 'gplot/Gnuplot'となっている.
Momonga では gplot/Gnuplot となっているので,それに従っておく.
2003-03-31 Mon
gzip 形式の圧縮ファイルを読み込むラッパークラスが GzipReader から
Zlib::GzipReader に変更されていたので、mph でエラーがでた。
/usr/lib/ruby/1.6/mph.rb の 394 行目の GzipReader を
Zlib::GzipReader に変更して対処。
mph-scanpackages の 136 行目も同様に変更。





