Commit d25384d7 authored by acm's avatar acm
Browse files

- 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
parent 72aa6a33
...@@ -439,6 +439,7 @@ ...@@ -439,6 +439,7 @@
SUBDIR += ditrack SUBDIR += ditrack
SUBDIR += djgpp-binutils SUBDIR += djgpp-binutils
SUBDIR += djgpp-crx SUBDIR += djgpp-crx
SUBDIR += dlangui
SUBDIR += dlib SUBDIR += dlib
SUBDIR += dmake SUBDIR += dmake
SUBDIR += dmalloc SUBDIR += dmalloc
......
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $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 <bsd.port.mk>
TIMESTAMP = 1500702762
SHA256 (dlangui/v0.9.82.tar.gz) = 61c2a95472c8ec17acf5465153f16972dde30f2033f6a5b751744a8e0edda698
SIZE (dlangui/v0.9.82.tar.gz) = 8254924
--- 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"
],
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
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment