diff options
Diffstat (limited to 'qtc_packaging')
-rw-r--r-- | qtc_packaging/debian_harmattan/README | 95 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/changelog | 5 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/compat | 1 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/control | 35 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/copyright | 22 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/libqt4-3d-dev.install | 2 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/libqt4-3d-examples.install | 4 | ||||
-rw-r--r-- | qtc_packaging/debian_harmattan/libqt4-3d.install | 4 | ||||
-rwxr-xr-x | qtc_packaging/debian_harmattan/rules | 126 |
9 files changed, 0 insertions, 294 deletions
diff --git a/qtc_packaging/debian_harmattan/README b/qtc_packaging/debian_harmattan/README deleted file mode 100644 index b21b46df..00000000 --- a/qtc_packaging/debian_harmattan/README +++ /dev/null @@ -1,95 +0,0 @@ -This is the Qt Quick 3D project: - * QtQuick3D QML bindings and - * Qt3D C++ APIs - - -Building QtQuick3D -================== - -Check the building instructions in doc/src/qt3d-building.qdoc also available -online at: http://doc.qt.nokia.com/qt-quick3d-snapshot/qt3d-building.html - - -Whats in QtQuick3D -================== - -Directory structure: - -src/threed/ - This is the main library of the Qt3D project, containing abstractions - for cross-platform GL, shaders, lighting models, and so on. -src/plugins/ - Scene format loading plugins. -src/imports/ - QML import plugins. -util/ - Various utilities that are useful when working with Qt3D. -examples/ - Some examples of using QtQuick3D (QML bindings) and Qt3D (C++ API). -demos/ - Some more complex demos of using QtQuiick3D (QML bindings) and Qt3D (C++ API). -tests/auto/qml3d/ - Unit tests for the QtQuick3D bindings. -tests/auto/threed/ - Unit tests for the Qt3D C++ API -doc/ - Documentation. -devices/symbian/ - Symbian deployment file - - -Documentation -============= - -The documentation can be generated with "make docs". It will be placed -into "doc/html" in the build directory. - - -Packages -======== - -This section is only for those developing QtQuick3D. Read on to discover how -the building of packages works. This section is also important if you want to -change how the structure of the QtQuick3D pro files work. - -QtQuick3D is intended to be built in one of two ways: - -1) Normal developer way: - qmake && make -2) Package creation way: - qmake CONFIG+=package && INSTALL_ROOT=tmp make install - -In 1) the .pro files will cause the toolchain to place the libraries, plugins -header files and other components of QtQuick3D directly into place, as part of -the compile process. What does "in place" mean? Run "qmake -query" to see -the paths where the files are placed - QML plugins go in $$[QT_INSTALL_IMPORTS] -for example. In this mode, there is no need to run "make install" because the -files are already in their target destination. Here the "target destination" -means the Qt which is being built against. - -First note that QtQuick3D has to be installed into the target Qt. This is because -QtQuick3D has QML plugins and resources, as well as shared libraries, all of which -must be resolved by the QMLViewer of the target Qt at runtime. Here where "qmake" -is referred to it means the qmake inside the target Qt. Since QtDeclarative -recommends using QMLViewer when developing and debugging QML Apps, in the developer -case - which is what Qt3D is for - it has to install directly into the target Qt. - -In this mode 1) after the main library is compiled subsequent targets can simply -resolve includes and link time dependencies by use of qt3d.prf and qtquick3d.prf. -These two files are installed into the target Qt's makespecs/features directory -during the processing of the quick3d.pro file. - -In 2) the libraries, plugins and so on are sitting inside the build tree after -the compile step. As a result in order to resolve includes and dependencies -the build system has to navigate the build tree with paths like "-L../../../threed" -to locate the Qt3D libraries. - -Actually there is one build artifact that is not just left where it lands in the -build tree - the header files. These are actually copied into an "include" -directory inside the build root directory. This is because at present the header -files all live inside their own seperate subdirectories under "threed" and would -be too cumbersome to path in explicitly. - -After building the tree the install step is invoked using the INSTALL_ROOT environment -export to cause the installation rules to place all the files into a sandboxed -install tree, ready for packaging. diff --git a/qtc_packaging/debian_harmattan/changelog b/qtc_packaging/debian_harmattan/changelog deleted file mode 100644 index 15030940..00000000 --- a/qtc_packaging/debian_harmattan/changelog +++ /dev/null @@ -1,5 +0,0 @@ -libqt4-3d (1.0-rc) unstable; urgency=low - - * Candidate for 1.0 Release. - - -- Sarah Smith <[email protected]> Thu, 24 Nov 2011 16:00:00 +1000 diff --git a/qtc_packaging/debian_harmattan/compat b/qtc_packaging/debian_harmattan/compat deleted file mode 100644 index 7f8f011e..00000000 --- a/qtc_packaging/debian_harmattan/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/qtc_packaging/debian_harmattan/control b/qtc_packaging/debian_harmattan/control deleted file mode 100644 index d4f57b71..00000000 --- a/qtc_packaging/debian_harmattan/control +++ /dev/null @@ -1,35 +0,0 @@ -Source: libqt4-3d -Section: libdevel -Priority: extra -Maintainer: Sarah Smith <[email protected]> -Build-Depends: debhelper (>= 5), libqt4-dev -Standards-Version: 3.7.3 -Homepage: http://doc.qt.nokia.com/qt-quick3d-snapshot/ - -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 moduleescription: <insert up to 60 chars description> - Qt Quick 3D lets you use QML to write 3D (OpenGL) apps. diff --git a/qtc_packaging/debian_harmattan/copyright b/qtc_packaging/debian_harmattan/copyright deleted file mode 100644 index a54c00e4..00000000 --- a/qtc_packaging/debian_harmattan/copyright +++ /dev/null @@ -1,22 +0,0 @@ -Nokia Qt LGPL Exception version 1.1 - -As an additional permission to the GNU Lesser General Public License version -2.1, the object code form of a "work that uses the Library" may incorporate -material from a header file that is part of the Library. You may distribute -such object code under terms of your choice, provided that: - (i) the header files of the Library have not been modified; and - (ii) the incorporated material is limited to numerical parameters, data - structure layouts, accessors, macros, inline functions and - templates; and - (iii) you comply with the terms of Section 6 of the GNU Lesser General - Public License version 2.1. - -Moreover, you may apply this exception to a modified version of the Library, -provided that such modification does not involve copying material from the -Library into the modified Library's header files unless such material is -limited to (i) numerical parameters; (ii) data structure layouts; -(iii) accessors; and (iv) small macros, templates and inline functions of -five lines or less in length. - -Furthermore, you are not required to apply this additional permission to a -modified version of the Library. diff --git a/qtc_packaging/debian_harmattan/libqt4-3d-dev.install b/qtc_packaging/debian_harmattan/libqt4-3d-dev.install deleted file mode 100644 index aef1dfd0..00000000 --- a/qtc_packaging/debian_harmattan/libqt4-3d-dev.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/share/qt4/mkspecs/features/ -usr/include/qt4/Qt3D/ diff --git a/qtc_packaging/debian_harmattan/libqt4-3d-examples.install b/qtc_packaging/debian_harmattan/libqt4-3d-examples.install deleted file mode 100644 index 47d99cab..00000000 --- a/qtc_packaging/debian_harmattan/libqt4-3d-examples.install +++ /dev/null @@ -1,4 +0,0 @@ -usr/bin/* -usr/share/qt4/quick3d -usr/share/icons/hicolor/80x80/apps -usr/share/applications diff --git a/qtc_packaging/debian_harmattan/libqt4-3d.install b/qtc_packaging/debian_harmattan/libqt4-3d.install deleted file mode 100644 index d650a0c8..00000000 --- a/qtc_packaging/debian_harmattan/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/qtc_packaging/debian_harmattan/rules b/qtc_packaging/debian_harmattan/rules deleted file mode 100755 index 72f257ef..00000000 --- a/qtc_packaging/debian_harmattan/rules +++ /dev/null @@ -1,126 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# This rules file is for new Nokia devices using maemo6/meego. -# For fremantle / N900 see the file devices/maemo5/debian/rules. -# For ubuntu desktop see the file devices/ubuntu/debian/rules. - -# To build using this rules file, the Madde environment is needed. This ships -# (for example) with the QtSDK. -# -# This file ships ready to use with Qt Creator. To use it from the command line -# uncomment the lines below which say # Uncomment for use without Qt Creator -# and then follow these steps: -# -# ### Step 1: set up the build directory - DO NOT CD INTO IT YET! -# mkdir -p ~/build/harmattan/pkg -# cd ~/build/harmattan -# -# ### Step 2: set up to use the Madde build environment - eg if Madde is in your home under QtSDK: -# export MADDE=$HOME/QtSDK/Madde -# export PATH=$MADDE/targets/harmattan-platform-api/bin:$MADDE/bin:$MADDE/madlib:$MADDE/madbin:$PATH -# export PERL5LIB=$MADDE/madlib/perl5 -# export SYSROOT_DIR=$MADDE/sysroots/harmattan-meego-arm-sysroot-1122-slim -# -# ### Step 3: copy all the stuff across - cannot shadow build (probably don't want git) -# (cd ~/depot/qt/quick3d && tar cf - --exclude-vcs .)|(cd pkg && tar xf -) -# cd pkg -# cp -f -v qtc_packaging/debian_harmattan/* debian/. -# -# ### Step 4: actually do the build, using lots of cores if available -# export DEB_BUILD_OPTIONS="parallel=4" -# dpkg-buildpackage -b -# -# -# This rules file should use the control and *.install files (driven by the dh_install cmd below) -# to actually build 3 seperate debian packages: -# libqt4-3d -- Qt3D "run time" with C++ libs and QML imports -# libqt4-3d-dev -- Qt3D development files - eg headers and .prf files -# libqt4-3d-examples -- installed Qt3D examples incl desktop files to run on device - - -# Uncomment this to turn on verbose mode. -export DH_VERBOSE=1 - -# 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) - -configure: configure-stamp -configure-stamp: - dh_testdir - qmake -spec linux-g++-maemo quick3d.pro CONFIG+=qtc_harmattan # Uncomment this line for use without Qt Creator - touch configure-stamp - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - $(DEB_MAKE_INVOKE) # Uncomment this line for use without Qt Creator - #docbook-to-man debian/quick3d.sgml > quick3d.1 - - touch $@ - -clean: configure-stamp - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - $(MAKE) clean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/tmp. - $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/tmp install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_install --sourcedir=debian/tmp -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure |