diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-10 15:17:53 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-10 15:17:53 -0500 |
commit | 37e3f157c7d76f13de807fa66e36df209e1005fb (patch) | |
tree | 7a4f131b2ee065337dac341bff34515310efba4f /experimental/tqtinterface/qt4/debian | |
parent | 16630c3eff313238fa8412275555285c9195981b (diff) | |
download | tde-37e3f157c7d76f13de807fa66e36df209e1005fb.tar.gz tde-37e3f157c7d76f13de807fa66e36df209e1005fb.zip |
Added TQt4 HEAD
Diffstat (limited to 'experimental/tqtinterface/qt4/debian')
-rw-r--r-- | experimental/tqtinterface/qt4/debian/changelog | 5 | ||||
-rw-r--r-- | experimental/tqtinterface/qt4/debian/compat | 1 | ||||
-rw-r--r-- | experimental/tqtinterface/qt4/debian/control | 61 | ||||
-rw-r--r-- | experimental/tqtinterface/qt4/debian/copyright | 145 | ||||
-rw-r--r-- | experimental/tqtinterface/qt4/debian/libtqtinterface-dev.install | 1 | ||||
-rw-r--r-- | experimental/tqtinterface/qt4/debian/libtqtinterface.install | 2 | ||||
-rw-r--r-- | experimental/tqtinterface/qt4/debian/patches/.gitignore | 0 | ||||
-rwxr-xr-x | experimental/tqtinterface/qt4/debian/rules | 164 |
8 files changed, 379 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/debian/changelog b/experimental/tqtinterface/qt4/debian/changelog new file mode 100644 index 000000000..f22130f90 --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/changelog @@ -0,0 +1,5 @@ +tqt-qt4 (4:3.4.0-0ubuntu0) maverick; urgency=low + + * Initial packaging + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Sat, 19 Mar 2011 22:10:00 -0600 diff --git a/experimental/tqtinterface/qt4/debian/compat b/experimental/tqtinterface/qt4/debian/compat new file mode 100644 index 000000000..1e8b31496 --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/compat @@ -0,0 +1 @@ +6 diff --git a/experimental/tqtinterface/qt4/debian/control b/experimental/tqtinterface/qt4/debian/control new file mode 100644 index 000000000..dc4d74959 --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/control @@ -0,0 +1,61 @@ +Source: tqt-qt4 +Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> +XSBC-Original-Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> +Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net> +Build-Depends: debhelper (>= 5.0.31), quilt, cpio, libxext-dev (>= 4.3.0.dfsg.1-4), + libxrandr-dev (>= 4.3.0.dfsg.1-4), libsm-dev (>= 4.3.0.dfsg.1-4), + libxmu-dev (>= 4.3.0.dfsg.1-4), libice-dev (>= 4.3.0.dfsg.1-4), + libx11-dev (>= 4.3.0.dfsg.1-4), libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, + libxcursor-dev, libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg62-dev, + libmng-dev (>= 1.0.3), libpng12-dev | libpng12-0-dev, libfontconfig1-dev, + libfreetype6-dev, libxft-dev, + flex, libaudio-dev, libcups2-dev, + libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, + libqt4-dev +Section: libs +Priority: optional +Standards-Version: 3.8.4 +Homepage: http://tqt.trinitydesktop.org +Vcs-Svn: http://svn.trinitydesktop.org/svn/trinity/experimental/tqtinterface + +Package: libtqtinterface +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, fontconfig +Recommends: libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libxmu6 (>= 4.3.0.dfsg.1-4) +Description: Trinity Qt Interface (TQt) + This is the Trinity Qt Interface for Qt4 + This package includes the runtime libraries + +Package: libtqtinterface-dev +Architecture: any +Section: libdevel +Depends: libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4), + libsm-dev (>= 4.3.0.dfsg.1-4), libxmu-dev (>= 4.3.0.dfsg.1-4), + libice-dev (>= 4.3.0.dfsg.1-4), libx11-dev (>= 4.3.0.dfsg.1-4), + libxt-dev (>= 4.3.0.dfsg.1-4), libxrender-dev, libxcursor-dev, + libxinerama-dev, libxi-dev, zlib1g-dev, libjpeg62-dev, libmng-dev (>= 1.0.3), + libpng12-dev | libpng12-0-dev, libfontconfig1-dev, libfreetype6-dev, + libxft-dev, libaudio-dev, libcups2-dev, libgl1-mesa-dev | libgl-dev, + libglu1-mesa-dev | libglu-dev, libc6-dev, libtqtinterface (= ${binary:Version}), + libqt4-dev +Description: Trinity Qt Interface (TQt) Development Files + This is the Trinity Qt Interface for Qt4 + This package includes the development headers + +Package: libtqtinterface-doc +Architecture: all +Section: doc +Priority: extra +Description: Trinity Qt Interface (TQt) API documentation + This is the Trinity Qt Interface for Qt4 + This package includes the documentation files + +Package: libtqtinterface-dbg +Section: libdevel +Architecture: any +Priority: extra +Depends: libtqtinterface (= ${binary:Version}), gdb +Description: Trinity Qt Interface (TQt) debugging symbols + This is the Trinity Qt Interface for Qt4 + This package includes the debugging symbol files diff --git a/experimental/tqtinterface/qt4/debian/copyright b/experimental/tqtinterface/qt4/debian/copyright new file mode 100644 index 000000000..78872c85b --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/copyright @@ -0,0 +1,145 @@ +This is Debian GNU/Linux's prepackaged version of the Qt GUI Development +library. + +This package was put together originally by me, Heiko Schlittermann +<heiko@lotte.sax.de>, from the sources, which I obtained from +ftp.troll.no. The changes were very minimal to nothing, - merely +adding support for the Debian package maintenance scheme, by adding +various debian/* files and by changing the propagate script to fit the +Debian GNU/Linux filesystem structure. + +This package has since been temporarily taken over by Ivan Moore +<rkrusty@debian.org> until Heiko has time to work on it all again. + +In Jul 2002, Martin Loschwitz <madkiss@madkiss.org> overtook the package +maintenance for the QT3-packages. + +This packaged is maintained inside the Debian Qt/KDE Maintainers Team +<debian-qt-kde@lists.debian.org> since Tue, 26 Jul 2005 19:06:03 +0200 + +Qt 3.3 is triple licensed under the QPL, GPL 2 and GPL 3. + +It was downloaded from ftp://ftp.troll.no/qt/source + + This file may be used under the terms of the GNU General + Public License versions 2.0 or 3.0 as published by the Free + Software Foundation and appearing in the files LICENSE.GPL2 + and LICENSE.GPL3 included in the packaging of this file. + Alternatively you may (at your option) use any later version + of the GNU General Public License if such license has been + publicly approved by Trolltech ASA (or its successors, if any) + and the KDE Free Qt Foundation. + +Please refer to /usr/share/common-licenses/GPL-2 for complete GPL 2 +licence and /usr/share/common-licenses/GPL-3 for complete GPL 3 +licence. + + THE Q PUBLIC LICENSE + version 1.0 + + Copyright (C) 1999-2000 Troll Tech AS, Norway. + Everyone is permitted to copy and + distribute this license document. + +The intent of this license is to establish freedom to share and change the +software regulated by this license under the open source model. + +This license applies to any software containing a notice placed by the +copyright holder saying that it may be distributed under the terms of +the Q Public License version 1.0. Such software is herein referred to as +the Software. This license covers modification and distribution of the +Software, use of third-party application programs based on the Software, +and development of free software which uses the Software. + + Granted Rights + +1. You are granted the non-exclusive rights set forth in this license + provided you agree to and comply with any and all conditions in this + license. Whole or partial distribution of the Software, or software + items that link with the Software, in any form signifies acceptance of + this license. + +2. You may copy and distribute the Software in unmodified form provided + that the entire package, including - but not restricted to - copyright, + trademark notices and disclaimers, as released by the initial developer + of the Software, is distributed. + +3. You may make modifications to the Software and distribute your + modifications, in a form that is separate from the Software, such as + patches. The following restrictions apply to modifications: + + a. Modifications must not alter or remove any copyright notices in + the Software. + + b. When modifications to the Software are released under this + license, a non-exclusive royalty-free right is granted to the + initial developer of the Software to distribute your modification + in future versions of the Software provided such versions remain + available under these terms in addition to any other license(s) of + the initial developer. + +4. You may distribute machine-executable forms of the Software or + machine-executable forms of modified versions of the Software, provided + that you meet these restrictions: + + a. You must include this license document in the distribution. + + b. You must ensure that all recipients of the machine-executable forms + are also able to receive the complete machine-readable source code + to the distributed Software, including all modifications, without + any charge beyond the costs of data transfer, and place prominent + notices in the distribution explaining this. + + c. You must ensure that all modifications included in the + machine-executable forms are available under the terms of this + license. + +5. You may use the original or modified versions of the Software to + compile, link and run application programs legally developed by you + or by others. + +6. You may develop application programs, reusable components and other + software items that link with the original or modified versions of the + Software. These items, when distributed, are subject to the following + requirements: + + a. You must ensure that all recipients of machine-executable forms of + these items are also able to receive and use the complete + machine-readable source code to the items without any charge + beyond the costs of data transfer. + + b. You must explicitly license all recipients of your items to use + and re-distribute original and modified versions of the items in + both machine-executable and source code forms. The recipients must + be able to do so without any charges whatsoever, and they must be + able to re-distribute to anyone they choose. + + + c. If the items are not available to the general public, and the + initial developer of the Software requests a copy of the items, + then you must supply one. + + Limitations of Liability + +In no event shall the initial developers or copyright holders be liable +for any damages whatsoever, including - but not restricted to - lost +revenue or profits or other direct, indirect, special, incidental or +consequential damages, even if they have been advised of the possibility +of such damages, except to the extent invariable law, if any, provides +otherwise. + + No Warranty + +The Software and this license document are provided AS IS with NO WARRANTY +OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. + Choice of Law + +This license is governed by the Laws of Norway. Disputes shall be settled +by Oslo City Court. + + The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS. + + You may use, distribute and copy the Qt GUI Toolkit under the terms of + GNU General Public License version 2, which is display below. + diff --git a/experimental/tqtinterface/qt4/debian/libtqtinterface-dev.install b/experimental/tqtinterface/qt4/debian/libtqtinterface-dev.install new file mode 100644 index 000000000..41a141449 --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/libtqtinterface-dev.install @@ -0,0 +1 @@ +usr/include/* diff --git a/experimental/tqtinterface/qt4/debian/libtqtinterface.install b/experimental/tqtinterface/qt4/debian/libtqtinterface.install new file mode 100644 index 000000000..dd44168a5 --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/libtqtinterface.install @@ -0,0 +1,2 @@ +usr/lib/* +usr/bin/* diff --git a/experimental/tqtinterface/qt4/debian/patches/.gitignore b/experimental/tqtinterface/qt4/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/patches/.gitignore diff --git a/experimental/tqtinterface/qt4/debian/rules b/experimental/tqtinterface/qt4/debian/rules new file mode 100755 index 000000000..2c48fb42b --- /dev/null +++ b/experimental/tqtinterface/qt4/debian/rules @@ -0,0 +1,164 @@ +#!/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) + +# Set tqt root directory +export TQTDIR=$(QTDIR) + +# fix path +OLD_PATH := $(PATH) +export PATH=$(QTDIR)/bin:$(OLD_PATH) + +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) + +ifeq ($(DEB_HOST_ARCH_OS),hurd) + PLATFORM_ARG = hurd-g++ +else #hurd +ifeq ($(DEB_HOST_ARCH),sparc) + PLATFORM_ARG = linux-g++-sparc +else #sparc + PLATFORM_ARG = linux-g++ +endif #sparc +endif #hurd + +# quilt stuff +include /usr/share/quilt/quilt.make + +# build variables (directorys) +DEBIAN = $(shell pwd)/debian +P_LIBS = $(DEBIAN)/libqt3-mt +P_DOC = $(DEBIAN)/qt3-doc +P_APPSDEV = $(DEBIAN)/qt3-apps-dev +P_HEADERS = $(DEBIAN)/libqt3-headers +P_QTMTDEV = $(DEBIAN)/libqt3-mt-dev + +TMP_INSTALL = $(DEBIAN)/tmp-install + +CONFIGURE_OPTS = \ + -thread -debug -stl -system-zlib -system-libpng -system-libmng -system-libjpeg -qt-gif -qt-imgfmt-png -qt-imgfmt-jpeg -plugin-imgfmt-mng -prefix /usr + # End of CONFIGURE_OPTS + +build: libqt-thread-stamp + + touch build-stamp + +libqt-thread-stamp: $(QUILT_STAMPFN) + + @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 + + touch libqt-thread-stamp + +clean: unpatch + + dh_testdir + + -rm -rf debian/patched + -rm -rf build-stamp libqt-thread-stamp + + -chmod -R u+w * + -chmod a-x doc/html/layout?.png + + if [ -f "src/Makefile" ]; then \ + $(MAKE) -C src clean; $(MAKE) -C plugins/src distclean; $(MAKE) -C tools distclean; \ + $(MAKE) -C tools/makeqpf distclean; $(MAKE) -C tools/qconfig distclean; $(MAKE) -C tools/qvfb distclean; \ + $(MAKE) -C tools/msg2qm distclean; $(MAKE) -C tools/mergetr distclean; $(MAKE) -C tools/qembed distclean; \ + $(MAKE) -C tools/designer/tools/conv2ui distclean; $(MAKE) -C tools/designer/tools/createcw distclean; \ + $(MAKE) -C tools/designer/plugins/glade distclean; $(MAKE) -C tools/designer/plugins/qglwidget distclean; \ + $(MAKE) -C config.tests/unix/largefile distclean; $(MAKE) -C qmake distclean; \ + fi + + # 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 + + dh_clean + +install: build + + dh_testdir + dh_testroot + + dh_clean -i + dh_installdirs + + # fix .prl files + for a in $(TMP_INSTALL)/usr/lib/*prl; do cat "$$a" | sed \ + "s#$(QTDIR)#/usr/share/qt3#g" > "$$a".new && mv "$$a".new "$$a"; done + + dh_install $(IBASE) --sourcedir=$(TMP_INSTALL) + +binary-indep: build install + + # Build architecture-independent files here. + dh_testdir + dh_testroot + + dh_installchangelogs -i changes-3.4.0 + + # proceed + dh_compress -i -Xhtml/ + dh_link -i + + dh_fixperms -i + dh_installdeb -i + + dh_perl -i + dh_shlibdeps -i + + # fix shlibdeps madness + for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done + + dh_gencontrol -i + dh_md5sums -i + + dh_builddeb -i + +binary-arch: build install + + dh_testdir + dh_testroot + dh_installdirs -a + + # run remaining debhelper scripts + dh_installdocs -a $(IBASE) -XREADME.Debian + dh_installmenu -a $(IBASE) + + dh_installchangelogs -a $(IBASE) changes-3.4.0 + + dh_link -a $(IBASE) + dh_strip -a $(IBASE) --dbg-package=libtqtinterface-dbg + dh_compress -a $(IBASE) + dh_fixperms -a $(IBASE) + + # run remaining debhelper scripts + dh_makeshlibs -a $(IBASE) -V + dh_installdeb -a $(IBASE) + dh_perl -a $(IBASE) + dh_shlibdeps -a $(IBASE) -l`pwd`/debian/libtqtinterface/usr/lib + + # fix shlibdeps madness + for a in `find debian/ -name '*.substvars'`; do cat "$$a" | sed 's/, xlibs (>> 4.1.0)//g' > "$$a".new && mv "$$a.new" "$$a"; done + + dh_gencontrol -a $(IBASE) + dh_md5sums -a $(IBASE) + dh_builddeb -a $(IBASE) + +binary: binary-indep binary-arch +.PHONY: build binary-indep binary-arch binary install clean patch unpatch |