Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473726 - media-libs/x264 and media-video/x264-encoder version bump, updated ebuilds, add sub-slots
Summary: media-libs/x264 and media-video/x264-encoder version bump, updated ebuilds, a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 18:06 UTC by Nikoli
Modified: 2013-06-19 17:39 UTC (History)
0 users

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


Attachments
x264-0.0.20130423.ebuild (x264-0.0.20130423.ebuild,1.76 KB, text/plain)
2013-06-18 18:06 UTC, Nikoli
Details
live ebuild (x264-9999.ebuild,1.71 KB, text/plain)
2013-06-18 18:07 UTC, Nikoli
Details
x264-encoder-0.0.20130423.ebuild (x264-encoder-0.0.20130423.ebuild,1.99 KB, text/plain)
2013-06-18 18:07 UTC, Nikoli
Details
live ebuild (x264-encoder-9999.ebuild,2.08 KB, text/plain)
2013-06-18 18:07 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2013-06-18 18:06:56 UTC
Created attachment 351328 [details]
x264-0.0.20130423.ebuild

Please commit attached ebuilds and change media-libs/x264 in packages to media-libs/x264:= where appropriate.

What changed in reference to x264-0.0.20120707:
EAPI5
sub-slots
use 'stable' git branch instead of 'master'
set correct and full version number:
  $ x264 -V|head -n1
  x264 0.130.2282 1db4621
update yasm dep
add USE avs
add USE opencl
remove ugly USE custom-cflags
building gcc-4.8 is fixed upstream
ability to build x264cli with internal libx264
fixed media-libs/x264 dep in x264-encoder
cosmetics

For both opencl and avs dlopen is used, not linking. virtual/opencl and avxsynsh are not required at build time. Also it is safe to not install them even if you enabled USE avs and opencl, you will have no problems at runtime.
avs:
http://git.videolan.org/?p=x264.git;a=commit;h=eaae05ea3f104dc9fa948327e10649ec693adf0e
opencl:
http://git.videolan.org/?p=x264.git;a=commit;h=3a5f6c0aeacfcb21e7853ab4879f23ec8ae5e042
http://git.videolan.org/?p=x264.git;a=commit;h=a3ac64b8b467eea1264c0053022893bc84b2e9a2


Did not add prefix related workarounds to src_prepare because:
a) current portage ebuilds do not have any solaris keywords
bug #351219#c6
b) macos related sed seems not required anymore:
<lu_zero> the macosx change should get dropped

All attached ebuilds are now also in multimedia overlay.

There were no version bumps of x264 packages for almost year, seems not much people care about x264. I would to proxy maintain it.
Comment 1 Nikoli 2013-06-18 18:07:11 UTC
Created attachment 351330 [details]
live ebuild
Comment 2 Nikoli 2013-06-18 18:07:46 UTC
Created attachment 351332 [details]
x264-encoder-0.0.20130423.ebuild
Comment 3 Nikoli 2013-06-18 18:07:56 UTC
Created attachment 351334 [details]
live ebuild
Comment 4 Alexis Ballier gentoo-dev 2013-06-18 18:27:12 UTC
could you please attach diffs to current in-tree 9999 ebuilds? it'd be much easier to review (I assume the snapshot ebuild will be very similar)

for example: 
DEPEND="
	amd64? ( ${ASM_DEP} )
	x86? ( ${ASM_DEP} )
	x86-fbsd? ( ${ASM_DEP} )
	opencl? ( dev-lang/perl )
"

amd64-fbsd is missing
Comment 5 Alexis Ballier gentoo-dev 2013-06-18 18:29:28 UTC
also, that system-libx264 useflag thing is a very bad idea imho: we should always use it and be done.
Comment 6 Patrick McLean gentoo-dev 2013-06-18 23:06:18 UTC
media-libs/x264-0.0.20130506 and media-video/x264-encoder-0.0.20130506 are now in CVS.
Comment 7 Alexis Ballier gentoo-dev 2013-06-18 23:43:35 UTC
(In reply to Patrick McLean from comment #6)
> media-libs/x264-0.0.20130506 and media-video/x264-encoder-0.0.20130506 are
> now in CVS.

wtf? thanks for completely ignoring me... I pointed out at least 2 issues even without diff
Comment 8 Nikoli 2013-06-19 14:44:29 UTC
But why ebuilds have '20130506' in version? Both stable and master branches of x264 git do not have any commits with this date. And today is not 20130506.
Comment 9 Nikoli 2013-06-19 14:53:28 UTC
I think the bug is not fixed in tree, it needs further discussion. You dropped several changes from attached ebuilds without any comment or explanation, also some silently added changes are questionable.
Comment 10 Patrick McLean gentoo-dev 2013-06-19 17:39:49 UTC
Upstream recommended that as a "stable" version.