From owner-freebsd-hackers Wed Apr 28 12:53:32 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id ED7E4154A4 for ; Wed, 28 Apr 1999 12:53:30 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA00893; Wed, 28 Apr 1999 12:52:00 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199904281952.MAA00893@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: John Birrell Cc: hackers@freebsd.org Subject: Re: Adding desktop support In-reply-to: Your message of "Wed, 28 Apr 1999 16:47:35 +1000." <199904280647.QAA26783@cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 28 Apr 1999 12:52:00 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Now that we've made the transition to ELF, adding an XPM formatted pixmap > to a program is simply a matter of: > > objcopy --add-section=.icon=file.xpm file Nice idea, and making it a standard part of the bsd.prog.mk infrastructure is a good idea, but a couple of suggestions: - Add a NO_ICONS option so that icons are ignored by the build (if you haven't already). - Work out a mechanism for supporting more than one icon per executable. At the very least, you want to have several different sizes, and many people will want to either add their own icons to an application or chose amongst them. This obviously then requires you to add an "active" flag to each of the "active" icons at each size. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message