Commits

Antonio Hernández Blas committed 7bd7508

Updated netbeans to version 7.2

  • Participants
  • Parent commits 6468aa0

Comments (0)

Files changed (5)

File netbeans/README

 professional cross-platform desktop, enterprise, web, and mobile
 applications.
 
-GlassFish and Apache Tomcat are not available in this package.
+Notes:
+  * GlassFish and Apache Tomcat are not available in this package.
+  * If you want to configure netbeans runtime oprtions do not edit
+    netbeans' configuration file inside /opt/netbeans, better follow
+    the instruccions at http://wiki.netbeans.org/FaqNetbeansConf,
+    to make individual changes.

File netbeans/doinst.sh

-config() {
-  NEW="$1"
-  OLD="$(dirname $NEW)/$(basename $NEW .new)"
-  # If there's no config file by that name, mv it over:
-  if [ ! -r $OLD ]; then
-    mv $NEW $OLD
-  elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
-    # toss the redundant copy
-    rm $NEW
-  fi
-  # Otherwise, we leave the .new copy for the admin to consider...
-}
-
 if [ -x /usr/bin/update-desktop-database ]; then
   /usr/bin/update-desktop-database -q usr/share/applications >/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 usr/share/icons/hicolor >/dev/null 2>&1
-  fi  
+  fi
 fi
-
-config opt/netbeans/etc/netbeans.conf.new
-config opt/netbeans/etc/netbeans.clusters.new
-config opt/netbeans/etc/netbeans.import.new
-

File netbeans/netbeans.SlackBuild

 # This script is just a binary repackaging.
 
 PRGNAM=netbeans
-VERSION=7.1
-DATE=201112071828
+VERSION=7.2
+DATE=201207171143
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
-# Don't clobber any existing config file
-mv $PKG/opt/$PRGNAM/etc/netbeans.conf \
-   $PKG/opt/$PRGNAM/etc/netbeans.conf.new
-mv $PKG/opt/$PRGNAM/etc/netbeans.clusters \
-   $PKG/opt/$PRGNAM/etc/netbeans.clusters.new
-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

File netbeans/netbeans.info

 PRGNAM="netbeans"
-VERSION="7.1"
+VERSION="7.2"
 HOMEPAGE="http://www.netbeans.org"
-DOWNLOAD="http://download.netbeans.org/netbeans/7.1/final/zip/netbeans-7.1-201112071828-ml.zip"
-MD5SUM="ddcb3dfaf315becbda1e9d5e20ab4e3d"
+DOWNLOAD="http://download.netbeans.org/netbeans/7.2/final/zip/netbeans-7.2-201207171143-ml.zip"
+MD5SUM="2870255966b864f63df3f55efdf4bf98"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 MAINTAINER="Antonio Hernández Blas"

File netbeans/netbeans.png

Old
Old image
New
New image