ports/174597: New port: devel/lua-lgi Lua bindings to libraries using GObject-Introspection

Maxim Andreev andreevmaxim at gmail.com
Thu Dec 20 22:10:01 UTC 2012


>Number:         174597
>Category:       ports
>Synopsis:       New port: devel/lua-lgi Lua bindings to libraries using
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 20 22:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Andreev
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
none
>Environment:
System: FreeBSD think 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r242911:
Mon Nov 12 16:36:56 MSK 2012 hint at think:/usr/obj/usr/src/sys/THINK amd64

>Description:
LGI is gobject-introspection based dynamic Lua binding to GObject based
libraries. It allows using GObject-based libraries directly from Lua.

For example, LGI will be required for awesome (x11-wm/awesome) window
manager after 3.5 release, i build 3.5-RC from source and it's working
good with this lua-lgi port.
>How-To-Repeat:

>Fix:



--- lgi.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       lua-lgi
#       lua-lgi/distinfo
#       lua-lgi/Makefile
#       lua-lgi/pkg-descr
#       lua-lgi/files
#       lua-lgi/files/patch-lgi_Makefile
#       lua-lgi/pkg-plist
#
echo c - lua-lgi
mkdir -p lua-lgi > /dev/null 2>&1
echo x - lua-lgi/distinfo
sed 's/^X//' >lua-lgi/distinfo << '39b48898fd280628c34b9b17a36f0123'
XSHA256 (lgi-0.6.2.tar.gz) =
662008e969f3ac8d28b2551549760969d86c86e140e841505a584af88c733909
XSIZE (lgi-0.6.2.tar.gz) = 253076
39b48898fd280628c34b9b17a36f0123
echo x - lua-lgi/Makefile
sed 's/^X//' >lua-lgi/Makefile << 'a942f4dda6fc86b3c3a81d2aafdee870'
X# $FreeBSD$
X
XPORTNAME=      lgi
XPORTVERSION=   0.6.2
XCATEGORIES=    devel
XPKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
X
XMAINTAINER=    andreevmaxim at gmail.com
XCOMMENT=       Lua bindings to libraries using GObject-Introspection
X
XBUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
XRUN_DEPENDS:=  ${BUILD_DEPENDS}
X
XWRKSRC=                ${WRKDIR}/pavouk-lgi-a4ad06c
X
XUSE_GITHUB=    yes
XGH_ACCOUNT=    pavouk
X
XUSE_LUA=       5.1+
XUSE_GMAKE=     yes
X
X.include <bsd.port.mk>
a942f4dda6fc86b3c3a81d2aafdee870
echo x - lua-lgi/pkg-descr
sed 's/^X//' >lua-lgi/pkg-descr << '09d75e052dc9214973ee65d403f4a45a'
XLGI is gobject-introspection based dynamic Lua binding to GObject based
Xlibraries. It allows using GObject-based libraries directly from Lua.
X
XWWW: https://github.com/pavouk/lgi
09d75e052dc9214973ee65d403f4a45a
echo c - lua-lgi/files
mkdir -p lua-lgi/files > /dev/null 2>&1
echo x - lua-lgi/files/patch-lgi_Makefile
sed 's/^X//' >lua-lgi/files/patch-lgi_Makefile <<
'1b6742e2072854b49847f3c94b4a3afb'
X--- lgi/Makefile.orig  2012-12-15 21:18:35.000000000 +0400
X+++ lgi/Makefile       2012-12-15 21:20:31.000000000 +0400
X@@ -6,8 +6,11 @@
X #
X
X PREFIX = /usr/local
X-LUA_LIBDIR = $(PREFIX)/lib/lua/5.1
X-LUA_SHAREDIR = $(PREFIX)/share/lua/5.1
X+LUA_LIBDIR ?= $(PREFIX)/lib/lua/5.1
X+LUA_SHAREDIR ?= $(PREFIX)/share/lua/5.1
X+LUA_CFLAGS ?= -I$(LUA_INCDIR)
X+LUA_LIBDIR ?= $(LUA_MODLIBDIR)
X+LUA_SHAREDIR ?= $(LUA_MODSHAREDIR)
X
X GINAME = gobject-introspection-1.0
X PKGS = $(GINAME) gmodule-2.0 libffi
1b6742e2072854b49847f3c94b4a3afb
echo x - lua-lgi/pkg-plist
sed 's/^X//' >lua-lgi/pkg-plist << 'c334ac908c71d0a41f0b4a1e6d24c1cb'
Xlib/lua51/lgi/corelgilua51.so
Xshare/lua/5.1/lgi.lua
Xshare/lua/5.1/lgi/class.lua
Xshare/lua/5.1/lgi/component.lua
Xshare/lua/5.1/lgi/core.lua
Xshare/lua/5.1/lgi/enum.lua
Xshare/lua/5.1/lgi/ffi.lua
Xshare/lua/5.1/lgi/init.lua
Xshare/lua/5.1/lgi/log.lua
Xshare/lua/5.1/lgi/namespace.lua
Xshare/lua/5.1/lgi/override/Clutter.lua
Xshare/lua/5.1/lgi/override/GLib-Variant.lua
Xshare/lua/5.1/lgi/override/GLib.lua
Xshare/lua/5.1/lgi/override/GObject-Closure.lua
Xshare/lua/5.1/lgi/override/GObject-Object.lua
Xshare/lua/5.1/lgi/override/GObject-Type.lua
Xshare/lua/5.1/lgi/override/GObject-Value.lua
Xshare/lua/5.1/lgi/override/Gdk.lua
Xshare/lua/5.1/lgi/override/Gio.lua
Xshare/lua/5.1/lgi/override/Gst.lua
Xshare/lua/5.1/lgi/override/Gtk.lua
Xshare/lua/5.1/lgi/override/Pango.lua
Xshare/lua/5.1/lgi/override/PangoCairo.lua
Xshare/lua/5.1/lgi/override/cairo.lua
Xshare/lua/5.1/lgi/record.lua
Xshare/lua/5.1/lgi/version.lua
X at dirrm share/lua/5.1/lgi/override
X at dirrm share/lua/5.1/lgi
X at dirrmtry share/lua/5.1
X at dirrmtry share/lua
X at dirrm lib/lua51/lgi
X at dirrmtry lib/lua51
c334ac908c71d0a41f0b4a1e6d24c1cb
exit
--- lgi.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
 GObject-Introspection


More information about the freebsd-ports-bugs mailing list