diff options
-rw-r--r-- | academic/loggerpro/README | 12 | ||||
-rw-r--r-- | academic/loggerpro/doinst.sh | 14 | ||||
-rw-r--r-- | academic/loggerpro/loggerpro.SlackBuild | 156 | ||||
-rw-r--r-- | academic/loggerpro/loggerpro.info | 10 | ||||
-rw-r--r-- | academic/loggerpro/slack-desc | 19 |
5 files changed, 0 insertions, 211 deletions
diff --git a/academic/loggerpro/README b/academic/loggerpro/README deleted file mode 100644 index 8eba8d50b0..0000000000 --- a/academic/loggerpro/README +++ /dev/null @@ -1,12 +0,0 @@ -Vernier LoggerPro (data-collection and analysis software) - -Vernier Software & Technology is the leader in educational data -collection technology. Since 1981, we have developed affordable, -award-winning interfaces, sensors, software, and standards-based -curriculum. This package installs files to allow either LoggerPro -or LoggerLite to access devices. - -Sadly, this package installs two symlinks into /usr/local/share/ -and one symlink into /usr/local/bin/ - the /usr/local/ directory -is hardcoded into the LoggerPro files somewhere, and I've not -been able to figure out where or how to correct it... diff --git a/academic/loggerpro/doinst.sh b/academic/loggerpro/doinst.sh deleted file mode 100644 index 0fb9c8b686..0000000000 --- a/academic/loggerpro/doinst.sh +++ /dev/null @@ -1,14 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -x /usr/bin/update-mime-database ]; then - /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - diff --git a/academic/loggerpro/loggerpro.SlackBuild b/academic/loggerpro/loggerpro.SlackBuild deleted file mode 100644 index bef9968019..0000000000 --- a/academic/loggerpro/loggerpro.SlackBuild +++ /dev/null @@ -1,156 +0,0 @@ -#!/bin/sh - -# Slackware build script for loggerpro - -# Copyright 2016 Robby Workman, Tuscaloosa, Alabama, USA -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=loggerpro -VERSION=${VERSION:-3.8.4.6} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SHORTARCH="32" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SHORTARCH="32" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SHORTARCH="64" - LIBDIRSUFFIX="64" -else - SHORTARCH="32" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/LPL-$(printf $VERSION | tr -d .)-$SHORTARCH.tar.gz -ar -x vstdrivers_*.deb -tar xf data.tar.xz -C $PKG -ar -x vstloggerpro_${VERSION}_*.deb -tar xf data.tar.xz -C $PKG - -chown -R root:root $PKG -find -L $PKG \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# /etc/udev goes to /lib/udev -mv $PKG/etc $PKG/lib - -mv $PKG/usr/local/bin/* $PKG/usr/bin - -# Copy over icons first since their presence won't allow a clean move -cp -a $PKG/usr/local/share/icons $PKG/usr/share -rm -rf $PKG/usr/local/share/icons - -# Now move everything else -mv $PKG/usr/local/share/* $PKG/usr/share - -# Move the docs over -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rmdir $PKG/usr/share/doc - -# Kill the /usr/local tree and remove empty /usr/sbin dir -rm -rf $PKG/usr/local -rmdir $PKG/usr/sbin - -# Fix libdir -[ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX} - -# Create library symlinks -ln -s libGoIO.so.2.0.53 $PKG/usr/lib${LIBDIRSUFFIX}/libGoIO.so.2 -ln -s libGoIO.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libGoIO.so -ln -s libNGIO.so.1.0.0 $PKG/usr/lib${LIBDIRSUFFIX}/libNGIO.so.1 -ln -s libNGIO.so.1 $PKG/usr/lib${LIBDIRSUFFIX}/libNGIO.so - -# Nope, we're not writing to /usr during runtime -mkdir -p \ - $PKG/var/lib/LoggerPro/VSTSupport \ - $PKG/var/lib/LoggerPro/tmp \ - $PKG/var/lib/LoggerLite/tmp -rm -r \ - $PKG/usr/share/LoggerPro/Linux/VSTSupport \ - $PKG/usr/share/LoggerPro/Linux/tmp \ - $PKG/usr/share/LoggerLite/Linux/tmp -ln -s /var/lib/LoggerPro/VSTSupport $PKG/usr/share/LoggerPro/Linux/VSTSupport -ln -s /var/lib/LoggerPro/tmp $PKG/usr/share/LoggerPro/Linux/tmp -ln -s /var/lib/LoggerLite/tmp $PKG/usr/share/LoggerLite/Linux/tmp -chmod 1777 \ - $PKG/var/lib/LoggerPro/VSTSupport \ - $PKG/var/lib/LoggerPro/tmp \ - $PKG/var/lib/LoggerLite/tmp - -# The below points were mentioned to Vernier in their forum: -# http://www.vernier.com/forums/logger-pro-linux/404-packaging-improvements/ -# -# /usr/share/LoggerPro/Experiments/ will remain 0755; only the sysadmin -# should be writing to this. TODO: Contact Vernier about this. -# Thinking to myself here... Would be nice to have a three-tier system maybe, -# e.g. /usr/share/LoggerPro/Experiments/, then check a sysadmin configured -# location (e.g. /data/common/LoggerPro/Experiments/ is something like I -# would have), then $HOME, e.g. $HOME/LoggerPro/Experiments/, with all -# three (if set) being check and the contents merged, and each level -# overrides (e.g. same-named files) the previous levels. -# While I'm writing, for the love of sanity, PLEASE use /tmp or /var/tmp -# or some other place, or at least make it configurable in a systemwide -# config file at e.g. /etc/Vernier/LoggerPro.conf (this would be a good -# place to make the other stuff above configurable too) -# Note the move of udev files to /lib/udev instead of /etc/udev - -# Work around the hardcoding of /usr/local (I can't figure out where it's -# hardcoded or thus how to fix it) -mkdir -p $PKG/usr/local/bin $PKG/usr/local/share -ln -s /usr/bin/loggerpro $PKG/usr/local/bin -ln -s /usr/share/LoggerPro $PKG/usr/local/share -ln -s /usr/share/LoggerLite $PKG/usr/local/share - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/loggerpro/loggerpro.info b/academic/loggerpro/loggerpro.info deleted file mode 100644 index 66f1151f05..0000000000 --- a/academic/loggerpro/loggerpro.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="loggerpro" -VERSION="3.8.4.6" -HOMEPAGE="https://www.vernier.com/forums/logger-pro-linux/" -DOWNLOAD="http://www.vernier.com/files/downloads/LPL-3846-32.tar.gz" -MD5SUM="5b088d162258656dd2b83163fd968352" -DOWNLOAD_x86_64="http://www.vernier.com/files/downloads/LPL-3846-64.tar.gz" -MD5SUM_x86_64="3c58a64a2e669a532b119da995c92cb7" -REQUIRES="" -MAINTAINER="Robby Workman" -EMAIL="rworkman@slackbuilds.org" diff --git a/academic/loggerpro/slack-desc b/academic/loggerpro/slack-desc deleted file mode 100644 index 085a65e8ef..0000000000 --- a/academic/loggerpro/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -loggerpro: loggerpro (data-collection and analysis software) -loggerpro: -loggerpro: Vernier Software & Technology is the leader in educational data -loggerpro: collection technology. Since 1981, we have developed affordable, -loggerpro: award-winning interfaces, sensors, software, and standards-based -loggerpro: curriculum. This package installs files to allow either LoggerPro -loggerpro: or LoggerLite to access devices. -loggerpro: -loggerpro: -loggerpro: -loggerpro: |