On 01/29/2014 04:36 PM, Darrell Anderson wrote: >>> Look at the comments 1, 2 and 3 in the bug 1790. In principle: >>> adding of >>> folder sip4-tqt, respectively, python-tqt in the call >> configure.py >>> and create empty __ init__.py file. >> >> Thank you. Would you or somebody please post a simple listing of >> the final package contents? > > Never mind. I think I got the kinks ironed out. sip4-tqt, python- > tqt, and python-trinity all now build. I'm now building > tdebindings. Thank you for the help. > > Darrell > Darrell, If you find additional things needed for those builds, please post them. I currently do: python-tqt: cd ${srcdir}/${pkgname#*-} echo yes | python2 configure.py \ CFLAGS="${CFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include -fpermissive" \ CXXFLAGS="${CXXFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include -fpermissive" sed -i '/#define _qtAPI_H/s|$|\n#define SIP_MODULE_NAME "sip"|' ${srcdir}/${pkgname#*-}/qt/sipAPIqt.h make VERBOSE=1 python-sip: pkgbase=tde-sip4-tqt # Source the QT and TDE profile [ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh # or tqt3.sh [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh # or tde.sh CFLAGS="${CFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include" CXXFLAGS="${CXXFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include" cd ${srcdir}/${pkgbase#*-} python2 configure.py CFLAGS="${CFLAGS}" make $NUMJOBS sip4-tqt: pkgbase=tde-sip4-tqt # Source the QT and TDE profile [ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh # or tqt3.sh [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh # or tde.sh CFLAGS="${CFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include" CXXFLAGS="${CXXFLAGS} -I/usr/include/tqt -I${TDEDIR}/include -I${QTDIR}/include" cd ${srcdir} cp -r ${pkgbase#*-} sipPy3 cd ${srcdir}/sipPy3 python configure.py CFLAGS="${CFLAGS}" make $NUMJOBS tdebindings: PYTHON=/usr/bin/python2 \ ./configure \ --prefix=${TDEDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${QTDIR}/include \ --with-qt-libraries=${QTDIR}/lib \ --with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \ --with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \ --sysconfdir=${TDEDIR}/etc \ --localstatedir=/var \ --enable-closure make $NUMJOBS Let me know if you have tweaks. -- David C. Rankin, J.D.,P.E.