1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Update the Ruby-GNOME suite to 0.34.

This commit is contained in:
Akinori MUSHA 2003-08-09 18:20:37 +00:00
parent f198fc6f9c
commit 702704f99f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86665
3 changed files with 2 additions and 55 deletions

View File

@ -1,53 +0,0 @@
--- src/rbart_canvas.c.orig Mon Jan 20 01:04:03 2003
+++ src/rbart_canvas.c Fri Mar 21 20:06:11 2003
@@ -156,6 +156,7 @@
return r_self;
}
+#if 0
static void
user_init_destination(cinfo)
j_compress_ptr cinfo;
@@ -188,6 +189,42 @@
r_buffer = (VALUE) cinfo->client_data;
RSTRING(r_buffer)->len = RSTRING(r_buffer)->aux.capa - cinfo->dest->free_in_buffer;
RSTRING(r_buffer)->ptr[RSTRING(r_buffer)->len] = '\0';
+}
+#endif
+
+struct client_data {
+ VALUE r_result;
+ JOCTET buffer[BUFSIZ];
+};
+
+static void
+user_init_destination(cinfo)
+ j_compress_ptr cinfo;
+{
+ struct client_data *cd;
+ cd = (struct client_data *) cinfo->client_data;
+ cinfo->dest->next_output_byte = cd->buffer;
+ cinfo->dest->free_in_buffer = BUFSIZ;
+}
+
+static boolean
+user_empty_output_buffer(cinfo)
+ j_compress_ptr cinfo;
+{
+ struct client_data *cd;
+ cd = (struct client_data *) cinfo->client_data;
+ rb_str_cat(cd->r_result, cd->buffer, BUFSIZ);
+ cinfo->dest->next_output_byte = cd->buffer;
+ cinfo->dest->free_in_buffer = BUFSIZ;
+}
+
+static void
+user_term_destination(cinfo)
+ j_compress_ptr cinfo;
+{
+ struct client_data *cd;
+ cd = (struct client_data *) cinfo->client_data;
+ rb_str_cat(cd->r_result, cd->buffer, cinfo->dest->next_output_byte - cd->buffer);
}
static VALUE

View File

@ -1,6 +1,6 @@
# $FreeBSD$
RUBY_GNOME_VERSION= 0.31
RUBY_GNOME_VERSION= 0.34
#RUBY_GNOME_SNAPSHOTDATE= 20010224
.if defined(RUBY_GNOME_SNAPSHOTDATE)
RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE}

View File

@ -1 +1 @@
MD5 (ruby/ruby-gnome-all-0.31.tar.gz) = 400a432a9ce2bec059b973536f23d290
MD5 (ruby/ruby-gnome-all-0.34.tar.gz) = 62785a2099cf53d9cb9b0d34a4dd2b72