[Slackbuilds-users] making a SlackBuild for golly

Larry Hajali larryhaja at gmail.com
Tue Dec 25 02:27:22 UTC 2012

I see that golly comes with 3 different sizes of ico files.  When ico files
are available and there aren't other suitable image files available then I
use the program 'convert', which is part of ImageMagick, and change the ico
files to a png.  You don't have too but I use png files a lot better then
ico files.

Here is how I would convert the appicon*.ico files to png files.

for i in 16 32 48; do
  convert appicon${i}.ico -resize ${i}x${i}! $PRGNAM-${i}.png
  install -D -m 0644 $PRGNAM-${i}.png \

Or, you could just use the appicon.xpm file and install it to

Both work for xfce.


On Mon, Dec 24, 2012 at 2:55 PM, Glenn Becker <burningc at sdf.org> wrote:

> Hi All --
> First, best holiday wishes to one and all! whatever holiday you are
> celebrating.
> I am putting together a SlackBuild for the cellular automata explorer
> (Conway's Game of Life and more) golly. There is already such a program in
> SlackBuilds (gtklife), but I like this one & besides, am trying to get
> better at package making.
> I've run into a little issue. The package builds, installs, and runs fine,
> but the program icon does not make it into the menu -- on xfce, anyway. I'm
> guessing the various "appicon*.ico" files in the top level of the program's
> source tree aren't being dealt with correctly, but I am not sure *what* I
> should be doing with them ... it seems like this is something that should
> be dealt with in a 'doinst.sh' script, but beyond that guess I am kind of
> stuck.
> I have been searching for a SlackBuild / doinst.sh that does something
> like slinging *.ico files into their proper homes, but so far have not
> found one.
> Can anyone suggest a resource or a place where I might look for direction
> on this?
> Thanks,
> Glenn
> +-----------------------------**----------------+
> Glenn Becker - burningc at sdf.org
> SDF Public Access UNIX System - http://sdf.org
> +-----------------------------**----------------+
> ______________________________**_________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.**org <SlackBuilds-users at slackbuilds.org>
> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users<http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
> Archives - http://lists.slackbuilds.org/**pipermail/slackbuilds-users/<http://lists.slackbuilds.org/pipermail/slackbuilds-users/>
> FAQ - http://slackbuilds.org/faq/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20121224/ebb5e39b/attachment-0001.html>

More information about the SlackBuilds-users mailing list