Skip to content

Commit

Permalink
Update configuration for Apache NetBeans 14.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcsmith-net committed Jun 9, 2022
1 parent 6234e0f commit 8103d4b
Show file tree
Hide file tree
Showing 26 changed files with 179 additions and 304 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,23 @@ the Azul provided hash. To use a different JDK, update the configuration file.
Build the installer by running -

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

### Build MacOS installer

You will require `swift`, `codesign` and `pkgbuild` installed on the system.

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

Add your Apple developer IDs for code signing and installer signing to the
configuration file.

Build the installer by running -

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

### Build DEB packages
Expand All @@ -50,7 +66,7 @@ downloads and builds a DEB that runs on any architecture with the system JDK.
Build the package by running eg. -

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

### Build AppImages
Expand All @@ -69,7 +85,7 @@ hash.
Build the AppImage by running eg. -

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

## Legal
Expand Down
13 changes: 9 additions & 4 deletions linux-all/netbeans-all-deb.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=13
package.version=14
# Packaging type.
package.type=linux-deb
# Path to Java runtime to include in the package (default none).
Expand All @@ -11,13 +11,18 @@ package.deb.icon=
# Path to SVG icon. Will only be used if package.deb.icon also set. Defaults to Apache NetBeans logo.
package.deb.svg-icon=
# Optional name for .desktop file (without suffix). Defaults to sanitized package name.
package.deb.desktop-filename=apache-netbeans-ide-13
package.deb.desktop-filename=apache-netbeans-ide-14
# StartupWMClass to set in .desktop file. Should match the WMClass of the main application window.
package.deb.wmclass=Apache NetBeans IDE 13
package.deb.wmclass=Apache NetBeans IDE 14
# Application category (or categories) to use in the .desktop file.
package.deb.category=Development;Java;IDE;
# Maintainer information as name and email. Mandated in Debian Control file.
package.deb.maintainer=Codelerity Ltd. <[email protected]>
# Description of package for Debian Control file. Defaults to information from package name and version.
package.deb.description=Package of ${package.name} ${package.version}.

# Optional path to custom Debian Control file template.
package.deb.control-template=
# Optional path to custom .desktop file template.
package.deb.desktop-template=
# Optional path to custom launcher script template.
package.deb.launcher-template=

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5552dffee063045922af2d18d441f42df505ad52 bellsoft-jdk18.0.1.1+2-linux-arm32-vfp-hflt.tar.gz
9 changes: 6 additions & 3 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=13
package.version=14
# Packaging type.
package.type=linux-appimage
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/bellsoft-jdk17.0.2+9-linux-arm32-vfp-hflt.tar.gz
package.runtime=${CONFIG}/bellsoft-jdk18.0.1.1+2-linux-arm32-vfp-hflt.tar.gz
# Path to appimagetool (required) - can be downloaded from https://github.com/AppImage/AppImageKit/releases/
package.appimage.tool=${CONFIG}/appimagetool-armhf.AppImage
# Path to 48x48 png icon as required by xdg specification. Defaults to Apache NetBeans logo.
Expand All @@ -14,4 +14,7 @@ package.appimage.icon=
package.appimage.category=Development;Java;IDE;
# Architecture to build appimage for. By default will extract from appimagetool name.
package.appimage.arch=arm

# Optional path to custom .desktop file template.
package.appimage.desktop-template=
# Optional path to custom AppRun launcher script template.
package.appimage.launcher-template=
9 changes: 6 additions & 3 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=13
package.version=14
# Packaging type.
package.type=linux-appimage
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz
package.runtime=${CONFIG}/zulu18.30.11-ca-jdk18.0.1-linux_x64.tar.gz
# Path to appimagetool (required) - can be downloaded from https://github.com/AppImage/AppImageKit/releases/
package.appimage.tool=${CONFIG}/appimagetool-x86_64.AppImage
# Path to 48x48 png icon as required by xdg specification. Defaults to Apache NetBeans logo.
Expand All @@ -14,4 +14,7 @@ package.appimage.icon=
package.appimage.category=Development;Java;IDE;
# Architecture to build appimage for. By default will extract from appimagetool name.
package.appimage.arch=

