From tiger@svn.freebsd.by  Fri Mar 29 12:50:36 2013
Return-Path: <tiger@svn.freebsd.by>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 1D1A4F6A;
	Fri, 29 Mar 2013 12:50:36 +0000 (UTC)
	(envelope-from tiger@svn.freebsd.by)
Received: from fallback.relay.agava.net (fallback.relay.agava.net [89.108.104.202])
	by mx1.freebsd.org (Postfix) with ESMTP id B0B1A133;
	Fri, 29 Mar 2013 12:50:34 +0000 (UTC)
Received: from mx2-out.relay.agava.net (mx2-out.relay.agava.net [89.108.96.10])
	by fallback.relay.agava.net (Postfix) with ESMTP id 26D2D1898;
	Fri, 29 Mar 2013 16:50:28 +0400 (MSK)
Received: from agava.com (office.relay2.agava.net [89.108.96.5])
	by mx2-out.relay.agava.net (Postfix) with ESMTP id 5ED497B88F;
	Fri, 29 Mar 2013 16:50:21 +0400 (MSK)
Received: from svn.freebsd.by (unknown [192.168.9.150])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by agava.com (Postfix) with ESMTPS id 4A08E7B88E;
	Fri, 29 Mar 2013 16:50:21 +0400 (MSK)
Received: from laptop.minsk.domain (localhost [127.0.0.1])
	by svn.freebsd.by (8.14.6/8.14.6) with ESMTP id r2TCokFX032349;
	Fri, 29 Mar 2013 15:50:46 +0300 (FET)
	(envelope-from tiger@laptop.minsk.domain)
Received: (from tiger@localhost)
	by laptop.minsk.domain (8.14.6/8.14.6/Submit) id r2TCokN9032348;
	Fri, 29 Mar 2013 15:50:46 +0300 (FET)
	(envelope-from tiger)
Message-Id: <201303291250.r2TCokN9032348@laptop.minsk.domain>
Date: Fri, 29 Mar 2013 15:50:46 +0300 (FET)
From: "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Reply-To: "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: osa@freebsd.org
Subject: [NEW PORT] graphics/lua-gd GD bindings for Lua
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         177471
>Category:       ports
>Synopsis:       [NEW PORT] graphics/lua-gd GD bindings for Lua
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mandree
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 29 13:00:00 UTC 2013
>Closed-Date:    Fri Mar 29 21:17:18 UTC 2013
>Last-Modified:  Fri Mar 29 21:30:00 UTC 2013
>Originator:     Sergey V. Dyatko
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD laptop.minsk.domain 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r248421M: Sun Mar 17 17:45:37 UTC 2013 root@laptop.minsk.domain:/usr/obj/usr/src/sys/b450 amd64
>Description:
Lua-GD is a "binding": a library that exports gd functions to the Lua Programming Language,
allowing you to use gd from Lua.
>How-To-Repeat:
	
>Fix:
# 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:
#
#       .
#       ./Makefile
#       ./pkg-plist
#       ./distinfo
#       ./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# Created by: Sergey V. Dyatko <sergey.dyatko@gmail.com>
X# $FreeBSD$
X
XPORTNAME=      lua-gd
XPORTVERSION=   2.0.33r2
XCATEGORIES=    graphics
XMASTER_SITES=  http://files.luaforge.net/releases/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}forLua5.1/
X
XMAINTAINER=    sergey.dyatko@gmail.com
XCOMMENT=       GD bindings for the Lua programming language
X
XLICENSE=       MIT
X
XLIB_DEPENDS=   gd:${PORTSDIR}/graphics/gd
X
XOPTIONS_DEFINE=        DOCS EXAMPLES
X
XUSE_LUA=       5.1
X
XCFLAGS+=       -I${LOCALBASE}/include/lua51 -I${LOCALBASE}/include
XLDFLAGS+=      -shared -L${LOCALBASE}/lib -lgd -L${LUA_LIBDIR} -llua -lm
XGDFEATURES=    `gdlib-config --features |sed -e "s/GD_/-DGD_/g"`
X
X.include <bsd.port.options.mk>
X
X.if ${ARCH} == "amd64"
XCFLAGS+=       -fPIC
X.endif
X
Xdo-build:
X       ${CC} -o ${WRKSRC}/gd.so ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c
X
Xdo-install:
X       ${INSTALL_PROGRAM} ${WRKSRC}/gd.so ${LUA_MODLIBDIR}
X       lua-5.1 ${WRKSRC}/test_features.lua
X.if ${PORT_OPTIONS:MDOCS}
X       ${MKDIR} ${DOCSDIR}
X       cd ${WRKSRC}/doc/ && ${INSTALL_DATA} * ${DOCSDIR}/
X       @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}"
X.endif
X
X.if ${PORT_OPTIONS:MEXAMPLES}
X       ${MKDIR} ${EXAMPLESDIR}
X       cd ${WRKSRC}/demos && ${INSTALL_DATA} * ${EXAMPLESDIR}
X       @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}"
X.endif
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
X%%LUA_MODLIBDIR%%/gd.so
X%%PORTDOCS%%%%DOCSDIR%%/cat.png
X%%PORTDOCS%%%%DOCSDIR%%/catdiff.png
X%%PORTDOCS%%%%DOCSDIR%%/catmsg.png
X%%PORTDOCS%%%%DOCSDIR%%/clock-example.png
X%%PORTDOCS%%%%DOCSDIR%%/fontconfig-example.png
X%%PORTDOCS%%%%DOCSDIR%%/gifanim.gif
X%%PORTDOCS%%%%DOCSDIR%%/index.html
X%%PORTDOCS%%%%DOCSDIR%%/lua-gd.png
X%%PORTDOCS%%%%DOCSDIR%%/sierpinski.png
X%%PORTDOCS%%%%DOCSDIR%%/stdfonts.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Vera.ttf
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brush.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bugs.jpg
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/circle.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clock.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/counter.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/counter.txt
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fontconfig.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fractal.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gifanim.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gifanim2.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gifanim3.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lua-gd.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lualogo.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lualogo.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paper.png
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/poly.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stdfont.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/steg.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttftext.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttftextex.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/utf-8.lua
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/utf-8.png
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
ef3e7f63841ae908ba397c2bef1fbad6
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XSHA256 (lua-gd-2.0.33r2.tar.gz) = 235eceba9b55fd6b6cb6d88b0df676d6f94ff49155a0710363c21e2cc0987ec6
XSIZE (lua-gd-2.0.33r2.tar.gz) = 448606
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XLua-GD is a library that allows you to use the gd graphic library from
Xprograms written in the Lua programming language.
X
XWWW: http://lua-gd.luaforge.net/
0e313719ff012ceaf97a028d51caa8f5
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lua 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Mar 29 13:00:08 UTC 2013 
Responsible-Changed-Why:  
lua@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177471 
Responsible-Changed-From-To: lua->mandree 
Responsible-Changed-By: mandree 
Responsible-Changed-When: Fri Mar 29 18:55:55 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177471 
State-Changed-From-To: open->closed 
State-Changed-By: mandree 
State-Changed-When: Fri Mar 29 21:17:17 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177471 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/177471: commit references a PR
Date: Fri, 29 Mar 2013 21:16:57 +0000 (UTC)

 Author: mandree
 Date: Fri Mar 29 21:16:49 2013
 New Revision: 315572
 URL: http://svnweb.freebsd.org/changeset/ports/315572
 
 Log:
   Add new port graphics/lua-gd, to be maintained by Sergey V. Dyatko.
   
   Lua-GD is a "binding": a library that exports gd functions to the Lua
   Programming Language, allowing you to use gd from Lua.
   
   PR:		177471
   Submitted by:	Sergey V. Dyatko <sergey.dyatko@gmail.com>
 
 Added:
   head/graphics/lua-gd/
   head/graphics/lua-gd/Makefile   (contents, props changed)
   head/graphics/lua-gd/distinfo   (contents, props changed)
   head/graphics/lua-gd/pkg-descr   (contents, props changed)
   head/graphics/lua-gd/pkg-plist   (contents, props changed)
 Modified:
   head/graphics/Makefile
 
 Modified: head/graphics/Makefile
 ==============================================================================
 --- head/graphics/Makefile	Fri Mar 29 20:44:47 2013	(r315571)
 +++ head/graphics/Makefile	Fri Mar 29 21:16:49 2013	(r315572)
 @@ -555,6 +555,7 @@
      SUBDIR += linux_dri
      SUBDIR += linux_glide
      SUBDIR += lprof-devel
 +    SUBDIR += lua-gd
      SUBDIR += luminance
      SUBDIR += luxrender
      SUBDIR += mahotas
 
 Added: head/graphics/lua-gd/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/lua-gd/Makefile	Fri Mar 29 21:16:49 2013	(r315572)
 @@ -0,0 +1,51 @@
 +# Created by: Sergey V. Dyatko <sergey.dyatko@gmail.com>
 +# $FreeBSD$
 +
 +PORTNAME=	lua-gd
 +PORTVERSION=	2.0.33r2
 +CATEGORIES=	graphics
 +MASTER_SITES=	http://files.luaforge.net/releases/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}forLua5.1/
 +
 +MAINTAINER=	sergey.dyatko@gmail.com
 +COMMENT=	GD bindings for the Lua programming language
 +
 +LICENSE=	MIT
 +
 +LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
 +
 +OPTIONS_DEFINE=	DOCS EXAMPLES
 +
 +USE_LUA=	5.1
 +
 +CFLAGS+=	-I${LUA_INCDIR} -I${LOCALBASE}/include
 +LDFLAGS+=	-shared -L${LOCALBASE}/lib -lgd -L${LUA_LIBDIR} -llua -lm
 +GDFEATURES=	`gdlib-config --features |sed -e "s/GD_/-DGD_/g"`
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${ARCH} ==	"amd64"
 +CFLAGS+=	-fPIC
 +.endif
 +
 +do-build:
 +	${CC} -o ${WRKSRC}/gd.so ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${GDFEATURES} ${WRKSRC}/luagd.c
 +
 +LUA_MODLIBDIR=	${PREFIX}/lib/lua/${LUA_VER}
 +
 +do-install:
 +	${MKDIR} ${LUA_MODLIBDIR}
 +	${INSTALL_PROGRAM} ${WRKSRC}/gd.so ${LUA_MODLIBDIR}
 +	lua-5.1 ${WRKSRC}/test_features.lua
 +.if ${PORT_OPTIONS:MDOCS}
 +	${MKDIR} ${DOCSDIR}
 +	cd ${WRKSRC}/doc/ && ${INSTALL_DATA} * ${DOCSDIR}/
 +	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}"
 +.endif
 +
 +.if ${PORT_OPTIONS:MEXAMPLES}
 +	${MKDIR} ${EXAMPLESDIR}
 +	cd ${WRKSRC}/demos && ${INSTALL_DATA} * ${EXAMPLESDIR}
 +	@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}"
 +.endif
 +
 +.include <bsd.port.mk>
 
 Added: head/graphics/lua-gd/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/lua-gd/distinfo	Fri Mar 29 21:16:49 2013	(r315572)
 @@ -0,0 +1,2 @@
 +SHA256 (lua-gd-2.0.33r2.tar.gz) = 235eceba9b55fd6b6cb6d88b0df676d6f94ff49155a0710363c21e2cc0987ec6
 +SIZE (lua-gd-2.0.33r2.tar.gz) = 448606
 
 Added: head/graphics/lua-gd/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/lua-gd/pkg-descr	Fri Mar 29 21:16:49 2013	(r315572)
 @@ -0,0 +1,4 @@
 +Lua-GD is a library that allows you to use the gd graphic library from
 +programs written in the Lua programming language.
 +
 +WWW: http://lua-gd.luaforge.net/
 
 Added: head/graphics/lua-gd/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/lua-gd/pkg-plist	Fri Mar 29 21:16:49 2013	(r315572)
 @@ -0,0 +1,40 @@
 +lib/lua/%%LUA_VER%%/gd.so
 +%%PORTDOCS%%%%DOCSDIR%%/cat.png
 +%%PORTDOCS%%%%DOCSDIR%%/catdiff.png
 +%%PORTDOCS%%%%DOCSDIR%%/catmsg.png
 +%%PORTDOCS%%%%DOCSDIR%%/clock-example.png
 +%%PORTDOCS%%%%DOCSDIR%%/fontconfig-example.png
 +%%PORTDOCS%%%%DOCSDIR%%/gifanim.gif
 +%%PORTDOCS%%%%DOCSDIR%%/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/lua-gd.png
 +%%PORTDOCS%%%%DOCSDIR%%/sierpinski.png
 +%%PORTDOCS%%%%DOCSDIR%%/stdfonts.png
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Vera.ttf
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/brush.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bugs.jpg
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/circle.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/clock.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/counter.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/counter.txt
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fontconfig.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fractal.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gifanim.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gifanim2.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gifanim3.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/grid.png
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lua-gd.png
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lualogo.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lualogo.png
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/paper.png
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/poly.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stdfont.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/steg.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test2.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttftext.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ttftextex.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/utf-8.lua
 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/utf-8.png
 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 

