Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild for Lost Labyrinth
Date: Mon, 29 Aug 2005 15:42:16
Message-Id: 43132B87.9000909@planet.nl
In Reply to: Re: [gentoo-user] ebuild for Lost Labyrinth by Alec Shaner
1 Alec Shaner schreef:
2 > Nick Rout wrote:
3 >
4 >> OK once again the ebuild is attached, it now creates a desktop file in
5 >> /usr/share/applications/ and pops the .xpm icon file into
6 >> /usr/share/pixmaps/. This is where gentoo likes these things to be.
7 >>
8 >> Those of you who have expressed an interest in this game please try it
9 >> out. If it works OK I will check out any last tweaks i need and then
10 >> submit it to bugs.gentoo.org
11 >>
12 >
13 > I tried the new ebuild and it worked. I use KDE 3.4 and the laby icon
14 > shows up under the games menu and correctly launches the game.
15
16 Well, something went wrong for me; I installed the game with no errors,
17 then launched a gnome-panel (I normally use Openbox and Pypanel, but
18 have GNOME installed) to see if it would come up in the Gnome main menu
19 (which it did, with icon), but clicking the entry says that 'laby'
20 cannot be found (which is in fact the case; it would seem that the
21 executable was not created).
22
23 Output from the emerge:
24
25
26 |>>> md5 files ;-) laby-1.0.3.ebuild
27 |>>> md5 files ;-) files/digest-laby-1.0.3
28 |>>> md5 src_uri ;-) laby_1.0.3.tar.gz
29 |>>> Unpacking source...
30 |>>> Unpacking laby_1.0.3.tar.gz to /var/tmp/portage/laby-1.0.3/work
31 |>>> Source unpacked.
32 |>>> Test phase [not enabled]: games-rpg/laby-1.0.3
33 |
34 |>>> Install laby-1.0.3 into /var/tmp/portage/laby-1.0.3/image/
35 |category games-rpg
36 |install: cannot stat `/usr/local/portage/games-rpg/laby/files/laby':
37 |Onbekend bestand of map
38 |man:
39 |prepallstrip:
40 |strip: i686-pc-linux-gnu-strip --strip-unneeded
41 |strip: i686-pc-linux-gnu-strip --strip-unneeded
42 | usr/lib/laby/laby
43 |>>> Completed installing laby-1.0.3 into
44 |/var/tmp/portage/laby-1.0.3/image/
45 |
46 |>>> Merging games-rpg/laby-1.0.3 to /
47 |--- /usr/
48 |--- /usr/lib/
49 |>>> /usr/lib/laby/
50 |>>> /usr/lib/laby/laby
51 |>>> /usr/lib/laby/highscores.dat
52 |>>> /usr/lib/laby/graphics.pak
53 |>>> /usr/lib/laby/sounds.pak
54 |--- /usr/games/
55 |--- /usr/games/bin/
56 |--- /usr/share/
57 |--- /usr/share/doc/
58 |>>> /usr/share/doc/laby-1.0.3/
59 |>>> /usr/share/doc/laby-1.0.3/readme.txt.gz
60 |--- /usr/share/applications/
61 |>>> /usr/share/applications/laby-laby.desktop
62 |--- /usr/share/pixmaps/
63 |>>> /usr/share/pixmaps/laby.xpm
64
65 You can see that 'laby' is not copied to /usr/games/bin, though I guess
66 that must be it in /usr/lib/laby?
67
68 Yes, indeed it is:
69
70 la /usr/lib/laby
71 totaal 5388
72 drwxr-xr-x 2 root root 168 aug 29 17:20 .
73 drwxr-xr-x 151 root root 110112 aug 29 17:20 ..
74 -rw-r--r-- 1 root root 3828654 aug 29 17:20 graphics.pak
75 -rw-rw---- 1 games games 450 aug 29 17:20 highscores.dat
76 -rwxr-xr-x 1 root root 591536 aug 29 17:20 laby
77 -rw-r--r-- 1 root root 973752 aug 29 17:20 sounds.pak
78
79
80
81 | * To run Lost Labyrinth run laby from the command line
82 | * If you have artsd running you will need to disable it while
83 | * running Lost labyrinth. This can be done by editing the script
84 | * /usr/games/bin/laby to stop artsd before running the game and
85 | * start it again afterwards
86 |>>> Regenerating /etc/ld.so.cache...
87 |>>> games-rpg/laby-1.0.3 merged.
88 |>>> Recording games-rpg/laby in "world" favorites file...
89
90
91 output from looking for the executable script:
92
93 which laby
94 which: no laby in
95 (/opt/sun-jre-bin-1.5.0.04/bin:/opt/sun-jre-bin-1.5.0.04/javaws:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/ati/bin:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/bin:/usr/games/bin)
96
97 locate laby
98 /usr/share/games/fish-fillets/sound/labyrinth
99 /usr/share/games/fish-fillets/sound/labyrinth/cs
100 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-zvlastni1.ogg
101 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-snecku0.ogg
102 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-snecku1.ogg
103 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-snecku2.ogg
104 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-pestovany.ogg
105 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-proc.ogg
106 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-visi.ogg
107 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-koral0.ogg
108 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-nevim0.ogg
109 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-nevim1.ogg
110 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-funkce.ogg
111 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-tvar.ogg
112 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-koral1.ogg
113 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-pozadi.ogg
114 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-dost0.ogg
115 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-dost1.ogg
116 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-v-dost2.ogg
117 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-zvlastni0.ogg
118 /usr/share/games/fish-fillets/sound/labyrinth/cs/bl-m-zeptej.ogg
119 /usr/share/games/fish-fillets/images/labyrinth
120 /usr/share/games/fish-fillets/images/labyrinth/bludiste-p.png
121 /usr/share/games/fish-fillets/images/labyrinth/bludiste-w.png
122 /usr/share/games/fish-fillets/images/labyrinth/koral_b.png
123 /usr/share/games/fish-fillets/images/labyrinth/3-ocel.png
124 /usr/share/games/fish-fillets/images/labyrinth/maly_snek_00.png
125 /usr/share/games/fish-fillets/images/labyrinth/maly_snek_01.png
126 /usr/share/games/fish-fillets/images/labyrinth/maly_snek_02.png
127 /usr/share/games/fish-fillets/images/labyrinth/maly_snek_03.png
128 /usr/share/games/fish-fillets/script/labyrinth
129 /usr/share/games/fish-fillets/script/labyrinth/code.lua
130 /usr/share/games/fish-fillets/script/labyrinth/dialogs_de_CH.lua
131 /usr/share/games/fish-fillets/script/labyrinth/dialogs_de.lua
132 /usr/share/games/fish-fillets/script/labyrinth/dialogs_cs.lua
133 /usr/share/games/fish-fillets/script/labyrinth/dialogs_en.lua
134 /usr/share/games/fish-fillets/script/labyrinth/models.lua
135 /usr/share/games/fish-fillets/script/labyrinth/dialogs_es.lua
136 /usr/share/games/fish-fillets/script/labyrinth/init.lua
137 /usr/share/games/fish-fillets/script/labyrinth/dialogs_fr.lua
138 /usr/share/games/fish-fillets/script/labyrinth/dialogs_it.lua
139 /usr/share/games/fish-fillets/script/labyrinth/dialogs_nl.lua
140 /usr/share/games/fish-fillets/script/labyrinth/dialogs.lua
141 /usr/share/games/fish-fillets/script/labyrinth/dialogs_pl.lua
142 /usr/share/gnome/help/aisleriot/C/labyrinth.xml
143 /usr/share/gnome/help/aisleriot/fr/labyrinth.xml
144 /usr/share/sol-games/labyrinth.scm
145 /home/stuff/temp/backup/games/I F/Games/anchor new day 2A study
146 labyrinth.sav
147 /home/stuff/temp/backup/games/I F/Games/anchor new day 2A attic
148 labyrinth.sav
149 /home/stuff/music/files/Gentle Giant (1973) In A Glass House FLAC/2.An
150 Inmates Lullaby.flac
151
152 This was a simple emerge, so I hope I didn't bork it myself; I did
153 forget to create a 'files' directory in the overlay folder, but since
154 there were no files, I can't think that that would be the problem.
155
156 I could be wrong, though, especially since it works under KDE. Why would
157 the symlink not have been created for me?
158
159 Holly
160 --
161 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ebuild for Lost Labyrinth Holly Bostick <motub@××××××.nl>
Re: [gentoo-user] ebuild for Lost Labyrinth Alec Shaner <ashaner@×××××××××.org>