-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit was manufactured by cvs2svn to create branch 'vendor'.
- Loading branch information
Unknown Author
committed
May 19, 2002
1 parent
183f1fb
commit ec23f07
Showing
351 changed files
with
52,490 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Tue Mar 12 20:40:49 2002 Neil Conway <neilconway@rogers.com> | ||
|
||
Fri Nov 16 14:32:40 2001 Neil Conway <neilconway@rogers.com> | ||
|
||
* addheader.rb: 2 grammar fixes. | ||
|
||
* makefile.mnt: Tweaks for new maintainer. | ||
|
||
Mon Oct 8 13:25:04 2001 Neil Conway <neilconway@rogers.com> | ||
|
||
* extconf.rb: clean up generated Makefile: remove | ||
'realclean' target, remove 'mkmf.log' on distclean. | ||
|
||
2000-06-05 16:05:42 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* extconf.rb: support target `site-install'. | ||
|
||
2000-03-30 14:14:00 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* extconf.rb: modify for maintainer. | ||
|
||
2000-03-30 14:12:24 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* ChangeLog: create a file. | ||
|
||
2000-03-30 11:06:41 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* extconf.rb: | ||
use function `system' to call sub `extconf.rb' instead of `load'. | ||
|
||
2000-03-29 19:53:11 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* extconf.rb: fix to work with multiple sub-directory. | ||
|
||
2000-03-29 19:04:26 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* extconf.rb: create a file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
gnome-ruby -- Ruby bindings for GNOME | ||
===================================== | ||
|
||
*The current status of gnome-ruby is experimental* | ||
|
||
This is a set of bindings for the GNOME libraries for use from Ruby. | ||
|
||
To use them, you will need Ruby 1.6 and gnome-libs 1.0.50 or | ||
later installed on your system. | ||
|
||
|
||
Compilation and Installation | ||
============================ | ||
|
||
To compile and install gnome-ruby, you should run: | ||
|
||
ruby extconf.rb | ||
make | ||
make site-install | ||
|
||
To compile and install each sub-binding, you should run: | ||
|
||
cd <each sub-directory> | ||
ruby extconf.rb | ||
make | ||
make site-install | ||
|
||
*NOTICE* | ||
You should install a sub-binding with its dependencies. | ||
The current dependencies are: | ||
|
||
gdkimlib depends on gtk. | ||
gdkpixbuf depends on gtk. | ||
gnome depends on gtk, gdkimlib. | ||
|
||
|
||
Contacting the Author | ||
===================== | ||
|
||
You can contact me via email at <neilconway@rogers.com>; you | ||
can also visit the Ruby-GNOME website (http://ruby-gnome.sf.net), | ||
which has a facility for reporting bugs and submitting fixes. | ||
Finally, you can send a message to the ruby-talk mailing list, | ||
where I or other Ruby-GNOME users can help you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
=begin | ||
top-level extconf.rb for gnome extention library | ||
=end | ||
|
||
require 'mkmf' | ||
|
||
# | ||
# detect sub-directories | ||
# | ||
subdirs = Dir["*"].select do |subdir| | ||
File.file?(subdir + "/extconf.rb") | ||
end | ||
|
||
# | ||
# generate top-level Makefile | ||
# | ||
File.open("Makefile", "w") do |makefile| | ||
makefile.print("\ | ||
SUBDIRS = #{subdirs.join(' ')} | ||
all: | ||
for subdir in \$(SUBDIRS); do \\ | ||
(cd \$\${subdir} && \$(MAKE) all); \\ | ||
done; | ||
install: | ||
for subdir in \$(SUBDIRS); do \\ | ||
(cd \$\${subdir} && \$(MAKE) install); \\ | ||
done; | ||
site-install: | ||
for subdir in \$(SUBDIRS); do \\ | ||
(cd \$\${subdir} && \$(MAKE) site-install); \\ | ||
done; | ||
clean: | ||
for subdir in \$(SUBDIRS); do \\ | ||
(cd \$\$subdir && \$(MAKE) clean); \\ | ||
done; \\ | ||
distclean: | ||
for subdir in \$(SUBDIRS); do \\ | ||
(cd \$\${subdir} && \$(MAKE) distclean); \\ | ||
done; | ||
rm -f Makefile mkmf.log | ||
") | ||
if File.file?("makefile.mnt") | ||
File.open("makefile.mnt") do |makefile_mnt| | ||
makefile.print(makefile_mnt.read) | ||
end | ||
end | ||
end | ||
|
||
# | ||
# generate sub-directory Makefiles | ||
# | ||
subdirs.each do |subdir| | ||
STDERR.puts("#{$0}: Entering directory `#{subdir}'") | ||
Dir.chdir(subdir) | ||
system("#{Config::CONFIG['RUBY_INSTALL_NAME']} extconf.rb") | ||
Dir.chdir("..") | ||
STDERR.puts("#{$0}: Leaving directory `#{subdir}'") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Sat Nov 24 16:26:38 2001 Neil Conway <neilconway@rogers.com> | ||
|
||
* MANIFEST: File removed. | ||
|
||
Sat Jan 13 01:35:39 2001 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* lib/gdk_imlib.rb: add wrapper library for loading depedencies. | ||
|
||
2000-06-03 14:56:38 Hiroshi Igarashi <iga@ruby-lang.org> | ||
|
||
* extconf.rb: use imlib-config for $LDFLAGS. | ||
|
||
2000-03-30 14:33:23 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* MANIFEST, ChangeLog: create files. | ||
|
||
2000-03-30 14:32:18 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* rbgdkimlib.c: modify copyright and include header `rbgdkimlib.h'. | ||
|
||
2000-03-30 14:29:43 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* rbgdkimlib.h: create a file. | ||
|
||
2000-03-29 18:42:23 Hiroshi IGARASHI <iga@ruby-lang.org> | ||
|
||
* extconf.rb, rbgdkimlib.c: New file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
require 'mkmf' | ||
|
||
rubygtk_dir = "../gtk" | ||
rubygtk_dir = ARGV[0] if ARGV[0] | ||
unless FileTest.exist?(rubygtk_dir) | ||
print "directry '#{rubygtk_dir}' not found. Please specify Ruby/Gtk source dir.\n" | ||
exit | ||
end | ||
gtklib_dir = [] | ||
`imlib-config --libs-gdk`.split(' ').each do |e| | ||
if e=~ /^-L/ then | ||
gtklib_dir.push(e) | ||
end | ||
end | ||
|
||
$CFLAGS = "-g -I#{rubygtk_dir}/src " + `imlib-config --cflags-gdk`.chomp | ||
$LDFLAGS = `imlib-config --libs-gdk`.chomp | ||
|
||
have_library("X11", "XOpenDisplay") && | ||
have_library("Xi", "XOpenDevice") && | ||
have_library("Xext", "XextFindDisplay") && | ||
have_library("Xmu", "XmuInternAtom") && | ||
have_library("glib", "g_print") && | ||
have_library("gdk", "gdk_init") && | ||
have_library("gdk_imlib", "gdk_imlib_init") && | ||
|
||
create_makefile('gdk_imlib') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require 'gtk' | ||
require 'gdk_imlib.so' |
Oops, something went wrong.