Bug 203642 - [New port] emulators/mupen64plus-qt: Basic launcher for Mupen64Plus
Summary: [New port] emulators/mupen64plus-qt: Basic launcher for Mupen64Plus
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Richard Gallamore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 17:15 UTC by Dan
Modified: 2017-06-16 04:15 UTC (History)
3 users (show)

See Also:


Attachments
mupen64plus-qt.shar (2.57 KB, application/x-shar)
2015-10-08 17:15 UTC, Dan
no flags Details
mupen64plus-qt.shar (2.52 KB, text/plain)
2016-03-16 13:50 UTC, Dan
rakuco: maintainer-approval+
Details
mupen64plus-qt.shar (2.39 KB, application/x-shar)
2017-06-14 20:08 UTC, Dan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2015-10-08 17:15:02 UTC
Created attachment 161833 [details]
mupen64plus-qt.shar

Mupen64Plus-Qt is a basic launcher for the mupen64plus-ui-console frontend. It
was adapted from CEN64-Qt to work with Mupen64Plus.

See the README at https://www.github.com/dh4/mupen64plus-qt for a detailed
description of its features and usage.

WWW: https://www.github.com/dh4/mupen64plus-qt
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-03-02 23:40:41 UTC
Hi Dan,

Please run `portlint -AC' on your port; there are a few spacing issues you need to fix.
Comment 2 Dan 2016-03-16 13:50:38 UTC
Created attachment 168298 [details]
mupen64plus-qt.shar
Comment 3 Richard Gallamore freebsd_committer freebsd_triage 2017-06-14 01:29:19 UTC
The Port looks good, the only issue I see is missing corelibs for qt.

After trying to run it for the first time, I received this error:
Could not connect to sqlite database. Application may misbehave.

This is the console output:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
QSqlQuery::exec: database not open
QSqlQuery::value: not positioned on a valid record
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open


If this is a configuration issue, can you please add a pkg-message containing a simple how-to setup? Thanks!
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2017-06-14 11:47:36 UTC
(In reply to Richard Gallamore from comment #3)
> After trying to run it for the first time, I received this error:
> Could not connect to sqlite database. Application may misbehave.
> 
> This is the console output:
> QSqlDatabase: QSQLITE driver not loaded
> QSqlDatabase: available drivers: 
> QSqlQuery::exec: database not open
> QSqlQuery::value: not positioned on a valid record
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open

That usually means the port's missing a runtime dependency on databases/qt4-sqlite3-plugin (or similar).
Comment 5 Dan 2017-06-14 20:08:40 UTC
Created attachment 183486 [details]
mupen64plus-qt.shar

Thanks. I've fixed the sqlite warnings by adding sql-sqlite3_run to use_qt4.

Also updated this to version 1.10.
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-06-16 04:12:30 UTC
A commit references this bug:

Author: ultima
Date: Fri Jun 16 04:11:43 UTC 2017
New revision: 443667
URL: https://svnweb.freebsd.org/changeset/ports/443667

Log:
  * Add mupen64plus-qt 1.10, basic launcher for Mupen64Plus.

  Mupen64Plus-Qt is a basic launcher for the mupen64plus-ui-console frontend. It
  was adapted from CEN64-Qt to work with Mupen64Plus.

  See the README at https://www.github.com/dh4/mupen64plus-qt for a detailed
  description of its features and usage.

  WWW: https://www.github.com/dh4/mupen64plus-qt

  PR:		203642
  Sumitted by:	Dan <dan465@mail.com> (maintainer)
  Reviewed by:	matthew (mentor)
  Approved by:	matthew (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11198

Changes:
  head/emulators/Makefile
  head/emulators/mupen64plus-qt/
  head/emulators/mupen64plus-qt/Makefile
  head/emulators/mupen64plus-qt/distinfo
  head/emulators/mupen64plus-qt/pkg-descr
Comment 7 Richard Gallamore freebsd_committer freebsd_triage 2017-06-16 04:15:30 UTC
Committed, thanks!