[Live-demo] [OSGeo] #467: remove bulky orphaned packages

OSGeo trac_osgeo at osgeo.org
Wed Jun 15 14:26:15 PDT 2016


#467: remove bulky orphaned packages
----------------------+----------------------------
 Reporter:  hamish    |       Owner:  kalxas
     Type:  task      |      Status:  assigned
 Priority:  blocker   |   Milestone:  OSGeoLive10.0
Component:  LiveDVD   |  Resolution:
 Keywords:  apt, iso  |
----------------------+----------------------------
Changes (by johanvdw):

 * priority:  major => blocker


Comment:

 Another thing to do:
 check for large pdf files and compress them with ghostscript.

 listing large files:

 {{{

 user at osgeolive:/usr$ find . -name *.pdf -exec du -csm {}  + |sort -nr|head
 252     total
 140     ./local/share/qgis/QGIS-2.8-QGISTrainingManual-en.pdf
 35      ./local/share/otb/OTBCookBook.pdf
 25      ./local/share/otb/OTBSoftwareGuide.pdf
 15      ./local/share/qgis/QGIS-2.8-UserGuide-en.pdf
 7       ./share/ossim/ossim_users_guide.pdf
 7       ./local/share/udig/udig-docs/uDigWalkthrough1.pdf
 7       ./local/share/doc/Getting Started with Ubuntu 14.04 - Second
 edition.pdf
 6       ./local/share/eoxserver/doc/EOxServer_documentation-0.4.0.pdf
 4
 ./local/share/OpenJUMP/general_tutorial_foroj16_english_withoutdata.pd
 }}}

 Actually compressing them:

 {{{
 gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
                   -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default
                   -sOutputFile=qgis-training-compressed.pdf
                   QGIS-2.8-QGISTrainingManual-en.pdf

 }}}
 note that PDFSETTING default provides rather good quality compared to
 size. You can use screen to compress even more (check ps2pdf man file).

 Anyway using this default: 41mb instead of 140 mb for the QGIS training
 manual; 6.4 instead of 35M for the OTB cookbook.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/467#comment:23>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list