Releases: libgdx/packr
Releases · libgdx/packr
Packr 4.0.0 mutiple launchers (executables) per application
- Added an option to specify the JRE directory in the configuration file.
- Changed the default config file name from
config.json
to<app name>.json
whereapp name
is the value of the--executable
field passed topackr-all.jar
.
If the executable name ismyapp
(ormyapp.exe
on Windows) then the default config file name will bemyapp.json
instead
ofconfig.json
.- Creating multiple launchers requires running packr multiple times or creating a config JSON via alternative means and copying and renaming the launcher to match the config name.
- Please update your Maven and Gradle build scripts to point to https://artifactory.nimblygames.com/artifactory/ng-public.
- Gradle will soon require HTTPS and the -snapshot and -release repository URLs are for publishing, not downloading.
Packr 3.0.3 symbolic link and pthread fixes
- Fixed symbolic link issue for Linux and macOS JREs.
- Fixed pthread not being available on Linux.
Packr 3.0.2 load all jre/bin Windows DLLs
- Packr launcher now loads all DLLs in the jre/bin directory on Windows.
- This resolves an issue on Windows where the awt.dll cannot find the Microsoft runtime libraries (MSVCP140.dll).
Packr 3.0.1 Windows DLL loading fix
- Updated tests to use the latest versions of AdoptOpenJDK 8, 11, and 15.
- Changed DLL loading on Windows to search in the JRE bin and server directories.
- This should make packr more robust to Windows runtime DLL changes.
- Fixed logging levels in ArchiveUtils
- There was trace output logging at error level.
Packr 3.0.0 several fixes
- Refactored code to fit better into libGdx/packr parent repository.
- Fixed an issue where extracting an archive with duplicate entries would fail.
- The packr-all Jar is available from GitHub packages https://github.com/libgdx/packr/packages.
- The output directory specified by
--output
must be an empty directory, or a path that does not exist.- Packr will no longer delete the output directory and then populate it.
- Packr will ensure that
jspawnhelper
has execute permissions in the bundled JRE.- This resolves an issue on macOS where Runtime.exec and Process.start calls would fail with
java.io.IOException: Cannot run program "java": error=2, No such file or directory
.
- This resolves an issue on macOS where Runtime.exec and Process.start calls would fail with
- Updated ArchiveUtils to support POSIX permissions and symbolic links.
- This resolves an issue with repackaged JREs losing execute permissions.
- Alternative Maven repositories until oss.sonatype.org (Maven central) publishing is possible.
Packr 2.7.0 launcher executable fixes (temp transition back to libGDX)
- Fixed a Gradle script error where it was bundling the release builds with debug info on Linux and macOS.
- For Linux this reduces the executable size from ~722K to ~95K.
- Compile with
-no-pie
on Linux to work around a Nautilus bug. - Added compile flags
/Os
,/Gw
,/Gy
on Windows.- Combined with the new linker flags, this reduced the executable size.
- Added
/opt:icf
,/opt:ref
linker flags on Windows.- Combined with the new compiler flags, this reduced the executable size.
- Updated Gradle wrapper to version 6.5.1.
Previous releases
As we work towards updating this repository, there are previous releases and notes available on my fork: https://github.com/karlsabo/packr/releases. This release is here for folks to try out the new changes while we get the code further updated to publish under libGDX URLs.
Maven artifacts
It's a work in progress to publish the artifacts to Maven Central under com.libgdx.packr. Version 3.0.0 should publish under those Maven Coordinates.