diff options
author | khorben <khorben@pkgsrc.org> | 2015-06-10 15:44:15 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2015-06-10 15:44:15 +0000 |
commit | 4c8a11e37a817361d5de322951c2d32defa85af0 (patch) | |
tree | 5fa07061480ac2506146cf2d32ded125d6cc5392 /devel/lua-gi | |
parent | dafe2699f38cdc283c43101d5992b2b67f268a60 (diff) | |
download | pkgsrc-4c8a11e37a817361d5de322951c2d32defa85af0.tar.gz |
Update devel/lua-gi to version 0.9.0
Changes since 0.8.0:
- new feature: allow defining new properties on custom GObject
subclasses implemented using lgi
- fix: improve compatibility with locales (turkish)
- fix: GPtrArray handling
- fix: improve behavior when running in assorted multiple-embedded
and concurrent scenarios
Changes since 0.7.2:
- new feature: add automatically-generated wrappers for
do_async()/do_finish() pairs. Documented as Gio.Async namespace
functionality.
- new feature: automatically initialize objects implementing
Gio.Initable and Gio.AsyncInitable interfaces.
- new feature: GLib.Error is now handled properly, functions
returning errors return GLib.Error instances instead of error
numbers and strings. This also allows overriding virtual methods
from Lua which report errors by returning GLib.Error
- new feature: GLib.Bytes support, adding # operator and 'data'
property allowing easy use of GLib.Bytes object. This leads to
deprecation of seldomly used modifiable buffers extensions.
- optimization: type attribute caching brings significant speedup of
method and property lookups.
- fix: Gtk: override for Gtk.Menu.popup() compatible with new GTK
annotation.
- fix: cairo: assorted small fixes of bad signatures, added some
convenience properties.
- fix: GLib: add overrides for GLib.MarkupParser
- fix: Gio: add overrides for Gio.DBus*Info structures
- fix: Pango: add override for Pango.GlyphString.glyphs array
- fix: Gdk: Add override inheriting specific Gdk.EventXxx from Gdk.Event
- fix: Compile cleanly against Lua5.2 with compatibility mode turned on
- fix: avoid leak when adding already cached owned record and for
retrieving Variant from Value.
Changes since 0.7.1:
- fix: improper marshalling of certain APIs passing pointers to
records.
- fix: cairo.PsSurface.create() had incorrect signature, missing
filename.
- fix: If GTK initialization fails, raise Lua exception instead of
hard-crash of calling process.
- fix: when running test in devel tree, prefer lgi from devel tree
instead of the installed one.
- add: cairo.Status.to_string() API
- fix: avoid referencing GdkRGBA in GDk override when targetting
Gdk2.0, which does not have GdkRGBA.
- fix: replace GStaticRecMutex with GRecMutex to avoid compilation
warnings.
- fix: Gtk.Container.'child' pseudoproperty works even in Gtk2, where
it was shadowed by internal field.
- fix: add workaround for improperly parsed g_bytes_get_data()
annotation.
- fix: add workarounf for incorrect annotation on
Pango.Layour.set_attributes(), which caused memory leak.
- fix: adapt to Gio.InputStream.[read|read_all|read_async] API
change, which does not accept buffer length argument any more (due
to the newly added annotations).
Diffstat (limited to 'devel/lua-gi')
-rw-r--r-- | devel/lua-gi/Makefile | 12 | ||||
-rw-r--r-- | devel/lua-gi/PLIST | 6 | ||||
-rw-r--r-- | devel/lua-gi/distinfo | 9 | ||||
-rw-r--r-- | devel/lua-gi/patches/patch-lgi_Makefile (renamed from devel/lua-gi/patches/patch-Makefile) | 20 |
4 files changed, 17 insertions, 30 deletions
diff --git a/devel/lua-gi/Makefile b/devel/lua-gi/Makefile index c05f3b64199..9464a747f23 100644 --- a/devel/lua-gi/Makefile +++ b/devel/lua-gi/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.7 2014/10/19 22:27:44 alnsn Exp $ +# $NetBSD: Makefile,v 1.8 2015/06/10 15:44:15 khorben Exp $ DISTNAME= lgi-${VERSION} PKGNAME= ${LUA_PKGPREFIX}-gi-${VERSION} -VERSION= 0.7.1 -PKGREVISION= 3 +VERSION= 0.9.0 CATEGORIES= devel MASTER_SITES= -https://codeload.github.com/pavouk/lgi/tar.gz/${VERSION} @@ -14,12 +13,9 @@ LICENSE= mit USE_LANGUAGES+= c USE_TOOLS+= pkg-config gmake -WRKSRC= ${WRKDIR}/pavouk-lgi-1bbf1bc -SUBST_CLASSES+= v -SUBST_STAGE.v= pre-build -SUBST_FILES.v= lgi/Makefile -SUBST_VARS.v= _LUA_DOT_VERSION +MAKE_FLAGS+= PREFIX=${PREFIX} +MAKE_FLAGS+= LUA_VERSION=${_LUA_DOT_VERSION} .include "../../devel/glib2/buildlink3.mk" .include "../../devel/libffi/buildlink3.mk" diff --git a/devel/lua-gi/PLIST b/devel/lua-gi/PLIST index b5fd8130c23..e49aa06c63c 100644 --- a/devel/lua-gi/PLIST +++ b/devel/lua-gi/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2014/01/22 16:16:21 jperkin Exp $ +@comment $NetBSD: PLIST,v 1.3 2015/06/10 15:44:15 khorben Exp $ ${LUA_CDIR}/lgi/corelgilua51.so ${LUA_LDIR}/lgi.lua ${LUA_LDIR}/lgi/class.lua @@ -10,6 +10,9 @@ ${LUA_LDIR}/lgi/init.lua ${LUA_LDIR}/lgi/log.lua ${LUA_LDIR}/lgi/namespace.lua ${LUA_LDIR}/lgi/override/Clutter.lua +${LUA_LDIR}/lgi/override/GLib-Bytes.lua +${LUA_LDIR}/lgi/override/GLib-Error.lua +${LUA_LDIR}/lgi/override/GLib-Markup.lua ${LUA_LDIR}/lgi/override/GLib-Timer.lua ${LUA_LDIR}/lgi/override/GLib-Variant.lua ${LUA_LDIR}/lgi/override/GLib.lua @@ -18,6 +21,7 @@ ${LUA_LDIR}/lgi/override/GObject-Object.lua ${LUA_LDIR}/lgi/override/GObject-Type.lua ${LUA_LDIR}/lgi/override/GObject-Value.lua ${LUA_LDIR}/lgi/override/Gdk.lua +${LUA_LDIR}/lgi/override/Gio-DBus.lua ${LUA_LDIR}/lgi/override/Gio.lua ${LUA_LDIR}/lgi/override/Gst.lua ${LUA_LDIR}/lgi/override/Gtk.lua diff --git a/devel/lua-gi/distinfo b/devel/lua-gi/distinfo index 1ea8ecb4cc0..ced25474e42 100644 --- a/devel/lua-gi/distinfo +++ b/devel/lua-gi/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.3 2014/01/22 16:16:21 jperkin Exp $ +$NetBSD: distinfo,v 1.4 2015/06/10 15:44:15 khorben Exp $ -SHA1 (lgi-0.7.1.tar.gz) = 53affb0a82bb1537d7ecef4d6f2a65bdd4d9e3bc -RMD160 (lgi-0.7.1.tar.gz) = af49608d6af76c468fef0ab67f2a065ed8730152 -Size (lgi-0.7.1.tar.gz) = 268357 bytes -SHA1 (patch-Makefile) = 0ff1b55df7e7c6c236a4ca7f3109439b69f85e4a +SHA1 (lgi-0.9.0.tar.gz) = f06eb973e6d4a4460ac6a491758c844ced87c238 +RMD160 (lgi-0.9.0.tar.gz) = 6526d092d4ce6c664bdd2642f6c49e6d6d1d2c65 +Size (lgi-0.9.0.tar.gz) = 285248 bytes diff --git a/devel/lua-gi/patches/patch-Makefile b/devel/lua-gi/patches/patch-lgi_Makefile index d200b59d7fd..7eac32e9928 100644 --- a/devel/lua-gi/patches/patch-Makefile +++ b/devel/lua-gi/patches/patch-lgi_Makefile @@ -1,22 +1,10 @@ -$NetBSD: patch-Makefile,v 1.2 2014/01/22 16:16:21 jperkin Exp $ +$NetBSD: patch-lgi_Makefile,v 1.1 2015/06/10 15:44:16 khorben Exp $ -Don't hardcode PREFIX -Fix the LUA version to match the one installed by pkgsrc Don't use mkdir and cp directly, use BSD_INSTALL_* abstraction instead ---- lgi/Makefile.orig 2013-03-04 21:10:19.000000000 +0000 -+++ lgi/Makefile 2013-07-21 21:56:37.000000000 +0000 -@@ -5,8 +5,7 @@ - # License: MIT - # - --PREFIX = /usr/local --LUA_VERSION=5.1 -+LUA_VERSION=@_LUA_DOT_VERSION@ - LUA_LIBDIR = $(PREFIX)/lib/lua/$(LUA_VERSION) - LUA_SHAREDIR = $(PREFIX)/share/lua/$(LUA_VERSION) - -@@ -74,11 +73,11 @@ +--- lgi/Makefile.orig 2015-03-23 22:48:44.000000000 +0000 ++++ lgi/Makefile +@@ -74,11 +74,11 @@ OVERRIDES = $(wildcard override/*.lua) CORESOURCES = $(wildcard *.lua) install : $(CORE) $(VERSION_FILE) |