import gnopernicus 1.1.2

Gnopernicus is part of the GNOME Accessibility Project. It is a screen
reader and magnifier and it enables users with limited vision, or no
vision, to use the Gnome 2 desktop and Gnome/GTK+2 applications
effectively. By providing automated focus tracking and fullscreen
magnification, Gnopernicus aids low-vision Gnome users.

feedback and ok ajacoutot@
This commit is contained in:
jasper 2008-03-17 19:09:42 +00:00
parent e51daed503
commit 6cd1acdbca
8 changed files with 326 additions and 0 deletions

View File

@ -0,0 +1,62 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
COMMENT= screen reader and magnifier for GNOME desktop
GNOME_PROJECT= gnopernicus
GNOME_VERSION= 1.1.2
SHARED_LIBS += srutil 0.0 # .2.0
SHARED_LIBS += srconf 0.0 # .2.0
SHARED_LIBS += brl 0.0 # .2.0
SHARED_LIBS += srs 0.0 # .2.0
SHARED_LIBS += srlow 0.0 # .2.0
SHARED_LIBS += ke 0.0 # .2.0
SHARED_LIBS += mag 0.0 # .2.0
HOMEPAGE= http://www.baum.ro/gnopernicus.html
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext \
x11/gnome
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender Xtst art_lgpl_2 atk-1.0 audiofile bonobo-2 \
bonobo-activation bonoboui-2 c cairo crypto cspi dbus-1 \
dbus-glib-1 esd expat fontconfig freetype gailutil \
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glade-2.0 glib-2.0 \
glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \
gnomeui-2 gnomevfs-2 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre png \
popt pthread spi ssl util xml2 z
BUILD_DEPENDS= ::textproc/scrollkeeper
RUN_DEPENDS= ::textproc/scrollkeeper \
::x11/gnome/yelp
LIB_DEPENDS= gnome-mag::x11/gnome/mag \
gnomespeech::x11/gnome/speech
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnopernicus/ \
--with-default-fonts-path=${X11BASE}/lib/X11/fonts/Type1 \
--disable-schemas-install \
--disable-scrollkeeper \
--disable-brltty \
--disable-gtk-doc \
--disable-paranoia \
--enable-ipv6 \
--enable-magnifier
FAKE_FLAGS= translationdir=${PREFIX}/share/examples/gnopernicus/translation_tables
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnome/gnopernicus-1.1.2.tar.bz2) = ZGd9+JYaaKcwAzkxZvcQvQ==
RMD160 (gnome/gnopernicus-1.1.2.tar.bz2) = G1s09PoIW05vsSZQMmcE44Y9v1U=
SHA1 (gnome/gnopernicus-1.1.2.tar.bz2) = Fhv5uWMw2wECjCZ7OIXXtzTO73E=
SHA256 (gnome/gnopernicus-1.1.2.tar.bz2) = iKdQ6tBH5S7jxlW9TVlH2RMWGey/VrwZd8ijv25PUhQ=
SIZE (gnome/gnopernicus-1.1.2.tar.bz2) = 1578754

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
--- configure.orig Wed Feb 13 21:31:03 2008
+++ configure Wed Feb 13 21:34:19 2008
@@ -21725,6 +21725,12 @@ case $system in
TTYNAME_2="/dev/cuaa2"
TTYNAME_3="/dev/cuaa3"
;;
+ OpenBSD-*)
+ TTYNAME_0="/dev/cua00"
+ TTYNAME_1="/dev/cua01"
+ TTYNAME_2="/dev/cua02"
+ TTYNAME_3="/dev/cua03"
+ ;;
*)
echo "Can't figure out the name of the serial port on this OS"
;;

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-srcore_srspc_c,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
--- srcore/srspc.c.orig Wed Feb 13 21:29:57 2008
+++ srcore/srspc.c Wed Feb 13 21:30:18 2008
@@ -1536,8 +1536,9 @@ 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);
speech_timeout_id = g_timeout_add (SRC_SPEECH_RESTART_TIMEOUT, src_timeout_start_speech, NULL);
}

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-srlow_libsrlow_SRLow_c,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
--- srlow/libsrlow/SRLow.c.orig Wed Feb 13 21:28:33 2008
+++ srlow/libsrlow/SRLow.c Wed Feb 13 21:29:24 2008
@@ -645,8 +645,10 @@ srl_get_focused_cell (Accessible *acc_table)
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))

