From owner-svn-ports-head@freebsd.org Sun Jul 23 02:47:43 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D879C78A11; Sun, 23 Jul 2017 02:47:43 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24C8F6FBE9; Sun, 23 Jul 2017 02:47:43 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6N2lg8O054299; Sun, 23 Jul 2017 02:47:42 GMT (envelope-from acm@FreeBSD.org) Received: (from acm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6N2lf5S054293; Sun, 23 Jul 2017 02:47:41 GMT (envelope-from acm@FreeBSD.org) Message-Id: <201707230247.v6N2lf5S054293@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: acm set sender to acm@FreeBSD.org using -f From: Jose Alonso Cardenas Marquez Date: Sun, 23 Jul 2017 02:47:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446441 - in head/devel: . dlangui dlangui/files X-SVN-Group: ports-head X-SVN-Commit-Author: acm X-SVN-Commit-Paths: in head/devel: . dlangui dlangui/files X-SVN-Commit-Revision: 446441 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2017 02:47:43 -0000 Author: acm Date: Sun Jul 23 02:47:41 2017 New Revision: 446441 URL: https://svnweb.freebsd.org/changeset/ports/446441 Log: - New port: devel/dlangui Cross platform GUI for D. Widgets, layouts, styles, themes, unicode, i18n, OpenGL based acceleration - Crossplatform (Win32, OSX, Linux, FreeBSD and Android are supported in current version) - Mostly inspired by Android UI API (layouts, styles, two phase layout, ...) - Supports highly customizable UI themes and styles - Supports internationalization - Hardware acceleration using OpenGL (when built with version USE_OPENGL) - Fallback to pure Win32 API / SDL / X11 when OpenGL is not available (e.g. opengl dynamic library cannot be loaded) - Actually it's a port (with major refactoring) of GUI library for cross platform OpenGL based implementation of Cool Reader app project from C++. - Non thread safe - all UI operations should be preformed in single thread - Simple 3d engine - allows to embed 3D scenes within GUI WWW: https://github.com/buggins/dlangui Added: head/devel/dlangui/ head/devel/dlangui/Makefile (contents, props changed) head/devel/dlangui/distinfo (contents, props changed) head/devel/dlangui/files/ head/devel/dlangui/files/patch-dub.json (contents, props changed) head/devel/dlangui/pkg-descr (contents, props changed) head/devel/dlangui/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jul 23 02:43:37 2017 (r446440) +++ head/devel/Makefile Sun Jul 23 02:47:41 2017 (r446441) @@ -439,6 +439,7 @@ SUBDIR += ditrack SUBDIR += djgpp-binutils SUBDIR += djgpp-crx + SUBDIR += dlangui SUBDIR += dlib SUBDIR += dmake SUBDIR += dmalloc Added: head/devel/dlangui/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dlangui/Makefile Sun Jul 23 02:47:41 2017 (r446441) @@ -0,0 +1,41 @@ +# Created by: Alonso Cardenas Marquez +# $FreeBSD$ + +PORTNAME= dlangui +PORTVERSION= 0.9.82 +CATEGORIES= devel +MASTER_SITES= https://github.com/buggins/dlangui/archive/ +DISTNAME= ${PORTVERSION:S/^/v/} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Cross Platform GUI for D programming language + +LICENSE= BSL + +BUILD_DEPENDS= ldmd2:lang/ldc \ + dub:devel/dub \ + ${LOCALBASE}/lib/d/libDerelictUtil.a:devel/derelict-util \ + ${LOCALBASE}/lib/d/libDerelictGL3.a:graphics/derelict-gl3 \ + ${LOCALBASE}/lib/d/libDerelictFT.a:print/derelict-ft \ + ${LOCALBASE}/lib/d/libDerelictSDL2.a:devel/derelict-sdl2 \ + ${LOCALBASE}/lib/d/libdlib.a:devel/dlib + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +DUB_CMD= ${LOCALBASE}/bin/dub build --build=release +D_INCLUDE_DIR= ${PREFIX}/include/d +D_LIB_DIR= ${PREFIX}/lib/d + +post-patch: + ${REINPLACE_CMD} -e 's|DIMAGE;|DLIBIMAGE;|g' ${WRKSRC}/src/dlangui/graphics/images.d + +do-build: + @cd ${WRKSRC} && ${DUB_CMD} + +do-install: + @${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR} + @${MKDIR} ${STAGEDIR}${D_LIB_DIR} + ${INSTALL_DATA} ${WRKSRC}/lib/lib${PORTNAME}.a ${STAGEDIR}${D_LIB_DIR} + cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d" + +.include Added: head/devel/dlangui/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dlangui/distinfo Sun Jul 23 02:47:41 2017 (r446441) @@ -0,0 +1,3 @@ +TIMESTAMP = 1500702762 +SHA256 (dlangui/v0.9.82.tar.gz) = 61c2a95472c8ec17acf5465153f16972dde30f2033f6a5b751744a8e0edda698 +SIZE (dlangui/v0.9.82.tar.gz) = 8254924 Added: head/devel/dlangui/files/patch-dub.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dlangui/files/patch-dub.json Sun Jul 23 02:47:41 2017 (r446441) @@ -0,0 +1,60 @@ +--- dub.json.orig 2017-07-19 07:42:26 UTC ++++ dub.json +@@ -50,13 +50,6 @@ + "versions": ["USE_OPENGL", "EmbedStandardResources"], + "versions-posix": ["USE_SDL", "USE_FREETYPE"], + "versions-windows": ["Unicode"], +- "dependencies": { +- "derelict-gl3": "~>1.0.18", +- "derelict-ft": "~>1.1.2" +- }, +- "dependencies-posix": { +- "derelict-sdl2": "~>2.0.0" +- }, + "copyFiles-windows-x86_64": [ + "libs/windows/x86_64/libfreetype-6.dll" + ], +@@ -79,21 +72,11 @@ + "versions": ["EmbedStandardResources", "ForceLogs"], + "versions-posix": ["USE_SDL", "USE_FREETYPE", "NO_OPENGL"], + "versions-windows": ["Unicode" ,"NO_OPENGL"], +- "dependencies-posix": { +- "derelict-gl3": "~>1.0.18", +- "derelict-sdl2": "~>2.0.0", +- "derelict-ft": "~>1.1.2" +- } + }, + { + "name": "sdl", + "versions": ["USE_SDL", "USE_OPENGL", "USE_FREETYPE", "EmbedStandardResources"], + "versions-windows": ["Unicode"], +- "dependencies": { +- "derelict-gl3": "~>1.0.18", +- "derelict-ft": "~>1.1.2", +- "derelict-sdl2": "~>2.0.0" +- }, + "copyFiles-windows-x86_64": [ + "libs/windows/x86_64/libfreetype-6.dll", + "libs/windows/x86_64/SDL2.dll" +@@ -107,21 +90,11 @@ + "name": "x11", + "versions": ["USE_X11", "USE_FREETYPE", "EmbedStandardResources"], + "versions-windows": ["Unicode"], +- "dependencies": { +- "derelict-gl3": "~>1.0.18", +- "derelict-ft": "~>1.1.2", +- "x11": "~>1.0.13" +- } + }, + { + "name": "sfml", + "versions": ["USE_DSFML", "USE_OPENGL", "USE_FREETYPE", "EmbedStandardResources"], + "versions-windows": ["Unicode"], +- "dependencies": { +- "derelict-gl3": "~>1.0.18", +- "derelict-ft": "~>1.1.2", +- "dsfml": "~>2.1.0" +- }, + "copyFiles-windows-x86_64": [ + "libs/windows/x86_64/libfreetype-6.dll" + ], Added: head/devel/dlangui/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dlangui/pkg-descr Sun Jul 23 02:47:41 2017 (r446441) @@ -0,0 +1,17 @@ +Cross platform GUI for D. Widgets, layouts, styles, themes, unicode, i18n, +OpenGL based acceleration + +- Crossplatform (Win32, OSX, Linux, FreeBSD and Android are supported in + current version) +- Mostly inspired by Android UI API (layouts, styles, two phase layout, ...) +- Supports highly customizable UI themes and styles +- Supports internationalization +- Hardware acceleration using OpenGL (when built with version USE_OPENGL) +- Fallback to pure Win32 API / SDL / X11 when OpenGL is not available (e.g. + opengl dynamic library cannot be loaded) +- Actually it's a port (with major refactoring) of GUI library for cross + platform OpenGL based implementation of Cool Reader app project from C++. +- Non thread safe - all UI operations should be preformed in single thread +- Simple 3d engine - allows to embed 3D scenes within GUI + +WWW: https://github.com/buggins/dlangui Added: head/devel/dlangui/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/dlangui/pkg-plist Sun Jul 23 02:47:41 2017 (r446441) @@ -0,0 +1,97 @@ +include/d/dlangui/core/asyncsocket.d +include/d/dlangui/core/collections.d +include/d/dlangui/core/config.d +include/d/dlangui/core/css.d +include/d/dlangui/core/cssparser.d +include/d/dlangui/core/dom.d +include/d/dlangui/core/editable.d +include/d/dlangui/core/events.d +include/d/dlangui/core/filemanager.d +include/d/dlangui/core/files.d +include/d/dlangui/core/i18n.d +include/d/dlangui/core/linestream.d +include/d/dlangui/core/logger.d +include/d/dlangui/core/math3d.d +include/d/dlangui/core/parseutils.d +include/d/dlangui/core/queue.d +include/d/dlangui/core/settings.d +include/d/dlangui/core/signals.d +include/d/dlangui/core/stdaction.d +include/d/dlangui/core/streams.d +include/d/dlangui/core/textsource.d +include/d/dlangui/core/types.d +include/d/dlangui/dialogs/dialog.d +include/d/dlangui/dialogs/filedlg.d +include/d/dlangui/dialogs/inputbox.d +include/d/dlangui/dialogs/msgbox.d +include/d/dlangui/dialogs/settingsdialog.d +include/d/dlangui/dml/annotations.d +include/d/dlangui/dml/dmlhighlight.d +include/d/dlangui/dml/parser.d +include/d/dlangui/dml/tokenizer.d +include/d/dlangui/dom/cssparser.d +include/d/dlangui/dom/encoding.d +include/d/dlangui/graphics/colors.d +include/d/dlangui/graphics/domrender/domrender.d +include/d/dlangui/graphics/domrender/renderblock.d +include/d/dlangui/graphics/drawbuf.d +include/d/dlangui/graphics/fonts.d +include/d/dlangui/graphics/ftfonts.d +include/d/dlangui/graphics/gldrawbuf.d +include/d/dlangui/graphics/glsupport.d +include/d/dlangui/graphics/images.d +include/d/dlangui/graphics/resources.d +include/d/dlangui/graphics/scene/camera.d +include/d/dlangui/graphics/scene/drawableobject.d +include/d/dlangui/graphics/scene/effect.d +include/d/dlangui/graphics/scene/fbximport.d +include/d/dlangui/graphics/scene/light.d +include/d/dlangui/graphics/scene/material.d +include/d/dlangui/graphics/scene/mesh.d +include/d/dlangui/graphics/scene/model.d +include/d/dlangui/graphics/scene/node.d +include/d/dlangui/graphics/scene/objimport.d +include/d/dlangui/graphics/scene/scene3d.d +include/d/dlangui/graphics/scene/skybox.d +include/d/dlangui/graphics/scene/transform.d +include/d/dlangui/graphics/xpm/reader.d +include/d/dlangui/graphics/xpm/xpmcolors.d +include/d/dlangui/package.d +include/d/dlangui/platforms/android/androidapp.d +include/d/dlangui/platforms/common/platform.d +include/d/dlangui/platforms/common/startup.d +include/d/dlangui/platforms/console/consoleapp.d +include/d/dlangui/platforms/console/consolefont.d +include/d/dlangui/platforms/console/dconsole.d +include/d/dlangui/platforms/dsfml/dsfmlapp.d +include/d/dlangui/platforms/external/externalapp.d +include/d/dlangui/platforms/sdl/sdlapp.d +include/d/dlangui/platforms/windows/win32drawbuf.d +include/d/dlangui/platforms/windows/win32fonts.d +include/d/dlangui/platforms/windows/winapp.d +include/d/dlangui/platforms/x11/x11app.d +include/d/dlangui/widgets/appframe.d +include/d/dlangui/widgets/charts.d +include/d/dlangui/widgets/combobox.d +include/d/dlangui/widgets/controls.d +include/d/dlangui/widgets/docks.d +include/d/dlangui/widgets/editors.d +include/d/dlangui/widgets/grid.d +include/d/dlangui/widgets/groupbox.d +include/d/dlangui/widgets/layouts.d +include/d/dlangui/widgets/lists.d +include/d/dlangui/widgets/menu.d +include/d/dlangui/widgets/metadata.d +include/d/dlangui/widgets/popup.d +include/d/dlangui/widgets/progressbar.d +include/d/dlangui/widgets/scroll.d +include/d/dlangui/widgets/scrollbar.d +include/d/dlangui/widgets/srcedit.d +include/d/dlangui/widgets/statusline.d +include/d/dlangui/widgets/styles.d +include/d/dlangui/widgets/tabs.d +include/d/dlangui/widgets/toolbars.d +include/d/dlangui/widgets/tree.d +include/d/dlangui/widgets/widget.d +include/d/dlangui/widgets/winframe.d +lib/d/libdlangui.a