Add native debian packaging

This commit is contained in:
Eugene San (eugenesan) 2016-06-22 12:58:02 -04:00
parent 5d4bf175ac
commit 470a417c46
9 changed files with 368 additions and 0 deletions

6
.gitignore vendored
View File

@ -19,3 +19,9 @@ cocoa/autogen
/qt/*_rc.py
/help/*/conf.py
/help/*/changelog.rst
debian/dupeguru
debian/files
debian/*.log
debian/*-stamp
debian/*.substvars

319
debian/changelog vendored Normal file
View File

@ -0,0 +1,319 @@
dupeguru (4.0.0-0) xenial; urgency=medium
* New upstream release (20160610)
- Merge Standard, Music and Picture editions in the same application!
- Improve documentation. (#294)
- Add Polish, Korean, Spanish and Dutch localizations.
- qt: Fix wrong use_regexp option propagation to core. (#295)
- qt: Fix progress window mistakenly showing up on startup. (#357)
- Bump Python requirement to v3.4.
- Drop Windows support, maybe temporarily.
`Details <https://www.hardcoded.net/archive2015#2015-11-01>`_
- cocoa: Drop iPhoto, Aperture and iTunes support. Was unmaintained and obsolete.
- Drop "Audio Contents" scan type. Was confusing and seldom useful.
- Change license to GPLv3
* Rename the package to reflect dupeguru editions unification/merge
* Remove all patches as they are included in release
* Update debian/control:
- Update Standards-Version
- Replace all dupeguru editions with this one
-- Eugene San (eugenesan) <eugenesan@gmail.com> Wed, 22 Jun 2016 10:17:55 -0400
dupeguru-se (3.9.1-0~eugenesan~xenial3) xenial; urgency=medium
* Import into PPA
* Build from upstream soure tarball
* Add patches to fix ProgressDialog on start
-- Eugene San (eugenesan) <eugenesan@gmail.com> Sat, 26 Mar 2016 20:51:38 -0400
dupeguru-se (3.9.1~trusty) trusty; urgency=low
* Fixed ``AttributeError: 'ComboboxModel' object has no attribute 'reset'``. [Linux, Windows] (#254)
* Fixed ``PermissionError`` on saving results. (#266)
* Fixed a build problem introduced by Sphinx 1.2.3.
* Updated German localisation, by Frank Weber.
-- Virgil Dupras <hsoft@hardcoded.net> Fri, 17 Oct 2014 00:00:00 +0000
dupeguru-se (3.9.0~trusty) trusty; urgency=low
* This is mostly a dependencies upgrade.
* Upgraded to Python 3.3.
* Upgraded to Qt 5.
* Minimum Windows version is now Windows 7 64bit.
* Minimum Ubuntu version is now 14.04.
* Minimum OS X version is now 10.7 (Lion).
* ... But with a couple of little improvements.
* Improved documentation.
* Overwrite subfolders' state when setting states in folder dialog (#248)
* The error report dialog now brings the user to Github issues.
-- Virgil Dupras <hsoft@hardcoded.net> Sat, 19 Apr 2014 00:00:00 +0000
dupeguru-se (3.8.0~trusty) trusty; urgency=low
* Disable symlink/hardlink deletion option when not relevant. (#247)
* Make Cmd+A select all folders in the Folder Selection dialog. [Mac] (#228)
* Make non-numeric delta comparison case insensitive. (#239)
* Fix surrogate-related UnicodeEncodeError on CSV export. (#210)
* Fixed crash on Dupe Count sorting with Delta + Dupes Only. (#238)
* Improved documentation.
* Important internal refactorings.
* Dropped Ubuntu 12.04 and 12.10 support.
* Removed the fairware dialog ([More Info](http://www.hardcoded.net/articles/phasing-out-fairware)).
-- Virgil Dupras <hsoft@hardcoded.net> Sat, 07 Dec 2013 00:00:00 +0000
dupeguru-se (3.7.1~trusty) trusty; urgency=low
* Fixed folder scan type, which was broken in v3.7.0.
-- Virgil Dupras <hsoft@hardcoded.net> Mon, 19 Aug 2013 00:00:00 +0000
dupeguru-se (3.7.0~trusty) trusty; urgency=low
* Improved delta values to support non-numerical values. (#213)
* Improved the Re-Prioritize dialog's UI. (#224)
* Added hardlink/symlink support on Windows Vista+. (#220)
* Dropped 32bit support on Mac OS X.
* Added Vietnamese localization by Phan Anh.
-- Virgil Dupras <hsoft@hardcoded.net> Sat, 17 Aug 2013 00:00:00 +0000
dupeguru-se (3.6.1~trusty) trusty; urgency=low
* Improved "Make Selection Reference" to make it clearer. (#222)
* Improved "Open Selected" to allow opening more than one file at once. (#142)
* Fixed a few typos here and there. (#216 #225)
* Tweaked the fairware dialog ([More Info](http://www.hardcoded.net/articles/phasing-out-fairware)).
* Added Arch Linux packaging
* Added a 64-bit build for Windows.
* Improved Russian localization by Kyrill Detinov.
* Improved Brazilian localization by Victor Figueiredo.
-- Virgil Dupras <hsoft@hardcoded.net> Sun, 28 Apr 2013 00:00:00 +0000
dupeguru-se (3.6.0~trusty) trusty; urgency=low
* Added "Export to CSV". (#189)
* Added "Replace with symlinks" to complement "Replace with hardlinks". [Mac, Linux] (#194)
* dupeGuru now tells how many duplicates were affected after each re-prioritization operation. (#204)
* Added Longest/Shortest filename criteria in the re-prioritize dialog. (#198)
* Fixed result table cells which mistakenly became writable in v3.5.0. [Mac] (#203)
* Fixed "Rename Selected" which was broken since v3.5.0. [Mac] (#202)
* Fixed a bug where "Reset to Defaults" in the Columns menu wouldn't refresh menu items' marked state.
* Added Brazilian localization by Victor Figueiredo.
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 08 Aug 2012 00:00:00 +0000
dupeguru-se (3.5.0~trusty) trusty; urgency=low
* Added a Deletion Options panel.
* Greatly improved memory usage for big scans.
* Added a keybinding for the filter field. (#182) [Mac]
* Upgraded minimum requirements for Ubuntu to 12.04.
-- Virgil Dupras <hsoft@hardcoded.net> Fri, 01 Jun 2012 00:00:00 +0000
dupeguru-se (3.4.1~trusty) trusty; urgency=low
* Fixed the "Folders" scan type. [Mac]
* Fixed localization issues. [Windows, Linux]
-- Virgil Dupras <hsoft@hardcoded.net> Sat, 14 Apr 2012 00:00:00 +0000
dupeguru-se (3.4.0~trusty) trusty; urgency=low
* Improved results window UI. [Windows, Linux]
* Added a dialog to edit the Ignore List.
* Added the ability to sort results by "marked" status.
* Fixed "Open with default application". (#190)
* Fixed a bug where there would be a false reporting of discarded matches. (#195)
* Fixed various localization glitches.
* Fixed hard crashes on crash reporting. (#196)
* Fixed bug where the details panel would show up at inconvenient places in the screen. [Windows, Linux]
-- Virgil Dupras <hsoft@hardcoded.net> Thu, 29 Mar 2012 00:00:00 +0000
dupeguru-se (3.3.3~trusty) trusty; urgency=low
* Fixed crash on adding some folders. [Mac OS X]
* Added Ukrainian localization by Yuri Petrashko.
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 01 Feb 2012 00:00:00 +0000
dupeguru-se (3.3.2~trusty) trusty; urgency=low
* Fixed random hard crashes (yeah, again). [Mac OS X]
* Fixed crash on Export to HTML. [Windows, Linux]
* Added Armenian localization by Hrant Ohanyan.
* Added Russian localization by Igor Pavlov.
-- Virgil Dupras <hsoft@hardcoded.net> Mon, 16 Jan 2012 00:00:00 +0000
dupeguru-se (3.3.1~trusty) trusty; urgency=low
* Fixed a couple of nasty crashes.
-- Virgil Dupras <hsoft@hardcoded.net> Fri, 02 Dec 2011 00:00:00 +0000
dupeguru-se (3.3.0~trusty) trusty; urgency=low
* Added multiple-selection in folder selection dialog for a more efficient folder removal. (#179)
* Fixed a crash in the prioritize dialog. (#178)
* Fixed a bug where mass marking with a filter would mark more than filtered duplicates. (#181)
* Fixed random hard crashes. [Mac OS X] (#183 #184)
* Added Czech localization by Aleš Nehyba.
* Added Italian localization by Paolo Rossi.
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 30 Nov 2011 00:00:00 +0000
dupeguru-se (3.2.1~trusty) trusty; urgency=low
* Fixed a couple of broken action bindings from v3.2.0.
-- Virgil Dupras <hsoft@hardcoded.net> Sun, 02 Oct 2011 00:00:00 +0000
dupeguru-se (3.2.0~trusty) trusty; urgency=low
* Added duplicate re-prioritization dialog. (#138)
* Added font size preference for duplicate table. (#82)
* Added Quicklook support. [Mac OS X] (#21)
* Improved behavior of Mark Selected. (#139)
* Improved filename sorting. (#169)
* Added Chinese (Simplified) localization by Eric Dee.
* Tweaked the fairware system.
* Upgraded minimum requirements to OS X 10.6 and Ubuntu 11.04.
-- Virgil Dupras <hsoft@hardcoded.net> Tue, 27 Sep 2011 00:00:00 +0000
dupeguru-se (3.1.2~trusty) trusty; urgency=low
* Fixed a bug preventing the Folders scan from working. (#172)
-- Virgil Dupras <hsoft@hardcoded.net> Thu, 25 Aug 2011 00:00:00 +0000
dupeguru-se (3.1.1~trusty) trusty; urgency=low
* Added German localization by Gregor Tätzner.
* Improved OS X Lion compatibility. [Mac OS X]
* Made the file collection phase cancellable. (#168)
* Fixed glitch in folder window upon selecting a folder state. [Windows, Linux] (#165)
* Fixed a text coloring glitch in the results. (#156)
* Fixed glitch in the sorting feature of the Folder column. (#161)
* Make sure that saved results have the ".dupeguru" extension. [Linux] (#157)
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 24 Aug 2011 00:00:00 +0000
dupeguru-se (3.1.0~trusty) trusty; urgency=low
* Added the "Folders" scan type. (#89)
* Fixed a couple of crashes. (#140 #149)
-- Virgil Dupras <hsoft@hardcoded.net> Sat, 16 Apr 2011 00:00:00 +0000
dupeguru-se (3.0.2~trusty) trusty; urgency=low
* Fixed crash after removing marked dupes. (#140)
* Fixed crash on error handling. [Windows] (#144)
* Fixed crash on copy/move. [Windows] (#148)
* Fixed crash when launching dupeGuru from a very long folder name. [Mac OS X] (#119)
* Fixed a refresh bug in directory panel. (#153)
* Improved reliability of the "Send to Trash" operation. [Linux]
* Tweaked Fairware reminders.
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 16 Mar 2011 00:00:00 +0000
dupeguru-se (3.0.1~trusty) trusty; urgency=low
* Restored the context menu which had been broken in 3.0.0. [Mac OS X] (#133)
* Fixed a bug where an "unsaved results" warning would be issued on quit even with empty results. (#134)
* Removed focus from the cancel button in the progress dialog to avoid accidental cancellations. [Mac OS X] (#135)
* Folders added through drag and drop are added to the recent folders list. (#136)
* Added a debugging mode. (#132)
* Fixed french localization glitches.
-- Virgil Dupras <hsoft@hardcoded.net> Thu, 27 Jan 2011 00:00:00 +0000
dupeguru-se (3.0.0~trusty) trusty; urgency=low
* Re-designed the UI. (#129)
* Internationalized dupeGuru and localized it to french. (#32)
* Changed the format of the help file. (#130)
-- Virgil Dupras <hsoft@hardcoded.net> Mon, 24 Jan 2011 00:00:00 +0000
dupeguru-se (2.12.3~trusty) trusty; urgency=low
* Fixed bug causing results to be corrupted after a scan cancellation. (#120)
* Fixed crash when fetching Fairware unpaid hours. (#121)
* Fixed crash when replacing files with hardlinks. (#122)
-- Virgil Dupras <hsoft@hardcoded.net> Sat, 01 Jan 2011 00:00:00 +0000
dupeguru-se (2.12.2~trusty) trusty; urgency=low
* Fixed delta column colors which were broken since 2.12.0.
* Fixed column sorting crash. (#108)
* Fixed occasional crash during scan. (#106)
-- Virgil Dupras <hsoft@hardcoded.net> Tue, 05 Oct 2010 00:00:00 +0000
dupeguru-se (2.12.1~trusty) trusty; urgency=low
* Re-licensed dupeGuru to BSD and made it [Fairware](http://open.hardcoded.net/about/).
-- Virgil Dupras <hsoft@hardcoded.net> Thu, 30 Sep 2010 00:00:00 +0000
dupeguru-se (2.12.0~trusty) trusty; urgency=low
* Improved UI with a little revamp.
* Added the possibility to place hardlinks to references after having deleted duplicates. [Mac OS X, Linux] (#91)
* Added an option to ignore duplicates hardlinking to the same file. [Mac OS X, Linux] (#92)
* Added multiple selection in the "Add Directory" dialog. [Mac OS X] (#105)
* Fixed a bug preventing drag & drop from working in the Directories panel. [Windows, Linux]
-- Virgil Dupras <hsoft@hardcoded.net> Sun, 26 Sep 2010 00:00:00 +0000
dupeguru-se (2.11.1~trusty) trusty; urgency=low
* Fixed HTML exporting which was broken in 2.11.0.
-- Virgil Dupras <hsoft@hardcoded.net> Thu, 26 Aug 2010 00:00:00 +0000
dupeguru-se (2.11.0~trusty) trusty; urgency=low
* Added the ability to save results (and reload them) at arbitrary locations.
* Improved the way reference files in dupe groups are chosen. (#15)
* Remember size/position of all windows between launches. (#102)
* Fixed a bug sometimes preventing dupeGuru from reloading previous results.
* Fixed a bug sometimes causing the progress dialog to be stuck there. [Mac OS X] (#103)
* Removed the Creation Date column, which wasn't displaying the correct value anyway. (#101)
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 18 Aug 2010 00:00:00 +0000
dupeguru-se (2.10.1~trusty) trusty; urgency=low
* Fixed a couple of crashes. (#95, #97, #100)
-- Virgil Dupras <hsoft@hardcoded.net> Thu, 15 Jul 2010 00:00:00 +0000
dupeguru-se (2.10.0~trusty) trusty; urgency=low
* Improved error messages when files can't be sent to trash, moved or copied.
* Added a custom command invocation action. (#12)
* Filters are now applied on whole paths. (#4)
-- Virgil Dupras <hsoft@hardcoded.net> Tue, 13 Apr 2010 00:00:00 +0000
dupeguru-se (2.9.2~trusty) trusty; urgency=low
* dupeGuru is now 64-bit on Mac OS X!
* Fixed a crash upon quitting when support folder is not present. (#83)
* Fixed a crash during sorting. (#85)
* Fixed selection glitches, especially while renaming. (#93)
-- Virgil Dupras <hsoft@hardcoded.net> Wed, 10 Feb 2010 00:00:00 +0000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

20
debian/control vendored Normal file
View File

@ -0,0 +1,20 @@
Source: dupeguru
Section: devel
Priority: extra
Maintainer: Virgil Dupras <hsoft@hardcoded.net>
Build-Depends: debhelper (>= 7), bash, python3-dev, python3-setuptools, python3-wheel, python3-venv, python3-pyqt5, pyqt5-dev-tools, libxkbcommon-x11-dev, python3-sphinx, python3-polib
Standards-Version: 3.9.2
Homepage: http://www.hardcoded.net
Package: dupeguru
Architecture: any
Depends: ${shlibs:Depends}, python3 (>=3.3), python3-pyqt5
Provides: dupeguru-se, dupeguru-me, dupeguru-pe
Replaces: dupeguru-se, dupeguru-me, dupeguru-pe
Conflicts: dupeguru-se, dupeguru-me, dupeguru-pe
Description: dupeGuru
dupeGuru is a cross-platform (Linux and OS X) GUI tool to find duplicate files in a system.
It's written mostly in Python 3 and has the peculiarity of using multiple GUI toolkits,
all using the same core Python code.
On OS X, the UI layer is written in Objective-C and uses Cocoa.
On Linux, it's written in Python and uses Qt5.

11
debian/copyright vendored Normal file
View File

@ -0,0 +1,11 @@
Copyright 2014 Hardcoded Software Inc. (http://www.hardcoded.net)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* 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.
* Neither the name of Hardcoded Software Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
* If the source code has been published less than two years ago, any redistribution, in whole or in part, must retain full licensing functionality, without any attempt to change, obscure or in other ways circumvent its intent.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.

2
debian/install vendored Normal file
View File

@ -0,0 +1,2 @@
build/dupeguru-4.0.0/usr/* usr

0
debian/patches/series vendored Normal file
View File

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_build:
dh_prep
dh_installdirs
bash -c "pyvenv --system-site-packages env && source env/bin/activate && pip install -r requirements.txt && python3 build.py --clean && python3 package.py --runtime-pkg"

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)