Bug 221611 - [NEW PORT] games/sdlpop: Open-source port of Prince of Persia
Summary: [NEW PORT] games/sdlpop: Open-source port of Prince of Persia
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 17:33 UTC by Piotr Kubaj
Modified: 2017-09-14 16:10 UTC (History)
1 user (show)

See Also:


Attachments
shar (1.60 KB, text/plain)
2017-08-18 17:33 UTC, Piotr Kubaj
no flags Details
updated shar (37.14 KB, text/plain)
2017-08-21 01:45 UTC, Steve Wills
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2017-08-18 17:33:42 UTC
Created attachment 185552 [details]
shar

This shar contains the port of SDLPoP, an open source port of the original Prince of Persia.

It builds fine on Poudriere using 10.3-RELEASE. portlint -A says "looks fine".
Comment 1 Steve Wills freebsd_committer freebsd_triage 2017-08-21 00:04:06 UTC
This builds fine for me, but does not run at all. It simply says:

SDL_Init: SDL not built with haptic (force feedback) support

and then exits. I found this is because although haptic support is enabled in SDL, the configure script disables it anyway. Even when forcing haptic support on in SDL, sdlpop runs but the window has nothing other than the text for startup and ending the level.
Comment 2 Steve Wills freebsd_committer freebsd_triage 2017-08-21 01:45:06 UTC
Created attachment 185627 [details]
updated shar

Here's an updated version that works for me when building and installing a package. I may have missed some paths, please test.
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2017-08-22 08:38:19 UTC
(In reply to Steve Wills from comment #2)
I have played it a bit, seems to work fine.
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-09-14 16:03:24 UTC
A commit references this bug:

Author: swills
Date: Thu Sep 14 16:03:11 UTC 2017
New revision: 449838
URL: https://svnweb.freebsd.org/changeset/ports/449838

Log:
  games/sdlpop: create port

  An open-source port of Prince of Persia, based on the disassembly of the DOS
  version.

  WWW: https://github.com/NagyD/SDLPoP

  PR:		221611
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> (with changes)

Changes:
  head/games/sdlpop/
  head/games/sdlpop/Makefile
  head/games/sdlpop/distinfo
  head/games/sdlpop/files/
  head/games/sdlpop/files/patch-seg009.c
  head/games/sdlpop/pkg-descr
  head/games/sdlpop/pkg-plist
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-09-14 16:05:28 UTC
A commit references this bug:

Author: swills
Date: Thu Sep 14 16:04:57 UTC 2017
New revision: 449839
URL: https://svnweb.freebsd.org/changeset/ports/449839

Log:
  Connect sdlpop to build

  PR:		221611
  Pointyhat to:	swills

Changes:
  head/games/Makefile
Comment 6 Steve Wills freebsd_committer freebsd_triage 2017-09-14 16:10:29 UTC
Committed, thanks!