This is an automated email from the ASF dual-hosted git repository.
lkishalmi pushed a commit to branch release111
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/release111 by this push:
new 629cab8 [NETBEANS-2688] Update the Snap descriptors for 11.1 (#1310)
629cab8 is described below
commit 629cab8fbd3da060848c59145fea24ba80ea4969
Author: Laszlo Kishalmi <[email protected]>
AuthorDate: Fri Jun 21 07:14:29 2019 -0700
[NETBEANS-2688] Update the Snap descriptors for 11.1 (#1310)
* [NETBEANS-2688] Update the Snap descriptors for 11.1
* Removed the version from the desktop file.
Regarding NETBEANS-2729 it is better not to provide version information in
the desktop file.
* Forced Grayscale font aliasing
That gives the "best" results before Java 12 on Ubuntu.
---
nbbuild/packaging/snap/gui/netbeans.desktop | 4 ++--
nbbuild/packaging/snap/snapcraft.yaml | 19 +++++--------------
2 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/nbbuild/packaging/snap/gui/netbeans.desktop
b/nbbuild/packaging/snap/gui/netbeans.desktop
index ad720d3..3fc953f 100644
--- a/nbbuild/packaging/snap/gui/netbeans.desktop
+++ b/nbbuild/packaging/snap/gui/netbeans.desktop
@@ -17,9 +17,9 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
-Name=Apache NetBeans (development)
+Name=Apache NetBeans
Comment=Apache NetBeans, The Smarter Way to Code
-Exec=netbeans-dev.netbeans %F
+Exec=netbeans %F
Categories=Development;IDE
Icon=${SNAP}/meta/gui/icon.png
Terminal=false
diff --git a/nbbuild/packaging/snap/snapcraft.yaml
b/nbbuild/packaging/snap/snapcraft.yaml
index 5907760..d72db8c 100644
--- a/nbbuild/packaging/snap/snapcraft.yaml
+++ b/nbbuild/packaging/snap/snapcraft.yaml
@@ -14,18 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: netbeans-dev
+name: netbeans
-summary: Apache NetBeans IDE (Development Build)
+version: "11.1"
+summary: Apache NetBeans IDE
description: |
- Disclaimer:
- This is an in Development Build of Apache NetBeans IDE , this is for sole
- testing purposes and shall be not considered as a release.
-
- This package is refreshed weekly automatically from the NetBeans master
- repository. Take it as it is, there are no additional testing is being
- made on these builds.
-
Apache NetBeans IDE lets you quickly and easily develop Java
desktop, enterprise, and web applications, as well as HTML5 applications
with HTML, JavaScript, and CSS. The IDE also provides a great set of tools
for
@@ -37,9 +30,8 @@ description: |
icon: ../../platform/core.startup/src/org/netbeans/core/startup/frame512.png
confinement: classic
-grade: devel
+grade: stable
architectures: [ amd64 ]
-adopt-info: netbeans-version
parts:
netbeans-version:
@@ -47,7 +39,6 @@ parts:
source: .
override-pull: |
snapcraftctl pull
- snapcraftctl set-version "$(date +%Y%m%d)"
build:
build-attributes: [ no-patchelf ]
@@ -65,7 +56,7 @@ parts:
# Make the default cache and data directory relative to Snap user
directory
sed -i 's/${HOME}\/.netbeans/${SNAP_USER_COMMON}\/data/'
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
sed -i 's/${HOME}\/.cache\/netbeans/${SNAP_USER_COMMON}\/cache/'
$SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
- sed -i
's/-J-Dapple.laf.useScreenMenuBar=true/-J-Dplugin.manager.install.global=false/'
$SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
+ sed -i
's/-J-Dapple.laf.useScreenMenuBar=true/-J-Dplugin.manager.install.global=false
-J-Dawt.useSystemAAFontSettings=on/'
$SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
stage:
- $netbeans
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists