[SCM] qtscript packaging branch, master, updated. 8acfb68ef714678c84c4758536e92fbfe90888b8

Timo Jyrinki timo at alioth.debian.org
Thu Dec 20 10:58:48 UTC 2012


Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtscript.git;a=commitdiff;h=8acfb68

The following commit has been merged in the master branch:
commit 8acfb68ef714678c84c4758536e92fbfe90888b8
Author: Timo Jyrinki <timo.jyrinki at canonical.com>
Date:   Thu Dec 20 10:57:40 2012 +0000

    Updates for final 5.0 release.
---
 debian/changelog                  |    2 +-
 debian/control                    |   12 ++--
 debian/copyright                  |  163 +++++++++++++++++++++----------------
 debian/libqt5script5.install      |    1 +
 debian/libqt5scripttools5.install |    1 +
 debian/libqtscript5.install       |    1 -
 debian/libqtscripttools5.install  |    1 -
 debian/qtscript5-dev.install      |   36 ++------
 debian/rules                      |   14 +++-
 9 files changed, 122 insertions(+), 109 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 42e82ad..f8bfcc8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-qtscript-opensource-src (5.0.0~beta1-1) unstable; urgency=low
+qtscript-opensource-src (5.0.0-1) UNRELEASED; urgency=low
 
   * Initial release.
 
diff --git a/debian/control b/debian/control
index e26ef52..b2eab25 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,7 @@ Homepage: http://qt-project.org/
 Vcs-Git: git://git.debian.org/pkg-kde/qt/qtscript.git
 Vcs-Browser: http://git.debian.org/?p=pkg-kde/qt/qtscript.git;a=summary
 
-Package: libqtscript5
+Package: libqt5script5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -27,7 +27,7 @@ Description: Qt 5 script module
  .
  The QtScript module provides classes for making Qt applications scriptable.
 
-Package: libqtscripttools5
+Package: libqt5scripttools5
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -45,8 +45,8 @@ Description: Qt 5 script tools module
 Package: qtscript5-dev
 Section: libdevel
 Architecture: any
-Depends: libqtscript5 (= ${binary:Version}),
-         libqtscripttools5 (= ${binary:Version}),
+Depends: libqt5script5 (= ${binary:Version}),
+         libqt5scripttools5 (= ${binary:Version}),
          ${misc:Depends}
 Description: Qt 5 script development files
  Qt is a cross-platform C++ application framework. Qt's primary feature
@@ -82,8 +82,8 @@ Package: qtscript5-dbg
 Priority: extra
 Architecture: any
 Section: debug
-Depends: libqtscript5 (= ${binary:Version}),
-         libqtscripttools5 (= ${binary:Version}),
+Depends: libqt5script5 (= ${binary:Version}),
+         libqt5scripttools5 (= ${binary:Version}),
          qtscript5-examples (= ${binary:Version}),
          ${misc:Depends}
 Description: Qt 5 script libraries debugging symbols
diff --git a/debian/copyright b/debian/copyright
index 75cc2ea..32f021f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,11 +1,11 @@
 Format: http://dep.debian.net/deps/dep5
 Upstream-Name: qtscript-opensource-src
-Source: http://releases.qt-project.org/qt5.0/beta1/split_sources/
+Source: http://releases.qt-project.org/qt5/5.0.0/submodules_tar/
 
 Files: *
 Copyright: 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
            1994-2008 Trolltech ASA.
-License: LGPL-2.1, GPL-3
+License: LGPL-2.1 with Nokia Qt LGPL exception or GPL-3
 
 Files: debian/*
 Copyright: 2007-2012 Fathi Boudra <fabo at debian.org>
@@ -13,86 +13,105 @@ Copyright: 2007-2012 Fathi Boudra <fabo at debian.org>
            2008-2012 Modestas Vainius <modax at debian.org>
            2007-2009 Ana Beatriz Guerrero Lopez <ana at debian.org>
            2005-2007 Brian Nelson <pyro at debian.org>
+           2012 Zoltán Balogh <zoltan at bakter.hu>
+           2012 Timo Jyrinki <timo at debian.org>
 License: LGPL-2.1
 
-License:
-
-    GNU Lesser General Public License Usage
-
-    Alternatively, 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.0, 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.
-
-On Debian systems, the complete text of the GNU Public Licenses can be found in
+License: LGPL-2.1 with Nokia Qt LGPL exception
+ GNU Lesser General Public License Usage
+ .
+ Alternatively, 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.0, included in the file LGPL_EXCEPTION.txt in this
+ package.
+ .
+ On Debian systems, the complete text of the LGPL-2.1 license can be found in
  `/usr/share/common-licenses/LGPL-2.1`,
- `/usr/share/common-licenses/GPL-3`.
-
-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:
+ .
+ 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.
+
+License: GPL-3
+ 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.
+ .
+ On Debian systems, the complete text of the license can be found in
+ `/usr/share/common-licenses/GPL-3`.
 
-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.
-
-Copyright for examples/*:
+License: LGPL-2.1
+ 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.
+ .
+ On Debian systems, the complete text of the LGPL-2.1 license can be found in
+ `/usr/share/common-licenses/LGPL-2.1`,
 
-    You may use this file under the terms of the BSD license as follows:
 
-    "Redistribution and use 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 Nokia Corporation and its Subsidiary(-ies) nor
-        the names of its contributors may be used to endorse or promote
-        products derived from this software without specific prior written
-        permission.
+Files: examples/*
+Copyright: 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
+           1994-2008 Trolltech ASA.
+License: BSD
+ You may use this file under the terms of the BSD license as follows:
+ .
+ "Redistribution and use 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 Nokia Corporation and its Subsidiary(-ies) nor
+     the names of its contributors may be used to endorse or promote
+     products derived from this software without specific prior written
+     permission.
+ .
+ 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."
 
-    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."
diff --git a/debian/libqt5script5.install b/debian/libqt5script5.install
new file mode 100644
index 0000000..73b428e
--- /dev/null
+++ b/debian/libqt5script5.install
@@ -0,0 +1 @@
+usr/lib/*/libQt5Script.so.*
diff --git a/debian/libqt5scripttools5.install b/debian/libqt5scripttools5.install
new file mode 100644
index 0000000..508dcf9
--- /dev/null
+++ b/debian/libqt5scripttools5.install
@@ -0,0 +1 @@
+usr/lib/*/libQt5ScriptTools.so.*
diff --git a/debian/libqtscript5.install b/debian/libqtscript5.install
deleted file mode 100644
index bd3b678..0000000
--- a/debian/libqtscript5.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/libQtScript.so.*
diff --git a/debian/libqtscripttools5.install b/debian/libqtscripttools5.install
deleted file mode 100644
index 77e8f11..0000000
--- a/debian/libqtscripttools5.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/libQtScriptTools.so.*
diff --git a/debian/qtscript5-dev.install b/debian/qtscript5-dev.install
index 447d14d..8daf18d 100644
--- a/debian/qtscript5-dev.install
+++ b/debian/qtscript5-dev.install
@@ -1,22 +1,3 @@
-usr/include/qt5/Qt/QtScript
-usr/include/qt5/Qt/QtScriptTools
-usr/include/qt5/Qt/qscriptable.h
-usr/include/qt5/Qt/qscriptclass.h
-usr/include/qt5/Qt/qscriptclasspropertyiterator.h
-usr/include/qt5/Qt/qscriptcontext.h
-usr/include/qt5/Qt/qscriptcontextinfo.h
-usr/include/qt5/Qt/qscriptengine.h
-usr/include/qt5/Qt/qscriptengineagent.h
-usr/include/qt5/Qt/qscriptenginedebugger.h
-usr/include/qt5/Qt/qscriptextensioninterface.h
-usr/include/qt5/Qt/qscriptextensionplugin.h
-usr/include/qt5/Qt/qscriptprogram.h
-usr/include/qt5/Qt/qscriptstring.h
-usr/include/qt5/Qt/qscriptvalue.h
-usr/include/qt5/Qt/qscriptvalueiterator.h
-usr/include/qt5/Qt/qtscriptglobal.h
-usr/include/qt5/Qt/qtscripttoolsversion.h
-usr/include/qt5/Qt/qtscriptversion.h
 usr/include/qt5/QtScript/QScriptClass
 usr/include/qt5/QtScript/QScriptClassPropertyIterator
 usr/include/qt5/QtScript/QScriptContext
@@ -59,11 +40,12 @@ usr/lib/*/cmake/Qt5Script/Qt5ScriptConfig.cmake
 usr/lib/*/cmake/Qt5Script/Qt5ScriptConfigVersion.cmake
 usr/lib/*/cmake/Qt5ScriptTools/Qt5ScriptToolsConfig.cmake
 usr/lib/*/cmake/Qt5ScriptTools/Qt5ScriptToolsConfigVersion.cmake
-usr/lib/*/libQtScript.prl
-usr/lib/*/libQtScript.so
-usr/lib/*/libQtScriptTools.prl
-usr/lib/*/libQtScriptTools.so
-usr/lib/*/pkgconfig/QtScript.pc
-usr/lib/*/pkgconfig/QtScriptTools.pc
-usr/share/qt5/mkspecs/modules/qt_script.pri
-usr/share/qt5/mkspecs/modules/qt_scripttools.pri
+usr/lib/*/libQt5Script.prl
+usr/lib/*/libQt5Script.so
+usr/lib/*/libQt5ScriptTools.prl
+usr/lib/*/libQt5ScriptTools.so
+usr/lib/*/pkgconfig/Qt5Script.pc
+usr/lib/*/pkgconfig/Qt5ScriptTools.pc
+usr/share/qt5/mkspecs/modules/qt_lib_script.pri
+usr/share/qt5/mkspecs/modules/qt_lib_scripttools.pri
+
diff --git a/debian/rules b/debian/rules
index 7d77df4..fd275ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,19 @@ export CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildfla
 export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 
 %:
-	dh $@ --list-missing --parallel --with pkgkde_symbolshelper --dbg-package=qtscript5-dbg 
+	dh $@ --fail-missing --parallel --with pkgkde_symbolshelper --dbg-package=qtscript5-dbg 
+
+override_dh_auto_configure:
+	qmake
+
+override_dh_auto_install:
+	make install INSTALL_ROOT=$(CURDIR)/debian/tmp STRIP=echo
+	
+	# Remove la files (http://wiki.debian.org/ReleaseGoals/LAFileRemoval)
+	rm -f debian/tmp/usr/lib/*/libQt5ScriptTools.la
+	rm -f debian/tmp/usr/lib/*/libQt5Script.la
+
+override_dh_builddeb:
 
 override_dh_builddeb:
 	dh_builddeb -- -Zxz

-- 
qtscript packaging



More information about the pkg-kde-commits mailing list