New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openrct2: init at 0.0.4 #16685
openrct2: init at 0.0.4 #16685
Conversation
@@ -0,0 +1,41 @@ | |||
{ stdenv, fetchurl, cmake, pkgconfig | |||
, SDL2, SDL2_ttf, fontconfig, jansson, speexdsp, openssl, curl }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need openssl for 0.0.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@janisozaur Hmm, the build instructions claim that it's an (optional) dependency. Are those instructions outdated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, they are in sync with our develop
branch. You are using older version of code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
libzip
is also required now.
}) | ||
openrct2 | ||
openrct2-engine; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you add both to top-level, then why bother creating a set first in default.nix
and then inheriting from that set?
@joepie91 what is the status of this? |
@joepie91 ping |
Apologies, I've been unexpectedly busy lately, and just switched my main system over to NixOS. I still need to remove the |
We have made significant strides with openrct2, it's fully functional and architecture independent (as long as we're talking little-endian archs), this could get updated to reflect that fact. We haven't yet made a release, but we plan on having it at some point in near future. You may also want to know that we now have run-time option to select |
a more flexible park with optionally no restrictions or | ||
finance. | ||
''; | ||
homepage = http://www.openrct2.website/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no www.
in here.
I've not had enough time to look at this before due to personal circumstances, but I'll have a look at this and fix it up tomorrow.
What specifically would you like to see changed? |
We don't require i686 anymore, so you can target native package, which I assume in most cases would be x86_64 |
@janisozaur There doesn't appear to have been a new stable release, though? http://openrct2.website still shows 0.0.4 as the latest stable release for Linux, and that one didn't support x86_64. Or was the release changed without incrementing the version number? |
There is a 0.0.6 now. Please get this ready, I want to try it out! Also, feel free to put my in as maintainer of the package. |
Is this stalled? |
@copumpkin apparently yes. If you're NixOS user, maybe you can take it up? Feel free to join our gitter chat (https://gitter.im/OpenRCT2/OpenRCT2) if you have questions |
Probably superseded by #30409 |
Closing because #30409 was merged. |
Motivation for this change
Package is currently missing from nixpkgs, and this fixes that :)
Things done
(nix.useChroot on NixOS,
or option
build-use-chroot
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)Not familiar with either sandboxing or nox-review and didn't find out about their existence until I went to create a PR (nor does anything really seem to explain this), so I haven't done those steps yet.
This PR adds two packages -
openrct2
(marked 'unfree') andopenrct2-engine
(marked GPL3). The reason for this is that OpenRCT2 is an RCT2 clone that is currently in a state where there are no original assets yet. This means that in the majority of cases, the user will want to install the game using assets from the GOG installer for the original RCT2, and so that is the default.Both for the purpose of Hydra builds and for users who want to use a different source for their game assets, the
openrct2-engine
package is available, which builds and installs just the OpenRCT2 engine itself. Theopenrct2
package will installopenrct2-engine
, extract the assets from the GOG installer (or ask the user for it if they haven't provided it yet), and then use a wrapper to load OpenRCT2 with the installed assets.The wrapper currently modifies the OpenRCT2 configuration file in the user's home directory; unfortunately, this cannot be resolved until OpenRCT2/OpenRCT2#3981 is fixed.
Note that this package is only available in an i686 variant - this is intentional, as it is not currently possible to build a 64-bit version of OpenRCT2.
EDIT: Forgot to mention, I had to add a callPackages_i686 to
top_level.nix
as well, as it didn't exist yet.