lkishalmi closed pull request #952: [NETBEANS-1372] Updated Snap descriptors
for Release 10
URL: https://github.com/apache/incubator-netbeans/pull/952
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/nbbuild/packaging/snap/gui/netbeans.desktop
b/nbbuild/packaging/snap/gui/netbeans.desktop
index a872037252..bad65d7180 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=NetBeans Dev
-Comment=The Smarter Way to Code
+Name=NetBeans 10.0
+Comment=Apache NetBeans, The Smarter Way to Code
Exec=netbeans %F
-Categories=Application;Development;Java;IDE
+Categories=Application;Development;Java;PHP;JS;JavaScript;IDE
Icon=${SNAP}/meta/gui/icon.png
Terminal=false
diff --git a/nbbuild/packaging/snap/snapcraft.yaml
b/nbbuild/packaging/snap/snapcraft.yaml
index bb9be08ea0..f2846aa261 100644
--- a/nbbuild/packaging/snap/snapcraft.yaml
+++ b/nbbuild/packaging/snap/snapcraft.yaml
@@ -15,7 +15,7 @@
# limitations under the License.
name: netbeans
-version: "9.0-dev"
+version: "10.0"
summary: NetBeans Java IDE
description: |
NetBeans IDE lets you quickly and easily develop Java desktop, mobile, and
@@ -23,7 +23,7 @@ description: |
CSS. The IDE also provides a great set of tools for PHP and C/C++ developers.
It is free and open source and has a large community of users and developers
around the world.
-icon: ../../ide.branding/release/netbeans.png
+icon: ../../platform/core.startup/src/org/netbeans/core/startup/frame512.png
confinement: classic
grade: devel
architectures: [ amd64 ]
@@ -47,6 +47,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-Dapple.laf.useScreenMenuBar=true
-J-Dawt.useSystemAAFontSettings=on/'
$SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
stage:
- $netbeans
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
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