Bug 174739 - no svg support in x11-wm/enlightenment, evas_generic_loaders-svg attached
Summary: no svg support in x11-wm/enlightenment, evas_generic_loaders-svg attached
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Grzegorz Blach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-27 10:50 UTC by Peter Kosyh
Modified: 2012-12-27 19:33 UTC (History)
0 users

See Also:


Attachments
file.diff (2.66 KB, patch)
2012-12-27 10:50 UTC, Peter Kosyh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kosyh 2012-12-27 10:50:00 UTC
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!

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

Patch attached with submission follows:
How-To-Repeat: You can just open efm and select svg icons. There will no preview for them.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-27 10:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gblach

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-12-27 19:28:33 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"
Comment 3 Grzegorz Blach freebsd_committer freebsd_triage 2012-12-27 19:33:50 UTC
State Changed
From-To: open->closed

Committed. Thanks!