From: Matthias Andree <mandree@FreeBSD.org>
To: bug-followup@FreeBSD.org, sergey.dyatko@gmail.com
Cc:  
Subject: Re: ports/177471: [NEW PORT] graphics/lua-gd GD bindings for Lua
Date: Fri, 29 Mar 2013 22:23:31 +0100

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enig05C3AADC6D41B527DF2C4F59
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable
 
 Sergey,
 
 thanks a lot for the submission.
 
 A few points:
 
 1. please install ports-mgmt/porttools, configure it, and then use "port
 submit" for submissions.
 
 If you do not want to do that, please make sure that you directly attach
 the patch or shar files, rather than copying and pasting:
 copy & paste breaks TABs and turns them into spaces.
 
 2. I have made minor changes which would be pretty self-explanatory. For
 your convenience, I am attaching a diff of what changed from your
 submission to the committed version.
 
 =D0=94=D0=B7=D1=8F=D0=BA=D1=83=D0=B9!
 (on the assumption that "Minsk" is where your native tongue is spoken)
 
 Best regards
 Matthias
 
 
 --------------enig05C3AADC6D41B527DF2C4F59
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with undefined - http://www.enigmail.net/
 
 iEYEARECAAYFAlFWBlMACgkQvmGDOQUufZVVgACg6WhhjujPp1+uVxv8SAcZGSgQ
 UX8Anii0V15/xbYAaCuu0jkfJv8QE/oC
 =AKww
 -----END PGP SIGNATURE-----
 
 --------------enig05C3AADC6D41B527DF2C4F59--
>Unformatted:
