From 59d92539caf66b487c4431926f7a87afab791b8a Mon Sep 17 00:00:00 2001 From: Alf Gaida Date: Thu, 24 Sep 2015 22:34:53 +0200 Subject: [PATCH] some cleanup in rules and copyright --- debian/changelog | 8 +++ debian/copyright | 157 ++++++++++++++++++++++++++++++++++++++++++++++- debian/rules | 5 +- 3 files changed, 165 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index be01ef4..667c3d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +qps (1.10.16+20150823-2) UNRELEASED; urgency=medium + + * Fixed licenses for qttableview.* and qiconloader.* + * Use -Wl,--as-needed to reduce dependencies + * wait for pending upstream changes + + -- Alf Gaida Thu, 24 Sep 2015 21:58:48 +0200 + qps (1.10.16+20150823-1) unstable; urgency=medium * Initial Release (Closes: #795697) diff --git a/debian/copyright b/debian/copyright index 85d5ccb..9fc9090 100644 --- a/debian/copyright +++ b/debian/copyright @@ -31,8 +31,8 @@ Copyright: Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). License: LGPL-2.1-Nokia-Qt-Exception-1 or GPL-3 Files: src/qttableview.* -Copyright: Copyright (C) 1992-2000 Trolltech AS. All rights reserved. -License: ? +Copyright: 1992-2000 Trolltech AS +License: GPL-2.0 or QPL-1.0 Files: src/trayicon.* Copyright: 2003 Justin Karneges @@ -43,6 +43,22 @@ Copyright: 2015 Alf Gaida 2015 ChangZhuo Chen (陳昌倬) License: GPL-2.0+ +License: GPL-2.0 + This package 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; version 2 of the License. + . + 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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + License: GPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -88,7 +104,6 @@ License: BSD-3-clause OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -106,3 +121,139 @@ License: LGPL-2.1+ On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". +License: LPGL-2.1 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; + version 2.1 of the License. + . + This library 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. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + +License: Nokia_Exception + Nokia Qt LGPL Exception version 1.0 + . + As a special exception 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 the incorporated material (i) does not exceed + more than 5% of the total size of the Library; and (ii) is limited to + numerical parameters, data structure layouts, accessors, macros, + inline functions and templates. + + +License: QPL-1.0 + THE Q PUBLIC LICENSE + version 1.0 + . + Copyright (C) 1999-2000 Trolltech AS, Norway. + Everyone is permitted to copy and + distribute this license document. + . + The intent of this license is to establish freedom to share and change the + software regulated by this license under the open source model. + . + This license applies to any software containing a notice placed by the + copyright holder saying that it may be distributed under the terms of + the Q Public License version 1.0. Such software is herein referred to as + the Software. This license covers modification and distribution of the + Software, use of third-party application programs based on the Software, + and development of free software which uses the Software. + . + Granted Rights + . + 1. You are granted the non-exclusive rights set forth in this license + provided you agree to and comply with any and all conditions in this + license. Whole or partial distribution of the Software, or software + items that link with the Software, in any form signifies acceptance of + this license. + . + 2. You may copy and distribute the Software in unmodified form provided + that the entire package, including - but not restricted to - copyright, + trademark notices and disclaimers, as released by the initial developer + of the Software, is distributed. + . + 3. You may make modifications to the Software and distribute your + modifications, in a form that is separate from the Software, such as + patches. The following restrictions apply to modifications: + . + a. Modifications must not alter or remove any copyright notices in + the Software. + . + b. When modifications to the Software are released under this + license, a non-exclusive royalty-free right is granted to the + initial developer of the Software to distribute your modification + in future versions of the Software provided such versions remain + available under these terms in addition to any other license(s) of + the initial developer. + . + 4. You may distribute machine-executable forms of the Software or + machine-executable forms of modified versions of the Software, provided + that you meet these restrictions: + . + a. You must include this license document in the distribution. + . + b. You must ensure that all recipients of the machine-executable forms + are also able to receive the complete machine-readable source code + to the distributed Software, including all modifications, without + any charge beyond the costs of data transfer, and place prominent + notices in the distribution explaining this. + . + c. You must ensure that all modifications included in the + machine-executable forms are available under the terms of this + license. + . + 5. You may use the original or modified versions of the Software to + compile, link and run application programs legally developed by you + or by others. + . + 6. You may develop application programs, reusable components and other + software items that link with the original or modified versions of the + Software. These items, when distributed, are subject to the following + requirements: + . + a. You must ensure that all recipients of machine-executable forms of + these items are also able to receive and use the complete + machine-readable source code to the items without any charge + beyond the costs of data transfer. + . + b. You must explicitly license all recipients of your items to use + and re-distribute original and modified versions of the items in + both machine-executable and source code forms. The recipients must + be able to do so without any charges whatsoever, and they must be + able to re-distribute to anyone they choose. + . + c. If the items are not available to the general public, and the + initial developer of the Software requests a copy of the items, + then you must supply one. + . + Limitations of Liability + . + In no event shall the initial developers or copyright holders be liable + for any damages whatsoever, including - but not restricted to - lost + revenue or profits or other direct, indirect, special, incidental or + consequential damages, even if they have been advised of the possibility + of such damages, except to the extent invariable law, if any, provides + otherwise. + . + No Warranty + . + The Software and this license document are provided AS IS with NO WARRANTY + OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE. + . + Choice of Law + . + This license is governed by the Laws of Norway. Disputes shall be settled + by Oslo City Court. diff --git a/debian/rules b/debian/rules index c58cb3d..bbc2d07 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,10 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -%: - dh $@ --buildsystem=cmake --parallel +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +%: + dh $@ --buildsystem=cmake --parallel override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/qps