php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69479 GD fails to build with newer libvpx
Submitted: 2015-04-18 07:37 UTC Modified: 2015-05-24 07:41 UTC
From: yui at funpanda dot ru Assigned: remi (profile)
Status: Closed Package: GD related
PHP Version: 5.5.24 OS: Linux
Private report: No CVE-ID: None
 [2015-04-18 07:37 UTC] yui at funpanda dot ru
Description:
------------
GD extension cannot be compiled with newer libvpx-1.4.0
as IMG_FMT_I420  PLANE_Y PLANE_U PLANE_V are renamed with namespace VPX_

similar problem with GStreamer
https://groups.google.com/a/webmproject.org/forum/#!topic/webm-discuss/cMtZfP-02pk

their patch: https://github.com/timvideos/gst-plugins-bad/commit/443af97a4114784c6c93bc388efdc20d69fc2832



Patches

php-gd-newvpx.diff (last revision 2015-04-18 08:57 UTC by yui at funpanda dot ru)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-20 05:34 UTC] laruence@php.net
could you please make a PR on github.com instead?

thanks
 [2015-04-20 05:34 UTC] laruence@php.net
could you please make a PR on github.com instead?

thanks
 [2015-04-20 08:41 UTC] yui at funpanda dot ru
sorry Xinchen, i'm not registered at Github at the moment, and i'm not going to register at GH for now, can you do it yourself?

Additionally - i dont think its necessary to keep old namespace, one of the commenters at webM groups said - all libvpx newer than 2010 support new VPX_ prefixed namespace, compatibility mode has been removed in 1.4.0 release.
I havent tested that, and i dont have something like ancient centos with really old libvpx to check it out.
 [2015-05-24 07:21 UTC] olemarkus@php.net
I created a pull request for him now:
https://github.com/php/php-src/pull/1304
 [2015-05-24 07:40 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e807e07bfa22eefd5aebf13498c1df16c90afb0a
Log: Fixed Bug #69479 GD fails to build with newer libvpx
 [2015-05-24 07:40 UTC] remi@php.net
-Status: Open +Status: Closed
 [2015-05-24 07:41 UTC] remi@php.net
-Assigned To: +Assigned To: remi
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 12:01:27 2024 UTC