diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..689c2fe --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,6 @@ +mirage/ +.debhelper/ +debhelper-build-stamp +mirage.*.debhelper +mirage.substvars +files diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..830bcf9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,244 @@ +mirage (0.11.1-1) unstable; urgency=medium + + * New upstream release: + - Upgrade to Python3 (Closes: #937052) + - Upgrade to PyGObject (Closes: #885353) + - Fix translation initialization (Closes: #612216) + * debian/control: + - Update my email address + - Build-Depends: + - Require debhelper-compat = 13 + - Replace python-dev with python3-all-dev + - Remove cdbs, replaced with debhelper + - Remove quilt, not needed + - Remove python-gtk2-dev, no longer needed + - Add dh-sequence-python3 + - Add libx11-dev + - Add gettext + - Add libglib2.0-dev + - Depends: + - Replace ${python:Depends} with ${python3:Depends} + - Add python3-gi + - Replace python-gtk2 with gir1.2-gtk-3.0, python3-cairo and + python3-gi-cairo + - Replace python-pyexiv2 with gir1.2-gexiv2-0.10 + - Don't suggest menu (Closes: #647375) + - Update homepage for new upstream + - Add Vcs-Browser and Vcs-Git fields + - Add Rules-Requires-Root: no + * debian/patches: + - Remove halfSelected.patch, fixed upstream + - Remove desktop_entry_issue.patch, fixed upstream + - Remove remove_gimp_remote.patch, fixed upstream + - Remove save-exif.patch, fixed upstream + - Remove add-pixmap.patch, unused + - Remove empty patches directory + * debian/changelog: + - Add Upstream-Contact field + - Update for new release + * Remove debian/compat, replaced with debhelper-compat build-dependency + * Update to policy version 4.5.0 + * Update debian/watch for new upstream + * Remove debian/menu, package provides a FreeDesktop menu entry + * Remove debian/mirage.install, no longer used + * Remove debian/mirage.xpm, no longer used + * Remove post-install script, obsoleted by desktop-file-utils trigger + + -- Thomas Ross Sat, 06 Jun 2020 15:14:06 -0400 + +mirage (0.9.5.2-1) unstable; urgency=medium + + * New upstream release + * Save EXIF/XMP/IPTC data upon modification (Closes: #513025) + * Add an icon to the Debian menu + * debian/rules: + - Remove unnecessary line + - Improve hardening rules + * debian/control: + - Package adopted (Closes: #632989) + - Change priority from extra to optional + - Depend on python-pyexiv2 + + -- Thomas Ross Wed, 05 Aug 2015 22:19:28 -0400 + +mirage (0.9.5.1-5) unstable; urgency=medium + + * QA upload. + * debian/control: reorganized the Depends fields. + * debian/mirage.postinst: Fixed command exist checking. + + -- Lucas de Castro Borges Fri, 17 Jul 2015 01:39:21 -0300 + +mirage (0.9.5.1-4) unstable; urgency=low + + * QA upload. + * New upstream Homepage. (closes: #773997) + * DH level updated to 9. + * debian/control + - Bumped Standards-Version to 3.9.6. + - dh-python added as Build-Depends. + * debian/patches/desktop_entry_issue.patch. + - Added to avoid desktop-entry-lacks-keywords-entry. + * debian/copyright + - format updated to 1.0. + - License updated to GPL-3+. + * debian/mirage.postinst + - Changed to avoid command-with-path-in-maintainer-script. + * debian/pycompat: removed. + * debian/watch: updated. + + -- Lucas de Castro Borges Mon, 13 Jul 2015 00:37:11 -0300 + +mirage (0.9.5.1-3) unstable; urgency=medium + + * QA upload. + * Build using dh_python2 + + -- Matthias Klose Sun, 13 Jul 2014 15:43:46 +0000 + +mirage (0.9.5.1-2) unstable; urgency=low + + * QA upload. + * Maintainer field set to QA Group. + * Bump Standards-Version to 3.9.5. + * Remove debian/docs to avoid supplying CHANGELOG twice. + + -- Emanuele Rocca Tue, 11 Mar 2014 15:39:22 +0100 + +mirage (0.9.5.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Patch by Jakub Wilk to fix FTBFS with python 2.7 (closes: #628830). + + -- Julien Cristau Wed, 29 Jun 2011 17:53:19 +0200 + +mirage (0.9.5.1-1) unstable; urgency=low + + * New upstream release. + * Python 2.6 migration (Closes: #590361). + * Bump Stantards-Version to 3.9.1. + * Refresh halfSelected.patch and remove_gimp_remote.patch. + * Remove xdg_specification.patch, fixed upstream. + + -- Xavier Oswald Thu, 12 Aug 2010 09:20:30 +0200 + +mirage (0.9.3-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Update debian/control. + - Update python-dev of version from 2.5 to 2.6. + - Update XS-Python-Version from 2.5 to 2.6. + + -- Nobuhiro Iwamatsu Fri, 06 Aug 2010 08:59:39 +0900 + +mirage (0.9.3-5) unstable; urgency=low + + * Fix dh_pysupport call, so only python-support controlled files are + installed (Closes: #566038) + * Fix half-selected images (Closes: #536285). Thanks to Evgeni Golov patch + * Provide a mirage menu item (Closes: #550023) + * Add XDG base directory specification support (Closes: #535816). + Thanks to Jakub Wilk patch + * Add suggest gimp, imagemagick, menu (Closes: #535822) + * By default, Ctrl+E is bound to the gimp-remote-2.4 command, which is no + longer available in sid (Closes: #535817) + Thanks to Jakub Wilk patch + * Switch to dpkg-source 3.0 (quilt) format + * Bump Standards-Version to 3.8.4 + + -- Xavier Oswald Wed, 10 Feb 2010 00:29:30 +0100 + +mirage (0.9.3-4) unstable; urgency=low + + * Remove forgotten DM flag + * Support python transition (Closes: #532827) + * Remove uploaders Mike Massonet (Thanks Mike for your work) + + -- Xavier Oswald Fri, 12 Jun 2009 14:30:25 +0200 + +mirage (0.9.3-3) unstable; urgency=low + + * debian/control: + + Change my mail address + + Bump Standards-Version to 3.8.1 + + Update debhelper to 7 + + Remove DM flag + * Update debian/compat to 7 + * Remove twice README, TODO and CHANGELOG + * Fix lintian warnings: + W: mirage: desktop-mimetype-without-update-call + /usr/share/applications/mirage.desktop + W: mirage source: debhelper-but-no-misc-depends mirage + I: mirage: copyright-with-old-dh-make-debian-copyright + + -- Xavier Oswald Thu, 23 Apr 2009 00:43:54 +0200 + +mirage (0.9.3-2) unstable; urgency=low + + * Update debian policy to 3.8.0 + * Add XS-Python-Version: current (Closes: #484701) + * Add dh_installchangelogs + + -- Xavier Oswald Mon, 16 Jun 2008 11:35:12 +0200 + +mirage (0.9.3-1) unstable; urgency=low + + [ Xavier Oswald ] + * Remove quilt from Build-Depends + * Remove leftover .pc/.version + + [ Mike Massonnet ] + * New upstream release + * Bump Python version to 2.5 + * Add DM-Upload-Allowed: flag + * Install upstream changelog file + * Drop patch for desktop entry file (fixed upstream) + + -- Xavier Oswald Thu, 05 Jun 2008 12:48:37 +0200 + +mirage (0.9.2-2) unstable; urgency=low + + [ Mike Massonnet ] + * Replace python-central against python-support and go for cdbs + + -- Mike Massonnet (mmassonnet) Wed, 12 Mar 2008 01:28:47 +0100 + +mirage (0.9.2-1) unstable; urgency=low + + [ Xavier Oswald ] + * New upstream release + * Update debian policy to 3.7.3 + * Add watch file (Closes: #463174) + * Remove mirage.desktop patch, fixed upstream + * Add Homepage field in the control file + + [ Mike Massonnet ] + * Refined the description + * Fixed manpage + * Add Build-dep: quilt to patch the errors reported by desktop-file-validate + + -- Xavier Oswald Wed, 20 Feb 2008 08:19:57 +0100 + +mirage (0.9-1) unstable; urgency=low + + * New upstream release + * Use desktop.patch to fix mirage.desktop policy + * Update copyright from GPLv2 to GPLv3 + * EXIF tags saved after rotating an image (Closes: #415208) + + -- Xavier Oswald Mon, 29 Oct 2007 10:40:10 +0100 + +mirage (0.8.3-1) unstable; urgency=low + + * New upstream release + * Use "*" for the long description (Closes: #410664) + + -- Xavier Oswald Mon, 12 Feb 2007 20:46:28 +0100 + +mirage (0.8.2-1) unstable; urgency=low + + * Initial release (Closes: #381523) + * Clean debian/rules + * Solve the lintian warning about the license + + -- Xavier Oswald Mon, 15 Jan 2007 13:56:20 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c7d58c3 --- /dev/null +++ b/debian/control @@ -0,0 +1,39 @@ +Source: mirage +Section: graphics +Priority: optional +Maintainer: Thomas Ross +Build-Depends: debhelper-compat (= 13), + python3-all-dev, + dh-sequence-python3, + libglib2.0-dev, + gettext, + libx11-dev +Rules-Requires-Root: no +Standards-Version: 4.5.0 +Homepage: https://gitlab.com/thomasross/mirage +Vcs-Browser: https://salsa.debian.org/thomasross/mirage +Vcs-Git: https://salsa.debian.org/thomasross/mirage.git + +Package: mirage +Architecture: any +Depends: ${shlibs:Depends}, + ${python3:Depends}, + ${misc:Depends}, + python3-gi, + python3-cairo, + python3-gi-cairo, + gir1.2-gtk-3.0, + gir1.2-gexiv2-0.10 +Suggests: gimp, imagemagick +Description: fast and simple GTK+ image viewer + Mirage is ideal for users who wish to keep their computers + lean while still having a clean image viewer. + . + Features: + * Supports png, jpg, svg, xpm, gif, bmp, tiff, and others + * Preloading to navigate faster through images (optional) + * Thumbnail pane for quick navigation + * Slideshow and fullscreen mode + * Rotating, zooming, flipping, resizing, and cropping + * Custom user actions + * Screenshot diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..bc50a25 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,52 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mirage +Upstream-Contact: https://gitlab.com/thomasross/mirage/ +Source: https://gitlab.com/thomasross/mirage + +Files: * +Copyright: 2007 Scott Horowitz + 2020 Thomas Ross +License: GPL-3+ + +Files: po/* +Copyright: 2006 Björn Martensen + 2006 Isidro Arribas + 2006 Roxana Kolosova + 2006 Tomasz Dominikowski + 2007 Mike Massonnet + 2007 Scott Horowitz + 2008 Danilo Martins + 2008 Jayden Suen + 2008 Lisovszki + 2008 Petr Pisar + 2010 Pascal De Vuyst + 2020 Åke Engelbrektson +License: GPL-3+ + +Files: debian/* +Copyright: 2007-2010 Xavier Oswald + 2008 Mike Massonnet (mmassonnet) + 2010 Nobuhiro Iwamatsu + 2011 Julien Cristau + 2014 Emanuele Rocca + 2014 Matthias Klose + 2015 Lucas de Castro Borges + 2015-2020 Thomas Ross +License: GPL-3+ + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/debian/mirage.1 b/debian/mirage.1 new file mode 100644 index 0000000..2603487 --- /dev/null +++ b/debian/mirage.1 @@ -0,0 +1,42 @@ +.TH MIRAGE 1 "January 15, 2007" +.SH NAME +mirage \- A fast and simple GTK+ Image Viewer +.SH SYNOPSIS +.B mirage +[\fIOPTION\fR]... [\fIFILES\fR|\fIFOLDERS\fR]... +.SH DESCRIPTION +Mirage is a fast and simple GTK+ Image Viewer. +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +Show this help and exit +.TP +\fB\-v\fR, \fB\-\-version\fR +Show version information and exit +.TP +\fB\-V\fR, \fB\-\-verbose\fR +Show more detailed information +.TP +\fB\-R\fR, \fB\-\-recursive\fR +Recursively include all images found +in subdirectories of FOLDERS +.TP +\fB\-s\fR, \fB\-\-slideshow\fR +Start in slideshow mode +.TP +\fB\-f\fR, \fB\-\-fullscreen\fR +Start in fullscreen mode +.TP +\fB\-o\fR, \fB\-\-onload 'cmd'\fR +Execute 'cmd' when an image is loaded +(uses same syntax as custom actions, +i.e. mirage \-o \(aqecho file is %F\(aq) +.SH "SEE ALSO" +.PP +Website: http://mirageiv.berlios.de +.SH AUTHOR +Mirage was written by Scott Horowitz . + +.PP +This manual page was written by Mike Massonnet , +for the Debian project (but may be used by others). diff --git a/debian/mirage.manpages b/debian/mirage.manpages new file mode 100644 index 0000000..a088a6b --- /dev/null +++ b/debian/mirage.manpages @@ -0,0 +1 @@ +debian/mirage.1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..18bed59 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +export DH_VERBOSE = 1 + +export PYBUILD_NAME=mirage +export PYBUILD_DISABLE=test + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh "$@" --with python3 --buildsystem=pybuild + +override_dh_installchangelogs: + dh_installchangelogs CHANGELOG + +execute_after_dh_python3: + rm -f debian/mirage/usr/share/mirage/COPYING + rm -f debian/mirage/usr/share/mirage/README + rm -f debian/mirage/usr/share/mirage/TODO + rm -f debian/mirage/usr/share/mirage/CHANGELOG + rm -f debian/mirage/usr/share/mirage/TRANSLATORS diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..d9c6895 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.*\/archive\/(\d\S+)\/mirage.*\.tar\.gz/mirage-$1\.tar\.gz/g \ + https://gitlab.com/thomasross/mirage/-/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*