From nobody@FreeBSD.org  Thu Dec 27 10:43:19 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id AE0D029D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 10:43:19 +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 93F7C8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 10:43:19 +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 qBRAhJQY044357
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 10:43:19 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBRAhJpf044356;
	Thu, 27 Dec 2012 10:43:19 GMT
	(envelope-from nobody)
Message-Id: <201212271043.qBRAhJpf044356@red.freebsd.org>
Date: Thu, 27 Dec 2012 10:43:19 GMT
From: Peter Kosyh <p.kosyh@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: no svg support in x11-wm/enlightenment, evas_generic_loaders-svg attached
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174739
>Category:       ports
>Synopsis:       no svg support in x11-wm/enlightenment, evas_generic_loaders-svg attached
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gblach
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 10:50:00 UTC 2012
>Closed-Date:    Thu Dec 27 19:33:51 UTC 2012
>Last-Modified:  Thu Dec 27 19:33:51 UTC 2012
>Originator:     Peter Kosyh
>Release:        FreeBSD 9.1
>Organization:
>Environment:
FreeBSD peter-bsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
After make install in /usr/ports/x11-wm/enlightenment, start e17 and change shelf size (48x48 for example).

Most of icons will disappear.

It is because there is missing evas_generic_loaders-svg package in ports,

So, i have attached evas_generic_loaders-svg patch on ports/graphics. Please, add it. And add dependence. Thank you!


>How-To-Repeat:
You can just open efm and select svg icons. There will no preview for them.

>Fix:
apply patch in ports/graphics
cd  evas_generic_loaders-svg
make install
restart e17

Patch attached with submission follows:

diff -Nur graphics/evas_generic_loaders-svg/Makefile graphics.evas/evas_generic_loaders-svg/Makefile
--- graphics/evas_generic_loaders-svg/Makefile	1970-01-01 03:00:00.000000000 +0300
+++ graphics.evas/evas_generic_loaders-svg/Makefile	2012-12-27 14:33:44.000000000 +0400
@@ -0,0 +1,34 @@
+# Created by: Grzegorz Blach <gblach@FreeBSD.org>
+# $FreeBSD: ports/graphics/evas_generic_loaders-pdf/Makefile,v 1.4 2012/12/22 21:09:57 svnexp Exp $
+
+PORTNAME=	svg
+PORTVERSION=	1.7.4
+CATEGORIES=	graphics enlightenment
+MASTER_SITES=	http://download.enlightenment.org/releases/ \
+		LOCAL/gblach/e17/
+PKGNAMEPREFIX=	evas_generic_loaders-
+DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}
+
+MAINTAINER=	gblach@FreeBSD.org
+COMMENT=	Additional loader for Evas (svg)
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	librsvg2:${PORTSDIR}/graphics/librsvg2
+
+DIST_SUBDIR=	e17
+USE_BZIP2=	yes
+GNU_CONFIGURE=	yes
+USE_EFL=	eina
+USE_GNOME=	gnomehack pkgconfig
+USE_LDCONFIG=	yes
+
+BINSRC=		${WRKSRC}/src/bin/${PORTNAME}
+
+do-build:
+	${MAKE} -C ${BINSRC}
+
+do-install:
+	${MAKE} -C ${BINSRC} install
+
+.include <bsd.port.mk>
diff -Nur graphics/evas_generic_loaders-svg/distinfo graphics.evas/evas_generic_loaders-svg/distinfo
--- graphics/evas_generic_loaders-svg/distinfo	1970-01-01 03:00:00.000000000 +0300
+++ graphics.evas/evas_generic_loaders-svg/distinfo	2012-12-27 14:25:22.000000000 +0400
@@ -0,0 +1,2 @@
+SHA256 (e17/evas_generic_loaders-1.7.4.tar.bz2) = 85779f33e8ad483a9b849a74be8ca3aae22127138a325bae0f079133b2fe4e7c
+SIZE (e17/evas_generic_loaders-1.7.4.tar.bz2) = 200620
diff -Nur graphics/evas_generic_loaders-svg/pkg-descr graphics.evas/evas_generic_loaders-svg/pkg-descr
--- graphics/evas_generic_loaders-svg/pkg-descr	1970-01-01 03:00:00.000000000 +0300
+++ graphics.evas/evas_generic_loaders-svg/pkg-descr	2012-12-27 14:25:22.000000000 +0400
@@ -0,0 +1,9 @@
+These are additional "generic" loaders for Evas that are stand-alone
+executables that evas may run from its generic loader module. This
+means that if they crash, the application loading the image does not
+crash also. In addition the licensing of these binaries will not
+affect the license of any application that uses Evas as this uses a
+completely generic execution system that allows anything to be plugged
+in as a loader.
+
+WWW: http://trac.enlightenment.org/e/wiki/Evas_Generic_Loaders
diff -Nur graphics/evas_generic_loaders-svg/pkg-plist graphics.evas/evas_generic_loaders-svg/pkg-plist
--- graphics/evas_generic_loaders-svg/pkg-plist	1970-01-01 03:00:00.000000000 +0300
+++ graphics.evas/evas_generic_loaders-svg/pkg-plist	2012-12-27 14:26:05.000000000 +0400
@@ -0,0 +1,3 @@
+lib/evas/utils/evas_image_loader.svg
+@dirrmtry lib/evas/utils
+@dirrmtry lib/evas


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gblach 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 27 10:50:09 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174739: commit references a PR
Date: Thu, 27 Dec 2012 19:28:33 +0000 (UTC)

 Author: gblach
 Date: Thu Dec 27 19:28:23 2012
 New Revision: 309551
 URL: http://svnweb.freebsd.org/changeset/ports/309551
 
 Log:
   New port: graphics/evas_generic_loaders-svg
   
   Additional SVG loader for Evas
   
   PR:		ports/174739
   Approved by:	tabthorpe (mentor)
 
 Added:
   head/graphics/evas_generic_loaders-svg/
   head/graphics/evas_generic_loaders-svg/Makefile   (contents, props changed)
   head/graphics/evas_generic_loaders-svg/distinfo   (contents, props changed)
   head/graphics/evas_generic_loaders-svg/pkg-descr   (contents, props changed)
   head/graphics/evas_generic_loaders-svg/pkg-plist   (contents, props changed)
 Modified:
   head/graphics/Makefile
   head/graphics/evas-loader-generic/Makefile
 
 Modified: head/graphics/Makefile
 ==============================================================================
 --- head/graphics/Makefile	Thu Dec 27 18:44:50 2012	(r309550)
 +++ head/graphics/Makefile	Thu Dec 27 19:28:23 2012	(r309551)
 @@ -182,6 +182,7 @@
      SUBDIR += evas_generic_loaders-pdf
      SUBDIR += evas_generic_loaders-ps
      SUBDIR += evas_generic_loaders-raw
 +    SUBDIR += evas_generic_loaders-svg
      SUBDIR += evas_generic_loaders-xcf
      SUBDIR += evince
      SUBDIR += evolvotron
 
 Modified: head/graphics/evas-loader-generic/Makefile
 ==============================================================================
 --- head/graphics/evas-loader-generic/Makefile	Thu Dec 27 18:44:50 2012	(r309550)
 +++ head/graphics/evas-loader-generic/Makefile	Thu Dec 27 19:28:23 2012	(r309551)
 @@ -14,7 +14,7 @@ COMMENT=	A hardware accelerated canvas A
  
  LICENSE=	BSD
  
 -EVAS_GENERIC_LOADERS=	gst pdf ps raw xcf
 +EVAS_GENERIC_LOADERS=	gst pdf ps raw svg xcf
  
  .for NODE in ${EVAS_GENERIC_LOADERS}
  OPTIONS+=	${NODE:U} "Install ${NODE} evas generic loader" on
 
 Added: head/graphics/evas_generic_loaders-svg/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/evas_generic_loaders-svg/Makefile	Thu Dec 27 19:28:23 2012	(r309551)
 @@ -0,0 +1,34 @@
 +# Created by: Grzegorz Blach <gblach@FreeBSD.org>
 +# $FreeBSD$
 +
 +PORTNAME=	svg
 +PORTVERSION=	1.7.4
 +CATEGORIES=	graphics enlightenment
 +MASTER_SITES=	http://download.enlightenment.org/releases/ \
 +		LOCAL/gblach/e17/
 +PKGNAMEPREFIX=	evas_generic_loaders-
 +DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}
 +
 +MAINTAINER=	gblach@FreeBSD.org
 +COMMENT=	Additional loader for Evas (svg)
 +
 +LICENSE=	GPLv2
 +
 +#LIB_DEPENDS=	poppler:${PORTSDIR}/graphics/poppler
 +
 +DIST_SUBDIR=	e17
 +USE_BZIP2=	yes
 +GNU_CONFIGURE=	yes
 +USE_EFL=	eina
 +USE_GNOME=	librsvg2 gnomehack pkgconfig
 +USE_LDCONFIG=	yes
 +
 +BINSRC=		${WRKSRC}/src/bin/${PORTNAME}
 +
 +do-build:
 +	${MAKE} -C ${BINSRC}
 +
 +do-install:
 +	${MAKE} -C ${BINSRC} install
 +
 +.include <bsd.port.mk>
 
 Added: head/graphics/evas_generic_loaders-svg/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/evas_generic_loaders-svg/distinfo	Thu Dec 27 19:28:23 2012	(r309551)
 @@ -0,0 +1,2 @@
 +SHA256 (e17/evas_generic_loaders-1.7.4.tar.bz2) = 85779f33e8ad483a9b849a74be8ca3aae22127138a325bae0f079133b2fe4e7c
 +SIZE (e17/evas_generic_loaders-1.7.4.tar.bz2) = 200620
 
 Added: head/graphics/evas_generic_loaders-svg/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/evas_generic_loaders-svg/pkg-descr	Thu Dec 27 19:28:23 2012	(r309551)
 @@ -0,0 +1,9 @@
 +These are additional "generic" loaders for Evas that are stand-alone
 +executables that evas may run from its generic loader module. This
 +means that if they crash, the application loading the image does not
 +crash also. In addition the licensing of these binaries will not
 +affect the license of any application that uses Evas as this uses a
 +completely generic execution system that allows anything to be plugged
 +in as a loader.
 +
 +WWW: http://trac.enlightenment.org/e/wiki/Evas_Generic_Loaders
 
 Added: head/graphics/evas_generic_loaders-svg/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/graphics/evas_generic_loaders-svg/pkg-plist	Thu Dec 27 19:28:23 2012	(r309551)
 @@ -0,0 +1,3 @@
 +lib/evas/utils/evas_image_loader.svg
 +@dirrmtry lib/evas/utils
 +@dirrmtry lib/evas
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: gblach 
State-Changed-When: Thu Dec 27 19:33:50 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174739 
>Unformatted:
