diff options
Diffstat (limited to 'dilos/dependencies/tqt')
67 files changed, 2020 insertions, 0 deletions
diff --git a/dilos/dependencies/tqt/debian/README.Debian b/dilos/dependencies/tqt/debian/README.Debian new file mode 100644 index 000000000..86b633251 --- /dev/null +++ b/dilos/dependencies/tqt/debian/README.Debian @@ -0,0 +1,255 @@ +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 ([email protected]). +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 -ltqt, this package only + contains the .so files and the header file for libtqui.so) + +libtqt3-headers (header files for libtqt and libtqt-mt) + +tqt3-dev-tools (this package contains the tools tquic and tqmoc as well as +tqmake, required for building TQt 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 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 have a question not covered by this FAQ and README file. Who should I +turn to ? + +A: Please turn to Debian Qt/KDE Maintainers ([email protected]) +for any questions regarding Qt on Debian. + + -- Ralf Nolden <[email protected]> Sun, 26 Jan 2003 20:39:19 +0100 + -- Ralf Nolden <[email protected]> Mon, 1 Sep 2003 19:24:16 +0200 + -- Modestas Vainius <[email protected]> Fri, 22 Feb 2008 01:40:06 +0200 diff --git a/dilos/dependencies/tqt/debian/changelog b/dilos/dependencies/tqt/debian/changelog new file mode 100644 index 000000000..3e813531e --- /dev/null +++ b/dilos/dependencies/tqt/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 <[email protected]> Fri, 22 Jul 2011 16:40:00 -0600 diff --git a/dilos/dependencies/tqt/debian/compat b/dilos/dependencies/tqt/debian/compat new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/dilos/dependencies/tqt/debian/compat @@ -0,0 +1 @@ +10 diff --git a/dilos/dependencies/tqt/debian/control b/dilos/dependencies/tqt/debian/control new file mode 100644 index 000000000..cf33ea5e7 --- /dev/null +++ b/dilos/dependencies/tqt/debian/control @@ -0,0 +1,333 @@ +Source: tqt-x11-free +Maintainer: TDE Debian Team <[email protected]> +XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <[email protected]> +Uploaders: Ana Beatriz Guerrero Lopez <[email protected]>, Sune Vuorela <[email protected]>, Fathi Boudra <[email protected]>, Modestas Vainius <[email protected]> +Build-Depends: cdbs, debhelper (>= 10~), quilt, cpio, libnsl-dev | libc6-dev (<<2.32~), libxext-dev (>= 4.3.0.dfsg.1-4), + libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4), + libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4), + libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, + libxcursor-dev, libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev, + libmng-dev (>= 1.0.3), libpng-dev, libfontconfig1-dev, + libfreetype6-dev, libxft-dev, unixodbc-dev, uuid-dev, libglib2.0-dev, + default-libmysqlclient-dev | libmysqlclient-dev, flex, libpq-dev, postgresql-server-dev-all (>= 117~) | libpq-dev (<< 9.3.3-2~), libaudio-dev, libcups2-dev, + libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsqlite3-dev, + firebird-dev [!solaris-any] | firebird2.1-dev [i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc armel !solaris-any] | firebird2-dev [i386 amd64 !solaris-any], + libkrb5-dev [solaris-any] +Section: libs +Priority: optional +Standards-Version: 3.8.4 +Homepage: http://www.trinitydesktop.org + +Package: libtqt3-mt +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqt3-mt (<< 4:14.0.0~) +Breaks: libtqt3-mt (<< 4:14.0.0~) +Depends: libtqt3-mt-data (= ${binary:Version}), ${shlibs:Depends}, fontconfig, libaudio2 [solaris-any] +Recommends: libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libxmu6 (>= 4.3.0.dfsg.1-4) +Suggests: libtqt3-mt-psql, libtqt3-mt-mysql, libtqt3-mt-odbc +Description: TQt GUI Library (Threaded runtime version), Version 3 + This is the Trolltech TQt library, version 3. It's necessary for + applications that link against the libtqt-mt.so.3, e.g. all Trinity + applications. + +Package: libtqt3-mt-data +Architecture: all +Multi-Arch: foreign +Section: libs +Conflicts: libtqt3-mt (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: Data for TQt GUI Library (Threaded runtime version), Version 3 + This is the Trolltech TQt library, version 3. It's necessary for + applications that link against the libtqt-mt.so.3, e.g. all Trinity + applications. + +Package: libtqt3-mt-mysql +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqt3-mt-mysql (<< 4:14.0.0~) +Breaks: libtqt3-mt-mysql (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: MySQL database driver for TQt3 (Threaded) + This package contains the threaded MySQL plugin for TQt3. Install it if + you intend to use or write TQt programs that are to access a MySQL DB. + +Package: libtqt3-mt-odbc +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqt3-mt-odbc (<< 4:14.0.0~) +Breaks: libtqt3-mt-odbc (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: ODBC database driver for TQt3 (Threaded) + This package contains the threaded ODBC plugin for TQt3. Install it if + you intend to use or write TQt programs that are to access an ODBC DB. + +Package: libtqt3-mt-psql +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqt3-mt-psql (<< 4:14.0.0~) +Breaks: libtqt3-mt-psql (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: PostgreSQL database driver for TQt3 (Threaded) + This package contains the threaded PostgreSQL plugin for TQt3. + Install it if you intend to use or write TQt programs that are + to access a PostgreSQL DB. + +Package: libtqt3-mt-ibase +Architecture: i386 kfreebsd-i386 kfreebsd-amd64 knetbsd-i386 netbsd-i386 amd64 sparc powerpc !solaris-any +Multi-Arch: same +Section: libs +Depends: ${shlibs:Depends} +Description: InterBase/FireBird database driver for TQt3 (Threaded) + This package contains the threaded InterBase/FireBird plugin + for TQt3. Install it if you intend to use or write TQt programs + that are to access an InterBase/FireBird DB. + +Package: libtqt3-mt-sqlite +Architecture: any +Multi-Arch: same +Section: libs +Replaces: libtqt3-mt-sqlite (<< 4:14.0.0~) +Breaks: libtqt3-mt-sqlite (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: SQLite database driver for TQt3 (Threaded) + This package contains the threaded SQLite plugin for TQt3. Install + it if you intend to use or write TQt programs that are to access an + SQLite DB. + +Package: libtqt3-mt-sqlite3 +Architecture: any +Multi-Arch: same +Section: libs +Depends: ${shlibs:Depends} +Description: SQLite3 database driver for TQt3 (Threaded) + This package contains the threaded SQLite3 plugin for TQt3. Install + it if you intend to use or write TQt programs that are to access an + SQLite3 DB. + +Package: libtqt3-mt-dev +Architecture: any +Multi-Arch: no +Section: libdevel +Replaces: libtqt3-mt-dev (<< 4:14.0.0~) +Breaks: libtqt3-mt-dev (<< 4:14.0.0~) +Conflicts: libtqt3-mt (<< 4:14.0.0~) +Depends: libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4), + libsm-dev (>= 4.3.0.dfsg.1-4), libxmu-dev (>= 4.3.0.dfsg.1-4), + libice-dev (>= 4.3.0.dfsg.1-4), libx11-dev (>= 4.3.0.dfsg.1-4), + libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, libxcursor-dev, uuid-dev, + libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg-dev, libmng-dev (>= 1.0.3), + libpng-dev, libfontconfig1-dev, libfreetype6-dev, + libxft-dev, libaudio-dev, libgl1-mesa-dev | libgl-dev, + libglu1-mesa-dev | libglu-dev, libc6-dev [!solaris-any], libtqt3-mt (= ${binary:Version}), + libtqt3-headers (= ${binary:Version}), tqt3-dev-tools (= ${binary:Version}) +Recommends: libcups2-dev +Suggests: libtqt3-i18n, tqt3-doc +Description: TQt development files (Threaded) + TQt is a C++ class library optimized for graphical user interface + development. This package contains the libtqt-mt.so symlink, necessary + for building threaded TQt applications as well as the libtqui.so symlink + and the necessary header files for libtqui.so. (See README.Debian and + the TQt Documentation for instructions on libtqui.so) + +Package: libtqt3-headers +Architecture: all +Multi-Arch: foreign +Section: devel +Replaces: libtqt3-headers (<< 4:14.0.0~) +Breaks: libtqt3-headers (<< 4:14.0.0~) +Recommends: libtqt3-mt-dev +Description: TQt3 header files + This package contains all header files for libqt and libtqt-mt which come + with TQt3. If you want to compile or develop programs which use TQt3, you + have to install this package. + +Package: tqt3-dev-tools +Architecture: any +Multi-Arch: foreign +Section: devel +Replaces: tqt3-dev-tools (<< 4:14.0.0~) +Breaks: tqt3-dev-tools (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Recommends: libtqt3-mt-dev +Description: TQt3 development tools + This package contains all tools that are necessary to build programs + that are written using TQt3. These are: tqmake, tquic and tqmoc. + For TQt3 development, you most likely want to install this package. + +Package: tqt3-designer +Architecture: any +Multi-Arch: foreign +Section: devel +Replaces: tqt3-designer (<< 4:14.0.0~) +Breaks: tqt3-designer (<< 4:14.0.0~) +Depends: tqt3-designer-plugins (= ${binary:Version}), ${shlibs:Depends} +Recommends: tqt3-dev-tools +Suggests: tqt3-assistant, tqt3-doc +Description: TQt3 Designer + The TQt Designer is a GUI design program that interactively lets you + construct user interfaces for the TQt library. Additionally it lets you + create whole project and works together with the database drivers + provided by TQt to create applications with easy database access through + TQt. The resulting user interface files can then be converted to + C++ classes using the tquic commandline utility which is usually done + automatically for the developer with a project management with qmake + or automake. + +Package: tqt3-designer-plugins +Architecture: any +Multi-Arch: same +Section: devel +Conflicts: tqt3-designer (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: TQt3 Designer plugins + This package contains plugins for TQt3 Designer + +Package: libtqt3-apps-dev +Architecture: any +Multi-Arch: same +Section: libdevel +Conflicts: tqt3-apps-dev (<< 4:14.1.0~) +Depends: ${shlibs:Depends}, libtqt3-mt (= ${binary:Version}) +Description: TQt3 Developer applications development libraries + This package contains additional libraries that ship with the applications + included with TQt - the TQt Designer and the TQt Assistant. + +Package: tqt3-apps-dev +Architecture: any +Multi-Arch: no +Section: devel +Replaces: tqt3-apps-dev (<< 4:14.0.0~) +Breaks: tqt3-apps-dev (<< 4:14.0.0~) +Depends: libtqt3-mt-dev, libtqt3-apps-dev +Description: TQt3 Developer applications development files + This package is intended for developers who want to develop applications + using the additional libraries that ship with the applications + included with TQt - the TQt Designer and the TQt Assistant. + It allows integrating additional enhancements into the TQt Designer + respectively faciliate the TQt Assistant from within your TQt application + to interactively call the Assistant for displaying online help that the + developer includes with his application. + +Package: tqt3-linguist +Architecture: any +Multi-Arch: foreign +Section: devel +Replaces: tqt3-linguist (<< 4:14.0.0~) +Breaks: tqt3-linguist (<< 4:14.0.0~) +Suggests: tqt3-assistant +Depends: ${shlibs:Depends} +Description: The TQt3 Linguist + This package contains the TQt3 Linguist which provides translators a + tool perfect for translating any TQt-based application into other + languages and can be used and installed independently of any TQt + development files by the translator. + +Package: tqt3-assistant +Architecture: any +Multi-Arch: foreign +Section: x11 +Replaces: tqt3-assistant (<< 4:14.0.0~) +Breaks: tqt3-assistant (<< 4:14.0.0~) +Depends: ${shlibs:Depends}, tqt3-doc +Description: The TQt3 assistant application + This package contains the TQt3 Assistant, an easy to use frontend for + the complete TQt3 documentation and serves as an online help viewer for + any TQt program that wants to give the usesr access to online help. + Within the TQt tools it is used as the help viewer for the online help + for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API + documentation. + . + Developers of TQt Application who want to faciliate the TQt Assistant for online + help display should refer to the README.Debian file for libtqt3-mt-dev and + the package tqt3-apps-dev. + +Package: tqt3-qtconfig +Architecture: any +Multi-Arch: foreign +Section: x11 +Replaces: tqt3-qtconfig (<< 4:14.0.0~) +Breaks: tqt3-qtconfig (<< 4:14.0.0~) +Depends: ${shlibs:Depends} +Description: The TQt3 Configuration Application + The TQt Configuration program allows endusers to configure the look + and behavior of any TQt3 application. It is mostly only necessary + on systems which don't run TDE because the Trinity control center already + covers this configuration automatically for the users TQt3 applications + according to his desktop settings in TDE. However, if you need to run + CJK-fonts or other non-latin scripts, you will most likely want to + install this package. + +Package: tqt3-dev-tools-compat +Architecture: any +Multi-Arch: foreign +Section: devel +Replaces: tqt3-dev-tools-compat (<< 4:14.0.0~) +Breaks: tqt3-dev-tools-compat (<< 4:14.0.0~) +Recommends: libtqt3-mt-dev +Depends: ${shlibs:Depends} +Description: Conversion utilities for TQt3 development + This package contains some older TQt tools (namely + tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by + application developers who need to migrate any TQt application written + for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to + help fixing the changes with include file renaming as well as migrating + the message file format of TQt 2 translation files or any gettext-based + translation system to the TQt 3 system. + +Package: libtqt3-i18n +Architecture: all +Multi-Arch: foreign +Section: libs +Replaces: libtqt3-i18n (<< 4:14.0.0~) +Breaks: libtqt3-i18n (<< 4:14.0.0~) +Recommends: libtqt3-mt | libtqt3-mt-t64 +Description: i18n files for TQt3 library + This package contains the internationalization files for the TQt library. + TQt applications that are internationalized will need to depend on this package + for full internationalization support of the application towards the end user. + +Package: tqt3-doc +Architecture: all +Multi-Arch: foreign +Section: doc +Replaces: tqt3-doc (<< 4:14.0.0~) +Breaks: tqt3-doc (<< 4:14.0.0~) +Priority: extra +Suggests: libtqt3-headers, tqt3-assistant | www-browser +Description: TQt3 API documentation + This package contains the complete API documentation for TQt3. + Examples to coding are in tqt3-examples. The documentation is provided + in HTML and manpage format; the HTML version can be viewed in conjunction + with the TQt Assistant. + +Package: tqt3-examples +Architecture: all +Multi-Arch: foreign +Section: doc +Replaces: tqt3-examples (<< 4:14.0.0~) +Breaks: tqt3-examples (<< 4:14.0.0~) +Priority: extra +Depends: libtqt3-mt-dev (>= ${binary:Version}) +Suggests: tqt3-apps-dev +Description: Examples for TQt3 + These are examples provided with TQt3. They may be especially useful for + you if you are learning to program in TQt as they cover tquite a lot of + things that are possible with TQt3. + +Package: tqt-x11-free-dbg +Section: libdevel +Architecture: linux-any +Multi-Arch: no +Replaces: tqt-x11-free-dbg (<< 4:14.0.0~) +Breaks: tqt-x11-free-dbg (<< 4:14.0.0~) +Priority: extra +Depends: libtqt3-mt (= ${binary:Version}), gdb +Description: debugging symbols for tqt-x11-free binaries + This package contains the debugging symbols associated with tqt-x11-free. + They will automatically be used by gdb for debugging TQt-related + issues. diff --git a/dilos/dependencies/tqt/debian/copyright b/dilos/dependencies/tqt/debian/copyright new file mode 100644 index 000000000..3482b8b3a --- /dev/null +++ b/dilos/dependencies/tqt/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 +<[email protected]>, 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 +<[email protected]> until Heiko has time to work on it all again. + +In Jul 2002, Martin Loschwitz <[email protected]> overtook the package +maintenance for the QT3-packages. + +This packaged is maintained inside the Debian Qt/KDE Maintainers Team +<[email protected]> 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/dilos/dependencies/tqt/debian/libtqt3-apps-dev.install b/dilos/dependencies/tqt/debian/libtqt3-apps-dev.install new file mode 100644 index 000000000..eea094136 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-apps-dev.install @@ -0,0 +1,3 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.so.* +usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.so.* +usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.so.* diff --git a/dilos/dependencies/tqt/debian/libtqt3-headers.install b/dilos/dependencies/tqt/debian/libtqt3-headers.install new file mode 100644 index 000000000..2349a6a4e --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-headers.install @@ -0,0 +1,266 @@ +usr/include/tqt3/private/* +usr/include/tqt3/tqaccel.h +usr/include/tqt3/tqaccessible.h +usr/include/tqt3/tqaction.h +usr/include/tqt3/tqapplication.h +usr/include/tqt3/tqasciicache.h +usr/include/tqt3/tqasciidict.h +usr/include/tqt3/tqasyncimageio.h +usr/include/tqt3/tqasyncio.h +usr/include/tqt3/tqbig5codec.h +usr/include/tqt3/tqbitarray.h +usr/include/tqt3/tqbitmap.h +usr/include/tqt3/tqbrush.h +usr/include/tqt3/tqbuffer.h +usr/include/tqt3/tqbutton.h +usr/include/tqt3/tqbuttongroup.h +usr/include/tqt3/tqcache.h +usr/include/tqt3/tqcanvas.h +usr/include/tqt3/tqcdestyle.h +usr/include/tqt3/tqcheckbox.h +usr/include/tqt3/tqcleanuphandler.h +usr/include/tqt3/tqclipboard.h +usr/include/tqt3/tqcolor.h +usr/include/tqt3/tqcolordialog.h +usr/include/tqt3/tqcombobox.h +usr/include/tqt3/tqcommonstyle.h +usr/include/tqt3/tqcompactstyle.h +usr/include/tqt3/tqconnection.h +usr/include/tqt3/tqcstring.h +usr/include/tqt3/tqcursor.h +usr/include/tqt3/tqdatabrowser.h +usr/include/tqt3/tqdatastream.h +usr/include/tqt3/tqdatatable.h +usr/include/tqt3/tqdataview.h +usr/include/tqt3/tqdatetime.h +usr/include/tqt3/tqdatetimeedit.h +usr/include/tqt3/tqdeepcopy.h +usr/include/tqt3/tqdesktopwidget.h +usr/include/tqt3/tqdial.h +usr/include/tqt3/tqdialog.h +usr/include/tqt3/tqdict.h +usr/include/tqt3/tqdir.h +usr/include/tqt3/tqdns.h +usr/include/tqt3/tqdockarea.h +usr/include/tqt3/tqdockwindow.h +usr/include/tqt3/tqdom.h +usr/include/tqt3/tqdragobject.h +usr/include/tqt3/tqdrawutil.h +usr/include/tqt3/tqdropsite.h +usr/include/tqt3/tqeditorfactory.h +usr/include/tqt3/tqerrormessage.h +usr/include/tqt3/tqeucjpcodec.h +usr/include/tqt3/tqeuckrcodec.h +usr/include/tqt3/tqevent.h +usr/include/tqt3/tqeventloop.h +usr/include/tqt3/tqfeatures.h +usr/include/tqt3/tqfile.h +usr/include/tqt3/tqfiledialog.h +usr/include/tqt3/tqfileinfo.h +usr/include/tqt3/tqfocusdata.h +usr/include/tqt3/tqfont.h +usr/include/tqt3/tqfontdatabase.h +usr/include/tqt3/tqfontdialog.h +usr/include/tqt3/tqfontinfo.h +usr/include/tqt3/tqfontmetrics.h +usr/include/tqt3/tqframe.h +usr/include/tqt3/tqftp.h +usr/include/tqt3/tqgarray.h +usr/include/tqt3/tqgb18030codec.h +usr/include/tqt3/tqgbkcodec.h +usr/include/tqt3/tqgcache.h +usr/include/tqt3/tqgdict.h +usr/include/tqt3/tqgif.h +usr/include/tqt3/tqglist.h +usr/include/tqt3/tqglobal.h +usr/include/tqt3/tqgplugin.h +usr/include/tqt3/tqgrid.h +usr/include/tqt3/tqgridview.h +usr/include/tqt3/tqgroupbox.h +usr/include/tqt3/tqguardedptr.h +usr/include/tqt3/tqgvector.h +usr/include/tqt3/tqhbox.h +usr/include/tqt3/tqhbuttongroup.h +usr/include/tqt3/tqheader.h +usr/include/tqt3/tqhebrewcodec.h +usr/include/tqt3/tqhgroupbox.h +usr/include/tqt3/tqhostaddress.h +usr/include/tqt3/tqhttp.h +usr/include/tqt3/tqiconset.h +usr/include/tqt3/tqiconview.h +usr/include/tqt3/tqimage.h +usr/include/tqt3/tqimageformatplugin.h +usr/include/tqt3/tqinputcontext.h +usr/include/tqt3/tqinputcontextfactory.h +usr/include/tqt3/tqinputcontextplugin.h +usr/include/tqt3/tqinputdialog.h +usr/include/tqt3/tqintcache.h +usr/include/tqt3/tqintdict.h +usr/include/tqt3/tqinterlacestyle.h +usr/include/tqt3/tqiodevice.h +usr/include/tqt3/tqjiscodec.h +usr/include/tqt3/tqjpegio.h +usr/include/tqt3/tqjpunicode.h +usr/include/tqt3/tqkeycode.h +usr/include/tqt3/tqkeysequence.h +usr/include/tqt3/tqlabel.h +usr/include/tqt3/tqlayout.h +usr/include/tqt3/tqlcdnumber.h +usr/include/tqt3/tqlibrary.h +usr/include/tqt3/tqlineedit.h +usr/include/tqt3/tqlistbox.h +usr/include/tqt3/tqlistview.h +usr/include/tqt3/tqlocale.h +usr/include/tqt3/tqlocalfs.h +usr/include/tqt3/tqmainwindow.h +usr/include/tqt3/tqmap.h +usr/include/tqt3/tqmemarray.h +usr/include/tqt3/tqmenubar.h +usr/include/tqt3/tqmenudata.h +usr/include/tqt3/tqmessagebox.h +usr/include/tqt3/tqmetaobject.h +usr/include/tqt3/tqmime.h +usr/include/tqt3/tqmngio.h +usr/include/tqt3/tqmotifstyle.h +usr/include/tqt3/tqmotifplusstyle.h +usr/include/tqt3/tqmovie.h +usr/include/tqt3/tqmultilineedit.h +usr/include/tqt3/tqmutex.h +usr/include/tqt3/tqnamespace.h +usr/include/tqt3/tqnetwork.h +usr/include/tqt3/tqnetworkprotocol.h +usr/include/tqt3/tqobject.h +usr/include/tqt3/tqobjectcleanuphandler.h +usr/include/tqt3/tqobjectdefs.h +usr/include/tqt3/tqobjectdict.h +usr/include/tqt3/tqobjectlist.h +usr/include/tqt3/tqpaintdevice.h +usr/include/tqt3/tqpaintdevicemetrics.h +usr/include/tqt3/tqpainter.h +usr/include/tqt3/tqpair.h +usr/include/tqt3/tqpalette.h +usr/include/tqt3/tqpen.h +usr/include/tqt3/tqpicture.h +usr/include/tqt3/tqpixmap.h +usr/include/tqt3/tqpixmapcache.h +usr/include/tqt3/tqplatinumstyle.h +usr/include/tqt3/tqpngio.h +usr/include/tqt3/tqpoint.h +usr/include/tqt3/tqpointarray.h +usr/include/tqt3/tqpolygonscanner.h +usr/include/tqt3/tqpopupmenu.h +usr/include/tqt3/tqprintdialog.h +usr/include/tqt3/tqprinter.h +usr/include/tqt3/tqprocess.h +usr/include/tqt3/tqprogressbar.h +usr/include/tqt3/tqprogressdialog.h +usr/include/tqt3/tqptrcollection.h +usr/include/tqt3/tqptrdict.h +usr/include/tqt3/tqptrlist.h +usr/include/tqt3/tqptrqueue.h +usr/include/tqt3/tqptrstack.h +usr/include/tqt3/tqptrvector.h +usr/include/tqt3/tqpushbutton.h +usr/include/tqt3/tqradiobutton.h +usr/include/tqt3/tqrangecontrol.h +usr/include/tqt3/tqrect.h +usr/include/tqt3/tqregexp.h +usr/include/tqt3/tqregion.h +usr/include/tqt3/tqscrollbar.h +usr/include/tqt3/tqscrollview.h +usr/include/tqt3/tqsemaphore.h +usr/include/tqt3/tqserversocket.h +usr/include/tqt3/tqsessionmanager.h +usr/include/tqt3/tqsettings.h +usr/include/tqt3/tqsgistyle.h +usr/include/tqt3/tqshared.h +usr/include/tqt3/tqsignal.h +usr/include/tqt3/tqsignalmapper.h +usr/include/tqt3/tqsignalslotimp.h +usr/include/tqt3/tqsimplerichtext.h +usr/include/tqt3/tqsize.h +usr/include/tqt3/tqsizegrip.h +usr/include/tqt3/tqsizepolicy.h +usr/include/tqt3/tqsjiscodec.h +usr/include/tqt3/tqslider.h +usr/include/tqt3/tqsocket.h +usr/include/tqt3/tqsocketdevice.h +usr/include/tqt3/tqsocketnotifier.h +usr/include/tqt3/tqsound.h +usr/include/tqt3/tqspinbox.h +usr/include/tqt3/tqsplashscreen.h +usr/include/tqt3/tqsplitter.h +usr/include/tqt3/tqsql.h +usr/include/tqt3/tqsqlcursor.h +usr/include/tqt3/tqsqldatabase.h +usr/include/tqt3/tqsqldriver.h +usr/include/tqt3/tqsqldriverplugin.h +usr/include/tqt3/tqsqleditorfactory.h +usr/include/tqt3/tqsqlerror.h +usr/include/tqt3/tqsqlfield.h +usr/include/tqt3/tqsqlform.h +usr/include/tqt3/tqsqlindex.h +usr/include/tqt3/tqsqlpropertymap.h +usr/include/tqt3/tqsqlquery.h +usr/include/tqt3/tqsqlrecord.h +usr/include/tqt3/tqsqlresult.h +usr/include/tqt3/tqsqlselectcursor.h +usr/include/tqt3/tqstatusbar.h +usr/include/tqt3/tqstring.h +usr/include/tqt3/tqstringlist.h +usr/include/tqt3/tqstrlist.h +usr/include/tqt3/tqstrvec.h +usr/include/tqt3/tqstyle.h +usr/include/tqt3/tqstylefactory.h +usr/include/tqt3/tqstyleplugin.h +usr/include/tqt3/tqstylesheet.h +usr/include/tqt3/tqsyntaxhighlighter.h +usr/include/tqt3/tqt.h +usr/include/tqt3/tqtabbar.h +usr/include/tqt3/tqtabdialog.h +usr/include/tqt3/tqtable.h +usr/include/tqt3/tqtabwidget.h +usr/include/tqt3/tqtextbrowser.h +usr/include/tqt3/tqtextcodec.h +usr/include/tqt3/tqtextcodecfactory.h +usr/include/tqt3/tqtextcodecplugin.h +usr/include/tqt3/tqtextedit.h +usr/include/tqt3/tqtextstream.h +usr/include/tqt3/tqtextview.h +usr/include/tqt3/tqthread.h +usr/include/tqt3/tqthreadstorage.h +usr/include/tqt3/tqtimer.h +usr/include/tqt3/tqtl.h +usr/include/tqt3/tqtoolbar.h +usr/include/tqt3/tqtoolbox.h +usr/include/tqt3/tqtoolbutton.h +usr/include/tqt3/tqtooltip.h +usr/include/tqt3/tqtranslator.h +usr/include/tqt3/tqtsciicodec.h +usr/include/tqt3/tqurl.h +usr/include/tqt3/tqurlinfo.h +usr/include/tqt3/tqurloperator.h +usr/include/tqt3/tqutfcodec.h +usr/include/tqt3/tquuid.h +usr/include/tqt3/tqvalidator.h +usr/include/tqt3/tqvaluelist.h +usr/include/tqt3/tqvaluestack.h +usr/include/tqt3/tqvaluevector.h +usr/include/tqt3/tqvariant.h +usr/include/tqt3/tqvbox.h +usr/include/tqt3/tqvbuttongroup.h +usr/include/tqt3/tqvgroupbox.h +usr/include/tqt3/tqwaitcondition.h +usr/include/tqt3/tqwhatsthis.h +usr/include/tqt3/tqwidget.h +usr/include/tqt3/tqwidgetintdict.h +usr/include/tqt3/tqwidgetlist.h +usr/include/tqt3/tqwidgetplugin.h +usr/include/tqt3/tqwidgetstack.h +usr/include/tqt3/tqwindowdefs.h +usr/include/tqt3/tqwindowsstyle.h +usr/include/tqt3/tqwinexport.h +usr/include/tqt3/tqwizard.h +usr/include/tqt3/tqwmatrix.h +usr/include/tqt3/tqworkspace.h +usr/include/tqt3/tqxml.h diff --git a/dilos/dependencies/tqt/debian/libtqt3-i18n.install b/dilos/dependencies/tqt/debian/libtqt3-i18n.install new file mode 100644 index 000000000..cd272202b --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/libtqt3-mt-data.install b/dilos/dependencies/tqt/debian/libtqt3-mt-data.install new file mode 100644 index 000000000..b9308b1b4 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-data.install @@ -0,0 +1 @@ +../../debian/qtrc etc/tqt3/ diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-dev.docs b/dilos/dependencies/tqt/debian/libtqt3-mt-dev.docs new file mode 100644 index 000000000..59a51ee13 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-dev.docs @@ -0,0 +1,5 @@ +README.md +README.immodule +README.Qt3 +README-QT.TXT +PLATFORMS diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-dev.install b/dilos/dependencies/tqt/debian/libtqt3-mt-dev.install new file mode 100644 index 000000000..d2904e511 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-dev.install @@ -0,0 +1,11 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.la +usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.prl +usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so +usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.prl +usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so +usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/tqt-mt.pc +usr/include/tqt3/tqconfig.h +usr/include/tqt3/tqgl.h +usr/include/tqt3/tqglcolormap.h +usr/include/tqt3/tqmodules.h +usr/include/tqt3/tqwidgetfactory.h diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-dev.links b/dilos/dependencies/tqt/debian/libtqt3-mt-dev.links new file mode 100644 index 000000000..9da3a5e25 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-dev.links @@ -0,0 +1,11 @@ +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.la /usr/share/tqt3/lib/libtqt-mt.la +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.prl /usr/share/tqt3/lib/libtqui.prl +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1 +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/share/tqt3/lib/libtqui.so.1.0 +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.prl /usr/share/tqt3/lib/libtqt-mt.prl +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.3.5.0 /usr/share/tqt3/lib/libtqt-mt.so +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.3.5.0 /usr/share/tqt3/lib/libtqt-mt.so.3 +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.3.5.0 /usr/share/tqt3/lib/libtqt-mt.so.3.5 +/usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins /usr/share/tqt3/plugins +/usr/include/tqt3 /usr/share/tqt3/include diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-ibase.install b/dilos/dependencies/tqt/debian/libtqt3-mt-ibase.install new file mode 100644 index 000000000..1cdae4fe4 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-ibase.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlibase.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-mysql.install b/dilos/dependencies/tqt/debian/libtqt3-mt-mysql.install new file mode 100644 index 000000000..8f5572965 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-mysql.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlmysql.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-odbc.install b/dilos/dependencies/tqt/debian/libtqt3-mt-odbc.install new file mode 100644 index 000000000..d51b3fd7f --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-odbc.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlodbc.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-psql.install b/dilos/dependencies/tqt/debian/libtqt3-mt-psql.install new file mode 100644 index 000000000..a5e2b70cd --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-psql.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlpsql.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-sqlite.install b/dilos/dependencies/tqt/debian/libtqt3-mt-sqlite.install new file mode 100644 index 000000000..d637b096b --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-sqlite.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlite.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt-sqlite3.install b/dilos/dependencies/tqt/debian/libtqt3-mt-sqlite3.install new file mode 100644 index 000000000..3f3392374 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt-sqlite3.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/sqldrivers/libqsqlite3.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt.docs b/dilos/dependencies/tqt/debian/libtqt3-mt.docs new file mode 100644 index 000000000..59a51ee13 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt.docs @@ -0,0 +1,5 @@ +README.md +README.immodule +README.Qt3 +README-QT.TXT +PLATFORMS diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt.install b/dilos/dependencies/tqt/debian/libtqt3-mt.install new file mode 100644 index 000000000..023c39399 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt.install @@ -0,0 +1,4 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/libtqt-mt.so.* +usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.* +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/imageformats/libtqmng.so +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/inputmethods/*.so diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt.links b/dilos/dependencies/tqt/debian/libtqt3-mt.links new file mode 100644 index 000000000..8c8f30e38 --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt.links @@ -0,0 +1 @@ +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1.0.0 /usr/lib/$(DEB_HOST_MULTIARCH)/libtqui.so.1 diff --git a/dilos/dependencies/tqt/debian/libtqt3-mt.postrm b/dilos/dependencies/tqt/debian/libtqt3-mt.postrm new file mode 100644 index 000000000..6556affdc --- /dev/null +++ b/dilos/dependencies/tqt/debian/libtqt3-mt.postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +if [ "$1" = "purge" ]; then + if [ -d "${BASEDIR}/usr/share/doc/libtqt3-mt/" ]; then + rm -rf ${BASEDIR}/usr/share/doc/libtqt3-mt/ + fi +fi + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/maintain/build-examples.sh b/dilos/dependencies/tqt/debian/maintain/build-examples.sh new file mode 100644 index 000000000..ed29d712b --- /dev/null +++ b/dilos/dependencies/tqt/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 tqconfig.h is not really correct with the +# ifdef's for the TQT_NO_xyz_STYLE, so we use make -k to continue +cd examples; qmake -o Makefile examples.pro; make -k + +# Now compile the tutorial. +cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make + +# Then the designer examples. +cd $BUILDDIR/tools/designer/examples +for a in `find . -type d -maxdepth 1 -mindepth 1`; do + cd $a && qmake -o Makefile $a.pro; make; cd ..; +done + +# There is a bigger sql example in book/ with more subdirectories: +cd book +for a in `find . -type d -maxdepth 1 -mindepth 1`; do + cd $a && qmake -o Makefile $a.pro; make; cd ..; +done + +# Finally, build the linguist tutorials: +cd $BUILDDIR/tools/linguist/tutorial +for a in `find . -type d -maxdepth 1 -mindepth 1`; do + cd $a && qmake -o Makefile $a.pro; make; cd ..; +done + +# Return to the build directory +cd $BUILDDIR diff --git a/dilos/dependencies/tqt/debian/patches/06_disable_rpath.diff b/dilos/dependencies/tqt/debian/patches/06_disable_rpath.diff new file mode 100644 index 000000000..a3d74ffce --- /dev/null +++ b/dilos/dependencies/tqt/debian/patches/06_disable_rpath.diff @@ -0,0 +1,30 @@ +author: Martin Loschwitz <[email protected]> + +Disables the rpath settings in qmake.conf + +Index: b/mkspecs/linux-g++/qmake.conf +=================================================================== +--- a/mkspecs/linux-g++/qmake.conf ++++ b/mkspecs/linux-g++/qmake.conf +@@ -55,7 +55,7 @@ + QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB + QMAKE_LFLAGS_SONAME = -Wl,-soname, + QMAKE_LFLAGS_THREAD = +-QMAKE_RPATH = -Wl,-rpath, ++QMAKE_RPATH = + + QMAKE_LIBS = -luuid + QMAKE_LIBS_DYNLOAD = -ldl +Index: b/mkspecs/linux-g++-64/qmake.conf +=================================================================== +--- a/mkspecs/linux-g++-64/qmake.conf ++++ b/mkspecs/linux-g++-64/qmake.conf +@@ -58,7 +58,7 @@ + QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB + QMAKE_LFLAGS_SONAME = -Wl,-soname, + QMAKE_LFLAGS_THREAD = +-QMAKE_RPATH = -Wl,-rpath, ++QMAKE_RPATH = + + QMAKE_LIBS = -luuid + QMAKE_LIBS_DYNLOAD = -ldl diff --git a/dilos/dependencies/tqt/debian/patches/09_amd64_lib64.diff b/dilos/dependencies/tqt/debian/patches/09_amd64_lib64.diff new file mode 100644 index 000000000..de42482fc --- /dev/null +++ b/dilos/dependencies/tqt/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_TQT = $(TQTDIR)/include + QMAKE_LIBDIR_TQT = $(TQTDIR)/lib64 + QMAKE_INCDIR_OPENGL = /usr/X11R6/include +-QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64 ++QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib + + QMAKE_LINK = g++ + QMAKE_LINK_SHLIB = g++ diff --git a/dilos/dependencies/tqt/debian/patches/72_dont_trust_uname-m_use_dpkg-arch_instead.diff b/dilos/dependencies/tqt/debian/patches/72_dont_trust_uname-m_use_dpkg-arch_instead.diff new file mode 100644 index 000000000..b4e71d35b --- /dev/null +++ b/dilos/dependencies/tqt/debian/patches/72_dont_trust_uname-m_use_dpkg-arch_instead.diff @@ -0,0 +1,50 @@ +author: Sune Vuorela <[email protected]> + +--- 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/dilos/dependencies/tqt/debian/patches/series b/dilos/dependencies/tqt/debian/patches/series new file mode 100644 index 000000000..e6bdb92af --- /dev/null +++ b/dilos/dependencies/tqt/debian/patches/series @@ -0,0 +1,3 @@ +06_disable_rpath.diff +09_amd64_lib64.diff +72_dont_trust_uname-m_use_dpkg-arch_instead.diff diff --git a/dilos/dependencies/tqt/debian/qt_plugins_3.3rc b/dilos/dependencies/tqt/debian/qt_plugins_3.3rc new file mode 100644 index 000000000..6a411f315 --- /dev/null +++ b/dilos/dependencies/tqt/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/libtqmng.so=30306^e3^ei686 Linux g++-4.* full-config^e2006-08-25T18:22:18^e + diff --git a/dilos/dependencies/tqt/debian/qtrc b/dilos/dependencies/tqt/debian/qtrc new file mode 100644 index 000000000..4f44006ae --- /dev/null +++ b/dilos/dependencies/tqt/debian/qtrc @@ -0,0 +1,28 @@ +[General] +GUIEffects=general^eanimatecombo^e +embedFonts=true +enableXft=true +font=Sans Serif,9,-1,5,50,0,0,0,0,0 +fontPath=\0 +useXft=true +style=Plastik + +[KDE] +contrast=7 + +[KWinPalette] +activeBackground=#1f26ad +activeBlend=#259bb8 +activeForeground=#ffffff +activeTitleBtnBg=#e6e6e6 +frame=#efefef +inactiveBackground=#cdcdcd +inactiveBlend=#ababab +inactiveForeground=#dddddd +inactiveFrame=#efefef +inactiveTitleBtnBg=#ebebeb + +[Palette] +active=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e +disabled=#808080^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#c7c7c7^e#ffffff^e#808080^e#ffffff^e#efefef^e#000000^e#567594^e#ffffff^e#0000ee^e#52188b^e +inactive=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e diff --git a/dilos/dependencies/tqt/debian/rules b/dilos/dependencies/tqt/debian/rules new file mode 100755 index 000000000..4960cd195 --- /dev/null +++ b/dilos/dependencies/tqt/debian/rules @@ -0,0 +1,501 @@ +#!/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) + +# The default gzip compressor has been changed in dpkg >= 1.17.0. +deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \ + sed -e "s|.*version ||" -e "s| .*||" | \ + xargs -r dpkg --compare-versions 1.17.0 lt \ + && echo xz || echo gzip) +ifeq ($(deb_default_compress),gzip) +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) +endif + +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) + +DEB_TIME64_API = $(shell echo | cc $(dpkg-buildflags --get CPPFLAGS) -dM -E -x c++ - | grep -q "_TIME_BITS 64" && echo true || false) +ifeq ($(DEB_TIME64_API),true) +DEB_TIME64_SUFFIX = -t64 +else +DEB_TIME64_SUFFIX = +endif + +# Honour "parallel=N" option of DEB_BUILD_OPTIONS. Comment out to +# never build in parallel, regardless of DEB_BUILD_OPTIONS. +DEB_BUILD_PARALLEL ?= true + +PLATFORM_ARG = dilos-g++ + +# quilt stuff +#include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +# build variables (directorys) +DEBIAN = $(shell pwd)/debian +P_LIBS = $(DEBIAN)/libtqt3-mt$(DEB_TIME64_SUFFIX) +P_DOC = $(DEBIAN)/tqt3-doc +P_APPSDEV = $(DEBIAN)/tqt3-apps-dev +P_HEADERS = $(DEBIAN)/libtqt3-headers +P_QTMTDEV = $(DEBIAN)/libtqt3-mt-dev + +RPC_INCLUDES = $(if $(wildcard /usr/include/tirpc),-I/usr/include/tirpc,) + +TMP_INSTALL = $(DEBIAN)/tmp-install + +CONFIGURE_OPTS = \ + -prefix "/usr" \ + -sysconfdir "/etc/tqt3" \ + -datadir "/usr/share/tqt3" \ + -headerdir "/usr/include/tqt3" \ + -docdir "/usr/share/tqt3/doc" \ + -libdir "/usr/lib/$(DEB_HOST_MULTIARCH)" \ + -plugindir "/usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins" \ + -translationdir "/usr/share/tqt3/translations" \ + \ + -thread \ + -shared \ + -fast \ + -no-exceptions \ + -platform $(PLATFORM_ARG) \ + \ + -nis \ + -no-pch \ + -cups \ + -stl \ + -ipv6 \ + \ + -sm \ + -xshape \ + -xinerama \ + -xcursor \ + -xrandr \ + -xrender \ + -xft \ + -tablet \ + -xkb \ + \ + -system-zlib \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + -system-nas-sound \ + \ + -enable-opengl \ + -dlopen-opengl \ + \ + -qt-gif \ + -qt-imgfmt-png \ + -qt-imgfmt-jpeg \ + -plugin-imgfmt-mng \ + \ + -plugin-sql-odbc \ + -plugin-sql-psql \ + -plugin-sql-mysql \ + -no-sql-ibase \ + -plugin-sql-sqlite \ + -plugin-sql-sqlite3 \ + \ + -I/usr/include/mysql \ + -I/usr/include/freetype2 \ + -I`pg_config --includedir` \ + -I`pg_config --includedir-server` \ + $(RPC_INCLUDES) \ + \ + -L/usr/lib/$(DEB_HOST_MULTIARCH)\ + \ + -lfontconfig \ + -inputmethod \ + -glibmainloop \ + # End of CONFIGURE_OPTS + +#interbase_archs := i386 amd64 sparc powerpc +#ifneq ($(DEB_HOST_ARCH_CPU),$(findstring $(DEB_HOST_ARCH_CPU),$(interbase_archs))) +# CONFIGURE_OPTS += -no-sql-ibase +# IBASE = -Nlibtqt3-mt-ibase +#else + IBASE = +#endif + +ifeq ($(DEB_HOST_ARCH_OS),hurd) + CONFIGURE_OPTS += -no-sql-ibase + IBASE = -Nlibtqt3-mt-ibase +endif + +ifeq ($(DEB_HOST_ARCH),arm) + CONFIGURE_OPTS += -DQT_QLOCALE_USES_FCVT +endif + +post-patches:: + dh_testdir +ifeq ($(DEB_TIME64_API),true) + # update library package name for TIME64 ABI + ls -d debian/* | \ + grep -E "/libtqt3-mt\." | \ + grep -v "\.t64$$" | \ + while read a; do \ + [ -d $$a ] || [ -f $$a.t64 ] || \ + (cp -a $$a debian/libtqt3-mt$(DEB_TIME64_SUFFIX).$${a##*.} && mv $$a $$a.t64); \ + done + [ -f debian/control.t64 ] || \ + sed -i.t64 \ + -e "s/^\\(Package: libtqt3-mt\\)$$/\\1$(DEB_TIME64_SUFFIX)/" \ + -e "s/^\\(Replaces\\|Breaks\\): \\(libtqt3-mt\\)\\( \|$$\)/\\1: \\2, \\2$(DEB_TIME64_SUFFIX)\\3/" \ + -e "s/\\(libtqt3-mt\\) (=/\\1$(DEB_TIME64_SUFFIX) (=/" \ + debian/control +endif + +build build-arch: libqt-thread-stamp +build-indep: + + touch build-stamp + +libqt-thread-stamp: post-patches + + @echo "QTDIR is ${QTDIR}" + + dh_testdir + + echo yes | ./configure $(CONFIGURE_OPTS) + + # 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/tqtfindtr $(TMP_INSTALL)/usr/bin/ + + # build tqtconv2ui + cd tools/designer/tools/tqtconv2ui && $(MAKE) + cp bin/tqtconv2ui $(TMP_INSTALL)/usr/bin/tqtconv2ui + + # 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 + + touch libqt-thread-stamp + +clean:: + + dh_testdir + + -rm -rf debian/patched + -rm -rf build-stamp libqt-thread-stamp + + -chmod -R u+w * + -chmod a-x doc/html/layout?.png + + if [ -f "src/Makefile" ]; then \ + $(MAKE) -C src clean; $(MAKE) -C plugins/src distclean; $(MAKE) -C tools distclean; \ + $(MAKE) -C tools/qconfig distclean; \ + $(MAKE) -C tools/msg2tqm distclean; $(MAKE) -C tools/tqtmergetr distclean; $(MAKE) -C tools/qembed distclean; \ + $(MAKE) -C tools/designer/tools/tqtconv2ui distclean; $(MAKE) -C tools/designer/tools/tqtcreatecw distclean; \ + $(MAKE) -C tools/designer/plugins/glade distclean; \ + $(MAKE) -C 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/tqmoc bin/tqmake src/tqmoc/*.o mkspecs/default lib/lib* `pwd`/debian/doc $(TMP_INSTALL) \ + src/tools/qconfig.cpp 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 -f src/.obj/debug-shared-mt/*o plugins/src/inputmethods/imsw-multi/.obj/debug-shared-mt/*o plugins/inputmethods/*so + rm -f plugins/src/inputmethods/imsw-none/.obj/debug-shared-mt/*o plugins/src/inputmethods/simple/.obj/debug-shared-mt/*o plugins/src/inputmethods/xim/.obj/debug-shared-mt/*o + + # delete generated Makefiles but save the toplevel Makefile + -mv Makefile Makefile.save + for a in `find . -name 'Makefile'`; do rm -f "$$a"; done + -mv Makefile.save Makefile + + cd examples/ && find . -name '.obj' | xargs rm -rf + + # revert multi-arch path in install files + for a in debian/*install debian/*links; do \ + [ ! -f $$a.arch ] || \ + mv $$a.arch $$a; \ + done + + dh_clean + +ifeq ($(DEB_TIME64_API),true) + # revert library package name for TIME64 ABI + ls -d debian/* | \ + grep -E "\.t64$$" | \ + while read a; do \ + mv $$a $${a%.t64}; \ + done + ls -d debian/* | \ + grep -E "/libtqt3-mt$(DEB_TIME64_SUFFIX)\." | \ + xargs -r rm + [ -f debian/control.t64 ] || \ + sed -i.t64 \ + -e "s/^\\(Package: libtqt3-mt\\)$$/\\1$(DEB_TIME64_SUFFIX)/" \ + -e "s/^\\(Replaces\\|Breaks\\): \\(libtqt3-mt\\)\\( \|$$\)/\\1: \\2, \\2$(DEB_TIME64_SUFFIX)\\3/" \ + -e "s/\\(libtqt3-mt\\) (=/\\1$(DEB_TIME64_SUFFIX) (=/" \ + debian/control +else + [ ! -f debian/control.t64 ] || \ + mv debian/control.t64 debian/control +endif + +install: build + + dh_testdir + dh_testroot + + dh_clean -i + dh_installdirs + + # update multi-arch path in install files + for a in debian/*install debian/*links; do \ + [ -d $$a ] || [ -f $$a.arch ] || \ + sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \ + done + + # fix .prl files + for a in $(TMP_INSTALL)/usr/lib/$(DEB_HOST_MULTIARCH)/*prl; do cat "$$a" | sed \ + "s#$(QTDIR)#/usr/share/tqt3#g" > "$$a".new && mv "$$a".new "$$a"; done + + dh_install $(IBASE) --sourcedir=$(TMP_INSTALL) + + ## build tqt3-doc package + # copy all docs there first + install -d $(P_DOC)/usr/share/tqt3/doc/html/ + for a in `cd $(TMP_INSTALL)/usr/share/tqt3/doc/html/ && find`; do cp $(TMP_INSTALL)/usr/share/tqt3/doc/html/"$$a" $(P_DOC)/usr/share/tqt3/doc/html/; done + + ## 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 + + dh_installman -i + + 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 -Dpm 755 `pwd`/debian/maintain/build-examples.sh `pwd`/debian/doc/tqt3-examples/build-examples + cd `pwd`/debian/doc/ && \ + find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \ + tar cvv --no-recursion --null -T - \ + --mode=u+rw,go=rX,a-s \ + --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \ + gzip -n > tqt3-examples.tar.gz + install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz + + # proceed + dh_compress -i -Xhtml/ + dh_link -i + + dh_fixperms -i + dh_installdeb -i + + dh_perl -i + dh_shlibdeps -i + + # fix shlibdeps madness + for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done + + dh_gencontrol -i + dh_md5sums -i + + dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS) + +binary-arch: build install + + dh_testdir + dh_testroot + dh_installdirs -a + + ## create tqt3-apps-dev-package + install -d $(P_APPSDEV)/usr/include/tqt3/ + cp `pwd`/tools/designer/interfaces/*.h $(P_APPSDEV)/usr/include/tqt3/ + cp `pwd`/tools/designer/editor/*.h $(P_APPSDEV)/usr/include/tqt3/ + rm -rf `pwd`/debian/tqt3-apps-dev/usr/include/tqt3/preferences.ui.h + + # remove utterly ugle symlink + rm -rf `pwd`/debian/tqt3-dev-tools//usr/share/tqt3/mkspecs/linux-g++/linux-g++ + + # language file for linguist + install -d `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-linguist/ + cp translations/template.ts `pwd`/debian/tqt3-linguist/usr/share/doc/tqt3-linguist/qt_untranslated.ts + + # fix that stupid friggin professional file + perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' src/qt_professional.pri + + ## i18n files for designer, linguist and assistant + (cd `pwd`/tools/designer/designer/ && tqlrelease designer.pro) + for a in `cd tools/designer/designer/ && find . -name 'designer_*.qm' | sed 's/designer_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \ + install -m644 -D tools/designer/designer/designer_"$$a".qm `pwd`/debian/tqt3-designer/usr/share/tqt3/translations/designer_"$$a".qm; done + rm -rf `pwd`/tools/designer/designer/*.qm + + (cd `pwd`/tools/assistant/ && tqlrelease assistant.pro) + for a in `cd tools/assistant/ && find . -name 'assistant_*.qm' | sed 's/assistant_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \ + install -m644 -D tools/assistant/assistant_"$$a".qm `pwd`/debian/tqt3-assistant/usr/share/tqt3/translations/assistant_"$$a".qm; done + rm -rf `pwd`/tools/assistant/*.qm `pwd`/debian/libtqt3-i18n/usr/share/tqt3/translations/assistant_de.qm + + (cd `pwd`/tools/linguist/linguist/ && tqlrelease linguist.pro) + for a in `cd tools/linguist/linguist/ && find . -name 'linguist_*.qm' | sed 's/linguist_//' | sed 's/\.qm//' | sed 's/\.\///g'`; do \ + install -m644 -D tools/linguist/linguist/linguist_"$$a".qm `pwd`/debian/tqt3-linguist/usr/share/tqt3/translations/linguist_"$$a".qm; done + rm -rf `pwd`/tools/linguist/linguist/*.qm + + # include logo32 for every program + cd `pwd`/debian/tqt3-designer/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \ + do cat "$$a" | sed 's/logo32/logo32-designer/g' > "$$a".new && mv "$$a".new "$$a"; done + + cd `pwd`/debian/tqt3-linguist/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \ + do cat "$$a" | sed 's/logo32/logo32-linguist/g' > "$$a".new && mv "$$a".new "$$a"; done + + cd `pwd`/debian/tqt3-assistant/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \ + do cat "$$a" | sed 's/logo32/logo32-assistant/g' > "$$a".new && mv "$$a".new "$$a"; done + + cd `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/doc/html && for a in `find . -name '*.html'`; \ + do cat "$$a" | sed 's/logo32/logo32-qmake/g' > "$$a".new && mv "$$a".new "$$a"; done + + for a in designer linguist assistant; do install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-"$$a"/usr/share/tqt3/doc/html/logo32-"$$a".png; done + install -m644 -D `pwd`/doc/html/logo32.png `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/doc/html/logo32-qmake.png + + # fix qmake.conf files + cd `pwd`/debian/tqt3-dev-tools/usr/share/tqt3/mkspecs/ && for a in *; do cd "$$a" && cat qmake.conf | sed 's/\$$(QTDIR)\/include/\/usr\/share\/tqt3\/include/g' | sed 's/\$$(QTDIR)/\/usr\/share\/tqt3/g' | \ + sed 's/\-I\/usr\/include/&\/tqt3/g' >> qmake.conf.new && mv qmake.conf.new qmake.conf && cd ../; done + + 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$(DEB_TIME64_SUFFIX) tqt3-doc; do install -D `pwd`/debian/README.Debian `pwd`/debian/"$$a"/usr/share/doc/"$$a"/README.Debian; done + + # install the qmake binary + rm -rf `pwd`/debian/tqt3-dev-tools/usr/bin/tqmake + install -D `pwd`/qmake/tqmake `pwd`/debian/tqt3-dev-tools/usr/bin/tqmake + + # Install source for the designer tools, such as tqtcreatecw. + cp -ra tools/designer/tools debian/tqt3-designer/usr/share/tqt3/tools + rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/tqtcreatecw + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/.moc + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/.obj + rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtcreatecw/Makefile + rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/tqtconv2ui + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/.moc + rm -rf debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/.obj + rm -f debian/tqt3-designer/usr/share/tqt3/tools/tqtconv2ui/Makefile + + # run remaining debhelper scripts + dh_installdocs -a $(IBASE) -XREADME.Debian + dh_installmenu -a $(IBASE) + + dh_installchangelogs -a $(IBASE) changes-3.3.8 + dh_installchangelogs -a $(IBASE) changes-3.3.8b + + dh_installman -a $(IBASE) + + dh_link -a $(IBASE) + dh_strip -a $(IBASE) --dbg-package=tqt-x11-free-dbg + $(if $(wildcard /usr/bin/dh_strip_nondeterminism),\ + dh_strip_nondeterminism -a $(IBASE)) + 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$(DEB_TIME64_SUFFIX)/usr/lib\ + --dpkg-shlibdeps-params=--ignore-missing-info + + # fix shlibdeps madness + for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done + + dh_gencontrol -a $(IBASE) + dh_md5sums -a $(IBASE) + dh_builddeb -a $(IBASE) $(DEB_DH_BUILDDEB_ARGS) + +binary: binary-indep binary-arch +.PHONY: build build-arch binary-indep binary-arch binary install clean diff --git a/dilos/dependencies/tqt/debian/source/format b/dilos/dependencies/tqt/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/dilos/dependencies/tqt/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/dilos/dependencies/tqt/debian/source/options b/dilos/dependencies/tqt/debian/source/options new file mode 100644 index 000000000..72f1f5450 --- /dev/null +++ b/dilos/dependencies/tqt/debian/source/options @@ -0,0 +1,6 @@ +# Use xz instead of gzip +compression = "xz" +compression-level = 9 + +# Don't run differences +diff-ignore = .* diff --git a/dilos/dependencies/tqt/debian/tqt3-apps-dev.install b/dilos/dependencies/tqt/debian/tqt3-apps-dev.install new file mode 100644 index 000000000..d3cfad18a --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-apps-dev.install @@ -0,0 +1,4 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.so +usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.so +usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.so +usr/include/tqt3/tqassistantclient.h diff --git a/dilos/dependencies/tqt/debian/tqt3-apps-dev.links b/dilos/dependencies/tqt/debian/tqt3-apps-dev.links new file mode 100644 index 000000000..60fe91b77 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-apps-dev.links @@ -0,0 +1,8 @@ +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.prl /usr/share/tqt3/lib/libtqteditor.prl +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqteditor.so /usr/share/tqt3/lib/libtqteditor.so +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.prl /usr/share/tqt3/lib/libtqtdesignercore.prl +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqtdesignercore.so /usr/share/tqt3/lib/libtqtdesignercore.so +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.prl /usr/share/tqt3/lib/libtqassistantclient.prl +/usr/lib/$(DEB_HOST_MULTIARCH)/libtqassistantclient.so /usr/share/tqt3/lib/libtqassistantclient.so +/usr/include/tqt3 /usr/share/tqt3/tools/designer/editor +/usr/include/tqt3 /usr/share/tqt3/tools/designer/interfaces diff --git a/dilos/dependencies/tqt/debian/tqt3-assistant.install b/dilos/dependencies/tqt/debian/tqt3-assistant.install new file mode 100644 index 000000000..4cfd10cf1 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-assistant.install @@ -0,0 +1,6 @@ +usr/bin/tqassistant +usr/share/applications/tqassistant.desktop +usr/share/pixmaps/tqassistant.png +usr/share/tqt3/doc/html/assistant*html +usr/share/tqt3/doc/html/assistant*dcf +usr/share/tqt3/doc/html/assistant*png diff --git a/dilos/dependencies/tqt/debian/tqt3-assistant.links b/dilos/dependencies/tqt/debian/tqt3-assistant.links new file mode 100644 index 000000000..5244653a5 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-assistant.links @@ -0,0 +1 @@ +/usr/bin/tqassistant /usr/share/tqt3/bin/tqassistant diff --git a/dilos/dependencies/tqt/debian/tqt3-assistant.menu b/dilos/dependencies/tqt/debian/tqt3-assistant.menu new file mode 100644 index 000000000..d59f83bd0 --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-assistant.postinst b/dilos/dependencies/tqt/debian/tqt3-assistant.postinst new file mode 100644 index 000000000..2852229d7 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-assistant.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +update-alternatives --install \ + /usr/bin/assistant assistant "/usr/bin/tqassistant" "45" \ + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-assistant.prerm b/dilos/dependencies/tqt/debian/tqt3-assistant.prerm new file mode 100644 index 000000000..048730aa0 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-assistant.prerm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +case "$1" in + upgrade) ;; + remove|failed-upgrade|deconfigure) + update-alternatives --remove assistant "/usr/bin/tqassistant" + ;; +esac + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-designer-plugins.install b/dilos/dependencies/tqt/debian/tqt3-designer-plugins.install new file mode 100644 index 000000000..13fed3016 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-designer-plugins.install @@ -0,0 +1 @@ +usr/lib/$(DEB_HOST_MULTIARCH)/tqt3/plugins/designer/* diff --git a/dilos/dependencies/tqt/debian/tqt3-designer.install b/dilos/dependencies/tqt/debian/tqt3-designer.install new file mode 100644 index 000000000..6cfffd9cd --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-designer.install @@ -0,0 +1,9 @@ +usr/bin/tqdesigner +usr/bin/tqtcreatecw +usr/bin/tqtconv2ui +usr/share/applications/tqdesigner.desktop +usr/share/pixmaps/tqdesigner.png +usr/share/tqt3/templates/* +usr/share/tqt3/doc/html/designer*html +usr/share/tqt3/doc/html/designer*dcf +usr/share/tqt3/doc/html/designer*jpg diff --git a/dilos/dependencies/tqt/debian/tqt3-designer.links b/dilos/dependencies/tqt/debian/tqt3-designer.links new file mode 100644 index 000000000..19922f299 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-designer.links @@ -0,0 +1 @@ +/usr/bin/tqdesigner /usr/share/tqt3/bin/tqdesigner diff --git a/dilos/dependencies/tqt/debian/tqt3-designer.manpages b/dilos/dependencies/tqt/debian/tqt3-designer.manpages new file mode 100644 index 000000000..5fcb29982 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-designer.manpages @@ -0,0 +1 @@ +doc/man/man1/tqdesigner.1 diff --git a/dilos/dependencies/tqt/debian/tqt3-designer.menu b/dilos/dependencies/tqt/debian/tqt3-designer.menu new file mode 100644 index 000000000..be078bd49 --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-designer.postinst b/dilos/dependencies/tqt/debian/tqt3-designer.postinst new file mode 100644 index 000000000..4ebd22505 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-designer.postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +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/tqdesigner.1.gz" + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-designer.prerm b/dilos/dependencies/tqt/debian/tqt3-designer.prerm new file mode 100644 index 000000000..02cf2ff66 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-designer.prerm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +case "$1" in + upgrade) ;; + remove|failed-upgrade|deconfigure) + update-alternatives --remove designer "/usr/bin/tqdesigner" + ;; +esac + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-dev-tools-compat.install b/dilos/dependencies/tqt/debian/tqt3-dev-tools-compat.install new file mode 100644 index 000000000..5975d4bb9 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-dev-tools-compat.install @@ -0,0 +1,4 @@ +usr/bin/tqm2ts +usr/bin/tqtmergetr +usr/bin/tqtfindtr +usr/bin/msg2tqm diff --git a/dilos/dependencies/tqt/debian/tqt3-dev-tools.install b/dilos/dependencies/tqt/debian/tqt3-dev-tools.install new file mode 100644 index 000000000..3c795661b --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-dev-tools.links b/dilos/dependencies/tqt/debian/tqt3-dev-tools.links new file mode 100644 index 000000000..073720d2b --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-dev-tools.manpages b/dilos/dependencies/tqt/debian/tqt3-dev-tools.manpages new file mode 100644 index 000000000..2976f6c84 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-dev-tools.manpages @@ -0,0 +1,5 @@ +doc/man/man1/tqembed.1 +doc/man/man1/tqlrelease.1 +doc/man/man1/tqlupdate.1 +doc/man/man1/tqmoc.1 +doc/man/man1/tquic.1 diff --git a/dilos/dependencies/tqt/debian/tqt3-dev-tools.postinst b/dilos/dependencies/tqt/debian/tqt3-dev-tools.postinst new file mode 100644 index 000000000..9af54f964 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-dev-tools.postinst @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +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/tqmoc.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/tquic.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/tqlupdate.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/tqlrelease.1.gz" + +update-alternatives --install \ + /usr/bin/qmake qmake "/usr/bin/tqmake" "45" \ + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-dev-tools.prerm b/dilos/dependencies/tqt/debian/tqt3-dev-tools.prerm new file mode 100644 index 000000000..1f8b6a46c --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-dev-tools.prerm @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +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/dilos/dependencies/tqt/debian/tqt3-doc.doc-base b/dilos/dependencies/tqt/debian/tqt3-doc.doc-base new file mode 100644 index 000000000..08f4fcdc3 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-doc.doc-base @@ -0,0 +1,11 @@ +Document: tqt3-doc +Title: Qt Reference Documentation +Author: Troll Tech, The TDE Team +Abstract: Qt (TM) is a multi-platform C++ GUI toolkit. It is a product of + Troll Tech. It is supported on all major variants of Microsoft Windows and + Unix/X Windows. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/tqt3-doc/html/index.html +Files: /usr/share/doc/tqt3-doc/html/*.html diff --git a/dilos/dependencies/tqt/debian/tqt3-doc.docs b/dilos/dependencies/tqt/debian/tqt3-doc.docs new file mode 100644 index 000000000..2630a416c --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-doc.docs @@ -0,0 +1,3 @@ +FAQ +README.md +README-QT.TXT diff --git a/dilos/dependencies/tqt/debian/tqt3-doc.links b/dilos/dependencies/tqt/debian/tqt3-doc.links new file mode 100644 index 000000000..dfec5318b --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-linguist.install b/dilos/dependencies/tqt/debian/tqt3-linguist.install new file mode 100644 index 000000000..c02015323 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-linguist.install @@ -0,0 +1,6 @@ +usr/bin/tqlinguist +usr/share/applications/tqlinguist.desktop +usr/share/pixmaps/tqlinguist.png +usr/share/tqt3/phrasebooks/* +usr/share/tqt3/doc/html/linguist*html +usr/share/tqt3/doc/html/linguist*dcf diff --git a/dilos/dependencies/tqt/debian/tqt3-linguist.links b/dilos/dependencies/tqt/debian/tqt3-linguist.links new file mode 100644 index 000000000..4fa700555 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-linguist.links @@ -0,0 +1 @@ +/usr/bin/tqlinguist /usr/share/tqt3/bin/tqlinguist diff --git a/dilos/dependencies/tqt/debian/tqt3-linguist.manpages b/dilos/dependencies/tqt/debian/tqt3-linguist.manpages new file mode 100644 index 000000000..14380e5ab --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-linguist.manpages @@ -0,0 +1 @@ +doc/man/man1/tqlinguist.1 diff --git a/dilos/dependencies/tqt/debian/tqt3-linguist.menu b/dilos/dependencies/tqt/debian/tqt3-linguist.menu new file mode 100644 index 000000000..976cb4b3c --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-linguist.postinst b/dilos/dependencies/tqt/debian/tqt3-linguist.postinst new file mode 100644 index 000000000..fc135a3e1 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-linguist.postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +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/tqlinguist.1.gz" + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-linguist.prerm b/dilos/dependencies/tqt/debian/tqt3-linguist.prerm new file mode 100644 index 000000000..4037445d0 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-linguist.prerm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +case "$1" in + upgrade) ;; + remove|failed-upgrade|deconfigure) + update-alternatives --remove linguist "/usr/bin/tqlinguist" + ;; +esac + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-qtconfig.install b/dilos/dependencies/tqt/debian/tqt3-qtconfig.install new file mode 100644 index 000000000..6b1f88962 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-qtconfig.install @@ -0,0 +1,3 @@ +usr/bin/tqtconfig +usr/share/applications/tqtconfig.desktop +usr/share/pixmaps/tqtconfig.png diff --git a/dilos/dependencies/tqt/debian/tqt3-qtconfig.links b/dilos/dependencies/tqt/debian/tqt3-qtconfig.links new file mode 100644 index 000000000..eb6dd21c0 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-qtconfig.links @@ -0,0 +1 @@ +/usr/bin/tqtconfig /usr/share/tqt3/bin/tqtconfig diff --git a/dilos/dependencies/tqt/debian/tqt3-qtconfig.manpages b/dilos/dependencies/tqt/debian/tqt3-qtconfig.manpages new file mode 100644 index 000000000..025ff0ad8 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-qtconfig.manpages @@ -0,0 +1 @@ +doc/man/man1/tqtconfig.1 diff --git a/dilos/dependencies/tqt/debian/tqt3-qtconfig.menu b/dilos/dependencies/tqt/debian/tqt3-qtconfig.menu new file mode 100644 index 000000000..79f2ff8e5 --- /dev/null +++ b/dilos/dependencies/tqt/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/dilos/dependencies/tqt/debian/tqt3-qtconfig.postinst b/dilos/dependencies/tqt/debian/tqt3-qtconfig.postinst new file mode 100644 index 000000000..3964f38d3 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-qtconfig.postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +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/tqtconfig.1.gz" + +#DEBHELPER# diff --git a/dilos/dependencies/tqt/debian/tqt3-qtconfig.prerm b/dilos/dependencies/tqt/debian/tqt3-qtconfig.prerm new file mode 100644 index 000000000..5024559d2 --- /dev/null +++ b/dilos/dependencies/tqt/debian/tqt3-qtconfig.prerm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e +if [ "${BASEDIR:=/}" = "/" ]; then + BASEDIR="" +fi + +case "$1" in + upgrade) ;; + remove|failed-upgrade|deconfigure) + update-alternatives --remove qtconfig "/usr/bin/tqtconfig" + ;; +esac + +#DEBHELPER# |