diff options
Diffstat (limited to 'ubuntu/precise/dependencies/tqt3')
68 files changed, 2166 insertions, 0 deletions
diff --git a/ubuntu/precise/dependencies/tqt3/debian/README.Debian b/ubuntu/precise/dependencies/tqt3/debian/README.Debian new file mode 100644 index 000000000..99b460974 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/README.Debian @@ -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 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 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 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 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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/changelog b/ubuntu/precise/dependencies/tqt3/debian/changelog new file mode 100644 index 000000000..3e813531e --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/changelog @@ -0,0 +1,5 @@ +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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/compat b/ubuntu/precise/dependencies/tqt3/debian/compat new file mode 100644 index 000000000..1e8b31496 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/compat @@ -0,0 +1 @@ +6 diff --git a/ubuntu/precise/dependencies/tqt3/debian/control b/ubuntu/precise/dependencies/tqt3/debian/control new file mode 100644 index 000000000..154470e75 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/control @@ -0,0 +1,320 @@ +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: debhelper (>= 5.0.31), 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), libpng12-dev | libpng12-0-dev, libfontconfig1-dev, + libfreetype6-dev, libxft-dev, unixodbc-dev, uuid-dev, + libmysqlclient-dev, flex, libpq-dev, libaudio-dev, libcups2-dev, + libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsqlite3-dev, + firebird2.1-dev [i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc] | firebird2-dev [i386 amd64] +Section: libs +Priority: optional +Standards-Version: 3.8.4 +Homepage: http://www.trinitydesktop.org + +Package: libtqt3-mt +Architecture: any +Section: libs +Replaces: libtqt3-mt (<< 4:14.0.0) +Breaks: libtqt3-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: libtqt3c102-mt, libtqui1-emb, libtqt3c-mt +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-mysql +Architecture: any +Section: libs +Replaces: libtqt3-mt-mysql (<< 4:14.0.0) +Breaks: libtqt3-mt-mysql (<< 4:14.0.0) +Depends: ${shlibs:Depends} +Conflicts: libtqt3c102-mt-mysql, libtqt3c-mt-mysql +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 +Section: libs +Replaces: libtqt3-mt-odbc (<< 4:14.0.0) +Breaks: libtqt3-mt-odbc (<< 4:14.0.0) +Depends: ${shlibs:Depends} +Conflicts: libtqt3c102-mt-odbc, libtqt3c-mt-odbc +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 +Section: libs +Replaces: libtqt3-mt-psql (<< 4:14.0.0) +Breaks: libtqt3-mt-psql (<< 4:14.0.0) +Depends: ${shlibs:Depends} +Conflicts: libtqt3c102-mt-psql, libtqt3c-mt-psql +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 +Section: libs +Depends: ${shlibs:Depends} +Conflicts: libtqt3c102-mt-ibase +Replaces: libtqt3c102-mt-ibase +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 +Section: libs +Replaces: libtqt3-mt-sqlite (<< 4:14.0.0) +Breaks: libtqt3-mt-sqlite (<< 4:14.0.0) +Depends: ${shlibs:Depends} +Conflicts: libtqt3c102-mt-sqlite +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-dev +Architecture: any +Section: libdevel +Replaces: libtqt3-mt-dev (<< 4:14.0.0) +Breaks: libtqt3-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, + libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev, libmng-dev (>= 1.0.3), + libpng12-dev | libpng12-0-dev, libfontconfig1-dev, libfreetype6-dev, + libxft-dev, libaudio-dev, libcups2-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}) +Conflicts: libtqt-mt-dev, libtqt3-emb (<= 3:3.0.3-1), libtqt3-dev +Recommends: libtqt3-compat-headers +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: any +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: any +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 +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 +Conflicts: libqt-dev (<< 3:2.3.2-10), uic (<= 3:2.3.2-9), qt3-dev-tools +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 +Section: devel +Replaces: tqt3-designer (<< 4:14.0.0) +Breaks: tqt3-designer (<< 4:14.0.0) +Depends: ${shlibs:Depends} +Recommends: tqt3-dev-tools +Suggests: tqt3-assistant, tqt3-doc +Conflicts: qt-designer (<= 3:2.3.2-9), qt-designer-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-apps-dev +Architecture: any +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 +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 +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 +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 KDE because the KDE control center already + covers this configuration automatically for the users TQt3 applications + according to his desktop settings in KDE. 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 +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 makeqpf + for converting fonts to embedded fonts suitable for being utilized + by TQt Embedded applications. + +Package: tqt3-dev-tools-compat +Architecture: any +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 qt20fix qtrename140, + qm2ts, mergetr, findtr and msg2qm). 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 +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 +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 +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: any +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 +Conflicts: libtqt3-mt-dbg +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. diff --git a/ubuntu/precise/dependencies/tqt3/debian/copyright b/ubuntu/precise/dependencies/tqt3/debian/copyright new file mode 100644 index 000000000..3482b8b3a --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/copyright @@ -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. + diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-compat-headers.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-compat-headers.install new file mode 100644 index 000000000..bdab50e98 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-compat-headers.install @@ -0,0 +1,54 @@ +usr/include/tqt3/ntq1xcompatibility.h +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/ntqlist.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/ntqpaintd.h +usr/include/tqt3/ntqpaintdc.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/ntqvector.h +usr/include/tqt3/ntqwidcoll.h +usr/include/tqt3/ntqwindefs.h diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-headers.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-headers.install new file mode 100644 index 000000000..32d3bb87d --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-headers.install @@ -0,0 +1,271 @@ +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/ntqpaintdevicedefs.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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-i18n.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-i18n.install new file mode 100644 index 000000000..cd272202b --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-i18n.install @@ -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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.docs b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.docs new file mode 100644 index 000000000..dbd9a5d19 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.docs @@ -0,0 +1,4 @@ +README +README.immodule +README-QT.TXT +PLATFORMS diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.install new file mode 100644 index 000000000..e846fb59e --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.install @@ -0,0 +1,9 @@ +usr/lib/libtqt-mt.la +usr/lib/libtqt-mt.prl +usr/lib/libtqt-mt.so +usr/lib/libtqui.prl +usr/lib/libtqui.so +usr/lib/pkgconfig/tqt-mt.pc +usr/include/tqt3/ntqgl.h +usr/include/tqt3/ntqglcolormap.h +usr/include/tqt3/ntqwidgetfactory.h diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.links b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.links new file mode 100644 index 000000000..d5ae6927d --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-dev.links @@ -0,0 +1,7 @@ +/usr/lib/libtqt-mt.la /usr/share/tqt3/lib/libtqt-mt.la +/usr/lib/libtqui.prl /usr/share/tqt3/lib/libtqui.prl +/usr/lib/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so +/usr/lib/libtqt-mt.prl /usr/share/tqt3/lib/libtqt-mt.prl +/usr/lib/libtqt-mt.so.3.3.8 /usr/share/tqt3/lib/libtqt-mt.so +/usr/include/tqt3 /usr/share/tqt3/include +/usr/lib/tqt3/plugins /usr/share/tqt3/plugins diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-ibase.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-ibase.install new file mode 100644 index 000000000..37bbf0bb1 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-ibase.install @@ -0,0 +1 @@ +usr/lib/tqt3/plugins/sqldrivers/libqsqlibase.so diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-mysql.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-mysql.install new file mode 100644 index 000000000..efdb699be --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-mysql.install @@ -0,0 +1 @@ +usr/lib/tqt3/plugins/sqldrivers/libqsqlmysql.so diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-odbc.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-odbc.install new file mode 100644 index 000000000..3b949c134 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-odbc.install @@ -0,0 +1 @@ +usr/lib/tqt3/plugins/sqldrivers/libqsqlodbc.so diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-psql.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-psql.install new file mode 100644 index 000000000..b93ebe333 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-psql.install @@ -0,0 +1 @@ +usr/lib/tqt3/plugins/sqldrivers/libqsqlpsql.so diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-sqlite.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-sqlite.install new file mode 100644 index 000000000..928632aa1 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt-sqlite.install @@ -0,0 +1 @@ +usr/lib/tqt3/plugins/sqldrivers/libqsqlite.so diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.docs b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.docs new file mode 100644 index 000000000..dbd9a5d19 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.docs @@ -0,0 +1,4 @@ +README +README.immodule +README-QT.TXT +PLATFORMS diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.install b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.install new file mode 100644 index 000000000..519221dff --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.install @@ -0,0 +1,6 @@ +usr/lib/libtqt-mt.so.* +usr/lib/libtqui.so.1.* +usr/lib/tqt3/plugins/imageformats/libqmng.so +usr/lib/tqt3/plugins/inputmethods/*.so +../../debian/qtrc etc/tqt3/ +../../debian/qt_plugins_3.3rc etc/tqt3/ diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.links b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.links new file mode 100644 index 000000000..e7f6740f5 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.links @@ -0,0 +1,5 @@ +/usr/lib/libtqui.so.1.0.0 /usr/lib/libtqui.so.1 +/usr/lib/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1 +/usr/lib/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1.0 +/usr/lib/libtqt-mt.so.3.3.8 /usr/share/tqt3/lib/libtqt-mt.so.3 +/usr/lib/libtqt-mt.so.3.3.8 /usr/share/tqt3/lib/libtqt-mt.so.3.3 diff --git a/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.postrm b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.postrm new file mode 100644 index 000000000..bb679158a --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/libtqt3-mt.postrm @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/maintain/assistant-tqt3.desktop b/ubuntu/precise/dependencies/tqt3/debian/maintain/assistant-tqt3.desktop new file mode 100644 index 000000000..3072b99aa --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/maintain/assistant-tqt3.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=tqassistant +Name=TQt3 Assistant +Name[de]=TQt3 Assistent +Comment=TQt3 Helpcenter +Comment[de]= TQt3 Hilfezentrum +MimeType=application/x-assistant; +Icon=assistant +Terminal=false +Type=Application +Categories=Qt;Development; diff --git a/ubuntu/precise/dependencies/tqt3/debian/maintain/build-examples.sh b/ubuntu/precise/dependencies/tqt3/debian/maintain/build-examples.sh new file mode 100644 index 000000000..ad98ad5be --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/maintain/build-examples.sh @@ -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 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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/maintain/designer-tqt3.desktop b/ubuntu/precise/dependencies/tqt3/debian/maintain/designer-tqt3.desktop new file mode 100644 index 000000000..cc95cead5 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/maintain/designer-tqt3.desktop @@ -0,0 +1,77 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=tqdesigner +Name=TQt3 Designer +Name[bg]=TQt3 Дизайнер +Name[br]=Ergrafer TQt3 +Name[ca]=Dissenyador TQt3 +Name[cs]=TQt3 designer +Name[de]=TQt3-Designer +Name[eo]=TQt3-Desegnilo +Name[es]=Diseñador TQt3 +Name[et]=TQt3 disainer +Name[eu]=TQt3 Diseinatzailea +Name[gl]=Deseñador de TQt3 +Name[he]=TQt3 בצעמ +Name[it]=Designer TQt3 +Name[ja]=TQt3デザイナー +Name[ko]=TQt3 디자이너 +Name[lv]=TQt3 Dizainers +Name[mk]=TQt3 дизајнер +Name[no]=TQt3-designer +Name[oc]=Dessinador TQt3 +Name[pl]=Projektant TQt3 +Name[sk]=TQt3 Dizajnér +Name[sl]=Snovalnik TQt3 +Name[ta]=TQt3 À¨¼ôÀ¡Ç÷ +Name[uk]=Дизайнер TQt3 +Name[zh_CN.GB2312]=TQt3 设计者 +Name[zh_TW.Big5]=TQt3 設計器 +Comment=TQt3 interface designer +Comment[az]=TQt3 axtar üz dizayn proqramı +Comment[bg]=TQt3 interface дизайнер +Comment[br]=Ergrafer etrefas TQt3 +Comment[ca]=Dissenyador d'interfícies TQt3 +Comment[cs]=Editor UI pro TQt3 +Comment[da]=TQt3 grænseflade designer +Comment[de]=Schnittstellen-Designer für TQt3 +Comment[el]=Σχεδιασμός περιβάλλοντων TQt3 +Comment[eo]=TQt3-Interfacdesegnilo +Comment[es]=Diseñador de interfaces de TQt3 +Comment[et]=TQt3 dialoogide redaktor +Comment[eu]=TQt3 interfaze diseinatzailea +Comment[fi]=TQt3:n käyttöliittymäsuunnittelija +Comment[fr]=Conception d'interfaces avec TQt3 +Comment[gl]=Editor de interfaces de TQt3 +Comment[he]=TQt3-ל םיקשממ בצעמ +Comment[hu]=TQt3 felülettervező +Comment[is]=Viðmótshönnunartól fyrir TQt3 +Comment[it]=Editor per le interfaccie TQt3 +Comment[ja]=TQt3インターフェースデザイナー +Comment[ko]=TQt3 인터페이스 디자이너 +Comment[lt]=TQt3 sąsajos redaktorius +Comment[lv]=TQt3 starsejas dizainers +Comment[mk]=Дизајнер на TQt3 дијалози +Comment[nl]=TQt3 interface-ontwerper +Comment[no]=TQt3-grensesnittdesigner +Comment[no_NY]=Redigering av TQt3-miljø +Comment[oc]=Dessinador d'interfacies TQt3 +Comment[pl]=Projektant interfejsu TQt3 +Comment[pt]=Editor de interfaces do TQt3 +Comment[pt_BR]=Designer de interface TQt3 +Comment[ro]=Dezvoltator de interfeţe TQt3 +Comment[ru]=редактор интерфейсов приложений TQt3 +Comment[sk]=TQt3 dizajnér rozhrania +Comment[sl]=Snovalnik vmesnikov za TQt3 +Comment[sr]=Dizajner TQt3 interfejsa +Comment[sv]=Editor för gränssnitt till TQt3 +Comment[ta]=TQt3 À¨¼ôÀ¡Ç÷ +Comment[tr]=TQt3 arayüz tasarım programı +Comment[uk]=Редактор інтерфейсу для TQt3 +Comment[zh_CN.GB2312]=TQt3 界面设计程序 +Comment[zh_TW.Big5]=TQt3 介面編輯器 +MimeType=application/x-designer; +Icon=designer +Terminal=false +Type=Application +Categories=Qt;Development; diff --git a/ubuntu/precise/dependencies/tqt3/debian/maintain/linguist-tqt3.desktop b/ubuntu/precise/dependencies/tqt3/debian/maintain/linguist-tqt3.desktop new file mode 100644 index 000000000..d879d32db --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/maintain/linguist-tqt3.desktop @@ -0,0 +1,25 @@ +[Desktop Entry] +Exec=tqlinguist +Name=TQt3 Linguist +Name[de]=TQt3-Linguist +Name[eo]=TQt3-Lingvisto +Name[es]=Lingüista TQt3 +Name[ko]=TQt3 언어학자 +Name[lv]=TQt3 Lingvists +Comment=Tool for translating message catalogues of TQt3 based programs +Comment[da]=Redskab til at oversætte TQt3 baserede programmer +Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren +Comment[eo]=Ilo por tradukado de mesaĝaroj de TQt3-bazitaj programoj +Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en TQt3 +Comment[he]=TQt3 תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ +Comment[hu]=Segédprogram a TQt3-alapú programok üzenetfájljainak lefordításához +Comment[ko]=TQt3를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구 +Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās +Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 +Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 +Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program +MimeType=application/x-linguist; +Terminal=false +Icon=linguist +Type=Application +Categories=Qt;Development diff --git a/ubuntu/precise/dependencies/tqt3/debian/maintain/mkpatch.sh b/ubuntu/precise/dependencies/tqt3/debian/maintain/mkpatch.sh new file mode 100644 index 000000000..609a44bc1 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/maintain/mkpatch.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +diff -Nru -x Makefile.cvs -x README.qt-copy -x upgrade_script.qt -x .cvsignore -x CVS -x include -x debian -x doc -x examples -x 3rdparty -x images -x mkspecs -I '^\*\*\( $\| \$Id\)' -I '^\#\( $\| \$Id\)' qt-x11-free-3.1.1.old/ qt-x11-free-3.1.1/ > qtcopy.diff diff --git a/ubuntu/precise/dependencies/tqt3/debian/maintain/tqt3config.desktop b/ubuntu/precise/dependencies/tqt3/debian/maintain/tqt3config.desktop new file mode 100644 index 000000000..b3535c06f --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/maintain/tqt3config.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=tqtconfig +Name=TQt3 Configuration +Name[de]=TQt3 Konfiguration +Comment=A graphical configuration tool for programs using TQt 3 +Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme +MimeType=application/x-qtconfig; +Terminal=false +Icon=qtconfig +Type=Application +Categories=Qt;Settings; diff --git a/ubuntu/precise/dependencies/tqt3/debian/patches/06_disable_rpath.diff b/ubuntu/precise/dependencies/tqt3/debian/patches/06_disable_rpath.diff new file mode 100644 index 000000000..27fc1426c --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/patches/06_disable_rpath.diff @@ -0,0 +1,26 @@ +author: Martin Loschwitz <madkiss@madkiss.org> + +Disables the rpath settings in qmake.conf + +--- a/mkspecs/linux-g++/qmake.conf ++++ b/mkspecs/linux-g++/qmake.conf +@@ -55,7 +55,7 @@ QMAKE_LFLAGS_SHLIB = -shared + QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB + QMAKE_LFLAGS_SONAME = -Wl,-soname, + QMAKE_LFLAGS_THREAD = +-QMAKE_RPATH = -Wl,-rpath, ++QMAKE_RPATH = + + QMAKE_LIBS = + QMAKE_LIBS_DYNLOAD = -ldl +--- a/mkspecs/linux-g++-64/qmake.conf ++++ b/mkspecs/linux-g++-64/qmake.conf +@@ -58,7 +58,7 @@ QMAKE_LFLAGS_SHLIB = -shared + QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB + QMAKE_LFLAGS_SONAME = -Wl,-soname, + QMAKE_LFLAGS_THREAD = +-QMAKE_RPATH = -Wl,-rpath, ++QMAKE_RPATH = + + QMAKE_LIBS = + QMAKE_LIBS_DYNLOAD = -ldl diff --git a/ubuntu/precise/dependencies/tqt3/debian/patches/09_amd64_lib64.diff b/ubuntu/precise/dependencies/tqt3/debian/patches/09_amd64_lib64.diff new file mode 100644 index 000000000..538e93044 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/patches/09_amd64_lib64.diff @@ -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_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++ diff --git a/ubuntu/precise/dependencies/tqt3/debian/patches/72_dont_trust_uname-m_use_dpkg-arch_instead.diff b/ubuntu/precise/dependencies/tqt3/debian/patches/72_dont_trust_uname-m_use_dpkg-arch_instead.diff new file mode 100644 index 000000000..b4e71d35b --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/patches/72_dont_trust_uname-m_use_dpkg-arch_instead.diff @@ -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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/patches/kubuntu_06_fglrx_0_size_screen.diff b/ubuntu/precise/dependencies/tqt3/debian/patches/kubuntu_06_fglrx_0_size_screen.diff new file mode 100644 index 000000000..3c6394f33 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/patches/kubuntu_06_fglrx_0_size_screen.diff @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## kubuntu_06_fglrx_0_size_screen.diff.dpatch by <jr@pechin3> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad qt-x11-free-3.3.8really3.3.7~/src/kernel/qpaintdevice_x11.cpp qt-x11-free-3.3.8really3.3.7/src/kernel/qpaintdevice_x11.cpp +--- qt-x11-free-3.3.8really3.3.7~/src/kernel/qpaintdevice_x11.cpp 2007-04-02 20:06:28.000000000 +0100 ++++ qt-x11-free-3.3.8really3.3.7/src/kernel/qpaintdevice_x11.cpp 2007-04-02 20:12:10.000000000 +0100 +@@ -526,11 +526,16 @@ + Q_CHECK_PTR( dpisX ); + Q_CHECK_PTR( dpisY ); + for ( i = 0; i < screens; i++ ) { +- dpisX[ i ] = (DisplayWidth(dpy,i) * 254 + DisplayWidthMM(dpy,i)*5) +- +- / (DisplayWidthMM(dpy,i)*10); +- dpisY[ i ] = (DisplayHeight(dpy,i) * 254 + DisplayHeightMM(dpy,i)*5) +- / (DisplayHeightMM(dpy,i)*10); ++ if (DisplayWidthMM(dpy,i) < 1) ++ dpisX[ i ] = 75; // default the dpi to 75. ++ else ++ dpisX[ i ] = (DisplayWidth(dpy,i) * 254 + DisplayWidthMM(dpy,i)*5) ++ / (DisplayWidthMM(dpy,i)*10); ++ if (DisplayHeightMM(dpy,i) < 1) ++ dpisY[ i ] = 75; // default the dpi to 75. ++ else ++ dpisY[ i ] = (DisplayHeight(dpy,i) * 254 + DisplayHeightMM(dpy,i)*5) ++ / (DisplayHeightMM(dpy,i)*10); + } + } + diff --git a/ubuntu/precise/dependencies/tqt3/debian/patches/series b/ubuntu/precise/dependencies/tqt3/debian/patches/series new file mode 100644 index 000000000..7377c84c1 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/patches/series @@ -0,0 +1,4 @@ +06_disable_rpath.diff +09_amd64_lib64.diff +72_dont_trust_uname-m_use_dpkg-arch_instead.diff +kubuntu_06_fglrx_0_size_screen.diff diff --git a/ubuntu/precise/dependencies/tqt3/debian/qt_plugins_3.3rc b/ubuntu/precise/dependencies/tqt3/debian/qt_plugins_3.3rc new file mode 100644 index 000000000..e193b495c --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/qt_plugins_3.3rc @@ -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 + diff --git a/ubuntu/precise/dependencies/tqt3/debian/qtrc b/ubuntu/precise/dependencies/tqt3/debian/qtrc new file mode 100644 index 000000000..3c977f4d1 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/qtrc @@ -0,0 +1,32 @@ +[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
\ No newline at end of file diff --git a/ubuntu/precise/dependencies/tqt3/debian/rules b/ubuntu/precise/dependencies/tqt3/debian/rules new file mode 100755 index 000000000..39a2ee31c --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/rules @@ -0,0 +1,467 @@ +#!/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_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 + +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/quilt/quilt.make + +# 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" \ + -plugindir "/usr/lib/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 \ + -plugin-sql-ibase \ + -plugin-sql-sqlite \ + \ + -I/usr/include/mysql \ + -I/usr/include/freetype2 \ + -I`pg_config --includedir` \ + -L/usr/lib/$(DEB_HOST_MULTIARCH)\ + \ + -lfontconfig \ + -inputmethod \ + # 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 + +build: libqt-thread-stamp + + touch build-stamp + +libqt-thread-stamp: $(QUILT_STAMPFN) + + @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/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/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: unpatch + + 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/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 + + 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/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 + +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 + + ## qvfb package + install -m644 -D `pwd`/tools/qvfb/pda.skin `pwd`/debian/tqt3-dev-tools-embedded/etc/tqt3/qvfb/pda.skin + install -m644 -D `pwd`/tools/qvfb/pda_down.png `pwd`/debian/tqt3-dev-tools-embedded/usr/share/qvfb/pda_down.png + install -m644 -D `pwd`/tools/qvfb/pda_up.png `pwd`/debian/tqt3-dev-tools-embedded/usr/share/qvfb/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/qt_untranslated.ts `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-linguist/ + + # 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 + + # desktop lnk files + install -m644 -D debian/maintain/designer-tqt3.desktop `pwd`/debian/tqt3-designer/usr/share/applications/designer-tqt3.desktop + install -m644 -D debian/maintain/linguist-tqt3.desktop `pwd`/debian/tqt3-linguist/usr/share/applications/linguist-tqt3.desktop + + install -m644 -D debian/maintain/assistant-tqt3.desktop `pwd`/debian/tqt3-assistant/usr/share/applications/assistant-tqt3.desktop + install -m644 -D debian/maintain/tqt3config.desktop `pwd`/debian/tqt3-qtconfig/usr/share/applications/tqt3config.desktop + + # 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 createcw. + cp -ra tools/designer/tools debian/tqt3-designer/usr/share/tqt3/tools + rm -f debian/tqt3-designer/usr/share/tqt3/tools/createcw/createcw + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/createcw/.moc + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/createcw/.obj + rm -f debian/tqt3-designer/usr/share/tqt3/tools/createcw/Makefile + rm -f debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/conv2ui + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/.moc + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/conv2ui/.obj + rm -f debian/tqt3-designer/usr/share/tqt3/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=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 + + # 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/qvfb/pda.skin" > `pwd`/debian/tqt3-dev-tools-embedded/DEBIAN/conffiles + + dh_gencontrol -a $(IBASE) + dh_md5sums -a $(IBASE) + dh_builddeb -a $(IBASE) + +binary: binary-indep binary-arch +.PHONY: build binary-indep binary-arch binary install clean patch unpatch diff --git a/ubuntu/precise/dependencies/tqt3/debian/source/format b/ubuntu/precise/dependencies/tqt3/debian/source/format new file mode 100644 index 000000000..89ae9db8f --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/ubuntu/precise/dependencies/tqt3/debian/source/options b/ubuntu/precise/dependencies/tqt3/debian/source/options new file mode 100644 index 000000000..9d7c8e036 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/source/options @@ -0,0 +1,6 @@ +# Use bzip2 instead of gzip +compression = "bzip2" +compression-level = 9 + +# Don't run differences +diff-ignore = .* diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-apps-dev.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-apps-dev.install new file mode 100644 index 000000000..a8f4abfa7 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-apps-dev.install @@ -0,0 +1,7 @@ +usr/lib/libeditor.prl +usr/lib/libeditor.a +usr/lib/libdesignercore.prl +usr/lib/libdesignercore.a +usr/lib/libqassistantclient.prl +usr/lib/libqassistantclient.a +usr/include/tqt3/ntqassistantclient.h diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-apps-dev.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-apps-dev.links new file mode 100644 index 000000000..b009faf61 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-apps-dev.links @@ -0,0 +1,8 @@ +/usr/lib/libeditor.prl /usr/share/tqt3/lib/libeditor.prl +/usr/lib/libeditor.a /usr/share/tqt3/lib/libeditor.a +/usr/lib/libdesignercore.prl /usr/share/tqt3/lib/libdesignercore.prl +/usr/lib/libdesignercore.a /usr/share/tqt3/lib/libdesignercore.a +/usr/lib/libqassistantclient.prl /usr/share/tqt3/lib/libqassistantclient.prl +/usr/lib/libqassistantclient.a /usr/share/tqt3/lib/libqassistantclient.a +/usr/include/tqt3 /usr/share/tqt3/tools/designer/editor +/usr/include/tqt3 /usr/share/tqt3/tools/designer/interfaces diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.install new file mode 100644 index 000000000..f393e405a --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.install @@ -0,0 +1,3 @@ +usr/bin/tqassistant +usr/share/tqt3/doc/html/assistant*html +usr/share/tqt3/doc/html/assistant*dcf diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.links new file mode 100644 index 000000000..5244653a5 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.links @@ -0,0 +1 @@ +/usr/bin/tqassistant /usr/share/tqt3/bin/tqassistant diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.menu b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.menu new file mode 100644 index 000000000..d59f83bd0 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.menu @@ -0,0 +1,6 @@ +?package(tqt3-assistant):\ + needs="x11"\ + section="Applications/Programming"\ + hints="TDE"\ + title="TQt3 Assistant"\ + command="/usr/bin/tqassistant" diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.postinst b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.postinst new file mode 100644 index 000000000..041457133 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +update-alternatives --install \ + /usr/bin/assistant assistant "/usr/bin/tqassistant" "45" \ + +#DEBHELPER# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.prerm b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.prerm new file mode 100644 index 000000000..36371091e --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-assistant.prerm @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.install new file mode 100644 index 000000000..555f8b9b4 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.install @@ -0,0 +1,8 @@ +usr/bin/tqdesigner +usr/bin/createcw +usr/bin/conv2ui +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 +usr/lib/tqt3/plugins/designer/* diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.links new file mode 100644 index 000000000..19922f299 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.links @@ -0,0 +1 @@ +/usr/bin/tqdesigner /usr/share/tqt3/bin/tqdesigner diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.menu b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.menu new file mode 100644 index 000000000..be078bd49 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.menu @@ -0,0 +1,7 @@ +?package(tqt3-designer):\ + needs="x11"\ + section="Applications/Programming"\ + hints="TDE"\ + title="TQt3 Designer"\ + command="/usr/bin/tqdesigner" + diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.postinst b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.postinst new file mode 100644 index 000000000..91d69ce08 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.postinst @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.prerm b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.prerm new file mode 100644 index 000000000..93376ef35 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-designer.prerm @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-compat.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-compat.install new file mode 100644 index 000000000..838f6b827 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-compat.install @@ -0,0 +1,6 @@ +usr/bin/qt20fix +usr/bin/qtrename140 +usr/bin/qm2ts +usr/bin/mergetr +usr/bin/findtr +usr/bin/msg2qm diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-embedded.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-embedded.install new file mode 100644 index 000000000..2954f7a4c --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-embedded.install @@ -0,0 +1,2 @@ +usr/bin/makeqpf +usr/bin/qvfb diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-embedded.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-embedded.links new file mode 100644 index 000000000..a0274c505 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools-embedded.links @@ -0,0 +1,2 @@ +/usr/bin/makeqpf /usr/share/tqt3/bin/makeqpf +/usr/bin/qvfb /usr/share/tqt3/bin/qvfb diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.install new file mode 100644 index 000000000..3c795661b --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.install @@ -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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.links new file mode 100644 index 000000000..073720d2b --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.links @@ -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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.postinst b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.postinst new file mode 100644 index 000000000..b6c833de8 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.postinst @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.prerm b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.prerm new file mode 100644 index 000000000..0ec40c9e9 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-dev-tools.prerm @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.doc-base b/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.doc-base new file mode 100644 index 000000000..8fd0c977f --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.doc-base @@ -0,0 +1,11 @@ +Document: tqt3-doc +Title: Qt Reference Documentation +Author: Troll Tech +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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.docs b/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.docs new file mode 100644 index 000000000..f08fd0f02 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.docs @@ -0,0 +1,2 @@ +FAQ +README-QT.TXT diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.links new file mode 100644 index 000000000..dfec5318b --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-doc.links @@ -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 diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.install new file mode 100644 index 000000000..8602850aa --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.install @@ -0,0 +1,4 @@ +usr/bin/tqlinguist +usr/share/tqt3/phrasebooks/* +usr/share/tqt3/doc/html/linguist*html +usr/share/tqt3/doc/html/linguist*dcf diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.links new file mode 100644 index 000000000..4fa700555 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.links @@ -0,0 +1 @@ +/usr/bin/tqlinguist /usr/share/tqt3/bin/tqlinguist diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.menu b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.menu new file mode 100644 index 000000000..976cb4b3c --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.menu @@ -0,0 +1,6 @@ +?package(tqt3-linguist):\ + needs="x11"\ + section="Applications/Programming"\ + hints="TDE"\ + title="TQt3 Linguist"\ + command="/usr/bin/tqlinguist" diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.postinst b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.postinst new file mode 100644 index 000000000..4c51e97bf --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.postinst @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.prerm b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.prerm new file mode 100644 index 000000000..47d704eb8 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-linguist.prerm @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.install b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.install new file mode 100644 index 000000000..a1ae089bc --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.install @@ -0,0 +1 @@ +usr/bin/tqtconfig diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.links b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.links new file mode 100644 index 000000000..eb6dd21c0 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.links @@ -0,0 +1 @@ +/usr/bin/tqtconfig /usr/share/tqt3/bin/tqtconfig diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.menu b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.menu new file mode 100644 index 000000000..79f2ff8e5 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.menu @@ -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" + diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.postinst b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.postinst new file mode 100644 index 000000000..68671a6ef --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.postinst @@ -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# diff --git a/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.prerm b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.prerm new file mode 100644 index 000000000..27f898ea3 --- /dev/null +++ b/ubuntu/precise/dependencies/tqt3/debian/tqt3-qtconfig.prerm @@ -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# |