From nobody@FreeBSD.org  Fri Feb  8 20:01:07 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 4F3A8BA0
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Feb 2013 20:01:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 29C08C11
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Feb 2013 20:01:07 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r18K17NT069948
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 8 Feb 2013 20:01:07 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r18K17Zj069941;
	Fri, 8 Feb 2013 20:01:07 GMT
	(envelope-from nobody)
Message-Id: <201302082001.r18K17Zj069941@red.freebsd.org>
Date: Fri, 8 Feb 2013 20:01:07 GMT
From: Pawel Pekala <pawel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/libcaca
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175963
>Category:       ports
>Synopsis:       graphics/libcaca
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    makc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 08 20:10:00 UTC 2013
>Closed-Date:    Mon Mar 25 14:06:05 UTC 2013
>Last-Modified:  Mon Mar 25 14:10:01 UTC 2013
>Originator:     Pawel Pekala
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 10.0-CURRENT FreeBSD 10.0-CURRENT #4: Sat Feb  2 10:36:19 CET 2013     corn@blaviken.slowicza.org:/usr/obj/usr/src/sys/BLAVIKEN64  amd64

>Description:
This packages links to freeglut when available:

[corn:~]> ldd /usr/local/lib/libcaca.so.0 | grep glut
        libglut.so.12 => /usr/local/lib/libglut.so.12 (0x801ba9000)

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/graphics/libcaca/Makefile graphics/libcaca/Makefile
--- /usr/ports/graphics/libcaca/Makefile	2012-11-17 06:58:12.000000000 +0100
+++ graphics/libcaca/Makefile	2013-02-08 20:46:38.000000000 +0100
@@ -7,13 +7,14 @@
 
 PORTNAME=	libcaca
 DISTVERSION=	0.99.beta18
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://caca.zoy.org/raw-attachment/wiki/libcaca/
 
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Graphics library that outputs text instead of pixels
 
