Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103175 - libtheora--1.0alpha5 bump request
Summary: libtheora--1.0alpha5 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL: http://downloads.xiph.org/releases/th...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 13:19 UTC by Stefan de Konink
Modified: 2006-06-02 10:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libtheora-ebuild with mmx-support (libtheora-1.0_alpha5-r1.ebuild,1.46 KB, text/plain)
2005-10-17 08:23 UTC, Hanno Böck
Details
stock theora release to mmx release patch (theora-base-to-mmx.patch,234.00 KB, patch)
2006-01-02 20:11 UTC, Ian Leonard
Details | Diff
ebuild for above patch (libtheora-1.0_alpha5.ebuild,1.28 KB, application/octet-stream)
2006-01-02 20:15 UTC, Ian Leonard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2005-08-20 13:19:03 UTC
new theora version:

Change summary: (libtheora-1.0alpha5 released 2005 August 20)

 * Fixed bitrate management bugs that caused popping and encode
   errors
 * Fixed a crash problem with the theora_state internals not
   being intialized properly.
 * new utility function:
   - theora_granule_shift()
 * dump_video example now makes YUV4MPEG files by default, so
   the results can be fed back to encoder_example and similar
   tools. The old behavior is restored through the '-r' switch.
 * ./configure now prints a summary
 * simple unit test of the comment api under 'make check'
 * misc code cleanup, warning and leak fixes


Reproducible: Always
Steps to Reproduce:
Comment 1 James Cloos 2005-08-21 09:42:18 UTC
I tried this w/ success:

cp libtheora-1.0_alpha4-r1.ebuild libtheora-1.0_alpha5.ebuild
# comment out the epatch in libtheora-1.0_alpha5.ebuild
ebuild libtheora-1.0_alpha5.ebuild digest
emerge libtheora
Comment 2 Luca Barbato gentoo-dev 2005-08-21 10:20:20 UTC
Ebuild already in cvs, about other 10-20 min and you can get it

Thanks for the notices
Comment 3 Stefan de Konink 2005-08-25 05:16:43 UTC
Is it possible to support
http://downloads.xiph.org/releases/theora/libtheora-mmx-1.0alpha5.tar.bz2
with the x86 and mmx flags?
Comment 4 Luca Barbato gentoo-dev 2005-08-27 05:59:51 UTC
Could you please point me the release notes?
Comment 5 Stefan de Konink 2005-08-27 06:17:16 UTC
http://lists.xiph.org/pipermail/theora-dev/2005-August/002852.html

Along with libtheora-1.0alpha5 this is a release of theora-mmx.
A drop in replacement that uses MMX assembly to speedup some of
the most demanding routines in theora encoding/decoding.
Right now it only works on 32bit x86 CPUs.
Comment 6 James Cloos 2005-08-27 10:57:16 UTC
re the mmx version:

it is just a matter of using the mmx tar as SRC instead of the normal tar file,
iff (x86 || ~x86) ∈ ACCEPT_KEYWORDS and mmx ∈ USE.

the econf, emake and install calls should all work as is.
Comment 7 Hanno Böck gentoo-dev 2005-10-17 08:23:00 UTC
Created attachment 70852 [details]
libtheora-ebuild with mmx-support

Added mmx-useflag-support (speeds up things a lot), not very nice, if someone
knows portage-syntax better, please correct me.
I didn't find another way to do the use-flag checking in the SRC_URI and to
handle the different workdir-names.
Comment 8 Luca Barbato gentoo-dev 2005-10-17 12:05:55 UTC
the "x86?" part should/could be dropped.
how big would be a patch to make the non mmx one mmx?

I'd rather have the mmx support as patch and not as separate source.
Comment 9 Hanno Böck gentoo-dev 2005-10-17 13:12:16 UTC
A Patch (diff -Naur) takes 1,2 MB (585k bzip2-packed) and is not really 
practicable - seems the difference is too big. It also contains binary 
differences (pdfs), I don't know if this can be patched properly. 
Comment 10 Luca Barbato gentoo-dev 2005-10-18 12:46:52 UTC
sigh, making it a virtual would be overkill. go for it then.
Comment 11 Ian Leonard 2006-01-02 20:11:35 UTC
Created attachment 76037 [details, diff]
stock theora release to mmx release patch

236k patch to go from the base theora release to the mmx release for x86 mmx machines.

(36k as a .tar.bz2)
Comment 12 Ian Leonard 2006-01-02 20:15:40 UTC
Created attachment 76038 [details]
ebuild for above patch

Ebuild incorporating base-theora-to-mmx.patch
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-02 10:52:12 UTC
Closing as FIXED for the alpha5 bump, alpha6 won't be in portage (because of a few problems with it) but this will be properly fixed once alpha6a is released and in portage as that will contain already the MMX optimisations.