Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2020 11:13:34 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522565 - in head/graphics: . vpaint vpaint/files
Message-ID:  <202001101113.00ABDYGF093632@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan 10 11:13:33 2020
New Revision: 522565
URL: https://svnweb.freebsd.org/changeset/ports/522565

Log:
  - Add graphics/vpaint: Experimental vector graphics and 2D animation editor
  
  VPaint is an experimental prototype based on the Vector Graphics
  Complex (VGC), a technology developed by a collaboration of researchers
  at Inria and the University of British Columbia. It allows you to
  create resolution-independent illustrations and animations using
  innovative techniques.
  
  WWW: https://www.vpaint.org/

Added:
  head/graphics/vpaint/
  head/graphics/vpaint/Makefile   (contents, props changed)
  head/graphics/vpaint/distinfo   (contents, props changed)
  head/graphics/vpaint/files/
  head/graphics/vpaint/files/patch-src_Gui_Gui.pro   (contents, props changed)
  head/graphics/vpaint/files/patch-src_VPaint.pro   (contents, props changed)
  head/graphics/vpaint/pkg-descr   (contents, props changed)
  head/graphics/vpaint/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri Jan 10 10:52:29 2020	(r522564)
+++ head/graphics/Makefile	Fri Jan 10 11:13:33 2020	(r522565)
@@ -1042,6 +1042,7 @@
     SUBDIR += vkd3d
     SUBDIR += volpack
     SUBDIR += vp
+    SUBDIR += vpaint
     SUBDIR += vulkan-loader
     SUBDIR += vv
     SUBDIR += waffle

Added: head/graphics/vpaint/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vpaint/Makefile	Fri Jan 10 11:13:33 2020	(r522565)
@@ -0,0 +1,57 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	vpaint
+PORTVERSION=	1.7
+DISTVERSIONPREFIX=	v
+CATEGORIES=	graphics
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Experimental vector graphics and 2D animation editor
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	dalboris
+
+USES=		compiler:c++11-lib eigen:3 gl qmake qt:5
+USE_QT=		core gui widgets opengl network qmake_build buildtools_build
+USE_GL=		gl glu glew
+
+QMAKE_SOURCE_PATH=	${WRKSRC}/src/Gui
+
+CXXFLAGS+=	-isystem ${LOCALBASE}/include/eigen3
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
+
+DESKTOP_ENTRIES="VPaint" \
+		"Vector-Based Animation Editor" \
+		"VPaint" \
+		"VPaint" \
+		"Graphics;" \
+		""
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-extract:
+	@${RM} -r ${WRKSRC}/src/Third
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/VPaint ${STAGEDIR}${PREFIX}/bin
+.for s in 16 32 48 256
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}
+	${INSTALL_DATA} ${WRKSRC}/src/Gui/images/icon-${s}.png \
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/VPaint.png
+.endfor
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.vec ${STAGEDIR}${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Added: head/graphics/vpaint/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vpaint/distinfo	Fri Jan 10 11:13:33 2020	(r522565)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1578600227
+SHA256 (dalboris-vpaint-v1.7_GH0.tar.gz) = 0e3fcad20bcd662c9fe341ea8f98277223bc5f4bbc372f846d99bf38b4c0d156
+SIZE (dalboris-vpaint-v1.7_GH0.tar.gz) = 2254345

Added: head/graphics/vpaint/files/patch-src_Gui_Gui.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vpaint/files/patch-src_Gui_Gui.pro	Fri Jan 10 11:13:33 2020	(r522565)
@@ -0,0 +1,37 @@
+--- src/Gui/Gui.pro.orig	2020-01-07 15:06:58 UTC
++++ src/Gui/Gui.pro
+@@ -65,7 +65,7 @@ win32 {
+ }
+ 
+ # GLU
+-unix:!macx: LIBS += -lGLU
++unix:!macx: LIBS += -lGLU -lGLEW
+ win32 {
+     LIBS += glu32.lib
+ }
+@@ -73,25 +73,6 @@ win32 {
+ ###############################################################################
+ #                      SHIPPED EXTERNAL LIBRARIES
+ 
+-# Add shipped external libraries to includepath and dependpath
+-INCLUDEPATH += $$PWD/../Third/
+-DEPENDPATH += $$PWD/../Third/
+-!win32: QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_ISYSTEM $$PWD/../Third/
+-
+-# Define RELEASE_OR_DEBUG convenient variable
+-CONFIG(release, debug|release): RELEASE_OR_DEBUG = release
+-CONFIG(debug,   debug|release): RELEASE_OR_DEBUG = debug
+-
+-# GLEW
+-win32 {
+-    LIBS += -L$$OUT_PWD/../Third/GLEW/$$RELEASE_OR_DEBUG/ -lGLEW
+-    win32-g++: PRE_TARGETDEPS += $$OUT_PWD/../Third/GLEW/$$RELEASE_OR_DEBUG/libGLEW.a
+-    else:      PRE_TARGETDEPS += $$OUT_PWD/../Third/GLEW/$$RELEASE_OR_DEBUG/GLEW.lib
+-}
+-else:unix {
+-    LIBS += -L$$OUT_PWD/../Third/GLEW/ -lGLEW
+-    PRE_TARGETDEPS += $$OUT_PWD/../Third/GLEW/libGLEW.a
+-}
+ 
+ 
+ ###############################################################################

Added: head/graphics/vpaint/files/patch-src_VPaint.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vpaint/files/patch-src_VPaint.pro	Fri Jan 10 11:13:33 2020	(r522565)
@@ -0,0 +1,10 @@
+--- src/VPaint.pro.orig	2020-01-07 15:06:58 UTC
++++ src/VPaint.pro
+@@ -18,7 +18,5 @@
+ TEMPLATE = subdirs
+ 
+ SUBDIRS += \
+-    Third/GLEW \
+     Gui
+ 
+-Gui.depends = Third/GLEW

Added: head/graphics/vpaint/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vpaint/pkg-descr	Fri Jan 10 11:13:33 2020	(r522565)
@@ -0,0 +1,7 @@
+VPaint is an experimental prototype based on the Vector Graphics
+Complex (VGC), a technology developed by a collaboration of researchers
+at Inria and the University of British Columbia. It allows you to
+create resolution-independent illustrations and animations using
+innovative techniques.
+
+WWW: https://www.vpaint.org/

Added: head/graphics/vpaint/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/vpaint/pkg-plist	Fri Jan 10 11:13:33 2020	(r522565)
@@ -0,0 +1,5 @@
+bin/VPaint
+share/icons/hicolor/16x16/VPaint.png
+share/icons/hicolor/256x256/VPaint.png
+share/icons/hicolor/32x32/VPaint.png
+share/icons/hicolor/48x48/VPaint.png



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