diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-23 02:26:22 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-08-23 02:26:22 +0800 |
commit | b216de16b781d96ea13e8dad59fad65dabb7e0ee (patch) | |
tree | 1c1115864de8abfa7211d402374fb1afb92a6cc9 /devel | |
parent | c930c900ec9423230e999c6b9dc2d077ac7aacff (diff) | |
download | marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.tar marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.tar.gz marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.tar.bz2 marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.tar.lz marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.tar.xz marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.tar.zst marcuscom-ports-b216de16b781d96ea13e8dad59fad65dabb7e0ee.zip |
Update to 2.27.91.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12675 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/seed/Makefile | 4 | ||||
-rw-r--r-- | devel/seed/distinfo | 6 | ||||
-rw-r--r-- | devel/seed/files/patch-libseed_seed-importer.c | 36 | ||||
-rw-r--r-- | devel/seed/files/patch-modules_os_seed-os.c | 31 | ||||
-rw-r--r-- | devel/seed/pkg-plist | 24 |
5 files changed, 74 insertions, 27 deletions
diff --git a/devel/seed/Makefile b/devel/seed/Makefile index 6b860c245..9e2b21fe4 100644 --- a/devel/seed/Makefile +++ b/devel/seed/Makefile @@ -3,11 +3,11 @@ # Whom: Alexander Logvinov <avl@FreeBSD.org> # # $FreeBSD$ -# $MCom$ +# $MCom: ports/devel/seed/Makefile,v 1.1 2009/07/30 02:46:13 avl Exp $ # PORTNAME= seed -PORTVERSION= 0.8.5 +PORTVERSION= 2.27.91 CATEGORIES= devel gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/devel/seed/distinfo b/devel/seed/distinfo index aae0c6bdd..d51fd92e2 100644 --- a/devel/seed/distinfo +++ b/devel/seed/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/seed-0.8.5.tar.bz2) = c97ab62373863e0ddcdc906833c438c5 -SHA256 (gnome2/seed-0.8.5.tar.bz2) = f0286f6258fc837cd5a15f38b8b865052756007e9419b4e67cc42eaebfeb1851 -SIZE (gnome2/seed-0.8.5.tar.bz2) = 1306988 +MD5 (gnome2/seed-2.27.91.tar.bz2) = cc087a9396bb9fd082c2b28fde18d6fe +SHA256 (gnome2/seed-2.27.91.tar.bz2) = eb3d15f9f9790a5f12de6cf2e8c0222822bfffc22676f1d8075f80cf425cfe25 +SIZE (gnome2/seed-2.27.91.tar.bz2) = 841632 diff --git a/devel/seed/files/patch-libseed_seed-importer.c b/devel/seed/files/patch-libseed_seed-importer.c new file mode 100644 index 000000000..fb4f5d246 --- /dev/null +++ b/devel/seed/files/patch-libseed_seed-importer.c @@ -0,0 +1,36 @@ +--- libseed/seed-importer.c.orig 2009-08-22 14:10:19.000000000 -0400 ++++ libseed/seed-importer.c 2009-08-22 14:17:07.000000000 -0400 +@@ -20,8 +20,10 @@ + // TODO: Don't use GNU libc extension canonicalize_file_name, don't use realpath? + #define _GNU_SOURCE + ++#include <sys/param.h> + #include <gio/gio.h> + #include <string.h> ++#include <stdlib.h> + + #include "seed-private.h" + +@@ -637,8 +639,8 @@ seed_importer_handle_file (JSContextRef + JSValueRef js_file_dirname; + JSObjectRef global, c_global; + JSStringRef file_contents, file_name; +- gchar *contents, *walk, *file_path, *canonical, *absolute_path; +- gchar *normalized_path; ++ gchar *contents, *walk, *file_path, *canonical, *absolute_path, *normalp; ++ gchar normalized_path[PATH_MAX]; + + file_path = g_build_filename (dir, file, NULL); + canonical = seed_importer_canonicalize_path (file_path); +@@ -692,9 +694,9 @@ seed_importer_handle_file (JSContextRef + g_path_get_dirname (file_path), NULL); + } + +- normalized_path = canonicalize_file_name (absolute_path); ++ normalp = realpath (absolute_path, normalized_path); + +- js_file_dirname = seed_value_from_string (ctx, normalized_path, NULL); ++ js_file_dirname = seed_value_from_string (ctx, normalp, NULL); + + seed_object_set_property (nctx, global, "__script_path__", js_file_dirname); + diff --git a/devel/seed/files/patch-modules_os_seed-os.c b/devel/seed/files/patch-modules_os_seed-os.c index 7c495abea..612af2ba6 100644 --- a/devel/seed/files/patch-modules_os_seed-os.c +++ b/devel/seed/files/patch-modules_os_seed-os.c @@ -1,8 +1,10 @@ ---- modules/os/seed-os.c.orig 2009-07-08 14:21:59.000000000 -0400 -+++ modules/os/seed-os.c 2009-07-27 12:55:03.000000000 -0400 -@@ -12,6 +12,9 @@ +--- modules/seed-os.c.orig 2009-08-10 16:23:35.000000000 -0400 ++++ modules/seed-os.c 2009-08-22 14:18:53.000000000 -0400 +@@ -30,7 +30,11 @@ + #include <sys/stat.h> #include <sys/utsname.h> ++#include <sys/param.h> #include <sys/types.h> +#include <sys/ioctl.h> +#include <termios.h> @@ -10,7 +12,24 @@ #include <fcntl.h> -@@ -661,6 +664,7 @@ seed_os_fdatasync (SeedContext ctx, +@@ -55,6 +59,7 @@ seed_os_realpath (SeedContext ctx, + SeedException * exception) + { + gchar *arg; ++ gchar resolved_path[PATH_MAX]; + gchar *ret; + + if (argument_count != 1) +@@ -62,7 +67,7 @@ seed_os_realpath (SeedContext ctx, + EXPECTED_EXCEPTION("os.realpath", "1 argument"); + } + arg = seed_value_to_string (ctx, arguments[0], exception); +- ret = canonicalize_file_name(arg); ++ ret = realpath(arg, resolved_path); + g_free (arg); + + return seed_value_from_string (ctx, ret, exception); +@@ -702,6 +707,7 @@ seed_os_fdatasync (SeedContext ctx, const SeedValue arguments[], SeedException * exception) { @@ -18,7 +37,7 @@ gint fd; if (argument_count != 1) -@@ -670,6 +674,10 @@ seed_os_fdatasync (SeedContext ctx, +@@ -711,6 +717,10 @@ seed_os_fdatasync (SeedContext ctx, fd = seed_value_to_int (ctx, arguments[0], exception); return seed_value_from_int (ctx, fdatasync (fd), exception); @@ -29,7 +48,7 @@ } SeedValue -@@ -1070,7 +1078,9 @@ seed_module_init(SeedEngine * eng) +@@ -1112,7 +1122,9 @@ seed_module_init(SeedEngine * eng) #if defined (O_DIRECT) OS_DEFINE_QUICK_ENUM (O_DIRECT); #endif diff --git a/devel/seed/pkg-plist b/devel/seed/pkg-plist index 30d1c4529..8910245e4 100644 --- a/devel/seed/pkg-plist +++ b/devel/seed/pkg-plist @@ -22,6 +22,10 @@ lib/seed/libseed_example.a lib/seed/libseed_example.la lib/seed/libseed_example.so lib/seed/libseed_example.so.0 +lib/seed/libseed_ffi.a +lib/seed/libseed_ffi.la +lib/seed/libseed_ffi.so +lib/seed/libseed_ffi.so.0 lib/seed/libseed_gettext.a lib/seed/libseed_gettext.la lib/seed/libseed_gettext.so @@ -91,12 +95,11 @@ libdata/pkgconfig/seed.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/TabbedBrowser.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/browser/main.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cairo.js +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator-mpfr.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/calculator.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-0.8.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-0.9.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cairo.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cogl-0.8.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cogl-0.9.js +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-1.0.js +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cairo-1.0.js +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-cogl-1.0.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/clutter-pad.ui %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/animated-rectangle.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-pad/examples/box2d.js @@ -110,10 +113,6 @@ libdata/pkgconfig/seed.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/bob.jpg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/default.glsl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-shader/main.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/main.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/one.jpg -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/transition-library.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clutter-transitions/two.jpg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/dbus-banshee.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/dbus-consolekit.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbus/dbus-networkmanager.js @@ -139,11 +138,6 @@ libdata/pkgconfig/seed.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/opengl/triangle-actor.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pango-fontset.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pango.js -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/ball.png -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/midline.png -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/player.png -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/player2.png -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pong/pong.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/poppler.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/quine.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/repl.js @@ -184,11 +178,9 @@ libdata/pkgconfig/seed.pc %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-pad/examples %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-pad %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-shader -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/clutter-transitions %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dbus %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/glib %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/opengl -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pong %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/xml %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%/mapping |