Removed submodule Qt3 from TDE as discusses in TDE/tqt3#16

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/92/head
Michele Calgaro 5 years ago
parent f6042194a1
commit 400a76c41c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,277 +0,0 @@
Qt for Debian README
--------------------
1. Preface
This README is intended to give developers and users exact information
about how the qt-x11-free package provided by TrollTech AS has been packaged
for Debian in case you either want to faciliate it for development
of applications and libraries or plugins using the Qt class library. With
qt-x11-3.1.1, the Debian packages have been massively restructured to get
the most out of theoriginal Qt package and spit the contents up into
several packages so that they make the most sensefor several groups of
users; developers, application users, translators of Qt-based
applications and Debian packagers who are packaging applications developed
with Qt.2.
2. General Overview
As Qt is a huge package that contains a complete environment for
developers, it needs to be split up into several packages that make it
easier for everyone else to handle it and not to require
unnecessary disk space for end-users. Additionally, Qt can be configured
in several ways - and therefore also used in several ways. Qt development
usually requires the environment variable QTDIR. As Debian is placing
libraries and header files in a quite specific filesystem order, this
usually breaks setting a single environment variable to meet the
requirements of packages. Therefore, symlinks are used to set up the system
to meet both, the Debian filesystem standard and the QTDIR variable. All of
Qt (so the QTDIR path) is available in /usr/share/qt3. If you need to set
QTDIR, do export QTDIR=/usr/share/qt3
As far as the common build configuration goes, we note explicitely that the
Debian package of Qt will in very rare cases break the compilation (most
likely the linking) of applications on Debian which use Qt, in particular
utilizing styles in an incorrect way by deriving from one of the styles
that ship with Qt. In case you are a Debian packager and encounter
problems, contact Debian Qt/KDE Maintainers (debian-qt-kde@lists.debian.org).
We will tell you why things don't work and what you should communicate on
with the programmers of your application that you are packaging. The build
configuration generally is intended to provide a Qt version that is as
small as possible in terms of the memory size it requires. Therefore,
everything inside Qt that can be compiled as plugins has been compiled that
way. This includes:
- imageformats: jpeg and mng - codecs (for languages like arab, japanese
etc provided with Qt)
- sql drivers for databases (MySQL, ODBC and PostgreSQL)
The only exception is the imageformat png which has been compiled built-in
due to the fact that there is literally no program that uses no icons at
all and icons are to be used preferrably in png format. The plugins are all
located under /usr/lib/qt3/plugins. This is also the install location you
should choose as a package maintainer for
qt-plugins so the user doesn't have to customize his library path for
loading Qt plugins. The only exception is that KDE delivers a set of Qt
plugins as well (mainly styles and designer plugins); those are placed in
/usr/lib/trinity/plugins.
QMotif Extension: As this code is only available in commercial environments
(and produces a static library libqmotif.a anyway that those commercial
applications have to be linked against in addition to Qt), we left out all
header files of the libqt3-headers package that are belonging to this
QMotif extension.
Oracle Database driver, Sybase & Microsoft SQL Server driver: Those drivers
are only available in a commercial version of Qt due to license
incompatibilities with the GPL. If you need to faciliate those drivers,
please visit http://www.trolltech.com and have a read at
http://doc.trolltech.com/3.0/sql-driver.html.
3. Packages (End-User)
The Qt built has been split up into several packages that allow for easy
installation for all types of users. The End-user usually only requires to
have the following packages installed to run an application that links
against Qt:
Threaded version:libqt3-mt (the library libqt-mt.so.* and libqui.so.* for
loading designer-made user interfaces at runtime).
Optionally depending on the program's requirements:
libqt3-mt-odbc
libqt3-mt-mysql
libqt3-mt-psql
In addition to the libraries, it may make sense to install the program
qtconfig to customize the look and behaviorof Qt programs. If you have KDE
installed, the KDE control center will take this task automatically in most
cases. qtconfig is available in the package qt3-qtconfig.
Also, Qt programs can make use of the online-help tool that ships with Qt,
the Qt Assistant. The Assistant can be installed with the package
qt3-assistant.
Qt Configuration files
----------------------
Qt programs most often use QSettings to store their information in configuration
files. With Qt 3.2, the new option --sysconfdir has been introduced that allows
us to use /etc/qt3 as the system-wide location where qt-program specific global
configuration files can go. If you're a programmer that wants to get familiar with
that, please look at the examples, documentation and the code in designer or
assistant as well as qtconfig.
4. Packages (Package maintainers)
In addition to the library, a package maintainer will require an additional
set of packages to compile a package that requires Qt. Depending on the
version of the qt library, you will require a different set of packages;
the most common option should be to make your application link against the
multi-threaded version (-mt).Packages necessary for compiling Qt
applications from source:
libqt3-mt-dev (use libqt3-dev for linking against -lqt, this package only
contains the .so files and the header file for libqui.so)
libqt3-headers (header files for libqt and libqt-mt)
qt3-dev-tools (this package contains the tools uic and moc as well as
qmake, required for building Qt applications)
If, however, you encounter an older program not to compile with this set
read the FAQ at the end of this document.
5. Packages (Developers)
In addition to the packages that packagers require, a developer usually
will require the Qt API documentationas well as tools like the assistant,
linguist or designer. However, you should be fine with installing the API
documentation that you can browse with a webbrowser, optionally with the
assistant. They are available in /usr/share/doc/qt3-doc/html.
For a regular development environment, install qt3-designer and qt3-doc.
For faciliating Qt's extended environment to write plugins for the Qt
Designer or extend the Designer as well as utilizing the Qt Assistant by
calling it from within your program, install qt3-apps-dev, which contains
the static libraries and header files required for this functionality.
For Embedded Developers, the program qvfb (Qt Virtual Frambuffer) and
makeqpf (embedded fonts tool)have been packaged into
qt3-dev-tools-embedded. For developers that work on migrating their program
from any Qt version prior to Qt 3.x to the Qt 3.x platform you will find
additional tools in the qt3-dev-tools-compat.
For using the QTranslator class and where to find the qm-file for qt as
well as where to place your translations,see the next section.
If your program doesn't compile with those settings in case you have
started your project with Qt 1.x or 2.x, please read the FAQ section at the
end of this document.
5. Packages (Translators)
In order to translate a Qt program into any other language, the Qt 3 way to
do this is to let the developer create a ts-file containing the strings
that the program exposes on the user interface. The tools to create the
ts-file and to create the final qm (Q-message binary) file, lupdate and
lrelease, are included in qt3-dev-tools.The single translator that only
gets provided the ts file and has to return a translated ts file, it
is absolutely enough to install qt3-linguist; the package qt3-assistant can
be installed to access the online-help for the Qt Linguist itself.
In case you're converting an application using Qt prior to Qt 3, you may
want to uitilize the qt3-dev-tools-compat which include the necessary tools
to convert older qm files to the new ts file standard.
Locations of message translations:
Qt ships with a set of translations for the strings used inside Qt. Those
translations will be installed into /usr/share/qt3/translations (qm files
only), which equals $QTDIR/translations respectively
qInstallPath() + QString( "/translations" ).
The configure option --translationdir has been set to /usr/share/qt3/translations
accordingly since it was introduced in Qt 3.2.
To correctly enable your program to display the translations to the Qt
library and to load the translation of the program itself, we currently
suggest to either install your translations along with any other data files
into/usr/share/<appname>/, translation files into the subdirectory
translations (that is /usr/share/<appname>/translations) The code that your
application should use to load the Qt translation will have to look like
the following:
int main( int argc, char **argv )
{
QApplication app( argc, argv );
// translation file for Qt
QTranslator qt( 0 );
qt.load( QString( "qt_" ) + QTextCodec::locale(), qInstallPath() +
QString( "/translations" );
app.installTranslator( &qt );
// translation file for application strings
QTranslator myapp( 0 );
myapp.load( QString( "myapp_" ) + QTextCodec::locale(), "." );
// use a substitue for $prefix/share/appname/translations here
app.installTranslator( &myapp );
6. Frequently Asked Questions
Using Qt for Debian as a developer or packager
----------------------------------------------
Q: I want to compile a source package that utilizes qmake to build the
Makefiles. What do I need to do to makeit work ?
A: qmake requires two environment variables to be set, QTDIR and QMAKESPEC.
To make it work, do
export QTDIR=/usr/share/qt3
export QMAKESPEC=linux-g++
Then run qmake -o Makefile <projectfile>.pro
After that, the Makefile is correctly created to build your application on
Debian. As a packager, export thosetwo variables in the rules file before
calling qmake.
Q: I have an application that when linking gives me symbol referencing
errors to Q*Style. Why does my applicationnot link correctly ?
A: The author of the program is using the styles that ship with Qt directly
instead of using the QStylePlugin interface.If you are the author of the
program, change your program to use QStylePlugin. If you are a packager,
write to theauthor of the program that he is assuming that the styles
shipped with Qt are built-in to the library which is not the case on Debian
and that he please should fix this and use QStylePlugin.
Q: Where are all the examples and tutorials ? And how do I build them ?
A: Qt ships with examples and tutorials; so does the Linguist and Designer.
The tutorials and examples are compressed tarballs which you can unpack with
tar -zxvf into your home directory. Change into the qt3-examples directory
and run the provided ./build-examples script. All Qt examples and tutorials,
including those for designer and the linguist, will be compiled. You will
notice however, that those examples that inherit from style classes which
are not built-in into Qt but configured as a plugin will not compile due
to the fact that they can't link to the Qt library.
Q: I'm writing a pure Qt application and I want to ship it with a default
configuration file. Where does that global configuration file go if I make
use of the QSettings class ?
A: With qt-3.2.0, Trolltech has introduced a configure option to Qt called
--sysconfdir which we intentionally set to /etc/qt3 similar to /etc/trinity for
KDE programs. Install your application's system wide configuration file
to /etc/qt3.
Q: I'm compiling a program and I have a compile error due to a missing
include. Why isn't that include not present in the Debian packages anymore
? It compiled with older versions of Debian packages of Qt !
A: This may be due to two reasons: either the package still uses the old
includes from Qt 1.x or 2.x that got basically renamed by Trolltech due to
the naming convention. The filenames are now all following the scheme
ClassName -> classname.h.
Therefore, if you are the developer of the affected program, change your
sources according to this scheme. Qt ships with two tools, qt20fix and
qtrename140, to help developers migrate their API to the Qt 3 version,
which can help you in the transition upgrade to Qt 3.
If you are affected by this as a packager, notify upstream to fix those
problems and in the meanwhile use libqt3-compat-headers as a build
dependency which includes the compatibility headers that just include the
right files from the new API again.
Q: I have a question not covered by this FAQ and README file. Who should I
turn to ?
A: Please turn to Debian Qt/KDE Maintainers (debian-qt-kde@lists.debian.org)
for any questions regarding Qt on Debian.
-- Ralf Nolden <nolden@kde.org> Sun, 26 Jan 2003 20:39:19 +0100
-- Ralf Nolden <nolden@kde.org> Mon, 1 Sep 2003 19:24:16 +0200
-- Modestas Vainius <modestas@vainius.eu> Fri, 22 Feb 2008 01:40:06 +0200

File diff suppressed because it is too large Load Diff

@ -1,329 +0,0 @@
Source: qt-x11-free
Maintainer: Debian Developers <kubuntu-devel@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
libxcursor-dev, libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev,
libmng-dev (>= 1.0.3), libpng-dev, libfontconfig1-dev,
libfreetype6-dev, libxft-dev, unixodbc-dev, uuid-dev, libglib2.0-dev,
default-libmysqlclient-dev | libmysqlclient-dev, flex, libpq-dev, postgresql-server-dev-all (>= 117~) | libpq-dev (<< 9.3.3-2~), libaudio-dev, libcups2-dev,
libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsqlite3-dev,
firebird-dev | firebird2.1-dev [i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc armel] | firebird2-dev [i386 amd64]
Section: libs
Priority: optional
Standards-Version: 3.8.4
Homepage: http://www.trinitydesktop.org/
Package: libqt3-mt
Architecture: any
Section: libs
Replaces: libqt3-mt (<< 4:14.0.0~)
Breaks: libqt3-mt (<< 4:14.0.0~)
Depends: ${shlibs:Depends}, fontconfig
Recommends: libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libxmu6 (>= 4.3.0.dfsg.1-4)
Conflicts: libqt3c102-mt, libqui1-emb, libqt3c-mt
Suggests: libqt3-mt-psql, libqt3-mt-mysql, libqt3-mt-odbc
Description: Qt GUI Library (Threaded runtime version), Version 3
This is the Trolltech Qt library, version 3. It's necessary for
applications that link against the libqt-mt.so.3, e.g. all Trinity
applications.
Package: libqt3-mt-mysql
Architecture: any
Section: libs
Replaces: libqt3-mt-mysql (<< 4:14.0.0~)
Breaks: libqt3-mt-mysql (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-mysql, libqt3c-mt-mysql
Description: MySQL database driver for Qt3 (Threaded)
This package contains the threaded MySQL plugin for Qt3. Install it if
you intend to use or write Qt programs that are to access a MySQL DB.
Package: libqt3-mt-odbc
Architecture: any
Section: libs
Replaces: libqt3-mt-odbc (<< 4:14.0.0~)
Breaks: libqt3-mt-odbc (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-odbc, libqt3c-mt-odbc
Description: ODBC database driver for Qt3 (Threaded)
This package contains the threaded ODBC plugin for Qt3. Install it if
you intend to use or write Qt programs that are to access an ODBC DB.
Package: libqt3-mt-psql
Architecture: any
Section: libs
Replaces: libqt3-mt-psql (<< 4:14.0.0~)
Breaks: libqt3-mt-psql (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-psql, libqt3c-mt-psql
Description: PostgreSQL database driver for Qt3 (Threaded)
This package contains the threaded PostgreSQL plugin for Qt3.
Install it if you intend to use or write Qt programs that are
to access a PostgreSQL DB.
Package: libqt3-mt-ibase
Architecture: i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc
Section: libs
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-ibase
Replaces: libqt3c102-mt-ibase
Description: InterBase/FireBird database driver for Qt3 (Threaded)
This package contains the threaded InterBase/FireBird plugin
for Qt3. Install it if you intend to use or write Qt programs
that are to access an InterBase/FireBird DB.
Package: libqt3-mt-sqlite
Architecture: any
Section: libs
Replaces: libqt3-mt-sqlite (<< 4:14.0.0~)
Breaks: libqt3-mt-sqlite (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-sqlite
Description: SQLite database driver for Qt3 (Threaded)
This package contains the threaded SQLite plugin for Qt3. Install
it if you intend to use or write Qt programs that are to access an
SQLite DB.
Package: libqt3-mt-sqlite3
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Description: SQLite3 database driver for Qt3 (Threaded)
This package contains the threaded SQLite3 plugin for Qt3. Install
it if you intend to use or write Qt programs that are to access an
SQLite3 DB.
Package: libqt3-mt-dev
Architecture: any
Section: libdevel
Replaces: libqt3-mt-dev (<< 4:14.0.0~)
Breaks: libqt3-mt-dev (<< 4:14.0.0~)
Depends: libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4),
libsm-dev (>= 4.3.0.dfsg.1-4), libxmu-dev (>= 4.3.0.dfsg.1-4),
libice-dev (>= 4.3.0.dfsg.1-4), libx11-dev (>= 4.3.0.dfsg.1-4),
libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, libxcursor-dev, uuid-dev,
libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev, libmng-dev (>= 1.0.3),
libpng-dev, libfontconfig1-dev, libfreetype6-dev,
libxft-dev, libaudio-dev, libcups2-dev, libgl1-mesa-dev | libgl-dev,
libglu1-mesa-dev | libglu-dev, libc6-dev, libqt3-mt (= ${binary:Version}),
libqt3-headers (= ${binary:Version}), qt3-dev-tools (= ${binary:Version})
Conflicts: libqt-mt-dev, libqt3-emb (<= 3:3.0.3-1), libqt3-dev
Recommends: libqt3-compat-headers
Suggests: libqt3-i18n, qt3-doc
Description: Qt development files (Threaded)
Qt is a C++ class library optimized for graphical user interface
development. This package contains the libqt-mt.so symlink, necessary
for building threaded Qt applications as well as the libqui.so symlink
and the necessary header files for libqui.so. (See README.Debian and
the Qt Documentation for instructions on libqui.so)
.
WARNING: If you plan to build some older Qt3 applications, you will
most probably have to install the libqt3-compat-headers package. It
contains all the headers which are not part of the official Qt3 API
anymore but which are still used by some programs. So if you encounter
problems with missing header files, please install this package first
before you send a bugreport.
Package: libqt3-headers
Architecture: any
Section: devel
Replaces: libqt3-headers (<< 4:14.0.0~)
Breaks: libqt3-headers (<< 4:14.0.0~)
Recommends: libqt3-mt-dev
Description: Qt3 header files
This package contains all header files for libqt and libqt-mt which come
with Qt3. If you want to compile or develop programs which use Qt3, you
have to install this package.
Package: libqt3-compat-headers
Architecture: any
Section: devel
Replaces: libqt3-compat-headers (<< 4:14.0.0~)
Breaks: libqt3-compat-headers (<< 4:14.0.0~)
Depends: libqt3-headers (= ${binary:Version})
Recommends: libqt3-mt-dev
Description: Qt 1.x and 2.x compatibility includes
This package contains header files that are intended for build
compatibility for applications that build with Qt3 but still use
deprecated includes. It is meant as an intermediate solution and
these header files are not part of the official Qt3 API.
All sourcecode that is still using the headers of this package is
subject to be changed to use the new header files which are in
libqt3-headers.
Package: qt3-dev-tools
Architecture: any
Section: devel
Replaces: qt3-dev-tools (<< 4:14.0.0~)
Breaks: qt3-dev-tools (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Recommends: libqt3-mt-dev
Conflicts: libqt-dev (<< 3:2.3.2-10), uic (<= 3:2.3.2-9)
Description: Qt3 development tools
This package contains all tools that are necessary to build programs
that are written using Qt3. These are: qmake, uic and moc.
For Qt3 development, you most likely want to install this package.
Package: qt3-designer
Architecture: any
Section: devel
Replaces: qt3-designer (<< 4:14.0.0~)
Breaks: qt3-designer (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Recommends: qt3-dev-tools
Suggests: qt3-assistant, qt3-doc
Conflicts: qt-designer (<= 3:2.3.2-9), qt-designer-doc
Description: Qt3 Designer
The Qt Designer is a GUI design program that interactively lets you
construct user interfaces for the Qt library. Additionally it lets you
create whole project and works together with the database drivers
provided by Qt to create applications with easy database access through
Qt. The resulting user interface files can then be converted to
C++ classes using the uic commandline utility which is usually done
automatically for the developer with a project management with qmake
or automake.
Package: qt3-apps-dev
Architecture: any
Section: devel
Replaces: qt3-apps-dev (<< 4:14.0.0~)
Breaks: qt3-apps-dev (<< 4:14.0.0~)
Depends: libqt3-mt-dev
Description: Qt3 Developer applications development files
This package is intended for developers who want to develop applications
using the additional static libraries that ship with the applications
included with Qt; the Qt Designer and the Qt Assistant.
It allows integrating additional enhancements into the Qt Designer
respectively faciliate the Qt Assistant from within your Qt application
to interactively call the Assistant for displaying online help that the
developer includes with his application.
Package: qt3-linguist
Architecture: any
Section: devel
Replaces: qt3-linguist (<< 4:14.0.0~)
Breaks: qt3-linguist (<< 4:14.0.0~)
Suggests: qt3-assistant
Depends: ${shlibs:Depends}
Description: The Qt3 Linguist
This package contains the Qt3 Linguist which provides translators a
tool perfect for translating any Qt-based application into other
languages and can be used and installed independently of any Qt
development files by the translator.
Package: qt3-assistant
Architecture: any
Section: x11
Replaces: qt3-assistant (<< 4:14.0.0~)
Breaks: qt3-assistant (<< 4:14.0.0~)
Depends: ${shlibs:Depends}, qt3-doc
Description: The Qt3 assistant application
This package contains the Qt3 Assistant, an easy to use frontend for
the complete Qt3 documentation and serves as an online help viewer for
any Qt program that wants to give the usesr access to online help.
Within the Qt tools it is used as the help viewer for the online help
for the Qt3 Designer and Linguist as well as qmake and the Qt 3 API
documentation.
.
Developers of Qt Application who want to faciliate the Qt Assistant for online
help display should refer to the README.Debian file for libqt3-mt-dev and
the package qt3-apps-dev.
Package: qt3-qtconfig
Architecture: any
Section: x11
Replaces: qt3-qtconfig (<< 4:14.0.0~)
Breaks: qt3-qtconfig (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: The Qt3 Configuration Application
The Qt Configuration program allows endusers to configure the look
and behavior of any Qt3 application. It is mostly only necessary
on systems which don't run TDE because the Trinity control center already
covers this configuration automatically for the users Qt3 applications
according to his desktop settings in TDE. However, if you need to run
CJK-fonts or other non-latin scripts, you will most likely want to
install this package.
Package: qt3-dev-tools-embedded
Architecture: any
Section: devel
Replaces: qt3-dev-tools-embedded (<< 4:14.0.0~)
Breaks: qt3-dev-tools-embedded (<< 4:14.0.0~)
Recommends: libqt3-mt-dev
Depends: ${shlibs:Depends}
Description: Tools to develop embedded Qt applications
This package contains applications only suitable for developing
applications with Qt Embedded and/or Qtopia. It provides the QVFB
program for simulating an embedded device desktop as well as makeqpf
for converting fonts to embedded fonts suitable for being utilized
by Qt Embedded applications.
Package: qt3-dev-tools-compat
Architecture: any
Section: devel
Replaces: qt3-dev-tools-compat (<< 4:14.0.0~)
Breaks: qt3-dev-tools-compat (<< 4:14.0.0~)
Recommends: libqt3-mt-dev
Depends: ${shlibs:Depends}
Description: Conversion utilities for Qt3 development
This package contains some older Qt tools (namely qt20fix qtrename140,
qm2ts, mergetr, findtr and msg2qm). These tools are needed only by
application developers who need to migrate any Qt application written
for Qt 1.x or 2.x over to Qt 3.x. The purpose of the tools are to
help fixing the changes with include file renaming as well as migrating
the message file format of Qt 2 translation files or any gettext-based
translation system to the Qt 3 system.
Package: libqt3-i18n
Architecture: all
Section: libs
Replaces: libqt3-i18n (<< 4:14.0.0~)
Breaks: libqt3-i18n (<< 4:14.0.0~)
Recommends: libqt3-mt
Description: i18n files for Qt3 library
This package contains the internationalization files for the Qt library.
Qt applications that are internationalized will need to depend on this package
for full internationalization support of the application towards the end user.
Package: qt3-doc
Architecture: all
Section: doc
Replaces: qt3-doc (<< 4:14.0.0~)
Breaks: qt3-doc (<< 4:14.0.0~)
Priority: extra
Suggests: libqt3-headers, qt3-assistant | www-browser
Description: Qt3 API documentation
This package contains the complete API documentation for Qt3.
Examples to coding are in qt3-examples. The documentation is provided
in HTML and manpage format; the HTML version can be viewed in conjunction
with the Qt Assistant.
Package: qt3-examples
Architecture: all
Section: doc
Replaces: qt3-examples (<< 4:14.0.0~)
Breaks: qt3-examples (<< 4:14.0.0~)
Priority: extra
Depends: libqt3-mt-dev (>= ${binary:Version})
Suggests: qt3-apps-dev
Description: Examples for Qt3
These are examples provided with Qt3. They may be especially useful for
you if you are learning to program in Qt as they cover quite a lot of
things that are possible with Qt3.
Package: qt-x11-free-dbg
Section: libdevel
Architecture: any
Replaces: qt-x11-free-dbg (<< 4:14.0.0~)
Breaks: qt-x11-free-dbg (<< 4:14.0.0~)
Priority: extra
Depends: libqt3-mt (= ${binary:Version}), gdb
Conflicts: libqt3-mt-dbg
Description: debugging symbols for qt-x11-free binaries
This package contains the debugging symbols associated with qt-x11-free.
They will automatically be used by gdb for debugging Qt-related
issues.

@ -1,145 +0,0 @@
This is Debian GNU/Linux's prepackaged version of the Qt GUI Development
library.
This package was put together originally by me, Heiko Schlittermann
<heiko@lotte.sax.de>, from the sources, which I obtained from
ftp.troll.no. The changes were very minimal to nothing, - merely
adding support for the Debian package maintenance scheme, by adding
various debian/* files and by changing the propagate script to fit the
Debian GNU/Linux filesystem structure.
This package has since been temporarily taken over by Ivan Moore
<rkrusty@debian.org> until Heiko has time to work on it all again.
In Jul 2002, Martin Loschwitz <madkiss@madkiss.org> overtook the package
maintenance for the QT3-packages.
This packaged is maintained inside the Debian Qt/KDE Maintainers Team
<debian-qt-kde@lists.debian.org> since Tue, 26 Jul 2005 19:06:03 +0200
Qt 3.3 is triple licensed under the QPL, GPL 2 and GPL 3.
It was downloaded from ftp://ftp.troll.no/qt/source
This file may be used under the terms of the GNU General
Public License versions 2.0 or 3.0 as published by the Free
Software Foundation and appearing in the files LICENSE.GPL2
and LICENSE.GPL3 included in the packaging of this file.
Alternatively you may (at your option) use any later version
of the GNU General Public License if such license has been
publicly approved by Trolltech ASA (or its successors, if any)
and the KDE Free Qt Foundation.
Please refer to /usr/share/common-licenses/GPL-2 for complete GPL 2
licence and /usr/share/common-licenses/GPL-3 for complete GPL 3
licence.
THE Q PUBLIC LICENSE
version 1.0
Copyright (C) 1999-2000 Troll Tech AS, Norway.
Everyone is permitted to copy and
distribute this license document.
The intent of this license is to establish freedom to share and change the
software regulated by this license under the open source model.
This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0. Such software is herein referred to as
the Software. This license covers modification and distribution of the
Software, use of third-party application programs based on the Software,
and development of free software which uses the Software.
Granted Rights
1. You are granted the non-exclusive rights set forth in this license
provided you agree to and comply with any and all conditions in this
license. Whole or partial distribution of the Software, or software
items that link with the Software, in any form signifies acceptance of
this license.
2. You may copy and distribute the Software in unmodified form provided
that the entire package, including - but not restricted to - copyright,
trademark notices and disclaimers, as released by the initial developer
of the Software, is distributed.
3. You may make modifications to the Software and distribute your
modifications, in a form that is separate from the Software, such as
patches. The following restrictions apply to modifications:
a. Modifications must not alter or remove any copyright notices in
the Software.
b. When modifications to the Software are released under this
license, a non-exclusive royalty-free right is granted to the
initial developer of the Software to distribute your modification
in future versions of the Software provided such versions remain
available under these terms in addition to any other license(s) of
the initial developer.
4. You may distribute machine-executable forms of the Software or
machine-executable forms of modified versions of the Software, provided
that you meet these restrictions:
a. You must include this license document in the distribution.
b. You must ensure that all recipients of the machine-executable forms
are also able to receive the complete machine-readable source code
to the distributed Software, including all modifications, without
any charge beyond the costs of data transfer, and place prominent
notices in the distribution explaining this.
c. You must ensure that all modifications included in the
machine-executable forms are available under the terms of this
license.
5. You may use the original or modified versions of the Software to
compile, link and run application programs legally developed by you
or by others.
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following
requirements:
a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete
machine-readable source code to the items without any charge
beyond the costs of data transfer.
b. You must explicitly license all recipients of your items to use
and re-distribute original and modified versions of the items in
both machine-executable and source code forms. The recipients must
be able to do so without any charges whatsoever, and they must be
able to re-distribute to anyone they choose.
c. If the items are not available to the general public, and the
initial developer of the Software requests a copy of the items,
then you must supply one.
Limitations of Liability
In no event shall the initial developers or copyright holders be liable
for any damages whatsoever, including - but not restricted to - lost
revenue or profits or other direct, indirect, special, incidental or
consequential damages, even if they have been advised of the possibility
of such damages, except to the extent invariable law, if any, provides
otherwise.
No Warranty
The Software and this license document are provided AS IS with NO WARRANTY
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.
Choice of Law
This license is governed by the Laws of Norway. Disputes shall be settled
by Oslo City Court.
The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS.
You may use, distribute and copy the Qt GUI Toolkit under the terms of
GNU General Public License version 2, which is display below.

@ -1,54 +0,0 @@
usr/include/qt3/q1xcompatibility.h
usr/include/qt3/qapp.h
usr/include/qt3/qarray.h
usr/include/qt3/qbitarry.h
usr/include/qt3/qbttngrp.h
usr/include/qt3/qchkbox.h
usr/include/qt3/qclipbrd.h
usr/include/qt3/qcollect.h
usr/include/qt3/qcollection.h
usr/include/qt3/qcombo.h
usr/include/qt3/qconnect.h
usr/include/qt3/qdatetm.h
usr/include/qt3/qdrawutl.h
usr/include/qt3/qdstream.h
usr/include/qt3/qfiledef.h
usr/include/qt3/qfiledlg.h
usr/include/qt3/qfileinf.h
usr/include/qt3/qfontinf.h
usr/include/qt3/qfontmet.h
usr/include/qt3/qgrpbox.h
usr/include/qt3/qintcach.h
usr/include/qt3/qiodev.h
usr/include/qt3/qlcdnum.h
usr/include/qt3/qlined.h
usr/include/qt3/qlist.h
usr/include/qt3/qmenudta.h
usr/include/qt3/qmetaobj.h
usr/include/qt3/qmlined.h
usr/include/qt3/qmsgbox.h
usr/include/qt3/qmultilinedit.h
usr/include/qt3/qobjcoll.h
usr/include/qt3/qobjdefs.h
usr/include/qt3/qpaintd.h
usr/include/qt3/qpaintdc.h
usr/include/qt3/qpdevmet.h
usr/include/qt3/qpmcache.h
usr/include/qt3/qpntarry.h
usr/include/qt3/qpopmenu.h
usr/include/qt3/qprndlg.h
usr/include/qt3/qprogbar.h
usr/include/qt3/qprogdlg.h
usr/include/qt3/qpsprn.h
usr/include/qt3/qpushbt.h
usr/include/qt3/qqueue.h
usr/include/qt3/qradiobt.h
usr/include/qt3/qrangect.h
usr/include/qt3/qscrbar.h
usr/include/qt3/qsocknot.h
usr/include/qt3/qstack.h
usr/include/qt3/qtabdlg.h
usr/include/qt3/qtstream.h
usr/include/qt3/qvector.h
usr/include/qt3/qwidcoll.h
usr/include/qt3/qwindefs.h

@ -1,271 +0,0 @@
usr/include/qt3/private/*
usr/include/qt3/qabstractlayout.h
usr/include/qt3/qaccel.h
usr/include/qt3/qaccessible.h
usr/include/qt3/qaction.h
usr/include/qt3/qapplication.h
usr/include/qt3/qasciicache.h
usr/include/qt3/qasciidict.h
usr/include/qt3/qasyncimageio.h
usr/include/qt3/qasyncio.h
usr/include/qt3/qbig5codec.h
usr/include/qt3/qbitarray.h
usr/include/qt3/qbitmap.h
usr/include/qt3/qbrush.h
usr/include/qt3/qbuffer.h
usr/include/qt3/qbutton.h
usr/include/qt3/qbuttongroup.h
usr/include/qt3/qcache.h
usr/include/qt3/qcanvas.h
usr/include/qt3/qcdestyle.h
usr/include/qt3/qcheckbox.h
usr/include/qt3/qcleanuphandler.h
usr/include/qt3/qclipboard.h
usr/include/qt3/qcolor.h
usr/include/qt3/qcolordialog.h
usr/include/qt3/qcombobox.h
usr/include/qt3/qcommonstyle.h
usr/include/qt3/qcompactstyle.h
usr/include/qt3/qconnection.h
usr/include/qt3/qcstring.h
usr/include/qt3/qcursor.h
usr/include/qt3/qdatabrowser.h
usr/include/qt3/qdatastream.h
usr/include/qt3/qdatatable.h
usr/include/qt3/qdataview.h
usr/include/qt3/qdatetime.h
usr/include/qt3/qdatetimeedit.h
usr/include/qt3/qdeepcopy.h
usr/include/qt3/qdesktopwidget.h
usr/include/qt3/qdial.h
usr/include/qt3/qdialog.h
usr/include/qt3/qdict.h
usr/include/qt3/qdir.h
usr/include/qt3/qdns.h
usr/include/qt3/qdockarea.h
usr/include/qt3/qdockwindow.h
usr/include/qt3/qdom.h
usr/include/qt3/qdragobject.h
usr/include/qt3/qdrawutil.h
usr/include/qt3/qdropsite.h
usr/include/qt3/qeditorfactory.h
usr/include/qt3/qerrormessage.h
usr/include/qt3/qeucjpcodec.h
usr/include/qt3/qeuckrcodec.h
usr/include/qt3/qevent.h
usr/include/qt3/qeventloop.h
usr/include/qt3/qfeatures.h
usr/include/qt3/qfile.h
usr/include/qt3/qfiledialog.h
usr/include/qt3/qfileinfo.h
usr/include/qt3/qfocusdata.h
usr/include/qt3/qfont.h
usr/include/qt3/qfontdatabase.h
usr/include/qt3/qfontdialog.h
usr/include/qt3/qfontinfo.h
usr/include/qt3/qfontmetrics.h
usr/include/qt3/qframe.h
usr/include/qt3/qftp.h
usr/include/qt3/qgarray.h
usr/include/qt3/qgb18030codec.h
usr/include/qt3/qgbkcodec.h
usr/include/qt3/qgcache.h
usr/include/qt3/qgdict.h
usr/include/qt3/qgeneric.h
usr/include/qt3/qgif.h
usr/include/qt3/qglist.h
usr/include/qt3/qglobal.h
usr/include/qt3/qgplugin.h
usr/include/qt3/qgrid.h
usr/include/qt3/qgridview.h
usr/include/qt3/qgroupbox.h
usr/include/qt3/qguardedptr.h
usr/include/qt3/qgvector.h
usr/include/qt3/qhbox.h
usr/include/qt3/qhbuttongroup.h
usr/include/qt3/qheader.h
usr/include/qt3/qhgroupbox.h
usr/include/qt3/qhostaddress.h
usr/include/qt3/qhttp.h
usr/include/qt3/qiconset.h
usr/include/qt3/qiconview.h
usr/include/qt3/qimage.h
usr/include/qt3/qimageformatplugin.h
usr/include/qt3/qinputdialog.h
usr/include/qt3/qintcache.h
usr/include/qt3/qintdict.h
usr/include/qt3/qinterlacestyle.h
usr/include/qt3/qiodevice.h
usr/include/qt3/qjiscodec.h
usr/include/qt3/qjpegio.h
usr/include/qt3/qjpunicode.h
usr/include/qt3/qkeycode.h
usr/include/qt3/qkeysequence.h
usr/include/qt3/qlabel.h
usr/include/qt3/qlayout.h
usr/include/qt3/qlcdnumber.h
usr/include/qt3/qlibrary.h
usr/include/qt3/qlineedit.h
usr/include/qt3/qlistbox.h
usr/include/qt3/qlistview.h
usr/include/qt3/qlocale.h
usr/include/qt3/qlocalfs.h
usr/include/qt3/qmainwindow.h
usr/include/qt3/qmap.h
usr/include/qt3/qmemarray.h
usr/include/qt3/qmenubar.h
usr/include/qt3/qmenudata.h
usr/include/qt3/qmessagebox.h
usr/include/qt3/qmetaobject.h
usr/include/qt3/qmime.h
usr/include/qt3/qmngio.h
usr/include/qt3/qmotifstyle.h
usr/include/qt3/qmotifplusstyle.h
usr/include/qt3/qmovie.h
usr/include/qt3/qmultilineedit.h
usr/include/qt3/qmutex.h
usr/include/qt3/qnamespace.h
usr/include/qt3/qnetwork.h
usr/include/qt3/qnetworkprotocol.h
usr/include/qt3/qnp.h
usr/include/qt3/qobject.h
usr/include/qt3/qobjectcleanuphandler.h
usr/include/qt3/qobjectdefs.h
usr/include/qt3/qobjectdict.h
usr/include/qt3/qobjectlist.h
usr/include/qt3/qpaintdevice.h
usr/include/qt3/qpaintdevicedefs.h
usr/include/qt3/qpaintdevicemetrics.h
usr/include/qt3/qpainter.h
usr/include/qt3/qpair.h
usr/include/qt3/qpalette.h
usr/include/qt3/qpen.h
usr/include/qt3/qpicture.h
usr/include/qt3/qpixmap.h
usr/include/qt3/qpixmapcache.h
usr/include/qt3/qplatinumstyle.h
usr/include/qt3/qpngio.h
usr/include/qt3/qpoint.h
usr/include/qt3/qpointarray.h
usr/include/qt3/qpolygonscanner.h
usr/include/qt3/qpopupmenu.h
usr/include/qt3/qprintdialog.h
usr/include/qt3/qprinter.h
usr/include/qt3/qprocess.h
usr/include/qt3/qprogressbar.h
usr/include/qt3/qprogressdialog.h
usr/include/qt3/qptrcollection.h
usr/include/qt3/qptrdict.h
usr/include/qt3/qptrlist.h
usr/include/qt3/qptrqueue.h
usr/include/qt3/qptrstack.h
usr/include/qt3/qptrvector.h
usr/include/qt3/qpushbutton.h
usr/include/qt3/qradiobutton.h
usr/include/qt3/qrangecontrol.h
usr/include/qt3/qrect.h
usr/include/qt3/qregexp.h
usr/include/qt3/qregion.h
usr/include/qt3/qrtlcodec.h
usr/include/qt3/qscrollbar.h
usr/include/qt3/qscrollview.h
usr/include/qt3/qsemaphore.h
usr/include/qt3/qsemimodal.h
usr/include/qt3/qserversocket.h
usr/include/qt3/qsession.h
usr/include/qt3/qsessionmanager.h
usr/include/qt3/qsettings.h
usr/include/qt3/qsgistyle.h
usr/include/qt3/qshared.h
usr/include/qt3/qsignal.h
usr/include/qt3/qsignalmapper.h
usr/include/qt3/qsignalslotimp.h
usr/include/qt3/qsimplerichtext.h
usr/include/qt3/qsize.h
usr/include/qt3/qsizegrip.h
usr/include/qt3/qsizepolicy.h
usr/include/qt3/qsjiscodec.h
usr/include/qt3/qslider.h
usr/include/qt3/qsocket.h
usr/include/qt3/qsocketdevice.h
usr/include/qt3/qsocketnotifier.h
usr/include/qt3/qsortedlist.h
usr/include/qt3/qsound.h
usr/include/qt3/qspinbox.h
usr/include/qt3/qsplashscreen.h
usr/include/qt3/qsplitter.h
usr/include/qt3/qsql.h
usr/include/qt3/qsqlcursor.h
usr/include/qt3/qsqldatabase.h
usr/include/qt3/qsqldriver.h
usr/include/qt3/qsqldriverplugin.h
usr/include/qt3/qsqleditorfactory.h
usr/include/qt3/qsqlerror.h
usr/include/qt3/qsqlfield.h
usr/include/qt3/qsqlform.h
usr/include/qt3/qsqlindex.h
usr/include/qt3/qsqlpropertymap.h
usr/include/qt3/qsqlquery.h
usr/include/qt3/qsqlrecord.h
usr/include/qt3/qsqlresult.h
usr/include/qt3/qsqlselectcursor.h
usr/include/qt3/qstatusbar.h
usr/include/qt3/qstring.h
usr/include/qt3/qstringlist.h
usr/include/qt3/qstrlist.h
usr/include/qt3/qstrvec.h
usr/include/qt3/qstyle.h
usr/include/qt3/qstylefactory.h
usr/include/qt3/qstyleplugin.h
usr/include/qt3/qstylesheet.h
usr/include/qt3/qsyntaxhighlighter.h
usr/include/qt3/qt.h
usr/include/qt3/qtabbar.h
usr/include/qt3/qtabdialog.h
usr/include/qt3/qtable.h
usr/include/qt3/qtabwidget.h
usr/include/qt3/qtextbrowser.h
usr/include/qt3/qtextcodec.h
usr/include/qt3/qtextcodecfactory.h
usr/include/qt3/qtextcodecplugin.h
usr/include/qt3/qtextedit.h
usr/include/qt3/qtextstream.h
usr/include/qt3/qtextview.h
usr/include/qt3/qthread.h
usr/include/qt3/qthreadstorage.h
usr/include/qt3/qtimer.h
usr/include/qt3/qtl.h
usr/include/qt3/qtoolbar.h
usr/include/qt3/qtoolbox.h
usr/include/qt3/qtoolbutton.h
usr/include/qt3/qtooltip.h
usr/include/qt3/qtranslator.h
usr/include/qt3/qtsciicodec.h
usr/include/qt3/qurl.h
usr/include/qt3/qurlinfo.h
usr/include/qt3/qurloperator.h
usr/include/qt3/qutfcodec.h
usr/include/qt3/quuid.h
usr/include/qt3/qvalidator.h
usr/include/qt3/qvaluelist.h
usr/include/qt3/qvaluestack.h
usr/include/qt3/qvaluevector.h
usr/include/qt3/qvariant.h
usr/include/qt3/qvbox.h
usr/include/qt3/qvbuttongroup.h
usr/include/qt3/qvfbhdr.h
usr/include/qt3/qvgroupbox.h
usr/include/qt3/qwaitcondition.h
usr/include/qt3/qwhatsthis.h
usr/include/qt3/qwidget.h
usr/include/qt3/qwidgetintdict.h
usr/include/qt3/qwidgetlist.h
usr/include/qt3/qwidgetplugin.h
usr/include/qt3/qwidgetstack.h
usr/include/qt3/qwindowdefs.h
usr/include/qt3/qwindowsstyle.h
usr/include/qt3/qwinexport.h
usr/include/qt3/qwizard.h
usr/include/qt3/qwmatrix.h
usr/include/qt3/qworkspace.h
usr/include/qt3/qxml.h

@ -1,8 +0,0 @@
usr/share/qt3/translations/qt_ar.qm
usr/share/qt3/translations/qt_cs.qm
usr/share/qt3/translations/qt_de.qm
usr/share/qt3/translations/qt_es.qm
usr/share/qt3/translations/qt_fr.qm
usr/share/qt3/translations/qt_he.qm
usr/share/qt3/translations/qt_ru.qm
usr/share/qt3/translations/qt_sk.qm

@ -1,4 +0,0 @@
README
README.immodule
README-QT.TXT
PLATFORMS

@ -1,9 +0,0 @@
usr/lib/libqt-mt.la
usr/lib/libqt-mt.prl
usr/lib/libqt-mt.so
usr/lib/libqui.prl
usr/lib/libqui.so
usr/lib/pkgconfig/qt-mt.pc
usr/include/qt3/qgl.h
usr/include/qt3/qglcolormap.h
usr/include/qt3/qwidgetfactory.h

@ -1,7 +0,0 @@
/usr/lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.la
/usr/lib/libqui.prl /usr/share/qt3/lib/libqui.prl
/usr/lib/libqui.so.1.0.0 /usr/share/qt3/lib/libqui.so
/usr/lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.prl
/usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so
/usr/include/qt3 /usr/share/qt3/include
/usr/lib/qt3/plugins /usr/share/qt3/plugins

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlibase.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlodbc.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlpsql.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlite.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlite3.so

@ -1,4 +0,0 @@
README
README.immodule
README-QT.TXT
PLATFORMS

@ -1,6 +0,0 @@
usr/lib/libqt-mt.so.*
usr/lib/libqui.so.1.*
usr/lib/qt3/plugins/imageformats/libqmng.so
usr/lib/qt3/plugins/inputmethods/*.so
../../debian/qtrc etc/qt3/
../../debian/qt_plugins_3.3rc etc/qt3/

@ -1,5 +0,0 @@
/usr/lib/libqui.so.1.0.0 /usr/lib/libqui.so.1
/usr/lib/libqui.so.1.0.0 /usr/share/qt3/lib/libqui.so.1
/usr/lib/libqui.so.1.0.0 /usr/share/qt3/lib/libqui.so.1.0
/usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3
/usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3.3

@ -1,9 +0,0 @@
#!/bin/sh
if [ "$1" = "purge" ]; then
if [ -d "/usr/share/doc/libqt3-mt/" ]; then
rm -rf /usr/share/doc/libqt3-mt/
fi
fi
#DEBHELPER#

@ -1,36 +0,0 @@
#!/bin/sh
BUILDDIR=$PWD
export QTDIR=/usr/share/qt3
# first copy over the libqt-mt.so build configuration of .qmake.cache
cp /usr/share/qt3/.qmake.cache ./.qmake.cache
# Now compile the examples. The themes example
# won't work since qconfig.h is not really correct with the
# ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
cd examples; qmake -o Makefile examples.pro; make -k
# Now compile the tutorial.
cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
# Then the designer examples.
cd $BUILDDIR/tools/designer/examples
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
cd $a && qmake -o Makefile $a.pro; make; cd ..;
done
# There is a bigger sql example in book/ with more subdirectories:
cd book
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
cd $a && qmake -o Makefile $a.pro; make; cd ..;
done
# Finally, build the linguist tutorials:
cd $BUILDDIR/tools/linguist/tutorial
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
cd $a && qmake -o Makefile $a.pro; make; cd ..;
done
# Return to the build directory
cd $BUILDDIR

@ -1,30 +0,0 @@
author: Martin Loschwitz <madkiss@madkiss.org>
Disables the rpath settings in qmake.conf
Index: b/mkspecs/linux-g++/qmake.conf
===================================================================
--- a/mkspecs/linux-g++/qmake.conf
+++ b/mkspecs/linux-g++/qmake.conf
@@ -55,7 +55,7 @@
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME = -Wl,-soname,
QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
+QMAKE_RPATH =
QMAKE_LIBS = -luuid
QMAKE_LIBS_DYNLOAD = -ldl
Index: b/mkspecs/linux-g++-64/qmake.conf
===================================================================
--- a/mkspecs/linux-g++-64/qmake.conf
+++ b/mkspecs/linux-g++-64/qmake.conf
@@ -58,7 +58,7 @@
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME = -Wl,-soname,
QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
+QMAKE_RPATH =
QMAKE_LIBS = -luuid
QMAKE_LIBS_DYNLOAD = -ldl

@ -1,16 +0,0 @@
--- a/mkspecs/linux-g++-64/qmake.conf
+++ b/mkspecs/linux-g++-64/qmake.conf
@@ -43,11 +43,11 @@ QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_T
QMAKE_INCDIR =
QMAKE_LIBDIR =
QMAKE_INCDIR_X11 = /usr/X11R6/include
-QMAKE_LIBDIR_X11 = /usr/X11R6/lib64
+QMAKE_LIBDIR_X11 = /usr/X11R6/lib
QMAKE_INCDIR_QT = $(QTDIR)/include
QMAKE_LIBDIR_QT = $(QTDIR)/lib64
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
-QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64
+QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
QMAKE_LINK = g++
QMAKE_LINK_SHLIB = g++

@ -1,50 +0,0 @@
author: Sune Vuorela <debian@pusling.com>
--- a/configure
+++ b/configure
@@ -34,7 +34,44 @@ SUPPORTED=
#-------------------------------------------------------------------------------
# need that throughout the script
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+DPKG_ARCH=`(dpkg-architecture -qDEB_HOST_ARCH) 2>/dev/null` || UNAME_MACHINE=unknown
+case $DPKG_ARCH in
+ amd64)
+ UNAME_MACHINE="x86_64"
+ ;;
+ arm)
+ UNAME_MACHINE="armv4l"
+ ;;
+ armel)
+ UNAME_MACHINE="armv5tel"
+ ;;
+ hppa)
+ UNAME_MACHINE="parisc64"
+ ;;
+ hurd-i386)
+ UNAME_MACHINE="i686-AT386"
+ ;;
+ i386)
+ UNAME_MACHINE="i686"
+ ;;
+ kfreebsd-amd64)
+ UNAME_MACHINE="x86_64"
+ ;;
+ kfreebsd-i386)
+ UNAME_MACHINE="i586"
+ ;;
+ mipsel)
+ UNAME_MACHINE="mips"
+ ;;
+ powerpc)
+ UNAME_MACHINE="ppc"
+ ;;
+ *)
+ UNAME_MACHINE="$DPKG_ARCH"
+ ;;
+
+
+esac
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown

@ -1,3 +0,0 @@
06_disable_rpath.diff
09_amd64_lib64.diff
72_dont_trust_uname-m_use_dpkg-arch_instead.diff

@ -1,4 +0,0 @@
usr/lib/libeditor.*
usr/lib/libdesignercore.*
usr/lib/libqassistantclient.*
usr/include/qt3/qassistantclient.h

@ -1,8 +0,0 @@
/usr/lib/libeditor.prl /usr/share/qt3/lib/libeditor.prl
/usr/lib/libeditor.a /usr/share/qt3/lib/libeditor.a
/usr/lib/libdesignercore.prl /usr/share/qt3/lib/libdesignercore.prl
/usr/lib/libdesignercore.a /usr/share/qt3/lib/libdesignercore.a
/usr/lib/libqassistantclient.prl /usr/share/qt3/lib/libqassistantclient.prl
/usr/lib/libqassistantclient.a /usr/share/qt3/lib/libqassistantclient.a
/usr/include/qt3 /usr/share/qt3/tools/designer/editor
/usr/include/qt3 /usr/share/qt3/tools/designer/interfaces

@ -1,5 +0,0 @@
usr/bin/assistant
usr/share/applications/assistant-qt3.desktop
usr/share/pixmaps/assistant-qt3.png
usr/share/qt3/doc/html/assistant*html
usr/share/qt3/doc/html/assistant*dcf

@ -1 +0,0 @@
/usr/bin/assistant-qt3 /usr/share/qt3/bin/assistant

@ -1,6 +0,0 @@
?package(qt3-assistant):\
needs="x11"\
section="Applications/Programming"\
hints="TDE"\
title="Qt3 Assistant"\
command="/usr/bin/assistant-qt3"

@ -1,8 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/assistant assistant "/usr/bin/assistant-qt3" "45" \
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove assistant "/usr/bin/assistant-qt3"
;;
esac
#DEBHELPER#

@ -1,10 +0,0 @@
usr/bin/designer
usr/bin/createcw
usr/bin/conv2ui
usr/share/applications/designer-qt3.desktop
usr/share/pixmaps/designer-qt3.png
usr/share/qt3/templates/*
usr/share/qt3/doc/html/designer*html
usr/share/qt3/doc/html/designer*dcf
usr/share/qt3/doc/html/designer*jpg
usr/lib/qt3/plugins/designer/*

@ -1 +0,0 @@
/usr/bin/designer-qt3 /usr/share/qt3/bin/designer

@ -1,7 +0,0 @@
?package(qt3-designer):\
needs="x11"\
section="Applications/Programming"\
hints="TDE"\
title="Qt3 Designer"\
command="/usr/bin/designer-qt3"

@ -1,10 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/designer designer "/usr/bin/designer-qt3" "45" \
--slave /usr/share/man/man1/designer.1.gz designer.1.gz \
"/usr/share/man/man1/designer-qt3.1.gz"
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove designer "/usr/bin/designer-qt3"
;;
esac
#DEBHELPER#

@ -1,6 +0,0 @@
usr/bin/qt20fix
usr/bin/qtrename140
usr/bin/qm2ts
usr/bin/mergetr
usr/bin/findtr
usr/bin/msg2qm

@ -1,2 +0,0 @@
/usr/bin/makeqpf /usr/share/qt3/bin/makeqpf
/usr/bin/qvfb /usr/share/qt3/bin/qvfb

@ -1,9 +0,0 @@
usr/share/qt3/mkspecs/*
usr/share/qt3/doc/html/qmake*html
usr/share/qt3/doc/html/qmake*dcf
usr/bin/qmake
usr/bin/lupdate
usr/bin/lrelease
usr/bin/uic
usr/bin/moc
usr/bin/qembed

@ -1,7 +0,0 @@
/usr/share/qt3/mkspecs/linux-g++ /usr/share/qt3/mkspecs/default
/usr/bin/qmake-qt3 /usr/share/qt3/bin/qmake
/usr/bin/lupdate-qt3 /usr/share/qt3/bin/lupdate
/usr/bin/lrelease-qt3 /usr/share/qt3/bin/lrelease
/usr/bin/uic-qt3 /usr/share/qt3/bin/uic
/usr/bin/moc-qt3 /usr/share/qt3/bin/moc
/usr/bin/qembed /usr/share/qt3/bin/qembed

@ -1,28 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/moc moc "/usr/bin/moc-qt3" "45" \
--slave /usr/share/man/man1/moc.1.gz moc.1.gz \
"/usr/share/man/man1/moc-qt3.1.gz"
update-alternatives --install \
/usr/bin/uic uic "/usr/bin/uic-qt3" "45" \
--slave /usr/share/man/man1/uic.1.gz uic.1.gz \
"/usr/share/man/man1/uic-qt3.1.gz"
update-alternatives --install \
/usr/bin/lupdate lupdate "/usr/bin/lupdate-qt3" "45" \
--slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
"/usr/share/man/man1/lupdate-qt3.1.gz"
update-alternatives --install \
/usr/bin/lrelease lrelease "/usr/bin/lrelease-qt3" "45" \
--slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
"/usr/share/man/man1/lrelease-qt3.1.gz"
update-alternatives --install \
/usr/bin/qmake qmake "/usr/bin/qmake-qt3" "45" \
#DEBHELPER#

@ -1,16 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove moc "/usr/bin/moc-qt3"
update-alternatives --remove uic "/usr/bin/uic-qt3"
update-alternatives --remove lupdate "/usr/bin/lupdate-qt3"
update-alternatives --remove lrelease "/usr/bin/lrelease-qt3"
update-alternatives --remove qmake "/usr/bin/qmake-qt3"
;;
esac
#DEBHELPER#

@ -1,11 +0,0 @@
Document: qt3-doc
Title: Qt Reference Documentation
Author: Troll Tech, The TDE Team
Abstract: Qt (TM) is a multi-platform C++ GUI toolkit. It is a product of
Troll Tech. It is supported on all major variants of Microsoft Windows and
Unix/X Windows.
Section: Apps/Programming
Format: HTML
Index: /usr/share/doc/qt3-doc/html/index.html
Files: /usr/share/doc/qt3-doc/html/*.html

@ -1,2 +0,0 @@
/usr/share/man/man3 /usr/share/qt3/doc/man/man3
/usr/share/qt3/doc/html /usr/share/doc/qt3-doc/html

@ -1,6 +0,0 @@
usr/bin/linguist
usr/share/applications/linguist-qt3.desktop
usr/share/pixmaps/linguist-qt3.png
usr/share/qt3/phrasebooks/*
usr/share/qt3/doc/html/linguist*html
usr/share/qt3/doc/html/linguist*dcf

@ -1 +0,0 @@
/usr/bin/linguist-qt3 /usr/share/qt3/bin/linguist

@ -1,6 +0,0 @@
?package(qt3-linguist):\
needs="x11"\
section="Applications/Programming"\
hints="TDE"\
title="Qt3 Linguist"\
command="/usr/bin/linguist-qt3"

@ -1,10 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/linguist linguist "/usr/bin/linguist-qt3" "45" \
--slave /usr/share/man/man1/linguist.1.gz linguist.1.gz \
"/usr/share/man/man1/linguist-qt3.1.gz"
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove linguist "/usr/bin/linguist-qt3"
;;
esac
#DEBHELPER#

@ -1,3 +0,0 @@
usr/bin/qtconfig
usr/share/applications/qt3config.desktop
usr/share/pixmaps/qt3config.png

@ -1 +0,0 @@
/usr/bin/qtconfig-qt3 /usr/share/qt3/bin/qtconfig

@ -1,8 +0,0 @@
?package(qt3-qtconfig):\
needs="x11"\
section="Applications/System/Administration"\
title="Qt3 Config"\
longtitle="Qt3 Configuration Utility"\
hints="Qt3 config tool"\
command="/usr/bin/qtconfig-qt3"

@ -1,10 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/qtconfig qtconfig "/usr/bin/qtconfig-qt3" "45" \
--slave /usr/share/man/man1/qtconfig.1.gz qtconfig.1.gz \
"/usr/share/man/man1/qtconfig-qt3.1.gz"
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove qtconfig "/usr/bin/qtconfig-qt3"
;;
esac
#DEBHELPER#

@ -1,4 +0,0 @@
[usr]
lib/trinity/plugins/styles/plastik.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-09-29T20:06:31^e
lib/qt3/plugins/imageformats/libqmng.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-08-25T18:22:18^e

@ -1,32 +0,0 @@
[3.3]
libraryPath=/usr/lib/trinity/plugins/
[General]
GUIEffects=general^eanimatecombo^e
embedFonts=true
enableXft=true
font=Sans Serif,9,-1,5,50,0,0,0,0,0
fontPath=\0
useXft=true
style=Plastik
[KDE]
contrast=7
kdeAddedLibraryPaths=/usr/lib/trinity/plugins/^e
[KWinPalette]
activeBackground=#1f26ad
activeBlend=#259bb8
activeForeground=#ffffff
activeTitleBtnBg=#e6e6e6
frame=#efefef
inactiveBackground=#cdcdcd
inactiveBlend=#ababab
inactiveForeground=#dddddd
inactiveFrame=#efefef
inactiveTitleBtnBg=#ebebeb
[Palette]
active=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e
disabled=#808080^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#c7c7c7^e#ffffff^e#808080^e#ffffff^e#efefef^e#000000^e#567594^e#ffffff^e#0000ee^e#52188b^e
inactive=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e

@ -1,477 +0,0 @@
#!/usr/bin/make -f
# build variables
export QTDIR=$(shell pwd)
# re-set $(LD_LIBRARY_PATH)
OLD_LD_LIBRARY_PATH := $(LD_LIBRARY_PATH)
export LD_LIBRARY_PATH=$(QTDIR)/lib:$(OLD_LD_LIBRARY_PATH)
# fix path
OLD_PATH := $(PATH)
export PATH=$(QTDIR)/bin:$(OLD_PATH)
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ifeq ($(DEB_HOST_ARCH_OS),hurd)
PLATFORM_ARG = hurd-g++
else #hurd
ifeq ($(DEB_HOST_ARCH),sparc)
PLATFORM_ARG = linux-g++-sparc
else #sparc
PLATFORM_ARG = linux-g++
endif #sparc
endif #hurd
# quilt stuff
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
P_LIBS = $(DEBIAN)/libqt3-mt
P_DOC = $(DEBIAN)/qt3-doc
P_APPSDEV = $(DEBIAN)/qt3-apps-dev
P_HEADERS = $(DEBIAN)/libqt3-headers
P_QTMTDEV = $(DEBIAN)/libqt3-mt-dev
TMP_INSTALL = $(DEBIAN)/tmp-install
CONFIGURE_OPTS = \
-prefix "/usr" \
-sysconfdir "/etc/qt3" \
-datadir "/usr/share/qt3" \
-headerdir "/usr/include/qt3" \
-docdir "/usr/share/qt3/doc" \
-plugindir "/usr/lib/qt3/plugins" \
-translationdir "/usr/share/qt3/translations" \
\
-thread \
-shared \
-fast \
-no-exceptions \
-platform $(PLATFORM_ARG) \
\
-nis \
-no-pch \
-cups \
-stl \
-ipv6 \
\
-sm \
-xshape \
-xinerama \
-xcursor \
-xrandr \
-xrender \
-xft \
-tablet \
-xkb \
\
-system-zlib \
-system-libpng \
-system-libmng \
-system-libjpeg \
-system-nas-sound \
\
-enable-opengl \
-dlopen-opengl \
\
-qt-gif \
-qt-imgfmt-png \
-qt-imgfmt-jpeg \
-plugin-imgfmt-mng \
\
-plugin-sql-odbc \
-plugin-sql-psql \
-plugin-sql-mysql \
-plugin-sql-ibase \
-plugin-sql-sqlite \
-plugin-sql-sqlite3 \
\
-I/usr/include/mysql \
-I/usr/include/freetype2 \
-I`pg_config --includedir` \
-I`pg_config --includedir-server` \
-L/usr/lib/$(DEB_HOST_MULTIARCH)\
\
-lfontconfig \
-inputmethod \
-glibmainloop \
# End of CONFIGURE_OPTS
interbase_archs := i386 amd64 sparc powerpc
ifneq ($(DEB_HOST_ARCH_CPU),$(findstring $(DEB_HOST_ARCH_CPU),$(interbase_archs)))
CONFIGURE_OPTS += -no-sql-ibase
IBASE = -Nlibqt3-mt-ibase
else
IBASE =
endif
ifeq ($(DEB_HOST_ARCH_OS),hurd)
CONFIGURE_OPTS += -no-sql-ibase
IBASE = -Nlibqt3-mt-ibase
endif
ifeq ($(DEB_HOST_ARCH),arm)
CONFIGURE_OPTS += -DQT_QLOCALE_USES_FCVT
endif
post-patches::
dh_testdir
build build-arch: libqt-thread-stamp
build-indep:
touch build-stamp
libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
dh_testdir
echo yes | ./configure $(CONFIGURE_OPTS)
rm -rf include/qinputcontext.h include/qinputcontextfactory.h include/qinputcontextplugin.h
ln -s ../src/kernel/qinputcontext.h include/qinputcontext.h
ln -s ../src/inputmethod/qinputcontextfactory.h include/qinputcontextfactory.h
ln -s ../src/inputmethod/qinputcontextplugin.h include/qinputcontextplugin.h
# proceed
$(MAKE) sub-src sub-plugins sub-tools
$(MAKE) -C src INSTALL_ROOT=$(TMP_INSTALL) install_target
$(MAKE) INSTALL_ROOT=$(TMP_INSTALL) install
$(MAKE) INSTALL_ROOT=$(TMP_INSTALL) plugins-install
# archives get accidentally stripped by make install. Copy over unstripped ones for now.
-cp lib/lib*.a $(TMP_INSTALL)/usr/lib/
cp bin/qtrename140 $(TMP_INSTALL)/usr/bin/
cp bin/qt20fix $(TMP_INSTALL)/usr/bin/
cp bin/findtr $(TMP_INSTALL)/usr/bin/
# build conv2ui
cd tools/designer/tools/conv2ui && $(MAKE)
cp bin/conv2ui $(TMP_INSTALL)/usr/bin/conv2ui
# build qvfb
cd tools/qvfb/ && $(MAKE)
cp tools/qvfb/qvfb $(TMP_INSTALL)/usr/bin/qvfb
# install qmake.cache file
install -d $(P_QTMTDEV)/usr/share/qt3/
cat .qmake.cache | sed "s#$(QTDIR)#/usr/share/qt3#g" > $(P_QTMTDEV)/usr/share/qt3/.qmake.cache
# install qconfig.h for the mt
install -m 644 -D include/qconfig.h $(P_QTMTDEV)/usr/include/qt3/qconfig.h
install -m 644 -D include/qmodules.h $(P_QTMTDEV)/usr/include/qt3/qmodules.h
install -m 644 -D include/qinputcontext.h $(P_HEADERS)/usr/include/qt3/qinputcontext.h
install -m 644 -D include/qinputcontextfactory.h $(P_HEADERS)/usr/include/qt3/qinputcontextfactory.h
install -m 644 -D include/qinputcontextplugin.h $(P_HEADERS)/usr/include/qt3/qinputcontextplugin.h
touch libqt-thread-stamp
clean::
dh_testdir
-rm -rf debian/patched
-rm -rf build-stamp libqt-thread-stamp
-chmod -R u+w *
-chmod a-x doc/html/layout?.png
if [ -f "src/Makefile" ]; then \
$(MAKE) -C src clean; $(MAKE) -C plugins/src distclean; $(MAKE) -C tools distclean; \
$(MAKE) -C tools/makeqpf distclean; $(MAKE) -C tools/qconfig distclean; $(MAKE) -C tools/qvfb distclean; \
$(MAKE) -C tools/msg2qm distclean; $(MAKE) -C tools/mergetr distclean; $(MAKE) -C tools/qembed distclean; \
$(MAKE) -C tools/designer/tools/conv2ui distclean; $(MAKE) -C tools/designer/tools/createcw distclean; \
$(MAKE) -C tools/designer/plugins/glade distclean; $(MAKE) -C tools/designer/plugins/qglwidget distclean; \
$(MAKE) -C config.tests/unix/largefile distclean; $(MAKE) -C qmake distclean; \
fi
-rm -rf .qmake.cache src/.qmake.internal.cache tools/designer/designer/.qmake.internal.cache qmake/GNUmakefile \
config.status bin/moc bin/qmake src/moc/*.o mkspecs/default lib/lib* `pwd`/debian/doc $(TMP_INSTALL) \
src/tools/qconfig.cpp include/qconfig.h include/qmodules.h plugins/accessibleqtwidgets.prl \
config.tests/unix/ipv6/ipv6test config.tests/unix/ipv6/ipv6test.o config.tests/unix/ptrsize/ptrsizetest.o \
config.tests/unix/ptrsize/ptrsizetest config.tests/unix/endian/endiantest.o \
config.tests/unix/endian/endiantest lib/qt-mt.pc extensions/nsplugin/examples/trivial/libtrivial.prl \
extensions/nsplugin/examples/grapher/libgrapher.prl bin/designer
rm -f qmake/*o
rm -rf include/qinputcontext.h include/qinputcontextfactory.h include/qinputcontextplugin.h
rm -f src/.obj/debug-shared-mt/*o plugins/src/inputmethods/imsw-multi/.obj/debug-shared-mt/*o plugins/inputmethods/*so
rm -f plugins/src/inputmethods/imsw-none/.obj/debug-shared-mt/*o plugins/src/inputmethods/simple/.obj/debug-shared-mt/*o plugins/src/inputmethods/xim/.obj/debug-shared-mt/*o
# delete generated Makefiles but save the toplevel Makefile
-mv Makefile Makefile.save
for a in `find . -name 'Makefile'`; do rm -f "$$a"; done
-mv Makefile.save Makefile
cd examples/ && find . -name '.obj' | xargs rm -rf
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -i
dh_installdirs
# fix .prl files
for a in $(TMP_INSTALL)/usr/lib/*prl; do cat "$$a" | sed \
"s#$(QTDIR)#/usr/share/qt3#g" > "$$a".new && mv "$$a".new "$$a"; done
dh_install $(IBASE) --sourcedir=$(TMP_INSTALL)
## build qt3-doc package
# copy all docs there first
install -d $(P_DOC)/usr/share/qt3/doc/html/
for a in `cd $(TMP_INSTALL)/usr/share/qt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/qt3/doc/html/"$$a" $(P_DOC)/usr/share/qt3/doc/html/; done
#typo bugfix
sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/qt3/doc/html/qwidget.html
## build designer package documentation
# qt3-designer
install -d `pwd`/debian/qt3-designer/usr/share/qt3/doc/html/
for a in `cat doc/html/designer*.html doc/html/designer*.dcf | grep png | sed 's/^.*src=\"\([^\"]+\)\".*$$/\1/' | \
perl -pe 's#<\?p[^>]+>##' | tee outputfile | perl -ne '/<img [^>]*(src=\"[^"]+\")/; print $$1' | \
sed 's/src=//g' | sed 's/"/ /g'`; do cp doc/html/"$$a" `pwd`/debian/qt3-designer/usr/share/qt3/doc/html/ && \
rm -rf $(P_DOC)/usr/share/qt3/doc/html/"$$a" || true; done
rm -rf outputfile `pwd`/debian/qt3-designer/usr/share/qt3/doc/html/logo32.png
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/designer*
## build linguist package documentation
# qt3-linguist
install -d `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html/
for a in `cat doc/html/linguist*.html doc/html/linguist*.dcf | grep png | sed 's/^.*src=\"\([^\"]+\)\".*$$/\1/' | \
perl -pe 's#<\?p[^>]+>##' | tee outputfile | perl -ne '/<img [^>]*(src=\"[^"]+\")/; print $$1' | \
sed 's/src=//g' | sed 's/"/ /g'`; do cp doc/html/"$$a" `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html/ && \
rm -rf $(P_DOC)/usr/share/qt3/doc/html/"$$a" || true; done
rm -rf outputfile `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html/logo32.png
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/linguist*
## qt3-assistant
# remove docs from qt3-doc for qt-assistant
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/assistant*
## all packages
# install the overrides files
#for a in debian/overrides/*; do install -d debian/`echo "$$a" | sed 's/debian\/overrides\///g'`/usr/share/lintian/overrides; done
#for a in debian/overrides/*; do cp "$$a" debian/`echo "$$a" | sed 's/debian\/overrides\///g'`/usr/share/lintian/overrides/`echo "$$a" | sed 's/debian\/overrides\///g'`; done
chmod 644 debian/qt3-dev-tools/usr/share/qt3/mkspecs/aix-g++-64/qplatformdefs.h
chmod 644 debian/qt3-dev-tools/usr/share/qt3/mkspecs/macx-pbuilder/Info.plist.app
binary-indep: build install
# Build architecture-independent files here.
dh_testdir
dh_testroot
dh_installdocs -i -XREADME.Debian
dh_installchangelogs -i changes-3.3.8
dh_installchangelogs -i changes-3.3.8b
find doc/man -path \*/CVS -prune -o -print | cpio -pmd $(P_DOC)/usr/share/qt3/doc/
-rm -f `find $(P_DOC)/usr/share/qt3/doc/ -name "*.o"`
find $(P_DOC) -type f -perm +0100 | xargs --no-run-if-empty rm -f
install -d $(P_DOC)/usr/share/man/man3/
for i in $(P_DOC)/usr/share/qt3/doc/doc/man/man3/* ; do mv $$i $(P_DOC)/usr/share/man/man3/ ; done
-rm -rf $(P_DOC)/usr/share/qt3/doc/doc
# other i18n files
for a in `cd translations/ && find . -name 'qt_*.qm' | sed 's/qt_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D `pwd`/translations/qt_"$$a".qm `pwd`/debian/libqt3-i18n/usr/share/qt3/translations/qt_"$$a".qm; done
# logo32.png
cp `pwd`/doc/html/logo32.png `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/
# remove qmake html docu from qt3-doc
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/qmake*
# create examples package
install -d `pwd`/debian/doc/qt3-examples/tools/designer
install -d `pwd`/debian/doc/qt3-examples/tools/linguist
cp -ax examples `pwd`/debian/doc/qt3-examples
cp -ax tutorial `pwd`/debian/doc/qt3-examples
cp -ax tools/designer/examples `pwd`/debian/doc/qt3-examples/tools/designer/
cp -ax tools/linguist/tutorial `pwd`/debian/doc/qt3-examples/tools/linguist/
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'tt1'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'tt2'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'tt3'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name '.moc'`; do rm -rf "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name '.obj'`; do rm -rf "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'Makefile'`; do rm -f "$$a"; done
install -D `pwd`/debian/maintain/build-examples.sh `pwd`/debian/doc/qt3-examples/build-examples
chmod 755 `pwd`/debian/doc/qt3-examples/build-examples
cd `pwd`/debian/doc/ && tar cvvfz qt3-examples.tar.gz qt3-examples/
install -D `pwd`/debian/doc/qt3-examples.tar.gz `pwd`/debian/qt3-examples/usr/share/doc/qt3-examples/qt3-examples.tar.gz
# proceed
dh_compress -i -Xhtml/
dh_link -i
dh_fixperms -i
dh_installdeb -i
dh_perl -i
dh_shlibdeps -i
# fix shlibdeps madness
for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS)
binary-arch: build install
dh_testdir
dh_testroot
dh_installdirs -a
## create qt3-apps-dev-package
install -d $(P_APPSDEV)/usr/include/qt3/
cp `pwd`/tools/designer/interfaces/*.h $(P_APPSDEV)/usr/include/qt3/
cp `pwd`/tools/designer/editor/*.h $(P_APPSDEV)/usr/include/qt3/
rm -rf `pwd`/debian/qt3-apps-dev/usr/include/qt3/preferences.ui.h
## qvfb package
install -m644 -D `pwd`/tools/qvfb/pda.skin `pwd`/debian/qt3-dev-tools-embedded/etc/qt3/qvfb/pda.skin
install -m644 -D `pwd`/tools/qvfb/pda_down.png `pwd`/debian/qt3-dev-tools-embedded/usr/share/qvfb/pda_down.png
install -m644 -D `pwd`/tools/qvfb/pda_up.png `pwd`/debian/qt3-dev-tools-embedded/usr/share/qvfb/pda_up.png
# remove utterly ugle symlink
rm -rf `pwd`/debian/qt3-dev-tools//usr/share/qt3/mkspecs/linux-g++/linux-g++
# language file for linguist
install -d `pwd`/debian/qt3-linguist/usr/share/doc/qt3-linguist/
cp translations/template.ts `pwd`/debian/qt3-linguist/usr/share/doc/qt3-linguist/qt_untranslated.ts
# fix that stupid friggin professional file
perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' src/qt_professional.pri
## i18n files for designer, linguist and assistant
(cd `pwd`/tools/designer/designer/ && lrelease designer.pro)
for a in `cd tools/designer/designer/ && find . -name 'designer_*.qm' | sed 's/designer_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D tools/designer/designer/designer_"$$a".qm `pwd`/debian/qt3-designer/usr/share/qt3/translations/designer_"$$a".qm; done
rm -rf `pwd`/tools/designer/designer/*.qm
(cd `pwd`/tools/assistant/ && lrelease assistant.pro)
for a in `cd tools/assistant/ && find . -name 'assistant_*.qm' | sed 's/assistant_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D tools/assistant/assistant_"$$a".qm `pwd`/debian/qt3-assistant/usr/share/qt3/translations/assistant_"$$a".qm; done
rm -rf `pwd`/tools/assistant/*.qm `pwd`/debian/libqt3-i18n/usr/share/qt3/translations/assistant_de.qm
(cd `pwd`/tools/linguist/linguist/ && lrelease linguist.pro)
for a in `cd tools/linguist/linguist/ && find . -name 'linguist_*.qm' | sed 's/linguist_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D tools/linguist/linguist/linguist_"$$a".qm `pwd`/debian/qt3-linguist/usr/share/qt3/translations/linguist_"$$a".qm; done
rm -rf `pwd`/tools/linguist/linguist/*.qm
# include logo32 for every program
cd `pwd`/debian/qt3-designer/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-designer/g' > "$$a".new && mv "$$a".new "$$a"; done
cd `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-linguist/g' > "$$a".new && mv "$$a".new "$$a"; done
cd `pwd`/debian/qt3-assistant/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-assistant/g' > "$$a".new && mv "$$a".new "$$a"; done
cd `pwd`/debian/qt3-dev-tools/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-qmake/g' > "$$a".new && mv "$$a".new "$$a"; done
for a in designer linguist assistant; do install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/qt3-"$$a"/usr/share/qt3/doc/html/logo32-"$$a".png; done
install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/qt3-dev-tools/usr/share/qt3/doc/html/logo32-qmake.png
# fix qmake.conf files
cd `pwd`/debian/qt3-dev-tools/usr/share/qt3/mkspecs/ && for a in *; do cd "$$a" && cat qmake.conf | sed 's/\$$(QTDIR)\/include/\/usr\/share\/qt3\/include/g' | sed 's/\$$(QTDIR)/\/usr\/share\/qt3/g' | \
sed 's/\-I\/usr\/include/&\/qt3/g' >> qmake.conf.new && mv qmake.conf.new qmake.conf && cd ../; done
# build attic package and copy it to libqt3-ompat-headers
cd `pwd`/src/ && tar cvvfz attic.tar.gz attic/
install -D `pwd`/src/attic.tar.gz `pwd`/debian/libqt3-compat-headers/usr/share/doc/libqt3-compat-headers/attic.tar.gz
rm -rf `pwd`/src/attic.tar.gz
# rename some binaries to make qt3/4 installations possible
mv `pwd`/debian/qt3-designer/usr/bin/designer `pwd`/debian/qt3-designer/usr/bin/designer-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/uic `pwd`/debian/qt3-dev-tools/usr/bin/uic-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/moc `pwd`/debian/qt3-dev-tools/usr/bin/moc-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/lupdate `pwd`/debian/qt3-dev-tools/usr/bin/lupdate-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/lrelease `pwd`/debian/qt3-dev-tools/usr/bin/lrelease-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/qmake `pwd`/debian/qt3-dev-tools/usr/bin/qmake-qt3
mv `pwd`/debian/qt3-qtconfig/usr/bin/qtconfig `pwd`/debian/qt3-qtconfig/usr/bin/qtconfig-qt3
mv `pwd`/debian/qt3-assistant/usr/bin/assistant `pwd`/debian/qt3-assistant/usr/bin/assistant-qt3
mv `pwd`/debian/qt3-linguist/usr/bin/linguist `pwd`/debian/qt3-linguist/usr/bin/linguist-qt3
install -D doc/man/man1/moc.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/moc-qt3.1
install -D doc/man/man1/uic.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/uic-qt3.1
install -D doc/man/man1/lrelease.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/lrelease-qt3.1
install -D doc/man/man1/lupdate.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/lupdate-qt3.1
dh_link -pqt3-designer usr/share/qt3/doc/html usr/share/doc/qt3-designer/html
dh_link -pqt3-assistant usr/share/qt3/doc/html usr/share/doc/qt3-assistant/html
dh_link -pqt3-linguist usr/share/qt3/doc/html usr/share/doc/qt3-linguist/html
dh_link -pqt3-dev-tools usr/share/qt3/doc/html usr/share/doc/qt3-dev-tools/html
# copy README.Debian
for a in libqt3-mt-dev libqt3-mt qt3-doc; do install -D `pwd`/debian/README.Debian `pwd`/debian/"$$a"/usr/share/doc/"$$a"/README.Debian; done
# install the qmake binary
rm -rf `pwd`/debian/qt3-dev-tools/usr/bin/qmake
install -D `pwd`/qmake/qmake `pwd`/debian/qt3-dev-tools/usr/bin/qmake-qt3
# Install source for the designer tools, such as createcw.
cp -ra tools/designer/tools debian/qt3-designer/usr/share/qt3/tools
rm -f debian/qt3-designer/usr/share/qt3/tools/createcw/createcw
rm -rf debian/qt3-designer/usr/share/qt3/tools/createcw/.moc
rm -rf debian/qt3-designer/usr/share/qt3/tools/createcw/.obj
rm -f debian/qt3-designer/usr/share/qt3/tools/createcw/Makefile
rm -f debian/qt3-designer/usr/share/qt3/tools/conv2ui/conv2ui
rm -rf debian/qt3-designer/usr/share/qt3/tools/conv2ui/.moc
rm -rf debian/qt3-designer/usr/share/qt3/tools/conv2ui/.obj
rm -f debian/qt3-designer/usr/share/qt3/tools/conv2ui/Makefile
# run remaining debhelper scripts
dh_installdocs -a $(IBASE) -XREADME.Debian
dh_installmenu -a $(IBASE)
dh_installchangelogs -a $(IBASE) changes-3.3.8
dh_installchangelogs -a $(IBASE) changes-3.3.8b
dh_link -a $(IBASE)
dh_strip -a $(IBASE) --dbg-package=qt-x11-free-dbg
dh_compress -a $(IBASE)
dh_fixperms -a $(IBASE)
# run remaining debhelper scripts
dh_makeshlibs -a $(IBASE) -V
dh_installdeb -a $(IBASE)
dh_perl -a $(IBASE)
dh_shlibdeps -a $(IBASE) -l`pwd`/debian/libqt3-mt/usr/lib
# fix shlibdeps madness
for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done
# fix conffiles file for qt3-dev-tools-embedded
echo "/etc/qt3/qvfb/pda.skin" > `pwd`/debian/qt3-dev-tools-embedded/DEBIAN/conffiles
dh_gencontrol -a $(IBASE)
dh_md5sums -a $(IBASE)
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build build-arch binary-indep binary-arch binary install clean

@ -1,6 +0,0 @@
# Use xz instead of gzip
compression = "xz"
compression-level = 9
# Don't run differences
diff-ignore = .*

@ -1,277 +0,0 @@
Qt for Debian README
--------------------
1. Preface
This README is intended to give developers and users exact information
about how the qt-x11-free package provided by TrollTech AS has been packaged
for Debian in case you either want to faciliate it for development
of applications and libraries or plugins using the Qt class library. With
qt-x11-3.1.1, the Debian packages have been massively restructured to get
the most out of theoriginal Qt package and spit the contents up into
several packages so that they make the most sensefor several groups of
users; developers, application users, translators of Qt-based
applications and Debian packagers who are packaging applications developed
with Qt.2.
2. General Overview
As Qt is a huge package that contains a complete environment for
developers, it needs to be split up into several packages that make it
easier for everyone else to handle it and not to require
unnecessary disk space for end-users. Additionally, Qt can be configured
in several ways - and therefore also used in several ways. Qt development
usually requires the environment variable QTDIR. As Debian is placing
libraries and header files in a quite specific filesystem order, this
usually breaks setting a single environment variable to meet the
requirements of packages. Therefore, symlinks are used to set up the system
to meet both, the Debian filesystem standard and the QTDIR variable. All of
Qt (so the QTDIR path) is available in /usr/share/qt3. If you need to set
QTDIR, do export QTDIR=/usr/share/qt3
As far as the common build configuration goes, we note explicitely that the
Debian package of Qt will in very rare cases break the compilation (most
likely the linking) of applications on Debian which use Qt, in particular
utilizing styles in an incorrect way by deriving from one of the styles
that ship with Qt. In case you are a Debian packager and encounter
problems, contact Debian Qt/KDE Maintainers (debian-qt-kde@lists.debian.org).
We will tell you why things don't work and what you should communicate on
with the programmers of your application that you are packaging. The build
configuration generally is intended to provide a Qt version that is as
small as possible in terms of the memory size it requires. Therefore,
everything inside Qt that can be compiled as plugins has been compiled that
way. This includes:
- imageformats: jpeg and mng - codecs (for languages like arab, japanese
etc provided with Qt)
- sql drivers for databases (MySQL, ODBC and PostgreSQL)
The only exception is the imageformat png which has been compiled built-in
due to the fact that there is literally no program that uses no icons at
all and icons are to be used preferrably in png format. The plugins are all
located under /usr/lib/qt3/plugins. This is also the install location you
should choose as a package maintainer for
qt-plugins so the user doesn't have to customize his library path for
loading Qt plugins. The only exception is that KDE delivers a set of Qt
plugins as well (mainly styles and designer plugins); those are placed in
/usr/lib/trinity/plugins.
QMotif Extension: As this code is only available in commercial environments
(and produces a static library libqmotif.a anyway that those commercial
applications have to be linked against in addition to Qt), we left out all
header files of the libqt3-headers package that are belonging to this
QMotif extension.
Oracle Database driver, Sybase & Microsoft SQL Server driver: Those drivers
are only available in a commercial version of Qt due to license
incompatibilities with the GPL. If you need to faciliate those drivers,
please visit http://www.trolltech.com and have a read at
http://doc.trolltech.com/3.0/sql-driver.html.
3. Packages (End-User)
The Qt built has been split up into several packages that allow for easy
installation for all types of users. The End-user usually only requires to
have the following packages installed to run an application that links
against Qt:
Threaded version:libqt3-mt (the library libqt-mt.so.* and libqui.so.* for
loading designer-made user interfaces at runtime).
Optionally depending on the program's requirements:
libqt3-mt-odbc
libqt3-mt-mysql
libqt3-mt-psql
In addition to the libraries, it may make sense to install the program
qtconfig to customize the look and behaviorof Qt programs. If you have KDE
installed, the KDE control center will take this task automatically in most
cases. qtconfig is available in the package qt3-qtconfig.
Also, Qt programs can make use of the online-help tool that ships with Qt,
the Qt Assistant. The Assistant can be installed with the package
qt3-assistant.
Qt Configuration files
----------------------
Qt programs most often use QSettings to store their information in configuration
files. With Qt 3.2, the new option --sysconfdir has been introduced that allows
us to use /etc/qt3 as the system-wide location where qt-program specific global
configuration files can go. If you're a programmer that wants to get familiar with
that, please look at the examples, documentation and the code in designer or
assistant as well as qtconfig.
4. Packages (Package maintainers)
In addition to the library, a package maintainer will require an additional
set of packages to compile a package that requires Qt. Depending on the
version of the qt library, you will require a different set of packages;
the most common option should be to make your application link against the
multi-threaded version (-mt).Packages necessary for compiling Qt
applications from source:
libqt3-mt-dev (use libqt3-dev for linking against -lqt, this package only
contains the .so files and the header file for libqui.so)
libqt3-headers (header files for libqt and libqt-mt)
qt3-dev-tools (this package contains the tools uic and moc as well as
qmake, required for building Qt applications)
If, however, you encounter an older program not to compile with this set
read the FAQ at the end of this document.
5. Packages (Developers)
In addition to the packages that packagers require, a developer usually
will require the Qt API documentationas well as tools like the assistant,
linguist or designer. However, you should be fine with installing the API
documentation that you can browse with a webbrowser, optionally with the
assistant. They are available in /usr/share/doc/qt3-doc/html.
For a regular development environment, install qt3-designer and qt3-doc.
For faciliating Qt's extended environment to write plugins for the Qt
Designer or extend the Designer as well as utilizing the Qt Assistant by
calling it from within your program, install qt3-apps-dev, which contains
the static libraries and header files required for this functionality.
For Embedded Developers, the program qvfb (Qt Virtual Frambuffer) and
makeqpf (embedded fonts tool)have been packaged into
qt3-dev-tools-embedded. For developers that work on migrating their program
from any Qt version prior to Qt 3.x to the Qt 3.x platform you will find
additional tools in the qt3-dev-tools-compat.
For using the QTranslator class and where to find the qm-file for qt as
well as where to place your translations,see the next section.
If your program doesn't compile with those settings in case you have
started your project with Qt 1.x or 2.x, please read the FAQ section at the
end of this document.
5. Packages (Translators)
In order to translate a Qt program into any other language, the Qt 3 way to
do this is to let the developer create a ts-file containing the strings
that the program exposes on the user interface. The tools to create the
ts-file and to create the final qm (Q-message binary) file, lupdate and
lrelease, are included in qt3-dev-tools.The single translator that only
gets provided the ts file and has to return a translated ts file, it
is absolutely enough to install qt3-linguist; the package qt3-assistant can
be installed to access the online-help for the Qt Linguist itself.
In case you're converting an application using Qt prior to Qt 3, you may
want to uitilize the qt3-dev-tools-compat which include the necessary tools
to convert older qm files to the new ts file standard.
Locations of message translations:
Qt ships with a set of translations for the strings used inside Qt. Those
translations will be installed into /usr/share/qt3/translations (qm files
only), which equals $QTDIR/translations respectively
qInstallPath() + QString( "/translations" ).
The configure option --translationdir has been set to /usr/share/qt3/translations
accordingly since it was introduced in Qt 3.2.
To correctly enable your program to display the translations to the Qt
library and to load the translation of the program itself, we currently
suggest to either install your translations along with any other data files
into/usr/share/<appname>/, translation files into the subdirectory
translations (that is /usr/share/<appname>/translations) The code that your
application should use to load the Qt translation will have to look like
the following:
int main( int argc, char **argv )
{
QApplication app( argc, argv );
// translation file for Qt
QTranslator qt( 0 );
qt.load( QString( "qt_" ) + QTextCodec::locale(), qInstallPath() +
QString( "/translations" );
app.installTranslator( &qt );
// translation file for application strings
QTranslator myapp( 0 );
myapp.load( QString( "myapp_" ) + QTextCodec::locale(), "." );
// use a substitue for $prefix/share/appname/translations here
app.installTranslator( &myapp );
6. Frequently Asked Questions
Using Qt for Debian as a developer or packager
----------------------------------------------
Q: I want to compile a source package that utilizes qmake to build the
Makefiles. What do I need to do to makeit work ?
A: qmake requires two environment variables to be set, QTDIR and QMAKESPEC.
To make it work, do
export QTDIR=/usr/share/qt3
export QMAKESPEC=linux-g++
Then run qmake -o Makefile <projectfile>.pro
After that, the Makefile is correctly created to build your application on
Debian. As a packager, export thosetwo variables in the rules file before
calling qmake.
Q: I have an application that when linking gives me symbol referencing
errors to Q*Style. Why does my applicationnot link correctly ?
A: The author of the program is using the styles that ship with Qt directly
instead of using the QStylePlugin interface.If you are the author of the
program, change your program to use QStylePlugin. If you are a packager,
write to theauthor of the program that he is assuming that the styles
shipped with Qt are built-in to the library which is not the case on Debian
and that he please should fix this and use QStylePlugin.
Q: Where are all the examples and tutorials ? And how do I build them ?
A: Qt ships with examples and tutorials; so does the Linguist and Designer.
The tutorials and examples are compressed tarballs which you can unpack with
tar -zxvf into your home directory. Change into the qt3-examples directory
and run the provided ./build-examples script. All Qt examples and tutorials,
including those for designer and the linguist, will be compiled. You will
notice however, that those examples that inherit from style classes which
are not built-in into Qt but configured as a plugin will not compile due
to the fact that they can't link to the Qt library.
Q: I'm writing a pure Qt application and I want to ship it with a default
configuration file. Where does that global configuration file go if I make
use of the QSettings class ?
A: With qt-3.2.0, Trolltech has introduced a configure option to Qt called
--sysconfdir which we intentionally set to /etc/qt3 similar to /etc/trinity for
KDE programs. Install your application's system wide configuration file
to /etc/qt3.
Q: I'm compiling a program and I have a compile error due to a missing
include. Why isn't that include not present in the Debian packages anymore
? It compiled with older versions of Debian packages of Qt !
A: This may be due to two reasons: either the package still uses the old
includes from Qt 1.x or 2.x that got basically renamed by Trolltech due to
the naming convention. The filenames are now all following the scheme
ClassName -> classname.h.
Therefore, if you are the developer of the affected program, change your
sources according to this scheme. Qt ships with two tools, qt20fix and
qtrename140, to help developers migrate their API to the Qt 3 version,
which can help you in the transition upgrade to Qt 3.
If you are affected by this as a packager, notify upstream to fix those
problems and in the meanwhile use libqt3-compat-headers as a build
dependency which includes the compatibility headers that just include the
right files from the new API again.
Q: I have a question not covered by this FAQ and README file. Who should I
turn to ?
A: Please turn to Debian Qt/KDE Maintainers (debian-qt-kde@lists.debian.org)
for any questions regarding Qt on Debian.
-- Ralf Nolden <nolden@kde.org> Sun, 26 Jan 2003 20:39:19 +0100
-- Ralf Nolden <nolden@kde.org> Mon, 1 Sep 2003 19:24:16 +0200
-- Modestas Vainius <modestas@vainius.eu> Fri, 22 Feb 2008 01:40:06 +0200

File diff suppressed because it is too large Load Diff

@ -1,329 +0,0 @@
Source: qt-x11-free
Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana@debian.org>, Sune Vuorela <debian@pusling.com>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu>
Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4),
libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4),
libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4),
libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev,
libxcursor-dev, libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev,
libmng-dev (>= 1.0.3), libpng-dev, libfontconfig1-dev,
libfreetype6-dev, libxft-dev, unixodbc-dev, uuid-dev, libglib2.0-dev,
default-libmysqlclient-dev | libmysqlclient-dev, flex, libpq-dev, postgresql-server-dev-all (>= 117~) | libpq-dev (<< 9.3.3-2~), libaudio-dev, libcups2-dev,
libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsqlite3-dev,
firebird-dev | firebird2.1-dev [i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc armel] | firebird2-dev [i386 amd64]
Section: libs
Priority: optional
Standards-Version: 3.8.4
Homepage: http://www.trinitydesktop.org/
Package: libqt3-mt
Architecture: any
Section: libs
Replaces: libqt3-mt (<< 4:14.0.0~)
Breaks: libqt3-mt (<< 4:14.0.0~)
Depends: ${shlibs:Depends}, fontconfig
Recommends: libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libxmu6 (>= 4.3.0.dfsg.1-4)
Conflicts: libqt3c102-mt, libqui1-emb, libqt3c-mt
Suggests: libqt3-mt-psql, libqt3-mt-mysql, libqt3-mt-odbc
Description: Qt GUI Library (Threaded runtime version), Version 3
This is the Trolltech Qt library, version 3. It's necessary for
applications that link against the libqt-mt.so.3, e.g. all Trinity
applications.
Package: libqt3-mt-mysql
Architecture: any
Section: libs
Replaces: libqt3-mt-mysql (<< 4:14.0.0~)
Breaks: libqt3-mt-mysql (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-mysql, libqt3c-mt-mysql
Description: MySQL database driver for Qt3 (Threaded)
This package contains the threaded MySQL plugin for Qt3. Install it if
you intend to use or write Qt programs that are to access a MySQL DB.
Package: libqt3-mt-odbc
Architecture: any
Section: libs
Replaces: libqt3-mt-odbc (<< 4:14.0.0~)
Breaks: libqt3-mt-odbc (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-odbc, libqt3c-mt-odbc
Description: ODBC database driver for Qt3 (Threaded)
This package contains the threaded ODBC plugin for Qt3. Install it if
you intend to use or write Qt programs that are to access an ODBC DB.
Package: libqt3-mt-psql
Architecture: any
Section: libs
Replaces: libqt3-mt-psql (<< 4:14.0.0~)
Breaks: libqt3-mt-psql (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-psql, libqt3c-mt-psql
Description: PostgreSQL database driver for Qt3 (Threaded)
This package contains the threaded PostgreSQL plugin for Qt3.
Install it if you intend to use or write Qt programs that are
to access a PostgreSQL DB.
Package: libqt3-mt-ibase
Architecture: i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc
Section: libs
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-ibase
Replaces: libqt3c102-mt-ibase
Description: InterBase/FireBird database driver for Qt3 (Threaded)
This package contains the threaded InterBase/FireBird plugin
for Qt3. Install it if you intend to use or write Qt programs
that are to access an InterBase/FireBird DB.
Package: libqt3-mt-sqlite
Architecture: any
Section: libs
Replaces: libqt3-mt-sqlite (<< 4:14.0.0~)
Breaks: libqt3-mt-sqlite (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Conflicts: libqt3c102-mt-sqlite
Description: SQLite database driver for Qt3 (Threaded)
This package contains the threaded SQLite plugin for Qt3. Install
it if you intend to use or write Qt programs that are to access an
SQLite DB.
Package: libqt3-mt-sqlite3
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Description: SQLite3 database driver for Qt3 (Threaded)
This package contains the threaded SQLite3 plugin for Qt3. Install
it if you intend to use or write Qt programs that are to access an
SQLite3 DB.
Package: libqt3-mt-dev
Architecture: any
Section: libdevel
Replaces: libqt3-mt-dev (<< 4:14.0.0~)
Breaks: libqt3-mt-dev (<< 4:14.0.0~)
Depends: libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4),
libsm-dev (>= 4.3.0.dfsg.1-4), libxmu-dev (>= 4.3.0.dfsg.1-4),
libice-dev (>= 4.3.0.dfsg.1-4), libx11-dev (>= 4.3.0.dfsg.1-4),
libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, libxcursor-dev, uuid-dev,
libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev, libmng-dev (>= 1.0.3),
libpng-dev, libfontconfig1-dev, libfreetype6-dev,
libxft-dev, libaudio-dev, libcups2-dev, libgl1-mesa-dev | libgl-dev,
libglu1-mesa-dev | libglu-dev, libc6-dev, libqt3-mt (= ${binary:Version}),
libqt3-headers (= ${binary:Version}), qt3-dev-tools (= ${binary:Version})
Conflicts: libqt-mt-dev, libqt3-emb (<= 3:3.0.3-1), libqt3-dev
Recommends: libqt3-compat-headers
Suggests: libqt3-i18n, qt3-doc
Description: Qt development files (Threaded)
Qt is a C++ class library optimized for graphical user interface
development. This package contains the libqt-mt.so symlink, necessary
for building threaded Qt applications as well as the libqui.so symlink
and the necessary header files for libqui.so. (See README.Debian and
the Qt Documentation for instructions on libqui.so)
.
WARNING: If you plan to build some older Qt3 applications, you will
most probably have to install the libqt3-compat-headers package. It
contains all the headers which are not part of the official Qt3 API
anymore but which are still used by some programs. So if you encounter
problems with missing header files, please install this package first
before you send a bugreport.
Package: libqt3-headers
Architecture: any
Section: devel
Replaces: libqt3-headers (<< 4:14.0.0~)
Breaks: libqt3-headers (<< 4:14.0.0~)
Recommends: libqt3-mt-dev
Description: Qt3 header files
This package contains all header files for libqt and libqt-mt which come
with Qt3. If you want to compile or develop programs which use Qt3, you
have to install this package.
Package: libqt3-compat-headers
Architecture: any
Section: devel
Replaces: libqt3-compat-headers (<< 4:14.0.0~)
Breaks: libqt3-compat-headers (<< 4:14.0.0~)
Depends: libqt3-headers (= ${binary:Version})
Recommends: libqt3-mt-dev
Description: Qt 1.x and 2.x compatibility includes
This package contains header files that are intended for build
compatibility for applications that build with Qt3 but still use
deprecated includes. It is meant as an intermediate solution and
these header files are not part of the official Qt3 API.
All sourcecode that is still using the headers of this package is
subject to be changed to use the new header files which are in
libqt3-headers.
Package: qt3-dev-tools
Architecture: any
Section: devel
Replaces: qt3-dev-tools (<< 4:14.0.0~)
Breaks: qt3-dev-tools (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Recommends: libqt3-mt-dev
Conflicts: libqt-dev (<< 3:2.3.2-10), uic (<= 3:2.3.2-9)
Description: Qt3 development tools
This package contains all tools that are necessary to build programs
that are written using Qt3. These are: qmake, uic and moc.
For Qt3 development, you most likely want to install this package.
Package: qt3-designer
Architecture: any
Section: devel
Replaces: qt3-designer (<< 4:14.0.0~)
Breaks: qt3-designer (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Recommends: qt3-dev-tools
Suggests: qt3-assistant, qt3-doc
Conflicts: qt-designer (<= 3:2.3.2-9), qt-designer-doc
Description: Qt3 Designer
The Qt Designer is a GUI design program that interactively lets you
construct user interfaces for the Qt library. Additionally it lets you
create whole project and works together with the database drivers
provided by Qt to create applications with easy database access through
Qt. The resulting user interface files can then be converted to
C++ classes using the uic commandline utility which is usually done
automatically for the developer with a project management with qmake
or automake.
Package: qt3-apps-dev
Architecture: any
Section: devel
Replaces: qt3-apps-dev (<< 4:14.0.0~)
Breaks: qt3-apps-dev (<< 4:14.0.0~)
Depends: libqt3-mt-dev
Description: Qt3 Developer applications development files
This package is intended for developers who want to develop applications
using the additional static libraries that ship with the applications
included with Qt; the Qt Designer and the Qt Assistant.
It allows integrating additional enhancements into the Qt Designer
respectively faciliate the Qt Assistant from within your Qt application
to interactively call the Assistant for displaying online help that the
developer includes with his application.
Package: qt3-linguist
Architecture: any
Section: devel
Replaces: qt3-linguist (<< 4:14.0.0~)
Breaks: qt3-linguist (<< 4:14.0.0~)
Suggests: qt3-assistant
Depends: ${shlibs:Depends}
Description: The Qt3 Linguist
This package contains the Qt3 Linguist which provides translators a
tool perfect for translating any Qt-based application into other
languages and can be used and installed independently of any Qt
development files by the translator.
Package: qt3-assistant
Architecture: any
Section: x11
Replaces: qt3-assistant (<< 4:14.0.0~)
Breaks: qt3-assistant (<< 4:14.0.0~)
Depends: ${shlibs:Depends}, qt3-doc
Description: The Qt3 assistant application
This package contains the Qt3 Assistant, an easy to use frontend for
the complete Qt3 documentation and serves as an online help viewer for
any Qt program that wants to give the usesr access to online help.
Within the Qt tools it is used as the help viewer for the online help
for the Qt3 Designer and Linguist as well as qmake and the Qt 3 API
documentation.
.
Developers of Qt Application who want to faciliate the Qt Assistant for online
help display should refer to the README.Debian file for libqt3-mt-dev and
the package qt3-apps-dev.
Package: qt3-qtconfig
Architecture: any
Section: x11
Replaces: qt3-qtconfig (<< 4:14.0.0~)
Breaks: qt3-qtconfig (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: The Qt3 Configuration Application
The Qt Configuration program allows endusers to configure the look
and behavior of any Qt3 application. It is mostly only necessary
on systems which don't run TDE because the Trinity control center already
covers this configuration automatically for the users Qt3 applications
according to his desktop settings in TDE. However, if you need to run
CJK-fonts or other non-latin scripts, you will most likely want to
install this package.
Package: qt3-dev-tools-embedded
Architecture: any
Section: devel
Replaces: qt3-dev-tools-embedded (<< 4:14.0.0~)
Breaks: qt3-dev-tools-embedded (<< 4:14.0.0~)
Recommends: libqt3-mt-dev
Depends: ${shlibs:Depends}
Description: Tools to develop embedded Qt applications
This package contains applications only suitable for developing
applications with Qt Embedded and/or Qtopia. It provides the QVFB
program for simulating an embedded device desktop as well as makeqpf
for converting fonts to embedded fonts suitable for being utilized
by Qt Embedded applications.
Package: qt3-dev-tools-compat
Architecture: any
Section: devel
Replaces: qt3-dev-tools-compat (<< 4:14.0.0~)
Breaks: qt3-dev-tools-compat (<< 4:14.0.0~)
Recommends: libqt3-mt-dev
Depends: ${shlibs:Depends}
Description: Conversion utilities for Qt3 development
This package contains some older Qt tools (namely qt20fix qtrename140,
qm2ts, mergetr, findtr and msg2qm). These tools are needed only by
application developers who need to migrate any Qt application written
for Qt 1.x or 2.x over to Qt 3.x. The purpose of the tools are to
help fixing the changes with include file renaming as well as migrating
the message file format of Qt 2 translation files or any gettext-based
translation system to the Qt 3 system.
Package: libqt3-i18n
Architecture: all
Section: libs
Replaces: libqt3-i18n (<< 4:14.0.0~)
Breaks: libqt3-i18n (<< 4:14.0.0~)
Recommends: libqt3-mt
Description: i18n files for Qt3 library
This package contains the internationalization files for the Qt library.
Qt applications that are internationalized will need to depend on this package
for full internationalization support of the application towards the end user.
Package: qt3-doc
Architecture: all
Section: doc
Replaces: qt3-doc (<< 4:14.0.0~)
Breaks: qt3-doc (<< 4:14.0.0~)
Priority: extra
Suggests: libqt3-headers, qt3-assistant | www-browser
Description: Qt3 API documentation
This package contains the complete API documentation for Qt3.
Examples to coding are in qt3-examples. The documentation is provided
in HTML and manpage format; the HTML version can be viewed in conjunction
with the Qt Assistant.
Package: qt3-examples
Architecture: all
Section: doc
Replaces: qt3-examples (<< 4:14.0.0~)
Breaks: qt3-examples (<< 4:14.0.0~)
Priority: extra
Depends: libqt3-mt-dev (>= ${binary:Version})
Suggests: qt3-apps-dev
Description: Examples for Qt3
These are examples provided with Qt3. They may be especially useful for
you if you are learning to program in Qt as they cover quite a lot of
things that are possible with Qt3.
Package: qt-x11-free-dbg
Section: libdevel
Architecture: any
Replaces: qt-x11-free-dbg (<< 4:14.0.0~)
Breaks: qt-x11-free-dbg (<< 4:14.0.0~)
Priority: extra
Depends: libqt3-mt (= ${binary:Version}), gdb
Conflicts: libqt3-mt-dbg
Description: debugging symbols for qt-x11-free binaries
This package contains the debugging symbols associated with qt-x11-free.
They will automatically be used by gdb for debugging Qt-related
issues.

@ -1,145 +0,0 @@
This is Debian GNU/Linux's prepackaged version of the Qt GUI Development
library.
This package was put together originally by me, Heiko Schlittermann
<heiko@lotte.sax.de>, from the sources, which I obtained from
ftp.troll.no. The changes were very minimal to nothing, - merely
adding support for the Debian package maintenance scheme, by adding
various debian/* files and by changing the propagate script to fit the
Debian GNU/Linux filesystem structure.
This package has since been temporarily taken over by Ivan Moore
<rkrusty@debian.org> until Heiko has time to work on it all again.
In Jul 2002, Martin Loschwitz <madkiss@madkiss.org> overtook the package
maintenance for the QT3-packages.
This packaged is maintained inside the Debian Qt/KDE Maintainers Team
<debian-qt-kde@lists.debian.org> since Tue, 26 Jul 2005 19:06:03 +0200
Qt 3.3 is triple licensed under the QPL, GPL 2 and GPL 3.
It was downloaded from ftp://ftp.troll.no/qt/source
This file may be used under the terms of the GNU General
Public License versions 2.0 or 3.0 as published by the Free
Software Foundation and appearing in the files LICENSE.GPL2
and LICENSE.GPL3 included in the packaging of this file.
Alternatively you may (at your option) use any later version
of the GNU General Public License if such license has been
publicly approved by Trolltech ASA (or its successors, if any)
and the KDE Free Qt Foundation.
Please refer to /usr/share/common-licenses/GPL-2 for complete GPL 2
licence and /usr/share/common-licenses/GPL-3 for complete GPL 3
licence.
THE Q PUBLIC LICENSE
version 1.0
Copyright (C) 1999-2000 Troll Tech AS, Norway.
Everyone is permitted to copy and
distribute this license document.
The intent of this license is to establish freedom to share and change the
software regulated by this license under the open source model.
This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0. Such software is herein referred to as
the Software. This license covers modification and distribution of the
Software, use of third-party application programs based on the Software,
and development of free software which uses the Software.
Granted Rights
1. You are granted the non-exclusive rights set forth in this license
provided you agree to and comply with any and all conditions in this
license. Whole or partial distribution of the Software, or software
items that link with the Software, in any form signifies acceptance of
this license.
2. You may copy and distribute the Software in unmodified form provided
that the entire package, including - but not restricted to - copyright,
trademark notices and disclaimers, as released by the initial developer
of the Software, is distributed.
3. You may make modifications to the Software and distribute your
modifications, in a form that is separate from the Software, such as
patches. The following restrictions apply to modifications:
a. Modifications must not alter or remove any copyright notices in
the Software.
b. When modifications to the Software are released under this
license, a non-exclusive royalty-free right is granted to the
initial developer of the Software to distribute your modification
in future versions of the Software provided such versions remain
available under these terms in addition to any other license(s) of
the initial developer.
4. You may distribute machine-executable forms of the Software or
machine-executable forms of modified versions of the Software, provided
that you meet these restrictions:
a. You must include this license document in the distribution.
b. You must ensure that all recipients of the machine-executable forms
are also able to receive the complete machine-readable source code
to the distributed Software, including all modifications, without
any charge beyond the costs of data transfer, and place prominent
notices in the distribution explaining this.
c. You must ensure that all modifications included in the
machine-executable forms are available under the terms of this
license.
5. You may use the original or modified versions of the Software to
compile, link and run application programs legally developed by you
or by others.
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following
requirements:
a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete
machine-readable source code to the items without any charge
beyond the costs of data transfer.
b. You must explicitly license all recipients of your items to use
and re-distribute original and modified versions of the items in
both machine-executable and source code forms. The recipients must
be able to do so without any charges whatsoever, and they must be
able to re-distribute to anyone they choose.
c. If the items are not available to the general public, and the
initial developer of the Software requests a copy of the items,
then you must supply one.
Limitations of Liability
In no event shall the initial developers or copyright holders be liable
for any damages whatsoever, including - but not restricted to - lost
revenue or profits or other direct, indirect, special, incidental or
consequential damages, even if they have been advised of the possibility
of such damages, except to the extent invariable law, if any, provides
otherwise.
No Warranty
The Software and this license document are provided AS IS with NO WARRANTY
OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.
Choice of Law
This license is governed by the Laws of Norway. Disputes shall be settled
by Oslo City Court.
The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS.
You may use, distribute and copy the Qt GUI Toolkit under the terms of
GNU General Public License version 2, which is display below.

@ -1,54 +0,0 @@
usr/include/qt3/q1xcompatibility.h
usr/include/qt3/qapp.h
usr/include/qt3/qarray.h
usr/include/qt3/qbitarry.h
usr/include/qt3/qbttngrp.h
usr/include/qt3/qchkbox.h
usr/include/qt3/qclipbrd.h
usr/include/qt3/qcollect.h
usr/include/qt3/qcollection.h
usr/include/qt3/qcombo.h
usr/include/qt3/qconnect.h
usr/include/qt3/qdatetm.h
usr/include/qt3/qdrawutl.h
usr/include/qt3/qdstream.h
usr/include/qt3/qfiledef.h
usr/include/qt3/qfiledlg.h
usr/include/qt3/qfileinf.h
usr/include/qt3/qfontinf.h
usr/include/qt3/qfontmet.h
usr/include/qt3/qgrpbox.h
usr/include/qt3/qintcach.h
usr/include/qt3/qiodev.h
usr/include/qt3/qlcdnum.h
usr/include/qt3/qlined.h
usr/include/qt3/qlist.h
usr/include/qt3/qmenudta.h
usr/include/qt3/qmetaobj.h
usr/include/qt3/qmlined.h
usr/include/qt3/qmsgbox.h
usr/include/qt3/qmultilinedit.h
usr/include/qt3/qobjcoll.h
usr/include/qt3/qobjdefs.h
usr/include/qt3/qpaintd.h
usr/include/qt3/qpaintdc.h
usr/include/qt3/qpdevmet.h
usr/include/qt3/qpmcache.h
usr/include/qt3/qpntarry.h
usr/include/qt3/qpopmenu.h
usr/include/qt3/qprndlg.h
usr/include/qt3/qprogbar.h
usr/include/qt3/qprogdlg.h
usr/include/qt3/qpsprn.h
usr/include/qt3/qpushbt.h
usr/include/qt3/qqueue.h
usr/include/qt3/qradiobt.h
usr/include/qt3/qrangect.h
usr/include/qt3/qscrbar.h
usr/include/qt3/qsocknot.h
usr/include/qt3/qstack.h
usr/include/qt3/qtabdlg.h
usr/include/qt3/qtstream.h
usr/include/qt3/qvector.h
usr/include/qt3/qwidcoll.h
usr/include/qt3/qwindefs.h

@ -1,271 +0,0 @@
usr/include/qt3/private/*
usr/include/qt3/qabstractlayout.h
usr/include/qt3/qaccel.h
usr/include/qt3/qaccessible.h
usr/include/qt3/qaction.h
usr/include/qt3/qapplication.h
usr/include/qt3/qasciicache.h
usr/include/qt3/qasciidict.h
usr/include/qt3/qasyncimageio.h
usr/include/qt3/qasyncio.h
usr/include/qt3/qbig5codec.h
usr/include/qt3/qbitarray.h
usr/include/qt3/qbitmap.h
usr/include/qt3/qbrush.h
usr/include/qt3/qbuffer.h
usr/include/qt3/qbutton.h
usr/include/qt3/qbuttongroup.h
usr/include/qt3/qcache.h
usr/include/qt3/qcanvas.h
usr/include/qt3/qcdestyle.h
usr/include/qt3/qcheckbox.h
usr/include/qt3/qcleanuphandler.h
usr/include/qt3/qclipboard.h
usr/include/qt3/qcolor.h
usr/include/qt3/qcolordialog.h
usr/include/qt3/qcombobox.h
usr/include/qt3/qcommonstyle.h
usr/include/qt3/qcompactstyle.h
usr/include/qt3/qconnection.h
usr/include/qt3/qcstring.h
usr/include/qt3/qcursor.h
usr/include/qt3/qdatabrowser.h
usr/include/qt3/qdatastream.h
usr/include/qt3/qdatatable.h
usr/include/qt3/qdataview.h
usr/include/qt3/qdatetime.h
usr/include/qt3/qdatetimeedit.h
usr/include/qt3/qdeepcopy.h
usr/include/qt3/qdesktopwidget.h
usr/include/qt3/qdial.h
usr/include/qt3/qdialog.h
usr/include/qt3/qdict.h
usr/include/qt3/qdir.h
usr/include/qt3/qdns.h
usr/include/qt3/qdockarea.h
usr/include/qt3/qdockwindow.h
usr/include/qt3/qdom.h
usr/include/qt3/qdragobject.h
usr/include/qt3/qdrawutil.h
usr/include/qt3/qdropsite.h
usr/include/qt3/qeditorfactory.h
usr/include/qt3/qerrormessage.h
usr/include/qt3/qeucjpcodec.h
usr/include/qt3/qeuckrcodec.h
usr/include/qt3/qevent.h
usr/include/qt3/qeventloop.h
usr/include/qt3/qfeatures.h
usr/include/qt3/qfile.h
usr/include/qt3/qfiledialog.h
usr/include/qt3/qfileinfo.h
usr/include/qt3/qfocusdata.h
usr/include/qt3/qfont.h
usr/include/qt3/qfontdatabase.h
usr/include/qt3/qfontdialog.h
usr/include/qt3/qfontinfo.h
usr/include/qt3/qfontmetrics.h
usr/include/qt3/qframe.h
usr/include/qt3/qftp.h
usr/include/qt3/qgarray.h
usr/include/qt3/qgb18030codec.h
usr/include/qt3/qgbkcodec.h
usr/include/qt3/qgcache.h
usr/include/qt3/qgdict.h
usr/include/qt3/qgeneric.h
usr/include/qt3/qgif.h
usr/include/qt3/qglist.h
usr/include/qt3/qglobal.h
usr/include/qt3/qgplugin.h
usr/include/qt3/qgrid.h
usr/include/qt3/qgridview.h
usr/include/qt3/qgroupbox.h
usr/include/qt3/qguardedptr.h
usr/include/qt3/qgvector.h
usr/include/qt3/qhbox.h
usr/include/qt3/qhbuttongroup.h
usr/include/qt3/qheader.h
usr/include/qt3/qhgroupbox.h
usr/include/qt3/qhostaddress.h
usr/include/qt3/qhttp.h
usr/include/qt3/qiconset.h
usr/include/qt3/qiconview.h
usr/include/qt3/qimage.h
usr/include/qt3/qimageformatplugin.h
usr/include/qt3/qinputdialog.h
usr/include/qt3/qintcache.h
usr/include/qt3/qintdict.h
usr/include/qt3/qinterlacestyle.h
usr/include/qt3/qiodevice.h
usr/include/qt3/qjiscodec.h
usr/include/qt3/qjpegio.h
usr/include/qt3/qjpunicode.h
usr/include/qt3/qkeycode.h
usr/include/qt3/qkeysequence.h
usr/include/qt3/qlabel.h
usr/include/qt3/qlayout.h
usr/include/qt3/qlcdnumber.h
usr/include/qt3/qlibrary.h
usr/include/qt3/qlineedit.h
usr/include/qt3/qlistbox.h
usr/include/qt3/qlistview.h
usr/include/qt3/qlocale.h
usr/include/qt3/qlocalfs.h
usr/include/qt3/qmainwindow.h
usr/include/qt3/qmap.h
usr/include/qt3/qmemarray.h
usr/include/qt3/qmenubar.h
usr/include/qt3/qmenudata.h
usr/include/qt3/qmessagebox.h
usr/include/qt3/qmetaobject.h
usr/include/qt3/qmime.h
usr/include/qt3/qmngio.h
usr/include/qt3/qmotifstyle.h
usr/include/qt3/qmotifplusstyle.h
usr/include/qt3/qmovie.h
usr/include/qt3/qmultilineedit.h
usr/include/qt3/qmutex.h
usr/include/qt3/qnamespace.h
usr/include/qt3/qnetwork.h
usr/include/qt3/qnetworkprotocol.h
usr/include/qt3/qnp.h
usr/include/qt3/qobject.h
usr/include/qt3/qobjectcleanuphandler.h
usr/include/qt3/qobjectdefs.h
usr/include/qt3/qobjectdict.h
usr/include/qt3/qobjectlist.h
usr/include/qt3/qpaintdevice.h
usr/include/qt3/qpaintdevicedefs.h
usr/include/qt3/qpaintdevicemetrics.h
usr/include/qt3/qpainter.h
usr/include/qt3/qpair.h
usr/include/qt3/qpalette.h
usr/include/qt3/qpen.h
usr/include/qt3/qpicture.h
usr/include/qt3/qpixmap.h
usr/include/qt3/qpixmapcache.h
usr/include/qt3/qplatinumstyle.h
usr/include/qt3/qpngio.h
usr/include/qt3/qpoint.h
usr/include/qt3/qpointarray.h
usr/include/qt3/qpolygonscanner.h
usr/include/qt3/qpopupmenu.h
usr/include/qt3/qprintdialog.h
usr/include/qt3/qprinter.h
usr/include/qt3/qprocess.h
usr/include/qt3/qprogressbar.h
usr/include/qt3/qprogressdialog.h
usr/include/qt3/qptrcollection.h
usr/include/qt3/qptrdict.h
usr/include/qt3/qptrlist.h
usr/include/qt3/qptrqueue.h
usr/include/qt3/qptrstack.h
usr/include/qt3/qptrvector.h
usr/include/qt3/qpushbutton.h
usr/include/qt3/qradiobutton.h
usr/include/qt3/qrangecontrol.h
usr/include/qt3/qrect.h
usr/include/qt3/qregexp.h
usr/include/qt3/qregion.h
usr/include/qt3/qrtlcodec.h
usr/include/qt3/qscrollbar.h
usr/include/qt3/qscrollview.h
usr/include/qt3/qsemaphore.h
usr/include/qt3/qsemimodal.h
usr/include/qt3/qserversocket.h
usr/include/qt3/qsession.h
usr/include/qt3/qsessionmanager.h
usr/include/qt3/qsettings.h
usr/include/qt3/qsgistyle.h
usr/include/qt3/qshared.h
usr/include/qt3/qsignal.h
usr/include/qt3/qsignalmapper.h
usr/include/qt3/qsignalslotimp.h
usr/include/qt3/qsimplerichtext.h
usr/include/qt3/qsize.h
usr/include/qt3/qsizegrip.h
usr/include/qt3/qsizepolicy.h
usr/include/qt3/qsjiscodec.h
usr/include/qt3/qslider.h
usr/include/qt3/qsocket.h
usr/include/qt3/qsocketdevice.h
usr/include/qt3/qsocketnotifier.h
usr/include/qt3/qsortedlist.h
usr/include/qt3/qsound.h
usr/include/qt3/qspinbox.h
usr/include/qt3/qsplashscreen.h
usr/include/qt3/qsplitter.h
usr/include/qt3/qsql.h
usr/include/qt3/qsqlcursor.h
usr/include/qt3/qsqldatabase.h
usr/include/qt3/qsqldriver.h
usr/include/qt3/qsqldriverplugin.h
usr/include/qt3/qsqleditorfactory.h
usr/include/qt3/qsqlerror.h
usr/include/qt3/qsqlfield.h
usr/include/qt3/qsqlform.h
usr/include/qt3/qsqlindex.h
usr/include/qt3/qsqlpropertymap.h
usr/include/qt3/qsqlquery.h
usr/include/qt3/qsqlrecord.h
usr/include/qt3/qsqlresult.h
usr/include/qt3/qsqlselectcursor.h
usr/include/qt3/qstatusbar.h
usr/include/qt3/qstring.h
usr/include/qt3/qstringlist.h
usr/include/qt3/qstrlist.h
usr/include/qt3/qstrvec.h
usr/include/qt3/qstyle.h
usr/include/qt3/qstylefactory.h
usr/include/qt3/qstyleplugin.h
usr/include/qt3/qstylesheet.h
usr/include/qt3/qsyntaxhighlighter.h
usr/include/qt3/qt.h
usr/include/qt3/qtabbar.h
usr/include/qt3/qtabdialog.h
usr/include/qt3/qtable.h
usr/include/qt3/qtabwidget.h
usr/include/qt3/qtextbrowser.h
usr/include/qt3/qtextcodec.h
usr/include/qt3/qtextcodecfactory.h
usr/include/qt3/qtextcodecplugin.h
usr/include/qt3/qtextedit.h
usr/include/qt3/qtextstream.h
usr/include/qt3/qtextview.h
usr/include/qt3/qthread.h
usr/include/qt3/qthreadstorage.h
usr/include/qt3/qtimer.h
usr/include/qt3/qtl.h
usr/include/qt3/qtoolbar.h
usr/include/qt3/qtoolbox.h
usr/include/qt3/qtoolbutton.h
usr/include/qt3/qtooltip.h
usr/include/qt3/qtranslator.h
usr/include/qt3/qtsciicodec.h
usr/include/qt3/qurl.h
usr/include/qt3/qurlinfo.h
usr/include/qt3/qurloperator.h
usr/include/qt3/qutfcodec.h
usr/include/qt3/quuid.h
usr/include/qt3/qvalidator.h
usr/include/qt3/qvaluelist.h
usr/include/qt3/qvaluestack.h
usr/include/qt3/qvaluevector.h
usr/include/qt3/qvariant.h
usr/include/qt3/qvbox.h
usr/include/qt3/qvbuttongroup.h
usr/include/qt3/qvfbhdr.h
usr/include/qt3/qvgroupbox.h
usr/include/qt3/qwaitcondition.h
usr/include/qt3/qwhatsthis.h
usr/include/qt3/qwidget.h
usr/include/qt3/qwidgetintdict.h
usr/include/qt3/qwidgetlist.h
usr/include/qt3/qwidgetplugin.h
usr/include/qt3/qwidgetstack.h
usr/include/qt3/qwindowdefs.h
usr/include/qt3/qwindowsstyle.h
usr/include/qt3/qwinexport.h
usr/include/qt3/qwizard.h
usr/include/qt3/qwmatrix.h
usr/include/qt3/qworkspace.h
usr/include/qt3/qxml.h

@ -1,8 +0,0 @@
usr/share/qt3/translations/qt_ar.qm
usr/share/qt3/translations/qt_cs.qm
usr/share/qt3/translations/qt_de.qm
usr/share/qt3/translations/qt_es.qm
usr/share/qt3/translations/qt_fr.qm
usr/share/qt3/translations/qt_he.qm
usr/share/qt3/translations/qt_ru.qm
usr/share/qt3/translations/qt_sk.qm

@ -1,4 +0,0 @@
README
README.immodule
README-QT.TXT
PLATFORMS

@ -1,9 +0,0 @@
usr/lib/libqt-mt.la
usr/lib/libqt-mt.prl
usr/lib/libqt-mt.so
usr/lib/libqui.prl
usr/lib/libqui.so
usr/lib/pkgconfig/qt-mt.pc
usr/include/qt3/qgl.h
usr/include/qt3/qglcolormap.h
usr/include/qt3/qwidgetfactory.h

@ -1,7 +0,0 @@
/usr/lib/libqt-mt.la /usr/share/qt3/lib/libqt-mt.la
/usr/lib/libqui.prl /usr/share/qt3/lib/libqui.prl
/usr/lib/libqui.so.1.0.0 /usr/share/qt3/lib/libqui.so
/usr/lib/libqt-mt.prl /usr/share/qt3/lib/libqt-mt.prl
/usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so
/usr/include/qt3 /usr/share/qt3/include
/usr/lib/qt3/plugins /usr/share/qt3/plugins

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlibase.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlmysql.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlodbc.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlpsql.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlite.so

@ -1 +0,0 @@
usr/lib/qt3/plugins/sqldrivers/libqsqlite3.so

@ -1,4 +0,0 @@
README
README.immodule
README-QT.TXT
PLATFORMS

@ -1,6 +0,0 @@
usr/lib/libqt-mt.so.*
usr/lib/libqui.so.1.*
usr/lib/qt3/plugins/imageformats/libqmng.so
usr/lib/qt3/plugins/inputmethods/*.so
../../debian/qtrc etc/qt3/
../../debian/qt_plugins_3.3rc etc/qt3/

@ -1,5 +0,0 @@
/usr/lib/libqui.so.1.0.0 /usr/lib/libqui.so.1
/usr/lib/libqui.so.1.0.0 /usr/share/qt3/lib/libqui.so.1
/usr/lib/libqui.so.1.0.0 /usr/share/qt3/lib/libqui.so.1.0
/usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3
/usr/lib/libqt-mt.so.3.3.8 /usr/share/qt3/lib/libqt-mt.so.3.3

@ -1,9 +0,0 @@
#!/bin/sh
if [ "$1" = "purge" ]; then
if [ -d "/usr/share/doc/libqt3-mt/" ]; then
rm -rf /usr/share/doc/libqt3-mt/
fi
fi
#DEBHELPER#

@ -1,36 +0,0 @@
#!/bin/sh
BUILDDIR=$PWD
export QTDIR=/usr/share/qt3
# first copy over the libqt-mt.so build configuration of .qmake.cache
cp /usr/share/qt3/.qmake.cache ./.qmake.cache
# Now compile the examples. The themes example
# won't work since qconfig.h is not really correct with the
# ifdef's for the QT_NO_xyz_STYLE, so we use make -k to continue
cd examples; qmake -o Makefile examples.pro; make -k
# Now compile the tutorial.
cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
# Then the designer examples.
cd $BUILDDIR/tools/designer/examples
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
cd $a && qmake -o Makefile $a.pro; make; cd ..;
done
# There is a bigger sql example in book/ with more subdirectories:
cd book
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
cd $a && qmake -o Makefile $a.pro; make; cd ..;
done
# Finally, build the linguist tutorials:
cd $BUILDDIR/tools/linguist/tutorial
for a in `find . -type d -maxdepth 1 -mindepth 1`; do
cd $a && qmake -o Makefile $a.pro; make; cd ..;
done
# Return to the build directory
cd $BUILDDIR

@ -1,30 +0,0 @@
author: Martin Loschwitz <madkiss@madkiss.org>
Disables the rpath settings in qmake.conf
Index: b/mkspecs/linux-g++/qmake.conf
===================================================================
--- a/mkspecs/linux-g++/qmake.conf
+++ b/mkspecs/linux-g++/qmake.conf
@@ -55,7 +55,7 @@
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME = -Wl,-soname,
QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
+QMAKE_RPATH =
QMAKE_LIBS = -luuid
QMAKE_LIBS_DYNLOAD = -ldl
Index: b/mkspecs/linux-g++-64/qmake.conf
===================================================================
--- a/mkspecs/linux-g++-64/qmake.conf
+++ b/mkspecs/linux-g++-64/qmake.conf
@@ -58,7 +58,7 @@
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME = -Wl,-soname,
QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
+QMAKE_RPATH =
QMAKE_LIBS = -luuid
QMAKE_LIBS_DYNLOAD = -ldl

@ -1,16 +0,0 @@
--- a/mkspecs/linux-g++-64/qmake.conf
+++ b/mkspecs/linux-g++-64/qmake.conf
@@ -43,11 +43,11 @@ QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_T
QMAKE_INCDIR =
QMAKE_LIBDIR =
QMAKE_INCDIR_X11 = /usr/X11R6/include
-QMAKE_LIBDIR_X11 = /usr/X11R6/lib64
+QMAKE_LIBDIR_X11 = /usr/X11R6/lib
QMAKE_INCDIR_QT = $(QTDIR)/include
QMAKE_LIBDIR_QT = $(QTDIR)/lib64
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
-QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64
+QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
QMAKE_LINK = g++
QMAKE_LINK_SHLIB = g++

@ -1,50 +0,0 @@
author: Sune Vuorela <debian@pusling.com>
--- a/configure
+++ b/configure
@@ -34,7 +34,44 @@ SUPPORTED=
#-------------------------------------------------------------------------------
# need that throughout the script
-UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+DPKG_ARCH=`(dpkg-architecture -qDEB_HOST_ARCH) 2>/dev/null` || UNAME_MACHINE=unknown
+case $DPKG_ARCH in
+ amd64)
+ UNAME_MACHINE="x86_64"
+ ;;
+ arm)
+ UNAME_MACHINE="armv4l"
+ ;;
+ armel)
+ UNAME_MACHINE="armv5tel"
+ ;;
+ hppa)
+ UNAME_MACHINE="parisc64"
+ ;;
+ hurd-i386)
+ UNAME_MACHINE="i686-AT386"
+ ;;
+ i386)
+ UNAME_MACHINE="i686"
+ ;;
+ kfreebsd-amd64)
+ UNAME_MACHINE="x86_64"
+ ;;
+ kfreebsd-i386)
+ UNAME_MACHINE="i586"
+ ;;
+ mipsel)
+ UNAME_MACHINE="mips"
+ ;;
+ powerpc)
+ UNAME_MACHINE="ppc"
+ ;;
+ *)
+ UNAME_MACHINE="$DPKG_ARCH"
+ ;;
+
+
+esac
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown

@ -1,3 +0,0 @@
06_disable_rpath.diff
09_amd64_lib64.diff
72_dont_trust_uname-m_use_dpkg-arch_instead.diff

@ -1,4 +0,0 @@
usr/lib/libeditor.*
usr/lib/libdesignercore.*
usr/lib/libqassistantclient.*
usr/include/qt3/qassistantclient.h

@ -1,8 +0,0 @@
/usr/lib/libeditor.prl /usr/share/qt3/lib/libeditor.prl
/usr/lib/libeditor.a /usr/share/qt3/lib/libeditor.a
/usr/lib/libdesignercore.prl /usr/share/qt3/lib/libdesignercore.prl
/usr/lib/libdesignercore.a /usr/share/qt3/lib/libdesignercore.a
/usr/lib/libqassistantclient.prl /usr/share/qt3/lib/libqassistantclient.prl
/usr/lib/libqassistantclient.a /usr/share/qt3/lib/libqassistantclient.a
/usr/include/qt3 /usr/share/qt3/tools/designer/editor
/usr/include/qt3 /usr/share/qt3/tools/designer/interfaces

@ -1,5 +0,0 @@
usr/bin/assistant
usr/share/applications/assistant-qt3.desktop
usr/share/pixmaps/assistant-qt3.png
usr/share/qt3/doc/html/assistant*html
usr/share/qt3/doc/html/assistant*dcf

@ -1 +0,0 @@
/usr/bin/assistant-qt3 /usr/share/qt3/bin/assistant

@ -1,6 +0,0 @@
?package(qt3-assistant):\
needs="x11"\
section="Applications/Programming"\
hints="TDE"\
title="Qt3 Assistant"\
command="/usr/bin/assistant-qt3"

@ -1,8 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/assistant assistant "/usr/bin/assistant-qt3" "45" \
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove assistant "/usr/bin/assistant-qt3"
;;
esac
#DEBHELPER#

@ -1,10 +0,0 @@
usr/bin/designer
usr/bin/createcw
usr/bin/conv2ui
usr/share/applications/designer-qt3.desktop
usr/share/pixmaps/designer-qt3.png
usr/share/qt3/templates/*
usr/share/qt3/doc/html/designer*html
usr/share/qt3/doc/html/designer*dcf
usr/share/qt3/doc/html/designer*jpg
usr/lib/qt3/plugins/designer/*

@ -1 +0,0 @@
/usr/bin/designer-qt3 /usr/share/qt3/bin/designer

@ -1,7 +0,0 @@
?package(qt3-designer):\
needs="x11"\
section="Applications/Programming"\
hints="TDE"\
title="Qt3 Designer"\
command="/usr/bin/designer-qt3"

@ -1,10 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/designer designer "/usr/bin/designer-qt3" "45" \
--slave /usr/share/man/man1/designer.1.gz designer.1.gz \
"/usr/share/man/man1/designer-qt3.1.gz"
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove designer "/usr/bin/designer-qt3"
;;
esac
#DEBHELPER#

@ -1,6 +0,0 @@
usr/bin/qt20fix
usr/bin/qtrename140
usr/bin/qm2ts
usr/bin/mergetr
usr/bin/findtr
usr/bin/msg2qm

@ -1,2 +0,0 @@
/usr/bin/makeqpf /usr/share/qt3/bin/makeqpf
/usr/bin/qvfb /usr/share/qt3/bin/qvfb

@ -1,9 +0,0 @@
usr/share/qt3/mkspecs/*
usr/share/qt3/doc/html/qmake*html
usr/share/qt3/doc/html/qmake*dcf
usr/bin/qmake
usr/bin/lupdate
usr/bin/lrelease
usr/bin/uic
usr/bin/moc
usr/bin/qembed

@ -1,7 +0,0 @@
/usr/share/qt3/mkspecs/linux-g++ /usr/share/qt3/mkspecs/default
/usr/bin/qmake-qt3 /usr/share/qt3/bin/qmake
/usr/bin/lupdate-qt3 /usr/share/qt3/bin/lupdate
/usr/bin/lrelease-qt3 /usr/share/qt3/bin/lrelease
/usr/bin/uic-qt3 /usr/share/qt3/bin/uic
/usr/bin/moc-qt3 /usr/share/qt3/bin/moc
/usr/bin/qembed /usr/share/qt3/bin/qembed

@ -1,28 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/moc moc "/usr/bin/moc-qt3" "45" \
--slave /usr/share/man/man1/moc.1.gz moc.1.gz \
"/usr/share/man/man1/moc-qt3.1.gz"
update-alternatives --install \
/usr/bin/uic uic "/usr/bin/uic-qt3" "45" \
--slave /usr/share/man/man1/uic.1.gz uic.1.gz \
"/usr/share/man/man1/uic-qt3.1.gz"
update-alternatives --install \
/usr/bin/lupdate lupdate "/usr/bin/lupdate-qt3" "45" \
--slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
"/usr/share/man/man1/lupdate-qt3.1.gz"
update-alternatives --install \
/usr/bin/lrelease lrelease "/usr/bin/lrelease-qt3" "45" \
--slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
"/usr/share/man/man1/lrelease-qt3.1.gz"
update-alternatives --install \
/usr/bin/qmake qmake "/usr/bin/qmake-qt3" "45" \
#DEBHELPER#

@ -1,16 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove moc "/usr/bin/moc-qt3"
update-alternatives --remove uic "/usr/bin/uic-qt3"
update-alternatives --remove lupdate "/usr/bin/lupdate-qt3"
update-alternatives --remove lrelease "/usr/bin/lrelease-qt3"
update-alternatives --remove qmake "/usr/bin/qmake-qt3"
;;
esac
#DEBHELPER#

@ -1,11 +0,0 @@
Document: qt3-doc
Title: Qt Reference Documentation
Author: Troll Tech, The TDE Team
Abstract: Qt (TM) is a multi-platform C++ GUI toolkit. It is a product of
Troll Tech. It is supported on all major variants of Microsoft Windows and
Unix/X Windows.
Section: Apps/Programming
Format: HTML
Index: /usr/share/doc/qt3-doc/html/index.html
Files: /usr/share/doc/qt3-doc/html/*.html

@ -1,2 +0,0 @@
/usr/share/man/man3 /usr/share/qt3/doc/man/man3
/usr/share/qt3/doc/html /usr/share/doc/qt3-doc/html

@ -1,6 +0,0 @@
usr/bin/linguist
usr/share/applications/linguist-qt3.desktop
usr/share/pixmaps/linguist-qt3.png
usr/share/qt3/phrasebooks/*
usr/share/qt3/doc/html/linguist*html
usr/share/qt3/doc/html/linguist*dcf

@ -1 +0,0 @@
/usr/bin/linguist-qt3 /usr/share/qt3/bin/linguist

@ -1,6 +0,0 @@
?package(qt3-linguist):\
needs="x11"\
section="Applications/Programming"\
hints="TDE"\
title="Qt3 Linguist"\
command="/usr/bin/linguist-qt3"

@ -1,10 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/linguist linguist "/usr/bin/linguist-qt3" "45" \
--slave /usr/share/man/man1/linguist.1.gz linguist.1.gz \
"/usr/share/man/man1/linguist-qt3.1.gz"
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove linguist "/usr/bin/linguist-qt3"
;;
esac
#DEBHELPER#

@ -1,3 +0,0 @@
usr/bin/qtconfig
usr/share/applications/qt3config.desktop
usr/share/pixmaps/qt3config.png

@ -1 +0,0 @@
/usr/bin/qtconfig-qt3 /usr/share/qt3/bin/qtconfig

@ -1,8 +0,0 @@
?package(qt3-qtconfig):\
needs="x11"\
section="Applications/System/Administration"\
title="Qt3 Config"\
longtitle="Qt3 Configuration Utility"\
hints="Qt3 config tool"\
command="/usr/bin/qtconfig-qt3"

@ -1,10 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install \
/usr/bin/qtconfig qtconfig "/usr/bin/qtconfig-qt3" "45" \
--slave /usr/share/man/man1/qtconfig.1.gz qtconfig.1.gz \
"/usr/share/man/man1/qtconfig-qt3.1.gz"
#DEBHELPER#

@ -1,12 +0,0 @@
#!/bin/sh
set -e
case "$1" in
upgrade) ;;
remove|failed-upgrade|deconfigure)
update-alternatives --remove qtconfig "/usr/bin/qtconfig-qt3"
;;
esac
#DEBHELPER#

@ -1,4 +0,0 @@
[usr]
lib/trinity/plugins/styles/plastik.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-09-29T20:06:31^e
lib/qt3/plugins/imageformats/libqmng.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-08-25T18:22:18^e

@ -1,32 +0,0 @@
[3.3]
libraryPath=/usr/lib/trinity/plugins/
[General]
GUIEffects=general^eanimatecombo^e
embedFonts=true
enableXft=true
font=Sans Serif,9,-1,5,50,0,0,0,0,0
fontPath=\0
useXft=true
style=Plastik
[KDE]
contrast=7
kdeAddedLibraryPaths=/usr/lib/trinity/plugins/^e
[KWinPalette]
activeBackground=#1f26ad
activeBlend=#259bb8
activeForeground=#ffffff
activeTitleBtnBg=#e6e6e6
frame=#efefef
inactiveBackground=#cdcdcd
inactiveBlend=#ababab
inactiveForeground=#dddddd
inactiveFrame=#efefef
inactiveTitleBtnBg=#ebebeb
[Palette]
active=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e
disabled=#808080^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#c7c7c7^e#ffffff^e#808080^e#ffffff^e#efefef^e#000000^e#567594^e#ffffff^e#0000ee^e#52188b^e
inactive=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e

@ -1,477 +0,0 @@
#!/usr/bin/make -f
# build variables
export QTDIR=$(shell pwd)
# re-set $(LD_LIBRARY_PATH)
OLD_LD_LIBRARY_PATH := $(LD_LIBRARY_PATH)
export LD_LIBRARY_PATH=$(QTDIR)/lib:$(OLD_LD_LIBRARY_PATH)
# fix path
OLD_PATH := $(PATH)
export PATH=$(QTDIR)/bin:$(OLD_PATH)
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ifeq ($(DEB_HOST_ARCH_OS),hurd)
PLATFORM_ARG = hurd-g++
else #hurd
ifeq ($(DEB_HOST_ARCH),sparc)
PLATFORM_ARG = linux-g++-sparc
else #sparc
PLATFORM_ARG = linux-g++
endif #sparc
endif #hurd
# quilt stuff
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
P_LIBS = $(DEBIAN)/libqt3-mt
P_DOC = $(DEBIAN)/qt3-doc
P_APPSDEV = $(DEBIAN)/qt3-apps-dev
P_HEADERS = $(DEBIAN)/libqt3-headers
P_QTMTDEV = $(DEBIAN)/libqt3-mt-dev
TMP_INSTALL = $(DEBIAN)/tmp-install
CONFIGURE_OPTS = \
-prefix "/usr" \
-sysconfdir "/etc/qt3" \
-datadir "/usr/share/qt3" \
-headerdir "/usr/include/qt3" \
-docdir "/usr/share/qt3/doc" \
-plugindir "/usr/lib/qt3/plugins" \
-translationdir "/usr/share/qt3/translations" \
\
-thread \
-shared \
-fast \
-no-exceptions \
-platform $(PLATFORM_ARG) \
\
-nis \
-no-pch \
-cups \
-stl \
-ipv6 \
\
-sm \
-xshape \
-xinerama \
-xcursor \
-xrandr \
-xrender \
-xft \
-tablet \
-xkb \
\
-system-zlib \
-system-libpng \
-system-libmng \
-system-libjpeg \
-system-nas-sound \
\
-enable-opengl \
-dlopen-opengl \
\
-qt-gif \
-qt-imgfmt-png \
-qt-imgfmt-jpeg \
-plugin-imgfmt-mng \
\
-plugin-sql-odbc \
-plugin-sql-psql \
-plugin-sql-mysql \
-plugin-sql-ibase \
-plugin-sql-sqlite \
-plugin-sql-sqlite3 \
\
-I/usr/include/mysql \
-I/usr/include/freetype2 \
-I`pg_config --includedir` \
-I`pg_config --includedir-server` \
-L/usr/lib/$(DEB_HOST_MULTIARCH)\
\
-lfontconfig \
-inputmethod \
-glibmainloop \
# End of CONFIGURE_OPTS
interbase_archs := i386 amd64 sparc powerpc
ifneq ($(DEB_HOST_ARCH_CPU),$(findstring $(DEB_HOST_ARCH_CPU),$(interbase_archs)))
CONFIGURE_OPTS += -no-sql-ibase
IBASE = -Nlibqt3-mt-ibase
else
IBASE =
endif
ifeq ($(DEB_HOST_ARCH_OS),hurd)
CONFIGURE_OPTS += -no-sql-ibase
IBASE = -Nlibqt3-mt-ibase
endif
ifeq ($(DEB_HOST_ARCH),arm)
CONFIGURE_OPTS += -DQT_QLOCALE_USES_FCVT
endif
post-patches::
dh_testdir
build build-arch: libqt-thread-stamp
build-indep:
touch build-stamp
libqt-thread-stamp: post-patches
@echo "QTDIR is ${QTDIR}"
dh_testdir
echo yes | ./configure $(CONFIGURE_OPTS)
rm -rf include/qinputcontext.h include/qinputcontextfactory.h include/qinputcontextplugin.h
ln -s ../src/kernel/qinputcontext.h include/qinputcontext.h
ln -s ../src/inputmethod/qinputcontextfactory.h include/qinputcontextfactory.h
ln -s ../src/inputmethod/qinputcontextplugin.h include/qinputcontextplugin.h
# proceed
$(MAKE) sub-src sub-plugins sub-tools
$(MAKE) -C src INSTALL_ROOT=$(TMP_INSTALL) install_target
$(MAKE) INSTALL_ROOT=$(TMP_INSTALL) install
$(MAKE) INSTALL_ROOT=$(TMP_INSTALL) plugins-install
# archives get accidentally stripped by make install. Copy over unstripped ones for now.
-cp lib/lib*.a $(TMP_INSTALL)/usr/lib/
cp bin/qtrename140 $(TMP_INSTALL)/usr/bin/
cp bin/qt20fix $(TMP_INSTALL)/usr/bin/
cp bin/findtr $(TMP_INSTALL)/usr/bin/
# build conv2ui
cd tools/designer/tools/conv2ui && $(MAKE)
cp bin/conv2ui $(TMP_INSTALL)/usr/bin/conv2ui
# build qvfb
cd tools/qvfb/ && $(MAKE)
cp tools/qvfb/qvfb $(TMP_INSTALL)/usr/bin/qvfb
# install qmake.cache file
install -d $(P_QTMTDEV)/usr/share/qt3/
cat .qmake.cache | sed "s#$(QTDIR)#/usr/share/qt3#g" > $(P_QTMTDEV)/usr/share/qt3/.qmake.cache
# install qconfig.h for the mt
install -m 644 -D include/qconfig.h $(P_QTMTDEV)/usr/include/qt3/qconfig.h
install -m 644 -D include/qmodules.h $(P_QTMTDEV)/usr/include/qt3/qmodules.h
install -m 644 -D include/qinputcontext.h $(P_HEADERS)/usr/include/qt3/qinputcontext.h
install -m 644 -D include/qinputcontextfactory.h $(P_HEADERS)/usr/include/qt3/qinputcontextfactory.h
install -m 644 -D include/qinputcontextplugin.h $(P_HEADERS)/usr/include/qt3/qinputcontextplugin.h
touch libqt-thread-stamp
clean::
dh_testdir
-rm -rf debian/patched
-rm -rf build-stamp libqt-thread-stamp
-chmod -R u+w *
-chmod a-x doc/html/layout?.png
if [ -f "src/Makefile" ]; then \
$(MAKE) -C src clean; $(MAKE) -C plugins/src distclean; $(MAKE) -C tools distclean; \
$(MAKE) -C tools/makeqpf distclean; $(MAKE) -C tools/qconfig distclean; $(MAKE) -C tools/qvfb distclean; \
$(MAKE) -C tools/msg2qm distclean; $(MAKE) -C tools/mergetr distclean; $(MAKE) -C tools/qembed distclean; \
$(MAKE) -C tools/designer/tools/conv2ui distclean; $(MAKE) -C tools/designer/tools/createcw distclean; \
$(MAKE) -C tools/designer/plugins/glade distclean; $(MAKE) -C tools/designer/plugins/qglwidget distclean; \
$(MAKE) -C config.tests/unix/largefile distclean; $(MAKE) -C qmake distclean; \
fi
-rm -rf .qmake.cache src/.qmake.internal.cache tools/designer/designer/.qmake.internal.cache qmake/GNUmakefile \
config.status bin/moc bin/qmake src/moc/*.o mkspecs/default lib/lib* `pwd`/debian/doc $(TMP_INSTALL) \
src/tools/qconfig.cpp include/qconfig.h include/qmodules.h plugins/accessibleqtwidgets.prl \
config.tests/unix/ipv6/ipv6test config.tests/unix/ipv6/ipv6test.o config.tests/unix/ptrsize/ptrsizetest.o \
config.tests/unix/ptrsize/ptrsizetest config.tests/unix/endian/endiantest.o \
config.tests/unix/endian/endiantest lib/qt-mt.pc extensions/nsplugin/examples/trivial/libtrivial.prl \
extensions/nsplugin/examples/grapher/libgrapher.prl bin/designer
rm -f qmake/*o
rm -rf include/qinputcontext.h include/qinputcontextfactory.h include/qinputcontextplugin.h
rm -f src/.obj/debug-shared-mt/*o plugins/src/inputmethods/imsw-multi/.obj/debug-shared-mt/*o plugins/inputmethods/*so
rm -f plugins/src/inputmethods/imsw-none/.obj/debug-shared-mt/*o plugins/src/inputmethods/simple/.obj/debug-shared-mt/*o plugins/src/inputmethods/xim/.obj/debug-shared-mt/*o
# delete generated Makefiles but save the toplevel Makefile
-mv Makefile Makefile.save
for a in `find . -name 'Makefile'`; do rm -f "$$a"; done
-mv Makefile.save Makefile
cd examples/ && find . -name '.obj' | xargs rm -rf
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -i
dh_installdirs
# fix .prl files
for a in $(TMP_INSTALL)/usr/lib/*prl; do cat "$$a" | sed \
"s#$(QTDIR)#/usr/share/qt3#g" > "$$a".new && mv "$$a".new "$$a"; done
dh_install $(IBASE) --sourcedir=$(TMP_INSTALL)
## build qt3-doc package
# copy all docs there first
install -d $(P_DOC)/usr/share/qt3/doc/html/
for a in `cd $(TMP_INSTALL)/usr/share/qt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/qt3/doc/html/"$$a" $(P_DOC)/usr/share/qt3/doc/html/; done
#typo bugfix
sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/qt3/doc/html/qwidget.html
## build designer package documentation
# qt3-designer
install -d `pwd`/debian/qt3-designer/usr/share/qt3/doc/html/
for a in `cat doc/html/designer*.html doc/html/designer*.dcf | grep png | sed 's/^.*src=\"\([^\"]+\)\".*$$/\1/' | \
perl -pe 's#<\?p[^>]+>##' | tee outputfile | perl -ne '/<img [^>]*(src=\"[^"]+\")/; print $$1' | \
sed 's/src=//g' | sed 's/"/ /g'`; do cp doc/html/"$$a" `pwd`/debian/qt3-designer/usr/share/qt3/doc/html/ && \
rm -rf $(P_DOC)/usr/share/qt3/doc/html/"$$a" || true; done
rm -rf outputfile `pwd`/debian/qt3-designer/usr/share/qt3/doc/html/logo32.png
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/designer*
## build linguist package documentation
# qt3-linguist
install -d `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html/
for a in `cat doc/html/linguist*.html doc/html/linguist*.dcf | grep png | sed 's/^.*src=\"\([^\"]+\)\".*$$/\1/' | \
perl -pe 's#<\?p[^>]+>##' | tee outputfile | perl -ne '/<img [^>]*(src=\"[^"]+\")/; print $$1' | \
sed 's/src=//g' | sed 's/"/ /g'`; do cp doc/html/"$$a" `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html/ && \
rm -rf $(P_DOC)/usr/share/qt3/doc/html/"$$a" || true; done
rm -rf outputfile `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html/logo32.png
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/linguist*
## qt3-assistant
# remove docs from qt3-doc for qt-assistant
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/assistant*
## all packages
# install the overrides files
#for a in debian/overrides/*; do install -d debian/`echo "$$a" | sed 's/debian\/overrides\///g'`/usr/share/lintian/overrides; done
#for a in debian/overrides/*; do cp "$$a" debian/`echo "$$a" | sed 's/debian\/overrides\///g'`/usr/share/lintian/overrides/`echo "$$a" | sed 's/debian\/overrides\///g'`; done
chmod 644 debian/qt3-dev-tools/usr/share/qt3/mkspecs/aix-g++-64/qplatformdefs.h
chmod 644 debian/qt3-dev-tools/usr/share/qt3/mkspecs/macx-pbuilder/Info.plist.app
binary-indep: build install
# Build architecture-independent files here.
dh_testdir
dh_testroot
dh_installdocs -i -XREADME.Debian
dh_installchangelogs -i changes-3.3.8
dh_installchangelogs -i changes-3.3.8b
find doc/man -path \*/CVS -prune -o -print | cpio -pmd $(P_DOC)/usr/share/qt3/doc/
-rm -f `find $(P_DOC)/usr/share/qt3/doc/ -name "*.o"`
find $(P_DOC) -type f -perm +0100 | xargs --no-run-if-empty rm -f
install -d $(P_DOC)/usr/share/man/man3/
for i in $(P_DOC)/usr/share/qt3/doc/doc/man/man3/* ; do mv $$i $(P_DOC)/usr/share/man/man3/ ; done
-rm -rf $(P_DOC)/usr/share/qt3/doc/doc
# other i18n files
for a in `cd translations/ && find . -name 'qt_*.qm' | sed 's/qt_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D `pwd`/translations/qt_"$$a".qm `pwd`/debian/libqt3-i18n/usr/share/qt3/translations/qt_"$$a".qm; done
# logo32.png
cp `pwd`/doc/html/logo32.png `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/
# remove qmake html docu from qt3-doc
rm -rf `pwd`/debian/qt3-doc/usr/share/qt3/doc/html/qmake*
# create examples package
install -d `pwd`/debian/doc/qt3-examples/tools/designer
install -d `pwd`/debian/doc/qt3-examples/tools/linguist
cp -ax examples `pwd`/debian/doc/qt3-examples
cp -ax tutorial `pwd`/debian/doc/qt3-examples
cp -ax tools/designer/examples `pwd`/debian/doc/qt3-examples/tools/designer/
cp -ax tools/linguist/tutorial `pwd`/debian/doc/qt3-examples/tools/linguist/
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'tt1'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'tt2'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'tt3'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name '.moc'`; do rm -rf "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name '.obj'`; do rm -rf "$$a"; done
for a in `cd $(DEBIAN)/doc/qt3-examples/ && find $(DEBIAN)/doc/qt3-examples/ -name 'Makefile'`; do rm -f "$$a"; done
install -D `pwd`/debian/maintain/build-examples.sh `pwd`/debian/doc/qt3-examples/build-examples
chmod 755 `pwd`/debian/doc/qt3-examples/build-examples
cd `pwd`/debian/doc/ && tar cvvfz qt3-examples.tar.gz qt3-examples/
install -D `pwd`/debian/doc/qt3-examples.tar.gz `pwd`/debian/qt3-examples/usr/share/doc/qt3-examples/qt3-examples.tar.gz
# proceed
dh_compress -i -Xhtml/
dh_link -i
dh_fixperms -i
dh_installdeb -i
dh_perl -i
dh_shlibdeps -i
# fix shlibdeps madness
for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS)
binary-arch: build install
dh_testdir
dh_testroot
dh_installdirs -a
## create qt3-apps-dev-package
install -d $(P_APPSDEV)/usr/include/qt3/
cp `pwd`/tools/designer/interfaces/*.h $(P_APPSDEV)/usr/include/qt3/
cp `pwd`/tools/designer/editor/*.h $(P_APPSDEV)/usr/include/qt3/
rm -rf `pwd`/debian/qt3-apps-dev/usr/include/qt3/preferences.ui.h
## qvfb package
install -m644 -D `pwd`/tools/qvfb/pda.skin `pwd`/debian/qt3-dev-tools-embedded/etc/qt3/qvfb/pda.skin
install -m644 -D `pwd`/tools/qvfb/pda_down.png `pwd`/debian/qt3-dev-tools-embedded/usr/share/qvfb/pda_down.png
install -m644 -D `pwd`/tools/qvfb/pda_up.png `pwd`/debian/qt3-dev-tools-embedded/usr/share/qvfb/pda_up.png
# remove utterly ugle symlink
rm -rf `pwd`/debian/qt3-dev-tools//usr/share/qt3/mkspecs/linux-g++/linux-g++
# language file for linguist
install -d `pwd`/debian/qt3-linguist/usr/share/doc/qt3-linguist/
cp translations/template.ts `pwd`/debian/qt3-linguist/usr/share/doc/qt3-linguist/qt_untranslated.ts
# fix that stupid friggin professional file
perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' src/qt_professional.pri
## i18n files for designer, linguist and assistant
(cd `pwd`/tools/designer/designer/ && lrelease designer.pro)
for a in `cd tools/designer/designer/ && find . -name 'designer_*.qm' | sed 's/designer_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D tools/designer/designer/designer_"$$a".qm `pwd`/debian/qt3-designer/usr/share/qt3/translations/designer_"$$a".qm; done
rm -rf `pwd`/tools/designer/designer/*.qm
(cd `pwd`/tools/assistant/ && lrelease assistant.pro)
for a in `cd tools/assistant/ && find . -name 'assistant_*.qm' | sed 's/assistant_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D tools/assistant/assistant_"$$a".qm `pwd`/debian/qt3-assistant/usr/share/qt3/translations/assistant_"$$a".qm; done
rm -rf `pwd`/tools/assistant/*.qm `pwd`/debian/libqt3-i18n/usr/share/qt3/translations/assistant_de.qm
(cd `pwd`/tools/linguist/linguist/ && lrelease linguist.pro)
for a in `cd tools/linguist/linguist/ && find . -name 'linguist_*.qm' | sed 's/linguist_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \
install -m644 -D tools/linguist/linguist/linguist_"$$a".qm `pwd`/debian/qt3-linguist/usr/share/qt3/translations/linguist_"$$a".qm; done
rm -rf `pwd`/tools/linguist/linguist/*.qm
# include logo32 for every program
cd `pwd`/debian/qt3-designer/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-designer/g' > "$$a".new && mv "$$a".new "$$a"; done
cd `pwd`/debian/qt3-linguist/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-linguist/g' > "$$a".new && mv "$$a".new "$$a"; done
cd `pwd`/debian/qt3-assistant/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-assistant/g' > "$$a".new && mv "$$a".new "$$a"; done
cd `pwd`/debian/qt3-dev-tools/usr/share/qt3/doc/html && for a in `find . -name '*.html'`; \
do cat "$$a" | sed 's/logo32/logo32-qmake/g' > "$$a".new && mv "$$a".new "$$a"; done
for a in designer linguist assistant; do install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/qt3-"$$a"/usr/share/qt3/doc/html/logo32-"$$a".png; done
install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/qt3-dev-tools/usr/share/qt3/doc/html/logo32-qmake.png
# fix qmake.conf files
cd `pwd`/debian/qt3-dev-tools/usr/share/qt3/mkspecs/ && for a in *; do cd "$$a" && cat qmake.conf | sed 's/\$$(QTDIR)\/include/\/usr\/share\/qt3\/include/g' | sed 's/\$$(QTDIR)/\/usr\/share\/qt3/g' | \
sed 's/\-I\/usr\/include/&\/qt3/g' >> qmake.conf.new && mv qmake.conf.new qmake.conf && cd ../; done
# build attic package and copy it to libqt3-ompat-headers
cd `pwd`/src/ && tar cvvfz attic.tar.gz attic/
install -D `pwd`/src/attic.tar.gz `pwd`/debian/libqt3-compat-headers/usr/share/doc/libqt3-compat-headers/attic.tar.gz
rm -rf `pwd`/src/attic.tar.gz
# rename some binaries to make qt3/4 installations possible
mv `pwd`/debian/qt3-designer/usr/bin/designer `pwd`/debian/qt3-designer/usr/bin/designer-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/uic `pwd`/debian/qt3-dev-tools/usr/bin/uic-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/moc `pwd`/debian/qt3-dev-tools/usr/bin/moc-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/lupdate `pwd`/debian/qt3-dev-tools/usr/bin/lupdate-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/lrelease `pwd`/debian/qt3-dev-tools/usr/bin/lrelease-qt3
mv `pwd`/debian/qt3-dev-tools/usr/bin/qmake `pwd`/debian/qt3-dev-tools/usr/bin/qmake-qt3
mv `pwd`/debian/qt3-qtconfig/usr/bin/qtconfig `pwd`/debian/qt3-qtconfig/usr/bin/qtconfig-qt3
mv `pwd`/debian/qt3-assistant/usr/bin/assistant `pwd`/debian/qt3-assistant/usr/bin/assistant-qt3
mv `pwd`/debian/qt3-linguist/usr/bin/linguist `pwd`/debian/qt3-linguist/usr/bin/linguist-qt3
install -D doc/man/man1/moc.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/moc-qt3.1
install -D doc/man/man1/uic.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/uic-qt3.1
install -D doc/man/man1/lrelease.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/lrelease-qt3.1
install -D doc/man/man1/lupdate.1 `pwd`/debian/qt3-dev-tools/usr/share/man/man1/lupdate-qt3.1
dh_link -pqt3-designer usr/share/qt3/doc/html usr/share/doc/qt3-designer/html
dh_link -pqt3-assistant usr/share/qt3/doc/html usr/share/doc/qt3-assistant/html
dh_link -pqt3-linguist usr/share/qt3/doc/html usr/share/doc/qt3-linguist/html
dh_link -pqt3-dev-tools usr/share/qt3/doc/html usr/share/doc/qt3-dev-tools/html
# copy README.Debian
for a in libqt3-mt-dev libqt3-mt qt3-doc; do install -D `pwd`/debian/README.Debian `pwd`/debian/"$$a"/usr/share/doc/"$$a"/README.Debian; done
# install the qmake binary
rm -rf `pwd`/debian/qt3-dev-tools/usr/bin/qmake
install -D `pwd`/qmake/qmake `pwd`/debian/qt3-dev-tools/usr/bin/qmake-qt3
# Install source for the designer tools, such as createcw.
cp -ra tools/designer/tools debian/qt3-designer/usr/share/qt3/tools
rm -f debian/qt3-designer/usr/share/qt3/tools/createcw/createcw
rm -rf debian/qt3-designer/usr/share/qt3/tools/createcw/.moc
rm -rf debian/qt3-designer/usr/share/qt3/tools/createcw/.obj
rm -f debian/qt3-designer/usr/share/qt3/tools/createcw/Makefile
rm -f debian/qt3-designer/usr/share/qt3/tools/conv2ui/conv2ui
rm -rf debian/qt3-designer/usr/share/qt3/tools/conv2ui/.moc
rm -rf debian/qt3-designer/usr/share/qt3/tools/conv2ui/.obj
rm -f debian/qt3-designer/usr/share/qt3/tools/conv2ui/Makefile
# run remaining debhelper scripts
dh_installdocs -a $(IBASE) -XREADME.Debian
dh_installmenu -a $(IBASE)
dh_installchangelogs -a $(IBASE) changes-3.3.8
dh_installchangelogs -a $(IBASE) changes-3.3.8b
dh_link -a $(IBASE)
dh_strip -a $(IBASE) --dbg-package=qt-x11-free-dbg
dh_compress -a $(IBASE)
dh_fixperms -a $(IBASE)
# run remaining debhelper scripts
dh_makeshlibs -a $(IBASE) -V
dh_installdeb -a $(IBASE)
dh_perl -a $(IBASE)
dh_shlibdeps -a $(IBASE) -l`pwd`/debian/libqt3-mt/usr/lib
# fix shlibdeps madness
for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done
# fix conffiles file for qt3-dev-tools-embedded
echo "/etc/qt3/qvfb/pda.skin" > `pwd`/debian/qt3-dev-tools-embedded/DEBIAN/conffiles
dh_gencontrol -a $(IBASE)
dh_md5sums -a $(IBASE)
dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS)
binary: binary-indep binary-arch
.PHONY: build build-arch binary-indep binary-arch binary install clean

@ -1,6 +0,0 @@
# Use xz instead of gzip
compression = "xz"
compression-level = 9
# Don't run differences
diff-ignore = .*
Loading…
Cancel
Save