On 06/20/2012 06:54 PM, David C. Rankin wrote:
Darrell,
TQt3 fails to build with the following (during packaging). Looks like the
build scripts :(
( [ -d styles ] && cd styles ; make -f Makefile install; ) || true
make[3]: Entering directory `/build/src/tqt3/plugins/src/styles'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/build/src/tqt3/plugins/src/styles'
make[2]: Leaving directory `/build/src/tqt3/plugins/src'
make[1]: Leaving directory `/build/src/tqt3'
install: cannot stat 'qmake/qmake': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
I think this is on my end, but all other packagers will have to check their
setup as well...
It is. Where is a good reference for seeing what names changed to what? I will
need to manually update the links, etc.. that the TQt3 build script creates. But
to what?
Here is what I have to update in my TQt3 package() function:
# install qmake
install -D -m755 qmake/qmake ${pkgdir}${_prefix}/bin/qmake
# install doc pages which are missed by make install
install -d -m755 "${pkgdir}${_prefix}/doc/"
cp -r "${srcdir}/${pkgname#*-}/doc" "${pkgdir}${_prefix}/doc"
# install link the apps provided by qt3 so we don't collide with
# qt4 and can run them.
ln -sf "${_prefix}/bin/assistant"
"${pkgdir}${_prefix}/bin/tqt3assistant"
ln -sf "${_prefix}/bin/designer"
"${pkgdir}${_prefix}/bin/tqt3designer"
ln -sf "${_prefix}/bin/linguist"
"${pkgdir}${_prefix}/bin/tqt3linguist"
ln -sf "${_prefix}/bin/lrelease"
"${pkgdir}${_prefix}/bin/tqt3lrelease"
ln -sf "${_prefix}/bin/lupdate"
"${pkgdir}${_prefix}/bin/tqt3lupdate"
ln -sf "${_prefix}/bin/moc" "${pkgdir}${_prefix}/bin/tqt3moc"
ln -sf "${_prefix}/bin/qmake" "${pkgdir}${_prefix}/bin/tqt3qmake"
ln -sf "${_prefix}/bin/qtconfig"
"${pkgdir}${_prefix}/bin/tqt3config"
# Build ld.so.conf file
install -d -m755 "${pkgdir}/etc/ld.so.conf.d/"
echo "${_prefix}/lib" >>
"${pkgdir}/etc/ld.so.conf.d/${pkgname#*-}.conf"
# Build and install qt.profile
install -d -m755 "${pkgdir}/etc/profile.d/"
echo "export QTDIR=${_prefix}" >
"${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
echo "export QT_XFT=true" >>
"${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
echo "export PATH+=:${_prefix}/bin" >>
"${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
echo "export PKG_CONFIG_PATH+=:${_prefix}/pkgconfig" >>
"${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
--
David C. Rankin, J.D.,P.E.