summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Nelson <pyro@debian.org>2005-07-06 06:58:25 +0000
committerBrian Nelson <pyro@debian.org>2005-07-06 06:58:25 +0000
commit7438d1113b008242033fd64a0d947beab5c94a3b (patch)
tree80d4449fd17b17bbc2162fbba42ceae282265020
downloadqt4-x11-7438d1113b008242033fd64a0d947beab5c94a3b.tar.gz
importing initial qt4 packaging
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control128
-rw-r--r--debian/copyright25
-rw-r--r--debian/libqt4-core.install4
-rw-r--r--debian/libqt4-debug.install1
-rw-r--r--debian/libqt4-designer.install3
-rw-r--r--debian/libqt4-dev.install14
-rw-r--r--debian/libqt4-dev.links8
-rw-r--r--debian/libqt4-dev.postinst30
-rw-r--r--debian/libqt4-dev.prerm16
-rw-r--r--debian/libqt4-gui.install2
-rw-r--r--debian/libqt4-gui.postinst10
-rw-r--r--debian/libqt4-gui.prerm12
-rw-r--r--debian/libqt4-qt3support.install1
-rw-r--r--debian/libqt4-sql.install1
-rw-r--r--debian/libqt4.menu7
-rw-r--r--debian/patches/00list0
-rwxr-xr-xdebian/patches/06_disable_rpath.dpatch19
-rw-r--r--debian/qt4-dev-tools.install5
-rw-r--r--debian/qt4-dev-tools.menu20
-rw-r--r--debian/qt4-dev-tools.postinst20
-rw-r--r--debian/qt4-dev-tools.prerm14
-rw-r--r--debian/qt4-doc.docs1
-rw-r--r--debian/qt4-doc.install1
-rw-r--r--debian/qt4-doc.links1
-rwxr-xr-xdebian/rules103
27 files changed, 452 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..982468f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qt4-x11 (4.0.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #306694)
+
+ -- Brian Nelson <pyro@debian.org> Tue, 5 Jul 2005 19:42:18 -0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1efc9f7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,128 @@
+Source: qt4-x11
+Section: libs
+Priority: optional
+Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
+Uploaders: Brian Nelson <pyro@debian.org>
+Build-Depends: debhelper (>= 4.1.26), xlibs-static-dev (>= 4.3.0.dfsg.1-4), libxext-dev (>= 4.3.0.dfsg.1-4), libxrandr-dev (>= 4.3.0.dfsg.1-4), x-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), libjpeg62-dev, libjpeg62-dev, zlib1g-dev, libmng-dev (>= 1.0.3), libpng12-dev, libfreetype6-dev, libmysqlclient12-dev | libmysqlclient-dev, flex, libpq-dev, libaudio-dev, libcupsys2-dev, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu1-mesa-dev | libglu-dev , libxft-dev, libxrender-dev, libxcursor-dev, cdbs (>= 0.4.0), dpatch, libsqlite0-dev
+Standards-Version: 3.6.2
+
+Package: libqt4-dev
+Architecture: any
+Section: libdevel
+Depends: libqt4-core (= ${Source-Version}), xlibs-dev (>= 4.2.1), libmng-dev (>= 1.0.3), libpng12-0-dev, libjpeg62-dev, zlib1g-dev, libfreetype6-dev, libc6-dev, xlibmesa-gl-dev | libgl-dev, xlibmesa-glu-dev | libglu1-mesa-dev | libglu-dev, libxft-dev, libxrender-dev, libxcursor-dev, libaudio-dev, xlibs-pic
+Conflicts: qt3-dev-tools (<= 3:3.3.4-3)
+Recommends: libqt4-gui (= ${Source-Version}), qt4-dev-tools
+Suggests: libqt4-sql (= ${Source-Version}), libqt4-qt3support (= ${Source-Version}), qt4-doc, libqt4-debug
+Description: Qt 4 development files
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains the header files and programs used for building
+ Qt applications.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: libqt4-core
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt 4 core non-GUI functionality runtime library
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains the core non-GUI shared library.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: libqt4-gui
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}, fontconfig
+Conflicts: qt3-qtconfig (<= 3:3.3.4-3)
+Description: Qt 4 core GUI functionality runtime library
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains the core GUI shared library.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: libqt4-sql
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt 4 SQL database module
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the SQL module for Qt. It includes support for
+ PostgreSQL, MySQL, and SQLite databases.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: libqt4-qt3support
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt 3 compatibility library for Qt 4
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains the Qt 3 compatibility library for Qt 4. It
+ allows applications designed to use deprecated Qt 3 classes and
+ functions to work with Qt 4, with help from the qt3to4 porting tool
+ found in the libqt4-dev package.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: libqt4-designer
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt 4 Designer libraries
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains the Qt Designer runtime libraries and plugins.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: libqt4-debug
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt 4 debugging runtime libraries
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains the debugging libraries for Qt 4.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: qt4-dev-tools
+Architecture: any
+Section: devel
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: qt3-assistant (<= 3:3.3.4-3), qt3-designer (<= 3:3.3.4-3), qt3-linguist (<= 3:3.3.4-3)
+Recommends: libqt4-dev
+Description: Qt 4 development tools
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This packages contains tools used to assist in Qt 4 development,
+ including the Qt Designer, Assistant, and Linguist applications.
+ .
+ Homepage: http://www.trolltech.com
+
+Package: qt4-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: w3m | www-browser, libqt4-dev, qt4-dev-tools
+Description: Qt 4 API documentation
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ This package contains the complete Qt 4 API documentation. Examples to
+ coding are in qt4-examples. The documentation is provided in HTML and
+ manpage format; the HTML version can be viewed in conjunction with the
+ Qt Assistant found in the qt4-dev-tools package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5145f55
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Brian Nelson <pyro@debian.org> on Sun, 10
+Apr 2005 21:23:49 -0700.
+
+It was downloaded from ftp://ftp.trolltech.com/qt/source
+
+Upstream Author: Trolltech AS
+
+Copyright (C) 1994-2004 Trolltech AS.
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+
+ This package is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/libqt4-core.install b/debian/libqt4-core.install
new file mode 100644
index 0000000..bd7c0ea
--- /dev/null
+++ b/debian/libqt4-core.install
@@ -0,0 +1,4 @@
+usr/lib/libQtCore.so.*
+usr/lib/libQtNetwork.so.*
+usr/lib/libQtXml.so.*
+usr/share/qt4/translations/*.qm
diff --git a/debian/libqt4-debug.install b/debian/libqt4-debug.install
new file mode 100644
index 0000000..af7fc9f
--- /dev/null
+++ b/debian/libqt4-debug.install
@@ -0,0 +1 @@
+usr/lib/lib*_debug.so.*
diff --git a/debian/libqt4-designer.install b/debian/libqt4-designer.install
new file mode 100644
index 0000000..dd3aef0
--- /dev/null
+++ b/debian/libqt4-designer.install
@@ -0,0 +1,3 @@
+usr/lib/libQtDesigner.so.*
+usr/lib/libQtDesignerComponents.so.*
+usr/lib/qt4/plugins/designer/*
diff --git a/debian/libqt4-dev.install b/debian/libqt4-dev.install
new file mode 100644
index 0000000..816ab2b
--- /dev/null
+++ b/debian/libqt4-dev.install
@@ -0,0 +1,14 @@
+usr/include/qt4/*
+usr/lib/*.la
+usr/lib/*.prl
+usr/lib/*.so
+usr/lib/pkgconfig
+usr/share/qt4/q3porting.xml
+usr/share/qt4/mkspecs/*
+usr/bin/qmake-qt4
+usr/bin/lupdate-qt4
+usr/bin/lrelease-qt4
+usr/bin/uic-qt4
+usr/bin/moc-qt4
+usr/bin/qt3to4
+usr/bin/rcc
diff --git a/debian/libqt4-dev.links b/debian/libqt4-dev.links
new file mode 100644
index 0000000..b92250e
--- /dev/null
+++ b/debian/libqt4-dev.links
@@ -0,0 +1,8 @@
+usr/include/qt4 usr/share/qt4/include
+usr/bin/lrelease-qt4 usr/share/qt4/bin/lrelease
+usr/bin/lupdate-qt4 usr/share/qt4/bin/lupdate
+usr/bin/moc-qt4 usr/share/qt4/bin/moc
+usr/bin/qmake-qt4 usr/share/qt4/bin/qmake
+usr/bin/uic-qt4 usr/share/qt4/bin/uic
+usr/lib/qt4/plugins usr/share/qt4/plugins
+usr/share/qt4/mkspecs/linux-g++ usr/share/qt4/mkspecs/default
diff --git a/debian/libqt4-dev.postinst b/debian/libqt4-dev.postinst
new file mode 100644
index 0000000..2836703
--- /dev/null
+++ b/debian/libqt4-dev.postinst
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/moc moc "/usr/bin/moc-qt4" "40" \
+ --slave /usr/share/man/man1/moc.1.gz moc.1.gz \
+ "/usr/share/man/man1/moc-qt4.1.gz"
+
+update-alternatives --install \
+ /usr/bin/uic uic "/usr/bin/uic-qt4" "40" \
+ --slave /usr/share/man/man1/uic.1.gz uic.1.gz \
+ "/usr/share/man/man1/uic-qt4.1.gz"
+
+update-alternatives --install \
+ /usr/bin/qmake qmake "/usr/bin/qmake-qt4" "40" \
+ --slave /usr/share/man/man1/qmake.1.gz qmake.1.gz \
+ "/usr/share/man/man1/qmake-qt4.1.gz"
+
+update-alternatives --install \
+ /usr/bin/lupdate lupdate "/usr/bin/lupdate-qt4" "40" \
+ --slave /usr/share/man/man1/lupdate.1.gz lupdate.1.gz \
+ "/usr/share/man/man1/lupdate-qt4.1.gz"
+
+update-alternatives --install \
+ /usr/bin/lrelease lrelease "/usr/bin/lrelease-qt4" "40" \
+ --slave /usr/share/man/man1/lrelease.1.gz lrelease.1.gz \
+ "/usr/share/man/man1/lrelease-qt4.1.gz"
+
+#DEBHELPER#
diff --git a/debian/libqt4-dev.prerm b/debian/libqt4-dev.prerm
new file mode 100644
index 0000000..1c51e7c
--- /dev/null
+++ b/debian/libqt4-dev.prerm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ upgrade) ;;
+ remove|failed-upgrade|deconfigure)
+ update-alternatives --remove moc "/usr/bin/moc-qt4"
+ update-alternatives --remove uic "/usr/bin/uic-qt4"
+ update-alternatives --remove qmake "/usr/bin/qmake-qt4"
+ update-alternatives --remove lupdate "/usr/bin/lupdate-qt4"
+ update-alternatives --remove lrelease "/usr/bin/lrelease-qt4"
+ ;;
+esac
+
+#DEBHELPER#
diff --git a/debian/libqt4-gui.install b/debian/libqt4-gui.install
new file mode 100644
index 0000000..4436e8e
--- /dev/null
+++ b/debian/libqt4-gui.install
@@ -0,0 +1,2 @@
+usr/lib/libQtGui.so.*
+usr/bin/qtconfig-qt4
diff --git a/debian/libqt4-gui.postinst b/debian/libqt4-gui.postinst
new file mode 100644
index 0000000..c5f0dcf
--- /dev/null
+++ b/debian/libqt4-gui.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/qtconfig qtconfig "/usr/bin/qtconfig-qt4" "40" \
+ --slave /usr/share/man/man1/qtconfig.1.gz qtconfig.1.gz \
+ "/usr/share/man/man1/qtconfig-qt4.1.gz"
+
+#DEBHELPER#
diff --git a/debian/libqt4-gui.prerm b/debian/libqt4-gui.prerm
new file mode 100644
index 0000000..c8fa85a
--- /dev/null
+++ b/debian/libqt4-gui.prerm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ upgrade) ;;
+ remove|failed-upgrade|deconfigure)
+ update-alternatives --remove qtconfig "/usr/bin/qtconfig-qt4"
+ ;;
+esac
+
+#DEBHELPER#
diff --git a/debian/libqt4-qt3support.install b/debian/libqt4-qt3support.install
new file mode 100644
index 0000000..c5aa51f
--- /dev/null
+++ b/debian/libqt4-qt3support.install
@@ -0,0 +1 @@
+usr/lib/libQt3Support.so.*
diff --git a/debian/libqt4-sql.install b/debian/libqt4-sql.install
new file mode 100644
index 0000000..04783f7
--- /dev/null
+++ b/debian/libqt4-sql.install
@@ -0,0 +1 @@
+usr/lib/libQtSql.so.*
diff --git a/debian/libqt4.menu b/debian/libqt4.menu
new file mode 100644
index 0000000..4081078
--- /dev/null
+++ b/debian/libqt4.menu
@@ -0,0 +1,7 @@
+?package(libqt4):\
+ needs=x11\
+ section="Apps/System"\
+ title="QtConfig"\
+ longtitle="Qt Configuration Utility"\
+ hints="Qt4 config tool"\
+ command=/usr/bin/qtconfig
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/patches/00list
diff --git a/debian/patches/06_disable_rpath.dpatch b/debian/patches/06_disable_rpath.dpatch
new file mode 100755
index 0000000..ad67d16
--- /dev/null
+++ b/debian/patches/06_disable_rpath.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06_disable_rpath.dpatch by Brian Nelson <pyro@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad qt-x11-opensource-4.0.0-b2/mkspecs/linux-g++/qmake.conf /home/nelson/tmp/dpep.Ill3hj/qt-x11-opensource-4.0.0-b2/mkspecs/linux-g++/qmake.conf
+--- qt-x11-opensource-4.0.0-b2/mkspecs/linux-g++/qmake.conf 2005-04-06 08:09:50.000000000 -0700
++++ /home/nelson/tmp/dpep.Ill3hj/qt-x11-opensource-4.0.0-b2/mkspecs/linux-g++/qmake.conf 2005-04-26 20:39:18.000000000 -0700
+@@ -57,7 +57,7 @@
+ QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
+ QMAKE_LFLAGS_SONAME = -Wl,-soname,
+ QMAKE_LFLAGS_THREAD =
+-QMAKE_RPATH = -Wl,-rpath,
++QMAKE_RPATH =
+
+ QMAKE_LIBS =
+ QMAKE_LIBS_DYNLOAD = -ldl
diff --git a/debian/qt4-dev-tools.install b/debian/qt4-dev-tools.install
new file mode 100644
index 0000000..fc52731
--- /dev/null
+++ b/debian/qt4-dev-tools.install
@@ -0,0 +1,5 @@
+usr/bin/assistant-qt4
+usr/bin/designer-qt4
+usr/bin/linguist-qt4
+usr/share/qt4/templates/*
+usr/share/qt4/phrasebooks/*
diff --git a/debian/qt4-dev-tools.menu b/debian/qt4-dev-tools.menu
new file mode 100644
index 0000000..4063ff2
--- /dev/null
+++ b/debian/qt4-dev-tools.menu
@@ -0,0 +1,20 @@
+?package(qt4-dev-tools):\
+ needs="x11"\
+ section="Apps/Tools"\
+ hints="KDE"\
+ title="Qt Assistant"\
+ command="/usr/bin/assistant-qt4"
+
+?package(qt4-dev-tools):\
+ needs="x11"\
+ section="Apps/Programming"\
+ hints="KDE"\
+ title="Qt Designer"\
+ command="/usr/bin/designer-qt4"
+
+?package(qt4-dev-tools):\
+ needs="x11"\
+ section="Apps/Programming"\
+ hints="KDE"\
+ title="Qt Linguist"\
+ command="/usr/bin/linguist-qt4"
diff --git a/debian/qt4-dev-tools.postinst b/debian/qt4-dev-tools.postinst
new file mode 100644
index 0000000..f34a57a
--- /dev/null
+++ b/debian/qt4-dev-tools.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --install \
+ /usr/bin/assistant assistant "/usr/bin/assistant-qt4" "40" \
+ --slave /usr/share/man/man1/assistant.1.gz assistant.1.gz \
+ "/usr/share/man/man1/assistant-qt4.1.gz"
+
+update-alternatives --install \
+ /usr/bin/designer designer "/usr/bin/designer-qt4" "40" \
+ --slave /usr/share/man/man1/designer.1.gz designer.1.gz \
+ "/usr/share/man/man1/designer-qt4.1.gz"
+
+update-alternatives --install \
+ /usr/bin/linguist linguist "/usr/bin/linguist-qt4" "40" \
+ --slave /usr/share/man/man1/linguist.1.gz linguist.1.gz \
+ "/usr/share/man/man1/linguist-qt4.1.gz"
+
+#DEBHELPER#
diff --git a/debian/qt4-dev-tools.prerm b/debian/qt4-dev-tools.prerm
new file mode 100644
index 0000000..009e9a3
--- /dev/null
+++ b/debian/qt4-dev-tools.prerm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ upgrade) ;;
+ remove|failed-upgrade|deconfigure)
+ update-alternatives --remove assistant "/usr/bin/assistant-qt4"
+ update-alternatives --remove designer "/usr/bin/designer-qt4"
+ update-alternatives --remove linguist "/usr/bin/linguist-qt4"
+ ;;
+esac
+
+#DEBHELPER#
diff --git a/debian/qt4-doc.docs b/debian/qt4-doc.docs
new file mode 100644
index 0000000..d6360a1
--- /dev/null
+++ b/debian/qt4-doc.docs
@@ -0,0 +1 @@
+FAQ
diff --git a/debian/qt4-doc.install b/debian/qt4-doc.install
new file mode 100644
index 0000000..382ff3e
--- /dev/null
+++ b/debian/qt4-doc.install
@@ -0,0 +1 @@
+usr/share/qt4/doc
diff --git a/debian/qt4-doc.links b/debian/qt4-doc.links
new file mode 100644
index 0000000..a561f03
--- /dev/null
+++ b/debian/qt4-doc.links
@@ -0,0 +1 @@
+usr/share/qt4/doc/html usr/share/doc/qt4-doc/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e88d0c4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+
+export QTDIR := $(shell pwd)
+export PATH := $(QTDIR)/bin:$(PATH)
+export LD_LIBRARY_PATH := $(QTDIR)/lib:$(LD_LIBRARY_PATH)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+DEB_MAKE_INVOKE := $(MAKE)
+DEB_MAKE_BUILD_TARGET := sub-src sub-tools
+DEB_MAKE_INSTALL_TARGET := INSTALL_ROOT=$(DEB_DESTDIR) install
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_MAKE_CLEAN_TARGET := distclean
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_INSTALL_CHANGELOGS_ALL :=
+
+
+common-configure-arch::
+ ./configure -confirm-license \
+ -prefix "/usr" \
+ -docdir "/usr/share/qt4/doc" \
+ -headerdir "/usr/include/qt4" \
+ -datadir "/usr/share/qt4" \
+ -plugindir "/usr/lib/qt4/plugins" \
+ -translationdir "/usr/share/qt4/translations" \
+ -sysconfdir "/etc/qt4" \
+ -platform linux-g++ \
+ -fast \
+ -no-rpath \
+ -system-zlib \
+ -system-libpng \
+ -system-libjpeg \
+ -system-nas-sound \
+ -qt-sql-psql \
+ -qt-sql-mysql \
+ -qt-sql-sqlite \
+ -I/usr/include/mysql \
+ -I/usr/include/freetype2 \
+ -I/usr/include/postgresql/8.0 \
+ -lfontconfig \
+ -cups
+
+clean::
+ -$(MAKE) -C plugins/src distclean
+ -$(MAKE) -C qmake distclean
+ -$(MAKE) -C tools distclean
+ -$(MAKE) distclean
+
+ -find . -mindepth 2 -name Makefile -exec rm -f '{}' ';'
+
+# Force these since the build system makes them read-only
+ rm -f src/corelib/global/qconfig.cpp src/corelib/global/qconfig.h
+
+# Don't force these, use the '-' thing instead so that failed deletions
+# are displayed so that these may be cleaned out as upstream improves
+# the clean target.
+ -rm .qmake.cache \
+ config.status \
+ bin/qmake \
+ src/corelib/global/qconfig.h.qmake \
+ src/corelib/global/arch \
+ tools/designer/src/plugins/tools/view3d/Makefile.Debug \
+ tools/designer/src/plugins/tools/view3d/Makefile.Release \
+ mkspecs/default \
+ mkspecs/qconfig.pri \
+ config.tests/unix/ptrsize/ptrsizetest.o \
+ config.tests/unix/ptrsize/ptrsizetest \
+ config.tests/unix/ipv6/ipv6test.o \
+ config.tests/unix/ipv6/ipv6test \
+ config.tests/unix/endian/endiantest.o \
+ config.tests/unix/endian/endiantest \
+ config.tests/unix/largefile/largefiletest.o \
+ config.tests/unix/largefile/largefiletest \
+ config.tests/unix/stl/stltest.o \
+ config.tests/unix/stl/stltest \
+ config.tests/unix/getaddrinfo/getaddrinfotest.o \
+ config.tests/unix/getaddrinfo/getaddrinfotest \
+ lib/* \
+ include/Qt/arch \
+ include/QtCore/arch \
+ include/Qt/qconfig.h \
+ include/QtCore/qconfig.h \
+ plugins/designer/*.prl \
+ plugins/designer/lib*.so* \
+ plugins/accessible/lib*.so* \
+ plugins/codecs/lib*.so* \
+ plugins/imageformats/lib*.so* \
+ examples/tools/plugandpaint/plugins/libpnp_basictools_debug.so \
+ examples/tools/plugandpaint/plugins/libpnp_extrafilters_debug.so \
+ demos/shared/libdemo_shared.prl
+
+# Hack to fix dpatch-edit-patch
+unpatch: deapply-dpatches
+
+
+BINDIR := $(DEB_DESTDIR)/usr/bin
+common-install-arch::
+ # Tack on -qt4 to the binaries that use the alternatives system
+ for f in qmake lupdate lrelease uic moc assistant designer linguist qtconfig; do \
+ mv "$(BINDIR)/$$f" "$(BINDIR)/$$f-qt4"; \
+ done