Package: beagle
Version: 0.2.1

Attached is my patch from Ubuntu to include an autostart .desktop file
for beagled.
I am unclear whether or not this is supported as-is prior to Gnome 2.14.
We can track that here, and wait until 2.14 hits unstable if nessecary.

A quick google indicates that previous Gnome versions supported
autostart, but in $prefix/gnome/autostart, rather than
/etc/xdg/autostart.
diff -ruN beagle-0.2.1/debian/beagled.desktop beagle-0.2.3/debian/beagled.desktop
--- beagle-0.2.1/debian/beagled.desktop	1969-12-31 19:00:00.000000000 -0500
+++ beagle-0.2.3/debian/beagled.desktop	2006-03-18 06:44:41.000000000 -0500
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Beagle Search Tool
+Comment=Index files on your desktop
+Icon=system-search
+Exec=beagled
+Terminal=false
+Type=Application
+Categories=
+OnlyShowIn=GNOME;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=beagle
+X-GNOME-Bugzilla-Component=general
+X-GNOME-Autostart-enabled=true
diff -ruN beagle-0.2.1/debian/rules beagle-0.2.3/debian/rules
--- beagle-0.2.1/debian/rules	2006-03-18 06:41:20.000000000 -0500
+++ beagle-0.2.3/debian/rules	2006-03-18 07:01:46.000000000 -0500
@@ -67,6 +67,7 @@
 	fi; )
 
 	rm -rf $(MONO_SHARED_DIR)/.wapi
+	rm -rf $(CURDIR)/beagle/etc/xdg
 
 	rm -rf debian/patched
 
@@ -82,6 +83,9 @@
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 	
+	# Install autostart desktop file for beagled
+	mkdir -p $(CURDIR)/debian/beagle/etc/xdg/autostart
+	cp $(CURDIR)/debian/beagled.desktop $(CURDIR)/debian/beagle/etc/xdg/autostart
 	dh_install -a --sourcedir=debian/tmp
 
 	find debian/beagle debian/python-beagle -name '*.a' -delete

Reply via email to