Skip to content

Commit

Permalink
arexx released a new version of the robotloader
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichard committed Feb 24, 2012
1 parent 9aaaa7b commit a39bc7f
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 6 deletions.
48 changes: 48 additions & 0 deletions debian/arexx-robotloader.postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/bin/bash
# postinst script for arexx-robotloader

set -e

# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package

#. /usr/share/debconf/confmodule


case "$1" in
configure)
# load the modules for using the gpio pins as i2c

mkdir -p /var/log/robotloader
chmod -R 777 /var/log/robotloader

;;

abort-upgrade)
# success: We have successfully aborted an upgrade
;;

abort-remove|abort-deconfigure)
;;

*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
10 changes: 8 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
arexx-robot-arm (1.5-27~oneiric) oneiric; urgency=low
arexx-robot-arm (1.5-28~maverick) maverick; urgency=low

* arexx released a new version of the robotloader

-- Richard Ulrich <richi@paraeasy.ch> Fri, 24 Feb 2012 20:48:00 +0100

arexx-robot-arm (1.5-27~maverick) maverick; urgency=low

* added a package with the ROS firmware
* increased the step value for the racsqt sliders
Expand All @@ -8,7 +14,7 @@ arexx-robot-arm (1.5-27~oneiric) oneiric; urgency=low

-- Richard Ulrich <richi@paraeasy.ch> Thu, 26 Jan 2011 23:20:00 +0100

arexx-robot-arm (1.5-26~oneiric) oneiric; urgency=low
arexx-robot-arm (1.5-26~maverick) maverick; urgency=low

* added a doc package
* some correction for installing files
Expand Down
3 changes: 1 addition & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ configure-stamp:

build: build-stamp

unzip -n RobotLoader_20100712
unzip -n RobotLoader_20120223
unzip -n robot_arm_mini_manual_de
unzip -n robot_arm_pro_manual_de

Expand Down Expand Up @@ -84,7 +84,6 @@ install: build
mkdir -p $(CURDIR)/debian/arexx-robot-arm/usr/share/applications
install -m 0755 $(CURDIR)/RobotLoader_20100712/*.jar -t $(CURDIR)/debian/arexx-robot-arm/usr/share/robotloader
install -m 0755 $(CURDIR)/RobotLoader_20100712/config/*.* -t $(CURDIR)/debian/arexx-robot-arm/etc/robotloader
(cd $(CURDIR)/debian/arexx-robot-arm/usr/share/robotloader; ln -fs ../../../etc/robotloader config )
install -m 0755 $(CURDIR)/debian/*.desktop -t $(CURDIR)/debian/arexx-robot-arm/usr/share/applications
install -m 0755 $(CURDIR)/robotloader -t $(CURDIR)/debian/arexx-robot-arm/usr/bin
install -m 0755 $(CURDIR)/small_robot_arm.png -t $(CURDIR)/debian/arexx-robot-arm/usr/share/robotloader
Expand Down
2 changes: 1 addition & 1 deletion ppa_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rm -rf RobotLoader_20100712/
rm -rf RobotArm_Examples*
rm -rf RACS-*
rm -rf RAC-MINI.hex
wget http://arexx.com/rp6/downloads/RobotLoader_20100712.zip
wget http://www.arexx.com/rp6/downloads/RobotLoader_20120223.zip
wget http://arexx.com/robot_arm/downloads/robot_arm_mini_manual_de.zip
wget http://arexx.com/robot_arm/downloads/robot_arm_pro_manual_de.zip

Expand Down
7 changes: 6 additions & 1 deletion robotloader
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/sh

if [ -d "~/.robotloader" ]; then
mkdir ~/.robotloader
cp -rf /etc/robotloader/* ~/.robotloader/
fi

cd /usr/share/robotloader

java -Djava.ext.dirs="/usr/share/java" -Djava.library.path="/usr/lib/jni" -jar RobotLoader_lib.jar
java -Xmx256m -Djava.ext.dirs="/usr/share/java" -Djava.library.path="/usr/lib/jni" -jar RobotLoader_lib.jar -logdir=/var/log/robotloader -configdir=~/.robotloader

0 comments on commit a39bc7f

Please sign in to comment.