[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.0-3-g7b99ff2

Sandro Tosi morph at debian.org
Wed Mar 25 19:38:06 UTC 2009


The following commit has been merged in the master branch:
commit 5d3dd5f8a974ec08d2bedbe85d23c0abddc9c4bc
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Mar 25 20:31:16 2009 +0100

    install desktop file; thanks to Fabian Greffrath for the report and file; Closes: #521186

diff --git a/TODO b/TODO
index aa9953a..8fc8520 100644
--- a/TODO
+++ b/TODO
@@ -8,8 +8,6 @@ TODO list for reportbug 4.0 (squeeze):
      bin/reportbug - line 833
      bin/querybts  - line 174
 
-0.2. add a desktop file, mimic menu file?
-
 0.3. reportbug/ui/text_ui.py
        + disabled utils.NEWBIELINE check to avoid circular import between text
          and utils ******** WE NEED TO FIND A SOLUTION TO THIS **********
diff --git a/debian/changelog b/debian/changelog
index 73c7c14..a06440c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+reportbug (4.1) UNRELEASED; urgency=low
+
+  * debian/{desktop, dirs, rules}
+    - install desktop file; thanks to Fabian Greffrath for the report and file;
+      Closes: #521186
+
+ -- Sandro Tosi <morph at debian.org>  Wed, 25 Mar 2009 20:28:34 +0100
+
 reportbug (4.0) unstable; urgency=low
 
   * Uploading to unstable, since Lenny has been released
diff --git a/debian/desktop b/debian/desktop
new file mode 100644
index 0000000..bbd97a1
--- /dev/null
+++ b/debian/desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Reportbug
+Comment=Report bugs to the Debian BTS
+Icon=debian-logo
+TryExec=reportbug
+Exec=reportbug --exit-prompt --ui gtk2
+Categories=Application;System;
diff --git a/debian/dirs b/debian/dirs
index 2243553..84c44f4 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1,3 +1,4 @@
 etc
 usr/bin
 usr/share/bug/reportbug
+usr/share/applications
diff --git a/debian/rules b/debian/rules
index a8818ee..9450167 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,8 @@ install-stamp: build-stamp
 	chmod 0755 $(CURDIR)/debian/reportbug/usr/bin/*
 	cp -p conf/reportbug.conf $(CURDIR)/debian/reportbug/etc
 
+	cp -p debian/desktop $(CURDIR)/debian/reportbug/usr/share/applications/reportbug.desktop
+
 	touch install-stamp
 
 # Build architecture-dependent files here.
@@ -59,6 +61,7 @@ binary-indep: build install
 	dh_installdocs
 	dh_installexamples
 	dh_installmenu
+	dh_desktop
 #	dh_installemacsen
 #	dh_installinit
 	dh_installcron

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list