Re: [orca-list] how to obtain Orca master in Ubuntu 22.04?



Hi,
I noticed python3.10 in /usr/local/lib/
I had no luck with:
sudo ln -sf /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/site-packages
also no luck after ./autogen.sh with:
./configure --prefix=/usr
After cd orca and git pull Orca says 'already up-to-date'.
Orca+H still says 42.
Milton

Op 26-04-2022 om 23:13 schreef John Covici:
Easier miehg be to do the following.  After the ./autogen, do
./configure --prefix=/usr so it will install in /usr instead of
/usr/local and the libraries will install in the correct place also.

On Tue, 26 Apr 2022 16:00:08 -0400,
Jeremy Lincicome via orca-list wrote:
On 4/26/22 13:20, Milton wrote:
In /usr/local/lib/python3.10/ there is only dist-packages

How do I obtain site-packages?

Or is all I have to do is execute:

sudo ln -sf /usr/local/lib/python3.10/dist-packages
/usr/local/lib/python3.10/site-packages
Yes. That's all you have to do.

Jeremy
Op 25-04-2022 om 19:39 schreef Jeremy Lincicome:
On 4/23/22 14:18, Milton via orca-list wrote:
Yes, but still Orca+H says version 42. I expect to hear 43-alpha.
The problem is that Orca installs itself into
/usr/local/lib/python3_version/site-packages. Ubuntu expects
it to be installed into
/usr/local/lib/python3_version/dist-packages. Python3_version
is the version of python3 you have installed. Example: Python
3.10.4
You need to remove
/usr/local/lib/python3_version/site-packages, then symlink it
to /usr/local/lib/python3_version/dist-packages.
Example: sudo ln -sf /usr/local/lib/python3.10.4/dist-packages
/usr/local/lib/python3.10.4/site-packages
Finally, recompile Orca.
I have a script that tracks my Python version and recompiles
Orca. If you would like to use it, here it is.

###Start copying here###
#!/bin/bash
# update-orca: Update the Orca screen reader from source
#    Copyright (C) 2020-2022  Jeremy Lincicome
# <https://jlappliedtechnologies.com> <admin jlappliedtechnologies com>
#
#    This program is free software: you can redistribute it
and/or modify
#    it under the terms of the GNU General Public License as
published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see
<http://www.gnu.org/licenses/>.
#
# Script Start
echo "Starting the Orca update"
cd $HOME/sources/orca
sudo -k
sudo -p "To install Orca, your password is required.
Please enter your password to continue: " echo "Password accepted"
sleep 0.5s
echo "Checking that all needed packages are installed..."
(sudo apt-get -qq -y build-dep orca;sudo apt-get -qq -y
install libatk1.0-dev)
echo "Done"
sleep 0.5s
sudo -v
echo "Downloading the latest sources..."
git config pull.rebase false
(git checkout -f;git clean -f) > /dev/null
git pull
echo "Done"
sleep 0.5s
echo "Creating make files..."
pyversion="$(python3 --version | cut -c 7-11)"
pydirectory="/usr/local/lib/python$(echo ${pyversion})/"
[ -d "${pydirectory}site-packages" ] && (sudo rm -rf
"${pydirectory}site-packages"&&sudo ln -fs
"${pydirectory}dist-packages" "${pydirectory}site-packages")
|| sudo ln -fs "${pydirectory}dist-packages"
"${pydirectory}site-packages"
PYTHON="$(python3 --version)" ./autogen.sh
echo "Done"
sleep 0.5s
echo "Building Orca, please wait..."
make -j $(nproc --all)
echo "Done."
sleep 0.5s
echo "Finishing installation..."
sudo make -j $(nproc --all) install
sudo -k
spd-say -S -C
(echo "Orca update complete";spd-say -S;sleep 0.5s;spd-say -w
" orca update complete")
spd-say -S -C
(echo "Orca restarted";spd-say -S;sleep 0.5s;spd-say -w " orca
restarted")
sleep 1.5s
orca --replace &
echo "Done"
sync
exit 0
###Stop copying here###

If you use this script, the Orca repository needs to be in
/home/<your_user>/sources/orca. Please read through the code
before using it. If there's anything you don't understand,
please ask.

Hope this helps,
Jeremy

Op 23-04-2022 om 21:05 schreef Jason White:
On 23/4/22 14:20, Milton wrote:
After execute /usr/local/bin/orca --replace in a terminal I noticed:
Warning: could not load keyboard geometry for :0
BadName (named color or font does not exist)
Resulting keymap file will not describe geometry

Ignore it unless you encounter issues that might be related.
--
Jeremy Lincicome W0JRL
JL Applied Technologies:
https://jlappliedtechnologies.com/
SkyHubLink System:
https://skyhublink.com/

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]