From e156b18c54682096c5d1ff52987e65c069bbea08 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 29 Jan 2012 15:29:41 -0500 Subject: shuffle things around, add smartdashboard --- frc-almostlibre/smartdashboard-client/PKGBUILD | 29 --------------------- .../smartdashboard-client/smartdashboard.sh | 9 ------- frc-libre/smartdashboard/PKGBUILD | 28 ++++++++++++++++++++ frc-nonlibre/smartdashboard-client/PKGBUILD | 25 ++++++++++++++++++ .../smartdashboard-client/smartdashboard.sh | 9 +++++++ frc-notworking/smartdashboard-client/PKGBUILD | 30 ++++++++++++++++++++++ .../smartdashboard-client/smartdashboard.sh | 9 +++++++ frc/smartdashboard-client/PKGBUILD | 24 ----------------- frc/smartdashboard-client/smartdashboard.sh | 9 ------- 9 files changed, 101 insertions(+), 71 deletions(-) delete mode 100644 frc-almostlibre/smartdashboard-client/PKGBUILD delete mode 100644 frc-almostlibre/smartdashboard-client/smartdashboard.sh create mode 100644 frc-libre/smartdashboard/PKGBUILD create mode 100644 frc-nonlibre/smartdashboard-client/PKGBUILD create mode 100644 frc-nonlibre/smartdashboard-client/smartdashboard.sh create mode 100644 frc-notworking/smartdashboard-client/PKGBUILD create mode 100644 frc-notworking/smartdashboard-client/smartdashboard.sh delete mode 100644 frc/smartdashboard-client/PKGBUILD delete mode 100644 frc/smartdashboard-client/smartdashboard.sh diff --git a/frc-almostlibre/smartdashboard-client/PKGBUILD b/frc-almostlibre/smartdashboard-client/PKGBUILD deleted file mode 100644 index 375ea0f..0000000 --- a/frc-almostlibre/smartdashboard-client/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Luke Shumaker - -pkgname=smartdashboard-client -pkgver=2012 -pkgrel=1 -pkgdesc='This is the platform independent SmartDashboard jar file.' -arch=any -url="http://firstforge.wpi.edu/sf/projects/smartdashboard" -license=unknown -depends=(java-runtime) -source=( - 'SmartDashboard2012-src-netbeans.zip::http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.smartdashboard/frs.smartdashboard_client_0_5a1.smartdashboard_client_2012/frs1360?dl=1' - smartdashboard.sh -) - -build() { - cd "$srcdir/smartdashboard2012" - ant -} - -package() { - cd "$srcdir" - - install -m644 -D SmartDashboard2012.jar "$pkgdir/usr/share/smartdashboard/SmartDashboard.jar" - install -m755 -D smartdashboard.sh "$pkgdir/usr/bin/smartdashboard" -} - -md5sums=('174b02a7e6b4e5bd6301a1afb88c5be6' - 'a278b2e86bd4d732e86ac9e084f5ec4d') diff --git a/frc-almostlibre/smartdashboard-client/smartdashboard.sh b/frc-almostlibre/smartdashboard-client/smartdashboard.sh deleted file mode 100644 index 4378584..0000000 --- a/frc-almostlibre/smartdashboard-client/smartdashboard.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -cd /usr/share/smartdashboard - -if [ "`whoami`" == Driver ]; then - java -jar SmartDashboard.jar competition -else - java -jar SmartDashboard.jar -fi diff --git a/frc-libre/smartdashboard/PKGBUILD b/frc-libre/smartdashboard/PKGBUILD new file mode 100644 index 0000000..b5356b5 --- /dev/null +++ b/frc-libre/smartdashboard/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luke Shumaker + +pkgname=smartdashboard +pkgver=2012 +pkgrel=1 +pkgdesc='The new smart dashboard for FRC students.' +arch=any +url="http://firstforge.wpi.edu/sf/projects/smartdashboard" +license=unknown +groups=(frc) +depends=( + smartdashboard-client + smartdashboard-extension-wpicameraextension + wpilibj-networktable-client + + junit + jcommon + jfreechart +) + +package() { + install -d "$pkgdir/usr/share/smartdashboard/lib" + cd "$pkgdir/usr/share/smartdashboard/lib" + ln -s /usr/share/wpilibj/NetworkTable_Client.jar . + ln -s /usr/share/java/jcommon.jar . + ln -s /usr/share/java/jfreechart.jar . + ln -s /usr/share/java/junit.jar . +} diff --git a/frc-nonlibre/smartdashboard-client/PKGBUILD b/frc-nonlibre/smartdashboard-client/PKGBUILD new file mode 100644 index 0000000..f4ed87b --- /dev/null +++ b/frc-nonlibre/smartdashboard-client/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Luke Shumaker + +pkgname=smartdashboard-client +pkgver=2012 +pkgrel=1 +pkgdesc='This is the platform independent SmartDashboard jar file.' +arch=any +url="http://firstforge.wpi.edu/sf/projects/smartdashboard" +license=unknown +groups=(frc) +depends=(java-runtime) +source=( + 'SmartDashboard2012.jar::http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.smartdashboard/frs.smartdashboard_client_0_5a1.smartdashboard_client_2012/frs1359?dl=1' + smartdashboard.sh +) + +package() { + cd "$srcdir" + + install -m644 -D SmartDashboard2012.jar "$pkgdir/usr/share/smartdashboard/SmartDashboard.jar" + install -m755 -D smartdashboard.sh "$pkgdir/usr/bin/smartdashboard" +} + +md5sums=('4df81b4b6ff7c19547513519388f0d95' + 'a278b2e86bd4d732e86ac9e084f5ec4d') diff --git a/frc-nonlibre/smartdashboard-client/smartdashboard.sh b/frc-nonlibre/smartdashboard-client/smartdashboard.sh new file mode 100644 index 0000000..4378584 --- /dev/null +++ b/frc-nonlibre/smartdashboard-client/smartdashboard.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +cd /usr/share/smartdashboard + +if [ "`whoami`" == Driver ]; then + java -jar SmartDashboard.jar competition +else + java -jar SmartDashboard.jar +fi diff --git a/frc-notworking/smartdashboard-client/PKGBUILD b/frc-notworking/smartdashboard-client/PKGBUILD new file mode 100644 index 0000000..28d5b71 --- /dev/null +++ b/frc-notworking/smartdashboard-client/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Luke Shumaker + +pkgname=smartdashboard-client +pkgver=2012 +pkgrel=1 +pkgdesc='This is the platform independent SmartDashboard jar file.' +arch=any +url="http://firstforge.wpi.edu/sf/projects/smartdashboard" +license=unknown +groups=(frc) +depends=(java-runtime) +source=( + 'SmartDashboard2012-src-netbeans.zip::http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.smartdashboard/frs.smartdashboard_client_0_5a1.smartdashboard_client_2012/frs1360?dl=1' + smartdashboard.sh +) + +build() { + cd "$srcdir/smartdashboard2012" + ant +} + +package() { + cd "$srcdir" + + install -m644 -D SmartDashboard2012.jar "$pkgdir/usr/share/smartdashboard/SmartDashboard.jar" + install -m755 -D smartdashboard.sh "$pkgdir/usr/bin/smartdashboard" +} + +md5sums=('174b02a7e6b4e5bd6301a1afb88c5be6' + 'a278b2e86bd4d732e86ac9e084f5ec4d') diff --git a/frc-notworking/smartdashboard-client/smartdashboard.sh b/frc-notworking/smartdashboard-client/smartdashboard.sh new file mode 100644 index 0000000..4378584 --- /dev/null +++ b/frc-notworking/smartdashboard-client/smartdashboard.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +cd /usr/share/smartdashboard + +if [ "`whoami`" == Driver ]; then + java -jar SmartDashboard.jar competition +else + java -jar SmartDashboard.jar +fi diff --git a/frc/smartdashboard-client/PKGBUILD b/frc/smartdashboard-client/PKGBUILD deleted file mode 100644 index 5937591..0000000 --- a/frc/smartdashboard-client/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer: Luke Shumaker - -pkgname=smartdashboard-client -pkgver=2012 -pkgrel=1 -pkgdesc='This is the platform independent SmartDashboard jar file.' -arch=any -url="http://firstforge.wpi.edu/sf/projects/smartdashboard" -license=unknown -depends=(java-runtime) -source=( - 'SmartDashboard2012.jar::http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.smartdashboard/frs.smartdashboard_client_0_5a1.smartdashboard_client_2012/frs1359?dl=1' - smartdashboard.sh -) - -package() { - cd "$srcdir" - - install -m644 -D SmartDashboard2012.jar "$pkgdir/usr/share/smartdashboard/SmartDashboard.jar" - install -m755 -D smartdashboard.sh "$pkgdir/usr/bin/smartdashboard" -} - -md5sums=('4df81b4b6ff7c19547513519388f0d95' - 'a278b2e86bd4d732e86ac9e084f5ec4d') diff --git a/frc/smartdashboard-client/smartdashboard.sh b/frc/smartdashboard-client/smartdashboard.sh deleted file mode 100644 index 4378584..0000000 --- a/frc/smartdashboard-client/smartdashboard.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -cd /usr/share/smartdashboard - -if [ "`whoami`" == Driver ]; then - java -jar SmartDashboard.jar competition -else - java -jar SmartDashboard.jar -fi -- cgit v1.2.3