Update to 20010315.

This commit is contained in:
Akinori MUSHA 2001-03-17 21:05:36 +00:00
parent 235b9035e5
commit 4106a5278d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39988
7 changed files with 78 additions and 36 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= gimp
PORTVERSION= 20000227
PORTVERSION= 20010315
CATEGORIES= graphics ruby
MASTER_SITES= http://homepage1.nifty.com/susho/software/gimp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@ -15,6 +15,7 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= gimptool:${.CURDIR}/../gimp1
LIB_DEPENDS= gimp.1:${.CURDIR}/../gimp1
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk
@ -25,10 +26,19 @@ WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
INSTALL_TARGET= site-install
PLIST_SUB= X11BASE="${X11BASE}"
DOCS_EN= ENVIRONMENT \
DOCS_EN= ChangeLog \
ENVIRONMENT \
README \
TODO
DOCS_JA= MEMO.ja
DOCS_JA= doc/API.ja.html \
doc/BUGS.ja \
doc/MEMO.ja
#post-build:
# cd ${WRKSRC}/embed && ${SETENV} CC='${CC}' \
# CFLAGS='-I${RUBY_ARCHLIBDIR} -DMODULE_COMPILATION' \
# LDFLAGS='-L${PREFIX}/lib -lruby' \
# gimptool --build rubymod.c
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/plug-ins/*.rb ${X11BASE}/libexec/gimp/1.2/plug-ins/

View File

@ -1 +1 @@
MD5 (ruby/ruby-gimp-snapshot-20000227.tar.gz) = a0a6f1d1a746f886bcab3cc9ea3e6a66
MD5 (ruby/ruby-gimp-snapshot-20010315.tar.gz) = 2fd0908f23d4b6062cc3e7fa39fc2c6b

View File

@ -1,12 +1,15 @@
--- gimp/extconf.rb.orig Fri Feb 23 04:53:23 2001
+++ gimp/extconf.rb Wed Feb 28 22:43:04 2001
@@ -2,8 +2,8 @@
require '../mkmf_gimp.rb'
--- gimp/extconf.rb.orig Thu Mar 15 03:50:32 2001
+++ gimp/extconf.rb Sun Mar 18 04:55:15 2001
@@ -4,9 +4,9 @@
$CFLAGS += ' ' + GimpConfig::CFLAGS
+$LDFLAGS += ' ' + GimpConfig::LDFLAGS
$LDFLAGS += ' ' + GimpConfig::LDFLAGS
-if have_library(GimpConfig::LIBGLIB, "g_print") and
- have_library(GimpConfig::LIBGTK, "gtk_init") and
- have_library(GimpConfig::LIBGIMP, "gimp_main") and
+if have_func("g_print") and
+ have_func("gtk_init") and
+ have_func("gimp_main") and
have_header("libgimp/gimp.h")
have_func("gimp_sysconf_directory")
if have_gimp_library("gimp", "gimp_main") and have_header("libgimp/gimp.h")
-# $LDFLAGS += ' ' + GimpConfig::LDFLAGS
create_makefile("gimp")
end

View File

@ -1,13 +1,19 @@
--- gimpui/extconf.rb.orig Fri Feb 23 04:55:36 2001
+++ gimpui/extconf.rb Wed Feb 28 22:42:45 2001
@@ -2,9 +2,8 @@
require '../mkmf_gimp.rb'
--- gimpui/extconf.rb.orig Thu Mar 15 10:48:42 2001
+++ gimpui/extconf.rb Sun Mar 18 04:55:36 2001
@@ -4,11 +4,11 @@
$CFLAGS += ' ' + GimpConfig::CFLAGS
-$LDFLAGS += ' -lgimp'
+$LDFLAGS += ' ' + GimpConfig::LDFLAGS
$LDFLAGS += ' ' + GimpConfig::LDFLAGS
if have_gimp_library("gimpui", "gimp_ui_init") and have_header("libgimp/gimpui.h")
-# $LDFLAGS += ' ' + GimpConfig::LDFLAGS
create_makefile("gimpui")
end
-if have_library(GimpConfig::LIBGLIB, "g_print") and
- have_library(GimpConfig::LIBGDK, "gdk_init") and
- have_library(GimpConfig::LIBGTK, "gtk_init") and
- have_library(GimpConfig::LIBGIMP, "gimp_main") and
- have_library(GimpConfig::LIBGIMPUI, "gimp_ui_init") and
+if have_func("g_print") and
+ have_func("gdk_init") and
+ have_func("gtk_init") and
+ have_func("gimp_main") and
+ have_func("gimp_ui_init") and
have_header("libgimp/gimpui.h")
have_func("gimp_mem_size_entry_new")

View File

@ -0,0 +1,30 @@
--- mkmf_gimp.rb.orig Thu Mar 15 00:55:02 2001
+++ mkmf_gimp.rb Sun Mar 18 04:54:48 2001
@@ -22,25 +22,10 @@
else
config_cmds = "#{CONFIG['RUBY_INSTALL_NAME']} ../gimp-config.mingw"
end
- if ARGV.size > 0
- config_cmds = ARGV.shift
- end
+
+ config_cmds = with_config("gimp-config", config_cmds)
CFLAGS = `#{config_cmds} --cflags`.chomp
LDFLAGS = `#{config_cmds} --libs`.chomp
-
- if /win32|mingw/ =~ RUBY_PLATFORM
- LIBGLIB = "glib-1.3"
- LIBGDK = "gdk-1.3"
- LIBGTK = "gtk-1.3"
- LIBGIMP = "gimp-1.2"
- LIBGIMPUI = "gimpui-1.2"
- else
- LIBGLIB = "glib"
- LIBGDK = "gdk"
- LIBGTK = "gtk"
- LIBGIMP = "gimp"
- LIBGIMPUI = "gimpui"
- end
end

View File

@ -1,11 +0,0 @@
--- plug-ins/eval.rb.orig Tue Feb 27 20:08:13 2001
+++ plug-ins/eval.rb Thu Mar 1 01:29:43 2001
@@ -13,7 +13,7 @@
"",
[
[RF_STRING, "code", "Code to eval", "", true],
- ],
+ ]
) { |text|
eval(text)
}

View File

@ -8,7 +8,10 @@
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/TODO
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/ENVIRONMENT
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/ChangeLog
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/ja/MEMO.ja
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/ja/BUGS.ja
%%PORTDOCS%%%%RUBY_DOCDIR%%/gimp/ja/API.ja.html
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gimp/ja
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gimp
@cwd %%X11BASE%%
@ -16,6 +19,7 @@ libexec/gimp/1.2/plug-ins/clothify.rb
libexec/gimp/1.2/plug-ins/coolmetal-logo.rb
libexec/gimp/1.2/plug-ins/erase-rows.rb
libexec/gimp/1.2/plug-ins/eval.rb
libexec/gimp/1.2/plug-ins/gimp-druby.rb
libexec/gimp/1.2/plug-ins/list_images.rb
libexec/gimp/1.2/plug-ins/raindrop.rb
libexec/gimp/1.2/plug-ins/rendermap.rb