Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 22:37:31 GMT
From:      "Herbert J. Skuhra" <h.skuhra@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176896: [Patch] Update devel/lua-lgi to version 0.7.1
Message-ID:  <201303122237.r2CMbVsa082078@red.freebsd.org>
Resent-Message-ID: <201303122240.r2CMe0sL097372@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176896
>Category:       ports
>Synopsis:       [Patch] Update devel/lua-lgi to version 0.7.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 12 22:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Herbert J. Skuhra
>Release:        FreeBSD 9.1-STABLE i386
>Organization:
>Environment:
FreeBSD build.home.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r247213: Sun Feb 24 11:04:00 CET 2013     herbert@build.home.lan:/usr/obj/usr/src/sys/PC1  i386
>Description:
* Update devel/lua-lgi to version 0.7.1
* Install corelgilua51.so to proper directory (otherwise x11-wm/awesome cannot load it)

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: devel/lua-lgi/Makefile
===================================================================
--- devel/lua-lgi/Makefile	(revision 314001)
+++ devel/lua-lgi/Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	lgi
-PORTVERSION=	0.6.2
+PORTVERSION=	0.7.1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 
@@ -11,10 +11,9 @@
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-WRKSRC=		${WRKDIR}/pavouk-lgi-a4ad06c
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	pavouk
+GH_COMMIT=	1bbf1bc
 
 USE_LUA=	5.1+
 USE_GMAKE=	yes
Index: devel/lua-lgi/distinfo
===================================================================
--- devel/lua-lgi/distinfo	(revision 314001)
+++ devel/lua-lgi/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (lgi-0.6.2.tar.gz) = 662008e969f3ac8d28b2551549760969d86c86e140e841505a584af88c733909
-SIZE (lgi-0.6.2.tar.gz) = 253076
+SHA256 (lgi-0.7.1.tar.gz) = 31f273e056959cea5a4e929b0e81b21e89c852d8a0e874bc6f78017c93d3a5a0
+SIZE (lgi-0.7.1.tar.gz) = 268357
Index: devel/lua-lgi/files/patch-lgi_Makefile
===================================================================
--- devel/lua-lgi/files/patch-lgi_Makefile	(revision 314001)
+++ devel/lua-lgi/files/patch-lgi_Makefile	(working copy)
@@ -1,16 +1,27 @@
---- lgi/Makefile.orig  2012-12-15 21:18:35.000000000 +0400
-+++ lgi/Makefile       2012-12-15 21:20:31.000000000 +0400
-@@ -6,8 +6,11 @@
- #
-
+--- lgi/Makefile.orig	2013-03-04 22:10:19.000000000 +0100
++++ lgi/Makefile	2013-03-12 23:06:28.000000000 +0100
+@@ -7,8 +7,11 @@
+ 
  PREFIX = /usr/local
--LUA_LIBDIR = $(PREFIX)/lib/lua/5.1
--LUA_SHAREDIR = $(PREFIX)/share/lua/5.1
-+LUA_LIBDIR ?= $(PREFIX)/lib/lua/5.1
-+LUA_SHAREDIR ?= $(PREFIX)/share/lua/5.1
+ LUA_VERSION=5.1
+-LUA_LIBDIR = $(PREFIX)/lib/lua/$(LUA_VERSION)
+-LUA_SHAREDIR = $(PREFIX)/share/lua/$(LUA_VERSION)
++LUA_LIBDIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
++LUA_SHAREDIR ?= $(PREFIX)/share/lua/$(LUA_VERSION)
 +LUA_CFLAGS ?= -I$(LUA_INCDIR)
 +LUA_LIBDIR ?= $(LUA_MODLIBDIR)
 +LUA_SHAREDIR ?= $(LUA_MODSHAREDIR)
-
+ 
  GINAME = gobject-introspection-1.0
  PKGS = $(GINAME) gmodule-2.0 libffi
+@@ -74,8 +77,8 @@
+ CORESOURCES = $(wildcard *.lua)
+ 
+ install : $(CORE) $(VERSION_FILE)
+-	mkdir -p $(DESTDIR)$(LUA_LIBDIR)/lgi
+-	cp $(CORE) $(DESTDIR)$(LUA_LIBDIR)/lgi
++	mkdir -p $(DESTDIR)$(LUA_MODLIBDIR)/lgi
++	cp $(CORE) $(DESTDIR)$(LUA_MODLIBDIR)/lgi
+ 	mkdir -p $(DESTDIR)$(LUA_SHAREDIR)
+ 	cp ../lgi.lua $(DESTDIR)$(LUA_SHAREDIR)
+ 	mkdir -p $(DESTDIR)$(LUA_SHAREDIR)/lgi
Index: devel/lua-lgi/pkg-plist
===================================================================
--- devel/lua-lgi/pkg-plist	(revision 314001)
+++ devel/lua-lgi/pkg-plist	(working copy)
@@ -1,4 +1,4 @@
-lib/lua51/lgi/corelgilua51.so
+lib/lua/5.1/lgi/corelgilua51.so
 share/lua/5.1/lgi.lua
 share/lua/5.1/lgi/class.lua
 share/lua/5.1/lgi/component.lua
@@ -9,6 +9,7 @@
 share/lua/5.1/lgi/log.lua
 share/lua/5.1/lgi/namespace.lua
 share/lua/5.1/lgi/override/Clutter.lua
+share/lua/5.1/lgi/override/GLib-Timer.lua
 share/lua/5.1/lgi/override/GLib-Variant.lua
 share/lua/5.1/lgi/override/GLib.lua
 share/lua/5.1/lgi/override/GObject-Closure.lua
@@ -22,8 +23,9 @@
 share/lua/5.1/lgi/override/Pango.lua
 share/lua/5.1/lgi/override/PangoCairo.lua
 share/lua/5.1/lgi/override/cairo.lua
+share/lua/5.1/lgi/package.lua
 share/lua/5.1/lgi/record.lua
 share/lua/5.1/lgi/version.lua
 @dirrm share/lua/5.1/lgi/override
 @dirrm share/lua/5.1/lgi
-@dirrm lib/lua51/lgi
+@dirrm lib/lua/5.1/lgi


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303122237.r2CMbVsa082078>