You are not logged in.
hi
i put the ooqstart package up to staging
(since staging is not reachable build it yourself it's a very small app)
now it is possible to use the openoffice quickstart with every wm/de you want
all you have to to is to put a bash script in the autostart directory of your favourite de/wm
here is the pkgbuild:
# Contributor : Tobias Powalowski <t.powa@gmx.de>
pkgname=ooqstart
pkgver=0.8.3
pkgrel=s1
pkgdesc="OpenOffice Quickstarter is a small command line tool for caching OO in memory"
url="http://ooqstart.sourceforge.net"
depends=('gcc')
source=(http://switch.dl.sourceforge.net/sourceforge/ooqstart/$pkgname-$pkgver.tgz)
install=ooqstart.install
build() {
cd $startdir/src/$pkgname-$pkgver
make ooqstart || return 1
mkdir -p $startdir/pkg/usr/bin
mv ooqstart $startdir/pkg/usr/bin
}
md5sums=('f3c15a29e8bbd7780972e69f11f564a4')
ooqstart.install:
# arg 1: the new package version
post_install() {
cat << EOF
==> Add the following script to your Autostart directory to enable Quickstart on login:
!# /bin/bash
killall -9 ooqstart
killall -9 soffice.bin
ooqstart /opt/openoffice&
EOF
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
# arg 1: the old package version
post_remove() {
cat << EOF
==> Remove the script from your Autostart directory if you have used it
EOF
}
op=$1
shift
$op $*
Offline
I received the following build error:
==> Validating source files with MD5sums
ooqstart-0.8.3.tgz ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf ooqstart-0.8.3.tgz
==> Starting build()...
g++ -g -DVERSION='"0.8.3"' -Wall -Werror -I. -O2 -o model.o -c model.cxx
cc1plus: warnings being treated as errors
model.cxx: In function 'int startProcess(const char*, const char*, const char*, const char*)':
model.cxx:72: warning: missing sentinel in function call
make: *** [model.o] Error 1
==> ERROR: Build Failed. Aborting...
Thanks.
Offline