From 0615a909b089a81d068ae10517ceff31dabfece1 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Jul 2012 00:01:37 +0000 Subject: Tue Jul 10 00:01:37 UTC 2012 --- testing/eclipse/PKGBUILD | 52 ++ testing/eclipse/eclipse.desktop | 9 + testing/eclipse/eclipse.install | 11 + testing/eclipse/eclipse.sh | 4 + testing/eclipse/eclipse.svg | 1623 ++++++++++++++++++++++++++++++++++++ testing/nilfs-utils/PKGBUILD | 10 +- testing/pcre/PKGBUILD | 38 + testing/usbutils/PKGBUILD | 35 + testing/usbutils/fix-python2.patch | 17 + 9 files changed, 1794 insertions(+), 5 deletions(-) create mode 100644 testing/eclipse/PKGBUILD create mode 100644 testing/eclipse/eclipse.desktop create mode 100644 testing/eclipse/eclipse.install create mode 100644 testing/eclipse/eclipse.sh create mode 100644 testing/eclipse/eclipse.svg create mode 100644 testing/pcre/PKGBUILD create mode 100644 testing/usbutils/PKGBUILD create mode 100644 testing/usbutils/fix-python2.patch (limited to 'testing') diff --git a/testing/eclipse/PKGBUILD b/testing/eclipse/PKGBUILD new file mode 100644 index 000000000..22b3840a0 --- /dev/null +++ b/testing/eclipse/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 163177 2012-07-08 12:52:55Z ibiru $ +# Maintainer : Ionut Biru +# Contributor: Paul Mattal +# Contributor: Andrew Wright +# Contributor: Andreas W. Hauser +# Contributor: Marco Crosio + +pkgname=eclipse +pkgver=4.2 +pkgrel=1 +_date=201206081400 +pkgdesc="An IDE for Java and other languages" +arch=('i686' 'x86_64') +url="http://eclipse.org" +depends=('java-environment' 'gtk2' 'unzip' 'libwebkit' 'libxtst') +install=${pkgname}.install +makedepends=('zip') +conflicts=('xulrunner') +license=("EPL/1.1") +source=("ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk.tar.gz" + 'eclipse.sh' 'eclipse.desktop' 'eclipse.svg') +md5sums=('506b9f4e3919ebe3d6a717cd9bef5e07' + '7ea99a30fbaf06ec29261541b8eb1e23' + 'ba8a37e30a7ebd69774cec87c69e8c44' + '77cff7543ccf7e177cb6667f5a20ce19') +[ "$CARCH" = "x86_64" ] && source[0]="ftp://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-$pkgver-${_date}/$pkgname-SDK-$pkgver-linux-gtk-$CARCH.tar.gz" +[ "$CARCH" = "x86_64" ] && md5sums[0]='804938dd087c310d8bfd54c8024afbbd' + +package() { + # install eclipse + install -m755 -d "$pkgdir/usr/share" + mv eclipse "$pkgdir/usr/share/" + + # install misc + install -d $pkgdir/usr/bin $pkgdir/usr/share/applications \ + $pkgdir/usr/share/icons/hicolor/{16x16,32x32,48x48,256x256}/apps + install -m755 eclipse.sh "$pkgdir/usr/bin/eclipse" + install -m644 eclipse.desktop "$pkgdir/usr/share/applications/" + ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse.png \ + "$pkgdir/usr/share/icons/hicolor/16x16/apps/eclipse.png" + ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse32.png \ + "$pkgdir/usr/share/icons/hicolor/32x32/apps/eclipse.png" + ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse48.png \ + "$pkgdir/usr/share/icons/hicolor/48x48/apps/eclipse.png" + ln -s /usr/share/eclipse/plugins/org.eclipse.sdk_$pkgver.v${_date}/eclipse256.png \ + "$pkgdir/usr/share/icons/hicolor/256x256/apps/eclipse.png" + + # install icon + install -Dm644 "$srcdir"/eclipse.svg \ + "$pkgdir"/usr/share/icons/hicolor/scalable/apps/eclipse.svg + sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" "$pkgdir"/usr/share/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/bin/runant.py +} diff --git a/testing/eclipse/eclipse.desktop b/testing/eclipse/eclipse.desktop new file mode 100644 index 000000000..5b210c81e --- /dev/null +++ b/testing/eclipse/eclipse.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Eclipse +Comment=A Java Development Environment +Icon=eclipse +Exec=eclipse +Terminal=false +Type=Application +Categories=Development;IDE;Java +StartupNotify=true diff --git a/testing/eclipse/eclipse.install b/testing/eclipse/eclipse.install new file mode 100644 index 000000000..a2930a4ff --- /dev/null +++ b/testing/eclipse/eclipse.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/testing/eclipse/eclipse.sh b/testing/eclipse/eclipse.sh new file mode 100644 index 000000000..498d7fefb --- /dev/null +++ b/testing/eclipse/eclipse.sh @@ -0,0 +1,4 @@ +#!/bin/bash +export ECLIPSE_HOME=/usr/share/eclipse +export GDK_NATIVE_WINDOWS=true +${ECLIPSE_HOME}/eclipse "$@" diff --git a/testing/eclipse/eclipse.svg b/testing/eclipse/eclipse.svg new file mode 100644 index 000000000..56316be9e --- /dev/null +++ b/testing/eclipse/eclipse.svg @@ -0,0 +1,1623 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/nilfs-utils/PKGBUILD b/testing/nilfs-utils/PKGBUILD index 322fb881e..c6db2bbf4 100644 --- a/testing/nilfs-utils/PKGBUILD +++ b/testing/nilfs-utils/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 160972 2012-06-07 18:46:29Z ibiru $ +# $Id: PKGBUILD 163179 2012-07-08 13:36:38Z ibiru $ # Maintainer : Ionut Biru # Contributor: Geoffroy Carrier pkgname=nilfs-utils -pkgver=2.1.2 +pkgver=2.1.4 pkgrel=1 pkgdesc="A log-structured file system supporting continuous snapshotting (userspace utils)" arch=('i686' 'x86_64') @@ -13,15 +13,15 @@ backup=('etc/nilfs_cleanerd.conf') depends=('util-linux') options=(!libtool) source=(http://www.nilfs.org/download/$pkgname-$pkgver.tar.bz2) -md5sums=('9a16a5ca459e64a903eac9c2fd456802') +md5sums=('e72f941f5041a057a81a1ce22e03497d') build() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver ./configure --enable-libmount make } package() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install LDCONFIG=/bin/true } diff --git a/testing/pcre/PKGBUILD b/testing/pcre/PKGBUILD new file mode 100644 index 000000000..8672846ce --- /dev/null +++ b/testing/pcre/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 163200 2012-07-09 01:30:40Z allan $ +# Maintainer: Allan McRae +# Contributor: Eric Belanger +# Contributor: John Proctor + +pkgname=pcre +pkgver=8.31 +pkgrel=1 +pkgdesc="A library that implements Perl 5-style regular expressions" +arch=('i686' 'x86_64') +url="http://www.pcre.org/" +license=('BSD') +depends=('gcc-libs') +options=('!libtool') +source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2{,.sig}) +md5sums=('1c9a276af932b5599157f96e945391f0' + '873bcd2cd9f1e0aa1e28e256b3e31506') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" + ./configure --prefix=/usr --enable-pcre16 --enable-jit \ + --enable-utf8 --enable-unicode-properties + make +} + +check() { + cd "${srcdir}"/${pkgname}-${pkgver} + make check +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} diff --git a/testing/usbutils/PKGBUILD b/testing/usbutils/PKGBUILD new file mode 100644 index 000000000..ac171a037 --- /dev/null +++ b/testing/usbutils/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 163167 2012-07-08 10:08:11Z tpowa $ +# Maintainer: Tobias Powalowski +# Contributor: Tom Gundersen +# Contributor: Judd Vinet +# Contributor: Curtis Campbell +pkgname=usbutils +pkgver=006 +pkgrel=1 +pkgdesc="USB Device Utilities" +arch=(i686 x86_64) +license=('GPL') +groups=('base') +depends=('libusb' 'hwids') +optdepends=('python2: for lsusb.py usage' + 'coreutils: for lsusb.py usage') +url="http://linux-usb.sourceforge.net/" +source=("http://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.tar.xz" + fix-python2.patch) +md5sums=('c9aa14ee3d6c991fda183f42cf72a8a8' + '45766196895b4cc50b53cd56e1bbf3d1') + +build() { + cd $srcdir/$pkgname-$pkgver + # patch lsusb.py to use correct usb.ids file and python2 interpreter + patch -Np1 -i $srcdir/fix-python2.patch + ./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + # this is now in the hwids package + rm -rf $pkgdir/usr/{share/hwdata,sbin} +} diff --git a/testing/usbutils/fix-python2.patch b/testing/usbutils/fix-python2.patch new file mode 100644 index 000000000..7e2875e99 --- /dev/null +++ b/testing/usbutils/fix-python2.patch @@ -0,0 +1,17 @@ +--- usbutils-002/lsusb.py 2010-12-16 01:07:09.000000000 +0100 ++++ usbutils-002/lsusb.py 2011-04-09 22:43:59.043828595 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + # lsusb.py + # Displays your USB devices in reasonable form. + # (c) Kurt Garloff , 2/2009, GPL v2 or v3. +@@ -16,7 +16,7 @@ + warnsort = False + + prefix = "/sys/bus/usb/devices/" +-usbids = "/usr/share/usb.ids" ++usbids = "/usr/share/hwdata/usb.ids" + + esc = chr(27) + norm = esc + "[0;0m" -- cgit v1.2.3-54-g00ecf