[SCM] Audacity debian packaging branch, master, updated. debian/1.3.7-3-60-g478eae9
diwic-guest at users.alioth.debian.org
diwic-guest at users.alioth.debian.org
Fri Nov 13 23:17:26 UTC 2009
The following commit has been merged in the master branch:
commit 31e612d6b12db247c7376ceea858a5536517ada2
Author: David Henningsson <audacity at epost.diwic.se>
Date: Fri Nov 13 23:44:50 2009 +0100
Add apport hook for better bug reports on Ubuntu
diff --git a/debian/audacity.install b/debian/audacity.install
index 390dd24..491e3ea 100644
--- a/debian/audacity.install
+++ b/debian/audacity.install
@@ -5,3 +5,5 @@ debian/tmp/usr/share/man
debian/audacity.svg usr/share/pixmaps
debian/audacity.xpm usr/share/pixmaps
debian/audacity16.xpm usr/share/pixmaps
+debian/source_audacity.py usr/share/apport/package-hooks
+
diff --git a/debian/source_audacity.py b/debian/source_audacity.py
new file mode 100644
index 0000000..0a2cd9b
--- /dev/null
+++ b/debian/source_audacity.py
@@ -0,0 +1,22 @@
+'''apport package hook for audacity
+
+Author:
+David Henningsson <diwic at ubuntu.com>
+
+'''
+
+from apport.hookutils import *
+import os.path
+import re
+
+def add_info(report):
+ # we probably don't need all alsa_base info, but some hint
+ # of the user's soundcards would be nice.
+ report['AlsaCards'] = command_output(['cat', '/proc/asound/cards'])
+
+ cfgfilename = os.path.expanduser('~/.audacity-data/audacity.cfg')
+ if os.path.exists(cfgfilename):
+ s = open(cfgfilename).read()
+ # give the user some privacy by removing MRU file list
+ s = re.sub(r'\n(file[0-9]+=)[^\n]*', r'\n\1(removed for privacy)', s)
+ report['AudacityCfg'] = s
--
Audacity debian packaging
More information about the pkg-multimedia-commits
mailing list