summaryrefslogtreecommitdiffstats
path: root/accessibility/gnopernicus/files
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/gnopernicus/files')
-rw-r--r--accessibility/gnopernicus/files/gnopernicus-mag-config66
-rw-r--r--accessibility/gnopernicus/files/patch-configure21
-rw-r--r--accessibility/gnopernicus/files/patch-srcore_srspc.c12
-rw-r--r--accessibility/gnopernicus/files/patch-srlow_libsrlow_SRLow.c13
4 files changed, 0 insertions, 112 deletions
diff --git a/accessibility/gnopernicus/files/gnopernicus-mag-config b/accessibility/gnopernicus/files/gnopernicus-mag-config
deleted file mode 100644
index ae13fd323..000000000
--- a/accessibility/gnopernicus/files/gnopernicus-mag-config
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-GNOPI_RES_X=`gconftool-2 --get /apps/gnopernicus/magnifier/schema1/generic_zoomer/display_size_x`
-GNOPI_RES_Y=`gconftool-2 --get /apps/gnopernicus/magnifier/schema1/generic_zoomer/display_size_y`
-
-OLD_SOURCE=`gconftool-2 --get /apps/gnopernicus/magnifier/schema1/generic_zoomer/source`
-OLD_TARGET=`gconftool-2 --get /apps/gnopernicus/magnifier/schema1/generic_zoomer/target`
-
-SPLITSCREEN_RES_X=`expr $GNOPI_RES_X / 2`
-
-
-if test $# -eq 0; then
- echo "Usage: gnopernicus-magnifier [-s] [-t] [[-F] | [-S]]
- -s source_display Sets the magnifier source display screen. Eg (:0.0)
- -t target_display Sets the magnifier target display screen. Eg (:0.0)
- -F Sets the magnifier placement so it will cover the
- whole screen (Fullscreen).
- -S Sets the magnifier placement so it will cover the right
- vertical half of the screen (Vertical Split Screen).
-Note: When doing a full scren magnification, the source/target screens
- have to be set before the full-screen mode and their values have to be different"
-exit 1
-fi
-
-while getopts ":FSs:at:b" Option
-
-do
- case $Option in
- F)
- echo "FullScreen"
- if test "x$OLD_SOURCE" = "x$OLD_TARGET"; then
- echo "Source and target are the same.Please set them different first"
- exit 1
- fi
- echo "Setting fullscreen mode."
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_left 0
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_top 0
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_width $GNOPI_RES_X
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_height $GNOPI_RES_Y
- ;;
- S)
- echo "Setting vertical split screen mode."
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_left $SPLITSCREEN_RES_X
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_top 0
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_width $GNOPI_RES_X
- gconftool-2 --set --type=int /apps/gnopernicus/magnifier/schema1/generic_zoomer/zp_height $GNOPI_RES_Y
- ;;
- s)
-
- echo "Setting magnifier source screen value from [$OLD_SOURCE] to [$OPTARG]"
- gconftool-2 --set --type=string /apps/gnopernicus/magnifier/schema1/generic_zoomer/source $OPTARG
- OLD_SOURCE=$OPTARG
- ;;
- t)
-
- echo "Setting magnifier target screen value from [$OLD_TARGET] to [$OPTARG]"
- gconftool-2 --set --type=string /apps/gnopernicus/magnifier/schema1/generic_zoomer/target $OPTARG
- OLD_TARGET=$OPTARG
- ;;
- *)
- echo "Not handled!"
- ;;
- esac
-done
-shift $(($OPTIND - 1))
-
diff --git a/accessibility/gnopernicus/files/patch-configure b/accessibility/gnopernicus/files/patch-configure
deleted file mode 100644
index 79dc7a3c1..000000000
--- a/accessibility/gnopernicus/files/patch-configure
+++ /dev/null
@@ -1,21 +0,0 @@
---- configure.orig Mon Jan 9 15:02:42 2006
-+++ configure Mon Jan 9 15:04:48 2006
-@@ -21635,11 +21635,17 @@
- TTYNAME_2="/dev/cua/c"
- TTYNAME_3="/dev/cua/d"
- ;;
-- FreeBSD-*)
-+ FreeBSD-4*|FreeBSD-5*)
- TTYNAME_0="/dev/cuaa0"
- TTYNAME_1="/dev/cuaa1"
- TTYNAME_2="/dev/cuaa2"
- TTYNAME_3="/dev/cuaa3"
-+ ;;
-+ FreeBSD-*)
-+ TTYNAME_0="/dev/cuad0"
-+ TTYNAME_1="/dev/cuad1"
-+ TTYNAME_2="/dev/cuaU0"
-+ TTYNAME_3="/dev/cuaU1"
- ;;
- *)
- echo "Can't figure out the name of the serial port on this OS"
diff --git a/accessibility/gnopernicus/files/patch-srcore_srspc.c b/accessibility/gnopernicus/files/patch-srcore_srspc.c
deleted file mode 100644
index d6d68bb9b..000000000
--- a/accessibility/gnopernicus/files/patch-srcore_srspc.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- srcore/srspc.c.orig Sun May 8 01:10:29 2005
-+++ srcore/srspc.c Sun May 8 01:10:37 2005
-@@ -1531,8 +1531,8 @@ src_timeout_start_speech (gpointer data)
- static void
- src_restart_speech ()
- {
-- g_printerr ("\nRestarting speech.\n");
- gboolean use_speech = FALSE;
-+ g_printerr ("\nRestarting speech.\n");
- SET_SRCORE_CONFIG_DATA (SRCORE_SPEECH_ACTIVE, CFGT_BOOL, &use_speech);
- g_timeout_add (SRC_SPEECH_RESTART_TIMEOUT, src_timeout_start_speech, NULL);
- }
diff --git a/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRLow.c b/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRLow.c
deleted file mode 100644
index 231ee7891..000000000
--- a/accessibility/gnopernicus/files/patch-srlow_libsrlow_SRLow.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- srlow/libsrlow/SRLow.c.orig Mon Jun 27 04:14:03 2005
-+++ srlow/libsrlow/SRLow.c Mon Jun 27 04:14:18 2005
-@@ -666,8 +666,9 @@ srl_get_focused_cell (Accessible *acc_ta
- for (i = rows; !rv && i <= rowe && count < SRL_MAX_CHILDREN_CNT; i++)
- for (j = cols; !rv && j <= cole && count < SRL_MAX_CHILDREN_CNT; j++)
- {
-+ Accessible *cell;
- count++;
-- Accessible *cell = AccessibleTable_getAccessibleAt (table, i, j);
-+ cell = AccessibleTable_getAccessibleAt (table, i, j);
- if (cell)
- {
- if (srl_acc_has_state (cell, SPI_STATE_FOCUSED))