Lintian Fixes - libsfml

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/libsfml lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2018-10-17 08:35:18 +0000
+++ b/debian/changelog	2020-06-26 17:11:51 +0000
@@ -1,3 +1,15 @@
+libsfml (2.5.1+dfsg-2) UNRELEASED; urgency=low
+
+  * Refer to common license file for CC0-1.0.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 26 Jun 2020 17:07:50 -0000
+
 libsfml (2.5.1+dfsg-1) unstable; urgency=medium
 
   * New upstream version.

=== removed file 'debian/compat'
--- a/debian/compat	2018-05-16 10:34:09 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-11

=== modified file 'debian/control'
--- a/debian/control	2018-10-17 08:17:00 +0000
+++ b/debian/control	2020-06-26 17:10:18 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
 Uploaders:
  James Cowgill <jcowgill@debian.org>
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 12),
  cmake (>= 3.0.2),
  doxygen,
  g++ (>= 4:7),
@@ -19,7 +19,7 @@
  libxrandr-dev,
 Rules-Requires-Root: no
 Standards-Version: 4.2.1
-Homepage: http://www.sfml-dev.org/
+Homepage: https://www.sfml-dev.org/
 Vcs-Git: https://salsa.debian.org/games-team/libsfml.git
 Vcs-Browser: https://salsa.debian.org/games-team/libsfml
 

=== modified file 'debian/copyright'
--- a/debian/copyright	2018-05-16 10:34:09 +0000
+++ b/debian/copyright	2020-06-26 17:08:08 +0000
@@ -130,134 +130,15 @@
  SOFTWARE.
 
 License: CC0-1.0
