Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 32696

Summary: patch to gst-plugins.eclass to speed up ./configure
Product: Gentoo Linux Reporter: Alastair Tse (RETIRED) <liquidx>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: 1.4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gst-plugins.eclass-speedup.patch

Description Alastair Tse (RETIRED) gentoo-dev 2003-11-04 02:01:27 UTC
I've been playing around with speeding up gst-plugins-* by removing the generation of unneccessary Makefiles. Attached is the patch to gst-plugins.eclass.

I'm putting this on bugzilla because it needs to be reviewed (foser ;), and i'm not comfortable applying it without more testing.

Basically, it looks for (ext|sys)/${GST_PLUGINS_BUILD_DIR} and then munges configure to just generate Makefile, sys|ext/Makefile and sys|ext/${GST_PLUGINS_BUILD_DIR}/Makefile. The first two possibly even be omitted, but at least it reduces the number of generated Makefiles from like 138 to 3.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-11-04 02:03:48 UTC
Created attachment 20241 [details, diff]
gst-plugins.eclass-speedup.patch

here's the patch. i've tested it on -oss, -mad and -vorbis. still testing
the
other plugins
Comment 2 foser (RETIRED) gentoo-dev 2003-11-12 04:15:10 UTC
oh right.. sorta forgot about this one, devs please test this local for a while.

Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-01-08 17:10:11 UTC
well, committed now. its been tested for about 2 months now. works fine for me except for my local gst-plugins-ffmpeg, which i have an ebuild for, if you really want. but i'm only using it to do my own private stuff. probably useful for gst-player so you can watch mjpegs, but thats a whole other discussion.