Merge branch 'master' into diablo-package
authorSteven Luo <steven+maemo@steven676.net>
Sat, 19 Dec 2009 06:09:06 +0000 (22:09 -0800)
committerSteven Luo <steven+maemo@steven676.net>
Sat, 19 Dec 2009 06:09:06 +0000 (22:09 -0800)
Makefile
README
config-ui/Makefile
config-ui/browser-switchboard-cp.c
www/index.html [new file with mode: 0644]

index 36ae952..443a560 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -Wall -Os
+CFLAGS = -Wall -Os $(EXTRA_CFLAGS)
 CPPFLAGS = `pkg-config --cflags dbus-glib-1`
 LDFLAGS = `pkg-config --libs dbus-glib-1`
 PREFIX = /usr
diff --git a/README b/README
index e5b29a9..ad7ba6d 100644 (file)
--- a/README
+++ b/README
@@ -126,7 +126,7 @@ If for some reason you don't want to use the prebuilt binary package to
 install Browser Switchboard, you can compile and install by hand:
 1. You will need a copy of the SDK for your device.  Make sure the
 following packages are installed: libdbus-glib-1-dev for
-browser-switchboard; libdbus-1-dev, libgtk2.0-dev, hildon-dev,
+browser-switchboard; libdbus-1-dev, libgtk2.0-dev, libhildon1-dev,
 hildon-control-panel-dev for the config UI.
 2. Download the source tarball: browser-switchboard_X.Y.orig.tar.gz
 3. Unpack the source tarball in your SDK install:
index 4cd2d72..85d71e4 100644 (file)
@@ -1,5 +1,5 @@
 CC = gcc
-CFLAGS = -Wall -Os
+CFLAGS = -Wall -Os $(EXTRA_CFLAGS)
 CFLAGS_PLUGIN = -fPIC
 CPPFLAGS = -I../ `pkg-config --cflags gtk+-2.0`
 CPPFLAGS_HILDON = -DHILDON `pkg-config --cflags hildon-1`
index 1099890..7d462f5 100644 (file)
@@ -263,7 +263,7 @@ static void do_reconfig(void) {
        /* Try to send SIGHUP to any running browser-switchboard process
           This causes it to reread config files if in continuous_mode, and
           die so that the config will be reloaded on next start otherwise */
-       system("killall -HUP browser-switchboard > /dev/null 2>&1");
+       system("kill -HUP `pidof browser-switchboard` > /dev/null 2>&1");
 }
 
 
diff --git a/www/index.html b/www/index.html
new file mode 100644 (file)
index 0000000..0b38d66
--- /dev/null
@@ -0,0 +1,73 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+       "http://www.w3.org/TR/html4/strict.dtd">
+
+<html>
+
+<head>
+<title>Browser Switchboard - default browser selection for Maemo</title>
+</head>
+
+<body>
+<h1>Browser Switchboard</h1>
+<p>Browser Switchboard (formerly browser-proxy) is a program which allows
+you to choose which browser to use as the default browser on Maemo devices.
+It supports MicroB, Tear, Fennec/Mobile Firefox, and Midori out of the box,
+and can also be used to launch MicroB without having browserd running.</p>
+
+<h2>Current Release</h2>
+<p>Version 3.0rc1 (2009/12/18) (<a href="https://garage.maemo.org/frs/download.php/7081/browser-switchboard_3.0rc1-1_armel.deb">Diablo package</a>)</p>
+<ul>
+<li>Release candidate -- not (yet) a stable release</li>
+<li>Add a control panel applet to help configure the UI</li>
+<li>Reimplement the core D-Bus proxy in C to improve speed and memory footprint</li>
+<li>Default to launching MicroB as the default browser if unconfigured -- if you were using Browser Switchboard to launch Tear, you need to explicitly set Tear as the default browser using the UI (or by configuring by hand)</li>
+<li><b>EXPERIMENTAL</b> Fremantle support (see <a href="https://garage.maemo.org/frs/?group_id=1159">download page</a> for source and packages).  BACK UP before installing, and let me know how it goes!</li>
+</ul>
+<p>Version 2.2 (2009/12/14) (<a href="https://garage.maemo.org/frs/download.php/7038/browser-switchboard_2.2-1_all.deb">Diablo package</a>)</p>
+<ul>
+<li>Rename the package to browser-switchboard</li>
+<li>Move the config file to /home/user/.config/browser-switchboard, and
+fall back to the old location if no config file is found</li>
+<li>If no config file is found and Tear isn't installed, launch MicroB;
+this avoids breaking link opening on a system with a freshly installed
+browser-switchboard package and Tear not installed</li>
+<li>Package no longer depends on Tear; should make it easier for users of
+other alternative browsers to use Browser Switchboard</li>
+<li>substantial documentation update</li>
+</ul>
+
+<h2>Getting Browser Switchboard</h2>
+<p>Source code and packages for Diablo can be found on the maemo Garage
+<a href="https://garage.maemo.org/frs/?group_id=1159">download page</a>.</p>
+
+<h2>Documentation</h2>
+<p>See the
+<a href="https://git.maemo.org/projects/browser-switch/?p=browser-switch;a=blob_plain;f=README;h=e7917c6664913fef15cce3b2bc7f974a5e664a4c;hb=HEAD">README</a>
+for instructions on how to configure and use Browser Switchboard.</p>
+
+<h2>Support</h2>
+<p>You can email your question to the maintainers (see below), or you can take
+it to the
+<a href="http://talk.maemo.org/showthread.php?t=28539">Tear thread</a>
+on the talk.maemo.org forums.</p>
+
+<h2>Development</h2>
+<p>The latest source is available via a Git repository; you can check it out
+by running</p>
+<pre>
+git clone https://git.maemo.org/projects/browser-switch
+</pre>
+<p>from a shell. You can also
+<a href="https://git.maemo.org/projects/browser-switch/?p=browser-switch;a=summary">browse the repository</a> using gitweb.</p>
+
+<p>Bug reports and patches can be emailed to the maintainers, or posted on the
+forum thread.</p>
+
+<h2>Maintainers</h2>
+<p>Steven Luo
+&lt;<a href="mailto:steven+maemo [at] steven676.net">steven+maemo [at] steven676.net</a>&gt;
+is the primary maintainer of Browser Switchboard, with assistance from Jason
+Simpson (the original developer).</p>
+</body>
+
+</html>