Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1255 - qmake is bad symbolic link

Attached to Project: Arch Linux
Opened by Adrian Czerniak (Abaddon) - Sunday, 15 August 2004, 13:35 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

qmake (/opt/bin/qmake) is bad symbolic link, please fix it, because I neet qmake to build fwbuilder in 2.0.1 version.

Thanks.
This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 17 August 2004, 20:37 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Tuesday, 17 August 2004, 06:57 GMT
can confirm that
wanted to build something with qmake and it doesn't exists anymore
Comment by Tobias Powalowski (tpowa) - Tuesday, 17 August 2004, 12:10 GMT
corrected PKGBUILD:
# $Id: PKGBUILD,v 1.29 2004/08/12 20:47:05 judd Exp $
# Maintainer: Judd Vinet <jvinet@zeroflux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=qt
pkgver=3.3.3
pkgrel=1
pkgdesc="The QT gui toolkit."
url="http://www.trolltech.com/products/qt/index.html"
pkgfqn=${pkgname}-x11-free-${pkgver}
# We need the postgresql sources for QT's postgres sql plugin
psqlver=7.4.3
install=qt.install
depends=('x-server' 'libpng' 'libjpeg')
makedepends=('mysql' 'postgresql' 'sqlite')
source=(ftp://ftp.trolltech.com/qt/source/${pkgfqn}.tar.bz2 qt.profile \
ftp://ftp.postgresql.org/pub/source/v$psqlver/postgresql-$psqlver.tar.gz\
qt-3.2.3.patch)
md5sums=('3e0a0c8429b0a974b39b5f535ddff01c' 'd75ab729b02bba8f58ba7b6d46609dd7'\
'581d8a4a4f5fe013d6d9b0137d11172c' '7c8ae8926f620065fcd7112c7b2a5e4b')

build() {
export QTDIR=$startdir/src/$pkgfqn
export PATH=${QTDIR}/bin:${PATH}
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
cd $startdir/src/$pkgfqn
patch -Np1 -i ../qt-3.2.3.patch || return 1
echo "yes" | ./configure -prefix /opt/qt -system-zlib -qt-gif \
-system-libpng -system-libjpeg -plugin-imgfmt-mng -thread -no-stl \
-no-g++-exceptions -plugin-sql-mysql -plugin-sql-psql -plugin-sql-sqlite

cd $startdir/src/$pkgfqn/plugins/src/sqldrivers/mysql
qmake -o Makefile "INCLUDEPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro
cd $startdir/src/$pkgfqn/plugins/src/sqldrivers/psql
qmake -o Makefile "INCLUDEPATH+=$startdir/src/postgresql-$psqlver" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro
qmake -o Makefile "INCLUDEPATH+=$startdir/src/postgresql-$psqlver/src/include $startdir/src/postgresql-$psqlver/src/interfaces/libpq" "LIBS+=-L/usr/lib -lpq" psql.pro

cd $startdir/src/$pkgfqn
# fix the broken makefiles
sed -i 's|[[:space:]]*strip.*doc/html.*$|#|g' src/Makefile

# optimize the build
sed -i "s:-O2:${CFLAGS}:g" mkspecs/linux-g++/qmake.conf

make || return 1
make INSTALL_ROOT=$startdir/pkg install
rm $startdir/pkg/opt/qt/bin/qmake
cp $startdir/src/$pkgfqn/qmake/qmake $startdir/pkg/opt/qt/bin
install -D -m755 $startdir/qt.profile $startdir/pkg/etc/profile.d/qt.sh
}

Loading...