Bug 480729

Summary: Split evince libs out into a separate sub-package
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: evinceAssignee: Kristian Høgsberg <krh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: krh, mclasen, simon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-02 08:27:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 446451, 462625    
Attachments:
Description Flags
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
none
updated patcch for evince.spec none

Description Peter Robinson 2009-01-20 06:43:09 UTC
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.

Comment 1 Peter Robinson 2009-01-20 06:46:04 UTC
Also see http://sugarlabs.org/go/Evince for further information

Comment 2 Peter Robinson 2009-02-06 16:10:17 UTC
Ping? Any thoughts on this?

Comment 3 Peter Robinson 2009-03-13 11:18:35 UTC
Ping..

Comment 4 Peter Robinson 2009-04-19 20:58:33 UTC
Hello.... anyone home? This ticket has now been open 3 months with absolutely no response!

Comment 5 Matthias Clasen 2009-04-22 04:32:52 UTC
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.

Comment 6 Peter Robinson 2009-04-23 14:07:44 UTC
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:

1.3M evince-2.26.1-1.fc11.x86_64.rpm
1.4M evince-debuginfo-2.26.1-1.fc11.x86_64.rpm
149K evince-devel-2.26.1-1.fc11.x86_64.rpm
 28K evince-djvu-2.26.1-1.fc11.x86_64.rpm
 76K evince-dvi-2.26.1-1.fc11.x86_64.rpm
166K evince-libs-2.26.1-1.fc11.x86_64.rpm

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.

Comment 7 Peter Robinson 2009-04-23 14:08:50 UTC
Created attachment 340939 [details]
updated patcch for evince.spec

Comment 8 Matthias Clasen 2009-04-23 14:29:02 UTC
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.

Comment 9 Peter Robinson 2009-05-01 11:34:58 UTC
Committed to F-12/devel branch.

Comment 10 Peter Robinson 2009-06-01 21:50:26 UTC
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?

Comment 11 Matthias Clasen 2009-06-02 01:08:29 UTC
No, just do it.

Comment 12 Peter Robinson 2009-06-02 08:27:24 UTC
Done. koji build http://koji.fedoraproject.org/koji/taskinfo?taskID=1389050