Bug 255350 - games/uqm: update to 0.8.0
Summary: games/uqm: update to 0.8.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 19:08 UTC by Benjamin Lutz
Modified: 2021-12-19 12:31 UTC (History)
2 users (show)

See Also:


Attachments
SHAR containing updated port (8.25 KB, text/plain)
2021-04-23 19:08 UTC, Benjamin Lutz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Lutz 2021-04-23 19:08:28 UTC
Created attachment 224385 [details]
SHAR containing updated port

Update games/uqm to 0.8.0. Since I basically rewrote the entire port, I'm submitting a .shar, as it is much smaller than the diff. Move the old games/uqm version out of the way before extracting it!

The changes to the game are summarized here: http://sc2.sourceforge.net/ . Noteworthy from a porter's perspective is the switch to SDL2.

Changes to the port:
- Licensing is now handled properly: the game content is marked as being CC licensed, rather than being lumped in with he GPL'ed code.
- The game's internal libmikmod is now used rather than the system one, as the uqm developers indicated that they've added changes to their own version.
- Use the MAKE_JOBS system to speed up the build.
- Don't depend on uqm's custom build system to install files, but do it explicitely in the do-install target. 
- Respect ${CC} rather than hardcode cc.
- Improve wording in user-visible texts.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2021-04-26 12:44:50 UTC
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field.

^Triage: Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval.
--
Attachment -> Details -> maintainer-approval [+]

Q/A:  
 /tmp/255350/games/uqm/files/patch-build-unix-build_functions: patch was not generated using ``make makepatch''.  It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format.
 /tmp/255350/games/uqm/files/patch-build-unix-config_proginfo_build: patch was not generated using ``make makepatch''.  It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format.
 /tmp/255350/games/uqm/files/patch-build-unix-config_proginfo_host: patch was not generated using ``make makepatch''.  It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format.

^Triage: Please confirm this change passes QA (portlint, poudriere at least).
--
https://www.freebsd.org/doc/en/books/porters-handbook/testing.html

shar files are the recommended way to send new files but for updates, a (git) diff is more convenient.


Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-12-19 12:31:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e295d4f5b61d107ecb53f23365ad1a439754b013

commit e295d4f5b61d107ecb53f23365ad1a439754b013
Author:     Benjamin Lutz <mail@maxlor.com>
AuthorDate: 2021-12-19 12:29:58 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-12-19 12:30:31 +0000

    games/uqm: Update to 0.8.0

    PR:             255350

 games/uqm/Makefile                                 | 158 +++++++++++----------
 games/uqm/distinfo                                 |  21 +--
 .../files/patch-build-unix-build_functions (gone)  |  57 --------
 .../patch-build-unix-config_proginfo_build (gone)  |  16 ---
 .../patch-build-unix-config_proginfo_host (gone)   |  44 ------
 .../files/patch-build_unix_build__functions (new)  |  10 ++
 games/uqm/files/patch-config.state (new)           |  17 +++
 games/uqm/pkg-descr                                |  15 +-
 games/uqm/pkg-plist                                |  16 ++-
 9 files changed, 142 insertions(+), 212 deletions(-)