Date: Tuesday, October 23, 2018 @ 04:13:12 Author: sangy Revision: 398643
archrelease: copy trunk to community-testing-any Added: netbeans/repos/community-testing-any/PKGBUILD (from rev 398642, netbeans/trunk/PKGBUILD) netbeans/repos/community-testing-any/netbeans.clusters (from rev 398642, netbeans/trunk/netbeans.clusters) Deleted: netbeans/repos/community-testing-any/PKGBUILD netbeans/repos/community-testing-any/netbeans.clusters -------------------+ PKGBUILD | 128 +++++++++++++++++++++++++++------------------------- netbeans.clusters | 88 +++++++++++++++++------------------ 2 files changed, 111 insertions(+), 105 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-23 04:12:47 UTC (rev 398642) +++ PKGBUILD 2018-10-23 04:13:12 UTC (rev 398643) @@ -1,61 +0,0 @@ -# Maintainer: -# Contributor: Timm Preetz <t...@preetz.us> -# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> -# Contributor: Ben Wolsieffer <benwolsief...@gmail.com> - -pkgname=netbeans -pkgver=9.0 -pkgrel=2 -pkgdesc='IDE for Java, HTML5, PHP, Groovy, C and C++' -arch=('any') -url='http://netbeans.apache.org/' -license=('Apache2') -# classpath is not needed, see FS#38567 (Oracle JDK does not need atk either) -depends=('java-environment' 'ttf-font' 'jdk10-openjdk') -makedepends=('ant' 'java-environment' 'jdk8-openjdk') -optdepends=('php: for developing programs in php' - 'groovy: for developing programs in groovy' - 'lib32-glibc') -source=("https://www.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-${pkgname}-java-${pkgver}-source.zip"{,.asc} - "netbeans.clusters") - -sha256sums=('cc4cdaf3e1a6c80227410a6e54414e2109516d11a7150b7b9660061135bbc8db' - 'SKIP' - 'a7849ee0f21acef34a7bbd1216e8f822aba38284e3138ea04532224ad6f227c2') -validpgpkeys=("1A83C352499305B6682E3D95CF7BA0AB1CCF4647") - -build() { - # full cluster configuration is not available at this time - #ant -quiet -Dcluster.config=full - export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/ - ant -quiet -Dnbjdk.home=/usr/lib/jvm/java-8-openjdk -Djava.home=/usr/lib/jvm/java-8-openjdk -} - -check() { - cd "${srcdir}" - ant -quiet test -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dtest.includes=NoTestsJustBuild -} - -package() { - - # load script - install -Dm755 "nbbuild/${pkgname}/bin/${pkgname}" "$pkgdir/usr/bin/$pkgname" - - # Resources for platform config - mkdir -vp "${pkgdir}/usr/lib/${pkgname}" - cp -r "nbbuild/${pkgname}/"{java,harness,javafx,profiler,nb,ide,extide,apisupport,websvccommon,platform} "$pkgdir/usr/lib/${pkgname}" - - # copy cluster configuration - install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans."* -t "${pkgdir}/usr/lib/${pkgname}/etc/" - install -Dm644 "netbeans.clusters" -t "${pkgdir}/usr/etc/" - - # Desktop shortcut and icon - install -Dm644 "nbbuild/packaging/snap/gui/$pkgname.desktop" \ - "$pkgdir/usr/share/applications/$pkgname.desktop" - sed -i "s/Icon=.*/Icon=\/usr\/share\/pixmaps\/${pkgname}.png/" "${pkgdir}/usr/share/applications/${pkgname}.desktop" - install -Dm644 "ide.branding/release/${pkgname}.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" - -} - -# getver: netbeans.org -# vim:set ts=2 sw=2 et: Copied: netbeans/repos/community-testing-any/PKGBUILD (from rev 398642, netbeans/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-23 04:13:12 UTC (rev 398643) @@ -0,0 +1,67 @@ +# Maintainer: Santiago Torres-Arias <santi...@archlinux.org> +# Contributor: Timm Preetz <t...@preetz.us> +# Contributor: Daniel J Griffiths <ghost1...@archlinux.us> +# Contributor: Ben Wolsieffer <benwolsief...@gmail.com> + +pkgname=netbeans +pkgver=9.0 +pkgrel=3 +pkgdesc='IDE for Java, HTML5, PHP, Groovy, C and C++' +arch=('any') +url='http://netbeans.apache.org/' +license=('Apache2') +# classpath is not needed, see FS#38567 (Oracle JDK does not need atk either) +depends=('ttf-font') +makedepends=('ant' 'java-environment=8') +optdepends=('php: for developing programs in php' + 'groovy: for developing programs in groovy' + 'lib32-glibc') +source=("https://www.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-${pkgname}-java-${pkgver}-source.zip"{,.asc} + "netbeans.clusters") + +sha256sums=('cc4cdaf3e1a6c80227410a6e54414e2109516d11a7150b7b9660061135bbc8db' + 'SKIP' + 'a7849ee0f21acef34a7bbd1216e8f822aba38284e3138ea04532224ad6f227c2') +validpgpkeys=("1A83C352499305B6682E3D95CF7BA0AB1CCF4647") + +build() { + # full cluster configuration is not available at this time + #ant -quiet -Dcluster.config=full + export LDFLAGS_EXTRA=$LDFLAGS CFLAGS_EXTRA=$CFLAGS + ant -quiet +} + +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}" + cp -r "nbbuild/${pkgname}/"{java,harness,javafx,profiler,nb,ide,extide,apisupport,websvccommon,platform} "${pkgdir}/usr/lib/${pkgname}" + + # copy cluster configuration + install -Dm644 "${srcdir}/nbbuild/netbeans/etc/netbeans."* -t "${pkgdir}/usr/lib/${pkgname}/etc/" + install -Dm644 "netbeans.clusters" -t "${pkgdir}/usr/etc/" + + # Desktop shortcut and icon + install -Dm644 "nbbuild/packaging/snap/gui/$pkgname.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" + sed -i "s/Icon=.*/Icon=\/usr\/share\/pixmaps\/${pkgname}.png/" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "ide.branding/release/${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" + find "${pkgdir}/usr/lib/${pkgname}/" -name "*.exe" -exec rm {} \; + find "${pkgdir}/usr/lib/${pkgname}/" -name "*.dll" -exec rm {} \; + +} Deleted: netbeans.clusters =================================================================== --- netbeans.clusters 2018-10-23 04:12:47 UTC (rev 398642) +++ netbeans.clusters 2018-10-23 04:13:12 UTC (rev 398643) @@ -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-testing-any/netbeans.clusters (from rev 398642, netbeans/trunk/netbeans.clusters) =================================================================== --- netbeans.clusters (rev 0) +++ netbeans.clusters 2018-10-23 04:13:12 UTC (rev 398643) @@ -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