Lintian Fixes - autorenamer

Recent merge proposals

Ready changes

Merge these changes:

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

Summary

Diff

=== added directory 'debian'
=== added file 'debian/autorenamer.docs'
--- a/debian/autorenamer.docs	1970-01-01 00:00:00 +0000
+++ b/debian/autorenamer.docs	2011-11-27 17:46:36 +0000
@@ -0,0 +1,1 @@
+README

=== added file 'debian/autorenamer.links'
--- a/debian/autorenamer.links	1970-01-01 00:00:00 +0000
+++ b/debian/autorenamer.links	2016-03-02 17:43:38 +0000
@@ -0,0 +1,1 @@
+/usr/share/autorenamer/autorenamer.py /usr/bin/autorenamer

=== added file 'debian/autorenamer.manpages'
--- a/debian/autorenamer.manpages	1970-01-01 00:00:00 +0000
+++ b/debian/autorenamer.manpages	2011-11-27 17:46:36 +0000
@@ -0,0 +1,1 @@
+autorenamer.1

=== added file 'debian/changelog'
--- a/debian/changelog	1970-01-01 00:00:00 +0000
+++ b/debian/changelog	2020-08-30 17:41:32 +0000
@@ -0,0 +1,70 @@
+autorenamer (0.5-2) UNRELEASED; urgency=medium
+
+  * Use versioned copyright format URI.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit.
+  * Update standards version to 4.4.1, no changes needed.
+  * Update standards version to 4.5.0, no changes needed.
+  * Use secure URI in Homepage field.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 31 Jan 2020 06:15:57 +0000
+
+autorenamer (0.5-1) unstable; urgency=medium
+
+  [Marcin Owsiany]
+
+  * New upstream version.
+    - uses Python 3 (Closes: #936171)
+  * Bumped standards-version to 4.4.0
+    - changed priority to optional from extra
+    - got rid of the menu file
+  * Declared source format
+  * Switched to debhelper compat level 10, updated build-deps
+  * Switched depends and build-depends to Python 3
+  * Changed to pybuild buildsystem, moved flags to PYBUILD_INSTALL_ARGS
+
+  [Jelmer Vernooń≥]
+
+  * Use secure URI in Vcs-Git control header.
+
+ -- Marcin Owsiany <porridge@debian.org>  Tue, 10 Sep 2019 22:41:37 +0200
+
+autorenamer (0.4-1) unstable; urgency=medium
+
+  * New upstream version:
+    - [d5be76c] Port to GTK3 and redo thumbnail creation.
+    - [46d28aa] Update copyright year.
+    - [f61babb] Some reordering.
+    - [beb5c87] Disable "Toggle dirs" button if none are present.
+    - [6d28dce] Add a randomization function.
+    - [dbbf658] Fix dialog popup.
+    - [ee56909] Fix "Toggle directories".
+    - [ef8977c] Replace makefile with a setup script.
+  * Use dh_python2.
+  * Updated description, dependencies, Standards-Version, copyright years and
+    Vcs URL.
+
+ -- Marcin Owsiany <porridge@debian.org>  Wed, 02 Mar 2016 17:23:22 +0100
+
+autorenamer (0.3-1) unstable; urgency=low
+
+  * New upstream version.
+    - [1fbe5cd] Confirm closing window when there are unsaved changes.
+  * [86089b3] Added a homepage field.
+
+ -- Marcin Owsiany <porridge@debian.org>  Sat, 07 Jul 2012 08:19:13 +0100
+
+autorenamer (0.2-1) unstable; urgency=low
+
+  * New upstream version. Notable changes:
+    - [af90f14] The initial directory is the working directory.
+    - Make it possible to constrain renames by selecting entries.
+
+ -- Marcin Owsiany <porridge@debian.org>  Wed, 11 Jan 2012 22:40:24 +0000
+
+autorenamer (0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #650200)
+
+ -- Marcin Owsiany <porridge@debian.org>  Sun, 27 Nov 2011 17:43:38 +0000

=== added file 'debian/control'
--- a/debian/control	1970-01-01 00:00:00 +0000
+++ b/debian/control	2020-08-30 17:41:32 +0000
@@ -0,0 +1,23 @@
+Source: autorenamer
+Section: utils
+Priority: optional
+Maintainer: Marcin Owsiany <porridge@debian.org>
+Build-Depends: debhelper-compat (= 12), python3, dh-python
+Standards-Version: 4.5.0
+Vcs-Browser: https://github.com/porridge/autorenamer
+Vcs-Git: https://github.com/porridge/autorenamer.git -b debian
+Homepage: https://marcin.owsiany.pl/autorenamer-page
+
+Package: autorenamer
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, gir1.2-gtk-3.0, gir1.2-gdkpixbuf-2.0, gir1.2-glib-2.0
+Description: program to rename files to make them sort in given order
+ This is a simple graphical program that lets you reorder the files using
+ drag-and-drop and then changes the names of the files such that their
+ alphabetical sorting matches the ordering you chose. You can also shuffle
+ the files.
+ .
+ Currently the renaming consists of prepending each filename with a short
+ number.
+ .
+ The program displays thumbnails of files using GNOME libraries.

=== added file 'debian/copyright'
--- a/debian/copyright	1970-01-01 00:00:00 +0000
+++ b/debian/copyright	2020-02-01 06:42:54 +0000
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: autorenamer
+Upstream-Contact: Marcin Owsiany <marcin@owsiany.pl>
+Source: https://github.com/porridge/autorenamer
+
+Files: *
+Copyright: 2011-2016, Marcin Owsiany <marcin@owsiany.pl>
+License: BSD-3-Clause
+
+Files: autorenamer.py
+Copyright: 2011-2016, Marcin Owsiany <marcin@owsiany.pl>
+           2007-2009, Jan Bodnar
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  3. Neither the name of the Authors nor the names of its contributors
+     may be used to endorse or promote products derived from this software
+     without specific prior written permission.
+  .
+  THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
+  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
+  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+  SUCH DAMAGE.

=== added file 'debian/gbp.conf'
--- a/debian/gbp.conf	1970-01-01 00:00:00 +0000
+++ b/debian/gbp.conf	2011-11-27 17:48:51 +0000
@@ -0,0 +1,7 @@
+# autorenamer configuration file for git-buildpackage and friends
+[DEFAULT]
+upstream-branch=master
+debian-branch=debian 
+[git-dch]
+id-length=7
+meta=True

=== added file 'debian/rules'
--- a/debian/rules	1970-01-01 00:00:00 +0000
+++ b/debian/rules	2019-09-10 20:42:08 +0000
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+export DH_VERBOSE=1
+export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/autorenamer --install-scripts=/usr/share/autorenamer
+%:
+	dh $@ --with=python3 --buildsystem=pybuild

=== added directory 'debian/source'
=== added file 'debian/source/format'
--- a/debian/source/format	1970-01-01 00:00:00 +0000
+++ b/debian/source/format	2019-09-10 20:42:08 +0000
@@ -0,0 +1,1 @@
+3.0 (quilt)

=== 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-02-01 06:42:54 +0000
@@ -0,0 +1,2 @@
+Bug-Database: https://github.com/porridge/autorenamer/issues
+Bug-Submit: https://github.com/porridge/autorenamer/issues/new

Run locally

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

debcheckout autorenamer
cd autorenamer
lintian-brush

More details

Full run details