[Pkg-pascal-devel] Castle Game Engine 6.0 release in Debian

Michalis Kamburelis michalis.kambi at gmail.com
Tue Mar 21 18:44:25 UTC 2017


2017-03-21 5:56 GMT+01:00 Michalis Kamburelis <michalis.kambi at gmail.com>:
> I just tested that everything works fine with this setup, on Debian
> testing.

I just simplified packaging this for you:

- "make strip-precompiled-libraries" now removes our Gradle wrappers.
- And the build tool automatically calls "gradle" on $PATH (e.g. from
the "gradle" Debian package) if the local Gradle wrapper is missing.

So, for packaging, apply over CGE 6.0.2 these two changes:
- https://github.com/castle-engine/castle-engine/commit/c11b1f4bf19a5ef4ee51624bf6356aaa801b0f8d
- https://github.com/castle-engine/castle-engine/commit/860b28e598eee88a658f378a2c61ac25ceae5371
  (protip: you can add ".patch" at the end of these URLs to get them
as a diff, https://owenou.com/ten-things-you-didnt-know-git-and-github-could-do
:)
- And run "make strip-precompiled-libraries".

That's it, our process will now use "gradle" from the Debian package.

And in the future (CGE 6.0.4 or 6.2) you will not need to do anything
besides "make strip-precompiled-libraries" when packaging.

I have also marked to test that this works before each release (do
"make strip-precompiled-libraries", recompile some Android examples).

Regards,
Michalis



More information about the Pkg-pascal-devel mailing list