commit 291418171c8f8fa073f6522e307a96ab15db6d46437279db6388dfb46e38db97 Author: OBS User unknown Date: Tue Aug 4 10:20:43 2009 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gjs?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gjs-0.3.tar.bz2 b/gjs-0.3.tar.bz2 new file mode 100644 index 0000000..af53e34 --- /dev/null +++ b/gjs-0.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:767c7736b1e821c9b65d456a649d2dfaaf3dc613eea5976dd671456f7c270dde +size 421641 diff --git a/gjs.changes b/gjs.changes new file mode 100644 index 0000000..74ca5cd --- /dev/null +++ b/gjs.changes @@ -0,0 +1,48 @@ +------------------------------------------------------------------- +Tue Jul 7 10:12:19 WEST 2009 - vuntz@novell.com + +- Update to version 0.3: + + DBus support + + Support simple fields for boxed types + + Support "copy construction" of boxed types + + Support simple structures not registered as boxed + - Allow access to nested structures + - Allow direct assignment to nested structure fields + - Allow enum and flag structure fields + - Allow creating boxed wrapper without copy + + Support for non-default constructor (i.e. constructors like + GdkPixbuf.Pixbuf.new_from_file(file)) + + Add a Lang.bind function which binds the meaning of 'this' + + Add an interactive console gjs-console + + Allow code in directory modules (i.e. the code should reside in + __init__.js files) + + Fix handling of enum/flags return values + + Handle non-gobject-registered flags + + Add Tweener.registerSpecialProperty to tweener module + + Add profiler for javascript code + + Add gjs_context_get_all and gjs_dumpstack - useful to invoke + from a debugger such as gdb + + Support GHashTable + + Add support for UNIX shebang (i.e. #!/usr/bin/gjs-console) + + Support new introspection short/ushort type tags + + Support GI_TYPE_TAG_FILENAME + + Improve support for machine-dependent integer types and arrays + of integers + + Fix several memory leaks + + Bugs fixed: bgo#560506, bgo#560670, bgo#560808, bgo#561514, + bgo#561516, bgo#561849, bgo#562892, bgo#564424, bgo#564664, + bgo#566185, bgo#567675, bgo#569178, bgo#570775, bgo#570964, + bgo#580948, bgo#584560, bgo#584850, bgo#584858, bgo#584858, + bgo#585386, bgo#585460, bgo#586665, bgo#586760, bgo#561203, + bgo#561573, bgo#561585, bgo#561664, bgo#561686, bgo#561812, + bgo#562575, bgo#565029, bgo#567078, bgo#569374, bgo#572113, + bgo#572121, bgo#572130, bgo#572258, bgo#580865, bgo#580947, + bgo#580957, bgo#581277, bgo#581384, bgo#581385, bgo#581389, + bgo#582686, bgo#582704, bgo#582707, bgo#584849, bgo#560808 +- Add dbus-1-glib-devel BuildRequires. + +------------------------------------------------------------------- +Fri May 1 06:35:10 CEST 2009 - vuntz@novell.com + +- Initial package. + diff --git a/gjs.spec b/gjs.spec new file mode 100644 index 0000000..9916252 --- /dev/null +++ b/gjs.spec @@ -0,0 +1,101 @@ +# +# spec file for package gjs (Version 0.3) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +%define xulrunner_ver 190 + +Name: gjs +BuildRequires: dbus-1-glib-devel +BuildRequires: gobject-introspection-devel +BuildRequires: mozilla-xulrunner%{xulrunner_ver}-devel +BuildRequires: python +BuildRequires: readline-devel +License: MIT License (or similar) +Group: Development/Libraries/GNOME +Version: 0.3 +Release: 1 +Summary: JavaScript bindings based on gobject-introspection and Mozilla +Source: %{name}-%{version}.tar.bz2 +Requires: libgjs-0 = %{version} +Recommends: gir-repository +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This module contains JavaScript bindings based on gobject-introspection and the +Mozilla SpiderMonkey JavaScript engine. + +%package -n libgjs-0 +License: MIT License (or similar) +Summary: JavaScript bindings based on gobject-introspection and Mozilla +Group: Development/Libraries/GNOME + +%description -n libgjs-0 +This module contains JavaScript bindings based on gobject-introspection and the +Mozilla SpiderMonkey JavaScript engine. + +%package -n libgjs-devel +License: MIT License (or similar) +Summary: JavaScript bindings based on gobject-introspection and Mozilla +Group: Development/Libraries/GNOME +Requires: libgjs-0 = %{version} +Requires: gobject-introspection-devel +Requires: mozilla-xulrunner%{xulrunner_ver}-devel +# Just a helper provides +Provides: gjs-devel + +%description -n libgjs-devel +This module contains JavaScript bindings based on gobject-introspection and the +Mozilla SpiderMonkey JavaScript engine. + +%prep +%setup -q + +%build +%configure \ + --disable-static +%__make %{?jobs:-j%jobs} + +%install +%makeinstall +find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + + +%clean +rm -rf %{buildroot} + +%post -n libgjs-0 -p /sbin/ldconfig + +%postun -n libgjs-0 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* + +%files -n libgjs-0 +%defattr(-,root,root) +%doc COPYING NEWS README +%{_datadir}/gjs-1.0 +%{_libdir}/*.so.* +%{_libdir}/gjs-1.0 + +%files -n libgjs-devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4