summaryrefslogtreecommitdiffstats
path: root/devices
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-04-14 19:14:47 +1000
committerSarah Smith <sarah.j.smith@nokia.com>2011-04-14 19:14:47 +1000
commita7e16ec4088d0793d16780e05565047a1baa30b4 (patch)
treeb03888dceea69b1bc5a95ca6ff8da0dc427ba241 /devices
parent86cac6f5bc9864bdf84063113808751a3a750800 (diff)
Generate packages for N900.
Diffstat (limited to 'devices')
-rw-r--r--devices/maemo5/debian/changelog5
-rw-r--r--devices/maemo5/debian/compat1
-rw-r--r--devices/maemo5/debian/control33
-rw-r--r--devices/maemo5/debian/copyright106
-rw-r--r--devices/maemo5/debian/docs2
-rw-r--r--devices/maemo5/debian/libqt4-3d-dev.install3
-rw-r--r--devices/maemo5/debian/libqt4-3d-examples.install4
-rw-r--r--devices/maemo5/debian/libqt4-3d.install4
-rwxr-xr-xdevices/maemo5/debian/rules45
9 files changed, 203 insertions, 0 deletions
diff --git a/devices/maemo5/debian/changelog b/devices/maemo5/debian/changelog
new file mode 100644
index 000000000..f8b602bda
--- /dev/null
+++ b/devices/maemo5/debian/changelog
@@ -0,0 +1,5 @@
+libqt4-3d (tp1) unstable; urgency=low
+
+ * Technology Preview 1 Release.
+
+ -- Sarah Smith <sarah.j.smith@nokia.com> Wed, 06 Apr 2011 16:30:00 +1000
diff --git a/devices/maemo5/debian/compat b/devices/maemo5/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/devices/maemo5/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/devices/maemo5/debian/control b/devices/maemo5/debian/control
new file mode 100644
index 000000000..78703cd2d
--- /dev/null
+++ b/devices/maemo5/debian/control
@@ -0,0 +1,33 @@
+Source: libqt4-3d
+Section: libdevel
+Priority: extra
+Maintainer: Sarah Smith <sarah.j.smith@nokia.com>
+Build-Depends: debhelper (>= 5), libqt4-dev (>= 4.7.0~git20100909-0maemo1+0m5)
+Standards-Version: 3.8.4
+
+Package: libqt4-3d
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Qt4 3D module
+ Qt is a cross-platform C++ application framework. Qt's primary feature
+ is its rich set of widgets that provide standard GUI functionality.
+ .
+ The Qt3d module contains functionality for 3D scenes and UIs.
+
+Package: libqt4-3d-examples
+Architecture: any
+Depends: libqt4-3d (= ${binary:Version})
+Description: Qt 4 3d module examples
+ 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 examples and demos for the Qt3d module
+
+Package: libqt4-3d-dev
+Architecture: any
+Depends: libqt4-3d (= ${binary:Version})
+Description: Qt 4 3d module 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 package contains the development headers for the Qt3d module
diff --git a/devices/maemo5/debian/copyright b/devices/maemo5/debian/copyright
new file mode 100644
index 000000000..2d247d5bc
--- /dev/null
+++ b/devices/maemo5/debian/copyright
@@ -0,0 +1,106 @@
+This work was packaged for Debian by:
+
+ Sarah Smith <sarah.j.smith@nokia.com> on Wed, 09 Feb 2011 20:59:27 +1000
+
+Copyright:
+
+ The Qt GUI Toolkit is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+ Contact: Nokia Corporation (qt-info@nokia.com)
+
+
+License:
+
+ You may use, distribute and copy the Qt GUI Toolkit under the terms of
+ GNU Lesser General Public License version 2.1, which is displayed below.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ 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 program. If not, see <http://www.gnu.org/licenses/>.
+
+The Debian packaging is:
+
+ The Qt GUI Toolkit is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+ Contact: Nokia Corporation (qt-info@nokia.com)
+
+and is licensed under the GNU Lesser General Public License version
+2.1, which is displayed above.
+
+
+Third party libraries code includes the Asset Importer library:
+
+Open Asset Import Library (Assimp)
+
+Copyright (c) 2006-2010, Assimp Development Team
+All rights reserved.
+
+Redistribution and use of this software in source and binary forms,
+with or without modification, are permitted provided that the
+following conditions are met:
+
+* Redistributions of source code must retain the above
+ copyright notice, this list of conditions and the
+ following disclaimer.
+
+* Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the
+ following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+
+* Neither the name of the ASSIMP team, nor the names of its
+ contributors may be used to endorse or promote products
+ derived from this software without specific prior
+ written permission of the ASSIMP Development Team.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+AN EXCEPTION applies to all files in the ./test/models-nonbsd subfolder.
+These are 3d models for testing purposes, from various free sources
+on the internet. They are - unless otherwise stated - copyright of
+their respective creators, which may impose additional requirements
+on the use of their work. For any of these models, see
+<model-name>.source.txt for more legal information. Contact us if you
+are a copyright holder and believe that we credited you inproperly or
+if you don't want your files to appear in the repository.
+
+
+
+...and the lib3ds library:
+
+
+Lib3ds is a free toolkit for handling the "3DS" format for 3D model files.
+Its main goal is to simplify the creation of 3DS import and export filters.
+
+This project is not related in any form to Autodesk Inc. The library is
+based on unofficial information about the 3DS format found on the web.
+
+This program 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 Lesser General Public
+License for more details.
+
+The official Lib3ds Homepage can be found under:
+ http://lib3ds.sourceforge.net
+
diff --git a/devices/maemo5/debian/docs b/devices/maemo5/debian/docs
new file mode 100644
index 000000000..4a1f47702
--- /dev/null
+++ b/devices/maemo5/debian/docs
@@ -0,0 +1,2 @@
+LGPL_EXCEPTION.txt
+README
diff --git a/devices/maemo5/debian/libqt4-3d-dev.install b/devices/maemo5/debian/libqt4-3d-dev.install
new file mode 100644
index 000000000..5e060349b
--- /dev/null
+++ b/devices/maemo5/debian/libqt4-3d-dev.install
@@ -0,0 +1,3 @@
+usr/share/qt4/mkspecs/features/
+usr/include/Qt3D/
+usr/include/Qt3DQuick/
diff --git a/devices/maemo5/debian/libqt4-3d-examples.install b/devices/maemo5/debian/libqt4-3d-examples.install
new file mode 100644
index 000000000..96fd4db60
--- /dev/null
+++ b/devices/maemo5/debian/libqt4-3d-examples.install
@@ -0,0 +1,4 @@
+usr/bin/*
+usr/share/qt4/quick3d
+usr/share/pixmaps
+usr/share/applications
diff --git a/devices/maemo5/debian/libqt4-3d.install b/devices/maemo5/debian/libqt4-3d.install
new file mode 100644
index 000000000..d650a0c8d
--- /dev/null
+++ b/devices/maemo5/debian/libqt4-3d.install
@@ -0,0 +1,4 @@
+usr/lib/libQt3D.so.*
+usr/lib/libQt3DQuick.so.*
+usr/lib/qt4/plugins/
+usr/lib/qt4/imports/
diff --git a/devices/maemo5/debian/rules b/devices/maemo5/debian/rules
new file mode 100755
index 000000000..422fdcacf
--- /dev/null
+++ b/devices/maemo5/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# To build using this rules file:
+# #
+# ### install debian packaging stuff if not already present:
+# sudo apt-get install dpkg-dev debhelper cdbs
+#
+# ### set up the build directory with version number - DO NOT CD INTO IT YET!
+# mkdir quick3d-tp1
+#
+# ### copy all the stuff across - cannot shadow build (probably don't want git)
+# (cd ~/depot/qt/quick3d && tar cf - --exclude-vcs .)|(cd quick3d-tp1 && tar xf -)
+# cp -f ~/depot/qt/quick3d/devices/maemo5/debian/* quick3d-tp1/debian/.
+#
+# cd quick3d-tp1
+# export DEB_BUILD_OPTIONS="parallel=4"
+# fakeroot dpkg-buildpackage -b
+
+# Uncomment this to turn on verbose mode.
+export DH_OPTIONS=-v
+export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+# Find out how many parallel threads to run
+TMP_BUILD_OPTS = $(subst $(comma),$(space),$(DEB_BUILD_OPTIONS))
+ifneq (,$(filter parallel=%,$(TMP_BUILD_OPTS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(TMP_BUILD_OPTS)))
+ PARALLEL_MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+DEB_MAKE_INVOKE := $(MAKE) $(PARALLEL_MAKEFLAGS)
+DEB_MAKE_INSTALL_TARGET := INSTALL_ROOT=$(DEB_DESTDIR) install
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+
+common-configure-arch::
+ qmake -spec linux-g++-maemo5 quick3d.pro CONFIG+=maemo CONFIG+=package
+
+common-install-arch:: install-pixmaps
+
+install-pixmaps:
+ mkdir -p $(DEB_DESTDIR)/usr/share/pixmaps
+ find examples -name "icon-l*.png" -exec cp {} $(DEB_DESTDIR)/usr/share/pixmaps \;