DilOS: Add package tqt3

Signed-off-by: Denis Kozadaev <denis@dilos.org>
pull/22/head
Denis Kozadaev 5 years ago committed by Slávek Banko
parent d6186b70e9
commit 9e40aca75e

@ -0,0 +1,277 @@
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 retquire
unnecessary disk space for end-users. Additionally, Qt can be configured
in several ways - and therefore also used in several ways. Qt development
usually retquires the environment variable QTDIR. As Debian is placing
libraries and header files in a tquite specific filesystem order, this
usually breaks setting a single environment variable to meet the
retquirements 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/tqt3. If you need to set
QTDIR, do export QTDIR=/usr/share/tqt3
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 retquires. 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/tqt3/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 libtqt3-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 retquires to
have the following packages installed to run an application that links
against Qt:
Threaded version:libtqt3-mt (the library libtqt-mt.so.* and libtqui.so.* for
loading designer-made user interfaces at runtime).
Optionally depending on the program's retquirements:
libtqt3-mt-odbc
libtqt3-mt-mysql
libtqt3-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 tqt3-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/tqt3 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 retquire an additional
set of packages to compile a package that retquires Qt. Depending on the
version of the qt library, you will retquire 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:
libtqt3-mt-dev (use libtqt3-dev for linking against -lqt, this package only
contains the .so files and the header file for libtqui.so)
libtqt3-headers (header files for libqt and libtqt-mt)
qt3-dev-tools (this package contains the tools uic and moc as well as
qmake, retquired 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 retquire, a developer usually
will retquire 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/tqt3-doc/html.
For a regular development environment, install tqt3-designer and tqt3-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 tqt3-apps-dev, which contains
the static libraries and header files retquired for this functionality.
For Embedded Developers, the program tqvfb (Qt Virtual Frambuffer) and
maketqpf (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 tqt3-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 tqt3-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 tqt3-linguist; the package tqt3-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 tqt3-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/tqt3/translations (qm files
only), which equals $QTDIR/translations respectively
qInstallPath() + QString( "/translations" ).
The configure option --translationdir has been set to /usr/share/tqt3/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 retquires two environment variables to be set, QTDIR and QMAKESPEC.
To make it work, do
export QTDIR=/usr/share/tqt3
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 tqt3-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/tqt3 similar to /etc/trinity for
KDE programs. Install your application's system wide configuration file
to /etc/tqt3.
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 tqtrename140, a tool 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 libtqt3-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

@ -0,0 +1,11 @@
tqt-x11-free (3:3.3.8-d-0ubuntu0+dilos1) unstable; urgency=low
* Build for DilOS.
-- DilOS Team <dilos@dilos.org> Sat, 24 Aug 2019 21:29:22 +0300
tqt-x11-free (3:3.3.8-d-0ubuntu0) maverick; urgency=low
* Upload of 3.3.8d (working revision) from GIT
-- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 22 Jul 2011 16:40:00 -0600

@ -0,0 +1,361 @@
Source: tqt-x11-free
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
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 [!solaris-any] | firebird2.1-dev [i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc armel !solaris-any] | firebird2-dev [i386 amd64 !solaris-any]
Section: libs
Priority: optional
Standards-Version: 3.8.4
Homepage: http://www.trinitydesktop.org
Package: libtqt3-mt
Architecture: any
Multi-Arch: same
Section: libs
Replaces: libtqt3-mt (<< 4:14.0.0~)
Breaks: libtqt3-mt (<< 4:14.0.0~)
Depends: libtqt3-mt-data (= ${binary:Version}), ${shlibs:Depends}, fontconfig
Recommends: libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libxmu6 (>= 4.3.0.dfsg.1-4)
Suggests: libtqt3-mt-psql, libtqt3-mt-mysql, libtqt3-mt-odbc
Description: TQt GUI Library (Threaded runtime version), Version 3
This is the Trolltech TQt library, version 3. It's necessary for
applications that link against the libtqt-mt.so.3, e.g. all Trinity
applications.
Package: libtqt3-mt-data
Architecture: all
Multi-Arch: foreign
Section: libs
Conflicts: libtqt3-mt (<< 4:14.1.0~)
Depends: ${shlibs:Depends}
Description: Data for TQt GUI Library (Threaded runtime version), Version 3
This is the Trolltech TQt library, version 3. It's necessary for
applications that link against the libtqt-mt.so.3, e.g. all Trinity
applications.
Package: libtqt3-mt-mysql
Architecture: any
Multi-Arch: same
Section: libs
Replaces: libtqt3-mt-mysql (<< 4:14.0.0~)
Breaks: libtqt3-mt-mysql (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: MySQL database driver for TQt3 (Threaded)
This package contains the threaded MySQL plugin for TQt3. Install it if
you intend to use or write TQt programs that are to access a MySQL DB.
Package: libtqt3-mt-odbc
Architecture: any
Multi-Arch: same
Section: libs
Replaces: libtqt3-mt-odbc (<< 4:14.0.0~)
Breaks: libtqt3-mt-odbc (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: ODBC database driver for TQt3 (Threaded)
This package contains the threaded ODBC plugin for TQt3. Install it if
you intend to use or write TQt programs that are to access an ODBC DB.
Package: libtqt3-mt-psql
Architecture: any
Multi-Arch: same
Section: libs
Replaces: libtqt3-mt-psql (<< 4:14.0.0~)
Breaks: libtqt3-mt-psql (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: PostgreSQL database driver for TQt3 (Threaded)
This package contains the threaded PostgreSQL plugin for TQt3.
Install it if you intend to use or write TQt programs that are
to access a PostgreSQL DB.
Package: libtqt3-mt-ibase
Architecture: i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc !solaris-any
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends}
Description: InterBase/FireBird database driver for TQt3 (Threaded)
This package contains the threaded InterBase/FireBird plugin
for TQt3. Install it if you intend to use or write TQt programs
that are to access an InterBase/FireBird DB.
Package: libtqt3-mt-sqlite
Architecture: any
Multi-Arch: same
Section: libs
Replaces: libtqt3-mt-sqlite (<< 4:14.0.0~)
Breaks: libtqt3-mt-sqlite (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: SQLite database driver for TQt3 (Threaded)
This package contains the threaded SQLite plugin for TQt3. Install
it if you intend to use or write TQt programs that are to access an
SQLite DB.
Package: libtqt3-mt-sqlite3
Architecture: any
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends}
Description: SQLite3 database driver for TQt3 (Threaded)
This package contains the threaded SQLite3 plugin for TQt3. Install
it if you intend to use or write TQt programs that are to access an
SQLite3 DB.
Package: libtqt3-mt-dev
Architecture: any
Multi-Arch: no
Section: libdevel
Replaces: libtqt3-mt-dev (<< 4:14.0.0~)
Breaks: libtqt3-mt-dev (<< 4:14.0.0~)
Conflicts: libtqt3-mt (<< 4:14.1.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, libgl1-mesa-dev | libgl-dev,
libglu1-mesa-dev | libglu-dev, libc6-dev, libtqt3-mt (= ${binary:Version}),
libtqt3-headers (= ${binary:Version}), tqt3-dev-tools (= ${binary:Version})
Recommends: libtqt3-compat-headers, libcups2-dev
Suggests: libtqt3-i18n, tqt3-doc
Description: TQt development files (Threaded)
TQt is a C++ class library optimized for graphical user interface
development. This package contains the libtqt-mt.so symlink, necessary
for building threaded TQt applications as well as the libtqui.so symlink
and the necessary header files for libtqui.so. (See README.Debian and
the TQt Documentation for instructions on libtqui.so)
.
WARNING: If you plan to build some older TQt3 applications, you will
most probably have to install the libtqt3-compat-headers package. It
contains all the headers which are not part of the official TQt3 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: libtqt3-headers
Architecture: all
Multi-Arch: foreign
Section: devel
Replaces: libtqt3-headers (<< 4:14.0.0~)
Breaks: libtqt3-headers (<< 4:14.0.0~)
Recommends: libtqt3-mt-dev
Description: TQt3 header files
This package contains all header files for libqt and libtqt-mt which come
with TQt3. If you want to compile or develop programs which use TQt3, you
have to install this package.
Package: libtqt3-compat-headers
Architecture: all
Multi-Arch: foreign
Section: devel
Replaces: libtqt3-compat-headers (<< 4:14.0.0~)
Breaks: libtqt3-compat-headers (<< 4:14.0.0~)
Depends: libtqt3-headers (= ${binary:Version})
Recommends: libtqt3-mt-dev
Description: TQt 1.x and 2.x compatibility includes
This package contains header files that are intended for build
compatibility for applications that build with TQt3 but still use
deprecated includes. It is meant as an intermediate solution and
these header files are not part of the official TQt3 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
libtqt3-headers.
Package: tqt3-dev-tools
Architecture: any
Multi-Arch: foreign
Section: devel
Replaces: tqt3-dev-tools (<< 4:14.0.0~)
Breaks: tqt3-dev-tools (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Recommends: libtqt3-mt-dev
Description: TQt3 development tools
This package contains all tools that are necessary to build programs
that are written using TQt3. These are: qmake, uic and moc.
For TQt3 development, you most likely want to install this package.
Package: tqt3-designer
Architecture: any
Multi-Arch: foreign
Section: devel
Replaces: tqt3-designer (<< 4:14.0.0~)
Breaks: tqt3-designer (<< 4:14.0.0~)
Depends: tqt3-designer-plugins (= ${binary:Version}), ${shlibs:Depends}
Recommends: tqt3-dev-tools
Suggests: tqt3-assistant, tqt3-doc
Description: TQt3 Designer
The TQt Designer is a GUI design program that interactively lets you
construct user interfaces for the TQt library. Additionally it lets you
create whole project and works together with the database drivers
provided by TQt to create applications with easy database access through
TQt. 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: tqt3-designer-plugins
Architecture: any
Multi-Arch: same
Section: devel
Conflicts: tqt3-designer (<< 4:14.1.0~)
Depends: ${shlibs:Depends}
Description: TQt3 Designer plugins
This package contains plugins for TQt3 Designer
Package: tqt3-apps-dev
Architecture: any
Multi-Arch: no
Section: devel
Replaces: tqt3-apps-dev (<< 4:14.0.0~)
Breaks: tqt3-apps-dev (<< 4:14.0.0~)
Depends: libtqt3-mt-dev
Description: TQt3 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 TQt; the TQt Designer and the TQt Assistant.
It allows integrating additional enhancements into the TQt Designer
respectively faciliate the TQt Assistant from within your TQt application
to interactively call the Assistant for displaying online help that the
developer includes with his application.
Package: tqt3-linguist
Architecture: any
Multi-Arch: foreign
Section: devel
Replaces: tqt3-linguist (<< 4:14.0.0~)
Breaks: tqt3-linguist (<< 4:14.0.0~)
Suggests: tqt3-assistant
Depends: ${shlibs:Depends}
Description: The TQt3 Linguist
This package contains the TQt3 Linguist which provides translators a
tool perfect for translating any TQt-based application into other
languages and can be used and installed independently of any TQt
development files by the translator.
Package: tqt3-assistant
Architecture: any
Multi-Arch: foreign
Section: x11
Replaces: tqt3-assistant (<< 4:14.0.0~)
Breaks: tqt3-assistant (<< 4:14.0.0~)
Depends: ${shlibs:Depends}, tqt3-doc
Description: The TQt3 assistant application
This package contains the TQt3 Assistant, an easy to use frontend for
the complete TQt3 documentation and serves as an online help viewer for
any TQt program that wants to give the usesr access to online help.
Within the TQt tools it is used as the help viewer for the online help
for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API
documentation.
.
Developers of TQt Application who want to faciliate the TQt Assistant for online
help display should refer to the README.Debian file for libtqt3-mt-dev and
the package tqt3-apps-dev.
Package: tqt3-qtconfig
Architecture: any
Multi-Arch: foreign
Section: x11
Replaces: tqt3-qtconfig (<< 4:14.0.0~)
Breaks: tqt3-qtconfig (<< 4:14.0.0~)
Depends: ${shlibs:Depends}
Description: The TQt3 Configuration Application
The TQt Configuration program allows endusers to configure the look
and behavior of any TQt3 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 TQt3 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: tqt3-dev-tools-embedded
Architecture: any
Multi-Arch: foreign
Section: devel
Replaces: tqt3-dev-tools-embedded (<< 4:14.0.0~)
Breaks: tqt3-dev-tools-embedded (<< 4:14.0.0~)
Recommends: libtqt3-mt-dev
Depends: ${shlibs:Depends}
Description: Tools to develop embedded TQt applications
This package contains applications only suitable for developing
applications with TQt Embedded and/or Qtopia. It provides the QVFB
program for simulating an embedded device desktop as well as maketqpf
for converting fonts to embedded fonts suitable for being utilized
by TQt Embedded applications.
Package: tqt3-dev-tools-compat
Architecture: any
Multi-Arch: foreign
Section: devel
Replaces: tqt3-dev-tools-compat (<< 4:14.0.0~)
Breaks: tqt3-dev-tools-compat (<< 4:14.0.0~)
Recommends: libtqt3-mt-dev
Depends: ${shlibs:Depends}
Description: Conversion utilities for TQt3 development
This package contains some older TQt tools (namely tqtrename140,
tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by
application developers who need to migrate any TQt application written
for TQt 1.x or 2.x over to TQt 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 TQt 2 translation files or any gettext-based
translation system to the TQt 3 system.
Package: libtqt3-i18n
Architecture: all
Multi-Arch: foreign
Section: libs
Replaces: libtqt3-i18n (<< 4:14.0.0~)
Breaks: libtqt3-i18n (<< 4:14.0.0~)
Recommends: libtqt3-mt
Description: i18n files for TQt3 library
This package contains the internationalization files for the TQt library.
TQt applications that are internationalized will need to depend on this package
for full internationalization support of the application towards the end user.
Package: tqt3-doc
Architecture: all
Multi-Arch: foreign
Section: doc
Replaces: tqt3-doc (<< 4:14.0.0~)
Breaks: tqt3-doc (<< 4:14.0.0~)
Priority: extra
Suggests: libtqt3-headers, tqt3-assistant | www-browser
Description: TQt3 API documentation
This package contains the complete API documentation for TQt3.
Examples to coding are in tqt3-examples. The documentation is provided
in HTML and manpage format; the HTML version can be viewed in conjunction
with the TQt Assistant.
Package: tqt3-examples
Architecture: all
Multi-Arch: foreign
Section: doc
Replaces: tqt3-examples (<< 4:14.0.0~)
Breaks: tqt3-examples (<< 4:14.0.0~)
Priority: extra
Depends: libtqt3-mt-dev (>= ${binary:Version})
Suggests: tqt3-apps-dev
Description: Examples for TQt3
These are examples provided with TQt3. They may be especially useful for
you if you are learning to program in TQt as they cover tquite a lot of
things that are possible with TQt3.
Package: tqt-x11-free-dbg
Section: libdevel
Architecture: linux-any
Multi-Arch: no
Replaces: tqt-x11-free-dbg (<< 4:14.0.0~)
Breaks: tqt-x11-free-dbg (<< 4:14.0.0~)
Priority: extra
Depends: libtqt3-mt (= ${binary:Version}), gdb
Description: debugging symbols for tqt-x11-free binaries
This package contains the debugging symbols associated with tqt-x11-free.
They will automatically be used by gdb for debugging TQt-related
issues.

@ -0,0 +1,145 @@
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
retquirements:
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.

@ -0,0 +1,49 @@
usr/include/tqt3/ntqapp.h
usr/include/tqt3/ntqarray.h
usr/include/tqt3/ntqbitarry.h
usr/include/tqt3/ntqbttngrp.h
usr/include/tqt3/ntqchkbox.h
usr/include/tqt3/ntqclipbrd.h
usr/include/tqt3/ntqcollect.h
usr/include/tqt3/ntqcollection.h
usr/include/tqt3/ntqcombo.h
usr/include/tqt3/ntqconnect.h
usr/include/tqt3/ntqdatetm.h
usr/include/tqt3/ntqdrawutl.h
usr/include/tqt3/ntqdstream.h
usr/include/tqt3/ntqfiledef.h
usr/include/tqt3/ntqfiledlg.h
usr/include/tqt3/ntqfileinf.h
usr/include/tqt3/ntqfontinf.h
usr/include/tqt3/ntqfontmet.h
usr/include/tqt3/ntqgrpbox.h
usr/include/tqt3/ntqintcach.h
usr/include/tqt3/ntqiodev.h
usr/include/tqt3/ntqlcdnum.h
usr/include/tqt3/ntqlined.h
usr/include/tqt3/ntqmenudta.h
usr/include/tqt3/ntqmetaobj.h
usr/include/tqt3/ntqmlined.h
usr/include/tqt3/ntqmsgbox.h
usr/include/tqt3/ntqmultilinedit.h
usr/include/tqt3/ntqobjcoll.h
usr/include/tqt3/ntqobjdefs.h
usr/include/tqt3/ntqpdevmet.h
usr/include/tqt3/ntqpmcache.h
usr/include/tqt3/ntqpntarry.h
usr/include/tqt3/ntqpopmenu.h
usr/include/tqt3/ntqprndlg.h
usr/include/tqt3/ntqprogbar.h
usr/include/tqt3/ntqprogdlg.h
usr/include/tqt3/ntqpsprn.h
usr/include/tqt3/ntqpushbt.h
usr/include/tqt3/ntqqueue.h
usr/include/tqt3/ntqradiobt.h
usr/include/tqt3/ntqrangect.h
usr/include/tqt3/ntqscrbar.h
usr/include/tqt3/ntqsocknot.h
usr/include/tqt3/ntqstack.h
usr/include/tqt3/ntqtabdlg.h
usr/include/tqt3/ntqtstream.h
usr/include/tqt3/ntqwidcoll.h
usr/include/tqt3/ntqwindefs.h

@ -0,0 +1,270 @@
usr/include/tqt3/private/*
usr/include/tqt3/ntqabstractlayout.h
usr/include/tqt3/ntqaccel.h
usr/include/tqt3/ntqaccessible.h
usr/include/tqt3/ntqaction.h
usr/include/tqt3/ntqapplication.h
usr/include/tqt3/ntqasciicache.h
usr/include/tqt3/ntqasciidict.h
usr/include/tqt3/ntqasyncimageio.h
usr/include/tqt3/ntqasyncio.h
usr/include/tqt3/ntqbig5codec.h
usr/include/tqt3/ntqbitarray.h
usr/include/tqt3/ntqbitmap.h
usr/include/tqt3/ntqbrush.h
usr/include/tqt3/ntqbuffer.h
usr/include/tqt3/ntqbutton.h
usr/include/tqt3/ntqbuttongroup.h
usr/include/tqt3/ntqcache.h
usr/include/tqt3/ntqcanvas.h
usr/include/tqt3/ntqcdestyle.h
usr/include/tqt3/ntqcheckbox.h
usr/include/tqt3/ntqcleanuphandler.h
usr/include/tqt3/ntqclipboard.h
usr/include/tqt3/ntqcolor.h
usr/include/tqt3/ntqcolordialog.h
usr/include/tqt3/ntqcombobox.h
usr/include/tqt3/ntqcommonstyle.h
usr/include/tqt3/ntqcompactstyle.h
usr/include/tqt3/ntqconnection.h
usr/include/tqt3/ntqcstring.h
usr/include/tqt3/ntqcursor.h
usr/include/tqt3/ntqdatabrowser.h
usr/include/tqt3/ntqdatastream.h
usr/include/tqt3/ntqdatatable.h
usr/include/tqt3/ntqdataview.h
usr/include/tqt3/ntqdatetime.h
usr/include/tqt3/ntqdatetimeedit.h
usr/include/tqt3/ntqdeepcopy.h
usr/include/tqt3/ntqdesktopwidget.h
usr/include/tqt3/ntqdial.h
usr/include/tqt3/ntqdialog.h
usr/include/tqt3/ntqdict.h
usr/include/tqt3/ntqdir.h
usr/include/tqt3/ntqdns.h
usr/include/tqt3/ntqdockarea.h
usr/include/tqt3/ntqdockwindow.h
usr/include/tqt3/ntqdom.h
usr/include/tqt3/ntqdragobject.h
usr/include/tqt3/ntqdrawutil.h
usr/include/tqt3/ntqdropsite.h
usr/include/tqt3/ntqeditorfactory.h
usr/include/tqt3/ntqerrormessage.h
usr/include/tqt3/ntqeucjpcodec.h
usr/include/tqt3/ntqeuckrcodec.h
usr/include/tqt3/ntqevent.h
usr/include/tqt3/ntqeventloop.h
usr/include/tqt3/ntqfeatures.h
usr/include/tqt3/ntqfile.h
usr/include/tqt3/ntqfiledialog.h
usr/include/tqt3/ntqfileinfo.h
usr/include/tqt3/ntqfocusdata.h
usr/include/tqt3/ntqfont.h
usr/include/tqt3/ntqfontdatabase.h
usr/include/tqt3/ntqfontdialog.h
usr/include/tqt3/ntqfontinfo.h
usr/include/tqt3/ntqfontmetrics.h
usr/include/tqt3/ntqframe.h
usr/include/tqt3/ntqftp.h
usr/include/tqt3/ntqgarray.h
usr/include/tqt3/ntqgb18030codec.h
usr/include/tqt3/ntqgbkcodec.h
usr/include/tqt3/ntqgcache.h
usr/include/tqt3/ntqgdict.h
usr/include/tqt3/ntqgeneric.h
usr/include/tqt3/ntqgif.h
usr/include/tqt3/ntqglist.h
usr/include/tqt3/ntqglobal.h
usr/include/tqt3/ntqgplugin.h
usr/include/tqt3/ntqgrid.h
usr/include/tqt3/ntqgridview.h
usr/include/tqt3/ntqgroupbox.h
usr/include/tqt3/ntqguardedptr.h
usr/include/tqt3/ntqgvector.h
usr/include/tqt3/ntqhbox.h
usr/include/tqt3/ntqhbuttongroup.h
usr/include/tqt3/ntqheader.h
usr/include/tqt3/ntqhgroupbox.h
usr/include/tqt3/ntqhostaddress.h
usr/include/tqt3/ntqhttp.h
usr/include/tqt3/ntqiconset.h
usr/include/tqt3/ntqiconview.h
usr/include/tqt3/ntqimage.h
usr/include/tqt3/ntqimageformatplugin.h
usr/include/tqt3/ntqinputdialog.h
usr/include/tqt3/ntqintcache.h
usr/include/tqt3/ntqintdict.h
usr/include/tqt3/ntqinterlacestyle.h
usr/include/tqt3/ntqiodevice.h
usr/include/tqt3/ntqjiscodec.h
usr/include/tqt3/ntqjpegio.h
usr/include/tqt3/ntqjpunicode.h
usr/include/tqt3/ntqkeycode.h
usr/include/tqt3/ntqkeysequence.h
usr/include/tqt3/ntqlabel.h
usr/include/tqt3/ntqlayout.h
usr/include/tqt3/ntqlcdnumber.h
usr/include/tqt3/ntqlibrary.h
usr/include/tqt3/ntqlineedit.h
usr/include/tqt3/ntqlistbox.h
usr/include/tqt3/ntqlistview.h
usr/include/tqt3/ntqlocale.h
usr/include/tqt3/ntqlocalfs.h
usr/include/tqt3/ntqmainwindow.h
usr/include/tqt3/ntqmap.h
usr/include/tqt3/ntqmemarray.h
usr/include/tqt3/ntqmenubar.h
usr/include/tqt3/ntqmenudata.h
usr/include/tqt3/ntqmessagebox.h
usr/include/tqt3/ntqmetaobject.h
usr/include/tqt3/ntqmime.h
usr/include/tqt3/ntqmngio.h
usr/include/tqt3/ntqmotifstyle.h
usr/include/tqt3/ntqmotifplusstyle.h
usr/include/tqt3/ntqmovie.h
usr/include/tqt3/ntqmultilineedit.h
usr/include/tqt3/ntqmutex.h
usr/include/tqt3/ntqnamespace.h
usr/include/tqt3/ntqnetwork.h
usr/include/tqt3/ntqnetworkprotocol.h
usr/include/tqt3/ntqnp.h
usr/include/tqt3/ntqobject.h
usr/include/tqt3/ntqobjectcleanuphandler.h
usr/include/tqt3/ntqobjectdefs.h
usr/include/tqt3/ntqobjectdict.h
usr/include/tqt3/ntqobjectlist.h
usr/include/tqt3/ntqpaintdevice.h
usr/include/tqt3/ntqpaintdevicemetrics.h
usr/include/tqt3/ntqpainter.h
usr/include/tqt3/ntqpair.h
usr/include/tqt3/ntqpalette.h
usr/include/tqt3/ntqpen.h
usr/include/tqt3/ntqpicture.h
usr/include/tqt3/ntqpixmap.h
usr/include/tqt3/ntqpixmapcache.h
usr/include/tqt3/ntqplatinumstyle.h
usr/include/tqt3/ntqpngio.h
usr/include/tqt3/ntqpoint.h
usr/include/tqt3/ntqpointarray.h
usr/include/tqt3/ntqpolygonscanner.h
usr/include/tqt3/ntqpopupmenu.h
usr/include/tqt3/ntqprintdialog.h
usr/include/tqt3/ntqprinter.h
usr/include/tqt3/ntqprocess.h
usr/include/tqt3/ntqprogressbar.h
usr/include/tqt3/ntqprogressdialog.h
usr/include/tqt3/ntqptrcollection.h
usr/include/tqt3/ntqptrdict.h
usr/include/tqt3/ntqptrlist.h
usr/include/tqt3/ntqptrqueue.h
usr/include/tqt3/ntqptrstack.h
usr/include/tqt3/ntqptrvector.h
usr/include/tqt3/ntqpushbutton.h
usr/include/tqt3/ntqradiobutton.h
usr/include/tqt3/ntqrangecontrol.h
usr/include/tqt3/ntqrect.h
usr/include/tqt3/ntqregexp.h
usr/include/tqt3/ntqregion.h
usr/include/tqt3/ntqrtlcodec.h
usr/include/tqt3/ntqscrollbar.h
usr/include/tqt3/ntqscrollview.h
usr/include/tqt3/ntqsemaphore.h
usr/include/tqt3/ntqsemimodal.h
usr/include/tqt3/ntqserversocket.h
usr/include/tqt3/ntqsession.h
usr/include/tqt3/ntqsessionmanager.h
usr/include/tqt3/ntqsettings.h
usr/include/tqt3/ntqsgistyle.h
usr/include/tqt3/ntqshared.h
usr/include/tqt3/ntqsignal.h
usr/include/tqt3/ntqsignalmapper.h
usr/include/tqt3/ntqsignalslotimp.h
usr/include/tqt3/ntqsimplerichtext.h
usr/include/tqt3/ntqsize.h
usr/include/tqt3/ntqsizegrip.h
usr/include/tqt3/ntqsizepolicy.h
usr/include/tqt3/ntqsjiscodec.h
usr/include/tqt3/ntqslider.h
usr/include/tqt3/ntqsocket.h
usr/include/tqt3/ntqsocketdevice.h
usr/include/tqt3/ntqsocketnotifier.h
usr/include/tqt3/ntqsortedlist.h
usr/include/tqt3/ntqsound.h
usr/include/tqt3/ntqspinbox.h
usr/include/tqt3/ntqsplashscreen.h
usr/include/tqt3/ntqsplitter.h
usr/include/tqt3/ntqsql.h
usr/include/tqt3/ntqsqlcursor.h
usr/include/tqt3/ntqsqldatabase.h
usr/include/tqt3/ntqsqldriver.h
usr/include/tqt3/ntqsqldriverplugin.h
usr/include/tqt3/ntqsqleditorfactory.h
usr/include/tqt3/ntqsqlerror.h
usr/include/tqt3/ntqsqlfield.h
usr/include/tqt3/ntqsqlform.h
usr/include/tqt3/ntqsqlindex.h
usr/include/tqt3/ntqsqlpropertymap.h
usr/include/tqt3/ntqsqlquery.h
usr/include/tqt3/ntqsqlrecord.h
usr/include/tqt3/ntqsqlresult.h
usr/include/tqt3/ntqsqlselectcursor.h
usr/include/tqt3/ntqstatusbar.h
usr/include/tqt3/ntqstring.h
usr/include/tqt3/ntqstringlist.h
usr/include/tqt3/ntqstrlist.h
usr/include/tqt3/ntqstrvec.h
usr/include/tqt3/ntqstyle.h
usr/include/tqt3/ntqstylefactory.h
usr/include/tqt3/ntqstyleplugin.h
usr/include/tqt3/ntqstylesheet.h
usr/include/tqt3/ntqsyntaxhighlighter.h
usr/include/tqt3/ntqt.h
usr/include/tqt3/ntqtabbar.h
usr/include/tqt3/ntqtabdialog.h
usr/include/tqt3/ntqtable.h
usr/include/tqt3/ntqtabwidget.h
usr/include/tqt3/ntqtextbrowser.h
usr/include/tqt3/ntqtextcodec.h
usr/include/tqt3/ntqtextcodecfactory.h
usr/include/tqt3/ntqtextcodecplugin.h
usr/include/tqt3/ntqtextedit.h
usr/include/tqt3/ntqtextstream.h
usr/include/tqt3/ntqtextview.h
usr/include/tqt3/ntqthread.h
usr/include/tqt3/ntqthreadstorage.h
usr/include/tqt3/ntqtimer.h
usr/include/tqt3/ntqtl.h
usr/include/tqt3/ntqtoolbar.h
usr/include/tqt3/ntqtoolbox.h
usr/include/tqt3/ntqtoolbutton.h
usr/include/tqt3/ntqtooltip.h
usr/include/tqt3/ntqtranslator.h
usr/include/tqt3/ntqtsciicodec.h
usr/include/tqt3/ntqurl.h
usr/include/tqt3/ntqurlinfo.h
usr/include/tqt3/ntqurloperator.h
usr/include/tqt3/ntqutfcodec.h
usr/include/tqt3/ntquuid.h
usr/include/tqt3/ntqvalidator.h
usr/include/tqt3/ntqvaluelist.h
usr/include/tqt3/ntqvaluestack.h
usr/include/tqt3/ntqvaluevector.h
usr/include/tqt3/ntqvariant.h
usr/include/tqt3/ntqvbox.h
usr/include/tqt3/ntqvbuttongroup.h
usr/include/tqt3/ntqvfbhdr.h
usr/include/tqt3/ntqvgroupbox.h
usr/include/tqt3/ntqwaitcondition.h
usr/include/tqt3/ntqwhatsthis.h
usr/include/tqt3/ntqwidget.h
usr/include/tqt3/ntqwidgetintdict.h
usr/include/tqt3/ntqwidgetlist.h
usr/include/tqt3/ntqwidgetplugin.h
usr/include/tqt3/ntqwidgetstack.h
usr/include/tqt3/ntqwindowdefs.h
usr/include/tqt3/ntqwindowsstyle.h
usr/include/tqt3/ntqwinexport.h
usr/include/tqt3/ntqwizard.h
usr/include/tqt3/ntqwmatrix.h
usr/include/tqt3/ntqworkspace.h
usr/include/tqt3/ntqxml.h

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

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

@ -0,0 +1,9 @@
usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.la
usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.prl
usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so
usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.prl
usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so
usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/tqt-mt.pc
usr/include/tqt3/ntqgl.h
usr/include/tqt3/ntqglcolormap.h
usr/include/tqt3/ntqwidgetfactory.h

@ -0,0 +1,11 @@
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.la /usr/share/tqt3/lib/libtqt-mt.la
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.prl /usr/share/tqt3/lib/libtqui.prl
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1.0
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.prl /usr/share/tqt3/lib/libtqt-mt.prl
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.3.5.0 /usr/share/tqt3/lib/libtqt-mt.so
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.3.5.0 /usr/share/tqt3/lib/libtqt-mt.so.3
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.3.5.0 /usr/share/tqt3/lib/libtqt-mt.so.3.5
/usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins /usr/share/tqt3/plugins
/usr/include/tqt3 /usr/share/tqt3/include

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlibase.so

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlmysql.so

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlodbc.so

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlpsql.so

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlite.so

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlite3.so

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

@ -0,0 +1,4 @@
usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.*
usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.*
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/imageformats/libqmng.so
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/inputmethods/*.so

@ -0,0 +1 @@
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1

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

@ -0,0 +1,36 @@
#!/bin/sh
BUILDDIR=$PWD
export QTDIR=/usr/share/tqt3
# first copy over the libtqt-mt.so build configuration of .qmake.cache
cp /usr/share/tqt3/.qmake.cache ./.qmake.cache
# Now compile the examples. The themes example
# won't work since ntqconfig.h is not really correct with the
# ifdef's for the TQT_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

@ -0,0 +1,30 @@
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

@ -0,0 +1,16 @@
--- 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_TQT = $(TQTDIR)/include
QMAKE_LIBDIR_TQT = $(TQTDIR)/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++

@ -0,0 +1,50 @@
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

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

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

@ -0,0 +1,28 @@
[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
[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

@ -0,0 +1,475 @@
#!/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)
# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to
# never build in parallel, regardless of DEB_BUILD_OPTIONS.
DEB_BUILD_PARALLEL ?= true
PLATFORM_ARG = dilos-g++
# quilt stuff
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
# build variables (directorys)
DEBIAN = $(shell pwd)/debian
P_LIBS = $(DEBIAN)/libtqt3-mt
P_DOC = $(DEBIAN)/tqt3-doc
P_APPSDEV = $(DEBIAN)/tqt3-apps-dev
P_HEADERS = $(DEBIAN)/libtqt3-headers
P_QTMTDEV = $(DEBIAN)/libtqt3-mt-dev
TMP_INSTALL = $(DEBIAN)/tmp-install
CONFIGURE_OPTS = \
-prefix "/usr" \
-sysconfdir "/etc/tqt3" \
-datadir "/usr/share/tqt3" \
-headerdir "/usr/include/tqt3" \
-docdir "/usr/share/tqt3/doc" \
-libdir "/usr/lib/$(DEB_HOST_MULTIARCH)" \
-plugindir "/usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins" \
-translationdir "/usr/share/tqt3/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 \
-no-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 = -Nlibtqt3-mt-ibase
#else
IBASE =
#endif
ifeq ($(DEB_HOST_ARCH_OS),hurd)
CONFIGURE_OPTS += -no-sql-ibase
IBASE = -Nlibtqt3-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/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.h
ln -s ../src/kernel/ntqinputcontext.h include/ntqinputcontext.h
ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory.h
ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.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/tqtrename140 $(TMP_INSTALL)/usr/bin/
cp bin/tqtfindtr $(TMP_INSTALL)/usr/bin/
# build tqtconv2ui
cd tools/designer/tools/tqtconv2ui && $(MAKE)
cp bin/tqtconv2ui $(TMP_INSTALL)/usr/bin/tqtconv2ui
# build tqvfb
cd tools/tqvfb/ && $(MAKE)
cp tools/tqvfb/tqvfb $(TMP_INSTALL)/usr/bin/tqvfb
# install qmake.cache file
install -d $(P_QTMTDEV)/usr/share/tqt3/
cat .qmake.cache | sed "s#$(QTDIR)#/usr/share/tqt3#g" > $(P_QTMTDEV)/usr/share/tqt3/.qmake.cache
# install ntqconfig.h for the mt
install -m 644 -D include/ntqconfig.h $(P_QTMTDEV)/usr/include/tqt3/ntqconfig.h
install -m 644 -D include/ntqmodules.h $(P_QTMTDEV)/usr/include/tqt3/ntqmodules.h
install -m 644 -D include/ntqinputcontext.h $(P_HEADERS)/usr/include/tqt3/ntqinputcontext.h
install -m 644 -D include/ntqinputcontextfactory.h $(P_HEADERS)/usr/include/tqt3/ntqinputcontextfactory.h
install -m 644 -D include/ntqinputcontextplugin.h $(P_HEADERS)/usr/include/tqt3/ntqinputcontextplugin.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/maketqpf distclean; $(MAKE) -C tools/qconfig distclean; $(MAKE) -C tools/tqvfb distclean; \
$(MAKE) -C tools/msg2tqm distclean; $(MAKE) -C tools/tqtmergetr distclean; $(MAKE) -C tools/qembed distclean; \
$(MAKE) -C tools/designer/tools/tqtconv2ui distclean; $(MAKE) -C tools/designer/tools/tqtcreatecw 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/tqmake src/moc/*.o mkspecs/default lib/lib* `pwd`/debian/doc $(TMP_INSTALL) \
src/tools/qconfig.cpp include/ntqconfig.h include/ntqmodules.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/tqt-mt.pc extensions/nsplugin/examples/trivial/libtrivial.prl \
extensions/nsplugin/examples/grapher/libgrapher.prl bin/designer
rm -f qmake/*o
rm -rf include/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.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
# revert multi-arch path in install files
for a in debian/*install debian/*links; do \
[ ! -f $$a.arch ] || \
mv $$a.arch $$a; \
done
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -i
dh_installdirs
# update multi-arch path in install files
for a in debian/*install debian/*links; do \
[ -d $$a ] || [ -f $$a.arch ] || \
sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
done
# fix .prl files
for a in $(TMP_INSTALL)/usr/lib/$(DEB_HOST_MULTIARCH)/*prl; do cat "$$a" | sed \
"s#$(QTDIR)#/usr/share/tqt3#g" > "$$a".new && mv "$$a".new "$$a"; done
dh_install $(IBASE) --sourcedir=$(TMP_INSTALL)
## build tqt3-doc package
# copy all docs there first
install -d $(P_DOC)/usr/share/tqt3/doc/html/
for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done
#typo bugfix
sed -i -e 's/reveives/receives/' $(P_DOC)/usr/share/tqt3/doc/html/ntqwidget.html
## build designer package documentation
# tqt3-designer
install -d `pwd`/debian/tqt3-designer/usr/share/tqt3/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/tqt3-designer/usr/share/tqt3/doc/html/ && \
rm -rf $(P_DOC)/usr/share/tqt3/doc/html/"$$a" || true; done
rm -rf outputfile `pwd`/debian/tqt3-designer/usr/share/tqt3/doc/html/logo32.png
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/designer*
## build linguist package documentation
# tqt3-linguist
install -d `pwd`/debian/tqt3-linguist/usr/share/tqt3/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/tqt3-linguist/usr/share/tqt3/doc/html/ && \
rm -rf $(P_DOC)/usr/share/tqt3/doc/html/"$$a" || true; done
rm -rf outputfile `pwd`/debian/tqt3-linguist/usr/share/tqt3/doc/html/logo32.png
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/linguist*
## tqt3-assistant
# remove docs from tqt3-doc for qt-assistant
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/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/tqt3-dev-tools/usr/share/tqt3/mkspecs/aix-g++-64/qplatformdefs.h
chmod 644 debian/tqt3-dev-tools/usr/share/tqt3/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/tqt3/doc/
-rm -f `find $(P_DOC)/usr/share/tqt3/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/tqt3/doc/doc/man/man3/* ; do mv $$i $(P_DOC)/usr/share/man/man3/ ; done
-rm -rf $(P_DOC)/usr/share/tqt3/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/libtqt3-i18n/usr/share/tqt3/translations/qt_"$$a".qm; done
# logo32.png
cp `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/
# remove qmake html docu from tqt3-doc
rm -rf `pwd`/debian/tqt3-doc/usr/share/tqt3/doc/html/qmake*
# create examples package
install -d `pwd`/debian/doc/tqt3-examples/tools/designer
install -d `pwd`/debian/doc/tqt3-examples/tools/linguist
cp -ax examples `pwd`/debian/doc/tqt3-examples
cp -ax tutorial `pwd`/debian/doc/tqt3-examples
cp -ax tools/designer/examples `pwd`/debian/doc/tqt3-examples/tools/designer/
cp -ax tools/linguist/tutorial `pwd`/debian/doc/tqt3-examples/tools/linguist/
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'tt1'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'tt2'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'tt3'`; do rm -f "$$a"; done
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name '.moc'`; do rm -rf "$$a"; done
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name '.obj'`; do rm -rf "$$a"; done
for a in `cd $(DEBIAN)/doc/tqt3-examples/ && find $(DEBIAN)/doc/tqt3-examples/ -name 'Makefile'`; do rm -f "$$a"; done
install -D `pwd`/debian/maintain/build-examples.sh `pwd`/debian/doc/tqt3-examples/build-examples
chmod 755 `pwd`/debian/doc/tqt3-examples/build-examples
cd `pwd`/debian/doc/ && tar cvvfz tqt3-examples.tar.gz tqt3-examples/
install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-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 tqt3-apps-dev-package
install -d $(P_APPSDEV)/usr/include/tqt3/
cp `pwd`/tools/designer/interfaces/*.h $(P_APPSDEV)/usr/include/tqt3/
cp `pwd`/tools/designer/editor/*.h $(P_APPSDEV)/usr/include/tqt3/
rm -rf `pwd`/debian/tqt3-apps-dev/usr/include/tqt3/preferences.ui.h
## tqvfb package
install -m644 -D `pwd`/tools/tqvfb/pda.skin `pwd`/debian/tqt3-dev-tools-embedded/etc/tqt3/tqvfb/pda.skin
install -m644 -D `pwd`/tools/tqvfb/pda_down.png `pwd`/debian/tqt3-dev-tools-embedded/usr/share/tqvfb/pda_down.png
install -m644 -D `pwd`/tools/tqvfb/pda_up.png `pwd`/debian/tqt3-dev-tools-embedded/usr/share/tqvfb/pda_up.png
# remove utterly ugle symlink
rm -rf `pwd`/debian/tqt3-dev-tools//usr/share/tqt3/mkspecs/linux-g++/linux-g++
# language file for linguist
install -d `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-linguist/
cp translations/template.ts `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-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/ && tqlrelease 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/tqt3-designer/usr/share/tqt3/translations/designer_"$$a".qm; done
rm -rf `pwd`/tools/designer/designer/*.qm
(cd `pwd`/tools/assistant/ && tqlrelease 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/tqt3-assistant/usr/share/tqt3/translations/assistant_"$$a".qm; done
rm -rf `pwd`/tools/assistant/*.qm `pwd`/debian/libtqt3-i18n/usr/share/tqt3/translations/assistant_de.qm
(cd `pwd`/tools/linguist/linguist/ && tqlrelease 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/tqt3-linguist/usr/share/tqt3/translations/linguist_"$$a".qm; done
rm -rf `pwd`/tools/linguist/linguist/*.qm
# include logo32 for every program
cd `pwd`/debian/tqt3-designer/usr/share/tqt3/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/tqt3-linguist/usr/share/tqt3/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/tqt3-assistant/usr/share/tqt3/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/tqt3-dev-tools/usr/share/tqt3/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/tqt3-"$$a"/usr/share/tqt3/doc/html/logo32-"$$a".png; done
install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/doc/html/logo32-qmake.png
# fix qmake.conf files
cd `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/mkspecs/ && for a in *; do cd "$$a" && cat qmake.conf | sed 's/\$$(QTDIR)\/include/\/usr\/share\/tqt3\/include/g' | sed 's/\$$(QTDIR)/\/usr\/share\/tqt3/g' | \
sed 's/\-I\/usr\/include/&\/tqt3/g' >> qmake.conf.new && mv qmake.conf.new qmake.conf && cd ../; done
# build attic package and copy it to libtqt3-ompat-headers
cd `pwd`/src/ && tar cvvfz attic.tar.gz attic/
install -D `pwd`/src/attic.tar.gz `pwd`/debian/libtqt3-compat-headers/usr/share/doc/libtqt3-compat-headers/attic.tar.gz
rm -rf `pwd`/src/attic.tar.gz
install -D doc/man/man1/moc.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/moc-tqt3.1
install -D doc/man/man1/uic.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/uic-tqt3.1
install -D doc/man/man1/lrelease.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/lrelease-tqt3.1
install -D doc/man/man1/lupdate.1 `pwd`/debian/tqt3-dev-tools/usr/share/man/man1/lupdate-tqt3.1
dh_link -ptqt3-designer usr/share/tqt3/doc/html usr/share/doc/tqt3-designer/html
dh_link -ptqt3-assistant usr/share/tqt3/doc/html usr/share/doc/tqt3-assistant/html
dh_link -ptqt3-linguist usr/share/tqt3/doc/html usr/share/doc/tqt3-linguist/html
dh_link -ptqt3-dev-tools usr/share/tqt3/doc/html usr/share/doc/tqt3-dev-tools/html
# copy README.Debian
for a in libtqt3-mt-dev libtqt3-mt tqt3-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/tqt3-dev-tools/usr/bin/tqmake
install -D `pwd`/qmake/tqmake `pwd`/debian/tqt3-dev-tools/usr/bin/tqmake
# Install source for the designer tools, such as tqtcreatecw.
cp -ra tools/designer/tools debian/tqt3-designer/usr/share/tqt3/tools
rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/tqtcreatecw
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/.moc
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/.obj
rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/Makefile
rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/tqtconv2ui
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/.moc
rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/.obj
rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/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=tqt-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/libtqt3-mt/usr/lib\
--dpkg-shlibdeps-params=--ignore-missing-info
# 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 tqt3-dev-tools-embedded
echo "/etc/tqt3/tqvfb/pda.skin" > `pwd`/debian/tqt3-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

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

@ -0,0 +1,4 @@
usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.*
usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.*
usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.*
usr/include/tqt3/ntqassistantclient.h

@ -0,0 +1,8 @@
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.prl /usr/share/tqt3/lib/libtqteditor.prl
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.a /usr/share/tqt3/lib/libtqteditor.a
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.prl /usr/share/tqt3/lib/libtqtdesignercore.prl
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.a /usr/share/tqt3/lib/libtqtdesignercore.a
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.prl /usr/share/tqt3/lib/libtqassistantclient.prl
/usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.a /usr/share/tqt3/lib/libtqassistantclient.a
/usr/include/tqt3 /usr/share/tqt3/tools/designer/editor
/usr/include/tqt3 /usr/share/tqt3/tools/designer/interfaces

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

@ -0,0 +1 @@
/usr/bin/tqassistant /usr/share/tqt3/bin/tqassistant

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

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

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

@ -0,0 +1 @@
usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/designer/*

@ -0,0 +1,9 @@
usr/bin/tqdesigner
usr/bin/tqtcreatecw
usr/bin/tqtconv2ui
usr/share/applications/tqdesigner.desktop
usr/share/pixmaps/tqdesigner.png
usr/share/tqt3/templates/*
usr/share/tqt3/doc/html/designer*html
usr/share/tqt3/doc/html/designer*dcf
usr/share/tqt3/doc/html/designer*jpg

@ -0,0 +1 @@
/usr/bin/tqdesigner /usr/share/tqt3/bin/tqdesigner

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

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

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

@ -0,0 +1,5 @@
usr/bin/tqtrename140
usr/bin/tqm2ts
usr/bin/tqtmergetr
usr/bin/tqtfindtr
usr/bin/msg2tqm

@ -0,0 +1,2 @@
/usr/bin/maketqpf /usr/share/tqt3/bin/maketqpf
/usr/bin/tqvfb /usr/share/tqt3/bin/tqvfb

@ -0,0 +1,9 @@
usr/share/tqt3/mkspecs/*
usr/share/tqt3/doc/html/qmake*html
usr/share/tqt3/doc/html/qmake*dcf
usr/bin/tqmake
usr/bin/tqlupdate
usr/bin/tqlrelease
usr/bin/tquic
usr/bin/tqmoc
usr/bin/tqembed

@ -0,0 +1,7 @@
/usr/share/tqt3/mkspecs/linux-g++ /usr/share/tqt3/mkspecs/default
/usr/bin/tqmake /usr/share/tqt3/bin/tqmake
/usr/bin/tqlupdate /usr/share/tqt3/bin/tqlupdate
/usr/bin/tqlrelease /usr/share/tqt3/bin/tqlrelease
/usr/bin/tquic /usr/share/tqt3/bin/tquic
/usr/bin/tqmoc /usr/share/tqt3/bin/tqmoc
/usr/bin/tqembed /usr/share/tqt3/bin/tqembed

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

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

@ -0,0 +1,11 @@
Document: tqt3-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/tqt3-doc/html/index.html
Files: /usr/share/doc/tqt3-doc/html/*.html

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

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

@ -0,0 +1 @@
/usr/bin/tqlinguist /usr/share/tqt3/bin/tqlinguist

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

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

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

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

@ -0,0 +1 @@
/usr/bin/tqtconfig /usr/share/tqt3/bin/tqtconfig

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

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

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