# Optional path to custom .desktop file template.
package.appimage.desktop-template=
# Optional path to custom AppRun launcher script template.
package.appimage.launcher-template=
15 changes: 10 additions & 5 deletions linux-x64/netbeans-x64-deb.properties
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=13
package.version=14
# Packaging type.
package.type=linux-deb
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz
package.runtime=${CONFIG}/zulu18.30.11-ca-jdk18.0.1-linux_x64.tar.gz
# Path to 48x48 png icon as required by xdg specification. Defaults to Apache NetBeans logo.
package.deb.icon=
# Path to SVG icon. Will only be used if package.deb.icon also set. Defaults to Apache NetBeans logo.
package.deb.svg-icon=
# Optional name for .desktop file (without suffix). Defaults to sanitized package name.
package.deb.desktop-filename=apache-netbeans-ide-13
package.deb.desktop-filename=apache-netbeans-ide-14
# StartupWMClass to set in .desktop file. Should match the WMClass of the main application window.
package.deb.wmclass=Apache NetBeans IDE 13
package.deb.wmclass=Apache NetBeans IDE 14
# Application category (or categories) to use in the .desktop file.
package.deb.category=Development;Java;IDE;
# Maintainer information as name and email. Mandated in Debian Control file.
package.deb.maintainer=Codelerity Ltd. <[email protected]>
# Description of package for Debian Control file. Defaults to information from package name and version.
package.deb.description=Package of ${package.name} ${package.version}.

# Optional path to custom Debian Control file template.
package.deb.control-template=
# Optional path to custom .desktop file template.
package.deb.desktop-template=
# Optional path to custom launcher script template.
package.deb.launcher-template=

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
975417f06145d3af06cb9b83fee2032f80fdae80766b1397157527c125bf00c1 zulu18.30.11-ca-jdk18.0.1-linux_x64.tar.gz
15 changes: 0 additions & 15 deletions macos-x64/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions macos-x64/jarBinaries

This file was deleted.

70 changes: 0 additions & 70 deletions macos-x64/jdkBinaries

This file was deleted.

12 changes: 0 additions & 12 deletions macos-x64/macos-x64-pkg.properties

This file was deleted.

18 changes: 0 additions & 18 deletions macos-x64/nativeBinaries

This file was deleted.

26 changes: 26 additions & 0 deletions macos-x64/netbeans-macos-x64.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Application name (required).
package.name=Apache NetBeans
# Application version (defaults 1.0).
package.version=14
# Packaging type.
package.type=macos-pkg
# Path to Java runtime to include in the package (default none).
package.runtime=${CONFIG}/zulu18.30.11-ca-jdk18.0.1-macosx_x64.tar.gz
# Value for CFBundleIdentifier.
package.macos.bundleid=com.codelerity.netbeans
# Path to icon file (*.icns). Defaults to Apache NetBeans logo.
package.macos.icon=
# Optional path to Info.plist template.
package.macos.info-template=
# Optional path to launcher (main.swift) template.
package.macos.launcher-template=
# Optional path to codesign entitlements template.
package.macos.entitlements-template=
# Search pattern for native binaries that need to be code signed.
package.macos.codesign-files={*.dylib,*.jnilib,**/nativeexecution/MacOSX-*/*,Contents/Home/bin/*,Contents/Home/lib/jspawnhelper}
# Search pattern for JARs that bundle native binaries that need to be code signed.
package.macos.codesign-jars={jna-5*.jar,junixsocket-native-common-*.jar,launcher-common-*.jar,jansi-*.jar,nbi-engine.jar}
# Code signing identity as passed to Codesign.
package.macos.codesign-id=
# Installer signing identity as passed to Pkgbuild.
package.macos.pkgbuild-id=
16 changes: 0 additions & 16 deletions macos-x64/sandbox.plist

This file was deleted.

Loading

0 comments on commit 8103d4b

Please sign in to comment.