Minto van der Sluis
18 years ago
5 changed files with 235 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
# |
||||||
|
# Filename: package/.../qt4/config.hlp |
||||||
|
# Copyright (C) 2007 The OpenSDE Project |
||||||
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||||
|
# |
||||||
|
# More information can be found in the files COPYING and README. |
||||||
|
# |
||||||
|
# This program is free software; you can redistribute it and/or modify |
||||||
|
# it under the terms of the GNU General Public License as published by |
||||||
|
# the Free Software Foundation; version 2 of the License. A copy of the |
||||||
|
# GNU General Public License can be found in the file COPYING. |
||||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||||
|
|
||||||
|
MENU_PKG_QT4 |
||||||
|
Here you'll find options for Qt4. |
||||||
|
|
||||||
|
SDECFG_PKG_QT4_PREFIX |
||||||
|
Please enter the prefix where you want Qt4 installed. |
||||||
|
|
||||||
|
SDECFG_PKG_QT4_EXCEPTION_STL 1 |
||||||
|
Whether to enable support for STL data types and exceptions. |
@ -0,0 +1,24 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
# |
||||||
|
# Filename: package/.../qt4/config.in |
||||||
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
||||||
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||||
|
# |
||||||
|
# More information can be found in the files COPYING and README. |
||||||
|
# |
||||||
|
# This program is free software; you can redistribute it and/or modify |
||||||
|
# it under the terms of the GNU General Public License as published by |
||||||
|
# the Free Software Foundation; version 2 of the License. A copy of the |
||||||
|
# GNU General Public License can be found in the file COPYING. |
||||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||||
|
|
||||||
|
if pkgcheck qt4 X ; then |
||||||
|
menu_begin MENU_PKG_QT4 'Qt4 Package Options' |
||||||
|
text 'Install prefix for Qt4' \ |
||||||
|
SDECFG_PKG_QT4_PREFIX "usr" |
||||||
|
bool 'Enable exception and STL support' \ |
||||||
|
SDECFG_PKG_QT4_EXCEPTION_STL 0 |
||||||
|
menu_end |
||||||
|
fi |
||||||
|
|
@ -0,0 +1,69 @@ |
|||||||
|
|
||||||
|
[TIMESTAMP] 1190484610 Sat Sep 22 20:10:10 2007 |
||||||
|
[BUILDTIME] 955 (5) ERROR |
||||||
|
[SIZE] 101.65 MB, 8075 files |
||||||
|
|
||||||
|
[DEP] 00-dirtree |
||||||
|
[DEP] bash |
||||||
|
[DEP] binutils |
||||||
|
[DEP] bzip2 |
||||||
|
[DEP] coreutils |
||||||
|
[DEP] cups |
||||||
|
[DEP] dbus |
||||||
|
[DEP] diffutils |
||||||
|
[DEP] expat |
||||||
|
[DEP] findutils |
||||||
|
[DEP] fixesproto |
||||||
|
[DEP] fontconfig |
||||||
|
[DEP] freetype |
||||||
|
[DEP] gawk |
||||||
|
[DEP] gcc |
||||||
|
[DEP] glib |
||||||
|
[DEP] glibc |
||||||
|
[DEP] gnutls |
||||||
|
[DEP] grep |
||||||
|
[DEP] inputproto |
||||||
|
[DEP] kbproto |
||||||
|
[DEP] lcms |
||||||
|
[DEP] libdrm |
||||||
|
[DEP] libgcrypt |
||||||
|
[DEP] libgpg-error |
||||||
|
[DEP] libice |
||||||
|
[DEP] libjpeg |
||||||
|
[DEP] libmng |
||||||
|
[DEP] libpng |
||||||
|
[DEP] libsm |
||||||
|
[DEP] libtasn1 |
||||||
|
[DEP] libtiff |
||||||
|
[DEP] libx11 |
||||||
|
[DEP] libxau |
||||||
|
[DEP] libxcb |
||||||
|
[DEP] libxcursor |
||||||
|
[DEP] libxdamage |
||||||
|
[DEP] libxext |
||||||
|
[DEP] libxfixes |
||||||
|
[DEP] libxi |
||||||
|
[DEP] libxinerama |
||||||
|
[DEP] libxrandr |
||||||
|
[DEP] libxrender |
||||||
|
[DEP] libxxf86vm |
||||||
|
[DEP] linux-header |
||||||
|
[DEP] make |
||||||
|
[DEP] makedepend |
||||||
|
[DEP] mesa |
||||||
|
[DEP] mysql |
||||||
|
[DEP] openssl |
||||||
|
[DEP] pkgconfig |
||||||
|
[DEP] postgresql |
||||||
|
[DEP] randrproto |
||||||
|
[DEP] renderproto |
||||||
|
[DEP] sed |
||||||
|
[DEP] sqlite2 |
||||||
|
[DEP] sysfiles |
||||||
|
[DEP] tar |
||||||
|
[DEP] unixodbc |
||||||
|
[DEP] util-linux |
||||||
|
[DEP] xextproto |
||||||
|
[DEP] xineramaproto |
||||||
|
[DEP] xproto |
||||||
|
[DEP] zlib |
@ -0,0 +1,80 @@ |
|||||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
# |
||||||
|
# Filename: package/.../qt4/qt4.conf |
||||||
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
||||||
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
||||||
|
# Copyright (C) 1998 - 2004 Clifford Wolf |
||||||
|
# |
||||||
|
# More information can be found in the files COPYING and README. |
||||||
|
# |
||||||
|
# This program is free software; you can redistribute it and/or modify |
||||||
|
# it under the terms of the GNU General Public License as published by |
||||||
|
# the Free Software Foundation; version 2 of the License. A copy of the |
||||||
|
# GNU General Public License can be found in the file COPYING. |
||||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||||
|
|
||||||
|
prefix="${SDECFG_PKG_QT4_PREFIX:-usr}" |
||||||
|
if [ "$prefix" = "usr" ]; then |
||||||
|
docdir=$docdir/$pkg |
||||||
|
fi |
||||||
|
set_confopt |
||||||
|
|
||||||
|
pkg_qt4_preconf() { |
||||||
|
# Somehow config options get removed if using the standard config |
||||||
|
# handling. So we use a custom one here. |
||||||
|
./configure $confopt |
||||||
|
} |
||||||
|
|
||||||
|
# exporting the proper environment variables in profile.d |
||||||
|
pkg_qt4_profiled() { |
||||||
|
cat > $root/etc/profile.d/qt4 <<-EOT |
||||||
|
QT4DIR=/$prefix |
||||||
|
QT41DIR=/$prefix |
||||||
|
export QT4DIR QT41DIR |
||||||
|
EOT |
||||||
|
} |
||||||
|
|
||||||
|
confopt="-prefix $root/$prefix -bindir $root/$bindir -libdir $root/$libdir -docdir $root/$docdir/doc -datadir $root/$datadir -translationdir $root/$datadir/translations -sysconfdir $root/$sysconfdir -examplesdir $root/$docdir/examples -demosdir $root/$docdir/demos -v" |
||||||
|
|
||||||
|
# Confirm the license automatically |
||||||
|
var_append confopt ' ' "-confirm-license" |
||||||
|
|
||||||
|
# QT3 support is only needed when no installed. |
||||||
|
if pkginstalled qt3; then |
||||||
|
var_append confopt ' ' "-no-qt3support" |
||||||
|
else |
||||||
|
var_append confopt ' ' "-qt3support" |
||||||
|
fi |
||||||
|
|
||||||
|
[[ $libdir = *lib64* ]] && |
||||||
|
var_append confopt ' ' '-platform linux-g++-64' |
||||||
|
|
||||||
|
[ "$SDECFG_PKG_QT4_EXCEPTION_STL" = "0" ] && |
||||||
|
var_append confopt " " "-no-exceptions -no-stl" |
||||||
|
|
||||||
|
# Add database support for all installed databases. |
||||||
|
tuples="mysql:mysql postgresql:psql sqlite:sqlite sqlite2:sqlite2" |
||||||
|
for tuple in $tuples; do |
||||||
|
tuplepkg=${tuple#:*} |
||||||
|
tupledriver=${tuple#*:} |
||||||
|
|
||||||
|
if pkginstalled $tuplepkg; then |
||||||
|
kgprefix -t $tuplepkg |
||||||
|
var_append confopt " " "-plugin-sql-$tupledriver" |
||||||
|
for x in CXX GCC; do |
||||||
|
var_append ${x}_WRAPPER_APPEND ' ' "-L$( pkgprefix libdir $tuplepkg )/mysql" |
||||||
|
done |
||||||
|
for x in CXX GCC CPP; do |
||||||
|
var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir $tuplepkg )/mysql" |
||||||
|
var_append ${x}_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir $tuplepkg )/mysql" |
||||||
|
done |
||||||
|
|
||||||
|
fi |
||||||
|
done |
||||||
|
|
||||||
|
hook_add preconf 5 "pkg_qt4_preconf" |
||||||
|
hook_add postmake 5 "pkg_qt4_profiled" |
||||||
|
|
||||||
|
createdocs=0 |
||||||
|
runconf=0 |
@ -0,0 +1,39 @@ |
|||||||
|
|
||||||
|
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||||
|
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||||
|
[COPY] |
||||||
|
[COPY] Filename: package/.../qt4/qt4.desc |
||||||
|
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project |
||||||
|
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project |
||||||
|
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf |
||||||
|
[COPY] |
||||||
|
[COPY] More information can be found in the files COPYING and README. |
||||||
|
[COPY] |
||||||
|
[COPY] This program is free software; you can redistribute it and/or modify |
||||||
|
[COPY] it under the terms of the GNU General Public License as published by |
||||||
|
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||||
|
[COPY] GNU General Public License can be found in the file COPYING. |
||||||
|
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||||
|
|
||||||
|
[I] A portable widget library |
||||||
|
|
||||||
|
[T] Qt is a C++ cross-platform fully object-oriented application framework |
||||||
|
[T] that enables rapid building of state-of-the-art GUI applications for |
||||||
|
[T] Linux/Unix, Mac OS X, embedded Linux platforms and Microsoft Windows. |
||||||
|
[T] |
||||||
|
[T] It is needed by the KDE Desktop and some other GUI applications. |
||||||
|
|
||||||
|
[U] http://trolltech.com/products/qt |
||||||
|
|
||||||
|
[A] Trolltech AS <www.trolltech.com> |
||||||
|
[M] Minto van der Sluis <misl@opensde.org> |
||||||
|
|
||||||
|
[C] extra/development |
||||||
|
|
||||||
|
[L] GPL |
||||||
|
[S] Stable |
||||||
|
[V] 4.3.0 |
||||||
|
[P] X -----5---9 127.000 |
||||||
|
|
||||||
|
[D] 1035052850 qt-x11-opensource-src-4.3.0.tar.gz ftp://ftp.trolltech.com/qt/source/ |
||||||
|
|
Loading…
Reference in new issue