Can someone review this nTPV (POS system) PKGBUILD, please ?

Hi, This is my first serious attempt to make a PKGBUILD, and I would like if someone can review it and make comments, bugfixes, and all kind of feedback you want. The package is nTPV, a POS (Point Of Sale) system for pubs, discos, restaurants, .... I think the program is very nice but the source tarball is not easy to build (It's mainly focused on debian). Right now the program is in spanish but the author says that for 1.2 final version it will be released in english also.
I have had to make many workarounds to make the program compile and I don't know if the process can be enhanced before trying it to be acce pted in the AUR. I Hope soon I would put a link to a binary package and a simple instruccions on how to build the complete POS system (database & customizations included).
Unfortunaly, this package depends on other one (gdchart) that hasn't an official archlinux package. So I submit two PKGBUILDS for your review.
Many thanx.
pkgname=ntpv
pkgver=1.2rc1
pkgrel=3
pkgdesc="nTPV POS System & libs"
url="http://www.napsis.com"
license=""
depends=('xorg' 'qt' 'kdelibs' 'libxml2' 'gd' 'gdchart' 'sudo' 'nmap' 'iproute')
makedepends=()
conflicts=()
replaces=()
backup=()
install=ntpv.install
source=(http://switch.dl.sourceforge.net/sourceforge/ntpv/ntpv_bundle-1.2-rc1.tar.gz)
md5sums=('0712a36f80c72c5b6c6011170683eac7')
dirname=ntpv_bundle-1.2rc1
build() {
# 1) Libbslxml
cd $startdir/src/$dirname/libbslxml
make INCLUDES+="-I/usr/include/libxml2 -I/opt/qt/include" LDFLAGS+="-L/opt/qt/lib" || return 1
mkdir -p $startdir/pkg/usr/lib $startdir/pkg/usr/include/libbslxml
cp libbslxml.so.0.2.1 $startdir/pkg/usr/lib
cp *.h $startdir/pkg/usr/include/libbslxml
cd $startdir/pkg/usr/lib
ln -s libbslxml.so.0.2.1 libbslxml.so.0.2
ln -s libbslxml.so.0.2.1 libbslxml.so
# 2) Libqutexr
cd $startdir/src/$dirname/libqutexr/src
qmake -makefile || return 1
make LDFLAGS+="-L$stardir/pkg/usr/lib" || return 1
mkdir -p $startdir/pkg/usr/include/libqutexr
cp *.h $startdir/pkg/usr/include/libqutexr
cp libqutexr.a $startdir/pkg/usr/lib
chmod 755 $startdir/pkg/usr/lib/libqutexr.a
# 3) ntpv-libs base
cd $startdir/src/$dirname/ntpvlibs
make -f Makefile-base INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -lsql -lpsql" || return 1
mkdir -p $startdir/pkg/usr/include/liblinuxbar
cp -f *.h $startdir/pkg//usr/include/liblinuxbar/
cp -f liblinuxbar.so.0.1.1 $startdir/pkg/usr/lib/
cd $startdir/pkg/usr/lib
ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0.1
ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0
ln -s liblinuxbar.so.0.1.1 liblinuxbar.so
# 4) ntpv-libs widgets
cd $startdir/src/$dirname/ntpvlibs
sed -i -e "s:// ::" floatkeyboardbox.cpp
sed -i -e "s:/usr/bin/moc:/opt/qt/bin/moc:" Makefile-widgets
sed -i -e "s/-shared/-shared $(LDFLAGS)/ " Makefile-widgets
make -f Makefile-widgets INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
mkdir -p $startdir/pkg/usr/include/liblinuxbarwidgets
cp -f *.h $startdir/pkg/usr/include/liblinuxbarwidgets/
cp -f liblinuxbarwidgets.so.0.0.4 $startdir/pkg/usr/lib/
cd $startdir/pkg/usr/lib
ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0.1
ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0
ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so
# 5) xmlmanage
cd $startdir/src/$dirname/xmlmanage-0.1
./configure
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
mkdir -p $startdir/pkg/usr/bin
cp xmlmanage/xmlmanage $startdir/pkg/usr/bin/
# 6) dcopprinter
cd $startdir/src/$dirname/dcopprinter-0.3
grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
./configure
sed -i -e "s:/usr/lib/libqutexr.a:$startdir/pkg/usr/lib/libqutexr.a:" dcopprinter/Makefile
sed -i -e "s:/usr/bin/dcopidl:/opt/kde/bin/dcopidl:" dcopprinter/Makefile
sed -i -e "s:/usr/bin/dcopudl2cpp:/opt/kde/bin/dcopidl2cpp:" dcopprinter/Makefile
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib -L/opt/kde/lib" || return 1
cp dcopprinter/dcopprinter $startdir/pkg/usr/bin/
mkdir -p $startdir/pkg/etc/ntpv
cp -r etc_linuxbar/* $startdir/pkg/etc/ntpv
mkdir -p $startdir/pkg/usr/share/dcopprinter
cp -r usr_dcopprinter/* $startdir/pkg/usr/share/dcopprinter/
#7) ntpv
cd $startdir/src/$dirname/ntpv-1.2
sed -i -e "s/" "/" > "/" linuxbar/barcore/openbox.cpp # BUG FIX
sed -i -e "s/fewa/ntpv/" etc_ntpv/bar_database.xml
sed -i -e "s/192.168.2.201/localhost/" etc_ntpv/dcopprinter_config.xml
sed -i -e "s:/sbin/sync:/bin/sync:" linuxbar/menusystem/menus/bslexitactionswidget.cpp
./configure
grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include -I/usr/include/gdchart" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
cp linuxbar/linuxbar $startdir/pkg/usr/bin/ntpv
cp -r etc_ntpv/* $startdir/pkg/etc/ntpv/
mkdir -p $startdir/pkg/usr/share/ntpv
cp -r usr_share_ntpv/* $startdir/pkg/usr/share/ntpv
#8) ntpvbo
cd $startdir/src/$dirname/ntpvbo-1.2
sed -i -e "s:*proc << "sudo";://*proc << "sudo";:" linuxbarbackoffice/menusystem/database/bslddbbwidget.cpp
./configure
grep -Rl --include "*.cpp" --include "*.h" "/usr/include/" . | xargs sed -i -e "s:/usr/include/::"
grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
cp linuxbarbackoffice/linuxbarbackoffice $startdir/pkg/usr/bin/ntpv_backoffice
mkdir -p $startdir/pkg/etc/ntpv_backoffice
cp -r etc_ntpv_backoffice/* $startdir/pkg/etc/ntpv_backoffice/
mkdir -p $startdir/pkg/usr/share/ntpv_backoffice
cp -r usr_share_linuxbarbackoffice/* $startdir/pkg/usr/share/ntpv_backoffice/
the ntpv.install file
create_group() {
grupo_ntpv=$(cat /etc/group |sed s/:/' '/ | awk '$1~/ntpv/ {print $1}' |wc -l)
ADDGRP=$(which addgroup 2>/dev/null)
if [ -z $ADDGRP ]
then
ADDGRP=$(which groupadd 2>/dev/null)
fi
if [ $grupo_ntpv -eq 0 ]
then
$ADDGRP ntpv
fi
check_perms() {
if [ -d $dir_ntpv ]
then
echo -ne "checking group and permissions of /etc/ntpv"
chgrp -R ntpv $dir_ntpv
chgrp -R ntpv ${dir_ntpv}/*
chmod g+rwx $dir_ntpv
find ${dir_ntpv}/ -type d | xargs chmod g+rwx
find ${dir_ntpv}/ -type f | xargs chmod g+rw
echo -e " ttt[DONE]"
fi
if [ -d $dir_ntpv_backoffice ]
then
echo -ne "checking group and permissions of /etc/ntpv_backoffice"
chgrp -R ntpv $dir_ntpv_backoffice
chgrp -R ntpv ${dir_ntpv_backoffice}/*
chmod g+rwx $dir_ntpv_backoffice
find ${dir_ntpv_backoffice}/ -type d | xargs chmod g+rwx
find ${dir_ntpv_backoffice}/ -type f | xargs chmod g+rw
echo -e " tt[DONE]"
fi
# arg 1: the new package version
post_install() {
create_group
check_perms
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
check_perms
dir_ntpv=/etc/ntpv
dir_ntpv_backoffice=/etc/ntpv_backoffice
op=$1
shift
$op $*
and the other PKGBUILD
pkgname=gdchart
pkgver=0.11.5dev
pkgrel=1
pkgdesc="Create charts and graphs in PNG, GIF and WBMP format"
url="http://www.fred.net/brv/chart/"
license=""
depends=('gd')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.fred.net/brv/chart/$pkgname$pkgver.tar.gz)
md5sums=('a4af7bc927d8b88934da56fce10a7a3c')
build() {
cd $startdir/src/$pkgname$pkgver
sed -i -e "s:local/::" Makefile
make || return 1
mkdir -p $startdir/pkg/usr/include
cp *.h $startdir/pkg/usr/include/
mkdir -p $startdir/pkg/usr/lib
cp libgdc.a $startdir/pkg/usr/lib

Hi, This is my first serious attempt to make a PKGBUILD, and I would like if someone can review it and make comments, bugfixes, and all kind of feedback you want. The package is nTPV, a POS (Point Of Sale) system for pubs, discos, restaurants, .... I think the program is very nice but the source tarball is not easy to build (It's mainly focused on debian). Right now the program is in spanish but the author says that for 1.2 final version it will be released in english also.
I have had to make many workarounds to make the program compile and I don't know if the process can be enhanced before trying it to be acce pted in the AUR. I Hope soon I would put a link to a binary package and a simple instruccions on how to build the complete POS system (database & customizations included).
Unfortunaly, this package depends on other one (gdchart) that hasn't an official archlinux package. So I submit two PKGBUILDS for your review.
Many thanx.
pkgname=ntpv
pkgver=1.2rc1
pkgrel=3
pkgdesc="nTPV POS System & libs"
url="http://www.napsis.com"
license=""
depends=('xorg' 'qt' 'kdelibs' 'libxml2' 'gd' 'gdchart' 'sudo' 'nmap' 'iproute')
makedepends=()
conflicts=()
replaces=()
backup=()
install=ntpv.install
source=(http://switch.dl.sourceforge.net/sourceforge/ntpv/ntpv_bundle-1.2-rc1.tar.gz)
md5sums=('0712a36f80c72c5b6c6011170683eac7')
dirname=ntpv_bundle-1.2rc1
build() {
# 1) Libbslxml
cd $startdir/src/$dirname/libbslxml
make INCLUDES+="-I/usr/include/libxml2 -I/opt/qt/include" LDFLAGS+="-L/opt/qt/lib" || return 1
mkdir -p $startdir/pkg/usr/lib $startdir/pkg/usr/include/libbslxml
cp libbslxml.so.0.2.1 $startdir/pkg/usr/lib
cp *.h $startdir/pkg/usr/include/libbslxml
cd $startdir/pkg/usr/lib
ln -s libbslxml.so.0.2.1 libbslxml.so.0.2
ln -s libbslxml.so.0.2.1 libbslxml.so
# 2) Libqutexr
cd $startdir/src/$dirname/libqutexr/src
qmake -makefile || return 1
make LDFLAGS+="-L$stardir/pkg/usr/lib" || return 1
mkdir -p $startdir/pkg/usr/include/libqutexr
cp *.h $startdir/pkg/usr/include/libqutexr
cp libqutexr.a $startdir/pkg/usr/lib
chmod 755 $startdir/pkg/usr/lib/libqutexr.a
# 3) ntpv-libs base
cd $startdir/src/$dirname/ntpvlibs
make -f Makefile-base INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -lsql -lpsql" || return 1
mkdir -p $startdir/pkg/usr/include/liblinuxbar
cp -f *.h $startdir/pkg//usr/include/liblinuxbar/
cp -f liblinuxbar.so.0.1.1 $startdir/pkg/usr/lib/
cd $startdir/pkg/usr/lib
ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0.1
ln -s liblinuxbar.so.0.1.1 liblinuxbar.so.0
ln -s liblinuxbar.so.0.1.1 liblinuxbar.so
# 4) ntpv-libs widgets
cd $startdir/src/$dirname/ntpvlibs
sed -i -e "s:// ::" floatkeyboardbox.cpp
sed -i -e "s:/usr/bin/moc:/opt/qt/bin/moc:" Makefile-widgets
sed -i -e "s/-shared/-shared $(LDFLAGS)/ " Makefile-widgets
make -f Makefile-widgets INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
mkdir -p $startdir/pkg/usr/include/liblinuxbarwidgets
cp -f *.h $startdir/pkg/usr/include/liblinuxbarwidgets/
cp -f liblinuxbarwidgets.so.0.0.4 $startdir/pkg/usr/lib/
cd $startdir/pkg/usr/lib
ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0.1
ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so.0
ln -s liblinuxbarwidgets.so.0.0.4 liblinuxbarwidgets.so
# 5) xmlmanage
cd $startdir/src/$dirname/xmlmanage-0.1
./configure
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib" || return 1
mkdir -p $startdir/pkg/usr/bin
cp xmlmanage/xmlmanage $startdir/pkg/usr/bin/
# 6) dcopprinter
cd $startdir/src/$dirname/dcopprinter-0.3
grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
./configure
sed -i -e "s:/usr/lib/libqutexr.a:$startdir/pkg/usr/lib/libqutexr.a:" dcopprinter/Makefile
sed -i -e "s:/usr/bin/dcopidl:/opt/kde/bin/dcopidl:" dcopprinter/Makefile
sed -i -e "s:/usr/bin/dcopudl2cpp:/opt/kde/bin/dcopidl2cpp:" dcopprinter/Makefile
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib -L/opt/qt/lib -L/opt/kde/lib" || return 1
cp dcopprinter/dcopprinter $startdir/pkg/usr/bin/
mkdir -p $startdir/pkg/etc/ntpv
cp -r etc_linuxbar/* $startdir/pkg/etc/ntpv
mkdir -p $startdir/pkg/usr/share/dcopprinter
cp -r usr_dcopprinter/* $startdir/pkg/usr/share/dcopprinter/
#7) ntpv
cd $startdir/src/$dirname/ntpv-1.2
sed -i -e "s/" "/" > "/" linuxbar/barcore/openbox.cpp # BUG FIX
sed -i -e "s/fewa/ntpv/" etc_ntpv/bar_database.xml
sed -i -e "s/192.168.2.201/localhost/" etc_ntpv/dcopprinter_config.xml
sed -i -e "s:/sbin/sync:/bin/sync:" linuxbar/menusystem/menus/bslexitactionswidget.cpp
./configure
grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include -I/usr/include/gdchart" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
cp linuxbar/linuxbar $startdir/pkg/usr/bin/ntpv
cp -r etc_ntpv/* $startdir/pkg/etc/ntpv/
mkdir -p $startdir/pkg/usr/share/ntpv
cp -r usr_share_ntpv/* $startdir/pkg/usr/share/ntpv
#8) ntpvbo
cd $startdir/src/$dirname/ntpvbo-1.2
sed -i -e "s:*proc << "sudo";://*proc << "sudo";:" linuxbarbackoffice/menusystem/database/bslddbbwidget.cpp
./configure
grep -Rl --include "*.cpp" --include "*.h" "/usr/include/" . | xargs sed -i -e "s:/usr/include/::"
grep -Rl --include "*.cpp" "namespace.*{}.*;" . | xargs sed -i -e "s/^namespace.*{}.*;/namespace std {}/"
make INCLUDES+="-I$startdir/pkg/usr/include -I/opt/qt/include -I/opt/kde/include" LDFLAGS+="-L$startdir/pkg/usr/lib" || return 1
cp linuxbarbackoffice/linuxbarbackoffice $startdir/pkg/usr/bin/ntpv_backoffice
mkdir -p $startdir/pkg/etc/ntpv_backoffice
cp -r etc_ntpv_backoffice/* $startdir/pkg/etc/ntpv_backoffice/
mkdir -p $startdir/pkg/usr/share/ntpv_backoffice
cp -r usr_share_linuxbarbackoffice/* $startdir/pkg/usr/share/ntpv_backoffice/
the ntpv.install file
create_group() {
grupo_ntpv=$(cat /etc/group |sed s/:/' '/ | awk '$1~/ntpv/ {print $1}' |wc -l)
ADDGRP=$(which addgroup 2>/dev/null)
if [ -z $ADDGRP ]
then
ADDGRP=$(which groupadd 2>/dev/null)
fi
if [ $grupo_ntpv -eq 0 ]
then
$ADDGRP ntpv
fi
check_perms() {
if [ -d $dir_ntpv ]
then
echo -ne "checking group and permissions of /etc/ntpv"
chgrp -R ntpv $dir_ntpv
chgrp -R ntpv ${dir_ntpv}/*
chmod g+rwx $dir_ntpv
find ${dir_ntpv}/ -type d | xargs chmod g+rwx
find ${dir_ntpv}/ -type f | xargs chmod g+rw
echo -e " ttt[DONE]"
fi
if [ -d $dir_ntpv_backoffice ]
then
echo -ne "checking group and permissions of /etc/ntpv_backoffice"
chgrp -R ntpv $dir_ntpv_backoffice
chgrp -R ntpv ${dir_ntpv_backoffice}/*
chmod g+rwx $dir_ntpv_backoffice
find ${dir_ntpv_backoffice}/ -type d | xargs chmod g+rwx
find ${dir_ntpv_backoffice}/ -type f | xargs chmod g+rw
echo -e " tt[DONE]"
fi
# arg 1: the new package version
post_install() {
create_group
check_perms
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
check_perms
dir_ntpv=/etc/ntpv
dir_ntpv_backoffice=/etc/ntpv_backoffice
op=$1
shift
$op $*
and the other PKGBUILD
pkgname=gdchart
pkgver=0.11.5dev
pkgrel=1
pkgdesc="Create charts and graphs in PNG, GIF and WBMP format"
url="http://www.fred.net/brv/chart/"
license=""
depends=('gd')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.fred.net/brv/chart/$pkgname$pkgver.tar.gz)
md5sums=('a4af7bc927d8b88934da56fce10a7a3c')
build() {
cd $startdir/src/$pkgname$pkgver
sed -i -e "s:local/::" Makefile
make || return 1
mkdir -p $startdir/pkg/usr/include
cp *.h $startdir/pkg/usr/include/
mkdir -p $startdir/pkg/usr/lib
cp libgdc.a $startdir/pkg/usr/lib

Similar Messages

  • Can someone perform this speaker test for me please

    Hi can someone perform this test for please, play some ipod music through your phone and and cover 1 speaker at a time with you finger, does 1 block out the music as if one speaker is much louder than the other ? just I have tried this on my new iphone 4 as thought it might be a problem but my 3GS is doing it to ??, is it fault or meant to be like that

    There's only one speaker.
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Can someone decipher this crash report for me please? :(

    I have no clue why this is crashing.  Its just a simple TweenMAX that calls a function onStart and onComplete.
    I dont know what all these references are to apple.Music
    I see a lowMemory error as well ..  but my Profiler is showing that I'm hardly using any memory.  ??
    Apr 15 18:06:33 unknown kernel[0] <Debug>: launchd[2123] Builtin profile: container (sandbox)
    Apr 15 18:06:33 unknown kernel[0] <Debug>: launchd[2123] Container: /private/var/mobile/Applications/E88687CB-C4D3-4B7E-B61A-30AE1FF128A4 [69] (sandbox)
    >
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.Music[0x3b9]) Exited: Killed: 9
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0xf1b8]) Exited: Killed: 9
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application 'Music' exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0xaeff]) Exited: Killed: 9
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application 'FaceTime' exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown UserEventAgent[12] <Notice>: jetsam: kernel termination snapshot being created
    Apr 15 18:06:48 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:historyapp[0x2680]) Exited: Killed: 9
    Apr 15 18:06:48 unknown ReportCrash[2126] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-04-15-180648.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
    Apr 15 18:06:48 unknown SpringBoard[23] <Warning>: Application exited abnormally with signal 9: Killed: 9
    Apr 15 18:06:48 unknown kernel[0] <Debug>: launchd[2124] Builtin profile: MobileMail (sandbox)

    There's only one speaker.
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Can BC tie into a POS System (Micros or Aloha) to track sales, employee performance etc.

    Just wondering if anyone else has been asked this question or knows the answer.
    "Can BC tie into a POS System (Micros or Aloha) to track sales, employee performance etc."

    While you're waiting on an answer from the community I'd like to share the link with you that will give you an idea of what's possible to integrate. This is the list of all BC web services - https://worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx
    Anything you are able to obtain through those services can be integrated. I don't see how employee performance can be integrated.
    Cheers,
    Mario

  • Can someone execute this program?

    Can someone execute this program for me and tell me if it works correctly? My DOS is acting funny.
    look for these things:
    - accepts input from keyboard and places them into an array
    - continues to accept names until a blank name is entered
    - array can contain up to 15 names
    - after all names are entered, it displays the contents of the array
    and writes them to a file
    - output should be in 2 columns
    if you see a problem, please tell me how to fix it.
    import java.io.*;
    * the purpose of this program is to read data from the keyboard
    * and put it into a sequential file for processing by ReadFile
    * @author Maya Crawford
    public class Lab0
    * this function will prompt and receive data from the keyboard
    * @return String containing the data read from the keyboard
    * @param BufferedReader that is connected to System.in
    */ (keyboard)
    public static String getData(BufferedReader infile)
    throws IOException
    System.out.println("enter a name");
    return infile.readLine();
    * this is the main program which will read from the keyboard and
    * display the given input onto the screen and also write the data
    * to a file
    * @param Array of Strings (not used in this program)
    public static void main(String[] args)
    throws IOException
    int i;
    String[] outString = new String[16];
    DataOutputStream output=null;
    // this code assigns the standard input to a datastream
    BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
    // this code opens the output file...
    try
    output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
    // handle any open errors
    catch (IOException e)
    System.err.println("Error in opening output file\n"
    + e.toString());
    System.exit(1);
    // priming read......
    for(i=0;i<outString.length;i++)
    outString=getData(input);
    // this is the loop to continue while nnonblank data is entered
    while (!outString.equals(""))
    for(i=0;i<outString.length;i++)
    outString[i]=getData(input);
    outString[i] = input.readLine();
    System.out.println("Name entered was:"+ outString[i]);
    output.writeBytes(outString[i]+"\r\n");
    int rcol=(outString.length+1)/2;
    for(i=0;i<(outString.length)/2;i++)
    System.out.println(outString[i]+"\t"+outString[rcol++]);
    // flush buffers and close file...
    try
    output.flush();
    output.close();
    catch (IOException e)
    System.err.println("Error in closing output file\n"
    + e.toString());
    // say goodnight Gracie...
    System.out.println("all done");

    Ok, here is what I came up with. I commented most of what I changed and gave a reason for changing it. My changes aren't perfect and it still needs to be tweeked. When you run the program you have to hit the enter key every time once before you type a name. When you are done typing names hit the enter key twice and it will output the names entered into the array. Like I said, it isn't perfect, and that part you will need to fix.
    import java.io.*;
    * the purpose of this program is to read data from the keyboard
    * and put it into a sequential file for processing by ReadFile
    * @author Maya Crawford
    public class Lab0
         * this function will prompt and receive data from the keyboard
         * @return String containing the data read from the keyboard
         * @param BufferedReader that is connected to System.in
         */ //(keyboard)
         //On the above line where you have (keyboard), it wasn't commented out in your
         //program and it was throwing a error.
         public static String getData(BufferedReader infile)
         throws IOException
              System.out.println("enter a name");
              return infile.readLine();
         * this is the main program which will read from the keyboard and
         * display the given input onto the screen and also write the data
         * to a file
         * @param Array of Strings (not used in this program)
         public static void main(String[] args)
         throws IOException
              int i;
              String testString; // Created to hold the string entered by the user, because your
                                 // outString array wasn't working for that.
              String[] outString = new String[16];
              DataOutputStream output=null;
              // this code assigns the standard input to a datastream
              BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
              // this code opens the output file...
              try
                   output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
              // handle any open errors
              catch (IOException e)
                   System.err.println("Error in opening output file\n"
                   + e.toString());
                   System.exit(1);
              // priming read......
              testString = " ";  // Initialize testString
              int placeMark = 0; // to input the String entered by the user into the outString
                                 // array, it needs to know which position to enter it into.
              while (!testString.equals(""))
                   testString=getData(input);
                   testString = input.readLine();
                   System.out.println("Name entered was:"+ testString);
                   // Put the testString into the outString[] array.
                   // A lot of the time when you used outString you forgot to use the [x] to indicate
                   // which position you wanted to access.
                   outString[placeMark] = testString;
                   output.writeBytes(testString+"\r\n");
                   placeMark++;
            // Created a do/while loop to display the list of outString.
              int nextEntry = 0;
              do
                   System.out.println(outString[nextEntry]);
                   nextEntry++;
              }while(!outString[nextEntry].equals(""));
              // flush buffers and close file...
              try
                   output.flush();
                   output.close();
              catch (IOException e)
                   System.err.println("Error in closing output file\n"
                   + e.toString());
              // say goodnight Gracie...
              System.out.println("all done");
    }

  • Can someone awnser this question please

    '\ my sound card and my tv is digital but my stereo surround system is analogue but my question is.
    how well to the analogue to digital converts work which i can buy for 40 quid.
    will it give me the same quality digital to digital if im using analogue to digital.
    any help will be much apreciated

    +Re: can someone awnser this question pleased
    deebs986 wrote:
    my sound card and my tv is digital but my stereo surround system is analogue but my question is.
    how well to the analogue to digital converts work which i can buy for 40 quid.
    will it give me the same quality digital to digital if im using analogue to digital.
    any help will be much apreciated
    Depends on
    the analog part of A/D Converter and the converter as well ... there are cheap ones which (if you're audiophile)? may give weak results but normally, those are suitable even being that cheap ... you name ones you have in mind to get more exact answers<
    the source ... D to D is : (lossless (theory))? , A to D (lossy (why, ... read above))<
    jutapa
    @9.56.77.37

  • I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. Can someone resolve this problem.

    I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.

    Contact App Store support. They're the folks who can help with Account issues.
    Regards
    TD

  • Hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

    hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!

                     Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Multithreading - Can someone explain this ...

    Hi Java Gurus:
    Can someone explain this to me why my multithreading worked in once case and not in the other.
    First a little background:
    My application lets the user create multiple JInternalFrames. Each frame has an OK button. When the user presses the OK button, the frame goes about it's business in a new thread, thus returning control to the use, so he/she can press the OK button on the second frame .. and so on.
    Following is the event handler for the OK button that creates the new thread:
    case1 - doesn't work:
          btnTranslate.addActionListener(
             new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                             txtOutput.setText("");
                             txtBadParts.setText("");
                   Translation trans = new Translation(inst);
                   trans.run();
          );case2 - works:
          btnTranslate.addActionListener(
             new ActionListener() {
                public void actionPerformed( ActionEvent e ) {
                             txtOutput.setText("");
                             txtBadParts.setText("");
                       new Translation(inst).start();
          );Thanks,
    Kamran

    Calling the run method makes the run method run in the current thread. You need to call the start method to get the thread to start its own thread.

  • Can someone translate this vi to LV 5.0?

    Can someone translate this vi to LV 5.0?
    Thanks
    Gorka
    Attachments:
    Write_Table_and_Chart_to_XL.llb ‏240 KB

    Try this one.
    Hope it works!
    Brian
    Attachments:
    Write_Table_and_Chart_to_XL50.llb ‏163 KB

  • System Preferences quits suddenly. I have lost the dock, including the trash and ability to change desktop image. How can I replace this part of System Preferences? Where can I find Trash?

    System Preferences quits suddenly. I have lost the dock, including the trash and ability to change desktop image. How can I replace this part of System Preferences? Where can I find Trash? All other aspects of System Preferences work.

    just that that is one method, and lacks provision for working boot image and for an emergency - Lion gives a small minimal emergency boot environment but may lack all the utilities you need to use and run, even some drivers that your mac requires for add on PCIe.
    Just grab and look through Help in Carbon Copy and SuperDuper, both excellent and each has their use - together - for cloning.
    And do you have two TM backup sets? ought to consider that also, rotate daily or make a weekly set. Otherwise you are putting all your eggs in the proverbial one basket.

  • In version 10.1 fcpx how do I edit in proxy, then when I am finished share with optimize footage? It was easy in 10.9 version, but I can't figure this out in 10.1, please help.

    in version 10.1 fcpx how do I edit in proxy, then when I am finished share with optimize footage? It was easy in 10.9 version, but I can't figure this out in 10.1, please help.

    The switch is in the upper right of the viewer.

  • I am not able to download any  app on my ipad mini , it shows its loading, but never getting downloaded , can someone fix this for me ???

    i have a ipad mini , ios version 8.3 .... i am not able to download any app currently on my ipad.... i am not able to figure out the problem , it shows the app is loading in app store , but its never getting downloaded....how do i fix this problem ??? can someone please figure it out ???

    Welcome to the Apple Community.
    When your account becomes disabled, Apple provides the following recommendation:
    "This message means that someone tried and failed to sign in to your account multiple times. The Apple ID system disables the account to prevent unauthorized people from gaining access to your information. You need to reset your password, following the instructions at the Apple ID website".
    Visit iForgot.com and follow the instructions there.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > store, scroll down and tap your ID)
    If that doesn't help you might try contacting Apple through iTunes Store Support

  • CAN SOMEONE FIX THIS????

    Hello, I can't get my program to work at all, I keep getting errors. Can someone please see if they can fix these Exception errors. I've posted tons of topics but I still can't get this program to run.
    I use these text files in the program.
    EVENT.txt
    1 C++ Programmer
    2 Business Management
    STCLASS.txt
    1 Tech Apps
    2 Computer Programming
    3 AP Computer Science
    4 AB Computer Science
    5 AP Biology
    6 AP US History
    STINFO.txt
    34865-Joe Peace-2003-01-02-1-2-3-4-5-6
    89398-John Carr-2003-04-05-1-2-3-4-5-6
    Here is The Actual Program, Can anyone get rid of the Exception Errors:
    //Program Starts Here
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class TrivialApplet extends Applet implements ItemListener, ActionListener
         TextField text1;
         CheckboxGroup checkboxgroup1;
         Checkbox checkbox1, checkbox2, checkbox3;
         Button adder;               //Button in addperson()
         Button cpsubmit;          //Button in clienpart()
         Button quit;               //Button in addperson() and search() - Returns to clientpart() when pressed
         Button ssubmit;               //Button in search()
         int where;                    //'Where' is the current position the user is in the program
         int what;                    //'What' is current checkbox that the user has selected
         int searcher;               //What User Is Searching for (ID, Event, Or Class)
         String line;               //'line' is used when a line is taken from a text file
         PrintWriter fileOut;     //Output to textfile Variables
         BufferedReader fileIn1,fileIn2,fileIn3;     //Inputting from textfile variables
         ******************************************** init() *******************************************************************
         public void init()
              what = 0;
              where = 0;
              searcher = 0;
              quit = new Button("Return To Menu");
              clientpart();
         ******************************************** clientpart() *************************************************************
         public void clientpart()
         removeAll();                                             
         setSize(300,200);
         where = 1;
         setLayout(new GridLayout(4,1));                                        //Sets Layout of Screen
         checkboxgroup1 = new CheckboxGroup();                         
         checkbox1 = new Checkbox("Search For A Person",false,checkboxgroup1);                    //Check Box
         checkbox2 = new Checkbox("Enter New Person Into Database",false,checkboxgroup1);
         cpsubmit = new Button("Submit");
         Label info;
         info = new Label("Select An Option And Press Submit", Label.CENTER);
         add(info);
         add(checkbox1);
         add(checkbox2);
         add(cpsubmit);
         checkbox1.addItemListener(this);
         checkbox2.addItemListener(this);
         cpsubmit.addActionListener(this);
         ******************************************** addperson() **************************************************************
         public void addperson() throws IOException
         setSize(400,300);
         PrintWriter fileOut = new PrintWriter(new FileOutputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STINFO.TXT", true));
         where = 2;
         removeAll();                                                            //Remove everything from applet
         Label stat;
         stat = new Label("Select A Field, Enter Info, And Click Submit", Label.CENTER);
         setLayout(new GridLayout(5,1));
         add(stat);
         text1 = new TextField("ID-Name-Graduating Year-Event 1-Event 2-Class 1-Class 2-Class 3-Class 4-Class 5-Class 6");//New TextField
         checkboxgroup1 = new CheckboxGroup();                              //A group of checkboxes, allows only ONE click
         adder = new Button("Submit");                                        //Submit button
         add(text1);                                        
         add(adder);
         add(quit);
         adder.addActionListener(this);                                        //Checks for button actions
         quit.addActionListener(this);
         ************************************************** search() ***********************************************************
         public void search() throws IOException
         setSize(400,300);
         /********************************************** Variables to get info from text files *******************************/
         fileIn1 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STINFO.TXT")));
         fileIn2 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/EVENTS.TXT")));
         fileIn3 = new BufferedReader(new InputStreamReader(new FileInputStream("C:/Documents and Settings/Joe/AP Programs/BPA Database/STCLASS.TXT")));
         where = 3;                                                                 //User Is At Position '3'.....or search()
         searcher = 0;
         removeAll();                                                            //Remove everything from applet
         /************************************* Creates a label that cannot be edited ***************************************/
         Label stats;
         stats = new Label("Click Field You Wish To Search By, And Click Submit", Label.CENTER);
         setLayout(new GridLayout(6,1));                                        //Makes applet a 6x1 Array for objects
         add(stats);
         checkboxgroup1 = new CheckboxGroup();                              //A group of checkboxes, allows only ONE click
         ssubmit = new Button("Submit");                                        //Submit button
         checkbox1 = new Checkbox("ID",false,checkboxgroup1);          //Sets The First Checkbox into checkboxgroup1
         add(checkbox1);                                                            //Add this to window
         checkbox2 = new Checkbox("Event",false,checkboxgroup1);               
         add(checkbox2);
         checkbox3 = new Checkbox("Class",false,checkboxgroup1);
         add(checkbox3);
         add(ssubmit);
         add(quit);
         /*********************************************** Calls itemStateChanged() when clicked ***************************/
         checkbox1.addItemListener(this);                                   
         checkbox2.addItemListener(this);
         checkbox3.addItemListener(this);
         ************************************************ Cals actionPerformed() when clicked *****************************/
         ssubmit.addActionListener(this);
         quit.addActionListener(this);
         ******************************************** actionPerformed() ********************************************************
         public void actionPerformed(ActionEvent e)
              /************************ clientpart() buttons **********************************************************/
              if (e.getSource() == cpsubmit && what == 1)               //If User wants to search for a person then search()
                   search();
              if (e.getSource() == cpsubmit && what == 2)               //If User wants to Add A New Person then addperson()
                   addperson();               
              /************************ quit button returns to clientpart() *******************************************/
              if (e.getSource() == quit)                                   //If User wants to return to main menu then clientpart()
                   clientpart();
              /************************ addperson() buttons ***********************************************************/
              if (e.getSource() == adder)                                   //Prints New Person To STINFO.txt
                   fileOut.println(text1.getText());
              /************************* search() buttons *************************************************************/
              if (e.getSource() == ssubmit && searcher == 1)          //Shows Everyone In School     
                   while((line=fileIn1.readLine()) != null)
                        System.out.println(line);
              if (e.getSource() == ssubmit && searcher == 2)          //Shows Events With Numbers
                   while((line=fileIn1.readLine()) != null)
                        System.out.println(line);
              if (e.getSource() == ssubmit && searcher == 3)          //Shows Classes With Numbers
                   while((line=fileIn3.readLine()) != null)
                        System.out.println(line);
         ******************************************** itemStateChanged() *******************************************************
         public void itemStateChanged(ItemEvent e)
              /*************************************** Checkboxes in clientpart() *****************************************/
              if (e.getItemSelectable() == checkbox1 && where == 1)               
                   what = 1;
              if (e.getItemSelectable() == checkbox2 && where == 1)
                   what = 2;
              /*************************************** Checkboxes in search() *********************************************/
              if (e.getItemSelectable() == checkbox1 && where == 3)
                   searcher = 1;
              if (e.getItemSelectable() == checkbox2 && where == 3)
                   searcher = 2;
              if (e.getItemSelectable() == checkbox3 && where == 3)
                   searcher = 3;

    An error
    1> exception not caught
    public void actionPerformed(ActionEvent e)
    try{
    <your code>
    catch(Exception ex)
    ex.printStackTrace();
    Explaination: your methods like search() and etc are throwing excpetion but it is not caught so you will have to catch it. The example up here is catching for all but you should tune it a bit to specific exceptions
    A suggestion
    1> your removeall() method is not very nice. Why don't u use card layout and hide the panel instead of removing and adding all again

  • Can someone decipher this??

    When I powered on my machine this morning, I had an error report.  Can someone decipher it??  Any input will be greatly appreciated. Thanks in advance.
    Interval Since Last Panic Report:  2525935 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    22AB1570-526E-8E4D-1DF3-1EE5BB0D65BE
    Sat Aug 24 07:40:31 2013
    panic(cpu 10 caller 0xffffff80188b8655): Kernel trap at 0xffffff80188b02e0, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffff80495a2000, CR3: 0x000000001b167000, CR4: 0x0000000000000660
    RAX: 0xffffff80495a1fff, RBX: 0xffffff80495a1ff0, RCX: 0xffffff8048837640, RDX: 0xffffff8047dbe880
    RSP: 0xffffff82c81dbd40, RBP: 0xffffff82c81dbd40, RSI: 0x000000000000000d, RDI: 0xffffff80495a1ff0
    R8:  0x0000000000000000, R9:  0x0000000000000003, R10: 0xffffff8048af1e40, R11: 0xffffff8018c286d0
    R12: 0x0000000000000000, R13: 0x000000000000000e, R14: 0xffffff80488409c0, R15: 0xffffff8048837640
    RFL: 0x0000000000010202, RIP: 0xffffff80188b02e0, CS:  0x0000000000000008, SS:  0x0000000000000000
    Fault CR2: 0xffffff80495a2000, Error code: 0x0000000000000000, Fault CPU: 0xa
    Backtrace (CPU 10), Frame : Return Address
    0xffffff82c81db9e0 : 0xffffff801881d626
    0xffffff82c81dba50 : 0xffffff80188b8655
    0xffffff82c81dbc20 : 0xffffff80188ce17d
    0xffffff82c81dbc40 : 0xffffff80188b02e0
    0xffffff82c81dbd40 : 0xffffff8018c2603a
    0xffffff82c81dbd90 : 0xffffff8018c25eea
    0xffffff82c81dbdc0 : 0xffffff7f98d799b6
    0xffffff82c81dbdd0 : 0xffffff7f98d7d220
    0xffffff82c81dbde0 : 0xffffff8018c28d08
    0xffffff82c81dbe20 : 0xffffff8018c3258f
    0xffffff82c81dbe90 : 0xffffff8018c31771
    0xffffff82c81dbef0 : 0xffffff8018c2f4ce
    0xffffff82c81dbf30 : 0xffffff8018c2d48d
    0xffffff82c81dbf70 : 0xffffff8018c31fc9
    0xffffff82c81dbfb0 : 0xffffff80188b3137
          Kernel Extensions in backtrace:
             com.apple.iokit.IOPCIFamily(2.7.3)[1D668879-BEF8-3C58-ABFE-FAC6B3E9A292]@0xffff ff7f98d72000->0xffffff7f98d96fff
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    12E55
    Kernel version:
    Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
    Kernel UUID: 896CB1E3-AB79-3DF1-B595-549DFFDF3D36
    Kernel slide:     0x0000000018600000
    Kernel text base: 0xffffff8018800000
    System model name: MacPro4,1 (Mac-F221BEC8)
    System uptime in nanoseconds: 13043814499
    last loaded kext at 1282032717: com.apple.driver.AppleUSBHIDKeyboard    170.2 (addr 0xffffff7f9a78a000, size 16384)
    loaded kexts:
    com.firmtek.driver.FirmTek_SI_SATA_II    5.4.1
    com.apple.iokit.SCSITaskUserClient    3.5.5
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.3.1
    com.apple.driver.AppleFileSystemDriver    3.0.1
    com.apple.driver.AppleUSBHub    5.5.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.driver.AppleFWOHCI    4.9.6
    com.apple.BootCache    34
    com.apple.driver.AirPort.Brcm4331    615.20.17
    com.apple.driver.AppleIntel8254XEthernet    3.1.1b1
    com.apple.driver.Intel82574L    2.3.0b5
    com.apple.driver.AppleAHCIPort    2.5.2
    com.apple.driver.AppleUSBEHCI    5.5.0
    com.apple.driver.AppleUSBUHCI    5.2.5
    com.apple.driver.AppleEFINVRAM    1.7
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleHPET    1.8
    com.apple.driver.AppleACPIButtons    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.7
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    196.0.0
    com.apple.nke.applicationfirewall    4.0.39
    com.apple.security.quarantine    2.1
    com.apple.driver.AppleIntelCPUPowerManagement    196.0.0
    com.apple.driver.AppleUSBHIDKeyboard    170.2
    com.apple.driver.AppleHIDKeyboard    170.2
    com.apple.iokit.IOUSBHIDDriver    5.2.5
    com.apple.driver.AppleUSBMergeNub    5.5.5
    com.apple.driver.AppleUSBComposite    5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.5.5
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOAHCISerialATAPI    2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.5.5
    com.apple.iokit.IOFireWireFamily    4.5.5
    com.apple.iokit.IOUSBUserClient    5.5.5
    com.apple.iokit.IO80211Family    530.4
    com.apple.iokit.IONetworkingFamily    3.0
    com.apple.iokit.IOATAFamily    2.5.1
    com.apple.iokit.IOAHCIFamily    2.3.1
    com.apple.iokit.IOUSBFamily    5.6.0
    com.apple.driver.AppleEFIRuntime    1.7
    com.apple.iokit.IOHIDFamily    1.8.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    220.3
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    345
    com.apple.iokit.IOStorageFamily    1.8
    com.apple.driver.AppleKeyStore    28.21
    com.apple.driver.AppleACPIPlatform    1.7
    com.apple.iokit.IOPCIFamily    2.7.3
    com.apple.iokit.IOACPIFamily    1.4
    com.apple.kec.corecrypto    1.0
    Model: MacPro4,1, BootROM MP41.0081.B08, 8 processors, Quad-Core Intel Xeon, 2.26 GHz, 24 GB, SMC 1.39f5
    Graphics: ATI Radeon HD 4870, ATI Radeon HD 4870, PCIe, 512 MB
    Memory Module: DIMM 1, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 2, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 3, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    Memory Module: DIMM 4, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    Memory Module: DIMM 5, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 6, 4 GB, DDR3 ECC, 1066 MHz, 0x0198, 0x393936353532352D3033322E4130304C4620
    Memory Module: DIMM 7, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    Memory Module: DIMM 8, 2 GB, DDR3 ECC, 1066 MHz, 0x802C, 0x31384A53463235363732415A2D3147314631
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.17)
    Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet 2, Ethernet, en1
    PCI Card: ATI Radeon HD 4870, sppci_displaycontroller, Slot-1
    PCI Card: SeriTek/2SE2-E v. 5.4.1,  09/14/09, 12:30:53, ata, Slot-4
    Serial ATA Device: HL-DT-ST BD-RE  WH12LS39
    Serial ATA Device: HL-DT-ST DVDRAM GH24NS90
    Serial ATA Device: SAMSUNG HD103SJ, 1 TB
    Serial ATA Device: SAMSUNG HD103SJ, 1 TB
    Serial ATA Device: SAMSUNG HD103SJ, 1 TB
    Serial ATA Device: WDC WD5001AALS-00LWTA0, 500.11 GB
    USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfa200000 / 2
    USB Device: Apple Keyboard, apple_vendor_id, 0x0220, 0xfa220000 / 3
    USB Device: USB 2.0 Hub [MTT], 0x050d  (Belkin Corporation), 0x0237, 0xfd300000 / 2
    USB Device: Kensington 2.4G Laser Product, 0x047d  (Kensington), 0x2030, 0xfd350000 / 3
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x5a100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x5a110000 / 4
    USB Device: Wireless Stereo Headset, 0x12ba  (Sony Computer Entertainment America), 0x0032, 0x5d100000 / 2
    FireWire Device: built-in_hub, 800mbit_speed
    FireWire Device: iSight, Apple Computer, Inc., 200mbit_speed
    FireWire Device: unknown_device, unknown_speed

    Does this happen every time you startup?
    Does this happen when starting up in Safe Mode?
    You might need to update your FirmTek driver.

Maybe you are looking for