Summary: | games/devilutionX: update to 1.4 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dmitry Marakasov <amdmi3> | ||||
Component: | Individual Port(s) | Assignee: | Nuno Teixeira <eduardo> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | Flags: | bugzilla:
maintainer-feedback?
(eduardo) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Dmitry Marakasov
2022-05-18 10:41:51 UTC
Hi! Nice work you have done, I was having some troubles upgrading to 1.4 because I can build it and run it from work/.build/devilutionx but cmake don't install anything. Author told me to fix zerotier: "It's failing to build ZeroTier, try disabeling it with this CMake argument: -DDISABLE_ZERO_TIER=ON" and it works. [1] For some reason I used 'git apply devilutionx.patch'but no error shows up but nothing change, git status doesn't show any changes, strange. [1] https://github.com/diasurgical/devilutionX/issues/4554#issuecomment-1120900811 Your patch shows very good port skills and I'm not prepared for that. Do you accept maintain this port? Thats a very important port to me because I still play Diablo :) Yours, Nuno Teixeira Feel free to commit this update. Thanks > Your patch shows very good port skills and I'm not prepared for that. > Do you accept maintain this port? Only if that doesn't take the fun away from you. I can explain how the each change was made if you wish. > Thats a very important port to me because I still play Diablo :) Same here, finally having F/OSS diablo is beyond my dreams. Last time I've played with wine and in the end it ruined my savegame, and now it can run natively. > Feel free to commit this update. Committed, thanks! With an small additional change of removing dependency on the font which is no longer needed as suggested by one of the devilution devs. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=973414029d3442683b314739d3b4df5153b04394 commit 973414029d3442683b314739d3b4df5153b04394 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-05-17 14:43:57 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-05-18 18:54:10 +0000 games/devilutionX: update to 1.4 - Update to 1.4 - Drop dependency on font, no longer needed - Drop unnecessary .desktop file patches (also upstream PR exists) - Install from the port (instead of patching CMakeLists.txt), to be more explicit and flexible - Convert to pkg-plist as there are more files now - The new version tries to fetch dependencies from the net, for some depenencies this is unconditional. Fetch these properly with GH_TUPLE and place in a directory where CMake expectes them. - Upstream code expects patch component in the version, so add an extra .0 to VERSION_NUM. This should not break on (future) X.Y.Z versions as the component will move to micropatch position and will be ignored - BINARY_RELEASE option is gone - Untie DEBUG (engine debug bode) from WITH_DEBUG knob (build debug binary), these are orthogonal - Properly support optional depends; zerotier is the only one broken as it conflicts with system header (see https://github.com/diasurgical/devilutionX/issues/4585) - Install devilutionx (own) data file - Since it's not versioned, use a little hack to add a tag to the filename to avoid clashes on the future updates; this seemed less evil than introducing DIST_SUBDIR - Use two-level datadir to be consistent with ~/.local/share path - Update pkg-message (Diablo data file doesn't have to be lowercase, works either way) PR: 264064 Approved by: eduardo@FreeBSD.org (maintainer) games/devilutionX/Makefile | 101 ++++++++++++++++----- games/devilutionX/distinfo | 26 +++++- games/devilutionX/files/patch-CMakeLists.txt | 20 ++-- ...tch-Packaging_fedora_devilutionx.desktop (gone) | 17 ---- .../files/patch-Source_engine_random.cpp (new) | 14 +++ .../devilutionX/files/patch-Source_init.cpp (new) | 11 +++ games/devilutionX/files/patch-Source_sound.h (new) | 14 +++ games/devilutionX/pkg-message | 3 +- games/devilutionX/pkg-plist (new) | 6 ++ 9 files changed, 156 insertions(+), 56 deletions(-) Hello Dmitry! 1. History: I was the "fire starter" of this port. In 2019 I was looking for a new Unix engine to run Diablo and I found this project. I have tried to build it from source without success and I've started to talk with dev asking for help. One day a cool guy called Malavon see some of the issues I published and he start to create a port, 0.4.0. One day he stops updating port and I send some patches to next versions until the day he said that he don't have too much time left to maintain it so I take mainatinership. 3 or 4 files/patches were included upstream with me as maintainer. 2. Maintainership: You maintain 394 ports :) Please maintain this one as well because it is a big step for me that I'm not prepared to. I'm still a newbie commiter that learns every day with small steps. Please open a PR for taking maintainership or use this one. Cheers, Nuno Teixeira > Please maintain this one as well because it is a big step for me that I'm not prepared to. > I'm still a newbie commiter that learns every day with small steps. Okay, feel free to take it back someday. > You maintain 394 ports :) That is why I'd be happy to share my knowledge and responsibility. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=903d341a2f2ac349671f00fcba1440c1aa71b624 commit 903d341a2f2ac349671f00fcba1440c1aa71b624 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-05-19 17:36:15 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-05-19 17:36:17 +0000 games/devilutionX: take maintainership As proposed by maintainer. While here, update pkg-message with instructions on copying files for Diablo: Hellfire expansion. PR: 264064 Approved by: maintainer games/devilutionX/Makefile | 2 +- games/devilutionX/pkg-message | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) |