Bug 506

Summary: RFE: use system libass
Product: Fedora Reporter: Martin Sourada <mso>
Component: avidemuxAssignee: Richard <hobbes1069>
Status: RESOLVED FIXED    
Severity: normal CC: hobbes1069
Priority: P5    
Version: 14   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: Patch to use system libass instead of bundled.

Description Martin Sourada 2009-04-07 18:48:34 CEST
I've recently added libass library to Fedora repos (already in Rawhide and in updates-testing for F9 and F10) mainly for gstreamer-plugins-bad needs. Because avidemux is also its user, but contains an internal copy, it thought I'd request usage of the system one.

Thanks for consideration.

Referenced review request for libass:
https://bugzilla.redhat.com/show_bug.cgi?id=491550
Comment 1 Richard 2011-05-25 21:10:34 CEST
Ok, it's only been two year, but better late than never!

I've looked into this a little but I'm not a programmer and I don't know how easy it will be to implement. I'll see what I can do.
Comment 2 Richard 2011-05-26 02:59:04 CEST
Created attachment 631 [details]
Patch to use system libass instead of bundled.

This patch appears to work but I am no cmake expert and just hacked my way through it.

output of ldd:
$ ldd /usr/lib64/ADM_plugins/videoFilter/libADM_vf_ssa.so 
	linux-vdso.so.1 =>  (0x00007fffed8cc000)
	libass.so.4 => /usr/lib64/libass.so.4 (0x00007ff4c8da3000)
	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007ff4c8b0d000)
	libADM_core.so => /usr/lib64/libADM_core.so (0x00007ff4c8905000)
	libADM_coreUI.so => /usr/lib64/libADM_coreUI.so (0x00007ff4c86ef000)
	libADM_coreImage.so => /usr/lib64/libADM_coreImage.so (0x00007ff4c84dc000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007ff4c81d5000)
	libm.so.6 => /lib64/libm.so.6 (0x00007ff4c7f50000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff4c7d3a000)
	libc.so.6 => /lib64/libc.so.6 (0x00007ff4c799e000)
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007ff4c7768000)
	libenca.so.0 => /usr/lib64/libenca.so.0 (0x00007ff4c7535000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007ff4c7331000)
	libADM5swscale.so.0 => /usr/lib64/libADM5swscale.so.0 (0x00007ff4c70dd000)
	libADM5postproc.so.51 => /usr/lib64/libADM5postproc.so.51 (0x00007ff4c6eb4000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003e44600000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff4c6c8c000)
	libADM5avutil.so.50 => /usr/lib64/libADM5avutil.so.50 (0x00007ff4c6a75000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff4c6859000)