[MacPorts] #16589: DEFECT: ffmpeg -version fails to report correct svn revision

MacPorts noreply at macports.org
Thu Sep 18 21:46:40 PDT 2008


#16589: DEFECT:  ffmpeg -version fails to report correct svn revision
--------------------------------+-------------------------------------------
 Reporter:  db.evans at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.7.0                                
 Keywords:  ffmpeg              |        Port:  ffmpeg                               
--------------------------------+-------------------------------------------
 Building using the existing Portfile, the command ''ffmpeg -version''
 yields

 {{{
 FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
 }}}

 The ffmpeg makefiles depend on the existence of svn metadata to determine
 the correct svn revision but the current Portfile fetches
 the distribution using ''svn export'' resulting in no metadata.

 The attached patch to the Portfile uses ''svn co'' in the fetch
 phase to insure that the correct svn metadata is included.  In
 addition, a pre-fetch phase is included to forcably delete a
 pre-existing distribution, prior to the fetch phase,  if it does not
 contain metadata. This ensures that an existing installation
 will correctly upgrade in the presence of a pre-existing svn distribution
 without metadata.

 After building with the modified Portfile, ''ffmpeg -version'' yields

 {{{
 FFmpeg version SVN-r14381, Copyright (c) 2000-2008 Fabrice Bellard, et al.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/16589>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list