aboutsummaryrefslogtreecommitdiff
path: root/development/netbeans
diff options
context:
space:
mode:
authorSukma Wardana <sukma.wardana@mail.com>2018-10-27 03:25:20 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-10-27 03:25:43 +0100
commit586deb5374eddfa1bf1227a5440d75f52346d7ad (patch)
treed87cb5fc84a7f566f9d2706e3816a680d29c07bc /development/netbeans
parente9757d81ade3794fc355361e4b7558243f82a385 (diff)
development/netbeans: Updated for version 9.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/netbeans')
-rw-r--r--development/netbeans/README32
-rw-r--r--development/netbeans/doinst.sh10
-rw-r--r--development/netbeans/netbeans3
-rw-r--r--development/netbeans/netbeans.SlackBuild92
-rw-r--r--development/netbeans/netbeans.desktop7
-rw-r--r--development/netbeans/netbeans.info12
-rw-r--r--development/netbeans/netbeans.pngbin1944 -> 1755 bytes
-rw-r--r--development/netbeans/slack-desc16
8 files changed, 75 insertions, 97 deletions
diff --git a/development/netbeans/README b/development/netbeans/README
index 15a9f9d36f8e3..5855eb576ee0b 100644
--- a/development/netbeans/README
+++ b/development/netbeans/README
@@ -1,13 +1,14 @@
-Netbeans - Free and Open-Source IDE for Java Development and More.
+Apache NetBeans Integrated Development Environment (IDE) 9.0
-The NetBeans IDE is a free, Open-Source Integrated Development
-Environment for software developers. The IDE runs on many platforms
-including Windows, Linux, Solaris, and the MacOS. The NetBeans IDE
-provides developers with all the tools they need to create
-professional cross-platform desktop, enterprise, web and mobile
-applications.
+Apache NetBeans (incubating) 9.0 is the Apache NetBeans incubator
+release of the NetBeans Java SE IDE, i.e., the NetBeans Platform that
+underpins NetBeans IDE, together with all the features and tools
+applicable to general Java development - including Java Swing,
+JavaFX, and the support created specifically for Java 9,
+i.e., JShell, JLink, and Jigsaw.
+
+NOTE:
-NOTES:
****
UPGRADING: If you come across an error opening your projects,
check the files in the folder /opt/netbeans/etc.
@@ -15,15 +16,6 @@ NOTES:
them with new.
****
- To use an specified locale you should execute netbeans as:
- netbeans --locale $LANGOPT
- where $LANGOPT can be 'ja','zh:CN' or 'pt:BR', default is english.
-
- If you want to make this a default option for netbeans, then add it
- into the line #6(netbeans_default_options) in the file
- /opt/netbeans/etc/netbeans.conf
-
- To use an alternative bundle you can set BUNDLE variable:
- $ BUNDLE=javaee ./netbeans.SlackBuild
-
-GlassFish and Apache Tomcat are not available in this package.
+ Apache NetBeans 9.0 only supports Java SE and does not support
+ Java EE / Jakarta EE. The process donating Java EE / Jakarta EE
+ module for Apache NetBeans is still under way.
diff --git a/development/netbeans/doinst.sh b/development/netbeans/doinst.sh
index 75b1c69fe1efe..456719b7819e7 100644
--- a/development/netbeans/doinst.sh
+++ b/development/netbeans/doinst.sh
@@ -12,16 +12,6 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
config opt/netbeans/etc/netbeans.conf.new
config opt/netbeans/etc/netbeans.clusters.new
config opt/netbeans/etc/netbeans.import.new
diff --git a/development/netbeans/netbeans b/development/netbeans/netbeans
new file mode 100644
index 0000000000000..429b49acfb841
--- /dev/null
+++ b/development/netbeans/netbeans
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd $HOME
+/opt/netbeans/bin/netbeans $@
diff --git a/development/netbeans/netbeans.SlackBuild b/development/netbeans/netbeans.SlackBuild
index c79f77441d3eb..05b8fbd0dbafc 100644
--- a/development/netbeans/netbeans.SlackBuild
+++ b/development/netbeans/netbeans.SlackBuild
@@ -1,73 +1,64 @@
#!/bin/sh
-# Slackware build script for Netbeans IDE
+# Slackware build script for netbeans
-# Copyright (c) 2008-2009, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# All rights reserved.
+# Copyright 2018 Sukma Wardana <sukma.wardana@mail.com>
#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# 1.- Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+# and associated documentation files (the "Software"), to deal in the Software without restriction,
+# including without limitation the rights to use, copy, modify, merge, publish, distribute,
+# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# This script is just a binary repackaging.
-
-# Updated by Andre Barboza <bmg.andre@gmail.com>
+# The above copyright notice and this permission notice shall be included in all copies or
+# substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+# PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
+# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
PRGNAM=netbeans
-VERSION=${VERSION:-8.2}
-ARCH=noarch
+VERSION=${VERSION:-9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-BUNDLE=${BUNDLE:+-$BUNDLE}
-DATE="201609300101"
+ARCH=noarch
+
+SRCNAM=incubating-netbeans-java-${VERSION}-bin
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-${PRGNAM}${BUNDLE}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG/opt $OUTPUT
-cd $PKG/opt
-unzip -o $CWD/$PRGNAM-$VERSION-$DATE${BUNDLE}.zip
-chown -R root:root .
+rm -rf ${PKG}
+mkdir -p ${TMP} ${PKG}/opt ${OUTPUT}
+
+cd ${PKG}/opt
+unzip -o ${CWD}/${SRCNAM}.zip
+cd ${PRGNAM}
+chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Add netbeans to KDE/GNOME/XFCE menu
-install -D -m 0644 $CWD/$PRGNAM.desktop \
- $PKG/usr/share/applications/$PRGNAM.desktop
+# Add apache netbeans to KDE/GNOME/XFCE menu
+install -D -m 644 ${CWD}/${PRGNAM}.desktop \
+ ${PKG}/usr/share/applications/${PRGNAM}.desktop
-# Add an icon for netbeans
-install -D -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+# Add an icon for apache netbeans
+install -D -m 644 ${CWD}/${PRGNAM}.png ${PKG}/usr/share/pixmaps/${PRGNAM}.png
-# Add an script to call netbeans from /usr/bin.
-mkdir -p $PKG/usr/bin
-cat <<- EOF > $PKG/usr/bin/$PRGNAM
-#!/bin/sh
-cd \$HOME
-/opt/$PRGNAM/bin/netbeans \$@
-EOF
-chmod 0755 $PKG/usr/bin/$PRGNAM
+# Add script to call netbeans from /usr/bin
+install -D -m 755 ${CWD}/${PRGNAM} ${PKG}/usr/bin/${PRGNAM}
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -81,8 +72,9 @@ mv $PKG/opt/$PRGNAM/etc/netbeans.import \
$PKG/opt/$PRGNAM/etc/netbeans.import.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd $PKG/opt/$PRGNAM
-cp -a *.html *.txt *.css $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CREDITS.html DEPENDENCIES DISCLAIMER LICENSE NOTICE README.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/netbeans/netbeans.desktop b/development/netbeans/netbeans.desktop
index ab78da97085c0..7210604aef9aa 100644
--- a/development/netbeans/netbeans.desktop
+++ b/development/netbeans/netbeans.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
+Version=1.0
Type=Application
Exec=netbeans
-Name=Netbeans IDE
-GenericName=NetBeans Multi-Language IDE
+Name=NetBeans IDE
+GenericName=Apache NetBeans IDE
Icon=netbeans
StartupNotify=true
-Categories=Qt;KDE;GTK;GNOME;Development;
+Categories=Development;IDE;Qt;KDE;GTK;GNOME;
diff --git a/development/netbeans/netbeans.info b/development/netbeans/netbeans.info
index d3889029c94de..7af82b2c9f4a0 100644
--- a/development/netbeans/netbeans.info
+++ b/development/netbeans/netbeans.info
@@ -1,10 +1,10 @@
PRGNAM="netbeans"
-VERSION="8.2"
-HOMEPAGE="http://www.netbeans.org"
-DOWNLOAD="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101.zip"
-MD5SUM="9a13fb5e1904f710de764fe56c3c5569"
+VERSION="9.0"
+HOMEPAGE="https://netbeans.apache.org/"
+DOWNLOAD="https://www-eu.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip"
+MD5SUM="1057e2f4beea9467c511fe5cfa52a18b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+MAINTAINER="Sukma Wardana"
+EMAIL="sukma.wardana@mail.com"
diff --git a/development/netbeans/netbeans.png b/development/netbeans/netbeans.png
index 05a274758280f..1e71b95671a9c 100644
--- a/development/netbeans/netbeans.png
+++ b/development/netbeans/netbeans.png
Binary files differ
diff --git a/development/netbeans/slack-desc b/development/netbeans/slack-desc
index f415bb06091c0..d3685ecf2a05c 100644
--- a/development/netbeans/slack-desc
+++ b/development/netbeans/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-netbeans: netbeans (Free and Open-Source IDE for Java Development and More)
+netbeans: netbeans (Apache NetBeans IDE)
netbeans:
-netbeans: The NetBeans IDE is a free, Open-Source Integrated Development
-netbeans: Environment for software developers. The IDE runs on many platforms
-netbeans: including Windows, Linux, Solaris, and the MacOS. The NetBeans IDE
-netbeans: provides developers with all the tools they need to create
-netbeans: professional cross-platform desktop, enterprise, web and mobile
-netbeans: applications.
+netbeans: Apache NetBeans is an integrated development environment (IDE) for
+netbeans: writing, compiling, testing, and debugging software application for
+netbeans: the Java platform and other environments. NetBeans IDE includes
+netbeans: full-featured text editor, visual deisgn tools, soruce code
+netbeans: management support, database integration tools, and mny other
+netbeans: features.
netbeans:
-netbeans: Homepage: http://www.netbeans.org
+netbeans: Homepage: https://netbeans.apache.org/
netbeans: