Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32696 - patch to gst-plugins.eclass to speed up ./configure
Summary: patch to gst-plugins.eclass to speed up ./configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 02:01 UTC by Alastair Tse (RETIRED)
Modified: 2004-01-08 17:10 UTC (History)
0 users

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


Attachments
gst-plugins.eclass-speedup.patch (gst-plugins.eclass-speedup.patch,1.21 KB, patch)
2003-11-04 02:03 UTC, Alastair Tse (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.