diff -u bluefish-1.0.7/debian/changelog bluefish-1.0.7/debian/changelog --- bluefish-1.0.7/debian/changelog +++ bluefish-1.0.7/debian/changelog @@ -1,3 +1,9 @@ +bluefish (1.0.7-6ubuntu3) lucid; urgency=low + + * Added Firefox in the list of external viewers (LP #158891) + + -- Nicola Ferralis Tue, 16 Mar 2010 11:14:25 -0700 + bluefish (1.0.7-6ubuntu2) jaunty; urgency=low * No change rebuild to fix FTBFS with amd64. diff -u bluefish-1.0.7/debian/patches/00list bluefish-1.0.7/debian/patches/00list --- bluefish-1.0.7/debian/patches/00list +++ bluefish-1.0.7/debian/patches/00list @@ -2,6 +2,7 @@ 03_latest_highlighting_pattern 04_fix_maximization_state_save 05_fix_449288_hlt_pattern_dialog +06_firefox_viewer 90_manpage_update 91_desktop_file_validity 99_fix_436599_handle_nostrip only in patch2: unchanged: --- bluefish-1.0.7.orig/debian/patches/06_firefox_viewer.dpatch +++ bluefish-1.0.7/debian/patches/06_firefox_viewer.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_firefox.dpatch by Nicola Ferralis +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add firefox to HTML viewers + +@DPATCH@ + +--- bluefish-1.0.7/src/rcfile.c 2006-10-08 08:51:07.000000000 -0700 ++++ bluefish-1.0.7.new/src/rcfile.c 2009-11-27 19:32:50.126267216 -0800 +@@ -500,6 +500,8 @@ + if (main_v->props.browsers == NULL) { + /* if the user does not have browsers --> set them to defaults values */ + gchar **arr; ++ arr = array_from_arglist(_("Firefox"), "firefox -remote 'openURL(%s, new-window)' || firefox %s&",NULL); ++ main_v->props.browsers = g_list_append(main_v->props.browsers,arr); + arr = array_from_arglist(_("Galeon"), "galeon -x %s&",NULL); + main_v->props.browsers = g_list_append(main_v->props.browsers,arr); + arr = array_from_arglist(_("Mozilla"), "mozilla -remote 'openURL(%s, new-window)' || mozilla %s&",NULL);