From e867840d8172caaf5861bc4170a93beb9a759829 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 20 Aug 2010 02:29:51 -0700 Subject: [PATCH] Fixed debian packaging for ME. --- debian_me/compat | 1 + debian_me/control | 2 +- debian_me/rules | 6 +++--- qt/me/start.py | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 debian_me/compat diff --git a/debian_me/compat b/debian_me/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/debian_me/compat @@ -0,0 +1 @@ +7 diff --git a/debian_me/control b/debian_me/control index a8056cce..bc7870af 100644 --- a/debian_me/control +++ b/debian_me/control @@ -8,5 +8,5 @@ Homepage: http://www.hardcoded.net Package: dupeguru-me Architecture: any -Depends: python (>= 2.6), python-qt4 (>= 4.6) +Depends: python3 (>= 3.1) Description: dupeGuru Music Edition diff --git a/debian_me/rules b/debian_me/rules index 393c5313..56b691fb 100755 --- a/debian_me/rules +++ b/debian_me/rules @@ -42,9 +42,9 @@ install: build dh_installdirs chmod +x src/start.py - cp -R src/ $(CURDIR)/debian/tmp/usr/local/share/dupeguru_me - cp $(CURDIR)/debian/dupeguru_me.desktop $(CURDIR)/debian/tmp/usr/share/applications - ln -s /usr/local/share/dupeguru_me/start.py $(CURDIR)/debian/tmp/usr/local/bin/dupeguru_me + cp -R src/ $(CURDIR)/debian/dupeguru-me/usr/local/share/dupeguru_me + cp $(CURDIR)/debian/dupeguru_me.desktop $(CURDIR)/debian/dupeguru-me/usr/share/applications + ln -s /usr/local/share/dupeguru_me/start.py $(CURDIR)/debian/dupeguru-me/usr/local/bin/dupeguru_me # Build architecture-independent files here. diff --git a/qt/me/start.py b/qt/me/start.py index 1044b1b8..c83e7aa0 100644 --- a/qt/me/start.py +++ b/qt/me/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, @@ -26,4 +26,4 @@ if __name__ == "__main__": QCoreApplication.setApplicationName(DupeGuru.NAME) QCoreApplication.setApplicationVersion(DupeGuru.VERSION) dgapp = DupeGuru() - sys.exit(app.exec_()) \ No newline at end of file + sys.exit(app.exec_())