Bug 227222 - devel/allegro-devel Update to 5.2.4
Summary: devel/allegro-devel Update to 5.2.4
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2018-04-03 00:14 UTC by Rainbow
Modified: 2020-04-05 17:09 UTC (History)
3 users (show)

See Also:

updateto524.diff (1.25 KB, patch)
2018-04-03 00:14 UTC, Rainbow
no flags Details | Diff
Fixed .diff (1.24 KB, patch)
2018-04-03 00:16 UTC, Rainbow
no flags Details | Diff
Full diff (76.00 KB, patch)
2020-04-05 16:00 UTC, Andy Mender
no flags Details | Diff
Full diff (74.69 KB, patch)
2020-04-05 17:09 UTC, Andy Mender
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainbow 2018-04-03 00:14:14 UTC
Created attachment 192136 [details]

As noted on http://liballeg.org/ , the allegro library is currently on 5.2.4 and now uses GitHub rather than SourceForge.
I've attached a diff that builds the current latest version.
Comment 1 Rainbow 2018-04-03 00:16:11 UTC
Created attachment 192138 [details]
Fixed .diff
Comment 2 Rainbow 2018-05-21 00:54:24 UTC
Submitted https://reviews.freebsd.org/D15504 to request maintainership and update
Comment 3 Koichiro Iwao freebsd_committer 2019-02-09 16:07:50 UTC
Until the review complere, I release this.
Comment 4 Tobias Kortkamp freebsd_committer 2019-07-04 17:40:04 UTC
Maintainer has been reset in ports r505847.
Comment 5 Andy Mender 2020-04-04 21:02:07 UTC
I see this hasn't been touched for a longer while so I decided to tackle it, since I want to learn allegro5 for some of my game projects.

I applied the changes and suggestions listed here: https://reviews.freebsd.org/D15504

The most recent stable release is 5.2.6, however, and that's the one I'm targeting. The main issues are related to man pages, which have been removed in favor of the Haskell-based pandoc, and example projects and demos, which somehow have moved to different sub-directories.

I will upload diffs of the Makefile, distinfo, pkg-descr, etc. once I actually manage to build the port and install it.
Comment 6 Andy Mender 2020-04-05 16:00:27 UTC
Created attachment 213096 [details]
Full diff

I revised the Makefile, pkg-plist, added a patch file for a new Allegro5 demo, regenerated the distinfo file and ran a couple of test builds. The complete diff is attached.
Comment 7 Andy Mender 2020-04-05 17:09:09 UTC
Created attachment 213100 [details]
Full diff

There were still some erroneous records in the pkg-plist file. Apologies for that. The new diff rectifies that and the port now builds and installs fully.