Is it illegal to sell someone an original OS 8 system installation CD?
I recently listed an original OS8 installation CD on Ebay. The CD once belonged to an old Mac computer that no longer exists. At the behest of an organization called the Business Software Alliance, Ebay removed the auction, saying it violated copyright or intellectual rights. Really? It's the original CD, not a copy. And no other copies of it exist. I'm just wondering if anyone has insight or knowledge to explain why it would be illegal, and what Mac or the Business Software Alliance is so concerned about? I just figured there might be some enthusiasts of old Mac computers out there who would have use for, or maybe just want to collect, old Mac items.
OK, thanks.
At the time that they were shipping computers with OS 8.0 system CD's, did Apple even sell that OS separately, as a standalone retail package?
Why are they bothering to enforce it anyway? No threat to Apple's current business. The only people interested in using that OS are a few hobbyists and enthusiasts. The sense of the law itself also really escapes me. If the OS had originally existed only on the computer itself, I can see how it would be illegal to copy and sell it. But this CD is essentially the last remaining part of the original computer. It's an original used part, not a copy, and no other copies of it exist. To have a law that prevents it from being resold because the rest of the computer is no longer available to go with it, seems silly.
I know there's probably no simple way to answer any of this. But just curious if anyone has any insight or knowledge about Apple's reasons for active enforcement, or the particulars of the law behind this.
Similar Messages
-
How do I reorganize my photos on iPad 2? I need to move (not copy) photos from one album to another. When I use the copy function to another album, and then try to delete an image from the original album, the system wants to delete the photos from all albums. Please help.
You can't do it directly on the iPad - the new album functionality basically only allows you to copy photos into those new albums, you can't move them. The way that I think of it as working is that you are just creating pointers to the photos in those new albums, so if you then delete the original photo on the iPad you therefore automatically delete all the pointers to it.
If you want to re-organise your albums then you will need to do it on your computer and then sync those albums over to the iPad -
I want to install my original SnowLeopard (from the installation disc) to a partition I created in the now upgraded Mavericks OSX, How can I install it on the new partition?
That's easy.
2 methods:
1. Change the Startup Disk in System Preferences, then restart:
2. Hold down the "Option" key while starting or restarting the Mac. Then chosse the partition that you want to startup from.
The 1st mehtod is the quickest, because you don't have the additional step of choosing the drive. Plus, whatever you have selected in System Preferences becomes the default startup drive. -
Can original iPad operating system be updated beyond 5.1
can original iPad operating system be updated beyond 5.1.1
Since you are limited to iOS 5.1.1 on an iPad 1, this may be of interest.
App Store: Downloading Older Versions of Apps
http://tinyurl.com/meqxplg
App Store: Install the latest compatible version of an app
http://support.apple.com/kb/ht5919
Apple’s iOS App Store now offers ‘last compatible’ versions of apps for older devices
http://appleinsider.com/articles/13/09/17/apples-ios-app-store-now-offers-last-c ompatible-versions-of-apps-for-older-devices
Cheers, Tom -
I see "imac-54f9d5" under the "Shared" heading in my finder. I am not connected to any printers or other Mac devices. Is it possible that someone is remotely accessing my system? How can I figure out what this is?
is it your imac?
is it your your router's name?
are you by any chance connected to another wifi router then your own because the other one was open and not password protected? -
I face this messegae when I visit some websites:
An attack was detected, originating from your system. Please contact the system administrator.
what can i do to remove the.Try safe mode with networking and download one or two of these,
http://www.malwarebytes.org/products/malwarebytes_free
http://www.superantispyware.com/?tag=SUPERANTISPYWARE
http://www.microsoft.com/security/scanner/en-us/default.aspx -
Is it illegal to sell your Mac App Store gift card via craigslist?
I got a $100 gift card with my mac. I'm trying to sell it off craigslist for a cheaper price. Is that illegal?
If that was the most recent US Back-To-School promotion, here are the full terms:
http://images.apple.com/promo/pdf/BTS_2012_Terms_Conditions_US.pdf
I don't see anything that says that you can't sell or give away the gift card.
Regards. -
How can I make apple sell me my original system restore 10.4.7 discs for my
My apple expert made me take out all but the drive I intended to erase and install, put that drive in position 1, and insisted I could install tiger from my retail tiger disc, which is 2005 PPC. I told him this, but he said it did not matter, and that I was wrong to say that it was just PPC. Of course the tiger dvd is not recognized as a bootable disc on my mac pro 1.1, nor is any startup disc on any volume created with the ppc installer. The purpose of my initial call was to purchase the 10.4.7 original system restore discs. I purchased the machine a few days ago so that I could use tiger volumes when I needed to, but still move forward with snow leopard on other drives. It came without system disks. Can I buy the disks from an outside vendor? Who? I need to use multiple OS setups.
I heartily thank everyone who posted and gave me good advice. I could tell that I got cooperation from apple only after posting this, so I did not want to respond until I actually got the discs.
Now I'm looking for an airport extreme card and I find that searching on the apple store turns up no results, only base stations. I have 3 airport cards, but sure they are all too old since they were for motorola G5's and 4's. And I'm wondering how to access svideo now... I'm nursing my aged cracked titanium powerbook because it has a pcmcia slot and svideo out, two things I use for importing cf cards and microdrives and presenting with my laser projector. The svideo cable allows the machine to be a long distance from the projector, or the projector from the amplifier. A display adapter is no help, and I have several, unless I can find a converter to svideo. I want to use a macbook 13" white plastic because of weight. Even though it can't run my video software, I can at least show things on screen and carry work back and forth, but I don't understand the refusal to address Svideo and and the card slot. SD cards only do so much, and usb readers are notorious now, everyone has to use them, and they are not reliable. Buying a heavy large mac book pro 17" does not do me any more good than lugging around my tower machine. iPad will be wonderful when it gets a keyboard and full computer functions- and runs regular software. But that is a few decades from now.
So many of my colleagues have had to buy pc laptops. They saved a lot of money. -
Portege R700 - original recovery image re-installation failed
Hello
I have a Toshiba Portege R700 for years.
As i already have some trouble, i did a reinstallation few years ago, from recovery partition. Directly.
But, few days ago, i had some issues with my portege.
HDD seems to be broken as it make some noise and was really, really, really, ..., really slow.
So, after making some data backup during hours and hours (remember, it was really, ..., really slow), i lauch a complete re-installation from "recovery partition". It seems to be good, but .. never finished the process, with same HDD noise, and again slow HDD I/O.
OK, my own diadnostic: change HDD.
This done, and using the Toshiba recovery DVD just bought (yes impossible to find the earlied burn DVD), i have ... the same issue. The recovery process does not end even if 'im waiting for days ...
And i have the same HDD noise. With the new one!!
So having a MSDN licence, i installed a Win7 Pro 32bits, but not the Toshiba one.
And it's running for days without any issue!
But i have to reinstall all drivers, and software delivered by Toshiba.
Obviouly i will prefer to find what is the exact issue with this Portege, and reinstall the Toshiba version of Windows 7 Pro.
So, if someonre read the story until, the question is: ANY IDEA?
How to make a HW diagnostic? How to identify the exact problem?
Thanks for your help.
JolHi Dr Lamp.
Remember that i
- did a successfull recovery from recovery partition few years ago
- tried 2 recovery recently
try 1, from recovery with initial HDD.
I'm not REALLY sure, but i think that the recovery failled during step "recovery image installation from copied data step 50/52"
I'm not sure.
As it take hours during this step, if it go to the next step or not, as i let it run for hours and hours (yes, i'm persistent)
try 2, from original Toshiba DVD i ordered (35)
I'm sure it fail during an additionnal step you forgot.
Because after "installed OS will be prepared for usage", which configure a lot of things using numerous reboot, there is the final step which is "first launch of win7"
Note that not the exact term, but is something like that.
Thanks for your help
Jol -
i have mt6235 iPhone 4s fake with java operating system, i cannot open the iTunes and the apple store.i want original apple os on my phone and how i can open the iTunes and the apple store.please help me.the phone is 32G memory.
Buy a real iPhone...
-
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/libHi, 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 -
Does Measurement Studio offer much for someone writing a basic control system?
I'm trying to weigh whether the added cost (and bulk) of Measurement Studio would be worth it for me vs simply using the free DAQmx libraries.
My application wouldn't have any need for the custom controls offered by MS nor the advanced libraries. All the application is doing is monitoring a handful of digital and analog inputs, reacting to them, and setting a handful of digital inputs. No high speed measurements, waveforms, etc. Probably the highest priority I/O may get updated every 50-100 ms.
I'm mainly wondering if MS offers anything over the DAQmx libraries when it comes to working with I/O asynchronously (which seems like the proper way to approach a responsive machine control application).This an interesting question and I don't have a great answer. I hope someone comes along and explains the issue clearly.
I like having all of Measurement Studio because I depend on Visa for the instrument libraries (scopes, meters, power supplies etc.). I don't want to write an entire communication library from scratch.
For just basic IO though I'm not sure what Measurement Studio actually brings to the table. Since I've always had the entire package (Measurement Studio Enterprise Edition I believe) I don't know which features are available outside of Measurement Studio.
Did you mention that you are working with NI hardware? If not, then maybe Measurement Studio buys you even less. When working with NI hardware NI MAX (Measurement and Automation eXplorer) makes it so simple. Just plug in a USB device and give it an alias in MAX like TS_Light and you can talk to it with :
using (var t = new Task())
Thread.Sleep(10);
// Create full device name based on fixture platform passed into constructor
const string strDevice = "TS_Light/port0";
// Setup Task
t.DOChannels.CreateChannel(
strDevice,
ChannelLineGrouping.OneChannelForAllLines);
// Create a write stream and send out the desired Value
var writer = new DigitalSingleChannelWriter(t.Stream);
// Convert port value to bool array
var boolArray = new bool[8];
for (int i = 0; i < 8; i++)
boolArray[i] = Convert.ToBoolean((portValue >> i) & 0x01);
t.Start();
writer.WriteSingleSampleMultiLine(false, boolArray);
It looks a little complicated but it is the same flow for all NiDaqMx Tasks.
Again, I realize that I'm not answering your direct question of what does MS really bring to you when you are doing such a simple IO project. I wonder however if you will ever be doing a similar project again soon? And then maybe you will want to add some support for instrument automation and data collection? When you look at doing multiple projects, even simple ones, the cost of Measurement Studio starts to look like a better investment in my opinion.
Good luck with your project!
Grant M. Johnson
Project Engineer
LECO Corporation -
How to get back to original, new, empty system
I bought a new macbook pro and my intention was to transfer all my main account from the old one to the new one. Stupidly, i skipped the setup assistant asking me to connect the firewire cable and all that because it told me that i could use migration assistant later. I chose the same user name as i had on the old machine. Now, when i want to use migration assistant to import the account from the old computer, it tells me there is already a user by that name and i have to chose another name since my main account on the new computer can't be deleted. i am thus a bit stuck because i don't want to have two accounts on the new computer and even less that the account i will most use, which is the one where i have imported all my system, would not be the main account. i guess therefore i need to restore the new mac to a 'fresh from factory status'. i tried reinstalling leopard but that did not work.
how to i get back to the orginal setup assistant?bettyn wrote:
Is that really the olny option I have considering where it's at right now?
If you have files on your new mac you would like to save and assuming you have another mac handy (the one you are going to migrate stuff from) you could connect the two by firewire, restart the new one holding down the T key and then pull the files in question across to the other one prior to the erase and install. If you save them in the user folder on your other mac they will come when you migrate that user.
You said up front that you want to get back to the original system, but none of the detail you have given hints why. Do you really need to do all that or would it be simpler just to change the name of the present admin account on your new computer and then migrate your old user across? There is actually no reason not to have more than one user on your system but, if you wanted, once your old user is migrated and given admin rights, you could delete the other user. -
Once the download is finished and it is in the C:Users/name/downloads section of my hardrive under a folder labeled "Package" What should I do with this file? It contains mainly zip files that I am unable to extract and cannot open for various reasons. Extraction is imppossible because it says there is not enough space on my hard drive and requires an additional 5.99 PB of space... I have 479GB of free space. How is this not enough???
May be there is not enough space in C drive. Try to extract to a different location.
Or it could be an issue with your harddrive controller. Check your dvice manager and install the correct drivers. -
I am registered with Adobe with username and password and I can log in too but some how Photoshop just opens and after showing all menus etc, as I click to open any jpg or Psd file it just hangs
Without proper system information and other technical details like the crash logs nobody can help you.
Mylenium
Maybe you are looking for
-
The phone itself is not working either. It shows the apple icon and a horizontal bar (black outlined in white). Thanks in advance for any help.
-
Transaction timeout for FTP Put as an attachment
Hi, When I am trying to get a file from E Business Suite(Oracle Apps) and place the same in to FTP Outbound as an attachment, I am getting the below exception. This did not happen in PS2 but it is happening in PS3(11.11.1.4) with the same code, can s
-
I currently am having a problum with updating my Ipod. I waited until I saw the apple and the loading sign. Once it started to turn on it suddenly stoped and my screen suddenly showed a plug and an arrow pointed tword a music note that said Itunes un
-
How do we call Autopost-General Ledger and pass the Criteria set as a parameter using FND_REQUEST.SUBMIT_REQUEST Thanks.
-
Ipod frozen on screen with hour glass, comp wont recognise
My Nano is frozen, the screen is blank with an hour glass thingy in the middle. When I plug into computer, it tells me it has recognised new hardware etc., then computer doesnt recognise the ipod .... the screen is still on the hour glass thingy Can