[Bug 432259] Review Request: speech-dispatcher - Required for speech synthesis on OLPC XO

bugzilla at redhat.com bugzilla at redhat.com
Sun Jul 13 18:16:37 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: speech-dispatcher - Required for speech synthesis on OLPC XO


https://bugzilla.redhat.com/show_bug.cgi?id=432259





------- Additional Comments From goyal.hemant at gmail.com  2008-07-13 14:16 EST -------
Hi,

I need to do some conditional building for the OLPC-2 and OLPC-3 branches. For
example I want to build without pulseaudio and nas support for OLPC. So I would
like to remove the BUildRequires for nas and pulseaudio and also disable support
for nas and pulse-audio.

How can I go about detecting that I am building for the OLPC branch?

I tried a few scratch builds with KOJI for the following SRPM : 
http://koji.fedoraproject.org/koji/getfile?taskID=712818&name=speech-dispatcher-0.6.6-14.olpc2.src.rpm

It built successfully for the OLPC branch.

However, it failed for the F-9 branch with the following error:
*** Required Glib-2.0 library missing! See INSTALL .

This is how I am detecting that I am building for OLPC-2/3:

%if 1%{?olpc} >= 2
Buildrequires:	nas-devel
Buildrequires:	pulseaudio-lib-devel
%endif

And this is how I should be forcing to build without nas/pulse-audio support
although its a little different in the actual SRPM that I submitted for scratch
build):

%if 1%{?olpc} >= 2
%configure --disable-static
make %{?_smp_mflags}
%else
%configure --disable-static --without-nas --without-pulse
make %{?_smp_mflags}
%endif

Am I detecting the olpc branch correctly? Or is there some other problem?

Thanks,
Hemant

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list