...
 
Commits (5)
gupnp (1.0.3-3) unstable; urgency=medium
* Cherry-pick binding-tool-Make-shebang-python3.patch:
- Update shebang from python2 to python3
* Use dh_python3 to rewrite python shebang
* Add -Wl,-O1 to our LDFLAGS
* Bump Standards-Version to 4.3.0
-- Jeremy Bicha <jbicha@debian.org> Wed, 26 Dec 2018 06:08:21 -0500
gupnp (1.0.3-2) unstable; urgency=medium
* debian/control.in:
......
......@@ -8,6 +8,7 @@ Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Jeremy Bicha <jbicha@debian.org>
Build-Depends: debhelper (>= 11),
dh-python,
gnome-pkg-tools,
ca-certificates <!nocheck>,
uuid-dev,
......@@ -15,6 +16,7 @@ Build-Depends: debhelper (>= 11),
libsoup2.4-dev (>= 2.48.0),
libxml2-dev,
libgssdp-1.0-dev (>= 0.14.15),
python3,
valac (>= 0.14.0),
shared-mime-info,
gtk-doc-tools,
......@@ -23,7 +25,7 @@ Build-Depends: debhelper (>= 11),
docbook-xsl (>= 1.75.2+dfsg-5),
gobject-introspection (>= 0.9.12-4~),
libgirepository1.0-dev (>= 0.10.7-1~)
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/gnome-team/gupnp
Vcs-Git: https://salsa.debian.org/gnome-team/gupnp.git
Homepage: https://wiki.gnome.org/Projects/GUPnP
......@@ -61,8 +63,8 @@ Depends: libgupnp-1.0-4 (= ${binary:Version}),
libsoup2.4-dev,
libxml2-dev,
uuid-dev,
${misc:Depends}
Recommends: python
${misc:Depends},
${python3:Depends}
Suggests: libgupnp-doc
Replaces: gir-repository-dev (<= 0.6.5-5), gupnp-vala (<< 0.10.5)
Breaks: gir-repository-dev (<= 0.6.5-5), gupnp-vala (<< 0.10.5)
......
......@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: debhelper (>= 11),
dh-python,
gnome-pkg-tools,
ca-certificates <!nocheck>,
uuid-dev,
......@@ -11,6 +12,7 @@ Build-Depends: debhelper (>= 11),
libsoup2.4-dev (>= 2.48.0),
libxml2-dev,
libgssdp-1.0-dev (>= 0.14.15),
python3,
valac (>= 0.14.0),
shared-mime-info,
gtk-doc-tools,
......@@ -19,7 +21,7 @@ Build-Depends: debhelper (>= 11),
docbook-xsl (>= 1.75.2+dfsg-5),
gobject-introspection (>= 0.9.12-4~),
libgirepository1.0-dev (>= 0.10.7-1~)
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/gnome-team/gupnp
Vcs-Git: https://salsa.debian.org/gnome-team/gupnp.git
Homepage: https://wiki.gnome.org/Projects/GUPnP
......@@ -57,8 +59,8 @@ Depends: libgupnp-1.0-4 (= ${binary:Version}),
libsoup2.4-dev,
libxml2-dev,
uuid-dev,
${misc:Depends}
Recommends: python
${misc:Depends},
${python3:Depends}
Suggests: libgupnp-doc
Replaces: gir-repository-dev (<= 0.6.5-5), gupnp-vala (<< 0.10.5)
Breaks: gir-repository-dev (<= 0.6.5-5), gupnp-vala (<< 0.10.5)
......
From: Jens Georg <mail@jensge.org>
Date: Wed, 26 Dec 2018 07:44:47 +0100
Subject: binding-tool: Make shebang python3
Fixes #1
---
tools/gupnp-binding-tool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/gupnp-binding-tool b/tools/gupnp-binding-tool
index b6a5e70..b356e6a 100755
--- a/tools/gupnp-binding-tool
+++ b/tools/gupnp-binding-tool
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright (C) 2008 OpenedHand Ltd
# Copyright (C) 2008 Intel Corporation
disable-multicast-tests.patch
binding-tool-Make-shebang-python3.patch
#! /usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
# Needed for testsuite
export XDG_RUNTIME_DIR = $(CURDIR)/debian/tmp/tmp-xdgruntimedir
......@@ -13,7 +13,7 @@ CONFFLAGS = --with-context-manager=unix
endif
%:
dh $@ --with gnome,gir
dh $@ --with gnome,gir,python3
override_dh_auto_configure:
dh_auto_configure -- --enable-gtk-doc $(CONFFLAGS)
......@@ -33,7 +33,10 @@ override_dh_installman:
override_dh_install:
find debian/tmp -name '*.la' -print -delete
dh_install --fail-missing
dh_install
override_dh_missing:
dh_missing --fail-missing
override_dh_compress:
dh_compress -Xexamples