[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] Easier way to set openurl.c browser default?
From: |
Russ Allbery |
Subject: |
[Bug-gnubg] Easier way to set openurl.c browser default? |
Date: |
Sun, 21 Jul 2013 19:02:48 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Currently, the Debian packaging for GNU Backgammon carries the following
patch, since Debian's standard browser is supposed to use the
sensible-browser program:
--- a/openurl.c
+++ b/openurl.c
@@ -46,7 +46,8 @@ get_web_browser(void)
#ifdef __APPLE__
pch = "open";
#else
- pch = "firefox";
+ /* Modified to use sensible-browser -- rra, 2008-02-16 */
+ pch = "sensible-browser";
#endif
}
return pch;
It would be nice to not have to patch this, either by using a C
preprocessor #define that I could add to CFLAGS or (somewhat more
complicated) adding a --with-default-browser option to configure to set
the fallback browser command.
Does that sound interesting? If so, I could probably put together a
patch.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
- [Bug-gnubg] Easier way to set openurl.c browser default?,
Russ Allbery <=