Koozali.org: home of the SME Server

pngcrush contrib or rpm? [solved]

Offline piran

  • *****
  • 502
  • +0/-0
pngcrush contrib or rpm? [solved]
« on: September 02, 2010, 05:42:27 PM »
Would like to assess the pngcrush tool on SME7...
http://sourceforge.net/projects/pmt/files/
Tried downloading but looks like it must be compiled.
Is there a contrib or rpm?

PostEdit: added [solved] to subject line
« Last Edit: September 02, 2010, 10:20:23 PM by piran »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: pngcrush contrib or rpm?
« Reply #1 on: September 02, 2010, 09:35:32 PM »
setup Dag's repo and install it with

Code: [Select]
yum --enablerepo=dag install pngcrush

generally speaking, a Google search with "programname rpm centos" can lead to the solution in few seconds ;-)

Offline piran

  • *****
  • 502
  • +0/-0
Re: pngcrush contrib or rpm?
« Reply #2 on: September 02, 2010, 09:53:33 PM »
I searched for 'pngcrush centos' and 'pngcrush windows'
and concentrated on the win stuff after I found nothing
on the contribs.org site. Does setting my SME7 up for
the dag repository take me 'off normal' for SME7/8
update purposes?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: pngcrush contrib or rpm?
« Reply #3 on: September 02, 2010, 10:08:27 PM »
I searched for 'pngcrush centos' and 'pngcrush windows'
and concentrated on the win stuff after I found nothing
on the contribs.org site.

add the magic word "rpm" next time ;-)

Quote
Does setting my SME7 up for
the dag repository take me 'off normal' for SME7/8
update purposes?

no.. just remember to never do this
Code: [Select]
yum --enablerepo=dag update


as it will likely break your server

when you will upgrade to SME8, you'll need to install the rh5 version of the rpm

Offline piran

  • *****
  • 502
  • +0/-0
Re: pngcrush contrib or rpm?
« Reply #4 on: September 02, 2010, 10:18:44 PM »
That's the one. It's the breaking of the server bit
I was worried about. Long ago I (successfully) got
a late version of ImageMagik installed for some
reason or other but suffered all manner of strangeness
afterwards until I reinstalled from bare metal. Vowed
not to 'play' with repositories... Will have a bash at
this as I want pngcrush inserted into my picture
rendering stuff so that Google's Page Speed stops
gibbering on that (some of) my .PNG files are too
big. Thank you;~)