View File

@ -0,0 +1,5 @@
Gnopernicus is part of the GNOME Accessibility Project. It is a screen
reader and magnifier and it enables users with limited vision, or no
vision, to use the Gnome 2 desktop and Gnome/GTK+2 applications
effectively. By providing automated focus tracking and fullscreen
magnification, Gnopernicus aids low-vision Gnome users.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
@lib lib/gnopernicus-1.0/libbrl.so.${LIBbrl_VERSION}
@lib lib/gnopernicus-1.0/libke.so.${LIBke_VERSION}
@lib lib/gnopernicus-1.0/libmag.so.${LIBmag_VERSION}
@lib lib/gnopernicus-1.0/libsrconf.so.${LIBsrconf_VERSION}
@lib lib/gnopernicus-1.0/libsrlow.so.${LIBsrlow_VERSION}
@lib lib/gnopernicus-1.0/libsrs.so.${LIBsrs_VERSION}
@lib lib/gnopernicus-1.0/libsrutil.so.${LIBsrutil_VERSION}

View File

@ -0,0 +1,201 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/03/17 19:09:42 jasper Exp $
%%SHARED%%
bin/gnopernicus
bin/gnopernicus-mag-config
bin/srcore
include/gnopernicus-1.0/
include/gnopernicus-1.0/libbrl/
include/gnopernicus-1.0/libbrl/brlxmlapi.h
include/gnopernicus-1.0/libke/
include/gnopernicus-1.0/libke/libke.h
include/gnopernicus-1.0/libmag/
include/gnopernicus-1.0/libmag/magxmlapi.h
include/gnopernicus-1.0/libsrconf/
include/gnopernicus-1.0/libsrconf/libsrconf.h
include/gnopernicus-1.0/libsrlow/
include/gnopernicus-1.0/libsrlow/SRLow.h
include/gnopernicus-1.0/libsrlow/SRObject.h
include/gnopernicus-1.0/libsrlow/screen-review.h
include/gnopernicus-1.0/libsrs/
include/gnopernicus-1.0/libsrs/srs-xml.h
include/gnopernicus-1.0/libsrutil/
include/gnopernicus-1.0/libsrutil/SREvent.h
include/gnopernicus-1.0/libsrutil/SRMessages.h
include/gnopernicus-1.0/libsrutil/srintl.h
include/gnopernicus-1.0/libsrutil/sru-debug.h
include/gnopernicus-1.0/libsrutil/sru-glib.h
include/gnopernicus-1.0/libsrutil/sru-module.h
include/gnopernicus-1.0/libsrutil/sru-test.h
include/gnopernicus-1.0/libsrutil/util.h
lib/gnopernicus-1.0/
lib/gnopernicus-1.0/libbrl.a
lib/gnopernicus-1.0/libbrl.la
lib/gnopernicus-1.0/libke.a
lib/gnopernicus-1.0/libke.la
lib/gnopernicus-1.0/libmag.a
lib/gnopernicus-1.0/libmag.la
lib/gnopernicus-1.0/libsrconf.a
lib/gnopernicus-1.0/libsrconf.la
lib/gnopernicus-1.0/libsrlow.a
lib/gnopernicus-1.0/libsrlow.la
lib/gnopernicus-1.0/libsrs.a
lib/gnopernicus-1.0/libsrs.la
lib/gnopernicus-1.0/libsrutil.a
lib/gnopernicus-1.0/libsrutil.la
lib/pkgconfig/gnopernicus-1.0.pc
libexec/brlmonitor
share/applications/gnopernicus.desktop
share/examples/gnopernicus/
share/examples/gnopernicus/translation_tables/
share/examples/gnopernicus/translation_tables/de.a2b
share/examples/gnopernicus/translation_tables/en_US.a2b
share/examples/gnopernicus/translation_tables/es.a2b
share/examples/gnopernicus/translation_tables/fr.a2b
share/examples/gnopernicus/translation_tables/sv.a2b
share/gnome/help/brlmonitor/
share/gnome/help/brlmonitor/C/
share/gnome/help/brlmonitor/C/brlmonitor.xml
share/gnome/help/brlmonitor/C/legal.xml
share/gnome/help/brlmonitor/es/
share/gnome/help/brlmonitor/es/brlmonitor.xml
share/gnome/help/brlmonitor/es/legal.xml
share/gnome/help/gnopernicus/
share/gnome/help/gnopernicus/C/
share/gnome/help/gnopernicus/C/gnopernicus.xml
share/gnome/help/gnopernicus/C/legal.xml
share/gnome/help/gnopernicus/es/
share/gnome/help/gnopernicus/es/gnopernicus.xml
share/gnome/help/gnopernicus/es/legal.xml
share/gnome/help/gnopernicus/pt_BR/
share/gnome/help/gnopernicus/pt_BR/figures/
share/gnome/help/gnopernicus/pt_BR/figures/gnopernicus.png
share/gnome/help/gnopernicus/pt_BR/gnopernicus.xml
share/gnome/help/gnopernicus/pt_BR/legal.xml
share/gnopernicus/
share/gnopernicus/glade/
share/gnopernicus/glade/gnopi_files/
share/gnopernicus/glade/gnopi_files/Braille_Monitor_Settings/
share/gnopernicus/glade/gnopi_files/Braille_Monitor_Settings/braille_monitor_settings.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/
share/gnopernicus/glade/gnopi_files/Braille_Settings/attribute_settings.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/braille_device.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/braille_fill_char.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/braille_mapping.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/braille_settings.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/braille_style.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/cursor_settings.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/status_cell.glade2
share/gnopernicus/glade/gnopi_files/Braille_Settings/translation_table.glade2
share/gnopernicus/glade/gnopi_files/Find/
share/gnopernicus/glade/gnopi_files/Find/find.glade2
share/gnopernicus/glade/gnopi_files/Find/text_selected_24.png
share/gnopernicus/glade/gnopi_files/General_Settings/
share/gnopernicus/glade/gnopi_files/General_Settings/general_settings.glade2
share/gnopernicus/glade/gnopi_files/Keyboard_Mouse_Settings/
share/gnopernicus/glade/gnopi_files/Keyboard_Mouse_Settings/keyboard_mouse_settings.glade2
share/gnopernicus/glade/gnopi_files/Language/
share/gnopernicus/glade/gnopi_files/Language/language.glade2
share/gnopernicus/glade/gnopi_files/Load_Default/
share/gnopernicus/glade/gnopi_files/Load_Default/load_default.glade2
share/gnopernicus/glade/gnopi_files/Magnifier_Settings/
share/gnopernicus/glade/gnopi_files/Magnifier_Settings/magnifier_settings.glade2
share/gnopernicus/glade/gnopi_files/Presentation/
share/gnopernicus/glade/gnopi_files/Presentation/presentation.glade2
share/gnopernicus/glade/gnopi_files/Screen_Review/
share/gnopernicus/glade/gnopi_files/Screen_Review/screen_review.glade2
share/gnopernicus/glade/gnopi_files/Speech_Settings/
share/gnopernicus/glade/gnopi_files/Speech_Settings/speech_settings.glade2
share/gnopernicus/glade/gnopi_files/User_Properties/
share/gnopernicus/glade/gnopi_files/User_Properties/user_properties.glade2
share/gnopernicus/glade/gnopi_files/braille.xpm
share/gnopernicus/glade/gnopi_files/gnopi.glade2
share/gnopernicus/glade/gnopi_files/keyboard.xpm
share/gnopernicus/glade/gnopi_files/monitor.png
share/gnopernicus/glade/gnopi_files/start_up.png
share/gnopernicus/presentation/
share/gnopernicus/presentation/default.xml
share/gnopernicus/presentation/verbose.xml
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/gnopernicus.png
share/locale/ar/LC_MESSAGES/gnopernicus.mo
share/locale/az/LC_MESSAGES/gnopernicus.mo
share/locale/be/LC_MESSAGES/gnopernicus.mo
share/locale/bg/LC_MESSAGES/gnopernicus.mo
share/locale/bn/LC_MESSAGES/gnopernicus.mo
share/locale/bn_IN/LC_MESSAGES/gnopernicus.mo
share/locale/ca/LC_MESSAGES/gnopernicus.mo
share/locale/cs/LC_MESSAGES/gnopernicus.mo
share/locale/cy/LC_MESSAGES/gnopernicus.mo
share/locale/da/LC_MESSAGES/gnopernicus.mo
share/locale/de/LC_MESSAGES/gnopernicus.mo
share/locale/dz/LC_MESSAGES/gnopernicus.mo
share/locale/el/LC_MESSAGES/gnopernicus.mo
share/locale/en_CA/LC_MESSAGES/gnopernicus.mo
share/locale/en_GB/LC_MESSAGES/gnopernicus.mo
share/locale/es/LC_MESSAGES/gnopernicus.mo
share/locale/et/LC_MESSAGES/gnopernicus.mo
share/locale/eu/LC_MESSAGES/gnopernicus.mo
share/locale/fa/LC_MESSAGES/gnopernicus.mo
share/locale/fi/LC_MESSAGES/gnopernicus.mo
share/locale/fr/LC_MESSAGES/gnopernicus.mo
share/locale/ga/LC_MESSAGES/gnopernicus.mo
share/locale/gl/LC_MESSAGES/gnopernicus.mo
share/locale/gu/LC_MESSAGES/gnopernicus.mo
share/locale/hi/LC_MESSAGES/gnopernicus.mo
share/locale/hr/LC_MESSAGES/gnopernicus.mo
share/locale/hu/LC_MESSAGES/gnopernicus.mo
share/locale/id/LC_MESSAGES/gnopernicus.mo
share/locale/it/LC_MESSAGES/gnopernicus.mo
share/locale/ja/LC_MESSAGES/gnopernicus.mo
share/locale/ka/LC_MESSAGES/gnopernicus.mo
share/locale/ko/LC_MESSAGES/gnopernicus.mo
share/locale/lt/LC_MESSAGES/gnopernicus.mo
share/locale/lv/LC_MESSAGES/gnopernicus.mo
share/locale/mn/LC_MESSAGES/gnopernicus.mo
share/locale/mr/LC_MESSAGES/gnopernicus.mo
share/locale/ms/LC_MESSAGES/gnopernicus.mo
share/locale/nb/LC_MESSAGES/gnopernicus.mo
share/locale/ne/LC_MESSAGES/gnopernicus.mo
share/locale/nl/LC_MESSAGES/gnopernicus.mo
share/locale/or/LC_MESSAGES/gnopernicus.mo
share/locale/pa/LC_MESSAGES/gnopernicus.mo
share/locale/pl/LC_MESSAGES/gnopernicus.mo
share/locale/pt/LC_MESSAGES/gnopernicus.mo
share/locale/pt_BR/LC_MESSAGES/gnopernicus.mo
share/locale/ro/LC_MESSAGES/gnopernicus.mo
share/locale/ru/LC_MESSAGES/gnopernicus.mo
share/locale/rw/LC_MESSAGES/gnopernicus.mo
share/locale/sk/LC_MESSAGES/gnopernicus.mo
share/locale/sq/LC_MESSAGES/gnopernicus.mo
share/locale/sr/LC_MESSAGES/gnopernicus.mo
share/locale/sr@Latn/LC_MESSAGES/gnopernicus.mo
share/locale/sv/LC_MESSAGES/gnopernicus.mo
share/locale/ta/LC_MESSAGES/gnopernicus.mo
share/locale/te/
share/locale/te/LC_MESSAGES/
share/locale/te/LC_MESSAGES/gnopernicus.mo
share/locale/th/LC_MESSAGES/gnopernicus.mo
share/locale/tr/LC_MESSAGES/gnopernicus.mo
share/locale/uk/LC_MESSAGES/gnopernicus.mo
share/locale/vi/LC_MESSAGES/gnopernicus.mo
share/locale/zh_CN/LC_MESSAGES/gnopernicus.mo
share/locale/zh_HK/LC_MESSAGES/gnopernicus.mo
share/locale/zh_TW/LC_MESSAGES/gnopernicus.mo
share/omf/gnopernicus/
share/omf/gnopernicus/brlmonitor-C.omf
share/omf/gnopernicus/brlmonitor-es.omf
share/omf/gnopernicus/gnopernicus-C.omf
share/omf/gnopernicus/gnopernicus-es.omf
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/gnopernicus/*.schemas > /dev/null
share/schemas/gnopernicus/
share/schemas/gnopernicus/brlmonitor.schemas
share/schemas/gnopernicus/gnopernicus.schemas
share/schemas/gnopernicus/remote.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/gnopernicus/*.schemas > /dev/null
@exec %D/bin/scrollkeeper-update -q
@unexec %D/bin/scrollkeeper-update -q
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database