From 1ed97709d0d597d8f7568e01fb353aa3a4af5d74 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 17 Feb 2011 18:46:41 +0000 Subject: [PATCH 01/13] Don't remove the desktop files, as they are "no display" anyway (this would also have removed the autostart desktop file in newer versions of Orca) --- orca.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/orca.spec b/orca.spec index e8de047..9184b56 100644 --- a/orca.spec +++ b/orca.spec @@ -16,7 +16,7 @@ Name: orca Version: 2.91.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -95,9 +95,6 @@ done find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f -#remove the .desktop file since we configure orca through the accessibility capplet -find $RPM_BUILD_ROOT -name '*.desktop' | xargs rm -f - %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -119,10 +116,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/*/apps/orca.png %{_datadir}/icons/hicolor/scalable/apps/orca.svg %{_datadir}/orca +%{_datadir}/share/applications/orca.desktop %{_mandir}/man1/orca.1.gz %changelog +* Thu Feb 17 2011 Bastien Nocera 2.91.6-3 +- Don't remove the desktop files, as they are "no display" anyway + (this would also have removed the autostart desktop file in + newer versions of Orca) + * Tue Feb 08 2011 Fedora Release Engineering - 2.91.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 3c2872e21d741d2899071c4101f121df79006b6f Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 17 Feb 2011 19:07:31 +0000 Subject: [PATCH 02/13] Fix desktop path --- orca.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orca.spec b/orca.spec index 9184b56..1c97250 100644 --- a/orca.spec +++ b/orca.spec @@ -116,7 +116,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/*/apps/orca.png %{_datadir}/icons/hicolor/scalable/apps/orca.svg %{_datadir}/orca -%{_datadir}/share/applications/orca.desktop +%{_datadir}/applications/orca.desktop %{_mandir}/man1/orca.1.gz From 1d8ccd9677807ad9fda3ad2a28aff5c61fe3f31f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 20 Feb 2011 20:07:23 -0500 Subject: [PATCH 03/13] Fix dependencies --- orca.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/orca.spec b/orca.spec index 1c97250..8284fa4 100644 --- a/orca.spec +++ b/orca.spec @@ -16,7 +16,7 @@ Name: orca Version: 2.91.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -47,6 +47,7 @@ Provides: gnopernicus Requires: gnome-mag Requires: control-center >= %{control_center_version} Requires: pyatspi +Requires: PyYAML # http://lists.fedoraproject.org/pipermail/desktop/2010-October/006568.html Requires: at-spi-python @@ -57,6 +58,8 @@ Requires: gnome-python2-gconf Requires: gnome-python2-gnome Requires: gnome-speech +Requires: speech-dispatcher + %description Orca is a flexible, extensible, and powerful assistive technology for people with visual impairments. Using various combinations of speech synthesis, @@ -121,6 +124,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sun Feb 20 2011 Matthias Clasen 2.91.6-4 +- Fix dependencies + * Thu Feb 17 2011 Bastien Nocera 2.91.6-3 - Don't remove the desktop files, as they are "no display" anyway (this would also have removed the autostart desktop file in From 8d20a621db4bf51616301ac62865db9d722c60bc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Feb 2011 07:46:54 -0500 Subject: [PATCH 04/13] 2.91.90 --- .gitignore | 1 + orca.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a5815d7..fd73975 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ orca-2.31.6.tar.bz2 /orca-2.91.3.tar.bz2 /orca-2.91.5.tar.bz2 /orca-2.91.6.tar.bz2 +/orca-2.91.90.tar.bz2 diff --git a/orca.spec b/orca.spec index 8284fa4..74bb316 100644 --- a/orca.spec +++ b/orca.spec @@ -15,8 +15,8 @@ %define control_center_version 2.16.0-5 Name: orca -Version: 2.91.6 -Release: 4%{?dist} +Version: 2.91.90 +Release: 1%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -124,6 +124,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Feb 22 2011 Matthias Clasen 2.91.90-1 +- Update to 2.91.90 + * Sun Feb 20 2011 Matthias Clasen 2.91.6-4 - Fix dependencies diff --git a/sources b/sources index 1b2c39a..43bdb99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -51b51f8753540019319d7db8948bbcd6 orca-2.91.6.tar.bz2 +fe416dc9516e04efcf517739ab1b3f3c orca-2.91.90.tar.bz2 From ab7735ef31a2c8cef47baace7aa35d028ba6a84d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Feb 2011 07:58:18 -0500 Subject: [PATCH 05/13] Fix file list --- orca.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/orca.spec b/orca.spec index 74bb316..b3a3f0b 100644 --- a/orca.spec +++ b/orca.spec @@ -120,6 +120,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/scalable/apps/orca.svg %{_datadir}/orca %{_datadir}/applications/orca.desktop +%{_sysconfdir}/xdg/autostart/orca-autostart.desktop %{_mandir}/man1/orca.1.gz From 5c67fd737a880caa3d4604ba68c39cf0bbcc75b7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Mar 2011 23:02:03 -0500 Subject: [PATCH 06/13] 2.91.91 --- .gitignore | 1 + orca.spec | 72 +++++++++++++++++++++++------------------------------- sources | 2 +- 3 files changed, 32 insertions(+), 43 deletions(-) diff --git a/.gitignore b/.gitignore index fd73975..7a5c368 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ orca-2.31.6.tar.bz2 /orca-2.91.5.tar.bz2 /orca-2.91.6.tar.bz2 /orca-2.91.90.tar.bz2 +/orca-2.91.91.tar.bz2 diff --git a/orca.spec b/orca.spec index b3a3f0b..ed33545 100644 --- a/orca.spec +++ b/orca.spec @@ -14,26 +14,26 @@ %define brltty_version 3.7.2 %define control_center_version 2.16.0-5 -Name: orca -Version: 2.91.90 -Release: 1%{?dist} -Summary: Assistive technology for people with visual impairments +Name: orca +Version: 2.91.91 +Release: 1%{?dist} +Summary: Assistive technology for people with visual impairments -Group: User Interface/Desktops -License: LGPLv2+ -URL: http://projects.gnome.org/orca/ +Group: User Interface/Desktops +License: LGPLv2+ +URL: http://projects.gnome.org/orca/ #VCS: git:git://git.gnome.org/orca -Source0: http://download.gnome.org/sources/orca/2.91/orca-%{version}.tar.bz2 -BuildRequires: python-devel >= %{python_version} -BuildRequires: brlapi-devel >= %{brlapi_version} -BuildRequires: brltty >= %{brltty_version} -BuildRequires: pyorbit-devel >= %{pyorbit_version} -BuildRequires: pygtk2-devel >= %{pygtk2_version} +Source0: http://download.gnome.org/sources/orca/2.91/orca-%{version}.tar.bz2 +BuildRequires: python-devel >= %{python_version} +BuildRequires: brlapi-devel >= %{brlapi_version} +BuildRequires: brltty >= %{brltty_version} +BuildRequires: pyorbit-devel >= %{pyorbit_version} +BuildRequires: pygtk2-devel >= %{pygtk2_version} BuildRequires: pyxdg BuildRequires: PyYAML -BuildRequires: gnome-speech-devel >= %{gnome_speech_version} -BuildRequires: gettext -BuildRequires: intltool +BuildRequires: gnome-speech-devel >= %{gnome_speech_version} +BuildRequires: gettext +BuildRequires: intltool BuildRequires: gnome-python2-devel BuildRequires: gnome-python2-bonobo BuildRequires: gnome-python2-libwnck @@ -41,22 +41,22 @@ BuildRequires: gnome-python2-gconf BuildRequires: pyatspi BuildRequires: dbus-python BuildRequires: gnome-doc-utils -Obsoletes: gnopernicus -Provides: gnopernicus +Obsoletes: gnopernicus +Provides: gnopernicus -Requires: gnome-mag -Requires: control-center >= %{control_center_version} -Requires: pyatspi +Requires: gnome-mag +Requires: control-center >= %{control_center_version} +Requires: pyatspi Requires: PyYAML # http://lists.fedoraproject.org/pipermail/desktop/2010-October/006568.html -Requires: at-spi-python +Requires: at-spi-python -Requires: gnome-python2-bonobo -Requires: gnome-python2-libwnck +Requires: gnome-python2-bonobo +Requires: gnome-python2-libwnck Requires: gnome-python2-gconf -Requires: gnome-python2-gnome -Requires: gnome-speech +Requires: gnome-python2-gnome +Requires: gnome-speech Requires: speech-dispatcher @@ -80,22 +80,6 @@ make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} --with-gnome -# save space by linking identical images in translated docs -helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name} -for f in $helpdir/C/figures/*.png; do - b="$(basename $f)" - for d in $helpdir/*; do - if [ -d "$d" -a "$d" != "$helpdir/C" ]; then - g="$d/figures/$b" - if [ -f "$g" ]; then - if cmp -s $f $g; then - rm "$g"; ln -s "../../C/figures/$b" "$g" - fi - fi - fi - done -done - find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f %post @@ -125,6 +109,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Mon Mar 3 2011 Matthias Clasen 2.91.91-1 +- Update to 2.91.91 +- Drop a space-saving hack + * Tue Feb 22 2011 Matthias Clasen 2.91.90-1 - Update to 2.91.90 diff --git a/sources b/sources index 43bdb99..8119f76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fe416dc9516e04efcf517739ab1b3f3c orca-2.91.90.tar.bz2 +d96f931fe54adc88cf05b2622867e89d orca-2.91.91.tar.bz2 From d33086c9221beaca5ce545ba651423dc6b90596e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Mar 2011 11:30:19 -0400 Subject: [PATCH 07/13] 2.91.92 --- .gitignore | 1 + orca.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7a5c368..6b5644a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ orca-2.31.6.tar.bz2 /orca-2.91.6.tar.bz2 /orca-2.91.90.tar.bz2 /orca-2.91.91.tar.bz2 +/orca-2.91.92.tar.bz2 diff --git a/orca.spec b/orca.spec index ed33545..a3adcda 100644 --- a/orca.spec +++ b/orca.spec @@ -15,7 +15,7 @@ %define control_center_version 2.16.0-5 Name: orca -Version: 2.91.91 +Version: 2.91.92 Release: 1%{?dist} Summary: Assistive technology for people with visual impairments @@ -109,6 +109,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Mar 22 2011 Matthias Clasen 2.91.92-1 +- Update to 2.91.92 + * Mon Mar 3 2011 Matthias Clasen 2.91.91-1 - Update to 2.91.91 - Drop a space-saving hack diff --git a/sources b/sources index 8119f76..3cc6fc9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d96f931fe54adc88cf05b2622867e89d orca-2.91.91.tar.bz2 +8c558f7e63f6a95fe5ca05d57f1394dd orca-2.91.92.tar.bz2 From 3b24e5ef48de0572939050607991b39119ce02d3 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 25 Mar 2011 16:43:52 +0000 Subject: [PATCH 08/13] Use GSettings to check whether toolkit accessibility is enabled, patch from Frederic Crozat --- no-display.patch | 19 -------------- orca-1.0.0-add-stop-switch.patch | 43 ------------------------------- orca-2.17.4-add-stop-switch.patch | 43 ------------------------------- orca-fix-signal-handling.patch | 20 -------------- orca.spec | 11 +++++++- use-gsettings.patch | 15 +++++++++++ 6 files changed, 25 insertions(+), 126 deletions(-) delete mode 100644 no-display.patch delete mode 100644 orca-1.0.0-add-stop-switch.patch delete mode 100644 orca-2.17.4-add-stop-switch.patch delete mode 100644 orca-fix-signal-handling.patch create mode 100644 use-gsettings.patch diff --git a/no-display.patch b/no-display.patch deleted file mode 100644 index 2f1b9e3..0000000 --- a/no-display.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up orca-2.23.90/configure.in.no-display orca-2.23.90/configure.in ---- orca-2.23.90/configure.in.no-display 2008-08-23 11:35:26.000000000 -0400 -+++ orca-2.23.90/configure.in 2008-08-23 11:35:39.000000000 -0400 -@@ -101,7 +101,6 @@ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(C - - AM_CHECK_PYMOD(gettext,,,[AC_MSG_ERROR(Could not find python module gettext)]) - AM_CHECK_PYMOD(getopt,,,[AC_MSG_ERROR(Could not find python module getopt)]) --AM_CHECK_PYMOD(wnck,,,[AC_MSG_ERROR(Could not find python module wnck)]) - AM_CHECK_PYMOD(bonobo,,,[AC_MSG_ERROR(Could not find python module bonobo - make sure you have gnome-python with support for libbonobo-2.0 >= 2.14.0 installed)]) - AM_CHECK_PYMOD(ORBit,,,[AC_MSG_ERROR(Could not find python module ORBit - make sure you have pyorbit >= 2.14.0 installed)]) - AM_CHECK_PYMOD(ORBit,CORBA,,[AC_MSG_ERROR(Could not find python module ORBit.CORBA - make sure you have pyorbit >= 2.14.0 installed)]) -@@ -109,6 +108,7 @@ AM_CHECK_PYMOD(ORBit,CORBA,,[AC_MSG_ERRO - # Don't require the DISPLAY to be set - the gtk checking will fail - # if DISPLAY is not set, and we don't like that. - # -+#AM_CHECK_PYMOD(wnck,,,[AC_MSG_ERROR(Could not find python module wnck)]) - #AM_CHECK_PYMOD(gconf,,,[AC_MSG_ERROR(Could not find python module gconf - make sure you have pygtk >= 2.8.14 installed)]) - #AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(Could not find python module gtk - make sure you have pygtk >= 2.8.14 installed)]) - #AM_CHECK_PYMOD(gtk,gdk,,[AC_MSG_ERROR(Could not find python module gtk.gdk - make sure you have pygtk >= 2.8.14 installed)]) diff --git a/orca-1.0.0-add-stop-switch.patch b/orca-1.0.0-add-stop-switch.patch deleted file mode 100644 index 7c118ed..0000000 --- a/orca-1.0.0-add-stop-switch.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- orca-1.0.0/src/orca/orca.py.add-stop-switch 2006-08-27 19:29:38.000000000 -0400 -+++ orca-1.0.0/src/orca/orca.py 2006-09-19 22:12:47.000000000 -0400 -@@ -1160,7 +1160,10 @@ - "gui-setup", - "text-setup", - "no-setup", -- "version"]) -+ "version", -+ "stop"]) -+ -+ do_shutdown = False - for opt, val in opts: - if opt in ("-s", "--gui-setup", "--setup"): - setupRequested = True -@@ -1176,6 +1179,9 @@ - if opt in ("-v", "--version"): - print "Orca %s" % platform.version - os._exit(0) -+ if opt in ("--stop"): -+ do_shutdown = True -+ bypassSetup = True - except: - usage() - os._exit(2) -@@ -1185,7 +1191,7 @@ - import commands - a11yEnabled = commands.getoutput(\ - "gconftool-2 --get /desktop/gnome/interface/accessibility") -- if a11yEnabled != "true": -+ if a11yEnabled != "true" and not do_shutdown: - _showPreferencesConsole() - abort() - -@@ -1205,6 +1211,9 @@ - registry = atspi.Registry() - init(registry) - -+ if do_shutdown: -+ shutdown() -+ - # Check to see if the user wants the configuration GUI. It's - # done here so that the user's existing preferences can be used - # to set the initial GUI state. We'll also force the set to diff --git a/orca-2.17.4-add-stop-switch.patch b/orca-2.17.4-add-stop-switch.patch deleted file mode 100644 index 6d328a8..0000000 --- a/orca-2.17.4-add-stop-switch.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- orca-2.17.4/src/orca/orca.py.add-stop-switch 2006-12-12 20:21:31.000000000 -0500 -+++ orca-2.17.4/src/orca/orca.py 2006-12-20 01:12:04.000000000 -0500 -@@ -1297,7 +1297,10 @@ - "gui-setup", - "text-setup", - "no-setup", -- "version"]) -+ "version", -+ "stop"]) -+ -+ do_shutdown = False - for opt, val in opts: - if opt in ("-u", "--user-prefs-dir"): - userPrefsDir = val.strip(); -@@ -1353,6 +1356,9 @@ - if opt in ("-v", "--version"): - print "Orca %s" % platform.version - os._exit(0) -+ if opt in ("--stop"): -+ do_shutdown = True -+ bypassSetup = True - except: - debug.printException(debug.LEVEL_OFF) - usage() -@@ -1368,7 +1374,7 @@ - import commands - a11yEnabled = commands.getoutput(\ - "gconftool-2 --get /desktop/gnome/interface/accessibility") -- if (not bypassSetup) and (a11yEnabled != "true"): -+ if (not bypassSetup) and (a11yEnabled != "true" and not do_shutdown): - _showPreferencesConsole() - abort() - -@@ -1388,6 +1394,9 @@ - registry = atspi.Registry() - init(registry) - -+ if do_shutdown: -+ shutdown() -+ - # Check to see if the user wants the configuration GUI. It's - # done here so that the user's existing preferences can be used - # to set the initial GUI state. We'll also force the set to diff --git a/orca-fix-signal-handling.patch b/orca-fix-signal-handling.patch deleted file mode 100644 index 326650d..0000000 --- a/orca-fix-signal-handling.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: orca/src/orca/orca.in -=================================================================== ---- orca/src/orca/orca.in (revision 3817) -+++ orca/src/orca/orca.in (working copy) -@@ -272,9 +272,13 @@ else - # - if [ `egrep -c "\-s|\-g|\-t|\-n|\-u|\-e|\-d" <<< $ARGS` -eq 0 ] - then -- runOrca "NO_CLEANUP" -+ runOrca "NO_CLEANUP" & -+ orca_pid=$! -+ wait $orca_pid - else -- runOrca -+ runOrca & -+ orca_pid=$! -+ wait $orca_pid - fi - fi - fi diff --git a/orca.spec b/orca.spec index a3adcda..7075763 100644 --- a/orca.spec +++ b/orca.spec @@ -16,7 +16,7 @@ Name: orca Version: 2.91.92 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -60,6 +60,10 @@ Requires: gnome-speech Requires: speech-dispatcher +# Patch from release-team, will be redone for inclusion +# in upstream Orca +Patch0: use-gsettings.patch + %description Orca is a flexible, extensible, and powerful assistive technology for people with visual impairments. Using various combinations of speech synthesis, @@ -68,6 +72,7 @@ toolkits that support AT-SPI (e.g. the GNOME desktop). %prep %setup -q +%patch0 -p1 -b .use-gsettings %build %configure @@ -109,6 +114,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Mar 25 2011 Bastien Nocera 2.91.92-2 +- Use GSettings to check whether toolkit accessibility is enabled, + patch from Frederic Crozat + * Tue Mar 22 2011 Matthias Clasen 2.91.92-1 - Update to 2.91.92 diff --git a/use-gsettings.patch b/use-gsettings.patch new file mode 100644 index 0000000..b7393b5 --- /dev/null +++ b/use-gsettings.patch @@ -0,0 +1,15 @@ +Index: orca-2.91.92/src/orca/orca.in +=================================================================== +--- orca-2.91.92.orig/src/orca/orca.in ++++ orca-2.91.92/src/orca/orca.in +@@ -131,8 +131,8 @@ runOrca() + # all set and we don't need to muck around. + # + if [ "x$LOGNAME" != "xgdm" ] ; then +- ACCESSIBILITY_ENABLED=`gconftool-2 \ +- --get /desktop/gnome/interface/accessibility` ++ ACCESSIBILITY_ENABLED=`gsettings \ ++ get org.gnome.desktop.interface toolkit-accessibility` + if [ "x$ACCESSIBILITY_ENABLED" != "xtrue" ] ; then + # Because we will be running Orca in text-setup mode, we want to + # make sure it is run in a terminal window. If we're already in From 7c55e833e00743fc0f76b3f00b266bb61d92b6f9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 25 Mar 2011 23:26:41 -0400 Subject: [PATCH 09/13] 2.91.93 --- .gitignore | 1 + orca.spec | 12 +++++------- sources | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6b5644a..8f0516a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ orca-2.31.6.tar.bz2 /orca-2.91.90.tar.bz2 /orca-2.91.91.tar.bz2 /orca-2.91.92.tar.bz2 +/orca-2.91.93.tar.bz2 diff --git a/orca.spec b/orca.spec index 7075763..d83b1bd 100644 --- a/orca.spec +++ b/orca.spec @@ -15,8 +15,8 @@ %define control_center_version 2.16.0-5 Name: orca -Version: 2.91.92 -Release: 2%{?dist} +Version: 2.91.93 +Release: 1%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -60,10 +60,6 @@ Requires: gnome-speech Requires: speech-dispatcher -# Patch from release-team, will be redone for inclusion -# in upstream Orca -Patch0: use-gsettings.patch - %description Orca is a flexible, extensible, and powerful assistive technology for people with visual impairments. Using various combinations of speech synthesis, @@ -72,7 +68,6 @@ toolkits that support AT-SPI (e.g. the GNOME desktop). %prep %setup -q -%patch0 -p1 -b .use-gsettings %build %configure @@ -114,6 +109,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Fri Mar 25 2011 Matthias Clasen 2.91.93-1 +- Update to 2.91.93 + * Fri Mar 25 2011 Bastien Nocera 2.91.92-2 - Use GSettings to check whether toolkit accessibility is enabled, patch from Frederic Crozat diff --git a/sources b/sources index 3cc6fc9..2c871e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8c558f7e63f6a95fe5ca05d57f1394dd orca-2.91.92.tar.bz2 +86eeaa4f83f245ac5f081e19f7936ef3 orca-2.91.93.tar.bz2 From e9345275022bb4c2a3c4a10beb662313a59ebfba Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 3 Apr 2011 21:12:54 -0400 Subject: [PATCH 10/13] Clean up dependencies --- orca.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/orca.spec b/orca.spec index d83b1bd..1ecbf40 100644 --- a/orca.spec +++ b/orca.spec @@ -6,17 +6,13 @@ %define pyorbit_version 2.0.1 %define pygtk2_version 2.6.2 %define gnome_python_version 2.6.2 -%define gnome_python_version 2.6.2 -%define brltty_version 3.7.2 -%define gnome_speech_version 0.3.10 %define libspi_version 1.7.6 %define brlapi_version 0.4.1 %define brltty_version 3.7.2 -%define control_center_version 2.16.0-5 Name: orca Version: 2.91.93 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -30,8 +26,6 @@ BuildRequires: brltty >= %{brltty_version} BuildRequires: pyorbit-devel >= %{pyorbit_version} BuildRequires: pygtk2-devel >= %{pygtk2_version} BuildRequires: pyxdg -BuildRequires: PyYAML -BuildRequires: gnome-speech-devel >= %{gnome_speech_version} BuildRequires: gettext BuildRequires: intltool BuildRequires: gnome-python2-devel @@ -45,9 +39,8 @@ Obsoletes: gnopernicus Provides: gnopernicus Requires: gnome-mag -Requires: control-center >= %{control_center_version} +Requires: control-center Requires: pyatspi -Requires: PyYAML # http://lists.fedoraproject.org/pipermail/desktop/2010-October/006568.html Requires: at-spi-python @@ -56,7 +49,6 @@ Requires: gnome-python2-bonobo Requires: gnome-python2-libwnck Requires: gnome-python2-gconf Requires: gnome-python2-gnome -Requires: gnome-speech Requires: speech-dispatcher @@ -109,6 +101,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sun Apr 3 2011 Matthias Clasen 2.91.93-2 +- Drop PyYAML depencency (no longer used) +- Don't require gnome-speech (speech-dispatcher is preferred) + * Fri Mar 25 2011 Matthias Clasen 2.91.93-1 - Update to 2.91.93 From 3965767a3636d540ffd0d354eb8a52ea8a134f5e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 4 Apr 2011 20:51:11 -0400 Subject: [PATCH 11/13] 3.0.0 --- .gitignore | 1 + orca.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8f0516a..d1d8a2f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ orca-2.31.6.tar.bz2 /orca-2.91.91.tar.bz2 /orca-2.91.92.tar.bz2 /orca-2.91.93.tar.bz2 +/orca-3.0.0.tar.bz2 diff --git a/orca.spec b/orca.spec index 1ecbf40..d4d6d9a 100644 --- a/orca.spec +++ b/orca.spec @@ -11,8 +11,8 @@ %define brltty_version 3.7.2 Name: orca -Version: 2.91.93 -Release: 2%{?dist} +Version: 3.0.0 +Release: 1%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -50,6 +50,7 @@ Requires: gnome-python2-libwnck Requires: gnome-python2-gconf Requires: gnome-python2-gnome +Requires: gnome-speech Requires: speech-dispatcher %description @@ -101,6 +102,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Mon Apr 4 2011 Matthias Clasen 3.0.0-1 +- Update to 3.0.0 +- Bring the gnome-speech dependency back + * Sun Apr 3 2011 Matthias Clasen 2.91.93-2 - Drop PyYAML depencency (no longer used) - Don't require gnome-speech (speech-dispatcher is preferred) diff --git a/sources b/sources index 2c871e2..7dea585 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -86eeaa4f83f245ac5f081e19f7936ef3 orca-2.91.93.tar.bz2 +e5674a805075dae47d1624ddb8c0ce39 orca-3.0.0.tar.bz2 From 9daa0cfd0cf4fb65c5d9f17bbbc3f8b116e3061f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 7 Apr 2011 18:35:42 -0400 Subject: [PATCH 12/13] Don't autostart orca in KDE --- orca-not-for-kde.patch | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 orca-not-for-kde.patch diff --git a/orca-not-for-kde.patch b/orca-not-for-kde.patch new file mode 100644 index 0000000..a922368 --- /dev/null +++ b/orca-not-for-kde.patch @@ -0,0 +1,8 @@ +diff -up orca-3.0.0/orca-autostart.desktop.in.no-orca-for-kde orca-3.0.0/orca-autostart.desktop.in +--- orca-3.0.0/orca-autostart.desktop.in.no-orca-for-kde 2011-04-07 18:31:54.754435205 -0400 ++++ orca-3.0.0/orca-autostart.desktop.in 2011-04-07 18:32:09.448251503 -0400 +@@ -6,3 +6,4 @@ NoDisplay=true + AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-reader-enabled + X-GNOME-AutoRestart=true + #X-GNOME-Autostart-Phase=Initialization ++OnlyShowIn=GNOME; From e1dfcacdaad036ef1f95bf1e2633c04bd1aa78d4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 7 Apr 2011 18:36:36 -0400 Subject: [PATCH 13/13] Don't autostart in kde --- orca.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/orca.spec b/orca.spec index d4d6d9a..4b3cd96 100644 --- a/orca.spec +++ b/orca.spec @@ -12,7 +12,7 @@ Name: orca Version: 3.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Assistive technology for people with visual impairments Group: User Interface/Desktops @@ -20,6 +20,10 @@ License: LGPLv2+ URL: http://projects.gnome.org/orca/ #VCS: git:git://git.gnome.org/orca Source0: http://download.gnome.org/sources/orca/2.91/orca-%{version}.tar.bz2 + +# https://bugzilla.gnome.org/show_bug.cgi?id=647117 +Patch0: orca-not-for-kde.patch + BuildRequires: python-devel >= %{python_version} BuildRequires: brlapi-devel >= %{brlapi_version} BuildRequires: brltty >= %{brltty_version} @@ -61,6 +65,7 @@ toolkits that support AT-SPI (e.g. the GNOME desktop). %prep %setup -q +%patch0 -p1 -b .not-for-kde %build %configure @@ -102,6 +107,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Apr 7 2011 Matthias Clasen 3.0.0-2 +- Only autostart in GNOME + * Mon Apr 4 2011 Matthias Clasen 3.0.0-1 - Update to 3.0.0 - Bring the gnome-speech dependency back