Moved to fink-devel.

I'm running into a similar error that was discussed on IRC over 3  
years ago, and never was resolved since. For the record, I'll put the  
error and the updated info file below. I have found another CAD  
program that I am using now, so if anyone feels like working on qcad,  
feel free to do so. It's ok with the current maintainer.

- Koen.

===========

-------- Building qcadlib --------
make prepare
test -d ./include || mkdir -p ./include
( cd ./include; rm -f *.h; \
        for hf in `find ../src -name '*.h'`; do \
                if [ "x$OS" = "xWindows_NT" ]; then \
                        cp "$hf" .; \
                else \
                        ln -s "$hf" 2> /dev/null; \
                fi \
        done )
rm -f ./lib/libqcad.a
make ./lib/libqcad.a
make src/Makefile
make[2]: `src/Makefile' is up to date.
cd src && make
c++ -c -pipe -pedantic -Wall -W -Os  -DRS_NO_COMPLEX_ENTITIES - 
DQT_NO_DEBUG -I/sw/lib/qt3/mkspecs/macx-g++ -I. -I../include -I../../ 
dxflib/include -I../../fparser/include -I../../qcadcmd/include -I/sw/ 
lib/qt3/include -Imoc/ -o obj/rs_actioninterface.o actions/ 
rs_actioninterface.cpp
/sw/lib/qt3/include/qglobal.h:737: error: ISO C++ does not support  
'long long'
/sw/lib/qt3/include/qglobal.h:738: error: ISO C++ does not support  
'long long'
/sw/lib/qt3/include/qstring.h:435: error: 'QString  
QString::arg(Q_LLONG, int, int) const' and 'QString QString::arg(long  
int, int, int) const' cannot be overloaded
/sw/lib/qt3/include/qstring.h:436: error: 'QString  
QString::arg(Q_ULLONG, int, int) const' and 'QString  
QString::arg(ulong, int, int) const' cannot be overloaded
/sw/lib/qt3/include/qstring.h:611: error: 'QString&  
QString::setNum(Q_LLONG, int)' and 'QString& QString::setNum(long int,  
int)' cannot be overloaded
/sw/lib/qt3/include/qstring.h:612: error: 'QString&  
QString::setNum(Q_ULLONG, int)' and 'QString& QString::setNum(ulong,  
int)' cannot be overloaded
/sw/lib/qt3/include/qstring.h:618: error: 'static QString  
QString::number(Q_LLONG, int)' and 'static QString  
QString::number(long int, int)' cannot be overloaded
/sw/lib/qt3/include/qstring.h:619: error: 'static QString  
QString::number(Q_ULLONG, int)' and 'static QString  
QString::number(ulong, int)' cannot be overloaded
/sw/lib/qt3/include/qdatastream.h:81: error: 'QDataStream&  
QDataStream::operator>>(Q_LONG&)' and 'QDataStream&  
QDataStream::operator>>(Q_INT64&)' cannot be overloaded
/sw/lib/qt3/include/qdatastream.h:82: error: 'QDataStream&  
QDataStream::operator>>(Q_ULONG&)' and 'QDataStream&  
QDataStream::operator>>(Q_UINT64&)' cannot be overloaded
/sw/lib/qt3/include/qdatastream.h:98: error: 'QDataStream&  
QDataStream::operator<<(Q_LONG)' and 'QDataStream&  
QDataStream::operator<<(Q_INT64)' cannot be overloaded
/sw/lib/qt3/include/qdatastream.h:99: error: 'QDataStream&  
QDataStream::operator<<(Q_ULONG)' and 'QDataStream&  
QDataStream::operator<<(Q_UINT64)' cannot be overloaded
/sw/lib/qt3/include/qdatastream.h:168: error: redefinition of  
'QDataStream& QDataStream::operator>>(Q_ULONG&)'
/sw/lib/qt3/include/qdatastream.h:164: error: 'QDataStream&  
QDataStream::operator>>(Q_UINT64&)' previously defined here
/sw/lib/qt3/include/qdatastream.h:185: error: redefinition of  
'QDataStream& QDataStream::operator<<(Q_ULONG)'
/sw/lib/qt3/include/qdatastream.h:181: error: 'QDataStream&  
QDataStream::operator<<(Q_UINT64)' previously defined here
make[2]: *** [obj/rs_actioninterface.o] Error 1
make[1]: *** [lib/libqcad.a] Error 2
make: *** [all] Error 2
Building qcadlib failed

============

Package: qcad
Version: 2.0.5.0-1
Revision: 2
Maintainer: Jeremy Higgs <f...@higgs-family.net>
BuildDepends: libjpeg, libpng3, qt3, x11-dev, gcc3.3, fink (>= 0.24.12)
Depends: qt3-shlibs, libpng3-shlibs, libjpeg-shlibs, x11
Source: http://www.ribbonsoft.com/archives/%n/%n-%v-community.src.tar.gz
Source-MD5: 96b6a56027782aec953c9c4e64c5998c

PatchFile: %n.patch
PatchFile-MD5: b0f32bf71400081d427d7e04f430fef4
PatchScript: <<
   sed -e 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1
   perl -pi -e 's/exit/exit 1/' scripts/build_qcad.sh
   perl -pi -e 's,/bin/bash,/bin/bash -e,' scripts/build_qcad.sh
   perl -pi -e 's/darwin/darwin_NEVER_MATCH/g' scripts/build_qcad.sh
   perl -pi -e  's,-L(..\S*/lib)\s+-l(\S+),\1/lib\2.a,' `find . -name  
