From d81e1f4de35b8a607f0f4cd64bfc5ab1f774aa53 Mon Sep 17 00:00:00 2001 From: drochner Date: Tue, 17 Jul 2007 19:03:16 +0000 Subject: import orca-2.18.1, a screen magnifier/reader for the gnome desktop --- misc/orca/DESCR | 3 + misc/orca/Makefile | 31 +++++ misc/orca/PLIST | 276 +++++++++++++++++++++++++++++++++++++++++++++ misc/orca/distinfo | 7 ++ misc/orca/patches/patch-aa | 37 ++++++ misc/orca/patches/patch-ab | 28 +++++ 6 files changed, 382 insertions(+) create mode 100644 misc/orca/DESCR create mode 100644 misc/orca/Makefile create mode 100644 misc/orca/PLIST create mode 100644 misc/orca/distinfo create mode 100644 misc/orca/patches/patch-aa create mode 100644 misc/orca/patches/patch-ab diff --git a/misc/orca/DESCR b/misc/orca/DESCR new file mode 100644 index 00000000000..a43915617e7 --- /dev/null +++ b/misc/orca/DESCR @@ -0,0 +1,3 @@ +Orca is a free, open source, flexible, and extensible screen reader +that provides access to the graphical desktop via user-customizable +combinations of speech, braille, and/or magnification. diff --git a/misc/orca/Makefile b/misc/orca/Makefile new file mode 100644 index 00000000000..20b5597958b --- /dev/null +++ b/misc/orca/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/07/17 19:03:16 drochner Exp $ +# + +DISTNAME= orca-2.18.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/orca/2.18/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://live.gnome.org/Orca +COMMENT= Screen reader + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= intltool pkg-config gmake +USE_DIRS+= xdg-1.1 + +PYTHON_VERSIONS_ACCEPTED= 24 +CONFIGURE_ENV+= PYTHON=${PYTHONBIN} +PY_PATCHPLIST= yes + +.include "../../devel/glib2/buildlink3.mk" +.include "../../net/ORBit2/buildlink3.mk" +.include "../../devel/at-spi/buildlink3.mk" +.include "../../devel/libbonobo/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" +.include "../../net/py-ORBit/buildlink3.mk" +.include "../../x11/py-gnome2/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/orca/PLIST b/misc/orca/PLIST new file mode 100644 index 00000000000..5fa85b58e2a --- /dev/null +++ b/misc/orca/PLIST @@ -0,0 +1,276 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/17 19:03:16 drochner Exp $ +bin/orca +${PYSITELIB}/orca/Gecko.py +${PYSITELIB}/orca/Gecko.pyc +${PYSITELIB}/orca/Gecko.pyo +${PYSITELIB}/orca/J2SE-access-bridge.py +${PYSITELIB}/orca/J2SE-access-bridge.pyc +${PYSITELIB}/orca/J2SE-access-bridge.pyo +${PYSITELIB}/orca/__init__.py +${PYSITELIB}/orca/__init__.pyc +${PYSITELIB}/orca/__init__.pyo +${PYSITELIB}/orca/acss.py +${PYSITELIB}/orca/acss.pyc +${PYSITELIB}/orca/acss.pyo +${PYSITELIB}/orca/atspi.py +${PYSITELIB}/orca/atspi.pyc +${PYSITELIB}/orca/atspi.pyo +${PYSITELIB}/orca/braille.py +${PYSITELIB}/orca/braille.pyc +${PYSITELIB}/orca/braille.pyo +${PYSITELIB}/orca/braillegenerator.py +${PYSITELIB}/orca/braillegenerator.pyc +${PYSITELIB}/orca/braillegenerator.pyo +${PYSITELIB}/orca/brlmodule.la +${PYSITELIB}/orca/brlmon.py +${PYSITELIB}/orca/brlmon.pyc +${PYSITELIB}/orca/brlmon.pyo +${PYSITELIB}/orca/chnames.py +${PYSITELIB}/orca/chnames.pyc +${PYSITELIB}/orca/chnames.pyo +${PYSITELIB}/orca/debug.py +${PYSITELIB}/orca/debug.pyc +${PYSITELIB}/orca/debug.pyo +${PYSITELIB}/orca/dectalk.py +${PYSITELIB}/orca/dectalk.pyc +${PYSITELIB}/orca/dectalk.pyo +${PYSITELIB}/orca/default.py +${PYSITELIB}/orca/default.pyc +${PYSITELIB}/orca/default.pyo +${PYSITELIB}/orca/espeechfactory.py +${PYSITELIB}/orca/espeechfactory.pyc +${PYSITELIB}/orca/espeechfactory.pyo +${PYSITELIB}/orca/eventsynthesizer.py +${PYSITELIB}/orca/eventsynthesizer.pyc +${PYSITELIB}/orca/eventsynthesizer.pyo +${PYSITELIB}/orca/find.py +${PYSITELIB}/orca/find.pyc +${PYSITELIB}/orca/find.pyo +${PYSITELIB}/orca/flat_review.py +${PYSITELIB}/orca/flat_review.pyc +${PYSITELIB}/orca/flat_review.pyo +${PYSITELIB}/orca/focus_tracking_presenter.py +${PYSITELIB}/orca/focus_tracking_presenter.pyc +${PYSITELIB}/orca/focus_tracking_presenter.pyo +${PYSITELIB}/orca/gnomespeechfactory.py +${PYSITELIB}/orca/gnomespeechfactory.pyc +${PYSITELIB}/orca/gnomespeechfactory.pyo +${PYSITELIB}/orca/hierarchical_presenter.py +${PYSITELIB}/orca/hierarchical_presenter.pyc +${PYSITELIB}/orca/hierarchical_presenter.pyo +${PYSITELIB}/orca/httpserver.py +${PYSITELIB}/orca/httpserver.pyc +${PYSITELIB}/orca/httpserver.pyo +${PYSITELIB}/orca/input_event.py +${PYSITELIB}/orca/input_event.pyc +${PYSITELIB}/orca/input_event.pyo +${PYSITELIB}/orca/keybindings.py +${PYSITELIB}/orca/keybindings.pyc +${PYSITELIB}/orca/keybindings.pyo +${PYSITELIB}/orca/keynames.py +${PYSITELIB}/orca/keynames.pyc +${PYSITELIB}/orca/keynames.pyo +${PYSITELIB}/orca/mag.py +${PYSITELIB}/orca/mag.pyc +${PYSITELIB}/orca/mag.pyo +${PYSITELIB}/orca/orca.py +${PYSITELIB}/orca/orca.pyc +${PYSITELIB}/orca/orca.pyo +${PYSITELIB}/orca/orca_console_prefs.py +${PYSITELIB}/orca/orca_console_prefs.pyc +${PYSITELIB}/orca/orca_console_prefs.pyo +${PYSITELIB}/orca/orca_glade.py +${PYSITELIB}/orca/orca_glade.pyc +${PYSITELIB}/orca/orca_glade.pyo +${PYSITELIB}/orca/orca_gui_find.py +${PYSITELIB}/orca/orca_gui_find.pyc +${PYSITELIB}/orca/orca_gui_find.pyo +${PYSITELIB}/orca/orca_gui_main.py +${PYSITELIB}/orca/orca_gui_main.pyc +${PYSITELIB}/orca/orca_gui_main.pyo +${PYSITELIB}/orca/orca_gui_prefs.py +${PYSITELIB}/orca/orca_gui_prefs.pyc +${PYSITELIB}/orca/orca_gui_prefs.pyo +${PYSITELIB}/orca/orca_i18n.py +${PYSITELIB}/orca/orca_i18n.pyc +${PYSITELIB}/orca/orca_i18n.pyo +${PYSITELIB}/orca/orca_prefs.py +${PYSITELIB}/orca/orca_prefs.pyc +${PYSITELIB}/orca/orca_prefs.pyo +${PYSITELIB}/orca/orca_quit.py +${PYSITELIB}/orca/orca_quit.pyc +${PYSITELIB}/orca/orca_quit.pyo +${PYSITELIB}/orca/orca_state.py +${PYSITELIB}/orca/orca_state.pyc +${PYSITELIB}/orca/orca_state.pyo +${PYSITELIB}/orca/outloud.py +${PYSITELIB}/orca/outloud.pyc +${PYSITELIB}/orca/outloud.pyo +${PYSITELIB}/orca/phonnames.py +${PYSITELIB}/orca/phonnames.pyc +${PYSITELIB}/orca/phonnames.pyo +${PYSITELIB}/orca/platform.py +${PYSITELIB}/orca/platform.pyc +${PYSITELIB}/orca/platform.pyo +${PYSITELIB}/orca/presentation_manager.py +${PYSITELIB}/orca/presentation_manager.pyc +${PYSITELIB}/orca/presentation_manager.pyo +${PYSITELIB}/orca/pronunciation_dict.py +${PYSITELIB}/orca/pronunciation_dict.pyc +${PYSITELIB}/orca/pronunciation_dict.pyo +${PYSITELIB}/orca/punctuation_settings.py +${PYSITELIB}/orca/punctuation_settings.pyc +${PYSITELIB}/orca/punctuation_settings.pyo +${PYSITELIB}/orca/rolenames.py +${PYSITELIB}/orca/rolenames.pyc +${PYSITELIB}/orca/rolenames.pyo +${PYSITELIB}/orca/script.py +${PYSITELIB}/orca/script.pyc +${PYSITELIB}/orca/script.pyo +${PYSITELIB}/orca/scripts/Evolution.py +${PYSITELIB}/orca/scripts/Evolution.pyc +${PYSITELIB}/orca/scripts/Evolution.pyo +${PYSITELIB}/orca/scripts/Mozilla.py +${PYSITELIB}/orca/scripts/Mozilla.pyc +${PYSITELIB}/orca/scripts/Mozilla.pyo +${PYSITELIB}/orca/scripts/StarOffice.py +${PYSITELIB}/orca/scripts/StarOffice.pyc +${PYSITELIB}/orca/scripts/StarOffice.pyo +${PYSITELIB}/orca/scripts/Thunderbird.py +${PYSITELIB}/orca/scripts/Thunderbird.pyc +${PYSITELIB}/orca/scripts/Thunderbird.pyo +${PYSITELIB}/orca/scripts/__init__.py +${PYSITELIB}/orca/scripts/__init__.pyc +${PYSITELIB}/orca/scripts/__init__.pyo +${PYSITELIB}/orca/scripts/acroread.py +${PYSITELIB}/orca/scripts/acroread.pyc +${PYSITELIB}/orca/scripts/acroread.pyo +${PYSITELIB}/orca/scripts/gaim.py +${PYSITELIB}/orca/scripts/gaim.pyc +${PYSITELIB}/orca/scripts/gaim.pyo +${PYSITELIB}/orca/scripts/gcalctool.py +${PYSITELIB}/orca/scripts/gcalctool.pyc +${PYSITELIB}/orca/scripts/gcalctool.pyo +${PYSITELIB}/orca/scripts/gdmlogin.py +${PYSITELIB}/orca/scripts/gdmlogin.pyc +${PYSITELIB}/orca/scripts/gdmlogin.pyo +${PYSITELIB}/orca/scripts/gedit.py +${PYSITELIB}/orca/scripts/gedit.pyc +${PYSITELIB}/orca/scripts/gedit.pyo +${PYSITELIB}/orca/scripts/gnome-keyring-ask.py +${PYSITELIB}/orca/scripts/gnome-keyring-ask.pyc +${PYSITELIB}/orca/scripts/gnome-keyring-ask.pyo +${PYSITELIB}/orca/scripts/gnome-power-manager.py +${PYSITELIB}/orca/scripts/gnome-power-manager.pyc +${PYSITELIB}/orca/scripts/gnome-power-manager.pyo +${PYSITELIB}/orca/scripts/gnome-search-tool.py +${PYSITELIB}/orca/scripts/gnome-search-tool.pyc +${PYSITELIB}/orca/scripts/gnome-search-tool.pyo +${PYSITELIB}/orca/scripts/gnome-terminal.py +${PYSITELIB}/orca/scripts/gnome-terminal.pyc +${PYSITELIB}/orca/scripts/gnome-terminal.pyo +${PYSITELIB}/orca/scripts/gnome-window-properties.py +${PYSITELIB}/orca/scripts/gnome-window-properties.pyc +${PYSITELIB}/orca/scripts/gnome-window-properties.pyo +${PYSITELIB}/orca/scripts/gnome_segv2.py +${PYSITELIB}/orca/scripts/gnome_segv2.pyc +${PYSITELIB}/orca/scripts/gnome_segv2.pyo +${PYSITELIB}/orca/scripts/liferea.py +${PYSITELIB}/orca/scripts/liferea.pyc +${PYSITELIB}/orca/scripts/liferea.pyo +${PYSITELIB}/orca/scripts/metacity.py +${PYSITELIB}/orca/scripts/metacity.pyc +${PYSITELIB}/orca/scripts/metacity.pyo +${PYSITELIB}/orca/scripts/planner.py +${PYSITELIB}/orca/scripts/planner.pyc +${PYSITELIB}/orca/scripts/planner.pyo +${PYSITELIB}/orca/scripts/self_voicing.py +${PYSITELIB}/orca/scripts/self_voicing.pyc +${PYSITELIB}/orca/scripts/self_voicing.pyo +${PYSITELIB}/orca/scripts/users-admin.py +${PYSITELIB}/orca/scripts/users-admin.pyc +${PYSITELIB}/orca/scripts/users-admin.pyo +${PYSITELIB}/orca/settings.py +${PYSITELIB}/orca/settings.pyc +${PYSITELIB}/orca/settings.pyo +${PYSITELIB}/orca/speech.py +${PYSITELIB}/orca/speech.pyc +${PYSITELIB}/orca/speech.pyo +${PYSITELIB}/orca/speechgenerator.py +${PYSITELIB}/orca/speechgenerator.pyc +${PYSITELIB}/orca/speechgenerator.pyo +${PYSITELIB}/orca/speechserver.py +${PYSITELIB}/orca/speechserver.pyc +${PYSITELIB}/orca/speechserver.pyo +${PYSITELIB}/orca/util.py +${PYSITELIB}/orca/util.pyc +${PYSITELIB}/orca/util.pyo +${PYSITELIB}/orca/where_am_I.py +${PYSITELIB}/orca/where_am_I.pyc +${PYSITELIB}/orca/where_am_I.pyo +man/man1/orca.1 +share/applications/orca.desktop +share/icons/hicolor/48x48/apps/orca.png +share/locale/ar/LC_MESSAGES/orca.mo +share/locale/bg/LC_MESSAGES/orca.mo +share/locale/bn/LC_MESSAGES/orca.mo +share/locale/bn_IN/LC_MESSAGES/orca.mo +share/locale/ca/LC_MESSAGES/orca.mo +share/locale/cs/LC_MESSAGES/orca.mo +share/locale/cy/LC_MESSAGES/orca.mo +share/locale/da/LC_MESSAGES/orca.mo +share/locale/de/LC_MESSAGES/orca.mo +share/locale/dz/LC_MESSAGES/orca.mo +share/locale/el/LC_MESSAGES/orca.mo +share/locale/en_CA/LC_MESSAGES/orca.mo +share/locale/en_GB/LC_MESSAGES/orca.mo +share/locale/es/LC_MESSAGES/orca.mo +share/locale/et/LC_MESSAGES/orca.mo +share/locale/eu/LC_MESSAGES/orca.mo +share/locale/fi/LC_MESSAGES/orca.mo +share/locale/fr/LC_MESSAGES/orca.mo +share/locale/gl/LC_MESSAGES/orca.mo +share/locale/gu/LC_MESSAGES/orca.mo +share/locale/hi/LC_MESSAGES/orca.mo +share/locale/hu/LC_MESSAGES/orca.mo +share/locale/it/LC_MESSAGES/orca.mo +share/locale/ja/LC_MESSAGES/orca.mo +share/locale/ko/LC_MESSAGES/orca.mo +share/locale/lt/LC_MESSAGES/orca.mo +share/locale/lv/LC_MESSAGES/orca.mo +share/locale/mk/LC_MESSAGES/orca.mo +share/locale/ml/LC_MESSAGES/orca.mo +share/locale/mr/LC_MESSAGES/orca.mo +share/locale/nb/LC_MESSAGES/orca.mo +share/locale/ne/LC_MESSAGES/orca.mo +share/locale/nl/LC_MESSAGES/orca.mo +share/locale/or/LC_MESSAGES/orca.mo +share/locale/pa/LC_MESSAGES/orca.mo +share/locale/pl/LC_MESSAGES/orca.mo +share/locale/pt/LC_MESSAGES/orca.mo +share/locale/pt_BR/LC_MESSAGES/orca.mo +share/locale/ru/LC_MESSAGES/orca.mo +share/locale/rw/LC_MESSAGES/orca.mo +share/locale/sl/LC_MESSAGES/orca.mo +share/locale/sr/LC_MESSAGES/orca.mo +share/locale/sr@Latn/LC_MESSAGES/orca.mo +share/locale/sv/LC_MESSAGES/orca.mo +share/locale/ta/LC_MESSAGES/orca.mo +share/locale/th/LC_MESSAGES/orca.mo +share/locale/tr/LC_MESSAGES/orca.mo +share/locale/uk/LC_MESSAGES/orca.mo +share/locale/vi/LC_MESSAGES/orca.mo +share/locale/zh_CN/LC_MESSAGES/orca.mo +share/locale/zh_HK/LC_MESSAGES/orca.mo +share/locale/zh_TW/LC_MESSAGES/orca.mo +share/orca/glade/orca-find.glade +share/orca/glade/orca-mainwin.glade +share/orca/glade/orca-quit.glade +share/orca/glade/orca-setup.glade +@dirrm share/orca/glade +@dirrm share/orca +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor/48x48/apps +@comment in hicolor-icon-theme: @dirrm share/icons/hicolor +@comment in xdg-dirs: @dirrm share/applications +@dirrm ${PYSITELIB}/orca/scripts +@dirrm ${PYSITELIB}/orca diff --git a/misc/orca/distinfo b/misc/orca/distinfo new file mode 100644 index 00000000000..acea730b0d6 --- /dev/null +++ b/misc/orca/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/07/17 19:03:16 drochner Exp $ + +SHA1 (orca-2.18.1.tar.bz2) = c49aa21a15f40198b91edec3582cc8f690928134 +RMD160 (orca-2.18.1.tar.bz2) = 0465cce59e21d117edbe4f2dab93a5f965e65bbb +Size (orca-2.18.1.tar.bz2) = 934098 bytes +SHA1 (patch-aa) = 14ff9298e52545297afab921257c5bfa82e7f3f7 +SHA1 (patch-ab) = 54d6ecd3f80333ce84303451ba91824f45f87b4a diff --git a/misc/orca/patches/patch-aa b/misc/orca/patches/patch-aa new file mode 100644 index 00000000000..340b3ef8c16 --- /dev/null +++ b/misc/orca/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/07/17 19:03:16 drochner Exp $ + +--- src/orca/orca.in.orig 2007-04-09 21:59:57.000000000 +0200 ++++ src/orca/orca.in +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # + # Orca + # +@@ -30,7 +30,7 @@ + + # Set the user's $PATH for this script. + # +-export PATH="/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/X11R6/bin" ++#export PATH="/usr/ccs/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/X11R6/bin" + + # If you set RUNONCE to "true", then this will just run Orca once and quit. + # +@@ -238,7 +238,7 @@ if [ "x$RUNONCE" = "xfalse" -a "x$ARGS" + then + main + else +- if [ `grep -c "\-q" <<< $ARGS` -gt 0 ] ++ if [ `echo $ARGS | grep -c "\-q"` -gt 0 ] + then + cleanup + else +@@ -250,7 +250,7 @@ else + # erroneously types an illegal command line argument, the + # help text is emitted and the other orca is not killed. + # +- if [ `egrep -c "\-s|\-g|\-t|\-n|\-u|\-e|\-d" <<< $ARGS` -eq 0 ] ++ if [ `echo $ARGS | egrep -c "\-s|\-g|\-t|\-n|\-u|\-e|\-d"` -eq 0 ] + then + runOrca "NO_CLEANUP" + else diff --git a/misc/orca/patches/patch-ab b/misc/orca/patches/patch-ab new file mode 100644 index 00000000000..5a7b9cd7278 --- /dev/null +++ b/misc/orca/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/07/17 19:03:16 drochner Exp $ + +--- src/orca/orca_gui_prefs.py.orig 2007-07-13 21:39:48.000000000 +0200 ++++ src/orca/orca_gui_prefs.py +@@ -1956,14 +1956,15 @@ class orcaSetupGUI(orca_glade.GladeWrapp + + enable = self.speechSupportCheckbutton.get_active() + self.prefsDict["enableSpeech"] = enable +- self.prefsDict["speechServerFactory"] = \ +- self.speechSystemsChoice.__name__ +- self.prefsDict["speechServerInfo"] = self.speechServersChoice.getInfo() +- self.prefsDict["voices"] = { +- settings.DEFAULT_VOICE : acss.ACSS(self.defaultVoice), +- settings.UPPERCASE_VOICE : acss.ACSS(self.uppercaseVoice), +- settings.HYPERLINK_VOICE : acss.ACSS(self.hyperlinkVoice) +- } ++ if enable: ++ self.prefsDict["speechServerFactory"] = \ ++ self.speechSystemsChoice.__name__ ++ self.prefsDict["speechServerInfo"] = self.speechServersChoice.getInfo() ++ self.prefsDict["voices"] = { ++ settings.DEFAULT_VOICE : acss.ACSS(self.defaultVoice), ++ settings.UPPERCASE_VOICE : acss.ACSS(self.uppercaseVoice), ++ settings.HYPERLINK_VOICE : acss.ACSS(self.hyperlinkVoice) ++ } + + if self.disableKeyGrabPref: + keyGrabState = "true" -- cgit v1.2.3