head 1.134;
access;
symbols
OPENPKG_E1_MP_HEAD:1.130
OPENPKG_E1_MP:1.130
OPENPKG_E1_MP_2_STABLE:1.125.2.3
OPENPKG_E1_FP:1.125.2.3
OPENPKG_2_STABLE_MP:1.129
OPENPKG_2_STABLE_20061018:1.125.2.2
OPENPKG_2_STABLE_20060622:1.125.2.1
OPENPKG_2_STABLE:1.125.0.2
OPENPKG_2_STABLE_BP:1.125
OPENPKG_2_5_RELEASE:1.122.2.2
OPENPKG_2_5_SOLID:1.122.0.2
OPENPKG_2_5_SOLID_BP:1.122
OPENPKG_2_4_RELEASE:1.119.2.1
OPENPKG_2_4_SOLID:1.119.0.2
OPENPKG_2_4_SOLID_BP:1.119
OPENPKG_CW_FP:1.117
OPENPKG_2_3_RELEASE:1.116.2.1
OPENPKG_2_3_SOLID:1.116.0.2
OPENPKG_2_3_SOLID_BP:1.116
OPENPKG_2_2_RELEASE:1.114.2.1
OPENPKG_2_2_SOLID:1.114.0.2
OPENPKG_2_2_SOLID_BP:1.114
OPENPKG_2_1_RELEASE:1.108.2.1
OPENPKG_2_1_SOLID:1.108.0.2
OPENPKG_2_1_SOLID_BP:1.108
OPENPKG_2_0_RELEASE:1.100.2.1
OPENPKG_2_0_SOLID:1.100.0.2
OPENPKG_2_0_SOLID_BP:1.100
OPENPKG_1_STABLE_MP:1.70
OPENPKG_0_0:1.1.1.1
OPENPKG:1.1.1;
locks; strict;
comment @-- @;
1.134
date 2009.04.18.13.14.40; author rse; state Exp;
branches;
next 1.133;
commitid 4pHXU27WTIGCZuKt;
1.133
date 2008.01.01.15.03.27; author rse; state Exp;
branches;
next 1.132;
commitid B8esaHJHoduuKILs;
1.132
date 2007.07.20.20.18.07; author thl; state Exp;
branches;
next 1.131;
commitid yCyWfcoNSNOaUxqs;
1.131
date 2007.02.20.20.06.35; author rse; state Exp;
branches;
next 1.130;
commitid 5LaiY7RDNlLeGg7s;
1.130
date 2007.01.01.17.41.20; author rse; state Exp;
branches;
next 1.129;
commitid BicZD6VUl7GuqP0s;
1.129
date 2006.10.20.18.46.22; author rse; state Exp;
branches;
next 1.128;
commitid oGzMBPPeHuSPbsRr;
1.128
date 2006.10.16.12.59.48; author rse; state Exp;
branches;
next 1.127;
commitid HAX3rf0ejDWToUQr;
1.127
date 2006.10.15.10.13.10; author rse; state Exp;
branches;
next 1.126;
commitid N78S1mJfctZKvLQr;
1.126
date 2006.10.13.17.33.16; author thl; state Exp;
branches;
next 1.125;
commitid q5GSxzsSDX29XxQr;
1.125
date 2006.03.15.21.06.50; author rse; state Exp;
branches
1.125.2.1;
next 1.124;
commitid KkLjLOV76Rqt0kpr;
1.124
date 2006.01.01.13.21.03; author rse; state Exp;
branches;
next 1.123;
commitid otZG8yKMCw1JFTfr;
1.123
date 2005.10.14.17.46.24; author rse; state Exp;
branches;
next 1.122;
1.122
date 2005.09.27.11.51.49; author thl; state Exp;
branches
1.122.2.1;
next 1.121;
1.121
date 2005.07.28.06.36.51; author rse; state Exp;
branches;
next 1.120;
1.120
date 2005.07.07.09.35.51; author rse; state Exp;
branches;
next 1.119;
1.119
date 2005.05.03.13.25.54; author ms; state Exp;
branches
1.119.2.1;
next 1.118;
1.118
date 2005.03.24.11.20.08; author rse; state Exp;
branches;
next 1.117;
1.117
date 2005.03.23.12.50.36; author ms; state Exp;
branches;
next 1.116;
1.116
date 2005.02.01.09.15.37; author ms; state Exp;
branches
1.116.2.1;
next 1.115;
1.115
date 2005.01.01.10.54.11; author rse; state Exp;
branches;
next 1.114;
1.114
date 2004.09.20.16.17.39; author rse; state Exp;
branches
1.114.2.1;
next 1.113;
1.113
date 2004.08.20.18.08.50; author ms; state Exp;
branches;
next 1.112;
1.112
date 2004.08.12.13.16.25; author ms; state Exp;
branches;
next 1.111;
1.111
date 2004.08.12.13.12.10; author ms; state Exp;
branches;
next 1.110;
1.110
date 2004.08.11.15.06.37; author ms; state Exp;
branches;
next 1.109;
1.109
date 2004.08.04.14.01.55; author thl; state Exp;
branches;
next 1.108;
1.108
date 2004.07.02.08.01.19; author tho; state Exp;
branches
1.108.2.1;
next 1.107;
1.107
date 2004.06.15.21.51.04; author ms; state Exp;
branches;
next 1.106;
1.106
date 2004.06.15.21.22.08; author ms; state Exp;
branches;
next 1.105;
1.105
date 2004.04.29.15.06.58; author thl; state Exp;
branches;
next 1.104;
1.104
date 2004.04.28.15.41.03; author ms; state Exp;
branches;
next 1.103;
1.103
date 2004.04.27.12.28.58; author ms; state Exp;
branches;
next 1.102;
1.102
date 2004.04.10.10.13.59; author rse; state Exp;
branches;
next 1.101;
1.101
date 2004.03.03.13.39.04; author ms; state Exp;
branches;
next 1.100;
1.100
date 2004.02.07.17.58.17; author rse; state Exp;
branches
1.100.2.1;
next 1.99;
1.99
date 2004.02.03.20.05.44; author rse; state Exp;
branches;
next 1.98;
1.98
date 2004.01.23.13.13.17; author rse; state Exp;
branches;
next 1.97;
1.97
date 2003.12.21.09.34.48; author rse; state Exp;
branches;
next 1.96;
1.96
date 2003.12.02.15.42.07; author ms; state Exp;
branches;
next 1.95;
1.95
date 2003.11.28.09.56.31; author ms; state Exp;
branches;
next 1.94;
1.94
date 2003.11.20.15.20.26; author ms; state Exp;
branches;
next 1.93;
1.93
date 2003.11.20.12.06.10; author ms; state Exp;
branches;
next 1.92;
1.92
date 2003.11.19.14.54.03; author ms; state Exp;
branches;
next 1.91;
1.91
date 2003.11.15.19.55.32; author rse; state Exp;
branches;
next 1.90;
1.90
date 2003.11.07.20.35.25; author rse; state Exp;
branches;
next 1.89;
1.89
date 2003.10.16.14.47.20; author ms; state Exp;
branches;
next 1.88;
1.88
date 2003.09.18.16.45.45; author rse; state Exp;
branches;
next 1.87;
1.87
date 2003.09.15.08.58.54; author ms; state Exp;
branches;
next 1.86;
1.86
date 2003.09.12.13.00.31; author rse; state Exp;
branches;
next 1.85;
1.85
date 2003.09.09.23.58.48; author ms; state Exp;
branches;
next 1.84;
1.84
date 2003.09.08.07.25.18; author ms; state Exp;
branches;
next 1.83;
1.83
date 2003.09.06.13.32.48; author ms; state Exp;
branches;
next 1.82;
1.82
date 2003.09.04.17.02.13; author ms; state Exp;
branches;
next 1.81;
1.81
date 2003.09.01.16.03.07; author ms; state Exp;
branches;
next 1.80;
1.80
date 2003.09.01.07.47.39; author ms; state Exp;
branches;
next 1.79;
1.79
date 2003.08.28.17.01.59; author ms; state Exp;
branches;
next 1.78;
1.78
date 2003.08.27.16.17.10; author ms; state Exp;
branches;
next 1.77;
1.77
date 2003.08.27.12.32.43; author ms; state Exp;
branches;
next 1.76;
1.76
date 2003.08.27.12.19.00; author ms; state Exp;
branches;
next 1.75;
1.75
date 2003.08.20.06.54.07; author ms; state Exp;
branches;
next 1.74;
1.74
date 2003.08.13.09.01.53; author ms; state Exp;
branches;
next 1.73;
1.73
date 2003.08.06.06.49.16; author ms; state Exp;
branches;
next 1.72;
1.72
date 2003.07.29.14.23.22; author ms; state Exp;
branches;
next 1.71;
1.71
date 2003.07.29.11.49.32; author ms; state Exp;
branches;
next 1.70;
1.70
date 2003.07.23.20.13.31; author rse; state Exp;
branches;
next 1.69;
1.69
date 2003.07.23.13.32.19; author rse; state Exp;
branches;
next 1.68;
1.68
date 2003.07.08.14.42.06; author rse; state Exp;
branches;
next 1.67;
1.67
date 2003.05.09.14.09.37; author ms; state Exp;
branches;
next 1.66;
1.66
date 2003.05.08.14.30.15; author ms; state Exp;
branches;
next 1.65;
1.65
date 2003.05.07.09.35.50; author ms; state Exp;
branches;
next 1.64;
1.64
date 2003.04.25.10.19.42; author ms; state Exp;
branches;
next 1.63;
1.63
date 2003.04.08.15.33.34; author ms; state Exp;
branches;
next 1.62;
1.62
date 2003.03.06.09.11.41; author cs; state Exp;
branches;
next 1.61;
1.61
date 2003.03.05.13.48.08; author rse; state Exp;
branches;
next 1.60;
1.60
date 2003.03.05.13.28.45; author ms; state Exp;
branches;
next 1.59;
1.59
date 2003.02.26.16.07.47; author ms; state Exp;
branches;
next 1.58;
1.58
date 2003.02.19.13.24.14; author mlelstv; state Exp;
branches;
next 1.57;
1.57
date 2003.01.17.12.19.35; author ms; state Exp;
branches;
next 1.56;
1.56
date 2003.01.03.11.40.32; author rse; state Exp;
branches;
next 1.55;
1.55
date 2003.01.03.10.54.27; author rse; state Exp;
branches;
next 1.54;
1.54
date 2003.01.01.11.00.34; author rse; state Exp;
branches;
next 1.53;
1.53
date 2002.12.30.22.06.23; author rse; state Exp;
branches;
next 1.52;
1.52
date 2002.12.30.19.48.41; author rse; state Exp;
branches;
next 1.51;
1.51
date 2002.12.17.10.54.51; author ms; state Exp;
branches;
next 1.50;
1.50
date 2002.12.08.11.10.35; author rse; state Exp;
branches;
next 1.49;
1.49
date 2002.11.25.14.10.36; author ms; state Exp;
branches;
next 1.48;
1.48
date 2002.11.18.20.11.08; author ms; state Exp;
branches;
next 1.47;
1.47
date 2002.11.14.14.01.14; author ms; state Exp;
branches;
next 1.46;
1.46
date 2002.11.13.14.24.43; author ms; state Exp;
branches;
next 1.45;
1.45
date 2002.11.06.16.10.22; author ms; state Exp;
branches;
next 1.44;
1.44
date 2002.11.05.18.29.00; author ms; state Exp;
branches;
next 1.43;
1.43
date 2002.10.23.16.24.19; author ms; state Exp;
branches;
next 1.42;
1.42
date 2002.10.22.09.51.14; author ms; state Exp;
branches;
next 1.41;
1.41
date 2002.10.22.07.17.35; author ms; state Exp;
branches;
next 1.40;
1.40
date 2002.10.14.21.41.16; author ms; state Exp;
branches;
next 1.39;
1.39
date 2002.10.14.18.09.58; author ms; state Exp;
branches;
next 1.38;
1.38
date 2002.10.11.20.22.03; author ms; state Exp;
branches;
next 1.37;
1.37
date 2002.10.11.14.10.46; author ms; state Exp;
branches;
next 1.36;
1.36
date 2002.10.04.14.07.12; author ms; state Exp;
branches;
next 1.35;
1.35
date 2002.10.04.09.27.21; author ms; state Exp;
branches;
next 1.34;
1.34
date 2002.10.03.21.32.49; author ms; state Exp;
branches;
next 1.33;
1.33
date 2002.09.30.11.50.37; author ms; state Exp;
branches;
next 1.32;
1.32
date 2002.09.27.13.54.35; author ms; state Exp;
branches;
next 1.31;
1.31
date 2002.09.27.11.28.53; author ms; state Exp;
branches;
next 1.30;
1.30
date 2002.08.26.09.38.01; author rse; state Exp;
branches;
next 1.29;
1.29
date 2002.08.13.12.49.37; author rse; state Exp;
branches;
next 1.28;
1.28
date 2002.08.06.12.41.52; author ms; state Exp;
branches;
next 1.27;
1.27
date 2002.06.25.14.12.00; author rse; state Exp;
branches;
next 1.26;
1.26
date 2002.06.25.05.59.08; author rse; state Exp;
branches;
next 1.25;
1.25
date 2002.06.24.21.57.31; author rse; state Exp;
branches;
next 1.24;
1.24
date 2002.06.23.10.01.59; author rse; state Exp;
branches;
next 1.23;
1.23
date 2002.06.13.09.18.05; author rse; state Exp;
branches;
next 1.22;
1.22
date 2002.06.10.22.32.17; author rse; state Exp;
branches;
next 1.21;
1.21
date 2002.06.06.16.50.10; author rse; state Exp;
branches;
next 1.20;
1.20
date 2002.05.29.20.02.07; author rse; state Exp;
branches;
next 1.19;
1.19
date 2002.05.29.15.43.44; author rse; state Exp;
branches;
next 1.18;
1.18
date 2002.04.01.09.02.50; author rse; state Exp;
branches;
next 1.17;
1.17
date 2002.03.12.14.03.24; author ms; state Exp;
branches;
next 1.16;
1.16
date 2002.02.27.09.21.50; author ms; state Exp;
branches;
next 1.15;
1.15
date 2002.02.26.15.38.02; author ms; state Exp;
branches;
next 1.14;
1.14
date 2002.02.07.14.35.19; author rse; state Exp;
branches;
next 1.13;
1.13
date 2001.12.31.15.00.31; author rse; state Exp;
branches;
next 1.12;
1.12
date 2001.12.27.15.00.38; author rse; state Exp;
branches;
next 1.11;
1.11
date 2001.11.30.22.21.46; author rse; state Exp;
branches;
next 1.10;
1.10
date 2001.11.30.14.27.41; author rse; state Exp;
branches;
next 1.9;
1.9
date 2001.11.26.16.34.08; author rse; state Exp;
branches;
next 1.8;
1.8
date 2001.11.26.15.20.07; author rse; state Exp;
branches;
next 1.7;
1.7
date 2001.11.21.09.21.39; author rse; state Exp;
branches;
next 1.6;
1.6
date 2001.10.25.09.23.42; author rse; state Exp;
branches;
next 1.5;
1.5
date 2001.10.24.18.16.27; author rse; state Exp;
branches;
next 1.4;
1.4
date 2001.10.23.11.24.05; author rse; state Exp;
branches;
next 1.3;
1.3
date 2001.09.25.08.20.30; author rse; state Exp;
branches;
next 1.2;
1.2
date 2001.09.20.11.03.02; author rse; state Exp;
branches;
next 1.1;
1.1
date 2001.09.18.09.48.30; author rse; state Exp;
branches
1.1.1.1;
next ;
1.125.2.1
date 2006.06.20.15.24.06; author rse; state Exp;
branches;
next 1.125.2.2;
commitid P9b9BoNafLYTTKBr;
1.125.2.2
date 2006.10.16.14.55.23; author rse; state Exp;
branches;
next 1.125.2.3;
commitid iZxwRSmmWscPXUQr;
1.125.2.3
date 2006.10.23.09.03.43; author rse; state Exp;
branches;
next ;
commitid BNMKMaZe3RBXRMRr;
1.122.2.1
date 2005.10.11.12.51.39; author rse; state Exp;
branches;
next 1.122.2.2;
1.122.2.2
date 2005.10.14.17.47.23; author rse; state Exp;
branches;
next ;
1.119.2.1
date 2005.06.15.19.04.07; author rse; state Exp;
branches;
next 1.119.2.2;
1.119.2.2
date 2005.07.07.09.37.18; author rse; state Exp;
branches;
next 1.119.2.3;
1.119.2.3
date 2005.07.28.06.38.02; author rse; state Exp;
branches;
next ;
1.116.2.1
date 2005.02.21.17.08.19; author rse; state Exp;
branches;
next 1.116.2.2;
1.116.2.2
date 2005.07.07.09.39.06; author rse; state Exp;
branches;
next 1.116.2.3;
1.116.2.3
date 2005.07.28.06.40.23; author rse; state Exp;
branches;
next ;
1.114.2.1
date 2004.10.11.18.58.37; author rse; state Exp;
branches;
next ;
1.108.2.1
date 2004.07.02.15.27.28; author rse; state Exp;
branches;
next 1.108.2.2;
1.108.2.2
date 2004.08.04.14.03.00; author thl; state Exp;
branches;
next ;
1.100.2.1
date 2004.02.18.14.51.20; author rse; state Exp;
branches;
next 1.100.2.2;
1.100.2.2
date 2004.04.29.16.17.52; author thl; state Exp;
branches;
next 1.100.2.3;
1.100.2.3
date 2004.07.06.13.33.25; author tho; state Exp;
branches;
next 1.100.2.4;
1.100.2.4
date 2004.08.04.14.05.40; author thl; state Exp;
branches;
next ;
1.1.1.1
date 2001.09.18.09.48.30; author rse; state Exp;
branches;
next ;
desc
@@
1.134
log
@bump years in copyright messages
@
text
@##
## qt.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: qt
Summary: The Qt Toolkit
URL: http://www.trolltech.com/products/qt/x11.html
Vendor: TrollTech AS
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: XWindow
License: GPL
Version: 3.3.8
Release: 20080101
# package options
%option with_threads yes
%option with_pgsql no
%option with_mysql no
%option with_tools no
# list of sources
Source0: ftp://ftp.trolltech.com/pub/qt/source/qt-x11-free-%{version}.tar.gz
Patch0: qt.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, X11, xft, mesa, gcc, sed
PreReq: OpenPKG, openpkg >= 20040130, X11, xft, mesa
%if "%{with_pgsql}" == "yes"
BuildPreReq: postgresql
PreReq: postgresql
%endif
%if "%{with_mysql}" == "yes"
BuildPreReq: mysql
PreReq: mysql
%endif
AutoReq: no
AutoReqProv: no
%description
Qt is a GUI (graphical user interface) software toolkit which
simplifies the task of writing and maintaining GUIs, and allows
the developer to create prototypes and feature-rich applications
quickly. Offering C++ library bindings, Qt enables development
in an object-oriented environment and appeals to developers with
portability in mind. Qt's portable C++ library bindings allow
for error-free recompiling on at least the three major platforms
Unix (and Linux), Apple Macintosh, and Microsoft Windows. Its
API architecture is designed to reduce complexity and increase
reliability through a signal and slot mechanism, which is similar to
templates in C++, but with influences from component technology.
%track
prog qt = {
version = %{version}
url = ftp://ftp.trolltech.com/pub/qt/source/
regex = qt-x11-free-(\d+\.\d+\.\d+)\.tar\.(gz|bz2)
}
%prep
%setup -q -n qt-x11-free-%{version}
%patch -p0
# avoid dependencies external to OpenPKG instance
%{l_shtool} subst \
-e 's;[ \t]*/usr/local/include;;g' \
-e 's;[ \t]*/usr/local/lib;;g' \
mkspecs/darwin-g++/qmake.conf \
mkspecs/freebsd-g++/qmake.conf \
mkspecs/netbsd-g++/qmake.conf \
mkspecs/macx-pbuilder/qmake.conf \
mkspecs/openbsd-g++/qmake.conf
# correctly detect OpenPKG xrender and xft installations
%{l_shtool} subst \
-e 's;[^A-Za-z_]\(INCDIRS="\);\1%{l_prefix}/include ;g' \
-e 's;^\(LIBDIRS="\);\1%{l_prefix}/lib ;g' \
config.tests/x11/xfreetype.test \
config.tests/x11/xrender.test
%{l_shtool} subst \
-e 's;freetype2/freetype/;freetype/;g' \
-e 's;freetype2;freetype;g' \
-e "s;-lfontconfig;`%{l_prefix}/bin/pkg-config --libs-only-l fontconfig`;" \
config.tests/x11/xfreetype.test
# repair nonstandard posix thread test macro usage
%{l_shtool} subst \
-e 's/\(defined(_POSIX_THREAD_SAFE_FUNCTIONS)\)/(\1 \&\& _POSIX_THREAD_SAFE_FUNCTIONS-0>0)/g' \
src/dialogs/qfiledialog.cpp src/kernel/qfont_x11.cpp \
src/tools/qdatetime.cpp src/tools/qdir_unix.cpp
%build
# display a warning that this package is a beast
( echo "The qt package may require up to 625 Mb of temporary disk"
echo "space and 1 to 4 hours (depending on options) to build on"
echo "a 800 MHz system. Therefore, please be prepared and patient."
) | %{l_rpmtool} msg -b -t notice
# set HOME to a writable directory for qsettings
# and set QTDIR to just the source tree directory
# and determine the target platform to build
HOME=`pwd`
QTDIR=`pwd`
case "%{l_platform -t}" in
*-freebsd* ) oscomp="freebsd-g++" ;;
*-linux* ) oscomp="linux-g++" ;;
*-sunos* ) oscomp="solaris-g++" ;;
* ) echo "platform %{l_platform -t} not supported" 2>&1; exit 1 ;;
esac
# calculate X11 paths in advance
l_x11_incdir=`%{l_rc} --query x11_incdir`
l_x11_libdir=`%{l_rc} --query x11_libdir`
# special trolltech configuration
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
echo "yes" | ./configure \
%if "%{with_pgsql}" == "yes"
-qt-sql-psql \
%endif
%if "%{with_mysql}" == "yes"
-qt-sql-mysql \
%endif
-platform $oscomp \
-prefix %{l_prefix} \
-docdir %{l_prefix}/share/qt/doc \
-datadir %{l_prefix}/share/qt/data \
-plugindir %{l_prefix}/share/qt/plugins \
-translationdir %{l_prefix}/share/qt/translations \
-sysconfdir %{l_prefix}/etc/qt \
-release -static -stl -sm -xrender -xft -no-dlopen-opengl \
-qt-zlib -qt-libpng -qt-libjpeg -qt-libmng -qt-gif \
-I$QTDIR/include %{l_cppflags} -I${l_x11_incdir} \
-L$QTDIR/lib %{l_ldflags} -L${l_x11_libdir} \
-no-thread
%{l_make} %{l_mflags -O} \
MAKE="%{l_make} %{l_mflags -O}" \
%if "%{with_tools}" == "yes"
sub-src sub-tools
%else
sub-src
( cd tools/designer
%{l_make} %{l_mflags -O} \
MAKE="%{l_make} %{l_mflags -O}" \
sub-uic
) || exit $?
%endif
%if "%{with_threads}" == "yes"
# run configure a second time to get threaded libs as well
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
echo "yes" | ./configure \
%if "%{with_pgsql}" == "yes"
-qt-sql-psql \
%endif
%if "%{with_mysql}" == "yes"
-qt-sql-mysql \
%endif
-platform $oscomp \
-prefix %{l_prefix} \
-docdir %{l_prefix}/share/qt/doc \
-datadir %{l_prefix}/share/qt/data \
-plugindir %{l_prefix}/share/qt/plugins \
-translationdir %{l_prefix}/share/qt/translations \
-sysconfdir %{l_prefix}/etc/qt \
-release -static -stl -sm -xrender -xft -no-dlopen-opengl \
-qt-zlib -qt-libpng -qt-libjpeg -qt-libmng -qt-gif \
-I$QTDIR/include %{l_cppflags} -I${l_x11_incdir} \
-L$QTDIR/lib %{l_ldflags} -L${l_x11_libdir} \
-thread
# make our targets a second time to get threaded libs, too
%{l_make} %{l_mflags -O} \
MAKE="%{l_make} %{l_mflags -O}" \
%if "%{with_tools}" == "yes"
sub-src sub-tools
%else
sub-src
( cd tools/designer
%{l_make} %{l_mflags -O} \
MAKE="%{l_make} %{l_mflags -O}" \
sub-uic
) || exit $?
%endif
%endif
%install
rm -rf $RPM_BUILD_ROOT
# calculate X11 lib directory in advance
l_x11_libdir=`%{l_rc} --query x11_libdir`
# make directory structure
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \
%if "%{with_tools}" == "yes"
$RPM_BUILD_ROOT%{l_prefix}/share/qt/templates \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/phrasebooks \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/images \
%endif
$RPM_BUILD_ROOT%{l_prefix}/share/qt/doc/html \
$RPM_BUILD_ROOT%{l_prefix}/include/qt/private \
$RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 \
$RPM_BUILD_ROOT%{l_prefix}/man/man3
# copy binaries, headers, and then libraries to their target
%{l_shtool} install -c -s -m 755 \
bin/qmake bin/moc bin/uic \
$RPM_BUILD_ROOT%{l_prefix}/bin/
%if "%{with_tools}" == "yes"
%{l_shtool} install -c -s -m 755 \
bin/linguist bin/lrelease bin/lupdate \
bin/assistant bin/qtconfig bin/designer \
$RPM_BUILD_ROOT%{l_prefix}/bin/
%endif
# copy mkspecs directory for later portable use of qmake
cp -rp mkspecs $RPM_BUILD_ROOT%{l_prefix}/share/qt/mkspecs
# correct man suffix
for man in doc/man/man3/*.3qt; do
%{l_shtool} subst -e 's;\.3qt;.3;' $man
mv $man `echo $man | sed -e 's;\.3qt$;.3;'`
done
# copy files to their destinations
%{l_shtool} install -c -m 644 \
include/*.h $RPM_BUILD_ROOT%{l_prefix}/include/qt/
%{l_shtool} install -c -m 644 \
include/private/*.h $RPM_BUILD_ROOT%{l_prefix}/include/qt/private/
%{l_shtool} install -c -m 644 \
lib/*.a lib/*.prl $RPM_BUILD_ROOT%{l_prefix}/lib/
%{l_shtool} install -c -m 644 \
-e "s;\t; ;g" \
-e "s;\ \+; ;g" \
-e "s;\ *$;;g" \
-e "s;-[lL]\ *\-;\-;g" \
-e "s;-l\ *[^ ]*qt\.pc\ *;;g" \
-e "s;-L\ *.[^ ]*\ *;;g" \
-e "s;Libs:;Libs: %{l_ldflags} -L${l_x11_libdir};g" \
-e "s;\(\-l\);\-lqt \1;" \
lib/qt.pc $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
%if "%{with_threads}" == "yes"
%{l_shtool} install -c -m 644 \
-e "s;\t; ;g" \
-e "s;\ \+; ;g" \
-e "s;\ *$;;g" \
-e "s;-[lL]\ *\-;\-;g" \
-e "s;-l\ *[^ ]*qt\-mt\.pc\ *;;g" \
-e "s;-L\ *.[^ ]*\ *;;g" \
-e "s;Libs:;Libs: %{l_ldflags} -L${l_x11_libdir};g" \
-e "s;\(\-l\);\-lqt\-mt \1;" \
lib/qt-mt.pc $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
%endif
%if "%{with_tools}" == "yes"
%{l_shtool} install -c -m 644 \
tools/designer/templates/*.ui $RPM_BUILD_ROOT%{l_prefix}/share/qt/templates/
%{l_shtool} install -c -m 644 \
tools/linguist/phrasebooks/*.qph $RPM_BUILD_ROOT%{l_prefix}/share/qt/phrasebooks/
%{l_shtool} install -c -m 644 \
tools/designer/designer/images/* $RPM_BUILD_ROOT%{l_prefix}/share/qt/images/
%endif
%{l_shtool} install -c -m 644 \
doc/man/man3/*.3 $RPM_BUILD_ROOT%{l_prefix}/man/man3/
%{l_shtool} install -c -m 644 \
doc/man/man1/moc.1 doc/man/man1/uic.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
%{l_shtool} install -c -m 644 \
doc/html/* $RPM_BUILD_ROOT%{l_prefix}/share/qt/doc/html/
# determine installation files
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%doc %{l_prefix}/share/qt/doc/html/*'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.133
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.132
log
@remove "%not %dir" construct, allowing proper directory ownership tracking and removal when erasing last provider
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d35 1
a35 1
Release: 20070720
@
1.131
log
@upgrading package: qt 3.3.7 -> 3.3.8
@
text
@d36 1
a36 1
Release: 20070220
d305 1
a305 2
'%doc %{l_prefix}/share/qt/doc/html/*' \
'%not %dir %{l_prefix}/lib/pkgconfig'
@
1.130
log
@Welcome Year 2007!
@
text
@d35 2
a36 2
Version: 3.3.7
Release: 20061020
d45 1
a45 1
Source0: ftp://ftp.trolltech.com/pub/qt/source/qt-x11-free-%{version}.tar.bz2
d81 1
a81 1
regex = qt-x11-free-(\d+\.\d+\.\d+)\.tar\.gz
@
1.129
log
@upgrading package: qt 3.3.6 -> 3.3.7
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.128
log
@downgrade X11-only related packages to EVAL class
@
text
@d35 2
a36 2
Version: 3.3.6
Release: 20061016
@
1.127
log
@A few package fixes. Thanks to Michael Schloh.
@
text
@d32 1
a32 1
Class: PLUS
d36 1
a36 1
Release: 20061015
@
1.126
log
@new world order for "Packager" and "Distribution" headers
@
text
@d36 1
a36 1
Release: 20061013
d107 1
a107 1
-e "s;-lfontconfig;`%{l_prefix}/bin/pkg-config --libs fontconfig`;" \
@
1.125
log
@upgrading package: qt 3.3.5 -> 3.3.6
@
text
@d30 2
a31 2
Packager: OpenPKG
Distribution: OpenPKG
d36 1
a36 1
Release: 20060315
@
1.125.2.1
log
@bump release numbers for OpenPKG 2.20060622 in advance
@
text
@d36 1
a36 1
Release: 2.20060622
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 2.20060622, X11, xft, mesa, gcc, sed
PreReq: OpenPKG, openpkg >= 2.20060622, X11, xft, mesa
@
1.125.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@d30 3
a32 3
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
d36 1
a36 1
Release: 2.20061018
d51 2
a52 2
BuildPreReq: OpenPKG, openpkg >= 2.20061018, X11, xft, mesa, gcc, sed
PreReq: OpenPKG, openpkg >= 2.20061018, X11, xft, mesa
d107 1
a107 1
-e "s;-lfontconfig;`%{l_prefix}/bin/pkg-config --libs-only-l fontconfig`;" \
@
1.125.2.3
log
@MFC: security fixed version
@
text
@d35 2
a36 2
Version: 3.3.7
Release: 2.20061023
@
1.124
log
@adjust copyrights for new year 2006
@
text
@d35 2
a36 2
Version: 3.3.5
Release: 20051014
@
1.123
log
@remove unused with_shared option (and this way reduce the build-time from 4 runs to just 2 runs) and cleanup the packaging in general, too
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.122
log
@make sure fontconfig dependency libiconv is found
@
text
@d36 1
a36 1
Release: 20050927
d38 1
a38 2
# package library options (each 'yes' builds more libraries)
%option with_shared no
a39 2
# package extra options (additional non-library components)
d65 11
a75 11
Qt is a GUI (graphical user interface) software toolkit which simplifies
the task of writing and maintaining GUIs, and allows the developer to
create prototypes and feature-rich applications quickly. Offering C++
library bindings, Qt enables development in an object-oriented
environment and appeals to developers with portability in mind. Qt's
portable C++ library bindings allow for error-free recompiling on at
least the three major platforms Unix (and Linux), Apple Macintosh, and
Microsoft Windows. Its API architecture is designed to reduce complexity
and increase reliability through a signal and slot mechanism, which is
similar to templates in C++, but with influences from component
technology.
a88 1
cp -r mkspecs mkspecs.fresh
a134 5
# put in proper search paths for dynamic libraries
rflags=`echo '%{l_ldflags}' | %{l_shtool} subst \
-e 's;%{l_prefix}/lib;%{l_prefix}/lib/qtdyn;g' \
-e 's;-L;-R;g'`
a138 73
%if "%{with_shared}" == "yes"
# special trolltech configuration
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
echo "yes" | ./configure \
%if "%{with_pgsql}" == "yes"
-qt-sql-psql \
%endif
%if "%{with_mysql}" == "yes"
-qt-sql-mysql \
%endif
-platform $oscomp \
-prefix %{l_prefix} \
-docdir %{l_prefix}/share/qt/doc \
-datadir %{l_prefix}/share/qt/data \
-plugindir %{l_prefix}/share/qt/plugins \
-translationdir %{l_prefix}/share/qt/translations \
-sysconfdir %{l_prefix}/etc/qt \
-release -shared -stl -sm -xrender -xft -no-dlopen-opengl \
-qt-zlib -qt-libpng -qt-libjpeg -qt-libmng -qt-gif \
-I$QTDIR/include %{l_cppflags} -I${l_x11_incdir} \
-L$QTDIR/lib %{l_ldflags} -L${l_x11_libdir} \
-R$rflags \
-no-thread
# make shared libs, but tools will be built statically later
%{l_make} %{l_mflags -O} \
MAKE="%{l_make} %{l_mflags -O}" \
LD_LIBRARY_PATH=$QTDIR/lib \
sub-src sub-plugins
%if "%{with_threads}" == "yes"
# run configure a second time to get threaded libs as well
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
echo "yes" | ./configure \
%if "%{with_pgsql}" == "yes"
-qt-sql-psql \
%endif
%if "%{with_mysql}" == "yes"
-qt-sql-mysql \
%endif
-platform $oscomp \
-prefix %{l_prefix} \
-docdir %{l_prefix}/share/qt/doc \
-datadir %{l_prefix}/share/qt/data \
-plugindir %{l_prefix}/share/qt/plugins \
-translationdir %{l_prefix}/share/qt/translations \
-sysconfdir %{l_prefix}/etc/qt \
-release -shared -stl -sm -xrender -xft -no-dlopen-opengl \
-qt-zlib -qt-libpng -qt-libjpeg -qt-libmng -qt-gif \
-I$QTDIR/include %{l_cppflags} -I${l_x11_incdir} \
-L$QTDIR/lib %{l_ldflags} -L${l_x11_libdir} \
-R$rflags \
-thread
# make our targets a second time to get threaded libs, too
%{l_make} %{l_mflags -O} \
MAKE="%{l_make} %{l_mflags -O}" \
LD_LIBRARY_PATH=$QTDIR/lib \
sub-src sub-plugins
%endif
# already install our shared libs, and clear out the rest
cp -rf lib dyn
rm -f lib/*
%endif
# start of static lib build
a226 3
%if "%{with_shared}" == "yes"
$RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn \
%endif
d250 1
a250 1
cp -rp mkspecs.fresh $RPM_BUILD_ROOT%{l_prefix}/share/qt/mkspecs
a286 4
%if "%{with_shared}" == "yes"
%{l_shtool} install -c -m 644 \
dyn/lib*.s[ol]* dyn/*.prl dyn/*.pc $RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn/
%endif
d298 1
a298 1
doc/man/man1/*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
d305 1
@
1.122.2.1
log
@bump release numbers for OpenPKG 2.5
@
text
@d36 1
a36 1
Release: 2.5.0
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 2.5.0, X11, xft, mesa, gcc, sed
PreReq: OpenPKG, openpkg >= 2.5.0, X11, xft, mesa
@
1.122.2.2
log
@MFC: remove unused with_shared option (and this way reduce the build-time from 4 runs to just 2 runs) and cleanup the packaging in general, too
@
text
@d38 2
a39 1
# package options
d41 2
d68 11
a78 11
Qt is a GUI (graphical user interface) software toolkit which
simplifies the task of writing and maintaining GUIs, and allows
the developer to create prototypes and feature-rich applications
quickly. Offering C++ library bindings, Qt enables development
in an object-oriented environment and appeals to developers with
portability in mind. Qt's portable C++ library bindings allow
for error-free recompiling on at least the three major platforms
Unix (and Linux), Apple Macintosh, and Microsoft Windows. Its
API architecture is designed to reduce complexity and increase
reliability through a signal and slot mechanism, which is similar to
templates in C++, but with influences from component technology.
d92 1
d139 5
d148 73
d309 3
d335 1
a335 1
cp -rp mkspecs $RPM_BUILD_ROOT%{l_prefix}/share/qt/mkspecs
d372 4
d387 1
a387 1
doc/man/man1/moc.1 doc/man/man1/uic.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
a393 1
'%doc %{l_prefix}/share/qt/doc/html/*' \
@
1.121
log
@Security Bugfix (OpenPKG-SA-2005.014-zlib; CAN-2005-1849)
@
text
@d35 2
a36 2
Version: 3.3.4
Release: 20050728
d111 1
@
1.120
log
@Fix zlib security issue (OpenPKG-SA-2005.013, CAN-2005-2096)
@
text
@d36 1
a36 1
Release: 20050707
@
1.119
log
@rename conflicting identifiers in the global C++ namespace
@
text
@d36 1
a36 1
Release: 20050503
d134 1
a134 1
*-sunos* ) oscomp="solaris-g++" ;;
@
1.119.2.1
log
@bump release numbers for OpenPKG 2.4
@
text
@d36 1
a36 1
Release: 2.4.0
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 2.4.0, X11, xft, mesa, gcc, sed
PreReq: OpenPKG, openpkg >= 2.4.0, X11, xft, mesa
@
1.119.2.2
log
@Fix zlib security issue (OpenPKG-SA-2005.013, CAN-2005-2096)
@
text
@d36 1
a36 1
Release: 2.4.1
@
1.119.2.3
log
@Security Bugfix (OpenPKG-SA-2005.014-zlib; CAN-2005-1849)
@
text
@d36 1
a36 1
Release: 2.4.2
@
1.118
log
@Adjust the copyright declaration in this (RSE's) copy of the OpenPKG
source code now that the fork point for C&W was established (CVS tag
OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is
no longer active (as C&W no longer officially sponsors OpenPKG) and the
new shared copyright from RSE can be taken over by the newly established
juristic entity OpenPKG Foundation e.V. (instead of the non-juristic
entity OpenPKG Project).
@
text
@d36 1
a36 1
Release: 20050323
@
1.117
log
@requires a OpenGL library
@
text
@d2 3
a4 4
## qt.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2005 The OpenPKG Project
## Copyright (c) 2000-2005 Ralf S. Engelschall
## Copyright (c) 2000-2005 Cable & Wireless
d30 1
a30 1
Packager: The OpenPKG Project
@
1.116
log
@upgrading package: qt 3.3.3 -> 3.3.4
@
text
@d37 1
a37 1
Release: 20050201
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 20040130, X11, xft, gcc, sed
PreReq: OpenPKG, openpkg >= 20040130, X11, xft
d168 1
a168 1
-release -shared -stl -sm -xrender -xft \
d201 1
a201 1
-release -shared -stl -sm -xrender -xft \
d240 1
a240 1
-release -static -stl -sm -xrender -xft \
d279 1
a279 1
-release -static -stl -sm -xrender -xft \
@
1.116.2.1
log
@bump release numbers for OpenPKG 2.3
@
text
@d37 1
a37 1
Release: 2.3.0
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 2.3.0, X11, xft, gcc, sed
PreReq: OpenPKG, openpkg >= 2.3.0, X11, xft
@
1.116.2.2
log
@Fix zlib security issue (OpenPKG-SA-2005.013, CAN-2005-2096)
@
text
@d37 1
a37 1
Release: 2.3.1
@
1.116.2.3
log
@Security Bugfix (OpenPKG-SA-2005.014-zlib; CAN-2005-1849)
@
text
@d37 1
a37 1
Release: 2.3.2
@
1.115
log
@Happy New Year 2005
@
text
@d36 2
a37 2
Version: 3.3.3
Release: 20040920
@
1.114
log
@Cleanup: %{l_prefix}/etc/rc -> %{l_rc}
@
text
@d3 3
a5 3
## Copyright (c) 2000-2004 The OpenPKG Project
## Copyright (c) 2000-2004 Ralf S. Engelschall
## Copyright (c) 2000-2004 Cable & Wireless
@
1.114.2.1
log
@bump release numbers for OpenPKG 2.2
@
text
@d37 1
a37 1
Release: 2.2.0
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 2.2.0, X11, xft, gcc, sed
PreReq: OpenPKG, openpkg >= 2.2.0, X11, xft
@
1.113
log
@add more diff(1) context and correct LIBDIRS substitution pattern
@
text
@d37 1
a37 1
Release: 20040820
d145 2
a146 2
l_x11_incdir=`%{l_prefix}/etc/rc --query x11_incdir`
l_x11_libdir=`%{l_prefix}/etc/rc --query x11_libdir`
d304 1
a304 1
l_x11_libdir=`%{l_prefix}/etc/rc --query x11_libdir`
@
1.112
log
@take Ralf's advice of using a more portable cp (without -f argument)
@
text
@d37 1
a37 1
Release: 20040812
d106 1
a106 1
-e 's;[^A-Za-z_]\(LIBDIRS="\);\1%{l_prefix}/lib ;g' \
@
1.111
log
@rethink method of using altered mkspecs while installing the original mkspecs later on (should solve chmod unknown user problems)
@
text
@d93 1
a93 1
cp -rf mkspecs mkspecs.fresh
@
1.110
log
@upgrading package: qt 3.3.2 -> 3.3.3
@
text
@d37 1
a37 1
Release: 20040811
d93 1
a93 1
cp -rp mkspecs mkspecs.fresh
d122 3
a124 3
( echo "The qt package requires about 320 MB of temporary disk space"
echo "and one to five hours (depending on options) to build on a"
echo "800 MHz system. Therefore, please be prepared and be patient."
@
1.109
log
@SA-2004.035-png; CAN-2004-0597, CAN-2004-0598, CAN-2004-0599
@
text
@d36 2
a37 2
Version: 3.3.2
Release: 20040804
a94 1
-e 's;[ \t]*-I/usr/local/include;;g' \
a95 1
-e 's;[ \t]*-L/usr/local/lib;;g' \
d105 5
a109 2
-e 's;INCDIRS=";INCDIRS="%{l_prefix}/include ;g' \
-e 's;LIBDIRS=";LIBDIRS="%{l_prefix}/lib ;g' \
d112 1
a112 2
config.tests/x11/xfreetype.test \
config.tests/x11/xrender.test
@
1.108
log
@added Security Fix (CAN-2002-1363) for png
@
text
@d37 1
a37 1
Release: 20040702
@
1.108.2.1
log
@bump release numbers for OpenPKG 2.1
@
text
@d37 1
a37 1
Release: 2.1.0
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 2.1.0, X11, xft, gcc, sed
PreReq: OpenPKG, openpkg >= 2.1.0, X11, xft
@
1.108.2.2
log
@SA-2004.035-png; CAN-2004-0597, CAN-2004-0598, CAN-2004-0599
@
text
@d37 1
a37 1
Release: 2.1.1
@
1.107
log
@fix problems with *.sl installation construct
@
text
@d37 1
a37 1
Release: 20040615
@
1.106
log
@port to HPUX
@
text
@d374 1
a374 1
dyn/lib*.so* dyn/lib*.sl* dyn/*.prl dyn/*.pc $RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn/
@
1.105
log
@SA-2004.017-png
@
text
@d37 1
a37 1
Release: 20040429
d374 1
a374 1
dyn/lib*.so* dyn/*.prl dyn/*.pc $RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn/
@
1.104
log
@realign patch hunk against new version 3.3.2
@
text
@d37 1
a37 1
Release: 20040428
@
1.103
log
@upgrading package: qt 3.3.1 -> 3.3.2
@
text
@d37 1
a37 1
Release: 20040427
@
1.102
log
@flush pending changes which cleanup this area a little bit more (the old README is still in the CVS Attic in case one needs it again, but most of it seems obsolete anyway because related to Qt 3.0)
@
text
@d36 2
a37 2
Version: 3.3.1
Release: 20040410
@
1.101
log
@upgrading package: qt 3.2.3 -> 3.3.1
@
text
@d37 1
a37 1
Release: 20040303
d43 1
a43 1
# package extra options (additional nonlibrary components)
d84 1
a84 1
url = ftp://ftp.planetmirror.com.au/pub/trolltech/qt/source/
d90 1
a90 1
%patch -p1
@
1.100
log
@Mass Commit:
reduce redundancy within .spec files by referencing
macros defining vendor source versions whenever possible.
This was half-way automated and half-way manually edited.
As a result the PMOD activity in 95% of all cases
just means editing the version in one single place, only.
@
text
@d36 2
a37 2
Version: 3.2.3
Release: 20040207
@
1.100.2.1
log
@bump release numbers for OpenPKG 2.0
@
text
@d37 1
a37 1
Release: 2.0.0
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 2.0.0, X11, xft, gcc, sed
PreReq: OpenPKG, openpkg >= 2.0.0, X11, xft
@
1.100.2.2
log
@SA-2004.017-png
@
text
@d37 1
a37 1
Release: 2.0.1
@
1.100.2.3
log
@SA-2004.030; CAN-2002-1363
@
text
@d37 1
a37 1
Release: 2.0.2
@
1.100.2.4
log
@SA-2004.035-png; CAN-2004-0597, CAN-2004-0598, CAN-2004-0599
@
text
@d37 1
a37 1
Release: 2.0.3
@
1.99
log
@Mass-Commit:
- split "Distribution" header into "Distribution" (old) and "Class"
(new) headers by moving the attached class information.
- embed the vendor version tracking configuration through the
new "%track" section.
- bump up the OpenPKG bootstrap dependency, because the "Class" header
and "%track" section are only supported by our latest bootstrap version.
@
text
@d37 1
a37 1
Release: 20040203
d83 1
a83 1
version = 3.2.3
@
1.98
log
@bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally
@
text
@d32 2
a33 1
Distribution: OpenPKG [PLUS]
d37 1
a37 1
Release: 20031221
d55 2
a56 2
BuildPreReq: OpenPKG, openpkg >= 20030909, X11, xft, gcc, sed
PreReq: OpenPKG, openpkg >= 20030909, X11, xft
d80 7
@
1.97
log
@bless for PLUS class
@
text
@d3 3
a5 3
## Copyright (c) 2000-2003 The OpenPKG Project
## Copyright (c) 2000-2003 Ralf S. Engelschall
## Copyright (c) 2000-2003 Cable & Wireless
@
1.96
log
@add sed dependency, because 'backslash-t' gets otherwise interpreted as a normal 't'
@
text
@d32 1
a32 1
Distribution: OpenPKG [EVAL]
d36 1
a36 1
Release: 20031202
@
1.95
log
@Remove dependency to sed, as issue regarding '\t' is unreproducible and easily solvable anyways
@
text
@d36 1
a36 1
Release: 20031128
d54 1
a54 1
BuildPreReq: OpenPKG, openpkg >= 20030909, X11, xft, gcc
@
1.94
log
@Correct dependencies, because a library's runtime requirements are the same as its buildtime requirements
@
text
@d36 1
a36 1
Release: 20031120
d54 1
a54 1
BuildPreReq: OpenPKG, openpkg >= 20030909, X11, xft, gcc, sed
@
1.93
log
@Replace explicit xrender requirement with implicit one
@
text
@d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 20030909, X11, gcc, sed, xft
PreReq: OpenPKG, openpkg >= 20030909, X11
@
1.92
log
@Add support for Xft and Xrender X11 library extensions
@
text
@d36 1
a36 1
Release: 20031119
d54 1
a54 1
BuildPreReq: OpenPKG, openpkg >= 20030909, X11, gcc, sed, xrender, xft
@
1.91
log
@upgrading package: qt 3.2.2 -> 3.2.3
@
text
@d36 1
a36 1
Release: 20031115
d49 1
d54 2
a55 2
BuildPreReq: OpenPKG, openpkg >= 20030909, X11, freetype, gcc, sed
PreReq: OpenPKG, openpkg >= 20030909, X11, freetype
d82 1
d97 9
d160 1
a160 1
-release -shared -stl -sm \
d193 1
a193 1
-release -shared -stl -sm \
d232 1
a232 1
-release -static -stl -sm \
d271 1
a271 1
-release -static -stl -sm \
@
1.90
log
@adjust for new freetype filesystem layout
@
text
@d35 2
a36 2
Version: 3.2.2
Release: 20031107
@
1.89
log
@upgrading package: qt 3.2.1 -> 3.2.2
@
text
@d36 1
a36 1
Release: 20031016
d151 1
a151 1
-I$QTDIR/include %{l_cppflags freetype2} -I${l_x11_incdir} \
d184 1
a184 1
-I$QTDIR/include %{l_cppflags freetype2} -I${l_x11_incdir} \
d223 1
a223 1
-I$QTDIR/include %{l_cppflags freetype2} -I${l_x11_incdir} \
d262 1
a262 1
-I$QTDIR/include %{l_cppflags freetype2} -I${l_x11_incdir} \
@
1.88
log
@convert to new %{l_platform} world order
@
text
@d35 2
a36 2
Version: 3.2.1
Release: 20030918
d48 1
a48 1
Source0: ftp://ftp.planetmirror.com.au/pub/trolltech/qt/source/qt-x11-free-%{version}.tar.bz2
@
1.87
log
@adjust for new %{l_platform} arrangement
@
text
@d36 1
a36 1
Release: 20030915
d53 2
a54 2
BuildPreReq: OpenPKG, openpkg >= 20030103, X11, freetype, gcc, sed
PreReq: OpenPKG, openpkg >= 20030103, X11, freetype
d117 1
a117 1
* ) echo "platform %{l_target} not supported" 2>&1; exit 1 ;;
@
1.86
log
@workaround for making again 100% speclint clean
@
text
@d36 1
a36 1
Release: 20030912
d113 1
a113 1
case "%{l_target}" in
d116 1
a116 1
*-solaris* ) oscomp="solaris-g++" ;;
@
1.85
log
@Merge pc file substitutions with install stage, remove unnecessary file moves, and remove installation to qtdyn directory to install section
@
text
@d36 1
a36 1
Release: 20030910
d307 1
d309 1
d312 1
a313 1
$RPM_BUILD_ROOT%{l_prefix}/bin/
@
1.84
log
@Patch pc files more and require sed to match tabs correctly
@
text
@d36 1
a36 1
Release: 20030908
d197 1
a197 4
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn
%{l_tar} cf - lib/*.so* lib/*.prl lib/*.pc | %{l_tar} xf - \
-C $RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn/
a240 3
# generate the multithreaded library definitions also
mv lib/qt.pc .
a278 15
# patch the badly generated pkg-config (.pc) files
mv qt.pc lib
%{l_shtool} subst \
-e "s;-l/.*\.pc ;;g" \
-e "s;-L[^ \t]*[ \t];;g" \
-e "s;Libs:;Libs: %{l_ldflags} -L${l_x11_libdir};g" \
-e "s;\t; ;g" \
-e "s; \+; ;g" \
-e "s; *$;;g" \
lib/qt.pc \
lib/qt-mt.pc
%{l_shtool} subst \
-e "s;\(Libs.*$\);\1 -pthread;g" \
lib/qt-mt.pc
d284 3
d290 3
d328 1
a328 1
lib/*.pc $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
d330 25
a354 1
lib/*.a lib/*.prl $RPM_BUILD_ROOT%{l_prefix}/lib/
@
1.83
log
@Fix more problems with the optional shared library build
@
text
@d36 1
a36 1
Release: 20030906
d53 1
a53 1
BuildPreReq: OpenPKG, openpkg >= 20030103, X11, freetype, gcc
d286 1
a286 1
# patch and prepare pkg-config (.pc) files
d289 10
a298 2
-e 's;[ \t]*$;;g' \
-e 's;\(Libs.*$\);\1 -pthread;g' \
@
1.82
log
@Organize options, link again to freetype, avoid anything in /usr/local by hacking the qmake files in mkspecs, consolidate posix thread test substitutions, correct warning text again, remove bashisms, add missing local x11 paths, remove unused build flags, fix build problems relating to wrong library path ordering
@
text
@d36 1
a36 1
Release: 20030904
d149 1
a149 1
-release -static -shared -stl -sm \
a161 3
# keep only static library pkg-config build definitions
rm lib/qt.pc
d182 1
a182 1
-release -static -shared -stl -sm \
d194 1
d196 6
a201 3
# keep only static library pkg-config build definitions
rm lib/qt-mt.pc
%endif
a238 1
LD_LIBRARY_PATH=$QTDIR/lib \
a281 1
LD_LIBRARY_PATH=$QTDIR/lib \
a299 3
%if "%{with_shared}" == "yes"
$RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn \
%endif
a337 4
%if "%{with_shared}" == "yes"
%{l_tar} cf - lib/*.so* lib/*.prl | %{l_tar} xf - \
-C $RPM_BUILD_ROOT%{l_prefix}/lib/qtdyn/
%endif
@
1.81
log
@Correct RPATH to installed dynamic libraries
@
text
@d36 1
a36 1
Release: 20030901
d38 5
a42 1
# package options
a45 2
%option with_shared no
%option with_threads yes
d53 2
a54 2
BuildPreReq: OpenPKG, openpkg >= 20030103, X11, gcc
PreReq: OpenPKG, openpkg >= 20030103, X11
d82 19
d104 1
a104 1
echo "and two to four hours (depending on options) to build on a"
d110 3
a112 3
export HOME=`pwd`
export QTDIR=`pwd`
d114 3
a116 10
*-freebsd* ) oscomp="freebsd-g++"
%{l_shtool} subst \
-e 's/defined(_POSIX_THREAD_SAFE_FUNCTIONS)/_POSIX_THREAD_SAFE_FUNCTIONS - 0 >0/g' \
src/dialogs/qfiledialog.cpp src/kernel/qfont_x11.cpp \
src/tools/qdatetime.cpp src/tools/qdir_unix.cpp
;;
*-linux* ) oscomp="linux-g++"
;;
*-solaris* ) oscomp="solaris-g++"
;;
d125 4
a134 2
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
d149 1
a149 1
-release -static -shared -R$rflags -stl -sm \
d151 3
a170 2
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
d185 1
a185 1
-release -static -shared -R$rflags -stl -sm \
d187 3
a208 2
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
d225 2
a251 2
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
d268 2
d325 1
a325 1
cp -rp mkspecs $RPM_BUILD_ROOT%{l_prefix}/share/qt/
@
1.80
log
@Fix static and shared library building after last hammer job
@
text
@d107 1
a107 1
rflags=`echo $LDFLAGS | %{l_shtool} subst \
@
1.79
log
@Fully butcher this qt package to be even more flexible at no extra cost. Add
back advanced X11 options (now possible to detect at link time because of
pkg-config file), configure for tools, dynamic library support, and pthread
support conditionally (see options), make a separate directory for dynamic
libraries and add a build search path to it, and build plugins to get
features like the wizard in the tools. I'm not sure if we need to store just
lib/*.prl files, or if somewhere libtool needs to find the lib/*.la files
also?
@
text
@d36 1
a36 1
Release: 20030828
d82 3
a84 3
( echo "This package requires about 1.3 GB of temporary disk space and"
echo "about three hours of time (with gcc) to build on a 800Mhz system."
echo "So be prepared and patient, please... ;-)"
d111 1
a132 1
%if "%{with_shared}" == "yes"
d134 71
a204 1
%else
a205 1
%endif
a210 1
LD_LIBRARY_PATH=$QTDIR/lib \
d212 1
a212 1
symlinks src-qmake src-moc sub-src sub-plugins sub-tools
d214 1
a214 1
symlinks src-qmake src-moc sub-src sub-plugins
a247 3
%if "%{with_shared}" == "yes"
-release -static -shared -R$rflags -stl -sm \
%else
a248 1
%endif
a254 1
LD_LIBRARY_PATH=$QTDIR/lib \
d256 1
a256 1
symlinks src-qmake src-moc sub-src sub-plugins sub-tools
d258 1
a258 1
symlinks src-qmake src-moc sub-src sub-plugins
@
1.78
log
@Whoops, the mkdir bin was needed after all
@
text
@d36 1
a36 1
Release: 20030827
d41 3
d87 3
d91 1
d106 5
d129 6
d136 1
a137 2
-no-nis -no-cups -no-nas-sound -no-xinerama \
-no-xrender -no-xft -no-tablet -no-xkb \
a139 2
# set $HOME to a writable directory for qsettings
HOME=$PWD
d142 12
a153 1
symlinks src-qmake src-moc sub-src sub-tools
d155 1
d177 6
d184 1
a185 2
-no-nis -no-cups -no-nas-sound -no-xinerama \
-no-xrender -no-xft -no-tablet -no-xkb \
d191 12
a202 1
symlinks src-qmake src-moc sub-src sub-tools
d210 1
d218 10
a228 1
$RPM_BUILD_ROOT%{l_prefix}/include/qt/private \
d230 1
a230 5
$RPM_BUILD_ROOT%{l_prefix}/man/man3 \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/doc/html \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/templates \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/phrasebooks \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/images
d235 1
d238 1
d256 8
a263 1
doc/html/* $RPM_BUILD_ROOT%{l_prefix}/share/qt/doc/html/
d270 1
a270 4
%{l_shtool} install -c -m 644 \
lib/*.a lib/*.prl $RPM_BUILD_ROOT%{l_prefix}/lib/
%{l_shtool} install -c -m 644 \
lib/*.pc $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
d275 2
@
1.77
log
@Try using a FTP mirror site to overcome problems with the disabled PORT/EPRT
on main FTP server
@
text
@d173 1
@
1.76
log
@upgrading package: qt 3.2.0 -> 3.2.1
@
text
@d43 1
a43 1
Source0: ftp://ftp.trolltech.com/pub/qt/source/qt-x11-free-%{version}.tar.bz2
@
1.75
log
@Do not claim pkgconfig as own directory
@
text
@d35 2
a36 2
Version: 3.2.0
Release: 20030820
a172 1
$RPM_BUILD_ROOT%{l_prefix}/bin \
@
1.74
log
@Review and apply changes to correctly compile and link with Qt headers and
libraries #219
@
text
@d36 1
a36 1
Release: 20030813
d199 1
d220 5
a224 1
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
@
1.73
log
@Enable third party apps to detect their correct build parameters according to what libqt was build with ticket #219
@
text
@d36 1
a36 1
Release: 20030806
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 20030103, X11, pkgconfig, gcc
PreReq: OpenPKG, openpkg >= 20030103, X11, pkgconfig
d129 3
d161 7
d214 1
a214 1
lib/qt.pc $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/
@
1.72
log
@Fix dependencies and make sql options conditional
@
text
@d36 1
a36 1
Release: 20030729
d48 2
a49 2
BuildPreReq: OpenPKG, openpkg >= 20030103, X11, gcc
PreReq: OpenPKG, openpkg >= 20030103, X11
d100 6
d117 2
a118 2
-release -static -stl -sm -qt-zlib \
-qt-libpng -qt-libjpeg -qt-libmng -qt-gif \
d130 6
d147 2
a148 2
-release -static -stl -sm -qt-zlib \
-qt-libpng -qt-libjpeg -qt-libmng -qt-gif \
d164 1
a164 1
$RPM_BUILD_ROOT%{l_prefix}/lib \
d203 2
@
1.71
log
@Remove obsolete logic and add sql drivers
@
text
@d38 4
d50 8
d101 6
a112 1
-qt-sql-psql -qt-sql-odbc -qt-sql-mysql \
d125 6
a136 1
-qt-sql-psql -qt-sql-odbc -qt-sql-mysql \
@
1.70
log
@upgrading package: qt 3.1.2 -> 3.2.0
@
text
@d36 1
a36 1
Release: 20030723
a64 7
# tidy up dirty vendor tarball
( cd include
for i in qmotifwidget.h qmotif.h qxtwidget.h qmotifdialog.h; do
rm -f $i
done
) || exit $?
d95 1
d114 1
@
1.69
log
@achieve robust subshell handling by consistently using '(...) || exit 0' constructs to make sure the scripts fail if a subshell fails
@
text
@d35 1
a35 1
Version: 3.1.2
@
1.68
log
@cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website
@
text
@d36 1
a36 1
Release: 20030509
d70 1
a70 1
)
@
1.67
log
@Announce how long this pig actually takes to build with gcc
@
text
@a2 1
## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
d5 1
@
1.66
log
@Use bz2 source instead, and explicitly configure all options to reduce build inconsistencies in dependent packages
@
text
@d36 1
a36 1
Release: 20030508
d74 3
a76 2
( echo "This package requires about 1.3 GB of free temporary"
echo "disk space for building. So be prepared, please."
@
1.65
log
@This qt has no qt-config program, so remove options causing mayhem to dependent packages
@
text
@d36 1
a36 1
Release: 20030507
d39 1
a39 1
Source0: ftp://ftp.trolltech.com/pub/qt/source/qt-x11-free-%{version}.tar.gz
d95 1
d99 5
a103 2
-static -qt-gif -qt-zlib -platform $oscomp \
-stl -qt-libpng -qt-libjpeg -qt-libmng -no-xft
d111 1
a111 1
# run configure a second time to get threaded libs, too
d113 1
d117 5
a121 2
-static -qt-gif -qt-zlib -platform $oscomp \
-thread -stl -qt-libpng -qt-libjpeg -qt-libmng -no-xft
@
1.64
log
@Make only relevant items, and skip examples and tutorials
@
text
@d36 1
a36 4
Release: 20030425
# package options
%option with_xft no
d99 1
a99 6
-stl -qt-libpng -qt-libjpeg -qt-libmng \
%if "%{with_xft}" == "yes"
-xft
%else
-no-xft
%endif
d113 1
a113 6
-thread -stl -qt-libpng -qt-libjpeg -qt-libmng \
%if "%{with_xft}" == "yes"
-xft
%else
-no-xft
%endif
@
1.63
log
@Speclint police, add trailing slash to directory path
@
text
@d36 1
a36 1
Release: 20030408
d112 2
a113 1
MAKE="%{l_make} %{l_mflags -O}"
@
1.62
log
@fixed build
@
text
@d36 1
a36 1
Release: 20030306
d85 1
a85 1
-e 's/defined(_POSIX_THREAD_SAFE_FUNCTIONS)/_POSIX_THREAD_SAFE_FUNCTIONS - 0 > 0/g' \
d176 1
a176 1
lib/*.a lib/*.prl $RPM_BUILD_ROOT%{l_prefix}/lib
@
1.61
log
@And I though Mozilla is the beast.... ok, at least output a banner until we have a generic diskspace determination facility for packages
@
text
@d36 1
a36 1
Release: 20030305
d68 7
d77 1
a77 1
( echo "This package requires about 1.1 GB of free temporary"
@
1.60
log
@upgrading package: qt 3.1.1 -> 3.1.2
@
text
@d69 5
@
1.59
log
@Make even fatter (but more flexible) by installing plain libraries as well as multithreaded ones
@
text
@d35 2
a36 2
Version: 3.1.1
Release: 20030226
@
1.58
log
@drop README file, clean up packaging a bit
@
text
@d36 1
a36 1
Release: 20030218
d90 1
a90 1
-thread -stl -qt-libpng -qt-libjpeg -qt-libmng \
d100 17
d135 1
a135 1
# copy binaries, headers, and then libraries to their target.
@
1.57
log
@Fix for non POSIX conformant FreeBSD.
@
text
@d36 1
a36 1
Release: 20030117
d128 6
d146 6
a151 14
( cd lib && tar cf - * ) |\
( cd $RPM_BUILD_ROOT%{l_prefix}/lib && tar xf - )
( cd doc/man/man3
for man in *.3qt; do
%{l_shtool} subst -e 's;\.3qt;.3;' $man
mv $man `echo $man | sed -e 's;\.3qt$;.3;'`
done
%{l_shtool} install -c -m 644 \
*.3 $RPM_BUILD_ROOT%{l_prefix}/man/man3/
cd ../man1
%{l_shtool} install -c -m 644 \
*.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
)
@
1.56
log
@upgrade to new %option world order
@
text
@d36 1
a36 1
Release: 20030103
d71 10
a80 3
*-freebsd* ) oscomp="freebsd-g++" ;;
*-linux* ) oscomp="linux-g++" ;;
*-solaris* ) oscomp="solaris-g++" ;;
@
1.55
log
@remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers
@
text
@a25 3
# package options
%option with_xft no
d36 4
a39 1
Release: 20021230
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 20021230, X11, gcc
PreReq: OpenPKG, openpkg >= 20021230, X11
@
1.54
log
@cosmetics: strip trailing whitespaces
@
text
@a64 2
%options
@
1.53
log
@bump of Copyright messages for forthcoming years 2003
@
text
@d135 1
a135 1
@
1.52
log
@switch to %option(s); no need to ensure optional things
@
text
@d3 3
a5 3
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project
## Copyright (c) 2000-2002 Ralf S. Engelschall
@
1.51
log
@upgrading package: qt 3.1.0 -> 3.1.1, and change URL from mirror to native one
@
text
@d27 1
a27 3
%ifndef with_xft
%define with_xft no
%endif
d39 1
a39 1
Release: 20021217
d47 2
a48 2
BuildPreReq: OpenPKG, openpkg >= 20020206, X11, gcc
PreReq: OpenPKG, openpkg >= 20020206, X11
d65 1
a65 2
Options:
--define 'with_xft %{with_xft}'
a78 16
# ensure that libXft exists
%if "%{with_xft}" == "yes"
found_xft=""
for ext in a so sl; do
if [ -f "`%{l_prefix}/etc/rc --query x11_libdir`/libXft.$ext" ]; then
found_xft="da"
break;
fi
done
if [ ".$found_xft" = . ]; then
echo "ERROR! Library libXft could not be found," 2>&1;
echo "please consider building without with_xft" 2>&1;
exit 1;
fi
%endif
a96 1
# FIXME: "-Wl,-rpath,/tmp/qt-x11-free-3.0.4/lib"
@
1.50
log
@fix indentation
@
text
@d40 2
a41 2
Version: 3.1.0
Release: 20021125
d44 1
a44 1
Source0: ftp://ftp.silug.org/pub/qt/source/qt-x11-free-%{version}.tar.gz
@
1.49
log
@Workaround for existing Qt libraries problem.
@
text
@d27 2
a28 2
%ifndef with_xft
%define with_xft no
@
1.48
log
@Added stock PNG icons.
@
text
@d41 1
a41 1
Release: 20021118
a103 2
-L`%{l_prefix}/etc/rc --query x11_libdir` \
-R`%{l_prefix}/etc/rc --query x11_libdir` \
@
1.47
log
@Integrate Trolltech's qt_windows fix, add new phrasebooks, and sort config arguments.
@
text
@d41 1
a41 1
Release: 20021114
d132 2
a133 1
$RPM_BUILD_ROOT%{l_prefix}/share/qt/phrasebooks
d155 2
@
1.46
log
@Cleanup config, use FTP mirror, and finally upgrade package Qt from qt-3.0.6-20021106 to qt-3.1.0-20021113.
@
text
@d41 1
a41 1
Release: 20021113
d100 1
a100 1
-prefix %{l_prefix} -release \
d102 5
a106 4
-static -qt-gif -qt-zlib \
-platform $oscomp -thread -stl \
-qt-libpng -qt-libjpeg -qt-libmng \
-no-nas-sound -no-tablet -no-xkb \
d108 1
a108 1
-xft \
d110 1
a110 1
-no-xft \
a111 3
-sm -xinerama -xrender \
-L`%{l_prefix}/etc/rc --query x11_libdir` \
-R`%{l_prefix}/etc/rc --query x11_libdir`
d131 2
a132 1
$RPM_BUILD_ROOT%{l_prefix}/share/qt/templates
a143 2
# qt_windows.h is the only header not copied in the original distribution.
rm -f include/qt_windows.h
d152 3
@
1.45
log
@Replace old broken freetype option with new xft one.
@
text
@d40 2
a41 2
Version: 3.0.6
Release: 20021106
d44 1
a44 1
Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-free-%{version}.tar.gz
a101 1
-release -static -qt-gif -qt-zlib \
@
1.44
log
@Remove freetype option.
@
text
@d26 5
d41 1
a41 1
Release: 20021105
d67 3
d81 18
d106 6
a111 1
-no-nas-sound -no-tablet -no-xkb -no-xft \
@
1.43
log
@upgrading package: qt 3.0.5 -> 3.0.6
@
text
@a25 5
# package options
%ifndef with_freetype
%define with_freetype no
%endif
d36 1
a36 1
Release: 20021023
a45 4
%if "%{with_freetype}" == "yes"
BuildPreReq: freetype
PreReq: freetype
%endif
a61 3
Options:
--define 'with_freetype %{with_freetype}'
d80 1
a80 6
-no-nas-sound -no-tablet -no-xkb \
%if "%{with_freetype}" == "yes"
-xft \
%else
-no-xft \
%endif
@
1.42
log
@Added "with_freetype" option.
@
text
@d40 2
a41 2
Version: 3.0.5
Release: 20021022
@
1.41
log
@Fixed makefile copying and added mkspecs directory for portable qmake building.
@
text
@d26 5
d51 4
d71 3
d93 6
a98 1
-no-xft -sm -xinerama -xrender \
@
1.40
log
@Clean up the /u/ms relocation.
@
text
@d36 1
a36 1
Release: 20021014
d44 1
a44 1
BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, X11
d100 1
d111 3
@
1.39
log
@Resolved a FIXME, fixed a datadir problem, and added manpage substitution logic.
@
text
@d85 2
a86 2
# Save and resotore $HOME from its default of l_prefix
SAVE_HOME=$HOME;HOME=$PWD
a89 1
HOME=$SAVE_HOME;unset SAVE_HOME
@
1.38
log
@Fix building with no plugins.
@
text
@d36 1
a36 1
Release: 20021011
a75 1
-datadir %{l_prefix}/share/qt/data \
d84 3
d90 1
a91 1
# FIXME: "QSettings: error creating /cw/.qt"
d103 1
a103 2
$RPM_BUILD_ROOT%{l_prefix}/share/qt/templates \
$RPM_BUILD_ROOT%{l_prefix}/share/qt/data
d126 1
@
1.37
log
@Precommittal before radical changes to support upcoming OSSP development.
@
text
@a75 1
-plugindir %{l_prefix}/share/qt/plugins \
a101 1
$RPM_BUILD_ROOT%{l_prefix}/share/qt/plugins \
@
1.36
log
@Removed FIXME after learning header include logic scheme.
@
text
@d36 1
a36 1
Release: 20021004
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, X11, freetype
PreReq: OpenPKG, openpkg >= 20020206, X11, freetype
d75 4
d83 1
a83 1
-xft -sm -xinerama -xrender \
a90 2
# FIXME: "libpng warning: Application was compiled with png.h from libpng-1.2.3"
# "libpng warning: Application is running with png.c from libpng-1.0.12"
d100 5
a104 1
$RPM_BUILD_ROOT%{l_prefix}/man/man3
d119 4
d131 3
@
1.35
log
@Put X11 paths back in to guarantee cross-platform link consistency.
@
text
@d92 2
d99 2
d106 3
a108 3
# FIXME: The touch should be removed, but for now it remains
# due to a broken symbolic link in the Qt distribution
touch include/qt_windows.h
@
1.34
log
@Fixed rebuilding redundant path problem.
@
text
@d36 1
a36 1
Release: 20021003
d79 3
a81 1
-xft -sm -xinerama -xrender
@
1.33
log
@Remove extra uneeded crap.
@
text
@d36 1
a36 1
Release: 20020930
d79 1
a79 6
-xft -sm -xinerama -xrender \
-I%{l_prefix}/include \
-L%{l_prefix}/lib \
-R%{l_prefix}/lib \
-L`%{l_prefix}/etc/rc --query x11_libdir` \
-R`%{l_prefix}/etc/rc --query x11_libdir`
@
1.32
log
@Synchronize qt spec file with its vcheck.
@
text
@d36 1
a36 1
Release: 20020927
d66 1
a66 4
QTDIR=`pwd`
PATH="$QTDIR/bin:$PATH"
LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
export QTDIR PATH LD_LIBRARY_PATH
@
1.31
log
@upgrading package: qt 3.0.4 -> 3.0.5
@
text
@d36 1
a36 1
Release: 20020926
@
1.30
log
@downgrade, makes trouble
@
text
@d35 2
a36 2
Version: 3.0.4
Release: 20020826
@
1.29
log
@Woohhooo: apply the new package classification system.
(CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of
them follows on the website soon.
@
text
@d32 1
a32 1
Distribution: OpenPKG [PLUS]
d36 1
a36 1
Release: 20020625
@
1.28
log
@Change 'X11' category name to 'XWindow'.
@
text
@d32 1
a32 1
Distribution: OpenPKG [REL]
@
1.27
log
@Since we install qmake in %install, then we should explicitly build the target
in %build.
@
text
@d33 1
a33 1
Group: X11
@
1.26
log
@keep the empty qt_windows.h in the installation, because other headers actually #include it
@
text
@d90 1
a90 1
symlinks src-moc sub-src sub-tools
d108 2
a109 2
# FIXME: The touch should be removed, but for now they are
# here due to a broken symbolic link in the Qt distribution
@
1.25
log
@Add the kludge back in as a workaround for a broken symbolic link in the Qt
distribution.
@
text
@d36 1
a36 1
Release: 20020623
d108 1
a108 1
# FIXME: The touch and rm should be removed, but for now they are
a112 1
rm -f $RPM_BUILD_ROOT%{l_prefix}/include/qt/qt_windows.h
@
1.24
log
@cleanup, add new FIXMEs
@
text
@d108 3
a113 1
touch $RPM_BUILD_ROOT%{l_prefix}/include/qt/qt_windows.h
@
1.23
log
@Better package, no confusing options.
@
text
@d36 1
a36 1
Release: 20020613
d71 4
a74 9
*-freebsd* )
oscomp="freebsd-g++"
;;
*-linux* )
oscomp="linux-g++"
;;
*-solaris* )
oscomp="solaris-g++"
;;
a87 1
# FIXME Remove false path -Wl,-rpath,/tmp/qt-x11-free-3.0.4/lib with sed
d91 4
a97 2
# FIXME %{l_make} %{l_mflags} install prefix=$RPM_BUILD_ROOT%{l_prefix}
# FIXME Is the mkdir /include/qt made redundant by the next line?
a100 1
$RPM_BUILD_ROOT%{l_prefix}/include/qt \
a107 2
# FIXME Extreme hack
touch include/qt_windows.h
d109 3
a111 4
include/* $RPM_BUILD_ROOT%{l_prefix}/include/qt/
# FIXME This is a kludge, too
rm $RPM_BUILD_ROOT%{l_prefix}/include/qt/qt_windows.h
# FIXME This line should be integrated into the last shtool install
d113 1
a113 1
include/private/* $RPM_BUILD_ROOT%{l_prefix}/include/qt/private/
@
1.22
log
@A first cut at a release grade qt package. This should build on all platforms
and link to applications properly at runtime.
@
text
@a25 8
# package option, other switch denotes almost all GUI features
%ifndef with_freetype
%define with_freetype no
%endif
%ifndef with_other
%define with_other no
%endif
d36 1
a36 1
Release: 20020611
d44 2
a45 6
BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, X11
PreReq: OpenPKG, openpkg >= 20020206, X11
%if "%{with_freetype}" == "yes"
BuildPreReq: freetype
PreReq: freetype
%endif
a48 1
# FIXME Do we need PreReq to match BuildPreReq?
d66 4
a69 2
QTDIR=`pwd`; export QTDIR
PATH="%{l_prefix}/bin:$PATH"; export PATH
d87 1
a87 10
%if "%{with_freetype}" == "yes"
-xft \
%else
-no-xft \
%endif
%if "%{with_other}" == "yes"
-sm -xinerama -xrender \
%else
-no-sm -no-xinerama -no-xrender \
%endif
d90 4
a93 1
-R%{l_prefix}/lib
d100 2
d109 3
a111 1
bin/designer bin/moc bin/uic \
@
1.21
log
@Revamp configuration and add freetype and other options.
@
text
@d26 1
a26 1
# package option, soup denotes almost all GUI features
d40 1
a40 1
Distribution: OpenPKG [EXP]
d44 1
a44 1
Release: 20020606
d52 2
a53 2
BuildPreReq: OpenPKG, openpkg >= 20020206, gcc, X11, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 20020206, X11, jpeg, png, zlib
d64 1
a64 1
the task of writing and maintaining GUIs. Qt enables the developer to
d67 2
a68 2
environment, and appeals to developers with portability in mind. Qt's
identical C++ library bindings allow for error-free recompiling on at
d93 4
a96 3
-platform $oscomp -prefix %{l_prefix} \
-release -shared -thread -stl -qt-gif \
-system-libpng -system-zlib -system-libjpeg \
@
1.20
log
@strip trailing whitespaces
@
text
@d26 8
d44 1
a44 1
Release: 20020529
d52 6
a57 2
BuildPreReq: OpenPKG, openpkg >= 20020206, X11, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 20020206, X11
d61 1
d63 11
a73 10
Qt is a GUI software toolkit. Qt simplifies the task of writing
and maintaining GUI (graphical user interface) applications. Qt is
written in C++ and is fully object-oriented. It has everything you
need to create professional GUI applications. And it enables you to
create them quickly. Qt is a multi-platform toolkit. When developing
software with Qt, you can run it on the X Window System (Unix/X11)
or Microsoft Windows NT and Windows 95/98. Simply recompile your
source code on the platform you want. Qt cuts down the complexity in
implementing large and complex systems. Its ingenious signal-slot
technology enables true component programming.
d81 11
d93 14
a106 3
-release -shared \
-sm -no-nas-sound -no-thread -qt-gif -system-libjpeg \
-system-libpng -system-zlib \
d109 1
a109 5
-R%{l_prefix}/lib \
-I`%{l_prefix}/etc/rc --query x11_incdir` \
-L`%{l_prefix}/etc/rc --query x11_libdir` \
-R`%{l_prefix}/etc/rc --query x11_libdir` \
-ljpeg -lpng -lz
@
1.19
log
@Qt builds again and version 3.0.4 even works, too.
@
text
@d80 1
a80 1
symlinks src-moc sub-src sub-tools
@
1.18
log
@upgrade to qt 3.0.3
@
text
@d32 1
a32 1
Distribution: OpenPKG [BRK]
d35 2
a36 2
Version: 3.0.3
Release: 20020401
d71 3
a76 3
-I%{l_prefix}/include \
-L%{l_prefix}/lib \
-R%{l_prefix}/lib \
d88 1
d93 2
d97 5
@
1.17
log
@Not working yet, so mark as broken.
@
text
@d35 2
a36 2
Version: 3.0.2
Release: 20020227
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 20020206, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 20020206
d70 8
a77 2
-system-libpng -system-zlib -I%{l_prefix}/include \
-L%{l_prefix}/lib -R%{l_prefix}/lib -ljpeg -lpng -lz
@
1.16
log
@Corrected name and upgraded to qt-3.0.2-20020227.
@
text
@d23 2
a24 2
## SUCH DAMAGE.
##
d32 1
a32 1
Distribution: OpenPKG [EXP]
@
1.15
log
@Upgraded to qt-x11-free-3.0.2-20020226. Note the name change.
@
text
@d27 1
a27 1
Name: qt-x11-free
d36 1
a36 1
Release: 20020226
d62 1
a62 1
%setup -q
@
1.14
log
@bump release
@
text
@d27 1
a27 1
Name: qt
d29 2
a30 2
URL: http://www.trolltech.com/products/qt/
Vendor: TrollTech
d35 2
a36 2
Version: 2.3.1
Release: 20020206
d39 1
a39 1
Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-%{version}.tar.gz
d69 3
a71 3
-sm -no-opengl -no-nas-sound -no-thread \
-gif -system-jpeg -system-libpng -system-zlib -no-mng \
-I%{l_prefix}/include -L%{l_prefix}/lib -R%{l_prefix}/lib -ljpeg -lpng -lz
@
1.13
log
@bump copyright years
@
text
@d36 1
a36 1
Release: 20011201
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 20011227, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 20011227
@
1.12
log
@fix dependencies in -CURRENT now that we have the new scheme
@
text
@d3 3
a5 3
## Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2001 The OpenPKG Project
## Copyright (c) 2000-2001 Ralf S. Engelschall
@
1.11
log
@remove trailing zero to conform with new scheme
@
text
@d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 20011126.0, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 20011126.0
@
1.10
log
@adjust distribution and release
@
text
@d36 1
a36 1
Release: 20011201.0
@
1.9
log
@Bump releases.
@
text
@d36 1
a36 1
Release: 20011126.0
@
1.8
log
@add OpenPKG to copyright lines
@
text
@d36 1
a36 1
Release: 20011122.0
d44 2
a45 2
BuildPreReq: OpenPKG, openpkg >= 0.9-20011025.0, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 0.9-20011025.0
@
1.7
log
@Hmmmm.... goodbye good thought out but in practice unusable %{l_branch}
variable. We have to use a static value here (implies manual editing again),
because else source and binary RPM filenames won't match if binary is built
one or more days after the source was rolled.
@
text
@d4 1
d36 1
a36 1
Release: 20011121.0
@
1.6
log
@bump to the correct 0.9-20011025.0
@
text
@d35 1
a35 1
Release: %{l_branch}.0
@
1.5
log
@upgrade dependencies because of l_branch usage
@
text
@d43 2
a44 2
BuildPreReq: OpenPKG, openpkg >= 20011023.0, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 20011023.0
@
1.4
log
@Switch to using "YYYYMMDD.X" as Release for -CURRENT packages.
@
text
@d43 2
a44 2
BuildPreReq: OpenPKG, openpkg >= 0.9-33, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 0.9-33
@
1.3
log
@Cleanup:
1. Move "Group:" below "Distribution:"
2. Use "The OpenPKG Project" for "Packager:"
3. Add type tag to "Distribution:" (default is now EXP)
@
text
@d35 1
a35 1
Release: 2
@
1.2
log
@Force all packages to require openpkg-0.9-33
@
text
@a27 1
Group: X11
d30 3
a32 2
Packager: rse@@openpkg.org
Distribution: OpenPKG
@
1.1
log
@Initial revision
@
text
@d35 1
a35 1
Release: 1
d43 2
a44 2
BuildPreReq: OpenPKG, openpkg >= 0.9-30, jpeg, png, zlib
PreReq: OpenPKG, openpkg >= 0.9-30
@
1.1.1.1
log
@Import OpenPKG sources into CVS repository
@
text
@@