[#14715] HTTP Client with Ruby — TAKAHASHI Masayoshi <maki@...>

高橋征義です。

32 messages 1999/06/01
[#14834] Re: HTTP Client with Ruby — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/06/05

なひです.

[#14836] Re: HTTP Client with Ruby — TAKAHASHI Masayoshi <maki@...> 1999/06/05

高橋征義です。

[#14858] Re: HTTP Client with Ruby — gotoken@... (GOTO Kentaro) 1999/06/07

ごとけんです

[#14896] Re: HTTP Client with Ruby — TAKAHASHI Masayoshi <maki@...> 1999/06/07

高橋です。みなさまどうもありがとうございます。

[#14907] Re: HTTP Client with Ruby — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/06/08

なひです.

[#14766] ruby 1.3.4 on BSD/OS 3.1 — Yasunari Momoi <momo@...>

BSD/OS 3.1 (with kame) で ruby-1.3.4 を作ろうとしているんで

18 messages 1999/06/03
[#14770] Re: ruby 1.3.4 on BSD/OS 3.1 — matz@... (Yukihiro Matsumoto) 1999/06/03

まつもと ゆきひろです

[#15012] ext ML の過去ログはいずこ? — 中村暁史 <anakamur@...>

22 messages 1999/06/16
[#15013] Re: ext ML の過去ログはいずこ? — Shin-ichiro Hara <sinara@...> 1999/06/16

原です。

[#15014] Re: ext ML の過去ログはいずこ? — 中村暁史 <anakamur@...> 1999/06/16

[#15015] Re: ext ML の過去ログはいずこ? — Kazunori Akaishi <akaishi@...> 1999/06/16

akaishi です。

[#15016] Re: ext ML の過去ログはいずこ? — 中村暁史 <anakamur@...> 1999/06/16

[#15045] mail library — Minero Aoki <aamine@...>

あおきです。

96 messages 1999/06/20
[#15075] Re: mail library — Minero Aoki <aamine@...> 1999/06/22

あおきです。

[#15122] Re: mail library — Minero Aoki <aamine@...> 1999/06/28

あおきです。

[#15123] Re: mail library — matz@... (Yukihiro Matsumoto) 1999/06/28

まつもと ゆきひろです

[#15125] Re: mail library — WATANABE Hirofumi <watanabe@...> 1999/06/28

わたなべです.

[#15126] Re: mail library — matz@... (Yukihiro Matsumoto) 1999/06/28

まつもと ゆきひろです

[#15146] Re: mail library — Minero Aoki <aamine@...> 1999/06/29

あおきです。

[#15148] Re: mail library — matz@... (Yukihiro Matsumoto) 1999/06/29

まつもと ゆきひろです

[#15161] Re: mail library — Minero Aoki <aamine@...> 1999/06/30

あおきです。

[#15165] Re: mail library — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/06/30

なひです.

[#15167] Re: mail library — Minero Aoki <aamine@...> 1999/06/30

あおきです。

[#15219] Re: mail library — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/07/03

なひです.

[#15228] Re: mail library — hisanori@... 1999/07/05

松尾です。

[#15279] Re: mail library — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/07/07

なひです.

[#15172] Re:mail library — Takeo Iwama <iwamat@...> 1999/07/01

はじめまして、岩間です。

[#15218] JUS workshop ( was Re:mail library ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/07/03

なひです.mod_rubyと格闘中です.

[#15220] Mod_ruby server does not respond when POST request. — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/07/03

なひです.mod_rubyネタはruby-listでよいでしょうか?

[#15226] Re: Mod_ruby server does not respond when POST request. — Shugo Maeda <shugo@...> 1999/07/05

前田です。

[#15240] mod_ruby/0.1.2 with Apache/1.3.6 on Solaris/2.5.1 ( was Re: Mod_ruby server does not respond when POST request. ) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/07/05

なひです.

[#15242] Re: mod_ruby/0.1.2 with Apache/1.3.6 on Solaris/2.5.1 ( was Re: Mod_ruby server does not respond when POST request. ) — Shugo Maeda <shugo@...> 1999/07/05

前田です。

[#15308] Re: mod_ruby/0.1.2 with Apache/1.3.6 on Solaris/2.5.1 — Katsuyuki Komatsu <komatsu@...> 1999/07/08

小松です。

[#15310] Re: mod_ruby/0.1.2 with Apache/1.3.6 on Solaris/2.5.1 — Shugo Maeda <shugo@...> 1999/07/08

前田です。

[#15313] Re: mod_ruby/0.1.2 with Apache/1.3.6 on Solaris/2.5.1 — Katsuyuki Komatsu <komatsu@...> 1999/07/08

小松です。

[#15057] 複雑?な構造体の定義方法 — Koichi Shigematsu <shige@...>

しげまつ と申します。  とっても久しぶりの投稿です。

18 messages 1999/06/21
[#15058] Re: 複雑?な構造体の定義方法 — matz@... (Yukihiro Matsumoto) 1999/06/21

まつもと ゆきひろです

[#15059] Re: 複雑?な構造体の定義方法 — Koichi Shigematsu <shige@...> 1999/06/21

しげまつ です。

[#15061] Re: 複雑?な構造体の定義方法 — matz@... (Yukihiro Matsumoto) 1999/06/21

まつもと ゆきひろです

[#15065] pattern (Re: 複雑?な構造体の定義方法) — gotoken@... (GOTO Kentaro) 1999/06/21

ごとけんです

[#15076] Re: pattern (Re: 複雑?な構造体の定義方法) — matz@... (Yukihiro Matsumoto) 1999/06/22

まつもと ゆきひろです

[#15077] Re: pattern (Re: 複雑?な構造体の定義方法) — gotoken@... (GOTO Kentaro) 1999/06/22

ごとけんです

[ruby-list:14924] Re: ruby-gtk trouble

From: Hiroshi Igarashi <igarashi@...>
Date: 1999-06-08 07:44:29 UTC
List: ruby-list #14924
いがらしです。

「[ruby-list:14922] Re: ruby-gtk trouble」で 、
Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp>さんは書きました:

> 以前にも指摘があったので、次のリリースからは
> rubyで書き換えて
>   makedefconst.sh -> makedefconst.rb
> としたいと思います。
> #手元のSolarisではとりあえず動いていたりするのですが。

この「とりあえず」のパッチです。
いますぐSolaris上などでruby-gtkを使いたい方は
試してみてください。あまり確認していません^_^;)
#ruby-extに出したほうがよかったかな?

----
五十嵐  宏  (Hiroshi IGARASHI)

Attachments (1)

ruby-gtk-0.18-19990604.patch (2.62 KB, text/x-diff)
diff -ruN gtk.orig/extconf.rb gtk/extconf.rb
--- gtk.orig/extconf.rb	Tue Jun  1 00:29:22 1999
+++ gtk/extconf.rb	Fri Jun  4 14:27:51 1999
@@ -1,5 +1,7 @@
 require "mkmf"
 
+RUBY = CONFIG["bindir"] + File::Separator + CONFIG["RUBY_INSTALL_NAME"]
+
 if ARGV.size == 0
   $gtk_config = "gtk-config"
 else
@@ -63,8 +65,8 @@
 
 rbgdk.o: rbgdk.c rbgdkcursors.h
 
-librbgdkkeysyms.a: makedefconst.sh rbgdkkeysyms.h
-	$(SHELL) $? Init_gtk_gdkkeysyms
+librbgdkkeysyms.a: makedefconst.rb rbgdkkeysyms.h
+	#{RUBY} $? Init_gtk_gdkkeysyms
 	cd rbgdkkeysyms; make ../$@; cd ..
 
 rbgdkcursors.h:;	awk -f makecursors.awk #{gdkincl}/gdkcursors.h > $@
diff -ruN gtk.orig/src/makedefconst.rb gtk/src/makedefconst.rb
--- gtk.orig/src/makedefconst.rb	Thu Jan  1 09:00:00 1970
+++ gtk/src/makedefconst.rb	Fri Jun  4 14:11:46 1999
@@ -0,0 +1,78 @@
+
+require 'ftools'
+
+Split="split -l 100"
+
+if ARGV[0].empty? or ARGV[0] == ".h"
+  puts("set input legal header file name.")
+  exit
+end
+if ARGV[1].empty?
+  puts("set public function name.")
+  exit
+end
+
+func = ARGV[1]
+
+if not FileTest.readable?(ARGV[0])
+  puts("cannot found " + ARGV[0])
+  exit
+end
+
+name = File.basename(ARGV[0], ".h")
+
+if not FileTest.directory?(name)
+  Dir.mkdir(name) || exit(1)
+  Dir.chdir(name); `#{Split} ../#{name}.h _#{name}.`; Dir.chdir("..")
+else
+  File.safe_unlink("#{name}/Makefile")
+end
+
+File.copy("Makefile", "#{name}/Makefile")
+Dir.chdir(name)
+makefile = File.open("Makefile", "a")
+makefile.puts
+makefile.puts("# -----------------------------------------")
+makefile.print("../lib#{name}.a: ")
+
+makefile.print("#{name}.o ")
+
+File.safe_unlink(*Dir.glob("#{name}.[ch]"))
+cfile = File.open("#{name}.c", "a")
+cfile.puts("#include \"ruby.h\"")
+cfile.puts("#include <gdk/gdkkeysyms.h>")
+cfile.puts("#include \"../global.h\"")
+cfile.puts("#include \"#{name}.h\"")
+cfile.puts("void #{func}() {")
+
+hfile = File.open("#{name}.h", "a")
+for i in Dir.glob("_#{name}.[a-z][a-z]")
+  STDERR.puts(i)
+  makefile.print("#{i}.o ")
+
+  j = i.tr(".", "_")
+
+  hfile.puts("extern void Init_gtk_#{j}();")
+  cfile.puts("	Init_gtk_#{j}();")
+
+  File.safe_unlink("#{i}.c")
+  cfile2 = File.open(i + ".c", "w")
+  cfile2.puts("#include \"ruby.h\"")
+  cfile2.puts("#include <gdk/gdkkeysyms.h>")
+  cfile2.puts("#include \"../global.h\"")
+  cfile2.puts("void Init_gtk_#{j}() {")
+  cfile2.puts("  #include \"#{i}\"")
+  cfile2.puts("}")
+  cfile2.close
+end
+
+cfile.puts("}")
+
+makefile.puts
+makefile.puts("	\$(AR) -rs \$@ \$?")
+makefile.puts("# if your \$(AR) don't accept -s options, test below:")
+makefile.puts("#	\$(AR) -r \$@");
+makefile.puts("#	\$(RANLIB) \$@")
+
+makefile.close
+cfile.close

In This Thread