+USE_GL=		glut
 USE_GNOME=	gnomehack ltverhack pkgconfig
 USE_LDCONFIG=	yes
 USE_AUTOTOOLS=	libtool


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Feb 8 20:10:07 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175963 
Responsible-Changed-From-To: freebsd-multimedia->makc 
Responsible-Changed-By: makc 
Responsible-Changed-When: Mon Mar 25 12:07:09 UTC 2013 
Responsible-Changed-Why:  
I'm working on this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175963 
State-Changed-From-To: open->closed 
State-Changed-By: makc 
State-Changed-When: Mon Mar 25 14:06:04 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175963: commit references a PR
Date: Mon, 25 Mar 2013 14:06:38 +0000 (UTC)

 Author: makc
 Date: Mon Mar 25 14:06:30 2013
 New Revision: 315227
 URL: http://svnweb.freebsd.org/changeset/ports/315227
 
 Log:
   - Add dependence on libglut [1]
   - Convert to new option framework
   - Convert to USES/PKG_CONFIG
   - Pass more switches to configure script in order to avoid auto-detection
   - Trim Makefile header
   - Update and reformat description
   
   PR:		ports/175963 [1]
   Submitted by:	pawel
 
 Modified:
   head/graphics/libcaca/Makefile   (contents, props changed)
   head/graphics/libcaca/pkg-descr   (contents, props changed)
 
 Modified: head/graphics/libcaca/Makefile
 ==============================================================================
 --- head/graphics/libcaca/Makefile	Mon Mar 25 14:05:23 2013	(r315226)
 +++ head/graphics/libcaca/Makefile	Mon Mar 25 14:06:30 2013	(r315227)
 @@ -1,20 +1,18 @@
 -# New ports collection makefile for:   libcaca
 -# Date created:			11 January 2004
 -# Whom:				Vincent Tantardini <vinc@FreeBSD-fr.org>
 -#
 +# Created by: Vincent Tantardini <vinc@FreeBSD-fr.org>
  # $FreeBSD$
 -#
  
  PORTNAME=	libcaca
  DISTVERSION=	0.99.beta18
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	graphics
  MASTER_SITES=	http://caca.zoy.org/raw-attachment/wiki/libcaca/
  
  MAINTAINER=	multimedia@FreeBSD.org
  COMMENT=	Graphics library that outputs text instead of pixels
  
 -USE_GNOME=	gnomehack ltverhack pkgconfig
 +USES=		pathfix
 +USE_GNOME=	ltverhack
 +USE_PKGCONFIG=	build
  USE_LDCONFIG=	yes
  USE_AUTOTOOLS=	libtool
  CONFIGURE_ARGS=	--disable-doc \
 @@ -22,28 +20,35 @@ CONFIGURE_ARGS=	--disable-doc \
  		--disable-java \
  		--disable-csharp \
  		--disable-ruby \
 -		--disable-python
 +		--disable-python \
 +		--disable-cppunit \
 +		--disable-zzuf
  
  DOCS=		AUTHORS COPYING COPYING.GPL COPYING.LGPL ChangeLog NEWS \
  		NOTES README THANKS
  MAN1=		caca-config.1 cacademo.1 cacafire.1 cacaplay.1 cacaserver.1 \
  		cacaview.1 img2txt.1
  
 -.if defined(WITHOUT_X11)
 -CONFIGURE_ARGS+=--disable-x11
 -.else
 +OPTIONS_DEFINE=	X11 IMLIB2 SLANG DOCS
 +OPTIONS_DEFAULT=	X11 IMLIB2
 +X11_DESC=	X11 and OpenGL support
 +
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MX11}
  USE_XORG=	x11
 +USE_GL=		glut
 +.else
 +CONFIGURE_ARGS+=--disable-x11 --disable-gl
  .endif
  
 -.if defined(WITHOUT_IMLIB2)
 -CONFIGURE_ARGS+=--disable-imlib2
 -.else
 +.if ${PORT_OPTIONS:MIMLIB2}
  USE_EFL+=	imlib2
 +.else
 +CONFIGURE_ARGS+=--disable-imlib2
  .endif
  
 -.include <bsd.port.pre.mk>
 -
 -.if defined(WITH_SLANG)
 +.if ${PORT_OPTIONS:MSLANG}
  LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
  CONFIGURE_ARGS+=--enable-slang
  .else
 @@ -56,12 +61,10 @@ post-patch:
  	@${REINPLACE_CMD} -e 's|: install-docDATA|:|g ; s| csharp||g' \
  			${WRKSRC}/Makefile.in
  
 -.ifndef (NOPORTDOCS)
 +.if ${PORT_OPTIONS:MDOCS}
  post-install:
  	@${MKDIR} ${DOCSDIR}
 -.for i in ${DOCS}
 -	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 -.endfor
 +	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
  .endif
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Modified: head/graphics/libcaca/pkg-descr
 ==============================================================================
 --- head/graphics/libcaca/pkg-descr	Mon Mar 25 14:05:23 2013	(r315226)
 +++ head/graphics/libcaca/pkg-descr	Mon Mar 25 14:06:30 2013	(r315227)
 @@ -1,7 +1,9 @@
 -The libcaca library is a graphics library that outputs text instead of 
 -pixels, so that it can work on older video cards or text terminals. It 
 -is not unlike the famous AAlib library. It also have 6 available colours 
 -for character output, dithering of colour images and basic sprite 
 -primitives.
 +libcaca is a graphics library that outputs text instead of pixels,
 +so that it can work on older video cards or text terminals.  It is
 +not unlike the famous AAlib library, with the following improvements:
 + * Unicode support
 + * 2048 available colours (some devices can only handle 16)
 + * dithering of colour images
 + * advanced text canvas operations (blitting, rotations)
  
  WWW: http://caca.zoy.org/
 _______________________________________________
 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"
 
>Unformatted:
