Re: [orca-list] Announcing Orca v3.7.4
- From: Josà Vilmar EstÃcio de Souza <vilmar informal com br>
- To: Peter VÃgner <pvdeejay gmail com>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] Announcing Orca v3.7.4
- Date: Tue, 15 Jan 2013 12:23:52 -0200
To instal python 3:
pacman -S python
You need to install gnome-common too, case not installed.
pacman -S gnome-common
You'll need automake version 1.2.6. With the current version, 1.3.1, I
had problems to build orca.
You'll need to downgrade automake package.
There is a tool in the aur repository called downgrade that can help a
lot. You can find more information on how to down grade a package but I
can send more information if need.
Now edit orca's PKGBUILD and change version from 3.6.3 to 3.7.4 or whatever.
Change the dependences from:
depends=(gtk3 at-spi2-atk python2-atspi python2-dbus python2-xdg
speech-dispatcher liblouis brltty
xorg-xmodmap hicolor-icon-theme)
to:
depends=(gtk3 at-spi2-atk python-atspi python-dbus python-xdg
speech-dispatcher liblouis brltty
xorg-xmodmap hicolor-icon-theme)
The next step is to generate the sha256sums of the new source.
You cann use the following command:
makepkg -g >>PKGBUILD
Pay attention to the two >> signals before the name of the file.
This will download the sources, generate the sha256sums and append in
the end of the PKGBUILD file.
Now you can try to build the package using:
makepkg -s
The -s flag will try to install the missing dependencies.
If all is ok, you'll end with a file called orca-3.7.4-1-any.pkg.tar.xz,
a file that can be installed with the pacman -U command.
But wait, do not install yet because you'll need to build and compile
speech-dispatcher 8 beta 1.
Basically the steps need to build speech-dispatcher are the same but I'm
pasting in this message the PKGBUILD that I used to build
speech-dispatcher in my machine.
Orca 3.6 doesn't work with the new speech-dispatcher and orca 3.7
doesn't work with the actual version of speech-dispatcher.
-------
# $Id: PKGBUILD 165252 2012-08-14 16:20:06Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea archlinux org>
# Contributor: Steve Holmes <steve holmes88 gmail com>
# Contributor: Alexander Jenisch <nt divzero at>
# Contributor: Chris Brannon <cmbrannon cox net>
# Contributor: Andreas Messer <andi bupfen de>
pkgname=speech-dispatcher
pkgver=0.8.beta1
__my=0.8-beta1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="High-level device independent layer for speech synthesis interface"
url="http://www.freebsoft.org/speechd"
license=('GPL2' 'FDL')
depends=('glib2' 'python3' 'dotconf' 'texinfo' 'libpulse')
makedepends=('pkgconfig' 'espeak')
optdepends=('festival: Speech output using Festival'
'espeak: Speech output using ESpeak'
'pulseaudio: PulseAudio support')
provides=("speechd=${pkgver}")
options=('!libtool')
backup=(etc/speech-dispatcher/clients/gnome-speech.conf
etc/speech-dispatcher/clients/emacs.conf
etc/speech-dispatcher/modules/ibmtts.conf
etc/speech-dispatcher/modules/espeak-generic.conf
etc/speech-dispatcher/modules/espeak.conf
etc/speech-dispatcher/modules/swift-generic.conf
etc/speech-dispatcher/modules/festival.conf
etc/speech-dispatcher/modules/cicero.conf
etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
etc/speech-dispatcher/modules/dtk-generic.conf
etc/speech-dispatcher/modules/llia_phon-generic.conf
etc/speech-dispatcher/modules/ivona.conf
etc/speech-dispatcher/modules/epos-generic.conf
etc/speech-dispatcher/modules/flite.conf
etc/speech-dispatcher/speechd.conf)
install="${pkgname}.install"
source=("http://www.freebsoft.org/pub/projects/speechd/$pkgname-$__my.tar.gz"
'speechd.sh' 'speech-dispatcherd.service')
md5sums=('96f8067a9796d1682c65925f867c3e7f'
'858293f464b83f03f3b6bb796291c71d'
'd26f52e2e95a30eaa83560f0e63faca5')
build() {
cd "${srcdir}/${pkgname}-${__my}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--without-flite
make
}
package() {
cd "${srcdir}/${pkgname}-${__my}"
make DESTDIR=${pkgdir} install
install -Dm755 ${srcdir}/speechd.sh ${pkgdir}/etc/rc.d/speechd
install -d "${pkgdir}/usr/lib/systemd/system/"
install -m644 "${srcdir}"/speech-dispatcherd.service
"${pkgdir}/usr/lib/systemd/system/"
install -d ${pkgdir}/var/log/speech-dispatcher
gzip -9nf ${pkgdir}/usr/share/info/*
# Remove conflicts with erlang (FS#21674)
}
-------
On 01/15/2013 11:26 AM, Peter VÃgner wrote:
Hello,
I would take PKGBUILD files from existing packages as a base and modify
it so it will compile newer versions. I think this part is clear to me.
However now I am still curious whether this is a lot of work and what
packages do I need to tweak PKBUILD scripts for, build and install this
way.
Python3 is already in one of the repos I think.
If I take py-atspi and orca PKBUILD scripts will I be able to pull other
dependencies automatically or is there more into it?
Or if this is doable perhaps we can upload git versions of these
packages into AUR.
Preferrably I would like to build the packages so I can go back or do
whatever if something goes wrong. I have found this packaging system
really avesome to use.
Greetings
Peter
On 15.01.2013 14:12, Josà Vilmar EstÃcio de Souza wrote:
No, you don't need to install gnome 3-7, at least until now. You need
to install python3 using pacman.
You can compile orca directly from git or create a package using a
PKGBUILD.
Actually I have orca 3.7.4 installed as a package and another version
compiled from git to test new commits.
I am also using at-spi2-core version 3.7.3.
I can send some instructions on how to compile orca and at-spi2-core
using PKGBUILD. The process is relatively easy since you already are
using arch.
On 01/15/2013 08:52 AM, Peter VÃgner wrote:
Hello,
I am also using arch for some two months. I have upgraded my system
three times without ruining it so far.
However I am curious do I need to install gnome 3.7 from testing or can
I install python3, manually install a lot of dependencies and test orca
on a gnome 3.6?
I am interested on how you are doing it Josee.
Do you have PKBUILD scripts for every single dependency or are just
using ./configure & make & make install where possible ?
Greetings
Peter
On 15.01.2013 10:57, Josà Vilmar EstÃcio de Souza wrote:
I think that even with ubuntu 12.10 you don't,.
What I did was move to arch, as suggested in this message.
The problem is that the arch requires the user to have some knowledge
of the system and some settings are not as automated as in ubuntu.
Moreover the existing documentation is very good in my opinion.
Thanks.
On 01/15/2013 07:41 AM, Thomas Ward wrote:
Hi Krishnakant,
Quick answer is you don't. Ubuntu 12.04 is too far out of date to run
Orca 3.7.4. Basically, if you want it we are talking about compiling
Gnome 3.6, possibly Gnome 3.7, upgrading to Python 3, and building all
the Python dependencies Orca needs. If you want bleeding edge builds
of Orca pick a different distribution like Arch which has a rolling
release for Gnome etc which is better for development and bleeding
edge testing of Gnome. Ubuntu while decent for a stable day to day
distribution is not great for bleeding edge testing of Gnome and Orca
without doing a lot of custom compiling and installing everything
yourself.
Cheers!
On 1/15/13, Krishnakant Mane <krmane gmail com> wrote:
Great work.
So what do I need to compile this version on Ubuntu 12.04 64 bit.
I am getting an error on GTK+ not properly installed.
It asks for a version which seems to be not there.
Kindly help.
Happy hacking.
Krishnakant.
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp
--
{}S Josà Vilmar EstÃcio de Souza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]