summaryrefslogtreecommitdiff
path: root/graphics/ruby-gdk_pixbuf2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-20 12:34:39 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-20 12:34:39 +0000
commit1c39591d9ad57d9c4c7d2a08c179ffdb9896849b (patch)
tree3225a24111af606e44ea065b7c4dc7b89cf43a9d /graphics/ruby-gdk_pixbuf2
parentUpgrade to 5.03. (diff)
Update ruby-{gnome,gtk,gdk_imlib,gdk_pixbuf} to 0.27.
Notes
Notes: svn path=/head/; revision=56381
Diffstat (limited to 'graphics/ruby-gdk_pixbuf2')
-rw-r--r--graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb42
1 files changed, 0 insertions, 42 deletions
diff --git a/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb b/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb
deleted file mode 100644
index e2e658733ba7..000000000000
--- a/graphics/ruby-gdk_pixbuf2/files/patch-extconf.rb
+++ /dev/null
@@ -1,42 +0,0 @@
---- extconf.rb.orig Sat Oct 6 07:46:27 2001
-+++ extconf.rb Wed Nov 21 01:17:41 2001
-@@ -1,26 +1,25 @@
- require 'mkmf'
-
--rubygtk_dir = "../gtk"
--rubygtk_dir = ARGV[0] if ARGV[0]
-+glib_config = with_config("glib-config", "glib-config")
-+gdk_pixbuf_config = with_config("gdk-pixbuf-config", "gdk-pixbuf-config")
-+
-+while /^--/ =~ ARGV[0]
-+ ARGV.shift
-+end
-+
-+rubygtk_dir = ARGV.shift || "../gtk"
- unless FileTest.exist?(rubygtk_dir)
- raise "Directory #{rubygtk_dir} not found. Please specify Ruby/Gtk source dir."
- end
--gtklib_dir = []
--`gtk-config --libs`.split(' ').each do |e|
-- if e=~ /^-L/ then
-- gtklib_dir.push(e)
-- end
--end
-
--$CFLAGS = "-I#{rubygtk_dir}/src " + `gdk-pixbuf-config --cflags`.chomp
--$LDFLAGS = `gdk-pixbuf-config --libs`.chomp
-+$CFLAGS += "-I#{rubygtk_dir}/src " + `#{glib_config} --cflags`.chomp + ' ' + `#{gdk_pixbuf_config} --cflags`.chomp
-+$LDFLAGS += `#{glib_config} --libs`.chomp + ' ' + `#{gdk_pixbuf_config} --libs`.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_pixbuf", "gdk_pixbuf_new") &&
--
-+have_func("g_print") &&
-+have_func("gdk_init") &&
-+have_func("gdk_pixbuf_new") &&
- create_makefile('gdk_pixbuf')