Date: Sunday, September 13, 2015 @ 13:55:36 Author: guillaume Revision: 246003
archrelease: copy trunk to extra-x86_64 Added: icedtea-web/repos/extra-x86_64/PKGBUILD (from rev 246002, icedtea-web/trunk/PKGBUILD) icedtea-web/repos/extra-x86_64/install_icedtea-web.sh (from rev 246002, icedtea-web/trunk/install_icedtea-web.sh) Deleted: icedtea-web/repos/extra-x86_64/PKGBUILD icedtea-web/repos/extra-x86_64/install_icedtea-web.sh ------------------------+ PKGBUILD | 178 +++++++++++++++++++++++------------------------ install_icedtea-web.sh | 22 ++--- 2 files changed, 100 insertions(+), 100 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-09-13 11:55:05 UTC (rev 246002) +++ PKGBUILD 2015-09-13 11:55:36 UTC (rev 246003) @@ -1,89 +0,0 @@ -# Maintainer: Andreas Radke <andy...@archlinux.org> -# Maintainer: Guillaume ALAUX <guilla...@archlinux.org> - -pkgbase=icedtea-web -pkgname=('icedtea-web' 'icedtea-web-doc') -pkgver=1.6 -pkgrel=1 -arch=('i686' 'x86_64') -url='http://icedtea.classpath.org/wiki/IcedTea-Web' -license=('GPL2') -makedepends=('java-environment-openjdk' 'zip' 'libxtst' 'npapi-sdk' 'rhino' 'junit' - 'firefox' 'epiphany') -optdepends=('rhino: for using proxy auto config files') -# Due to broken path names in the tarball that fails with LANG=C in our chroot -noextract=${pkgbase}-${pkgver}.tar.gz -source=(http://icedtea.classpath.org/download/source/${pkgbase}-${pkgver}.tar.gz) -sha256sums=('169386ad8d43c51b0c23ef128f9ba99040d23d9ceec24d7429514576778e117d') - -prepare() { - cd "${srcdir}" - LANG=en_US.UTF-8 bsdtar -x -f "${srcdir}"/${pkgbase}-${pkgver}.tar.gz -} - -build() { - cd "${srcdir}"/${pkgbase}-${pkgver} - ./configure \ - --prefix=/usr/share/${pkgbase} \ - --datarootdir=/usr/share \ - --with-jdk-home=/usr/lib/jvm/default \ - --with-jre-home=/usr/lib/jvm/default-runtime \ - --with-java=/usr/bin/java \ - --with-browser-tests \ - --with-firefox=/usr/bin/firefox \ - --with-epiphany=/usr/bin/epiphany - make -} - -#check() { -# cd "${srcdir}"/${pkgbase}-${pkgver} -# # as more tests have been added some are expectged to fail -# # see http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017566.html -# make -k check -#} - - -package_icedtea-web() { - - pkgdesc='Free web browser plugin to run applets written in Java and an implementation of Java Web Start' - depends=('java-runtime-openjdk' 'desktop-file-utils') - provides=('java-web-start') - replaces=('icedtea-web-java7') - install=install_${pkgname}.sh - - cd "${srcdir}"/${pkgbase}-${pkgver} - # possible make target (see bottom of Makefile.am: install-exec-local install-data-local - make DESTDIR="${pkgdir}" install-exec-local install-data-local - - # Install desktop files. - install -m 755 -d "${pkgdir}"/usr/share/{applications,pixmaps} - install -m 644 javaws.png "${pkgdir}"/usr/share/pixmaps - install -m 644 {javaws,itweb-settings}.desktop "${pkgdir}"/usr/share/applications - # remove splitted doc files - rm -rf "${pkgdir}"/usr/share/doc - - # link binaries into /usr/bin + jre/bin - install -m 755 -d "${pkgdir}"/usr/bin - pushd "${pkgdir}"/usr/share/${pkgbase}/bin - for file in *; do - ln -sf /usr/share/${pkgbase}/bin/${file} "${pkgdir}"/usr/bin - done - popd - - # link the mozilla-plugin - test it here http://www.java.com/en/download/help/testvm.xml - install -m 755 -d "${pkgdir}"/usr/lib/mozilla/plugins/ - ln -sf /usr/share/${pkgbase}/lib/IcedTeaPlugin.so "${pkgdir}"/usr/lib/mozilla/plugins/ -} - -package_icedtea-web-doc() { - - pkgdesc='icedtea-web browser plugin + Java WebStart - documentation files' - replaces=('icedtea-web-java7-doc') - - cd "${srcdir}"/${pkgbase}-${pkgver} - make DESTDIR="${pkgdir}" install-data-local - # remove javaws about and man page - rm -rf "${pkgdir}"/usr/lib - rm -rf "${pkgdir}"/usr/share/man - rm -rf "${pkgdir}"/usr/share/icedtea-web # conflicting and unneeded file it seems -} Copied: icedtea-web/repos/extra-x86_64/PKGBUILD (from rev 246002, icedtea-web/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-09-13 11:55:36 UTC (rev 246003) @@ -0,0 +1,89 @@ +# Maintainer: Andreas Radke <andy...@archlinux.org> +# Maintainer: Guillaume ALAUX <guilla...@archlinux.org> + +pkgbase=icedtea-web +pkgname=('icedtea-web' 'icedtea-web-doc') +pkgver=1.6.1 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://icedtea.classpath.org/wiki/IcedTea-Web' +license=('GPL2') +makedepends=('java-environment-openjdk' 'zip' 'libxtst' 'npapi-sdk' 'rhino' 'junit' + 'firefox' 'epiphany') +optdepends=('rhino: for using proxy auto config files') +# Due to broken path names in the tarball that fails with LANG=C in our chroot +noextract=${pkgbase}-${pkgver}.tar.gz +source=(http://icedtea.classpath.org/download/source/${pkgbase}-${pkgver}.tar.gz) +sha256sums=('a9b46ab6c9dc303c89651143596bc5abea29242b9bdcabdd2dab7c606592c920') + +prepare() { + cd "${srcdir}" + LANG=en_US.UTF-8 bsdtar -x -f "${srcdir}"/${pkgbase}-${pkgver}.tar.gz +} + +build() { + cd "${srcdir}"/${pkgbase}-${pkgver} + ./configure \ + --prefix=/usr/share/${pkgbase} \ + --datarootdir=/usr/share \ + --with-jdk-home=/usr/lib/jvm/default \ + --with-jre-home=/usr/lib/jvm/default-runtime \ + --with-java=/usr/bin/java \ + --with-browser-tests \ + --with-firefox=/usr/bin/firefox \ + --with-epiphany=/usr/bin/epiphany + make +} + +#check() { +# cd "${srcdir}"/${pkgbase}-${pkgver} +# # as more tests have been added some are expectged to fail +# # see http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017566.html +# make -k check +#} + + +package_icedtea-web() { + + pkgdesc='Free web browser plugin to run applets written in Java and an implementation of Java Web Start' + depends=('java-runtime-openjdk' 'desktop-file-utils') + provides=('java-web-start') + replaces=('icedtea-web-java7') + install=install_${pkgname}.sh + + cd "${srcdir}"/${pkgbase}-${pkgver} + # possible make target (see bottom of Makefile.am: install-exec-local install-data-local + make DESTDIR="${pkgdir}" install-exec-local install-data-local + + # Install desktop files. + install -m 755 -d "${pkgdir}"/usr/share/{applications,pixmaps} + install -m 644 javaws.png "${pkgdir}"/usr/share/pixmaps + install -m 644 {javaws,itweb-settings}.desktop "${pkgdir}"/usr/share/applications + # remove splitted doc files + rm -rf "${pkgdir}"/usr/share/doc + + # link binaries into /usr/bin + jre/bin + install -m 755 -d "${pkgdir}"/usr/bin + pushd "${pkgdir}"/usr/share/${pkgbase}/bin + for file in *; do + ln -sf /usr/share/${pkgbase}/bin/${file} "${pkgdir}"/usr/bin + done + popd + + # link the mozilla-plugin - test it here http://www.java.com/en/download/help/testvm.xml + install -m 755 -d "${pkgdir}"/usr/lib/mozilla/plugins/ + ln -sf /usr/share/${pkgbase}/lib/IcedTeaPlugin.so "${pkgdir}"/usr/lib/mozilla/plugins/ +} + +package_icedtea-web-doc() { + + pkgdesc='icedtea-web browser plugin + Java WebStart - documentation files' + replaces=('icedtea-web-java7-doc') + + cd "${srcdir}"/${pkgbase}-${pkgver} + make DESTDIR="${pkgdir}" install-data-local + # remove javaws about and man page + rm -rf "${pkgdir}"/usr/lib + rm -rf "${pkgdir}"/usr/share/man + rm -rf "${pkgdir}"/usr/share/icedtea-web # conflicting and unneeded file it seems +} Deleted: install_icedtea-web.sh =================================================================== --- install_icedtea-web.sh 2015-09-13 11:55:05 UTC (rev 246002) +++ install_icedtea-web.sh 2015-09-13 11:55:36 UTC (rev 246003) @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - update-desktop-database -q -} - -post_remove() { - update-desktop-database -q -} Copied: icedtea-web/repos/extra-x86_64/install_icedtea-web.sh (from rev 246002, icedtea-web/trunk/install_icedtea-web.sh) =================================================================== --- install_icedtea-web.sh (rev 0) +++ install_icedtea-web.sh 2015-09-13 11:55:36 UTC (rev 246003) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +}