Initial add of debian packaging.

This was from an earlier effort against qt3d master, so will need some
checking/tweaking for the quick3d repo.
This commit is contained in:
Sarah Smith 2011-03-17 18:11:24 +10:00
parent f07b28922e
commit 07f61af5db
9 changed files with 191 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
libqt4-3d (1.0) unstable; urgency=low
* Initial Release.
-- Sarah Smith <sarah.j.smith@nokia.com> Wed, 09 Feb 2011 20:59:27 +1000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

33
debian/control vendored Normal file
View File

@ -0,0 +1,33 @@
Source: libqt4-3d
Section: libdevel
Priority: extra
Maintainer: Sarah Smith <sarah.j.smith@nokia.com>
Build-Depends: debhelper (>= 7), libqt4-dev (>= 4.7.2~git20110208-0maemo1+0m6)
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

106
debian/copyright vendored Normal file
View File

@ -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

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
LGPL_EXCEPTION.txt
README

2
debian/libqt4-3d-dev.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/share/qt4/mkspecs/features/
usr/include/qt4/Qt3D/

2
debian/libqt4-3d-examples.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin/*
usr/share/qt4/demos/declarative/

4
debian/libqt4-3d.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/lib/libQt3D.so.*
usr/lib/libQt3DQuick.so.*
usr/lib/qt4/plugins/
usr/lib/qt4/imports/

36
debian/rules vendored Executable file
View File

@ -0,0 +1,36 @@
#!/usr/bin/make -f
# -*- makefile -*-
# To build using this rules file:
# mkdir qt3d-1.0
# (cd ~/depot/research/qt3d && tar cf - --exclude-vcs .)|(cd qt3d-1.0 && tar xvpf -)
# cd qt3d-1.0
# export DEB_BUILD_OPTIONS="parallel=4"
# 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++-maemo opengl.pro CONFIG+=maemo
common-install-arch:: install-examples
install-examples:
cp -a bin $(DEB_DESTDIR)/usr
cp -a demos/declarative $(DEB_DESTDIR)/usr/share/qt4