+++ /dev/null
-diff -ur seed-2.30.0/libseed/seed-closure.c seed-2.30.0.new/libseed/seed-closure.c
---- seed-2.30.0/libseed/seed-closure.c 2010-03-29 05:24:27.000000000 +0200
-+++ seed-2.30.0.new/libseed/seed-closure.c 2010-07-22 20:32:46.310173356 +0200
-@@ -97,30 +97,12 @@
- case GI_TYPE_TAG_UINT32:
- arg->v_uint32 = *(guint32 *) args[i];
- break;
-- case GI_TYPE_TAG_LONG:
-- arg->v_long = *(glong *) args[i];
-- break;
- case GI_TYPE_TAG_INT64:
- arg->v_int64 = *(gint64 *) args[i];
- break;
-- case GI_TYPE_TAG_ULONG:
-- arg->v_ulong = *(gulong *) args[i];
-- break;
- case GI_TYPE_TAG_UINT64:
- arg->v_uint64 = *(guint64 *) args[i];
- break;
-- case GI_TYPE_TAG_INT:
-- arg->v_int = *(gint *) args[i];
-- break;
-- case GI_TYPE_TAG_SSIZE:
-- arg->v_ssize = *(gssize *) args[i];
-- break;
-- case GI_TYPE_TAG_SIZE:
-- arg->v_size = *(gsize *) args[i];
-- break;
-- case GI_TYPE_TAG_UINT:
-- arg->v_uint = *(guint *) args[i];
-- break;
- case GI_TYPE_TAG_FLOAT:
- arg->v_float = *(gfloat *) args[i];
- break;
-@@ -215,30 +197,12 @@
- case GI_TYPE_TAG_UINT32:
- *(guint32 *) result = return_arg.v_uint32;
- break;
-- case GI_TYPE_TAG_LONG:
-- *(glong *) result = return_arg.v_long;
-- break;
- case GI_TYPE_TAG_INT64:
- *(gint64 *) result = return_arg.v_int64;
- break;
-- case GI_TYPE_TAG_ULONG:
-- *(gulong *) result = return_arg.v_ulong;
-- break;
- case GI_TYPE_TAG_UINT64:
- *(guint64 *) result = return_arg.v_uint64;
- break;
-- case GI_TYPE_TAG_INT:
-- *(gint *) result = return_arg.v_int;
-- break;
-- case GI_TYPE_TAG_SSIZE:
-- *(gssize *) result = return_arg.v_ssize;
-- break;
-- case GI_TYPE_TAG_SIZE:
-- *(gsize *) result = return_arg.v_size;
-- break;
-- case GI_TYPE_TAG_UINT:
-- *(guint *) result = return_arg.v_uint;
-- break;
- case GI_TYPE_TAG_FLOAT:
- *(gfloat *) result = return_arg.v_float;
- break;
-diff -ur seed-2.30.0/libseed/seed-types.c seed-2.30.0.new/libseed/seed-types.c
---- seed-2.30.0/libseed/seed-types.c 2010-03-29 05:24:27.000000000 +0200
-+++ seed-2.30.0.new/libseed/seed-types.c 2010-07-22 20:35:25.450269459 +0200
-@@ -366,23 +366,6 @@
- *array_p = dblresult;
- }
- break;
-- case GI_TYPE_TAG_INT:
-- {
-- gint *intresult;
--
-- intresult = g_new0 (gint, length + 1);
--
-- for (i = 0; i < length; i++)
-- {
-- elem = JSObjectGetPropertyAtIndex (ctx,
-- (JSObjectRef) array,
-- i, exception);
-- intresult[i] = seed_value_to_int (ctx, elem, exception);
-- }
--
-- *array_p = intresult;
-- }
-- break;
- case GI_TYPE_TAG_UINT8:
- {
- guint8 *guint8result;
-@@ -492,30 +475,12 @@
- case GI_TYPE_TAG_UINT32:
- arg->v_uint32 = seed_value_to_uint (ctx, value, exception);
- break;
-- case GI_TYPE_TAG_LONG:
-- arg->v_long = seed_value_to_long (ctx, value, exception);
-- break;
- case GI_TYPE_TAG_INT64:
- arg->v_int64 = seed_value_to_int64 (ctx, value, exception);
- break;
-- case GI_TYPE_TAG_ULONG:
-- arg->v_ulong = seed_value_to_ulong (ctx, value, exception);
-- break;
- case GI_TYPE_TAG_UINT64:
- arg->v_uint64 = seed_value_to_uint64 (ctx, value, exception);
- break;
-- case GI_TYPE_TAG_INT:
-- arg->v_int = seed_value_to_int (ctx, value, exception);
-- break;
-- case GI_TYPE_TAG_UINT:
-- arg->v_uint = seed_value_to_uint (ctx, value, exception);
-- break;
-- case GI_TYPE_TAG_SIZE:
-- arg->v_size = seed_value_to_size (ctx, value, exception);
-- break;
-- case GI_TYPE_TAG_SSIZE:
-- arg->v_ssize = seed_value_to_ssize (ctx, value, exception);
-- break;
- case GI_TYPE_TAG_FLOAT:
- arg->v_float = seed_value_to_float (ctx, value, exception);
- break;
-@@ -531,9 +496,6 @@
- case GI_TYPE_TAG_GTYPE:
- arg->v_int = seed_value_to_int (ctx, value, exception);
- break;
-- case GI_TYPE_TAG_TIME_T:
-- arg->v_long = seed_value_to_time_t (ctx, value, exception);
-- break;
- case GI_TYPE_TAG_INTERFACE:
- {
- GIBaseInfo *interface;
-@@ -774,22 +736,10 @@
- return seed_value_from_int (ctx, arg->v_int32, exception);
- case GI_TYPE_TAG_UINT32:
- return seed_value_from_uint (ctx, arg->v_uint32, exception);
-- case GI_TYPE_TAG_LONG:
-- return seed_value_from_long (ctx, arg->v_long, exception);
- case GI_TYPE_TAG_INT64:
- return seed_value_from_int64 (ctx, arg->v_int64, exception);
-- case GI_TYPE_TAG_ULONG:
-- return seed_value_from_ulong (ctx, arg->v_ulong, exception);
- case GI_TYPE_TAG_UINT64:
- return seed_value_from_uint64 (ctx, arg->v_uint64, exception);
-- case GI_TYPE_TAG_INT:
-- return seed_value_from_int (ctx, arg->v_int32, exception);
-- case GI_TYPE_TAG_UINT:
-- return seed_value_from_uint (ctx, arg->v_uint32, exception);
-- case GI_TYPE_TAG_SSIZE:
-- return seed_value_from_ssize (ctx, arg->v_ssize, exception);
-- case GI_TYPE_TAG_SIZE:
-- return seed_value_from_size (ctx, arg->v_size, exception);
- case GI_TYPE_TAG_FLOAT:
- return seed_value_from_float (ctx, arg->v_float, exception);
- case GI_TYPE_TAG_DOUBLE:
-@@ -800,8 +750,6 @@
- return seed_value_from_filename (ctx, arg->v_string, exception);
- case GI_TYPE_TAG_GTYPE:
- return seed_value_from_int (ctx, arg->v_int, exception);
-- case GI_TYPE_TAG_TIME_T:
-- return seed_value_from_time_t (ctx, arg->v_long, exception);
- case GI_TYPE_TAG_ARRAY:
- {
- GITypeInfo *param_type;
-@@ -933,8 +881,6 @@
- return seed_value_from_char (ctx, g_value_get_char (gval), exception);
- case G_TYPE_UCHAR:
- return seed_value_from_uchar (ctx, g_value_get_uchar (gval), exception);
-- case G_TYPE_INT:
-- return seed_value_from_int (ctx, g_value_get_int (gval), exception);
- case G_TYPE_UINT:
- return seed_value_from_uint (ctx, g_value_get_uint (gval), exception);
- case G_TYPE_LONG:
-@@ -1111,16 +1057,6 @@
- val, exception));
- return TRUE;
- }
-- case G_TYPE_INT:
-- case G_TYPE_UINT:
-- {
-- g_value_init (ret, type);
-- if (type == G_TYPE_INT)
-- g_value_set_int (ret, seed_value_to_int (ctx, val, exception));
-- else
-- g_value_set_uint (ret, seed_value_to_uint (ctx, val, exception));
-- return TRUE;
-- }
- case G_TYPE_CHAR:
- {
- g_value_init (ret, G_TYPE_CHAR);
-@@ -1133,8 +1069,6 @@
- g_value_set_uchar (ret, seed_value_to_uchar (ctx, val, exception));
- return TRUE;
- }
-- case G_TYPE_LONG:
-- case G_TYPE_ULONG:
- case G_TYPE_INT64:
- case G_TYPE_UINT64:
- case G_TYPE_FLOAT:
Summary: JavaScript interpreter
Summary(pl.UTF-8): Interpreter JavaScript
Name: seed
-Version: 2.30.0
-Release: 4
+Version: 3.0.0
+Release: 1
License: LGPL v3
Group: Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/seed/2.30/%{name}-%{version}.tar.bz2
-# Source0-md5: dd09d22c6a06b4bbef7320bb6a715c0f
-Patch0: gobject-introspection.patch
+Source0: http://ftp.gnome.org/pub/GNOME/sources/seed/3.0/%{name}-%{version}.tar.bz2
+# Source0-md5: cd81d33cdb97bd0afa28dbe6e973355d
URL: http://live.gnome.org/Seed
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.7
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-devel
BuildRequires: gnome-js-common
-BuildRequires: gobject-introspection-devel >= 0.6.3
-BuildRequires: gtk+2-devel
+BuildRequires: gobject-introspection-devel >= 0.10.0
+BuildRequires: gtk+3-devel >= 3.0.0
BuildRequires: gtk-doc >= 1.9
-BuildRequires: gtk-webkit-devel
-BuildRequires: intltool >= 0.35.0
+BuildRequires: gtk-webkit3-devel
+BuildRequires: intltool >= 0.40.0
BuildRequires: libffi-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel
-Requires: gobject-introspection-devel
-Requires: gtk-webkit-devel
+Requires: gobject-introspection-devel >= 0.10.0
+Requires: gtk-webkit3-devel
%description devel
Header files for seed library.
%prep
%setup -q
-%patch0 -p1
%build
%{__intltoolize}
%{__automake}
%configure \
--disable-silent-rules \
+ --with-webkit=3.0 \
%{__enable_disable apidocs gtk-doc} \
--with-html-dir=%{_gtkdocdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -j1 install \
DESTDIR=$RPM_BUILD_ROOT
mv -f $RPM_BUILD_ROOT%{_docdir}/seed{,-%{version}}
-rm -f $RPM_BUILD_ROOT%{_libdir}/seed/libseed*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/seed-gtk3/libseed*.{a,la} \
+ $RPM_BUILD_ROOT%{_libdir}/*.la
%if %{without apidocs}
rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}
%defattr(644,root,root,755)
%doc %{_docdir}/seed-%{version}
%attr(755,root,root) %{_bindir}/seed
-%attr(755,root,root) %{_libdir}/libseed.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libseed.so.0
-%dir %{_libdir}/seed
-%attr(755,root,root) %{_libdir}/seed/libseed_cairo.so
-%attr(755,root,root) %{_libdir}/seed/libseed_canvas.so
-%attr(755,root,root) %{_libdir}/seed/libseed_dbusnative.so
-%attr(755,root,root) %{_libdir}/seed/libseed_example.so
-%attr(755,root,root) %{_libdir}/seed/libseed_ffi.so
-%attr(755,root,root) %{_libdir}/seed/libseed_gettext.so
-%attr(755,root,root) %{_libdir}/seed/libseed_gtkbuilder.so
-%attr(755,root,root) %{_libdir}/seed/libseed_libxml.so
-%attr(755,root,root) %{_libdir}/seed/libseed_mpfr.so
-%attr(755,root,root) %{_libdir}/seed/libseed_multiprocessing.so
-%attr(755,root,root) %{_libdir}/seed/libseed_os.so
-%attr(755,root,root) %{_libdir}/seed/libseed_readline.so
-%attr(755,root,root) %{_libdir}/seed/libseed_sandbox.so
-%attr(755,root,root) %{_libdir}/seed/libseed_sqlite.so
-%{_datadir}/seed
+%attr(755,root,root) %{_libdir}/libseed-gtk3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libseed-gtk3.so.0
+%dir %{_libdir}/seed-gtk3
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_DynamicObject.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_cairo.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_canvas.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_dbusnative.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_example.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_ffi.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_gettext.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_gtkbuilder.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_libxml.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_mpfr.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_multiprocessing.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_os.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_readline.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_sandbox.so
+%attr(755,root,root) %{_libdir}/seed-gtk3/libseed_sqlite.so
+%{_datadir}/seed-gtk3
%{_mandir}/man1/seed.1*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libseed.so
-%{_libdir}/libseed.la
-%{_includedir}/seed
+%attr(755,root,root) %{_libdir}/libseed-gtk3.so
+%{_includedir}/seed-gtk3
%{_pkgconfigdir}/seed.pc
%files static
%defattr(644,root,root,755)
-%{_libdir}/libseed.a
+%{_libdir}/libseed-gtk3.a
%if %{with apidocs}
%files apidocs