diff options
Diffstat (limited to 'devices')
-rw-r--r-- | devices/README | 5 | ||||
-rw-r--r-- | devices/maemo5/debian/changelog | 5 | ||||
-rw-r--r-- | devices/maemo5/debian/compat | 1 | ||||
-rw-r--r-- | devices/maemo5/debian/control | 33 | ||||
-rw-r--r-- | devices/maemo5/debian/copyright | 106 | ||||
-rw-r--r-- | devices/maemo5/debian/docs | 2 | ||||
-rw-r--r-- | devices/maemo5/debian/libqt4-3d-dev.install | 3 | ||||
-rw-r--r-- | devices/maemo5/debian/libqt4-3d-examples.install | 4 | ||||
-rw-r--r-- | devices/maemo5/debian/libqt4-3d-tests.install | 4 | ||||
-rw-r--r-- | devices/maemo5/debian/libqt4-3d.install | 4 | ||||
-rwxr-xr-x | devices/maemo5/debian/rules | 47 | ||||
-rw-r--r-- | devices/symbian/examples/examples.pro | 2 | ||||
-rw-r--r-- | devices/symbian/examples/generate_examples_pkg.pl | 145 | ||||
-rw-r--r-- | devices/symbian/symbian.pro | 62 | ||||
-rw-r--r-- | devices/ubuntu/debian/libqt4-3d-examples.install | 4 | ||||
-rwxr-xr-x | devices/ubuntu/debian/rules | 52 |
16 files changed, 0 insertions, 479 deletions
diff --git a/devices/README b/devices/README deleted file mode 100644 index a07f54de..00000000 --- a/devices/README +++ /dev/null @@ -1,5 +0,0 @@ -This directory contains useful scripts and resources for use when -using Qt3D on devices. - -In the case of the N900 and other maemo devices, use the packaging system -by following the instructions in the debian/rules file. diff --git a/devices/maemo5/debian/changelog b/devices/maemo5/debian/changelog deleted file mode 100644 index 3a4ac83d..00000000 --- a/devices/maemo5/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -libqt4-3d (1.0-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 deleted file mode 100644 index 7ed6ff82..00000000 --- a/devices/maemo5/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/devices/maemo5/debian/control b/devices/maemo5/debian/control deleted file mode 100644 index 4aef0362..00000000 --- a/devices/maemo5/debian/control +++ /dev/null @@ -1,33 +0,0 @@ -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), cdbs (>= 0.4.48-0osso2) -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 deleted file mode 100644 index 2d247d5b..00000000 --- a/devices/maemo5/debian/copyright +++ /dev/null @@ -1,106 +0,0 @@ -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 deleted file mode 100644 index 4a1f4770..00000000 --- a/devices/maemo5/debian/docs +++ /dev/null @@ -1,2 +0,0 @@ -LGPL_EXCEPTION.txt -README diff --git a/devices/maemo5/debian/libqt4-3d-dev.install b/devices/maemo5/debian/libqt4-3d-dev.install deleted file mode 100644 index 5e060349..00000000 --- a/devices/maemo5/debian/libqt4-3d-dev.install +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 40594eaf..00000000 --- a/devices/maemo5/debian/libqt4-3d-examples.install +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin/* -usr/share/qt4/quick3d -usr/share/pixmaps -usr/share/applications/hildon diff --git a/devices/maemo5/debian/libqt4-3d-tests.install b/devices/maemo5/debian/libqt4-3d-tests.install deleted file mode 100644 index 971781fb..00000000 --- a/devices/maemo5/debian/libqt4-3d-tests.install +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin/tests/* -usr/share/qt4/quick3d -usr/share/pixmaps -usr/share/applications/hildon diff --git a/devices/maemo5/debian/libqt4-3d.install b/devices/maemo5/debian/libqt4-3d.install deleted file mode 100644 index d650a0c8..00000000 --- a/devices/maemo5/debian/libqt4-3d.install +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100755 index 5aabd23c..00000000 --- a/devices/maemo5/debian/rules +++ /dev/null @@ -1,47 +0,0 @@ -#!/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-desktop-items - -install-desktop-items: - mkdir -p $(DEB_DESTDIR)/usr/share/pixmaps - find examples -name "icon-l*.png" -exec cp {} $(DEB_DESTDIR)/usr/share/pixmaps \; - mkdir -p $(DEB_DESTDIR)/usr/share/applications/hildon - find examples -name "m5-*.desktop" -exec cp {} $(DEB_DESTDIR)/usr/share/applications/hildon \; diff --git a/devices/symbian/examples/examples.pro b/devices/symbian/examples/examples.pro deleted file mode 100644 index 846e49c3..00000000 --- a/devices/symbian/examples/examples.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE=subdirs -symbian: system(perl generate_examples_pkg.pl)
\ No newline at end of file diff --git a/devices/symbian/examples/generate_examples_pkg.pl b/devices/symbian/examples/generate_examples_pkg.pl deleted file mode 100644 index 2ede3551..00000000 --- a/devices/symbian/examples/generate_examples_pkg.pl +++ /dev/null @@ -1,145 +0,0 @@ -#!/usr/bin/perl -############################################################################# -## -## Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -## All rights reserved. -## Contact: Nokia Corporation (qt-info@nokia.com) -## -## This file is part of the QtQuick3D module of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:LGPL$ -## GNU Lesser General Public License Usage -## This file may be used under the terms of the GNU Lesser General Public -## License version 2.1 as published by the Free Software Foundation and -## appearing in the file LICENSE.LGPL included in the packaging of this -## file. Please review the following information to ensure the GNU Lesser -## General Public License version 2.1 requirements will be met: -## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -## -## In addition, as a special exception, Nokia gives you certain additional -## rights. These rights are described in the Nokia Qt LGPL Exception -## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU General -## Public License version 3.0 as published by the Free Software Foundation -## and appearing in the file LICENSE.GPL included in the packaging of this -## file. Please review the following information to ensure the GNU General -## Public License version 3.0 requirements will be met: -## http://www.gnu.org/copyleft/gpl.html. -## -## Other Usage -## Alternatively, this file may be used in accordance with the terms and -## conditions contained in a signed written agreement between you and Nokia. -## -## -## -## -## -## $QT_END_LICENSE$ -## -############################################################################# - -use File::Find; - -sub system_example_dirs { - print "Setting example directories\n"; - return ( '../../../examples/qt3d', '../../../examples/quick3d', '../../../demos/qt3d', '../../../demos/quick3d'); -} - -sub pkg_template_files -{ - print "Recording pkg files of QtQuick3D\n"; - my @out; - - #get all of the pkg files we might want. - my $wanted = sub { - # If the file has _template.pkg in the name, store the file and path to it - my $file = lc $File::Find::name; - if ($file =~ /_template\.pkg/) { - print "Found .pkg file: $file \n"; - push(@out, $file); - } - }; - - # Iterate through the example and demo directories to find pkg files - foreach my $dir (system_example_dirs) { - find($wanted, "${dir}"); - } - - return @out; -} - -sub parse_pkg -{ - my $filename = shift; - open FILE, $filename or die "Could not read from $filename, program halting."; - print "Parsing package file: $filename\n"; - my $lines =""; - my $line; - # Iterate through each line of the file. - while (defined ($line = <FILE>)) - { - # If we find a ;DEPLOYMENT line, get the lines below it up to (and including) a blank line - if ($line =~ /; DEPLOYMENT/ ) { - my $recorded = 0; - $lines .= $line; - while ($recorded == 0) { - #get lines until we find a blank line - my $record_line = <FILE>; - if ($record_line =~ /^$/) { - $recorded = 1; - $lines .= $record_line; - } - else { - $lines .= $record_line; - } - } - } - } - - close FILE; - return $lines; -} - -open(OUTPUTPKG, ">QtQuick3D_apps_template.pkg") or die "cannot open file for reading: $!"; - -# Print the pkg file heading for our collective pkg file -print OUTPUTPKG <<PKGHEADER; - -; Language -&EN - -#{"Qt Quick3D Examples"},(0xA89FAE20),1,0,0 -; SIS header: name, uid, version - -; Localised Vendor name -%{"Nokia"} - -; Unique Vendor name -:"Nokia" - -; Default dependency to Qt libraries -(0x2001E61C), 4, 7, 3, {"Qt"} - -; Default dependency to QtQuick3D libraries -(0x2002AC89), 1, 0, 0, {"Qt Quick 3D"} - -; Default HW/platform dependencies -[0x20022E6D],0,0,0,{"S60ProductID"} - -PKGHEADER - -# Collect the pkg file path for each test application and library needed for system testing -my @files = pkg_template_files; - -my $pkgcontent; - -# Parse the collected pkg files and append the parsed result to the content of the collective one -foreach (@files) { - $pkgcontent .= "; $_\n"; - $pkgcontent .= parse_pkg $_; - $pkgcontent .= "\n"; -} - -print OUTPUTPKG $pkgcontent; diff --git a/devices/symbian/symbian.pro b/devices/symbian/symbian.pro deleted file mode 100644 index 096d780e..00000000 --- a/devices/symbian/symbian.pro +++ /dev/null @@ -1,62 +0,0 @@ -# Use subdirs template to suppress generation of unnecessary files -TEMPLATE = subdirs - -symbian { - load(data_caging_paths) - - SUBDIRS= - # WARNING: Changing TARGET name will break Symbian SISX upgrade functionality - # DO NOT TOUCH TARGET VARIABLE IF YOU ARE NOT SURE WHAT YOU ARE DOING - TARGET = "Qt Quick 3D" - - # This is the UID for the overall .SIS file package - TARGET.UID3 = 0x20031E9A - - VERSION = 1.0.0 - - vendorinfo = \ - "; Localised Vendor name" \ - "%{\"Nokia\"}" \ - " " \ - "; Unique Vendor name" \ - ":\"Nokia\"" \ - " " - qt3dlibraries.pkg_prerules += vendorinfo - - qt3dlibraries.sources = Qt3D$${QT_LIBINFIX}.dll - qt3dlibraries.path = /sys/bin - DEPLOYMENT += qt3dlibraries - - contains(CONFIG, old_importer): { - qt3dsceneformats_plugins.sources = \ - qscene3ds$${QT_LIBINFIX}.dll \ - qsceneobj$${QT_LIBINFIX}.dll \ - qscenebezier$${QT_LIBINFIX}.dll - qt3dsceneformats_plugins.path = $$QT_PLUGINS_BASE_DIR/sceneformats - DEPLOYMENT += qt3dsceneformats_plugins - } else { - qt3dsceneformats_plugins.sources = \ - qsceneai$${QT_LIBINFIX}.dll \ - qscenebezier$${QT_LIBINFIX}.dll - qt3dsceneformats_plugins.path = $$QT_PLUGINS_BASE_DIR/sceneformats - DEPLOYMENT += qt3dsceneformats_plugins - } - - qt3dquick.sources = Qt3DQuick$${QT_LIBINFIX}.dll - qt3dquick.path = /sys/bin - qt3dthreedImports.sources = \ - qthreedqmlplugin.dll \ - $$PWD/../../src/imports/threed/qmldir - qt3dthreedImports.path = $$QT_IMPORTS_BASE_DIR/Qt3D - qt3dshapesImports.sources = \ - qshapesqmlplugin.dll \ - $$PWD/../../src/imports/shapes/Cube.qml \ - $$PWD/../../src/imports/shapes/cube.obj \ - $$PWD/../../src/imports/shapes/Quad.qml \ - $$PWD/../../src/imports/shapes/quad.obj \ - $$PWD/../../src/imports/shapes/Teapot.qml \ - $$PWD/../../src/imports/shapes/teapot.bez \ - $$PWD/../../src/imports/shapes/qmldir - qt3dshapesImports.path = $$QT_IMPORTS_BASE_DIR/Qt3D/Shapes - DEPLOYMENT += qt3dquick qt3dthreedImports qt3dshapesImports -} diff --git a/devices/ubuntu/debian/libqt4-3d-examples.install b/devices/ubuntu/debian/libqt4-3d-examples.install deleted file mode 100644 index 96fd4db6..00000000 --- a/devices/ubuntu/debian/libqt4-3d-examples.install +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin/* -usr/share/qt4/quick3d -usr/share/pixmaps -usr/share/applications diff --git a/devices/ubuntu/debian/rules b/devices/ubuntu/debian/rules deleted file mode 100755 index a0f6b925..00000000 --- a/devices/ubuntu/debian/rules +++ /dev/null @@ -1,52 +0,0 @@ -#!/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/ubuntu/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 - -ifeq (arm,$(findstring arm,$(shell g++ -v 2>&1 | sed -n '/Target: arm/p'))) - QMAKE_CONF_MKSPEC = -spec linux-g++-maemo - QMAKE_CONF_OPTS = CONFIG+=maemo -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 $(QMAKE_CONF_MKSPEC) quick3d.pro $(QMAKE_CONF_OPTS) CONFIG+=package - -common-install-arch:: install-desktops - -install-desktops: - mkdir -p $(DEB_DESTDIR)/usr/share/applications - find . -name *.desktop -exec cp {} $(DEB_DESTDIR)/usr/share/applications \; - mkdir -p $(DEB_DESTDIR)/usr/share/pixmaps - find . -name icon-*.png -exec cp {} $(DEB_DESTDIR)/usr/share/pixmaps \; |