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

Bug 116289

Summary: Download only svg images from openclipart
Product: Gentoo Linux Reporter: Peter Dedecker <Peter.Dedecker>
Component: New packagesAssignee: Krzysztof Pawlik (RETIRED) <nelchael>
Status: RESOLVED FIXED    
Severity: enhancement CC: esigra, mleegwt
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openclipart-0.18-r1.ebuild

Description Peter Dedecker 2005-12-21 08:27:36 UTC
At the website openclipart.org, you can download the package in two versions: only svg files or the full version including png files.  The package x11-misc/openclipart has several use flags: doc gzip pdf png svg wmf.  I think it should be bether to only download the svg-version when the png-useflag isn't set.  The big differences are packet size and so download speed.
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-12-28 10:29:33 UTC
The difference is not so big, and if openclipart.org provided "split" packages (one for PNG, one for SVG and so on) it would be possible.
Comment 2 Peter Dedecker 2005-12-28 11:05:55 UTC
No, I don't think so.  If you only need svg, the other package provided by openclipart.org can be downloaded, wich is smaller.
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-12-30 09:30:16 UTC
Created attachment 75803 [details]
openclipart-0.18-r1.ebuild

Could you test this version. If only svg is in USE (no doc!) (with or without gzip - it doesn't matter) it downloads the smaller (79MB vs 112MB) tarball.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-01-03 05:45:59 UTC
*** Bug 117584 has been marked as a duplicate of this bug. ***
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-02-11 12:14:39 UTC
Peter could you test the attached ebuild?
Comment 6 Peter Dedecker 2006-03-03 17:10:12 UTC
Sorry for the delay, but I was on vacation and the e-mail dissapeared in my inbox ;-)

I don't think the ebuild works.  I recieve this:

$ emerge -pvt openclipart

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild     U ] x11-misc/openclipart-0.18-r1 [0.18] -doc -gzip* -pdf* -png* +svg -wmf* 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage


Is this normal?
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-03-08 02:38:30 UTC
To test it try those commands:

USE="-* svg" emerge -pvf '=x11-misc/openclipart-0.18-r1'

and 

USE="svg png" emerge -pvf '=x11-misc/openclipart-0.18-r1'

First should only download -svgonly.tar.bz2 file and the second should download -full.tar.bz2
Comment 9 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-03-16 11:24:36 UTC
Commited as 0.18-r1.