OK once again the ebuild is attached, it now creates a desktop file in /usr/share/applications/ and pops the .xpm icon file into /usr/share/pixmaps/. This is where gentoo likes these things to be.
Those of you who have expressed an interest in this game please try it
out. If it works OK I will check out any last tweaks i need and then
submit it to bugs.gentoo.org
Cheers, Nick.
On Mon, 29 Aug 2005 13:51:28 +1200
Nick Rout wrote:
>
> On Sun, 28 Aug 2005 21:56:24 +0200
> Markus Döbele wrote:
>
> > Just uploaded laby_1.0.3 to the Sourceforge Site.
> > Would be nice if you update the ebuild.
> >
> > We did a lot of bugfixing. Slowly the game is really playable :-)
>
> The new ebuild was really easy - as i have said previously just change
> the name of the file from laby-1.0.2.ebuild to laby-1.0.3.ebuild.
>
> However I have taken the opportunity to try and add an icon and a
> desktop file [1], but the latter is giving some errors. I have posted a
> question to the developer list and when i have fixed whatever I did
> wrong i will post again.
>
> I also found a nice little games ebuild writing howto which tells me I
> have made a few stylistic errors. I'll improve as I go hopefully!
>
>
> I have discovered that portage has some nice little functions like
> these:
>
> newicon ${WORKDIR}/${PN}_${PV}/laby.xpm ${PN}.xpm
>
> (puts the file $WORKDIR/laby_1.0.3/laby.xpm into
> /usr/share/pixmaps/laby.xpm)
>
> make_desktop_entry laby "Lost Labyrinth" ${PN}.xpm "Game;RolePlaying;"
>
> (makes a desktop file in /usr/share/applications with executable=laby,
> icon=/usr/share/pixmaps/laby.xpm Type=Application, Categories-
> Application;Game;Roleplaying Name=Lost Labyrinth)
>
>
>
>
> >
> >
> > Am Freitag, 26. August 2005 02:14 schrieb Nick Rout:
> > > On Fri, 26 Aug 2005 01:36:01 +0200
> > >
> > > Holly Bostick wrote:
> > > > Since we know Nick's ebuild works, from the testers, Nick, why don't you
> > > > just send him a copy?
> > >
> > > i have
> > >
> > > > It is GPL, isn't it ;) ?
> > >
> > > assuming you are referring to the ebuild then yes it is GPL (i hadn't
> > > really thought too much about it but as i started from
> > > /usr/portage/skel.ebuild it has a GPL notice in it.)
> > >
> > >
> > > --
> > > Nick Rout <[EMAIL PROTECTED]>
> > --
> > [email protected] mailing list
>
> --
> Nick Rout <[EMAIL PROTECTED]>
>
>
> --
> [email protected] mailing list
--
Nick Rout <[EMAIL PROTECTED]>
laby-1.0.3.ebuild
Description: Binary data

