From owner-svn-ports-head@freebsd.org Sat Oct 17 17:54:53 2015 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 0480CA17159; Sat, 17 Oct 2015 17:54:53 +0000 (UTC) (envelope-from danilo@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 D196B9AB; Sat, 17 Oct 2015 17:54:52 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9HHsptg024674; Sat, 17 Oct 2015 17:54:51 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9HHspO5024665; Sat, 17 Oct 2015 17:54:51 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201510171754.t9HHspO5024665@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Sat, 17 Oct 2015 17:54:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399549 - in head/games: . solarus-quest-editor solarus-quest-editor/files X-SVN-Group: ports-head 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.20 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: Sat, 17 Oct 2015 17:54:53 -0000 Author: danilo Date: Sat Oct 17 17:54:51 2015 New Revision: 399549 URL: https://svnweb.freebsd.org/changeset/ports/399549 Log: - New port: games/solarus-quest-editor Solarus Quest Editor is a graphical user interface to create and modify quests for the Solarus engine. WWW: http://www.solarus-games.org/engine/solarus-quest-editor Added: head/games/solarus-quest-editor/ head/games/solarus-quest-editor/Makefile (contents, props changed) head/games/solarus-quest-editor/distinfo (contents, props changed) head/games/solarus-quest-editor/files/ head/games/solarus-quest-editor/files/patch-include_gui_plain__text__edit.h (contents, props changed) head/games/solarus-quest-editor/files/patch-src_gui_dialog__properties__table.cpp (contents, props changed) head/games/solarus-quest-editor/files/patch-src_gui_strings__editor.cpp (contents, props changed) head/games/solarus-quest-editor/files/patch-src_quest__runner.cpp (contents, props changed) head/games/solarus-quest-editor/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sat Oct 17 17:51:18 2015 (r399548) +++ head/games/Makefile Sat Oct 17 17:54:51 2015 (r399549) @@ -897,6 +897,7 @@ SUBDIR += sol SUBDIR += solarconquest SUBDIR += solarus + SUBDIR += solarus-quest-editor SUBDIR += solarwolf SUBDIR += sopwith SUBDIR += spacejunk Added: head/games/solarus-quest-editor/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/Makefile Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,43 @@ +# Created by: Danilo Egea Gondolfo +# $FreeBSD$ + +PORTNAME= solarus-quest-editor +PORTVERSION= 1.4.4 +CATEGORIES= games + +MAINTAINER= danilo@FreeBSD.org +COMMENT= GUI to create and modify quests for the Solarus engine + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/license_gpl.txt + +LIB_DEPENDS= libphysfs.so:${PORTSDIR}/devel/physfs \ + libmodplug.so:${PORTSDIR}/audio/libmodplug \ + liblua-5.1.so:${PORTSDIR}/lang/lua51 \ + libvorbis.so:${PORTSDIR}/audio/libvorbis \ + libogg.so:${PORTSDIR}/audio/libogg \ + libsolarus.so:${PORTSDIR}/games/solarus + +USE_GITHUB= yes +GH_ACCOUNT= christopho +GH_PROJECT= ${PORTNAME} +GH_TAGNAME= v${PORTVERSION} + +CMAKE_ARGS+= -DSOLARUS_USE_LUAJIT=OFF +USE_SDL= sdl2 ttf2 image2 +USE_QT5= buildtools core gui linguist qmake widgets +USES= cmake compiler:c++11-lib openal +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +DESKTOP_ENTRIES= "Solarus Quest Editor" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \ + "Game;" false + +PLIST_FILES= bin/solarus-quest-editor \ + share/pixmaps/${PORTNAME}.png + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/solarus-quest-editor ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/images/logo/sqe-logo.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + +.include Added: head/games/solarus-quest-editor/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/distinfo Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,2 @@ +SHA256 (christopho-solarus-quest-editor-1.4.4-v1.4.4_GH0.tar.gz) = cf65b753d95c2328c9132108f8e7f233091db6298fa2cbc1a9894506ca8f58cf +SIZE (christopho-solarus-quest-editor-1.4.4-v1.4.4_GH0.tar.gz) = 11819019 Added: head/games/solarus-quest-editor/files/patch-include_gui_plain__text__edit.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/files/patch-include_gui_plain__text__edit.h Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,10 @@ +--- include/gui/plain_text_edit.h.orig 2015-08-20 11:15:41 UTC ++++ include/gui/plain_text_edit.h +@@ -19,6 +19,7 @@ + + #include + #include ++#include + + /** + * @brief A plain text editor that sends editing_finished() signal when the text Added: head/games/solarus-quest-editor/files/patch-src_gui_dialog__properties__table.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/files/patch-src_gui_dialog__properties__table.cpp Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,10 @@ +--- src/gui/dialog_properties_table.cpp.orig 2015-08-20 11:15:41 UTC ++++ src/gui/dialog_properties_table.cpp +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + /** + * @brief Creates an empty dialogs tree view. Added: head/games/solarus-quest-editor/files/patch-src_gui_strings__editor.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/files/patch-src_gui_strings__editor.cpp Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,10 @@ +--- src/gui/strings_editor.cpp.orig 2015-08-20 11:15:41 UTC ++++ src/gui/strings_editor.cpp +@@ -23,6 +23,7 @@ + #include "strings_model.h" + #include + #include ++#include + + namespace { + Added: head/games/solarus-quest-editor/files/patch-src_quest__runner.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/files/patch-src_quest__runner.cpp Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,22 @@ +--- src/quest_runner.cpp.orig 2015-08-20 11:15:41 UTC ++++ src/quest_runner.cpp +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + + /** +@@ -88,7 +89,10 @@ void QuestRunner::run() { + + try { + +- Solarus::Arguments arguments; ++ std::string argv0 = QApplication::arguments().at(0).toStdString(); ++ char *argv[1] = {(char *) argv0.c_str()}; ++ ++ Solarus::Arguments arguments(1, argv); + + // no-audio. + if (settings.get_value_bool(Settings::no_audio)) { Added: head/games/solarus-quest-editor/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/solarus-quest-editor/pkg-descr Sat Oct 17 17:54:51 2015 (r399549) @@ -0,0 +1,4 @@ +Solarus Quest Editor is a graphical user interface +to create and modify quests for the Solarus engine. + +WWW: http://www.solarus-games.org/engine/solarus-quest-editor