\*.pro`
<<

GCC: 4.0
SetCC: gcc-4.0
SetCXX: g++-4.0

CompileScript: <<
#!/bin/sh -ex
  export QTDIR=%p/lib/qt3
  export QMAKESPEC=$QTDIR/mkspecs/macx-g++
  cd scripts && sh ./build_qcad.sh notrans
<<

InstallScript: <<
  cd dxflib      && make install LIBDIR=%i/lib/qcad INCDIR=%i/include/ 
qcad
  cd fparser     && make install LIBDIR=%i/lib/qcad INCDIR=%i/include/ 
qcad
  cd qcadactions && make install LIBDIR=%i/lib/qcad INCDIR=%i/include/ 
qcad
  cd qcadcmd     && make install LIBDIR=%i/lib/qcad INCDIR=%i/include/ 
qcad
  cd qcadguiqt   && make install LIBDIR=%i/lib/qcad INCDIR=%i/include/ 
qcad
  cd qcadlib     && make install LIBDIR=%i/lib/qcad INCDIR=%i/include/ 
qcad

  install -d -m 755 %i/bin
  install -m 755 %n/%n %i/bin

  install -d -m 755 %i/share/%n/fonts
  install -m 644 %n/fonts/* %i/share/%n/fonts

  install -d -m 755 %i/share/%n/patterns
  install -m 644 %n/patterns/* %i/share/%n/patterns

  install -d -m 755 %i/share/doc/%n
  cp -r qcad/doc/* %i/share/doc/%n
  chmod -R go=u-w %i/share/doc/%n
<<
DocFiles: qcad/README
Description: Simple 2D CAD program
DescDetail: <<
Qcad is a simple 2D CAD system that allows the user to create or modify
drawings and then save them as DXF files. These files can then be used  
with
other, more advanced, CAD systems, such as AutoCAD.
<<
DescPackaging: <<
Customised CompileScript and InstallScripts to compile and install  
properly.

Patch build script to crash instead of continuing when something goes  
wrong.

Force non-detection of OS X so we get a unixish result instead of an
.app bundle.

Link directly to locally-build libs instead of using -l and local -L  
paths.

Need to use "notrans" because release_translations.sh doesn't exist.

Patch to find support files in fink's filesystem layout.
<<
License: GPL
Homepage: http://www.ribbonsoft.com/qcad.html

================



On Dec 30, 2009, at 1:48 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/30/09 1:41 PM, Koen van der Drift wrote:
>> Hi Jeremy,
>>
>> I was looking for a CAD program in fink, the only one I found was  
>> your
>> package qcad, but there is only a version available for 10.3
>> (http://pdb.finkproject.org/pdb/package.php/qcad). Have you looked
>> into upgrading this to work with 10.5/10.6?
>>
>> Thanks,
>>
>> - Koen.
>>
>
> He hasn't been active in a while.
>
>
>
> - --
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAks7oGMACgkQB8UpO3rKjQ9UnQCgiFeTsJJhmyxGIAl0TSEs+WpU
> CqcAnjj4Ig16fXz5huHzYcvdy5e1f8+5
> =c+Ar
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to