aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-09 00:11:09 +0800
committersobomax <sobomax@FreeBSD.org>2001-08-09 00:11:09 +0800
commit236df94d605057ea0dbae7f9c1e3e952acc82289 (patch)
treeb69259224af7760a839f2828915b73793863d5cb
parent1212cccac923764249b5c92f0607040b9e4bc4b7 (diff)
downloadfreebsd-ports-gnome-236df94d605057ea0dbae7f9c1e3e952acc82289.tar.gz
freebsd-ports-gnome-236df94d605057ea0dbae7f9c1e3e952acc82289.tar.zst
freebsd-ports-gnome-236df94d605057ea0dbae7f9c1e3e952acc82289.zip
Add `w3m' and `gnome-help-browser' into the list of browsers that may be used
to read AbiWord help files.
-rw-r--r--editors/AbiWord/files/patch-src::af::xap::unix::xap_UnixFrame.cpp26
-rw-r--r--editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp26
-rw-r--r--editors/abiword-devel/files/patch-src::af::xap::unix::xap_UnixFrame.cpp26
-rw-r--r--editors/abiword/files/patch-src::af::xap::unix::xap_UnixFrame.cpp26
4 files changed, 104 insertions, 0 deletions
diff --git a/editors/AbiWord/files/patch-src::af::xap::unix::xap_UnixFrame.cpp b/editors/AbiWord/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
new file mode 100644
index 000000000000..9eea861c1a92
--- /dev/null
+++ b/editors/AbiWord/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 15:59:48 1.1
++++ src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 16:06:14
+@@ -767,9 +767,19 @@
+ fmtstring = "khelpcenter %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+- else
++ else if(progExists("gnome-help-browser"))
++ {
++ fmtstring = "gnome-help-browser %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("lynx"))
+ {
+ fmtstring = "xterm -e lynx %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("w3m"))
++ {
++ fmtstring = "xterm -e w3m %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+
diff --git a/editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp b/editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
new file mode 100644
index 000000000000..9eea861c1a92
--- /dev/null
+++ b/editors/AbiWord2/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 15:59:48 1.1
++++ src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 16:06:14
+@@ -767,9 +767,19 @@
+ fmtstring = "khelpcenter %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+- else
++ else if(progExists("gnome-help-browser"))
++ {
++ fmtstring = "gnome-help-browser %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("lynx"))
+ {
+ fmtstring = "xterm -e lynx %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("w3m"))
++ {
++ fmtstring = "xterm -e w3m %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+
diff --git a/editors/abiword-devel/files/patch-src::af::xap::unix::xap_UnixFrame.cpp b/editors/abiword-devel/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
new file mode 100644
index 000000000000..9eea861c1a92
--- /dev/null
+++ b/editors/abiword-devel/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 15:59:48 1.1
++++ src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 16:06:14
+@@ -767,9 +767,19 @@
+ fmtstring = "khelpcenter %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+- else
++ else if(progExists("gnome-help-browser"))
++ {
++ fmtstring = "gnome-help-browser %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("lynx"))
+ {
+ fmtstring = "xterm -e lynx %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("w3m"))
++ {
++ fmtstring = "xterm -e w3m %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+
diff --git a/editors/abiword/files/patch-src::af::xap::unix::xap_UnixFrame.cpp b/editors/abiword/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
new file mode 100644
index 000000000000..9eea861c1a92
--- /dev/null
+++ b/editors/abiword/files/patch-src::af::xap::unix::xap_UnixFrame.cpp
@@ -0,0 +1,26 @@
+
+$FreeBSD$
+
+--- src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 15:59:48 1.1
++++ src/af/xap/unix/xap_UnixFrame.cpp 2001/08/08 16:06:14
+@@ -767,9 +767,19 @@
+ fmtstring = "khelpcenter %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+- else
++ else if(progExists("gnome-help-browser"))
++ {
++ fmtstring = "gnome-help-browser %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("lynx"))
+ {
+ fmtstring = "xterm -e lynx %s &";
++ execstring = g_strdup_printf(fmtstring, szURL);
++ }
++ else if(progExists("w3m"))
++ {
++ fmtstring = "xterm -e w3m %s &";
+ execstring = g_strdup_printf(fmtstring, szURL);
+ }
+