From b1f2e1c1910d8b846b4d0c1596e392b1bf014c0c Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 21 Aug 2010 08:26:56 -0700 Subject: [PATCH] Fixed debian packaging for PE. --- debian_pe/compat | 1 + debian_pe/control | 2 +- debian_pe/rules | 6 +++--- qt/pe/start.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 debian_pe/compat diff --git a/debian_pe/compat b/debian_pe/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/debian_pe/compat @@ -0,0 +1 @@ +7 diff --git a/debian_pe/control b/debian_pe/control index 9ba5993b..ba20adc8 100644 --- a/debian_pe/control +++ b/debian_pe/control @@ -8,5 +8,5 @@ Homepage: http://www.hardcoded.net Package: dupeguru-pe Architecture: any -Depends: python (>= 2.6), python-qt4 (>= 4.6), python-imaging (>= 1.1.6) +Depends: python3 (>= 3.1) Description: dupeGuru Picture Edition diff --git a/debian_pe/rules b/debian_pe/rules index 9967283b..3345f39d 100755 --- a/debian_pe/rules +++ b/debian_pe/rules @@ -42,9 +42,9 @@ install: build dh_installdirs chmod +x src/start.py - cp -R src/ $(CURDIR)/debian/tmp/usr/local/share/dupeguru_pe - cp $(CURDIR)/debian/dupeguru_pe.desktop $(CURDIR)/debian/tmp/usr/share/applications - ln -s /usr/local/share/dupeguru_pe/start.py $(CURDIR)/debian/tmp/usr/local/bin/dupeguru_pe + cp -R src/ $(CURDIR)/debian/dupeguru-pe/usr/local/share/dupeguru_pe + cp $(CURDIR)/debian/dupeguru_pe.desktop $(CURDIR)/debian/dupeguru-pe/usr/share/applications + ln -s /usr/local/share/dupeguru_pe/start.py $(CURDIR)/debian/dupeguru-pe/usr/local/bin/dupeguru_pe # Build architecture-independent files here. diff --git a/qt/pe/start.py b/qt/pe/start.py index 0ea87719..13a4cd01 100644 --- a/qt/pe/start.py +++ b/qt/pe/start.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2010 Hardcoded Software (http://www.hardcoded.net) # # This software is licensed under the "HS" License as described in the "LICENSE" file,