[SCM] qtbase packaging branch, experimental, updated. debian/5.6.1+dfsg-3-22-g1443e25
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Wed Jun 29 06:28:12 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/qt/qtbase.git;a=commitdiff;h=4ab88af
The following commit has been merged in the experimental branch:
commit 4ab88af816d01bad10ab6b26b0b471aa0f074a23
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Wed Jun 29 08:50:11 2016 +0300
Remove manual copyright rules and add a script to update copyright.
---
debian/changelog | 1 +
debian/copyright | 522 +++++++++-------------------------------
debian/scripts/update-copyright | 157 ++++++++++++
3 files changed, 276 insertions(+), 404 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 141f93a..0befb67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ qtbase-opensource-src (5.7.0+dfsg-1) UNRELEASED; urgency=medium
- Libraries code is now licensed under LGPL-3 or GPL-2+.
- Tools and tests are now licensed under GPL-3 with exceptions.
- Examples and documentation are still licensed under 3-clause BSD.
+ * Add a script to automatically generate some copyright information.
* Update clean rules to prevent deleting test data.
* Drop obsolete Breaks/Replaces.
* Bump qtbase-abi version to 5-7-0.
diff --git a/debian/copyright b/debian/copyright
index 1b84ab1..18dbbe2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -14,6 +14,8 @@ Files-Excluded: src/3rdparty/zlib/doc/rfc*.txt
# * RFCs (see QTBUG-30544 and QTBUG-30545)
# * htmlinfo example which contains non-free websites snapshots
+# Manual rules for The Qt Company copyrights
+
Files: *
Copyright: 2016 The Qt Company Ltd.
License: LGPL-3 or GPL-2+
@@ -42,6 +44,12 @@ Files: examples/*
Copyright: 2016 The Qt Company Ltd.
License: BSD-3-clause
+Files: *.qdoc
+Copyright: 2016 The Qt Company Ltd.
+License: GFDL-1.3
+
+# Debian packaging copyright
+
Files: debian/*
Copyright: 2007-2013 Fathi Boudra <fabo at debian.org>
2007-2013 Sune Vuorela <debian at pusling.com>
@@ -53,173 +61,13 @@ Copyright: 2007-2013 Fathi Boudra <fabo at debian.org>
2013-2016 Dmitry Shachnev <mitya57 at debian.org>
License: LGPL-3 or GPL-2+
-Files: src/testlib/3rdparty/callgrind_p.h
- src/testlib/3rdparty/valgrind_p.h
-Copyright: 2003-2007 Josef Weidendorfer
- 2000-2008 Julian Seward
-License: Hybrid-BSD
-
-Files: tests/auto/cmake/*
- src/gui/opengl/qopenglfunctions_4_4_*
- src/gui/opengl/qopenglfunctions_4_5_*
- src/gui/kernel/qplatformmenu.h
- src/gui/kernel/qplatformsystemtrayicon.h
- src/gui/kernel/qplatformsystemtrayicon.cpp
- src/corelib/global/qtypetraits.h
- src/corelib/itemmodels/qidentityproxymodel.cpp
- src/corelib/itemmodels/qidentityproxymodel.h
- src/corelib/doc/snippets/code/src_gui_itemviews_qidentityproxymodel.cpp
-Copyright: 2011-2015 Klarälvdalens Datakonsult AB, a KDAB Group company
-License: LGPL-3 or GPL-2+
+# Auto-generated rules for non-3rdparty code
+# Use debian/scripts/update-copyright in cleaned source tree root to update it.
+## BEGIN AUTO GENERATED BLOCK
-Files: tests/manual/cocoa/menus/main.cpp
- tests/manual/qmetatype/declare_metatype_noninline.h
- tests/manual/qmetatype/tst_qmetatype.cpp
- tests/manual/qmetatype/declare_metatype_noninline.cpp
- tests/auto/widgets/kernel/qwidgetmetatype/tst_qwidgetmetatype.cpp
- tests/auto/tools/moc/cxx11-explicit-override-control.h
- tests/auto/tools/moc/cxx11-final-classes.h
- tests/auto/tools/qdbuscpp2xml/test1.h
- tests/auto/tools/qdbuscpp2xml/tst_qdbuscpp2xml.cpp
- tests/auto/corelib/tools/qpair/tst_qpair.cpp
- tests/auto/corelib/itemmodels/qidentityproxymodel/tst_qidentityproxymodel.cpp
-Copyright: 2011-2012 Klarälvdalens Datakonsult AB, a KDAB Group company
-License: GPL-3 with Qt-1.0 exception
+## END AUTO GENERATED BLOCK
-Files: src/openglextensions/qopenglextensions.*
- util/glgen/qopenglextensions.*
-Copyright: 2013 Klarälvdalens Datakonsult AB (KDAB)
-License: BSD-3-clause
-
-Files: tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
-Copyright: 2016 Thiago Macieira <thiago at kde.org>
- 2016 Intel Corporation
-License: BSD-3-clause
-
-Files: tests/auto/cmake/test_add_binary_resources_delayed_file/main.cpp
-Copyright: 2015 André Klitzing <aklitzing at gmail.com>
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/plugins/platforms/cocoa/qcocoamenubar.mm
- src/plugins/platforms/cocoa/qcocoamenuitem.mm
- src/plugins/platforms/cocoa/qcocoamenu.h
- src/plugins/platforms/cocoa/qcocoasystemtrayicon.mm
- src/plugins/platforms/cocoa/qcocoasystemtrayicon.h
- src/plugins/platforms/cocoa/qcocoamenubar.h
- src/plugins/platforms/cocoa/qcocoamenuitem.h
- src/plugins/platforms/cocoa/qcocoamenu.mm
-Copyright: 2011 Klarälvdalens Datakonsult AB, a KDAB Group company
- 2007-2008 Apple, Inc.
-License: LGPL-3 or GPL-2+
-
-Files: src/plugins/platforms/cocoa/qcocoaeventdispatcher.h
- src/plugins/platforms/cocoa/qcocoaapplication.h
- src/plugins/platforms/cocoa/qcocoaintrospection.h
- src/plugins/platforms/cocoa/qmacdefines_mac.h
- src/plugins/platforms/cocoa/qcocoaapplicationdelegate.h
- src/corelib/kernel/qeventdispatcher_cf_p.h
-Copyright: 2007-2008 Apple, Inc.
- 2016 The Qt Company Ltd.
-License: BSD-3-clause
-
-Files: src/corelib/io/qstandardpaths_haiku.cpp
- src/plugins/platforms/haiku/*
-Copyright: 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info at kdab.com
-License: LGPL-3 or GPL-2+
-
-Files: src/plugins/platforms/qnx/*
- config.tests/unix/lgmon/lgmon.cpp
- config.tests/unix/objcopy/objcopy.cpp
- config.tests/unix/pps/pps.cpp
- config.tests/unix/qqnx_imf/qqnx_imf.cpp
- config.tests/unix/slog2/slog2.cpp
- mkspecs/qnx-*
- src/corelib/io/qurl.cpp
- src/corelib/kernel/qppsattribute*
- src/corelib/kernel/qppsobject*
- src/network/access/qabstractprotocolhandler*
- src/network/access/qhttpnetworkconnectionchannel.cpp
- src/network/access/qhttpprotocolhandler*
- src/network/access/qspdyprotocolhandler*
-Copyright: 2009-2014 BlackBerry Limited (formerly Research In Motion)
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/corelib/io/qfileselector/tst_qfileselector.cpp
- tests/auto/corelib/io/qurl/tst_qurl.cpp
- tests/auto/network/access/spdy/tst_spdy.cpp
- tests/manual/qnetworkreply/main.cpp
- tests/manual/qsslsocket/main.cpp
-Copyright: 2009-2014 BlackBerry Limited (formerly Research In Motion)
-License: GPL-3 with Qt-1.0 exception
-
-Files: tests/auto/android/runtests_androiddeployqt.pl
-Copyright: 2012-2013 BogDan Vatra <bogdan at kde.org>
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/plugins/platforms/android/*
- src/android/jar/src/org/qtproject/qt5/android/*
- src/android/java/src/*
- src/widgets/styles/qandroidstyle*
-Copyright: 2012-2014 BogDan Vatra <bogdan at kde.org>
-License: LGPL-3 or GPL-2+
-
-Files: config.tests/unix/pcre/pcre.cpp
- src/3rdparty/pcre/import_from_pcre_tarball.sh
- src/corelib/tools/qregularexpression.cpp
- src/corelib/tools/qhash.cpp
- src/corelib/tools/qregularexpression.h
- src/corelib/doc/snippets/code/src_corelib_tools_qregularexpression.cpp
-Copyright: 2012 Giuseppe D'Angelo
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/tools/rcc/tst_rcc.cpp
- tests/auto/corelib/tools/qregularexpression/tst_qregularexpression.h
- tests/auto/corelib/tools/qregularexpression/tst_qregularexpression.cpp
- tests/auto/corelib/tools/qregularexpression/defaultoptimize/tst_qregularexpression_defaultoptimize.cpp
- tests/auto/corelib/tools/qregularexpression/alwaysoptimize/tst_qregularexpression_alwaysoptimize.cpp
-Copyright: 2012 Giuseppe D'Angelo
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/3rdparty/xcb/xcb-util-keysyms/keysyms.c
- src/3rdparty/xcb/xcb-util/xcb_aux.c
- src/3rdparty/xcb/include/xcb/xcb_renderutil.h
- src/3rdparty/xcb/xcb-util-renderutil/util.c
- src/3rdparty/xcb/xcb-util/xcb_aux.c
- src/3rdparty/xcb/include/xcb/xcb_bitops.h
- src/3rdparty/xcb/include/xcb/xcb_image.h
- src/3rdparty/xcb/include/xcb/xcb_pixel.h
- src/3rdparty/xcb/xcb-util-image/xcb_image.c
- src/3rdparty/xcb/xcb-util/event.c
- src/3rdparty/xcb/include/xcb/xcb_event.h
- src/3rdparty/xcb/include/xcb/xcb_icccm.h
- src/3rdparty/xcb/xcb-util-wm/icccm.c
-Copyright: 2006-2008 Jamey Sharp
- 2008 Josh Triplett
- 2007 Bart Massey
- 2008 Ian Osgood
- 2000 Keith Packard
- 2008-2009 Julien Danjou
- 2007-2008 Vincent Torri
-License: MIT
-
-Files: src/network/kernel/qdnslookup_p.h
- src/network/kernel/qdnslookup_unix.cpp
- src/network/kernel/qdnslookup.h
- src/network/kernel/qdnslookup_win.cpp
- src/network/kernel/qdnslookup.cpp
-Copyright: 2012 Jeremy Lainé
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/network/kernel/qdnslookup_appless/tst_qdnslookup_appless.cpp
- tests/auto/network/kernel/qdnslookup/tst_qdnslookup.cpp
-Copyright: 2012 Jeremy Lainé
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/network/doc/snippets/code/src_network_kernel_qdnslookup.cpp
- examples/network/dnslookup/dnslookup.cpp
- examples/network/dnslookup/dnslookup.h
-Copyright: 2012 Jeremy Lainé
-License: BSD-3-clause
+# Manual rules for some files with non-standard licenses
Files: tests/auto/corelib/xml/qxmlstream/XML-Test-Suite/*
Copyright: 1994-2002 World Wide Web Consortium
@@ -281,217 +129,6 @@ License: W3C
associated documentation will at all times remain with copyright
holders.
-Files: config.tests/qpa/directfb/directfb.cpp
- config.tests/arch/arch.cpp
- config.tests/common/avx2/avx2.cpp
- src/printsupport/kernel/qtprintsupportglobal.h
- src/xml/qtxmlglobal.h
- src/corelib/thread/qmutex.cpp
- src/corelib/thread/qmutex_linux.cpp
- src/corelib/thread/qmutex_p.h
- src/corelib/global/qglobal.h
- src/corelib/global/qcompilerdetection.h
- src/corelib/tools/qsimd.cpp
- src/corelib/io/qipaddress_p.h
- src/corelib/io/qurlquery.cpp
- src/corelib/io/qurl.h
- src/corelib/io/qurl_p.h
- src/corelib/io/qipaddress.cpp
- src/corelib/io/qurlrecode.cpp
- src/corelib/io/qurlquery.h
- src/corelib/io/qurl.cpp
- src/dbus/qdbusconnection.h
- src/dbus/qdbusutil_p.h
- src/opengl/qtopenglglobal.h
-Copyright: 2012-2015 Intel Corporation
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/tools/qdbusxml2cpp/tst_qdbusxml2cpp.cpp
- tests/auto/tools/moc/forward-declared-param.h
- tests/auto/network/kernel/qhostaddress/tst_qhostaddress.cpp
- tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
- tests/auto/corelib/tools/qsharedpointer/tst_qsharedpointer.cpp
- tests/auto/corelib/tools/qsharedpointer/nontracked.h
- tests/auto/corelib/tools/qsharedpointer/forwarddeclared.h
- tests/auto/corelib/tools/qsharedpointer/nontracked.cpp
- tests/auto/corelib/tools/qsharedpointer/forwarddeclared.cpp
- tests/auto/corelib/io/qurlquery/tst_qurlquery.cpp
- tests/auto/corelib/io/qurl/tst_qurl.cpp
- tests/auto/corelib/io/qprocess-noapplication/tst_qprocessnoapplication.cpp
- tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
- tests/auto/corelib/io/qipaddress/tst_qipaddress.cpp
-Copyright: 2012-2015 Intel Corporation
-License: GPL-3 with Qt-1.0 exception
-
-Files: mkspecs/common/android/qplatformdefs.h
- src/network/kernel/qdnslookup_android.cpp
- src/corelib/kernel/qsharedmemory_android.cpp
- src/corelib/kernel/qsystemsemaphore_android.cpp
-Copyright: 2012 Collabora Ltd
-License: LGPL-3 or GPL-2+
-
-Files: src/gui/painting/qt_mips_asm_dsp_p.h
- src/gui/painting/qdrawhelper_mips_dsp_p.h
- src/gui/painting/qdrawhelper_mips_dsp.cpp
- src/gui/painting/qdrawhelper_mips_dsp_asm.S
- src/gui/painting/qdrawhelper_mips_dspr2_asm.S
-Copyright: 2012 MIPS Technologies
-License: LGPL-3 or GPL-2+
-
-Files: src/corelib/global/qlogging.cpp
- src/corelib/kernel/qmetaobject.cpp
- src/corelib/kernel/qmetaobject.h
- src/corelib/kernel/qmetaobject_p.h
- src/corelib/kernel/qmetatype.h
- src/corelib/kernel/qobject.cpp
- src/corelib/kernel/qobjectdefs_impl.h
- src/corelib/kernel/qobject.h
- src/corelib/kernel/qobject_p.h
- src/corelib/kernel/qvariant.cpp
- src/corelib/thread/qmutex.cpp
- src/corelib/thread/qmutex_p.h
- src/tools/moc/generator.cpp
- src/tools/moc/preprocessor.cpp
- src/tools/moc/symbols.h
-Copyright: 2011-2015 Olivier Goffart
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/corelib/global/qlogging/tst_qlogging.cpp
- tests/auto/corelib/kernel/qmetaenum/tst_qmetaenum.cpp
- tests/auto/corelib/kernel/qmetamethod/tst_qmetamethod.cpp
- tests/auto/corelib/kernel/qmetaproperty/tst_qmetaproperty.cpp
- tests/auto/corelib/kernel/qobject/tst_qobject.cpp
- tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
- tests/auto/tools/moc/cxx11-enums.h
- tests/auto/tools/moc/dollars.h
- tests/auto/tools/moc/tst_moc.cpp
-Copyright: 2011-2015 Olivier Goffart
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/network/ssl/qsslcertificateextension_p.h
- src/network/ssl/qsslcertificateextension.cpp
- src/network/ssl/qsslcertificateextension.h
-Copyright: 2011 Richard J. Moore
-License: LGPL-3 or GPL-2+
-
-Files: tests/benchmarks/corelib/tools/qalgorithms/tst_qalgorithms.cpp
- tests/benchmarks/corelib/tools/qstack/main.cpp
- tests/benchmarks/corelib/kernel/qcoreapplication/main.cpp
-Copyright: 2011-2015 Robin Burchell <robin.burchell at viroteck.net>
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/corelib/codecs/qjpunicode.cpp
- src/corelib/codecs/qsjiscodec_p.h
- src/corelib/codecs/qjiscodec_p.h
- src/corelib/codecs/qsjiscodec.cpp
- src/corelib/codecs/qeucjpcodec.cpp
- src/corelib/codecs/qjpunicode_p.h
- src/corelib/codecs/qeucjpcodec_p.h
- src/corelib/codecs/qjiscodec.cpp
-Copyright: 1999 Serika Kurusugawa
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/corelib/io/qstorageinfo/tst_qstorageinfo.cpp
-Copyright: 2014 Ivan Komissarov <ABBAPOH at gmail.com>
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/corelib/io/qstorageinfo*
- src/widgets/widgets/qkeysequenceedit*
-Copyright: 2013-2014 Ivan Komissarov <ABBAPOH at gmail.com>
-License: LGPL-3 or GPL-2+
-
-Files: src/network/ssl/qsslcontext_openssl.cpp
- src/network/ssl/qsslellipticcurve.cpp
- src/network/ssl/qsslellipticcurve_dummy.cpp
- src/network/ssl/qsslellipticcurve.h
- src/network/ssl/qsslellipticcurve_openssl.cpp
- src/network/ssl/qsslpresharedkeyauthenticator.cpp
- src/network/ssl/qsslpresharedkeyauthenticator.h
- src/network/ssl/qsslpresharedkeyauthenticator_p.h
- src/network/ssl/qsslsocket_openssl.cpp
-Copyright: 2014 Governikus GmbH & Co. KG.
-License: LGPL-3 or GPL-2+
-
-Files: tests/auto/network/ssl/qsslellipticcurve/tst_qsslellipticcurve.cpp
- tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp
-Copyright: 2014 Governikus GmbH & Co. KG.
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/3rdparty/atspi2/atspi/atspi-constants.h
-Copyright: 2010-2011 Novell, Inc.
- 2012 SUSE LINUX Products GmbH, Nuernberg, Germany
-License: GPL-2+
-
-Files: src/3rdparty/angle/*
-Copyright: 2002-2010 The ANGLE Project Authors.
- 2007-2012 The Khronos Group Inc.
- 2002 NVIDIA Corporation
-License: BSD-3-clause
-
-Files: src/3rdparty/forkfd/*
-Copyright: 2014 Intel Corporation
- 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info at kdab.com
-License: MIT
-
-Files: src/3rdparty/xkbcommon/*
-Copyright: 2012 Ran Benita <ran234 at gmail.com>
- 2009 Dan Nicholson
- 2012 Intel Corporation
- 2006 Erdal Ronahî
- 2004 Gregory Mokhin <mokhin at bog.msu.ru>
- 2003-2004 Dmitry Golubev <lastguru at mail.ru>
- 1988 Digital Equipment Corporation, Maynard, Massachusetts.
- 1987-1998 The Open Group
- 1991 Oracle and/or its affiliates.
- 2012 Daniel Stone
- 1993 by Silicon Graphics Computer Systems, Inc.
- 2011 Joseph Adams <joeyadams3.14159 at gmail.com>
- 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
-License: MIT
-
-Files: src/3rdparty/iaccessible2/idl/*
-Copyright: 2006 IBM Corporation
-License: BSD-3-clause
-
-Files: tests/manual/widgets/itemviews/delegate/example.cpp
- tests/manual/widgets/itemviews/qheaderview/qheaderviewtest1.cpp
- tests/manual/widgets/itemviews/qtreewidget/main.cpp
- tests/manual/widgets/itemviews/autoResizePrecision/*
- tests/manual/widgets/kernel/qtooltip/main.cpp
- tests/manual/widgets/kernel/sizeonhide/main.cpp
- tests/manual/widgets/kernel/layoutreplace/main.cpp
- tests/manual/widgets/qgraphicsview/rubberband/rubberbandtest.cpp
- tests/manual/corelib/tools/qmap/main.cpp
- tests/manual/corelib/tools/qvector/main.cpp
- tests/manual/corelib/tools/qhash/main.cpp
- tests/manual/corelib/tools/qlist/main.cpp
- tests/manual/corelib/tools/qset/main.cpp
- tests/manual/corelib/tools/qvarlengtharray/main.cpp
- tests/manual/dialogs/messageboxpanel.*
- tests/benchmarks/gui/itemviews/qheaderview/qheaderviewbench.cpp
- tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp
-Copyright: 2012-2013 Thorbjørn Lund Martsum
-License: GPL-3 with Qt-1.0 exception
-
-Files: tests/auto/corelib/tools/qbytearray/tst_qbytearray_mac.mm
-Copyright: 2013-2014 Samuel Gaist <samuel.gaist at edeltech.ch>
-License: GPL-3 with Qt-1.0 exception
-
-Files: src/corelib/kernel/qcoreapplication_win.cpp
- src/corelib/io/qfilesystemengine_unix.cpp
- src/corelib/tools/qbytearray_mac.mm
- src/gui/kernel/qplatformsessionmanager.*
- src/gui/kernel/qsessionmanager_p.h
- src/gui/image/qpnghandler.cpp
- src/platformsupport/eventdispatchers/qwindowsguieventdispatcher.cpp
- src/plugins/platforms/windows/qtwindowsglobal.h
- src/plugins/platforms/windows/qwindowscontext.cpp
- src/plugins/platforms/windows/qwindowsintegration.*
- src/plugins/platforms/windows/qwindowssessionmanager.*
- src/widgets/itemviews/qlistview.cpp
-Copyright: 2013-2014 Samuel Gaist <samuel.gaist at edeltech.ch>
-License: LGPL-3 or GPL-2+
-
Files: tests/auto/corelib/tools/qchar/data/NormalizationTest.txt
tests/auto/corelib/tools/qtextboundaryfinder/data/*.txt
util/unicode/data/*.txt
@@ -531,6 +168,67 @@ License: Unicode
use or other dealings in these Data Files or Software without prior
written authorization of the copyright holder.
+# Manual rules for 3rdparty copyrights
+
+Files: src/testlib/3rdparty/callgrind_p.h
+ src/testlib/3rdparty/valgrind_p.h
+Copyright: 2003-2007 Josef Weidendorfer
+ 2000-2008 Julian Seward
+License: Hybrid-BSD
+
+Files: src/3rdparty/xcb/xcb-util-keysyms/keysyms.c
+ src/3rdparty/xcb/xcb-util/xcb_aux.c
+ src/3rdparty/xcb/include/xcb/xcb_renderutil.h
+ src/3rdparty/xcb/xcb-util-renderutil/util.c
+ src/3rdparty/xcb/xcb-util/xcb_aux.c
+ src/3rdparty/xcb/include/xcb/xcb_bitops.h
+ src/3rdparty/xcb/include/xcb/xcb_image.h
+ src/3rdparty/xcb/include/xcb/xcb_pixel.h
+ src/3rdparty/xcb/xcb-util-image/xcb_image.c
+ src/3rdparty/xcb/xcb-util/event.c
+ src/3rdparty/xcb/include/xcb/xcb_event.h
+ src/3rdparty/xcb/include/xcb/xcb_icccm.h
+ src/3rdparty/xcb/xcb-util-wm/icccm.c
+Copyright: 2006-2008 Jamey Sharp
+ 2008 Josh Triplett
+ 2007 Bart Massey
+ 2008 Ian Osgood
+ 2000 Keith Packard
+ 2008-2009 Julien Danjou
+ 2007-2008 Vincent Torri
+License: MIT
+
+Files: src/3rdparty/angle/*
+Copyright: 2002-2010 The ANGLE Project Authors.
+ 2007-2012 The Khronos Group Inc.
+ 2002 NVIDIA Corporation
+License: BSD-3-clause
+
+Files: src/3rdparty/forkfd/*
+Copyright: 2014 Intel Corporation
+ 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info at kdab.com
+License: MIT
+
+Files: src/3rdparty/xkbcommon/*
+Copyright: 2012 Ran Benita <ran234 at gmail.com>
+ 2009 Dan Nicholson
+ 2012 Intel Corporation
+ 2006 Erdal Ronahî
+ 2004 Gregory Mokhin <mokhin at bog.msu.ru>
+ 2003-2004 Dmitry Golubev <lastguru at mail.ru>
+ 1988 Digital Equipment Corporation, Maynard, Massachusetts.
+ 1987-1998 The Open Group
+ 1991 Oracle and/or its affiliates.
+ 2012 Daniel Stone
+ 1993 by Silicon Graphics Computer Systems, Inc.
+ 2011 Joseph Adams <joeyadams3.14159 at gmail.com>
+ 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
+License: MIT
+
+Files: src/3rdparty/iaccessible2/idl/*
+Copyright: 2006 IBM Corporation
+License: BSD-3-clause
+
Files: src/3rdparty/harfbuzz/*
Copyright: 1998-2005 David Turner
1998-2004 Werner Lemberg
@@ -573,26 +271,6 @@ License: Harfbuzz
ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
-Files: src/gui/text/qharfbuzzng.cpp
- src/gui/text/qharfbuzzng_p.h
-Copyright: 2013 Konstantin Ritt
-License: LGPL-3 or GPL-2+
-
-Files: src/corelib/kernel/qsharedmemory_posix.cpp
- src/corelib/kernel/qsystemsemaphore_posix.cpp
-Copyright: 2015 Konstantin Ritt <ritt.ks at gmail.com>
- 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info at kdab.com
-License: LGPL-3 or GPL-2+
-
-Files: src/testlib/3rdparty/cycle_p.h
-Copyright: 2003, 2006 Matteo Frigo
- 2003, 2006 Massachusetts Institute of Technology
-License: Expat
-
-Files: src/3rdparty/easing/easing.cpp
-Copyright: 2001 Robert Penner
-License: BSD-3-clause
-
Files: src/3rdparty/freetype/*
Copyright: 1996-2012 David Turner, Robert Wilhelm, and Werner Lemberg
1996-2009 Just van Rossum
@@ -762,6 +440,7 @@ License: public-domain
placed in the public domain
Files: src/3rdparty/android/extract.h
+ mkspecs/features/data/android/dx.bat
Copyright: 2005 The Android Open Source Project
License: Apache-2.0
@@ -831,6 +510,49 @@ License: Zlib
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
+# License texts
+
+License: LGPL-2.1-or-3 with Qt-1.1 exception
+ GNU Lesser General Public License:
+ This file may be used under the terms of the GNU Lesser General Public
+ License version 2.1 or version 3 as published by the Free Software
+ Foundation and appearing in the file LICENSE.LGPLv21 and LICENSE.LGPLv3
+ included in the packaging of this file. Please review the following
+ information to ensure the GNU Lesser General Public License requirements
+ will be met: https://www.gnu.org/licenses/lgpl.html.
+ .
+ In addition, as a special exception, The Qt Company gives you certain
+ additional rights. These rights are described in The Qt Company Qt LGPL
+ Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
+ package.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1`.
+ The complete text of the GNU Lesser General Public License version 3 can be
+ found in `/usr/share/common-licenses/LGPL-3`.
+ .
+ The Qt Company 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: LGPL-3
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3
@@ -1141,14 +863,6 @@ License: FTL
Robert Wilhelm <robert.wilhelm at freetype.org>
Werner Lemberg <werner.lemberg at freetype.org>
-Files: *.qdoc
-Copyright: 2012 The Qt Company Ltd.
-License: GFDL-1.3
-
-Files: src/printsupport/kernel/qprinterinfo.cpp
-Copyright: 2012 The Qt Company Ltd.
-License: GFDL-1.3
-
License: GFDL-1.3
GNU Free Documentation License Usage
Alternatively, this file may be used under the terms of the GNU Free
diff --git a/debian/scripts/update-copyright b/debian/scripts/update-copyright
new file mode 100755
index 0000000..eabdd53
--- /dev/null
+++ b/debian/scripts/update-copyright
@@ -0,0 +1,157 @@
+#!/usr/bin/python3
+
+import os
+import sys
+
+default_copyright = 'The Qt Company Ltd.'
+default_licenses = (
+ 'BSD-3-clause',
+ 'LGPL-3 or GPL-2+',
+ 'GPL-3 with Qt-1.0 exception',
+ 'GFDL-1.3',
+)
+
+licenses_map = {
+ 'BSD': 'BSD-3-clause',
+ 'FDL': 'GFDL-1.3',
+ 'GPL-EXCEPT': 'GPL-3 with Qt-1.0 exception',
+ 'LGPL': 'LGPL-3 or GPL-2+',
+ 'LGPL21': 'LGPL-2.1-or-3 with Qt-1.1 exception',
+ 'LGPL3': 'LGPL-3 or GPL-2+',
+ 'LGPL3-COMM': 'LGPL-3',
+}
+
+exclude_prefixes = (
+ 'header',
+ '.git',
+)
+
+start_header = '## BEGIN AUTO GENERATED BLOCK'
+end_header = '## END AUTO GENERATED BLOCK'
+
+
+class CopyrightInfo():
+ def __init__(self):
+ self.min_years = {}
+ self.max_years = {}
+ self.files = []
+
+ def add_file(self, authors, file):
+ for min_year, max_year, author in authors:
+ if author in self.min_years:
+ self.min_years[author] = min(self.min_years[author], min_year)
+ else:
+ self.min_years[author] = min_year
+ if author in self.max_years:
+ self.max_years[author] = max(self.max_years[author], max_year)
+ else:
+ self.max_years[author] = max_year
+ self.files.append(file)
+
+ def get_strings(self, authors):
+ for author in authors:
+ min_year = self.min_years[author]
+ max_year = self.max_years[author]
+ if min_year == max_year:
+ yield '%d %s' % (min_year, author)
+ else:
+ yield '%d-%d %s' % (min_year, max_year, author)
+
+
+def canonicalize_author_name(author):
+ if 'KDAB' in author:
+ return 'Klarälvdalens Datakonsult AB, a KDAB Group company'
+ if 'BlackBerry' in author:
+ return 'BlackBerry Limited (formerly Research In Motion)'
+ if 'Research In Motion' in author or 'Research in Motion' in author:
+ return 'BlackBerry Limited (formerly Research In Motion)'
+ if 'Ivan Komissarov' in author:
+ return 'Ivan Komissarov <ABBAPOH at gmail.com>'
+ return author
+
+
+def parse_file(filename):
+ print(filename, file=sys.stderr)
+ license = None
+ authors = []
+ with open(filename) as file:
+ try:
+ data = file.readlines(500)
+ except UnicodeDecodeError:
+ return None, None
+ for line in data:
+ if line[3:16] == 'Copyright (C)' and line[0] != ' ':
+ copyright = line[17:-1]
+ max_year = min_year = int(copyright[:4])
+ if copyright[4] == '-':
+ max_year = int(copyright[5:9])
+ author = copyright[10:]
+ elif copyright[4:7] == ' - ':
+ max_year = int(copyright[7:11])
+ author = copyright[12:]
+ else:
+ author = copyright[5:]
+ author = canonicalize_author_name(author)
+ authors.append((min_year, max_year, author))
+ if line[3:21] == '$QT_BEGIN_LICENSE:':
+ license = licenses_map[line[21:-2]]
+ return license, authors
+
+
+def get_source_files(root_directory):
+ for dirpath, dirnames, filenames in os.walk(root_directory):
+ for filename in filenames:
+ full_path = os.path.join(dirpath, filename)
+ if full_path.startswith('./'):
+ full_path = full_path[2:]
+ if any(full_path.startswith(prefix) for prefix in exclude_prefixes):
+ continue
+ yield full_path
+
+
+def format_list(title, strings):
+ return title + ('
' + ' ' * len(title)).join(strings)
+
+
+def main(root_directory):
+ with open('debian/copyright') as copyright_file:
+ current_copyright = copyright_file.read()
+ start_pos = current_copyright.find(start_header) + len(start_header) + 1
+ start_data = current_copyright[:start_pos]
+ end_pos = current_copyright.find(end_header) - 1
+ end_data = current_copyright[end_pos:]
+ with open('debian/copyright', 'w') as output_file:
+ output_file.write(start_data)
+ write_output(root_directory, output_file)
+ output_file.write(end_data)
+
+def write_output(root_directory, output_file):
+ data = {}
+
+ for filename in get_source_files(root_directory):
+ license, authors = parse_file(filename)
+ if license is None:
+ continue
+ if license not in data:
+ data[license] = {}
+ license_dict = data[license]
+ authors_tuple = tuple(sorted(author[2] for author in authors))
+ if authors_tuple not in license_dict:
+ license_dict[authors_tuple] = CopyrightInfo()
+ license_dict[authors_tuple].add_file(authors, filename)
+
+ for license in sorted(data.keys()):
+ output_file.write('
## ' + license + '
')
+ license_dict = data[license]
+ for authors in sorted(license_dict.keys()):
+ if authors == (default_copyright,) and license in default_licenses:
+ continue
+ copyright_info = license_dict[authors]
+ output_file.write('
')
+ output_file.write(format_list('Files: ', sorted(copyright_info.files)) + '
')
+ output_file.write(format_list('Copyright: ', copyright_info.get_strings(authors)) + '
')
+ output_file.write('License: ' + license + '
')
+
+
+if __name__ == '__main__':
+ main('.')
--
qtbase packaging
More information about the pkg-kde-commits
mailing list