[arch-commits] Commit in netbeans/repos/community-any (4 files)

Santiago Torres-Arias sangy at archlinux.org
Tue Feb 25 04:01:46 UTC 2020


    Date: Tuesday, February 25, 2020 @ 04:01:45
  Author: sangy
Revision: 580930

archrelease: copy trunk to community-any

Added:
  netbeans/repos/community-any/PKGBUILD
    (from rev 580929, netbeans/trunk/PKGBUILD)
  netbeans/repos/community-any/netbeans.clusters
    (from rev 580929, netbeans/trunk/netbeans.clusters)
Deleted:
  netbeans/repos/community-any/PKGBUILD
  netbeans/repos/community-any/netbeans.clusters

-------------------+
 PKGBUILD          |  197 ++++++++++++++++++++++++++--------------------------
 netbeans.clusters |   88 +++++++++++------------
 2 files changed, 143 insertions(+), 142 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-25 04:01:16 UTC (rev 580929)
+++ PKGBUILD	2020-02-25 04:01:45 UTC (rev 580930)
@@ -1,98 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-# Contributor: Timm Preetz <timm at preetz.us>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Ben Wolsieffer <benwolsieffer at gmail.com>
-
-pkgname=netbeans
-pkgver=11.2
-pkgrel=2
-pkgdesc='IDE for Java, HTML5, PHP, Groovy, C and C++'
-arch=('any')
-url='https://netbeans.apache.org/'
-license=('Apache')
-# classpath is not needed, see FS#38567 (Oracle JDK does not need atk either)
-depends=('ttf-font' 'which')
-makedepends=('ant' 'java-environment=8' 'php' 'groovy' 'imagemagick')
-optdepends=('php: for developing programs in php'
-            'groovy: for developing programs in groovy'
-            'lib32-glibc')
-
-# you can figure out what's the best urlbase in case you want to override it by going to:
-# https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.1/netbeans-11.1-source.zip
-urlbase="https://ftp.wayne.edu/apache/"
-source=("${urlbase}/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.zip"
-        "https://www.apache.org/dist/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.zip.asc"
-       "netbeans.clusters")
-
-sha256sums=('1bc0226cee39dc684ee3b337172cc4a112d1939bb3ebf020456263f565c44a4f'
-            'SKIP'
-            'a7849ee0f21acef34a7bbd1216e8f822aba38284e3138ea04532224ad6f227c2')
-
-validpgpkeys=("1A83C352499305B6682E3D95CF7BA0AB1CCF4647" # Emilian Marius Bold <emi at apache.org>
-              "79C8F02A726E9EF53646D712B2BF814FA145CB2D" # Laszlo Kishalmi <lkishalmi at apache.org>
-              "51B0E375B4941714A809F90E13E9F7AE3A4FD551" # Geert Jan <geertjan at apache.org>
-              "E6B7A203AA18497AB25202A7B4C1940FEA9364F1" # Jan Lahoda <jlahoda at apache.org>
-              "7B037EEBE0F0DEDFEE65B6983703AC389A12A9D4" # Neil C Smith <neilcsmith at apache.org>
-              "D0410592D20D84582E23D7F057D5896CD86C1320" # Reema Taneja <rtaneja at apache.org>
-            )
-
-build() {
-  # full cluster configuration is not available at this time
-  export LDFLAGS_EXTRA=$LDFLAGS CFLAGS_EXTRA=$CFLAGS
-  ant -quiet -Dcluster.config=full
-  #ant -quiet
-}
-
-# It appears that they have disabled the CI tests upstream, so I'll disable these for now...
-# see the parms here: https://travis-ci.org/apache/incubator-netbeans/jobs/473379270 
-#check() {
-#  cd "${srcdir}"
-#  ant -quiet test -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest.includes=NoTestsJustBuild
-#}
-
-package() {
-  depends+=('java-environment>=9')
-
-  # install launcher script
-  install -Dm755 "nbbuild/${pkgname}/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-
-  # Resources for platform config
-  mkdir -p "${pkgdir}/usr/lib/${pkgname}"
-
-  local built=$(find nbbuild/${pkgname}/ -name "nb.cluster.*.built" | cut -d '.' -f 3)
-  for plugin in $built
-  do
-    if [ -d "nbbuild/${pkgname}/${plugin}" ]
-    then
-        cp -r "nbbuild/${pkgname}/${plugin}" "${pkgdir}/usr/lib/${pkgname}"
-    fi
-  done
-  install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans.import" -t "${pkgdir}/usr/lib/${pkgname}/etc/"
-
-  # copy cluster configuration
-  install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans."* -t "${pkgdir}/usr/etc/"
-  install -Dm644 "netbeans."* -t "${pkgdir}/usr/etc/"
-
-  # Desktop shortcut and icon
-  # FIXME: unfortunately, we need to convert the high-res ico file to the 
-  # target png, as the current one is quite blurry and low-res...
-  convert "nb/ide.launcher/windows/${pkgname}.ico[4]" "${pkgname}.png"
-  install -Dm644 "nbbuild/packaging/netbeans_snap/snap/gui/$pkgname.desktop" \
-    "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-  sed -i "s/Icon=.*/Icon=netbeans/" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-  install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-
-  # remove non-linux non x86_64 binaries (FIXME: ideally we should just *not* build these)
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/SunOS"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/MacOSX"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/Windows"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/"*-sparc_64
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk16/solaris-"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk16/hpux-"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk16/linux-arm"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk15/hpux-"*
-  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk15/solaris-"*
-  find "${pkgdir}/usr/lib/${pkgname}/" -name "*.exe" -exec rm {} \;
-  find "${pkgdir}/usr/lib/${pkgname}/" -name "*.dll" -exec rm {} \;
-
-}

