You are not logged in.
I'm upping this topic because my girlfriend has to use this software for work (she's a teacher), and the only linux version available is fot an old ubuntu (12.04 or older). And the packages you did are no longer in the AUR... Any help ?
Edit : I managed to install it with the help of this page : http://wyldeplayground.net/solved-activ … uild-help/
Last edited by Tromzy (2015-09-03 12:11:27)
Offline
I'm upping this topic because my girlfriend has to use this software for work (she's a teacher), and the only linux version available is fot an old ubuntu (12.04 or older). And the packages you did are no longer in the AUR... Any help ?
Oh, sorry, I didn't had the time to make the transition to AUR4 yet. Here are the recent PKGBUILDs:
activinspire:
# Maintainer: Bazon <bazonbloch@arcor.de>
pkgname=activinspire
pkgver=2.3.65940
pkgrel=2
pkgdesc="Presentation Software to use with Promethean Hardware products."
arch=('i686' 'x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
license=('unknown')
if [ "$CARCH" = "i686" ]; then
_arch='i386'
_md5sum='faed7e0ca0f04190df6702ebc18c7489'
depends=('qt4' 'gstreamer0.10-good-plugins' 'libjpeg6' 'jre7-openjdk' 'openssl098' 'libpulse')
else
_arch='amd64'
_md5sum='3b5ada7a4a713d2e3b0d4547530f2919'
depends=('qt4' 'gstreamer0.10-good-plugins' 'bin32-jre' 'lib32-libjpeg' 'lib32-libjpeg6' 'lib32-libxmu' 'lib32-gstreamer0.10-base' 'lib32-alsa-lib' 'lib32-openssl098' 'lib32-libpulse')
fi
optdepends=('activdriver: promethean hardware support'
'activtools: hardware calibration')
source=(http://activsoftware.co.uk/linux/repos/ubuntu/pool/non-oss/a/activinspire/activinspire_$pkgver-1."$_arch"_"$_arch".deb)
md5sums=( $_md5sum )
package() {
# extract the archive
bsdtar -xf data.tar.gz -C "$pkgdir"
# move out of the local directory to match arch standards
mv "$pkgdir"/usr/local/bin "$pkgdir"/usr/
rmdir "$pkgdir"/usr/local
# the included libphonon_gstreamer.so makes inspire crash on64bit, so take a link to a working one instead
if [ "$CARCH" = "x86_64" ]; then
rm "$pkgdir"/usr/bin/activsoftware/phonon_backend/libphonon_gstreamer.so
ln -s /usr/lib/libphonon.so "$pkgdir"/usr/bin/activsoftware/phonon_backend/libphonon_gstreamer.so
fi
# the starting script contains a lot of stuff specific to ubuntu, we don't need that and make a shorter one
mv "$pkgdir"/usr/bin/inspire "$pkgdir"/usr/bin/inspire-for-ubuntu
echo "#! /bin/bash" > "$pkgdir"/usr/bin/inspire
# in order to make java work, we need an export for 64bit versions:
if [ "$CARCH" = "x86_64" ]; then
echo "export JAVA_HOME=/usr/lib32/jvm/java32-8-jre/jre/" >> "$pkgdir"/usr/bin/inspire
fi
echo "cd /usr/bin/activsoftware" >> "$pkgdir"/usr/bin/inspire
echo "./Inspire \$1" >> "$pkgdir"/usr/bin/inspire
chmod 755 "$pkgdir"/usr/bin/inspire
# delete the no-compiz-shortcut. if you want it, delete the following line
rm "$pkgdir"/usr/share/applications/activsoftware-nc.desktop
# modify the other one to match the new path and add a better hires icon
install -Dm644 "$pkgdir/usr/bin/activsoftware/inspire.ico" "$pkgdir/usr/share/icons/hicolor/512x512/apps/inspire.ico"
sed -i 's/48x48\/apps\/asstudio.png/512x512\/apps\/inspire.ico/' "$pkgdir"/usr/share/applications/activsoftware.desktop
sed -i 's/usr\/local\/bin/usr\/bin/' "$pkgdir"/usr/share/applications/activsoftware.desktop
}
activtools:
# Maintainer: Bazon <bazonbloch@arcor.de>
pkgname=activtools
pkgver=5.10.15
pkgrel=1
pkgdesc="Includes activmanager, activcalibrate, activremote and activmonitor.
You must install activtools if you want to use ActivInspire with Promethean
hardware. You do not need activtools if you just want to run ActivInspire
Personal Edition."
arch=('i686' 'x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
license=('unknown')
if [ "$CARCH" = "i686" ]; then
_arch='i386'
_md5sum='748d75db8520778572dbada9f004e547'
depends=('qt4' 'libudev.so.0')
else
_arch='amd64'
_md5sum='c7e54948cc6d38c71a8e70e123d7c200'
depends=('qt4' 'libudev.so.0' 'lib32-libudev.so.0' 'lib32-glibc<2.21')
fi
optdepends=('activinspire: activboard presentation')
source=(http://activsoftware.co.uk/linux/repos/ubuntu/pool/non-oss/a/activtools/activtools_$pkgver-1~ubuntu~1204_$_arch.deb)
md5sums=( $_md5sum )
package() {
# extract the archive
bsdtar -xf data.tar.gz -C "$pkgdir"
# move out of the local directory to match arch standards
mv "$pkgdir"/usr/local/* "$pkgdir"/usr/
rmdir "$pkgdir"/usr/local
#activmgr works only when started after board is attached, so no autostart.
#Delete the follwing line if you want an autostart of activmgr
cd "$pkgdir"
rm -r etc
#activcalibrate needs libactivboardex.so.1 instead of libactivboardex.so.1.0
#(and needs to be killed after last calibration point with Alt+F4)
#(if you know how to fix: please tell!)
cd "$pkgdir"/usr/lib
ln -s libactivboardex.so.1.0 libactivboardex.so.1
if [ "$CARCH" = "x86_64" ]; then
cd "$pkgdir"/usr/lib32 libactivboardex.so.1.0
ln -s libactivboardex.so.1.0 libactivboardex.so.1
fi
echo " "
echo "when activtools is installed, activinspire needs to be killed before it can restart"
#(if you know how to fix: please tell!)
echo "therefore, a second launcher to restart activinspire is created (inspire-restart)"
cd "$pkgdir"/usr/bin
touch inspire-restart
chmod a+x inspire-restart
echo "#! /bin/bash" > inspire-restart
echo "killall inspire Inspire ; inspire \"\$1\"" >> "$pkgdir"/usr/bin/inspire-restart
cd "$pkgdir"/usr/share/applications/
echo "[Desktop Entry]" > activinspire-restart.desktop
echo "Name=ActivInspire (restart)" >> activinspire-restart.desktop
echo "Comment=Promethean ActivInspire - restart needed when using activtools" >> activinspire-restart.desktop
echo "Exec=/usr/bin/inspire-restart" >> activinspire-restart.desktop
echo "Icon=/usr/share/icons/hicolor/512x512/apps/inspire.ico" >> activinspire-restart.desktop
echo "Terminal=false" >> activinspire-restart.desktop
echo "Encoding=UTF-8" >> activinspire-restart.desktop
echo "Type=Application" >> activinspire-restart.desktop
echo "Categories=Education;Promethean;Applications;" >> activinspire-restart.desktop
echo "MimeType=application/x-asstudio;" >> activinspire-restart.desktop
echo "StartupNotify=false" >> activinspire-restart.desktop
echo " "
echo "activcalibrate has to be closed by Alt+F4 or get killed after the last calibration-point."
echo " "
}
activdriver:
# Maintainer: Bazon <bazonbloch@arcor.de>
# Contributor: Christian Bühler <christian@cbuehler.de>
# Contributor: Zsolt Udvari <udvzsolt@gmail.com>
pkgname=activdriver
pkgver=5.10.15
pkgrel=4
pkgdesc="The kernel mode and X11 drivers for Promethean ActivBoard and ActivHub."
arch=('i686' 'x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
license=('unknown')
makedepends=(linux-headers)
optdepends=('activinspire: activboard presentation'
'activtools: hardware calibration')
install=$pkgname.install
if [ "$CARCH" = "i686" ]; then
_arch='i386'
_md5sum='a90ae7a20d6704e2c2090136bb505c84'
elif [ "$CARCH" = "x86_64" ]; then
_arch='amd64'
_md5sum='6263eb7993f45cef97d84a5fb9619a94'
fi
source=("http://activsoftware.co.uk/linux/repos/ubuntu/pool/oss/a/$pkgname/${pkgname}_$pkgver-1~ubuntu~1204_$_arch.deb"
"10-promethean.conf"
"activdriver.install")
md5sums=( $_md5sum
'11effc25fd592acacb9f9f3108618963'
'8a8a6ddd6741a80a5839593ed385cd9a')
build() {
tar xf data.tar.gz
echo " "
echo "Attention!"
echo "Build will fail if run in a directory with space(s) in its path."
#(reason: makefile of the source. if you know how to fix: please tell!)
echo " "
make -C /lib/modules/$(uname -r)/build SUBDIRS="$srcdir"/usr/src/promethean/kernel modules
sed -i "s%KERN_INC = /usr/src/promethean%KERN_INC = ..%" usr/src/promethean/activlc/Makefile
BUILD=release make -C usr/src/promethean/activlc
sed -i s%/usr/local/bin/%%g usr/bin/promethean.sh
}
package() {
mkdir -p "$pkgdir"/usr
cp -r etc lib "$pkgdir"
cp -r usr/bin usr/lib usr/share "$pkgdir"/usr
install -D usr/src/promethean/activlc/release/activlc "$pkgdir"/usr/bin/activlc
_extmoddir=$(uname -r | sed "s@\([0-9]*\.[0-9]*\)\.[0-9]*-[0-9]*\(.*\)@\1\2@")
# changed compared to pkgrel=1: needs to be this path now:
_moddir="/usr/lib/modules/extramodules-${_extmoddir}"/kernel/drivers/input/tablet/
install -m644 -D usr/src/promethean/kernel/promethean.ko \
"$pkgdir${_moddir}"/promethean.ko
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
install -D 10-promethean.conf "$pkgdir"/etc/X11/xorg.conf.d/10-promethean.conf
# changed compared to pkgrel=1: move /lib to /usr/lib to match arch standards
mv "${pkgdir}"/lib/* "${pkgdir}"/usr/lib/
rmdir "${pkgdir}"/lib
# changed compared to pkgrel=1: load module on boot.
# If you don't want this, delete the following lines and load it manually with sudo modprobe promethean
mkdir -p "$pkgdir"/etc/modules-load.d
echo "promethean" > "$pkgdir"/etc/modules-load.d/promethean.conf
}
+ needed files:
https://dl.dropboxusercontent.com/u/121 … er.install
https://dl.dropboxusercontent.com/u/121 … thean.conf
Recently, there have been some problems with the 64bit version which prevented activinspire to be started after activcalibrate and vice versa. I strongly suggest to use it on a 32bit installation because of that.
Offline
Thank you very much ! Well, I fixed the problem myself, but it can help others (especially since it's the beginning of the new year of school).
Offline
Activinspire is going to be abandon in june 2018 but anyway my work depend on this great software. So the current version of the PKGBUILD is abandon and old (2.4 and now 2.10), so i succeed to upgrade the PKGBUILD to a working 2.10 version.
My PKGBUILD is rough and compile in local, but maybe one of the former maintainer want to upgrade. The 2.10 version drop old dependency like gst0.10 or openssl0.98.
# Maintainer: Bazon <bazonbloch@arcor.de>
# Contributor: Jose Riha <jose1711 gmail com>
pkgname=activinspire
pkgver=2.10.66827
pkgrel=1
pkgdesc="Presentation Software to use with Promethean Hardware products."
arch=('x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
depends=('lib32-gst-plugins-base' 'lib32-openssl-1.0' 'lib32-libjpeg6-turbo')
license=('unknown')
package() {
# extract the archive
bsdtar -xf data.tar.gz -C "$pkgdir"
# move out of the local directory to match arch standards
mv "$pkgdir"/usr/local/bin "$pkgdir"/usr/
rmdir "$pkgdir"/usr/local
# the starting script contains a lot of stuff specific to ubuntu, we don't need that and make a shorter one
mv "$pkgdir"/usr/bin/inspire "$pkgdir"/usr/bin/inspire-for-ubuntu
echo "#! /bin/bash" > "$pkgdir"/usr/bin/inspire
# in order to make java work, we need an export for 64bit versions:
if [ "$CARCH" = "x86_64" ]; then
echo "export JAVA_HOME=/usr/lib32/jvm/java32-8-jre/jre/" >> "$pkgdir"/usr/bin/inspire
fi
echo "cd /usr/bin/activsoftware" >> "$pkgdir"/usr/bin/inspire
echo "./Inspire \$1" >> "$pkgdir"/usr/bin/inspire
chmod 755 "$pkgdir"/usr/bin/inspire
# delete the no-compiz-shortcut. if you want it, delete the following line
rm "$pkgdir"/usr/share/applications/activsoftware-nc.desktop
# modify the other one to match the new path and add a better hires icon
install -Dm644 "$pkgdir/usr/bin/activsoftware/inspire.ico" "$pkgdir/usr/share/icons/hicolor/512x512/apps/inspire.ico"
sed -i 's/48x48\/apps\/asstudio.png/512x512\/apps\/inspire.ico/' "$pkgdir"/usr/share/applications/activsoftware.desktop
sed -i 's/usr\/local\/bin/usr\/bin/' "$pkgdir"/usr/share/applications/activsoftware.desktop
}
My install is 64 bits so i do it for myself but it can be a start point for a good soul.
Offline
1) where's the source array???
2) `cd /usr/bin/activsoftware` is bad, /usr/bin should not have subdirectories and chances are you/they want to install to /usr/lib or /opt
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
hi i'm not very talented and french (not related lol). I just try to upgrade the current PKGBUILD:
# Maintainer: Bazon <bazonbloch@arcor.de>
# Contributor: Jose Riha <jose1711 gmail com>
pkgname=activinspire
pkgver=2.4.66096
pkgrel=1
pkgdesc="Presentation Software to use with Promethean Hardware products."
arch=('i686' 'x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
license=('unknown')
if [ "$CARCH" = "i686" ]; then
_arch='i386'
_md5sum='84c938dc4c06e47223d00575f42c563e'
depends=('qt4' 'gstreamer0.10-good-plugins' 'libjpeg6' 'jre7-openjdk' 'openssl098' 'libpulse')
else
_arch='amd64'
_md5sum='41bc8381221eadeb72ec6f1eaf6d2e70'
depends=('qt4' 'gstreamer0.10-good-plugins' 'bin32-jre' 'lib32-libjpeg' 'lib32-libxmu' 'lib32-gstreamer0.10-base' 'lib32-alsa-lib' 'lib32-openssl098' 'lib32-libpulse' 'lib32-libjpeg6-turbo')
fi
optdepends=('activdriver: promethean hardware support'
'activtools: hardware calibration')
source=(http://activsoftware.co.uk/linux/repos/ubuntu/pool/non-oss/a/activinspire/activinspire_$pkgver-1."$_arch"_"$_arch".deb)
md5sums=( $_md5sum )
package() {
# extract the archive
bsdtar -xf data.tar.gz -C "$pkgdir"
# move out of the local directory to match arch standards
mv "$pkgdir"/usr/local/bin "$pkgdir"/usr/
rmdir "$pkgdir"/usr/local
# the included libphonon_gstreamer.so makes inspire crash on64bit, so take a link to a working one instead
if [ "$CARCH" = "x86_64" ]; then
rm "$pkgdir"/usr/bin/activsoftware/phonon_backend/libphonon_gstreamer.so
ln -s /usr/lib/libphonon.so "$pkgdir"/usr/bin/activsoftware/phonon_backend/libphonon_gstreamer.so
fi
# the starting script contains a lot of stuff specific to ubuntu, we don't need that and make a shorter one
mv "$pkgdir"/usr/bin/inspire "$pkgdir"/usr/bin/inspire-for-ubuntu
echo "#! /bin/bash" > "$pkgdir"/usr/bin/inspire
# in order to make java work, we need an export for 64bit versions:
if [ "$CARCH" = "x86_64" ]; then
echo "export JAVA_HOME=/usr/lib32/jvm/java32-8-jre/jre/" >> "$pkgdir"/usr/bin/inspire
fi
echo "cd /usr/bin/activsoftware" >> "$pkgdir"/usr/bin/inspire
echo "./Inspire \$1" >> "$pkgdir"/usr/bin/inspire
chmod 755 "$pkgdir"/usr/bin/inspire
# delete the no-compiz-shortcut. if you want it, delete the following line
rm "$pkgdir"/usr/share/applications/activsoftware-nc.desktop
# modify the other one to match the new path and add a better hires icon
install -Dm644 "$pkgdir/usr/bin/activsoftware/inspire.ico" "$pkgdir/usr/share/icons/hicolor/512x512/apps/inspire.ico"
sed -i 's/48x48\/apps\/asstudio.png/512x512\/apps\/inspire.ico/' "$pkgdir"/usr/share/applications/activsoftware.desktop
sed -i 's/usr\/local\/bin/usr\/bin/' "$pkgdir"/usr/share/applications/activsoftware.desktop
}
I make progress but as i said i haven't the require knowledge to do it good. My current state is (md5 for 32bit is wrong i know) :
# Maintainer: Bazon <bazonbloch@arcor.de>
# Contributor: Jose Riha <jose1711 gmail com>
pkgname=activinspire
pkgver=2.10.66827
pkgrel=1
pkgdesc="Presentation Software to use with Promethean Hardware products."
arch=('i686' 'x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
if [ "$CARCH" = "i686" ]; then
_arch='i386'
_md5sum='84c938dc4c06e47223d00575f42c563e'
depends=('qt4' 'gstreamer' 'gst-plugins-base' 'libjpeg6-turbo' 'jre8-openjdk' 'openssl-1.0' 'libpulse')
else
_arch='amd64'
_md5sum='59b14c0463a4f11c5e9cacd4d7206fae'
depends=('qt4' 'lib32-gstreamer' 'lib32-gst-plugins-base' 'bin32-jre' 'lib32-libjpeg-turbo' 'lib32-libxmu' 'lib32-alsa-lib' 'lib32-openssl-1.0' 'lib32-libpulse' 'lib32-libjpeg6-turbo')
fi
license=('unknown')
source=(http://activsoftware.co.uk/linux/repos/ubuntu/pool/non-oss/a/activinspire/activinspire_$pkgver-1."$_arch"_"$_arch".deb)
md5sums=( $_md5sum )
package() {
# extract the archive
bsdtar -xf data.tar.gz -C "$pkgdir"
# move out of the local directory to match arch standards
mv "$pkgdir"/usr/local/bin "$pkgdir"/usr/
rmdir "$pkgdir"/usr/local
# the starting script contains a lot of stuff specific to ubuntu, we don't need that and make a shorter one
mv "$pkgdir"/usr/bin/inspire "$pkgdir"/usr/bin/inspire-for-ubuntu
echo "#! /bin/bash" > "$pkgdir"/usr/bin/inspire
# in order to make java work, we need an export for 64bit versions:
if [ "$CARCH" = "x86_64" ]; then
echo "export JAVA_HOME=/usr/lib32/jvm/java32-8-jre/jre/" >> "$pkgdir"/usr/bin/inspire
fi
echo "cd /usr/bin/activsoftware" >> "$pkgdir"/usr/bin/inspire
echo "./Inspire \$1" >> "$pkgdir"/usr/bin/inspire
chmod 755 "$pkgdir"/usr/bin/inspire
# delete the no-compiz-shortcut. if you want it, delete the following line
rm "$pkgdir"/usr/share/applications/activsoftware-nc.desktop
# modify the other one to match the new path and add a better hires icon
install -Dm644 "$pkgdir/usr/bin/activsoftware/inspire.ico" "$pkgdir/usr/share/icons/hicolor/512x512/apps/inspire.ico"
sed -i 's/48x48\/apps\/asstudio.png/512x512\/apps\/inspire.ico/' "$pkgdir"/usr/share/applications/activsoftware.desktop
sed -i 's/usr\/local\/bin/usr\/bin/' "$pkgdir"/usr/share/applications/activsoftware.desktop
}
You re proposal are welcome, but be kind ....
Offline
I try to take your advise in consideration and put /usr/bin/activsoftware in /opt/activsofware . It seems to work, but i can't test everything and the i386 part. An other thing i notice is that inspire doesn't quit nicely and you have to kill the process manualy (it seems to close but it remain in the process list). I don't think that is a packaging problem (?). I also update the md5sum for i386.
# Maintainer: Bazon <bazonbloch@arcor.de>
# Contributor: Jose Riha <jose1711 gmail com>
pkgname=activinspire
pkgver=2.10.66827
pkgrel=1
pkgdesc="Presentation Software to use with Promethean Hardware products."
arch=('i686' 'x86_64')
url="http://activsoftware.co.uk/linux/repos/ubuntu/dists/precise/Release"
if [ "$CARCH" = "i686" ]; then
_arch='i386'
_md5sum='08044e50534527a7a88ac6ff0586c934'
depends=('qt4' 'gstreamer' 'gst-plugins-base' 'libjpeg6-turbo' 'jre8-openjdk' 'openssl-1.0' 'libpulse')
else
_arch='amd64'
_md5sum='59b14c0463a4f11c5e9cacd4d7206fae'
depends=('qt4' 'lib32-gstreamer' 'lib32-gst-plugins-base' 'bin32-jre' 'lib32-libjpeg-turbo' 'lib32-libxmu' 'lib32-alsa-lib' 'lib32-openssl-1.0' 'lib32-libpulse' 'lib32-libjpeg6-turbo')
fi
license=('unknown')
source=(http://activsoftware.co.uk/linux/repos/ubuntu/pool/non-oss/a/activinspire/activinspire_$pkgver-1."$_arch"_"$_arch".deb)
md5sums=( $_md5sum )
package() {
# extract the archive
bsdtar -xf data.tar.gz -C "$pkgdir"
# move out of the local directory to match arch standards
mv "$pkgdir"/usr/local/bin "$pkgdir"/usr/
rmdir "$pkgdir"/usr/local
mkdir "$pkgdir"/opt/
mv "$pkgdir"/usr/bin/activsoftware "$pkgdir"/opt/
# the starting script contains a lot of stuff specific to ubuntu, we don't need that and make a shorter one
rm "$pkgdir"/usr/bin/inspire
echo "#! /bin/bash" > "$pkgdir"/usr/bin/inspire
# in order to make java work, we need an export for 64bit versions:
if [ "$CARCH" = "x86_64" ]; then
echo "export JAVA_HOME=/usr/lib32/jvm/java32-8-jre/jre/" >> "$pkgdir"/usr/bin/inspire
fi
echo "cd /opt/activsoftware" >> "$pkgdir"/usr/bin/inspire
echo "./Inspire \$1" >> "$pkgdir"/usr/bin/inspire
chmod 755 "$pkgdir"/usr/bin/inspire
# delete the no-compiz-shortcut. if you want it, delete the following line
rm "$pkgdir"/usr/share/applications/activsoftware-nc.desktop
# modify the other one to match the new path and add a better hires icon
install -Dm644 "$pkgdir/opt/activsoftware/inspire.ico" "$pkgdir/usr/share/icons/hicolor/512x512/apps/inspire.ico"
sed -i 's/48x48\/apps\/asstudio.png/512x512\/apps\/inspire.ico/' "$pkgdir"/usr/share/applications/activsoftware.desktop
sed -i 's/usr\/local\/bin/usr\/bin/' "$pkgdir"/usr/share/applications/activsoftware.desktop
}
Offline