Commit bea5c9e64522173a60a93017cd6ea301c5e44bb0

Authored by Ben Finney
2 parents 183913ea 43d06570

Merge Debian packaging for release “0.9-2”.

* packaging:
  Finalise Debian release “0.9-2”.
  Set release parameters.
  Declare “Standards-Version: 4.0.1”.
  Update UScan configuration for upstream source URLs.
  Add build targets recommended by Debian Policy §4.9.
  Specify current VCS for Debian packaging work.
  Update copyright years.
  Use current HTTPS URL for copyright format reference.
debian/changelog
  1 +comixcursors (0.9-2) unstable; urgency=medium
  2 +
  3 + * The “Ishrat Akhond” release.
  4 + * Use current HTTPS URL for copyright format reference.
  5 + * Update copyright years.
  6 + * Specify current VCS for Debian packaging work.
  7 + * Add build targets recommended by Debian Policy §4.9.
  8 + * Update UScan configuration for upstream source URLs.
  9 + * Declare “Standards-Version: 4.0.1”. No additional changes required.
  10 +
  11 + -- Ben Finney <bignose@debian.org> Sat, 26 Aug 2017 04:03:25 +1000
  12 +
1 13 comixcursors (0.9-1) unstable; urgency=medium
2 14  
3 15 * The “Zainullah Naseri” release.
... ...
debian/control
... ... @@ -8,10 +8,10 @@ Build-Depends:
8 8 imagemagick,
9 9 x11-apps,
10 10 debhelper (>= 9)
11   -Standards-Version: 3.9.8
  11 +Standards-Version: 4.0.1
12 12 Homepage: https://gitlab.com/limitland/comixcursors/
13   -VCS-Git: https://notabug.org/bignose/debian_comixcursors.git
14   -VCS-Browser: https://notabug.org/bignose/debian_comixcursors/
  13 +VCS-Git: https://anonscm.debian.org/git/users/bignose/debian-full/comixcursors.git
  14 +VCS-Browser: https://anonscm.debian.org/git/users/bignose/debian-full/comixcursors.git
15 15  
16 16 Package: comixcursors-righthanded
17 17 Architecture: all
... ...
debian/copyright
1   -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  1 +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 2 Upstream-Name: ComixCursors
3 3 Upstream-Contact: Jens Luetkens <j.luetkens@limitland.de>
4 4 Source: https://gitlab.com/limitland/comixcursors
... ... @@ -38,7 +38,7 @@ License-Grant:
38 38  
39 39 Files: debian/*
40 40 Copyright:
41   - © 2009–2016 Ben Finney <bignose@debian.org>
  41 + © 2009–2017 Ben Finney <bignose@debian.org>
42 42 © 2005–2008 Sune Vuorela <debian@pusling.com>
43 43 License: GPL-3+
44 44 License-Grant:
... ... @@ -46,6 +46,7 @@ License-Grant:
46 46 under the terms of the GNU General Public License, version 3 or later.
47 47 No warranty expressed or implied.
48 48  
  49 +
49 50 License: GPL-3+
50 51 On Debian systems, the complete text of version 3 of the GNU General
51 52 Public License can be found in ‘/usr/share/common-licenses/GPL-3’.
... ...
debian/rules
... ... @@ -3,7 +3,7 @@
3 3 # debian/rules
4 4 # Part of Debian ‘comixcursors’ package.
5 5 #
6   -# Copyright © 2010–2016 Ben Finney <bignose@debian.org>
  6 +# Copyright © 2010–2017 Ben Finney <bignose@debian.org>
7 7 # This is free software; you may copy, modify and/or distribute this work
8 8 # under the terms of the GNU General Public License, version 3 or later.
9 9 # No warranty expressed or implied.
... ... @@ -92,6 +92,34 @@ override_dh_auto_clean:
92 92 make clean
93 93  
94 94  
  95 +.PHONY: get-packaged-orig-source
  96 +get-packaged-orig-source:
  97 + $(uscan-download-source) --download-current-version
  98 +
  99 +# Policy §4.9 strongly recommends the ‘get-orig-source’ target:
  100 +# “This target is optional, but providing it if possible is a good idea.”
  101 +#
  102 +# This target is an anomaly: per Policy §4.9, it fetches the *latest*
  103 +# upstream source, regardless of this package's version. To fetch the
  104 +# upstream source corresponding to this package's *declared* version
  105 +# in ‘debian/changelog’, use ‘get-packaged-orig-source’ instead.
  106 +.PHONY: get-orig-source
  107 +get-orig-source:
  108 + $(uscan-download-source)
  109 +
  110 +get-orig-source get-packaged-orig-source: http_proxy =
  111 +get-orig-source get-packaged-orig-source: makefile_dir = $(abspath $(dir $(firstword ${MAKEFILE_LIST})))
  112 +get-orig-source get-packaged-orig-source: package_dir = $(abspath $(dir ${makefile_dir}))
  113 +
  114 +define uscan-download-source
  115 + uscan --noconf --verbose \
  116 + --force-download \
  117 + --rename \
  118 + --destdir=$(CURDIR) \
  119 + --check-dirname-level=0 ${package_dir}
  120 +endef # uscan-download-source
  121 +
  122 +
95 123 .PHONY: override_dh_auto_build
96 124 override_dh_auto_build:
97 125 # Skip auto-detection of build tool.
... ...
debian/watch
... ... @@ -6,9 +6,9 @@
6 6 version = 4
7 7  
8 8 # Source tarball from Jens Luetkens's repository.
9   -opts="filenamemangle=s/.*archive\.tar\.bz2\?ref=v?(\d\S*)$/comixcursors-$1\.tar\.bz2/g" \
10   - https://gitlab.com/limitland/comixcursors/tags \
11   - .*/archive\.tar\.bz2\?ref=v?(\d\S+) \
  9 +opts = "filenamemangle=s%^.+/@ANY_VERSION@/archive\.%comixcursors-$1\.%g" \
  10 + https://gitlab.com/limitland/@PACKAGE@/tags \
  11 + /limitland/@PACKAGE@/repository/@ANY_VERSION@/archive@ARCHIVE_EXT@ \
12 12 debian uupdate
13 13  
14 14  
... ...
debian/wrap-cursor-themes
... ... @@ -2,7 +2,7 @@
2 2 #
3 3 # debian/wrap-cursor-themes
4 4 #
5   -# Copyright © 2010–2016 Ben Finney <bignose@debian.org>
  5 +# Copyright © 2010–2017 Ben Finney <bignose@debian.org>
6 6 # Copyright © 2005–2008 Sune Vuorela <debian@pusling.com>
7 7 #
8 8 # This is free software; you may copy, modify, and/or distribute this work
... ...