Copied: netbeans/repos/community-any/PKGBUILD (from rev 580929, netbeans/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-25 04:01:45 UTC (rev 580930)
@@ -0,0 +1,99 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Contributor: Timm Preetz <timm at preetz.us>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Ben Wolsieffer <benwolsieffer at gmail.com>
+
+pkgname=netbeans
+pkgver=11.3
+pkgrel=1
+pkgdesc='IDE for Java, HTML5, PHP, Groovy, C and C++'
+arch=('any')
+url='https://netbeans.apache.org/'
+license=('Apache')
+# classpath is not needed, see FS#38567 (Oracle JDK does not need atk either)
+depends=('ttf-font' 'which')
+makedepends=('ant' 'java-environment=8' 'php' 'groovy' 'imagemagick')
+optdepends=('php: for developing programs in php'
+            'groovy: for developing programs in groovy'
+            'lib32-glibc')
+
+# you can figure out what's the best urlbase in case you want to override it by going to:
+# https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/11.1/netbeans-11.1-source.zip
+urlbase="https://ftp.wayne.edu/apache/"
+source=("${urlbase}/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.zip"
+        "https://www.apache.org/dist/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.zip.asc"
+       "netbeans.clusters")
+
+sha256sums=('f5cfb1988a64a8c2ce72ee8b1f19f89f5b98943909d3e50a7c4e8cfa0698e88c'
+            'SKIP'
+            'a7849ee0f21acef34a7bbd1216e8f822aba38284e3138ea04532224ad6f227c2')
+
+validpgpkeys=("1A83C352499305B6682E3D95CF7BA0AB1CCF4647" # Emilian Marius Bold <emi at apache.org>
+              "79C8F02A726E9EF53646D712B2BF814FA145CB2D" # Laszlo Kishalmi <lkishalmi at apache.org>
+              "51B0E375B4941714A809F90E13E9F7AE3A4FD551" # Geert Jan <geertjan at apache.org>
+              "E6B7A203AA18497AB25202A7B4C1940FEA9364F1" # Jan Lahoda <jlahoda at apache.org>
+              "7B037EEBE0F0DEDFEE65B6983703AC389A12A9D4" # Neil C Smith <neilcsmith at apache.org>
+              "D0410592D20D84582E23D7F057D5896CD86C1320" # Reema Taneja <rtaneja at apache.org>
+              "8FE1C26F15E0320E740BAED84A2601CEDA9382F3" # Eric Barboni (Signing Key) <skygo at apache.org>
+            )
+
+build() {
+  # full cluster configuration is not available at this time
+  export LDFLAGS_EXTRA=$LDFLAGS CFLAGS_EXTRA=$CFLAGS
+  ant -quiet -Dcluster.config=full
+  #ant -quiet
+}
+
+# It appears that they have disabled the CI tests upstream, so I'll disable these for now...
+# see the parms here: https://travis-ci.org/apache/incubator-netbeans/jobs/473379270 
+#check() {
+#  cd "${srcdir}"
+#  ant -quiet test -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest.includes=NoTestsJustBuild
+#}
+
+package() {
+  depends+=('java-environment>=9')
+
+  # install launcher script
+  install -Dm755 "nbbuild/${pkgname}/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+
+  # Resources for platform config
+  mkdir -p "${pkgdir}/usr/lib/${pkgname}"
+
+  local built=$(find nbbuild/${pkgname}/ -name "nb.cluster.*.built" | cut -d '.' -f 3)
+  for plugin in $built
+  do
+    if [ -d "nbbuild/${pkgname}/${plugin}" ]
+    then
+        cp -r "nbbuild/${pkgname}/${plugin}" "${pkgdir}/usr/lib/${pkgname}"
+    fi
+  done
+  install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans.import" -t "${pkgdir}/usr/lib/${pkgname}/etc/"
+
+  # copy cluster configuration
+  install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans."* -t "${pkgdir}/usr/etc/"
+  install -Dm644 "netbeans."* -t "${pkgdir}/usr/etc/"
+
+  # Desktop shortcut and icon
+  # FIXME: unfortunately, we need to convert the high-res ico file to the 
+  # target png, as the current one is quite blurry and low-res...
+  convert "nb/ide.launcher/windows/${pkgname}.ico[4]" "${pkgname}.png"
+  install -Dm644 "nbbuild/packaging/netbeans_snap/snap/gui/$pkgname.desktop" \
+    "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+  sed -i "s/Icon=.*/Icon=netbeans/" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+  install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+
+  # remove non-linux non x86_64 binaries (FIXME: ideally we should just *not* build these)
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/SunOS"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/MacOSX"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/Windows"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/ide/bin/nativeexecution/"*-sparc_64
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk16/solaris-"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk16/hpux-"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk16/linux-arm"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk15/hpux-"*
+  rm -rf "${pkgdir}/usr/lib/${pkgname}/profiler/lib/deployed/jdk15/solaris-"*
+  find "${pkgdir}/usr/lib/${pkgname}/" -name "*.exe" -exec rm {} \;
+  find "${pkgdir}/usr/lib/${pkgname}/" -name "*.dll" -exec rm {} \;
+
+}

Deleted: netbeans.clusters
===================================================================
--- netbeans.clusters	2020-02-25 04:01:16 UTC (rev 580929)
+++ netbeans.clusters	2020-02-25 04:01:45 UTC (rev 580930)
@@ -1,44 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-# platform cluster first
-lib/netbeans/platform
-# application cluster second
-lib/netbeans/nb
-# ergonomics cluster if present
-lib/netbeans/ergonomics
-# and now the rest
-lib/netbeans/ide
-lib/netbeans/extide
-lib/netbeans/java
-lib/netbeans/apisupport
-lib/netbeans/webcommon
-lib/netbeans/websvccommon
-lib/netbeans/enterprise
-lib/netbeans/mobility
-lib/netbeans/profiler
-lib/netbeans/python
-lib/netbeans/php
-lib/netbeans/identity
-lib/netbeans/harness
-lib/netbeans/cnd
-lib/netbeans/cndext
-lib/netbeans/dlight
-lib/netbeans/groovy
-lib/netbeans/extra
-lib/netbeans/javacard
-lib/netbeans/javafx

Copied: netbeans/repos/community-any/netbeans.clusters (from rev 580929, netbeans/trunk/netbeans.clusters)
===================================================================
--- netbeans.clusters	                        (rev 0)
+++ netbeans.clusters	2020-02-25 04:01:45 UTC (rev 580930)
@@ -0,0 +1,44 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# platform cluster first
+lib/netbeans/platform
+# application cluster second
+lib/netbeans/nb
+# ergonomics cluster if present
+lib/netbeans/ergonomics
+# and now the rest
+lib/netbeans/ide
+lib/netbeans/extide
+lib/netbeans/java
+lib/netbeans/apisupport
+lib/netbeans/webcommon
+lib/netbeans/websvccommon
+lib/netbeans/enterprise
+lib/netbeans/mobility
+lib/netbeans/profiler
+lib/netbeans/python
+lib/netbeans/php
+lib/netbeans/identity
+lib/netbeans/harness
+lib/netbeans/cnd
+lib/netbeans/cndext
+lib/netbeans/dlight
+lib/netbeans/groovy
+lib/netbeans/extra
+lib/netbeans/javacard
+lib/netbeans/javafx



More information about the arch-commits mailing list