- Creative Commons CC0 1.0 Universal
- .
- CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
- LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
- ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION
- ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE
- USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND
- DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT
- OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.
- .
- Statement of Purpose
- .
- The laws of most jurisdictions throughout the world automatically confer
- exclusive Copyright and Related Rights (defined below) upon the creator
- and subsequent owner(s) (each and all, an "owner") of an original work
- of authorship and/or a database (each, a "Work").
- .
- Certain owners wish to permanently relinquish those rights to a Work for
- the purpose of contributing to a commons of creative, cultural and
- scientific works ("Commons") that the public can reliably and without
- fear of later claims of infringement build upon, modify, incorporate in
- other works, reuse and redistribute as freely as possible in any form
- whatsoever and for any purposes, including without limitation commercial
- purposes. These owners may contribute to the Commons to promote the
- ideal of a free culture and the further production of creative, cultural
- and scientific works, or to gain reputation or greater distribution for
- their Work in part through the use and efforts of others.
- .
- For these and/or other purposes and motivations, and without any
- expectation of additional consideration or compensation, the person
- associating CC0 with a Work (the "Affirmer"), to the extent that he or
- she is an owner of Copyright and Related Rights in the Work, voluntarily
- elects to apply CC0 to the Work and publicly distribute the Work under
- its terms, with knowledge of his or her Copyright and Related Rights in
- the Work and the meaning and intended legal effect of CC0 on those
- rights.
- .
- 1. Copyright and Related Rights. A Work made available under CC0 may be
- protected by copyright and related or neighboring rights ("Copyright and
- Related Rights"). Copyright and Related Rights include, but are not
- limited to, the following:
- .
- i. the right to reproduce, adapt, distribute, perform, display,
- communicate, and translate a Work;
- .
- ii. moral rights retained by the original author(s) and/or performer(s);
- .
- iii. publicity and privacy rights pertaining to a person's image or
- likeness depicted in a Work;
- .
- iv. rights protecting against unfair competition in regards to a Work,
- subject to the limitations in paragraph 4(a), below;
- .
- v. rights protecting the extraction, dissemination, use and reuse of
- data in a Work;
- .
- vi. database rights (such as those arising under Directive 96/9/EC of
- the European Parliament and of the Council of 11 March 1996 on the legal
- protection of databases, and under any national implementation thereof,
- including any amended or successor version of such directive); and
- .
- vii. other similar, equivalent or corresponding rights throughout the
- world based on applicable law or treaty, and any national
- implementations thereof.
- .
- 2. Waiver. To the greatest extent permitted by, but not in contravention
- of, applicable law, Affirmer hereby overtly, fully, permanently,
- irrevocably and unconditionally waives, abandons, and surrenders all of
- Affirmer's Copyright and Related Rights and associated claims and causes
- of action, whether now known or unknown (including existing as well as
- future claims and causes of action), in the Work (i) in all territories
- worldwide, (ii) for the maximum duration provided by applicable law or
- treaty (including future time extensions), (iii) in any current or
- future medium and for any number of copies, and (iv) for any purpose
- whatsoever, including without limitation commercial, advertising or
- promotional purposes (the "Waiver"). Affirmer makes the Waiver for the
- benefit of each member of the public at large and to the detriment of
- Affirmer's heirs and successors, fully intending that such Waiver shall
- not be subject to revocation, rescission, cancellation, termination, or
- any other legal or equitable action to disrupt the quiet enjoyment of
- the Work by the public as contemplated by Affirmer's express Statement
- of Purpose.
- .
- 3. Public License Fallback. Should any part of the Waiver for any reason
- be judged legally invalid or ineffective under applicable law, then the
- Waiver shall be preserved to the maximum extent permitted taking into
- account Affirmer's express Statement of Purpose. In addition, to the
- extent the Waiver is so judged Affirmer hereby grants to each affected
- person a royalty-free, non transferable, non sublicensable, non
- exclusive, irrevocable and unconditional license to exercise Affirmer's
- Copyright and Related Rights in the Work (i) in all territories
- worldwide, (ii) for the maximum duration provided by applicable law or
- treaty (including future time extensions), (iii) in any current or
- future medium and for any number of copies, and (iv) for any purpose
- whatsoever, including without limitation commercial, advertising or
- promotional purposes (the "License"). The License shall be deemed
- effective as of the date CC0 was applied by Affirmer to the Work. Should
- any part of the License for any reason be judged legally invalid or
- ineffective under applicable law, such partial invalidity or
- ineffectiveness shall not invalidate the remainder of the License, and
- in such case Affirmer hereby affirms that he or she will not (i)
- exercise any of his or her remaining Copyright and Related Rights in the
- Work or (ii) assert any associated claims and causes of action with
- respect to the Work, in either case contrary to Affirmer's express
- Statement of Purpose.
- .
- 4. Limitations and Disclaimers.
- .
- a. No trademark or patent rights held by Affirmer are waived, abandoned,
- surrendered, licensed or otherwise affected by this document.
- .
- b. Affirmer offers the Work as-is and makes no representations or
- warranties of any kind concerning the Work, express, implied, statutory
- or otherwise, including without limitation warranties of title,
- merchantability, fitness for a particular purpose, non infringement, or
- the absence of latent or other defects, accuracy, or the present or
- absence of errors, whether or not discoverable, all to the greatest
- extent permissible under applicable law.
- .
- c. Affirmer disclaims responsibility for clearing rights of other
- persons that may apply to the Work or any use thereof, including without
- limitation any person's Copyright and Related Rights in the Work.
- Further, Affirmer disclaims responsibility for obtaining any necessary
- consents, permissions or other rights required for any use of the Work.
- .
- d. Affirmer understands and acknowledges that Creative Commons is not a
- party to this document and has no duty or obligation with respect to
- this CC0 or use of the Work.
+ To the extent possible under law, the author(s) have dedicated all copyright
+ and related and neighboring rights to this software to the public domain
+ worldwide. This software is distributed without any warranty.
+ .
+ You should have received a copy of the CC0 Public Domain Dedication along with
+ this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+ .
+ On Debian systems, the full text of the CC0 1.0 Universal license can be found
+ in the file `/usr/share/common-licenses/CC0-1.0'.
 
 License: GPL-2.0+
  This program is free software; you can redistribute it

=== modified file 'debian/tests/build'
--- a/debian/tests/build	2016-06-28 18:33:08 +0000
+++ b/debian/tests/build	2020-06-26 17:11:51 +0000
@@ -3,15 +3,15 @@
 
 set -e
 
-# Require $ADTTMP for temporary build files
-if [ -z "$ADTTMP" ]
+# Require $AUTOPKGTEST_TMP for temporary build files
+if [ -z "$AUTOPKGTEST_TMP" ]
 then
-	echo "Required envvar \"$ADTTMP\"is not set" >&2
+	echo "Required envvar \"$AUTOPKGTEST_TMP\"is not set" >&2
 	exit 1
 fi
 
-cp debian/tests/sfml_test.cpp "$ADTTMP"
-cd "$ADTTMP"
+cp debian/tests/sfml_test.cpp "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP"
 
 # Build programs - once with raw libraries and once with pkg-config
 g++ -Wall -Werror -o sfml_test1 sfml_test.cpp -lsfml-network -lsfml-system

=== modified file 'debian/tests/cmake'
--- a/debian/tests/cmake	2016-06-28 19:40:59 +0000
+++ b/debian/tests/cmake	2020-06-26 17:11:51 +0000
@@ -3,15 +3,15 @@
 
 set -e
 
-# Require $ADTTMP for temporary build files
-if [ -z "$ADTTMP" ]
+# Require $AUTOPKGTEST_TMP for temporary build files
+if [ -z "$AUTOPKGTEST_TMP" ]
 then
-	echo "Required envvar \"$ADTTMP\"is not set" >&2
+	echo "Required envvar \"$AUTOPKGTEST_TMP\"is not set" >&2
 	exit 1
 fi
 
-cp debian/tests/CMakeLists.txt debian/tests/sfml_test.cpp "$ADTTMP"
-cd "$ADTTMP"
+cp debian/tests/CMakeLists.txt debian/tests/sfml_test.cpp "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP"
 
 # Run CMake and build program
 CFLAGS='-Wall -Werror' cmake .

=== added directory 'debian/upstream'
=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2020-06-26 17:11:07 +0000
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/SFML/SFML/issues
+Bug-Submit: https://github.com/SFML/SFML/issues/new
+Repository: https://github.com/SFML/SFML.git
+Repository-Browse: https://github.com/SFML/SFML

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/2f/66f14f833763acdd28a1ba5c6835342aeb45cd.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/30/b820fbcdef4fcc8cf0bcdab5a4efd03c7e070e.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/48/0413d7c1a8dcf2d1938fc364d8e3e1d99006f7.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/81/00c789f9982d3a998eb0f11e6ee74524c41a89.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/b8/95da9a6b5d97ddea69b364492cd307bd5f7008.debug
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/X11/X11.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/android/app/app.iml
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/android/app/src/main/assets/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/android/app/src/main/jni/main.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/CocoaAppDelegate.mm
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/MainMenu.xib
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/resources/icon.icns
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/ftp/Ftp.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/iOS/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/island/Island.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/island/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/island/stb_perlin.h
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/joystick/Joystick.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/joystick/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/opengl/OpenGL.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/opengl/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/pong/Pong.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/pong/resources/ball.wav
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/pong/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/shader/Shader.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/shader/resources/sansation.ttf
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/sound/resources/ding.flac
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/voip/Client.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/voip/Server.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/win32/Win32.cpp
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/window/Window.cpp

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/24/708ea3aa760246226b14f523d8a30d3abe01a2.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/80/3c759eb49f4924647010f4d5856c97b24f1de6.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/9d/80e254f812c03e07ed5d34dbad62553ecce58b.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/a4/a31b1345e156f3f6e4100ef26f9c4e25e72231.debug
-rw-r--r--  root/root   /usr/lib/debug/.build-id/e7/448033c402b2d39d274a35cc1e2790a5937a3b.debug
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/X11/X11.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/android/app/app.iml.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/android/app/src/main/assets/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/android/app/src/main/jni/main.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/CocoaAppDelegate.mm.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/MainMenu.xib.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/resources/icon.icns.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/cocoa/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/ftp/Ftp.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/iOS/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/island/Island.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/island/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/island/stb_perlin.h.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/joystick/Joystick.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/joystick/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/opengl/OpenGL.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/opengl/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/pong/Pong.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/pong/resources/ball.wav.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/pong/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/shader/Shader.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/shader/resources/sansation.ttf.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/sound/resources/ding.flac.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/voip/Client.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/voip/Server.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/win32/Win32.cpp.gz
-rw-r--r--  root/root   /usr/share/doc/libsfml-dev/examples/window/Window.cpp.gz

Control files of package libsfml-audio2.5: lines which differ (wdiff format)

  • Depends: libc6 (>= 2.14), libflac8 (>= 1.3.0), libgcc-s1 (>= 3.0), libogg0 (>= 1.0rc3), libopenal1 (>= 1.14), libsfml-system2.5, libsfml-system2.5 (>= 2.5.1+dfsg), libstdc++6 (>= 5.2), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2)
  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-audio2.5-dbgsym: lines which differ (wdiff format)

  • Build-Ids: e7448033c402b2d39d274a35cc1e2790a5937a3b 8100c789f9982d3a998eb0f11e6ee74524c41a89

Control files of package libsfml-dev: lines which differ (wdiff format)

  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-doc: lines which differ (wdiff format)

  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-graphics2.5: lines which differ (wdiff format)

  • Depends: libc6 (>= 2.27), libfreetype6 (>= 2.2.1), libgcc-s1 (>= 3.0), libgl1, libsfml-system2.5, libsfml-window2.5, libsfml-system2.5 (>= 2.5.1+dfsg), libsfml-window2.5 (>= 2.5.1+dfsg), libstdc++6 (>= 5.2)
  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-graphics2.5-dbgsym: lines which differ (wdiff format)

  • Build-Ids: a4a31b1345e156f3f6e4100ef26f9c4e25e72231 480413d7c1a8dcf2d1938fc364d8e3e1d99006f7

Control files of package libsfml-network2.5: lines which differ (wdiff format)

  • Depends: libc6 (>= 2.15), libgcc-s1 (>= 3.0), libsfml-system2.5, libsfml-system2.5 (>= 2.5.1+dfsg), libstdc++6 (>= 5.2)
  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-network2.5-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 803c759eb49f4924647010f4d5856c97b24f1de6 2f66f14f833763acdd28a1ba5c6835342aeb45cd

Control files of package libsfml-system2.5: lines which differ (wdiff format)

  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-system2.5-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 9d80e254f812c03e07ed5d34dbad62553ecce58b 30b820fbcdef4fcc8cf0bcdab5a4efd03c7e070e

Control files of package libsfml-window2.5: lines which differ (wdiff format)

  • Depends: libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgl1, libsfml-system2.5, libsfml-system2.5 (>= 2.5.1+dfsg), libstdc++6 (>= 5.2), libudev1 (>= 183), libx11-6, libxrandr2 (>= 2:1.2.99.3)
  • Homepage: http://www.sfml-dev.org/ https://www.sfml-dev.org/

Control files of package libsfml-window2.5-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 24708ea3aa760246226b14f523d8a30d3abe01a2 b895da9a6b5d97ddea69b364492cd307bd5f7008

Run locally

Try this locally (using the lintian-brush package):

debcheckout libsfml
cd libsfml
lintian-brush

More details

Full run details