[MacPorts] #29730: tortoisehg: add launcher icon and gui ssh-askpass
MacPorts
noreply at macports.org
Sat Jun 11 22:16:08 PDT 2011
#29730: tortoisehg: add launcher icon and gui ssh-askpass
---------------------------------+------------------------------------------
Reporter: shiena.jp@… | Owner: guido@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: tortoisehg
---------------------------------+------------------------------------------
Comment(by pixilla@…):
I haven't found a good svg converter but there is a 368 × 220 png that
makes a decent icon. We have not yet added padding to makeicns.
ImageMagick's convert can be used in the mean time. Something like this
should do it.
{{{
depends_build port:makeicns port:ImageMagick
post-extract {
system "convert ${worksrcpath}/doc/source/figures/thg_logo_pdf.png \
-background transparent \
-gravity center \
-resize 512x512 \
-extent 512x512 \
${worksrcpath}/tortoisehg.png
system "makeicns -in ${worksrcpath}/tortoisehg.png \
-out ${worksrcpath}/tortoisehg.icns"
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/29730#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list