From: Programmingkid <programmingkidx@gmail.com>
To: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] makefile help: giving QEMU an icon
Date: Fri, 23 Jan 2015 15:48:31 -0500 [thread overview]
Message-ID: <DFEF8606-227B-4BF5-B81B-836AB8CF7476@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
I'm trying to make QEMU have an icon instead of the standard gray box icon it is given on Mac OS X. I figured out where to put the code in the makefile, but this location isn't useful. git is trained not to use it. The location is ./ppc-softmmu/makefile. My question is where do I put my icon setting code?
It currently works in ./ppc-softmmu/makefile after this line: all: $(PROGS) stap
all: $(PROGS) stap
# Set the icon for QEMU on Macintosh
ifdef CONFIG_DARWIN
# Take an image and make the image its own icon:
sips -i ../pc-bios/qemu-nsis.ico
# Extract the icon to its own resource file:
DeRez -only icns ../pc-bios/qemu-nsis.ico > tmpicns.rsrc
# append this resource to the file you want to icon-ize.
Rez -append tmpicns.rsrc -o $(QEMU_PROG)
# Use the resource to set the icon.
SetFile -a C $(QEMU_PROG)
# clean up.
rm tmpicns.rsrc
endif
What I'm trying to do is have all targets receive the icon. For now I am trying the code out on the PowerPC target. Any hints would be appreciated.
[-- Attachment #2: Type: text/html, Size: 5247 bytes --]
next reply other threads:[~2015-01-23 20:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 20:48 Programmingkid [this message]
2015-01-26 9:07 ` [Qemu-devel] makefile help: giving QEMU an icon Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DFEF8606-227B-4BF5-B81B-836AB8CF7476@gmail.com \
--to=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).