Red Hat Bugzilla – Bug 480729
Split evince libs out into a separate sub-package
Last modified: 2009-06-02 04:27:24 EDT
Created attachment 329428 [details]
patch to evince.spec to split out libs to sub package. Also adds the gtk-docs to the devel package now that there is one
The next stable release of evince will enable different front ends to be build against the core evince libraries (will be in evince 2.25.5 release). This will allow for python front ends such as sugar-evince that won't require the main evince gui. To allow for minimal dependencies and smaller size it would be great to split the libraries out to a separate sub package. I have an initial patch to the spec file that seems to do this OK but it might need some tweaking.
Also see http://sugarlabs.org/go/Evince for further information
Ping? Any thoughts on this?
Hello.... anyone home? This ticket has now been open 3 months with absolutely no response!
Is this really worth it ? I mean, how big is the main evince package, 400k ?
Anyway, adding the api docs to -devel is certainly fine.
The installed size of evince is 5.3Mb (measured using rpm2cpio into a subdir and then using 'du -h'). The installed size of the lib using the same method 448Kb so its around 10% of the size of the evince package. Nearly 5Mb saving for OLPC which has a Flash of 1Gb is a reasonable saving.
The package sizes worked out as below:
That is also assuming I got the right files in the right rpms :)
I'll add an updated patch to the spec for the latest release of evince.
Created attachment 340939 [details]
updated patcch for evince.spec
hmm, rpm tells me the installed size is 4.1M. Of course, the bulk of that is help and gconf schemas.
Anyway, if you want, feel free to do this split in F12. Not convined we want to do this kind of maneuver in F11 this close to release.
Committed to F-12/devel branch.
Matthias: I believe gnome-python2-evince can be updated to just depend on the -libs file. Do you want a separate bug report for this?
No, just do it.
Done. koji build http://koji.fedoraproject.org/koji/taskinfo?taskID=1389050