diff --git a/debian/changelog b/debian/changelog
index e5ab8b5..ec5ebf6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -923,7 +923,7 @@ libgd2 (2.0.33-1.1) unstable; urgency=high
* Non-maintainer upload with permission from Jonas
* Apply patch to close security hole CAN-2004-0941
- -- Steve Kemp <skx@debian.org> Thur, 3 Dec 2004 19:09:54 +0000
+ -- Steve Kemp <skx@debian.org> Fri, 03 Dec 2004 19:09:54 +0000
libgd2 (2.0.33-1) unstable; urgency=low
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 4379243..2737e06 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: graphics
Priority: optional
Maintainer: GD Team <team+gd@tracker.debian.org>
Uploaders: Ondřej Surý <ondrej@debian.org>
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper-compat (= 13),
libavif-dev | base-files (<< 11.1~),
libfontconfig-dev,
libfreetype-dev | libfreetype6-dev,
@@ -18,7 +18,7 @@ Build-Depends: debhelper (>= 10),
Vcs-Git: https://salsa.debian.org/debian/libgd2.git
Vcs-Browser: https://salsa.debian.org/debian/libgd2
Standards-Version: 3.9.3
-Homepage: http://www.libgd.org/
+Homepage: https://www.libgd.org/
Package: libgd-tools
Architecture: any
diff --git a/debian/copyright b/debian/copyright
index 926e5d3..d8cde9d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: GD
Upstream-Contact: Pierre-Alain Joye <pierre@libgd.org>
Source: http://www.libgd.org/releases/
@@ -44,7 +44,7 @@ License: MIT
Files: src/gd_wbmp.c
Copyright: 2000, Maurice Szmurlo <Maurice.Szmurlo@info.unicaen.fr>
- ????, Johan Van den Brande <johan@vandenbrande.com>
+ ????, Johan Van den Brande <johan@vandenbrande.com>
License: HPND
Files: src/gd_gif_out.c
@@ -53,8 +53,8 @@ License: HPND
Files: src/gd_nnquant.c
Copyright: 1994, Anthony Dekker
- 2004-2007, Stuart Coyle
- 2013, Pierre A. Joye
+ 2004-2007, Stuart Coyle
+ 2013, Pierre A. Joye
License: XFIG
Files: src/webpimg.c src/webpimg.h
@@ -72,9 +72,9 @@ Files: cmake/modules/CheckDIRSymbolExists.cmake
cmake/modules/FindVPX.cmake
cmake/modules/FindXPM.cmake
Copyright: 2002-2013, Kitware, Inc., Insight Consortium
- 2010 Alexander Neundorf
- 2013 Pierre A. Joye
- 2006,2007 Laurent Montel
+ 2010 Alexander Neundorf
+ 2013 Pierre A. Joye
+ 2006,2007 Laurent Montel
License: BSD-3-clause
Files: cmake/modules/FindPTHREAD.cmake
@@ -89,8 +89,8 @@ License: GPL-2+
Files: debian/*
Copyright: 2001, Ivo Timmermans <ivo@debian.org>
- 2002-2010, Jonas Smedegaard <dr@jones.dk>
- 2013, Ondřej Surý <ondrej@debian.org>
+ 2002-2010, Jonas Smedegaard <dr@jones.dk>
+ 2013, Ondřej Surý <ondrej@debian.org>
License: GPL-2+
License: GPL-2+
diff --git a/debian/rules b/debian/rules
index 4425a4f..bcd12dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
@@ -29,7 +27,7 @@ CONFIGURE_HEIF := --with-heif=/usr
endif
%:
- dh $@ --with autoreconf
+ dh $@
override_dh_autoreconf:
dh_autoreconf --as-needed
@@ -43,7 +41,7 @@ override_dh_auto_configure:
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
override_dh_install:
- dh_install --fail-missing -Xlibgd.la -Xgdlib-config
+ dh_install -Xlibgd.la -Xgdlib-config
override_dh_strip:
dh_strip -O--dbgsym-migration='libgd-dbg (<< 2.2.3-87-gd0fec80-1)'
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..7d017c2
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://github.com/libgd/libgd/issues
+Repository-Browse: https://github.com/libgd/libgd