Skip to content

Commit

Permalink
Update configuration for Apache NetBeans 17.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcsmith-net committed Feb 20, 2023
1 parent ae1fb08 commit 7b60c13
Show file tree
Hide file tree
Showing 18 changed files with 75 additions and 55 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ For more information see [https://www.codelerity.com/netbeans/](https://www.code
This repository contains configuration files for building an Inno Setup Windows
installer, Linux Deb packages (x64 / all), and Linux AppImages (x64 / Arm).

Before starting, make a build of NBPackage inside an `nbpackage` directory (or
download a [pre-release binary](https://github.com/neilcsmith-net/netbeans-tools/releases)).
Before starting, download and unzip [nbpackage-1.0-beta2-bin](https://archive.apache.org/dist/netbeans/netbeans-nbpackage/1.0-beta2/nbpackage-1.0-beta2-bin.zip)
into an `nbpackage` directory. Executing `./nbpackage/bin/nbpackage --help` should show
the help text for the packager.

Download a copy of the official Apache NetBeans binary zip release, and check against
the hash file in the repository.
Expand All @@ -27,15 +28,15 @@ You will require an installation of Inno Setup from [https://jrsoftware.org/isdl

The configuration files here are designed to build on Linux via an installation of
Inno Setup in Wine. Tweak the configuration file to point to the right place if building
on Windows.
on Windows, and use `nbpackage.bat`.

Download the right Azul Zulu JDK into the `windows-x64-iss` directory, checking against
the Azul provided hash. To use a different JDK, update the configuration file.

Build the installer by running -

```
./nbpackage/bin/nbpackage --input netbeans-16-bin.zip --config windows-x64-iss/netbeans-windows-x64.properties --output dist/
./nbpackage/bin/nbpackage --input netbeans-17-bin.zip --config windows-x64-iss/netbeans-windows-x64.properties --output dist/
```

### Build MacOS installer
Expand All @@ -51,7 +52,7 @@ configuration file.
Build the installer by running -

```
./nbpackage/bin/nbpackage --input netbeans-16-bin.zip --config macos-x64/netbeans-macos-x64.properties --output dist/
./nbpackage/bin/nbpackage --input netbeans-17-bin.zip --config macos-x64/netbeans-macos-x64.properties --output dist/
```

### Build DEB packages
Expand All @@ -63,7 +64,7 @@ and check against the provided hash file.
Build the package by running eg. -

```
./nbpackage/bin/nbpackage --input netbeans-16-bin.zip --config linux-x64/netbeans-x64-deb.properties --output dist/
./nbpackage/bin/nbpackage --input netbeans-17-bin.zip --config linux-x64/netbeans-x64-deb.properties --output dist/
```

### Build RPM packages
Expand All @@ -75,7 +76,7 @@ provided hash file.
Build the package by running eg. -

```
./nbpackage/bin/nbpackage --input netbeans-16-bin.zip --config linux-x64/netbeans-x64-rpm.properties --output dist/
./nbpackage/bin/nbpackage --input netbeans-17-bin.zip --config linux-x64/netbeans-x64-rpm.properties --output dist/
```


Expand All @@ -88,14 +89,14 @@ Download the x64 or Arm executable of [AppImageKit](https://github.com/AppImage/
into the relevant directory, checking against the provided hash. AppImageKit is itself
an AppImage - make sure to mark it executable before continuing.

The x64 AppImage will use the same JDK as the DEB above. For Arm (Raspberry Pi)
The x64 AppImage will use the same JDK as the DEB and RPM above. For Arm (Raspberry Pi)
download the relevant BellSoft Liberica JDK and check against BellSoft's provided
hash.

Build the AppImage by running eg. -

```
./nbpackage/bin/nbpackage --input netbeans-16-bin.zip --config linux-arm32/netbeans-arm-appimage.properties --output dist/
./nbpackage/bin/nbpackage --input netbeans-17-bin.zip --config linux-arm32/netbeans-arm-appimage.properties --output dist/
```

## Legal
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7cd55978159b3b907b97fff162c626be08371961 bellsoft-jdk17.0.6+10-linux-arm32-vfp-hflt.tar.gz
4 changes: 2 additions & 2 deletions linux-arm32/netbeans-arm-appimage.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=16
package.version=17
# Packaging type.
package.type=linux-appimage
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/bellsoft-jdk17.0.5+8-linux-arm32-vfp-hflt.tar.gz
package.runtime=${CONFIG}/bellsoft-jdk17.0.6+10-linux-arm32-vfp-hflt.tar.gz
# A single-line description of the package. Not all packagers will display this.
package.description=Package of ${package.name} ${package.version}.
# Application publisher. Not all packagers will display this.
Expand Down
4 changes: 2 additions & 2 deletions linux-x64/netbeans-x64-appimage.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=16
package.version=17
# Packaging type.
package.type=linux-appimage
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz
package.runtime=${CONFIG}/zulu17.40.19-ca-jdk17.0.6-linux_x64.tar.gz
# A single-line description of the package. Not all packagers will display this.
package.description=Package of ${package.name} ${package.version}.
# Application publisher. Not all packagers will display this.
Expand Down
4 changes: 2 additions & 2 deletions linux-x64/netbeans-x64-deb.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=16
package.version=17
# Packaging type.
package.type=linux-deb
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz
package.runtime=${CONFIG}/zulu17.40.19-ca-jdk17.0.6-linux_x64.tar.gz
# A single-line description of the package. Not all packagers will display this.
package.description=Package of ${package.name} ${package.version}.
# Application publisher. Not all packagers will display this.
Expand Down
4 changes: 2 additions & 2 deletions linux-x64/netbeans-x64-rpm.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=16
package.version=17
# Packaging type.
package.type=linux-rpm
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz
package.runtime=${CONFIG}/zulu17.40.19-ca-jdk17.0.6-linux_x64.tar.gz
# A single-line description of the package. Not all packagers will display this.
package.description=Package of ${package.name} ${package.version}.
# Application publisher. Not all packagers will display this.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2867572c5af67d7bf4c53bf9d96c35977eebdfdbf26202c2dc7a1acbbea3f6b7 zulu17.40.19-ca-jdk17.0.6-linux_x64.tar.gz
4 changes: 2 additions & 2 deletions macos-x64/netbeans-macos-x64.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=16
package.version=17
# Packaging type.
package.type=macos-pkg
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz
package.runtime=${CONFIG}/zulu17.40.19-ca-jdk17.0.6-macosx_x64.tar.gz
# A single-line description of the package. Not all packagers will display this.
package.description=Package of ${package.name} ${package.version}.
# Application publisher. Not all packagers will display this.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1710c8b2f53d78760c4f446e29119a32f40afb0a3830f68c02dc37b11799ab6f zulu17.40.19-ca-jdk17.0.6-macosx_x64.tar.gz
1 change: 0 additions & 1 deletion netbeans-16-bin.zip.sha512

This file was deleted.

1 change: 1 addition & 0 deletions netbeans-17-bin.zip.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f513d86a2a3f86ff56947fa1721426da331d9b5d45a67a4fc460f7eb1cd5e53557eb79ed2feb1dae301012448c05d2bd2c56175fdbd997ba2a09f274d9862dfb ./netbeans-17-bin.zip
Loading

0 comments on commit 7b60c13

Please sign in to comment.