1 |
I found (buy running with --debug) that its not running my changed ebuild. |
2 |
I had to do ebuild clean phase & run from the beginning each time to |
3 |
make it see any changes. |
4 |
|
5 |
On Fri, Apr 22, 2016 at 1:28 PM, Daiajo Tibdixious <daiajo@×××××.com> wrote: |
6 |
> Got src_install working except for mysterious (to me) problem: |
7 |
> src_install () { |
8 |
> into /opt |
9 |
> dobin usr/bin/runescape-launcher |
10 |
> |
11 |
> exeinto /opt/${PN} |
12 |
> doexe usr/share/games/runescape-launcher/runescape |
13 |
> |
14 |
> insinto /opt/${PN} |
15 |
> doins usr/share/games/runescape-launcher/runescape.png |
16 |
> |
17 |
> insinto /usr/share/applications |
18 |
> doins usr/share/applications/runescape-launcher.desktop |
19 |
> |
20 |
> insinto /usr/share/kde4/services |
21 |
> doins usr/share/kde4/services/*.protocol |
22 |
> |
23 |
> dodoc usr/share/doc/runescape-launcher/changelog.gz |
24 |
> |
25 |
> # usr/share/doc/runescape-launcher/copyright |
26 |
> |
27 |
> for size in 16 24 32 48 64 256 512; do |
28 |
> doicon -s ${size} |
29 |
> usr/share/icons/hicolor/${size}x${size}/apps/runescape.png |
30 |
> done |
31 |
> } |
32 |
> |
33 |
> Everything works fine except for the 2 protocol files: |
34 |
> # find /var/tmp/portage/games-rpg/RuneScape-2.2.2/image -name "*.protocol" |
35 |
> /var/tmp/portage/games-rpg/RuneScape-2.2.2/image/usr/share/applications/rs-launchs.protocol |
36 |
> /var/tmp/portage/games-rpg/RuneScape-2.2.2/image/usr/share/applications/rs-launch.protocol |
37 |
> |
38 |
> Despite saying insinto kde4 services, they go into applications, which |
39 |
> is the previous location. |
40 |
> |
41 |
> On Thu, Apr 21, 2016 at 12:58 PM, Daiajo Tibdixious <daiajo@×××××.com> wrote: |
42 |
>> Thanks very much for that. I managed to get the fetch & unpack |
43 |
>> working, but nothing |
44 |
>> I tried for src_install worked, and your code is much neater than mine. |
45 |
>> |
46 |
>> On Thu, Apr 21, 2016 at 9:59 AM, Jonathan Callen <jcallen@g.o> wrote: |
47 |
>>> On 04/18/2016 10:11 PM, Daiajo Tibdixious wrote: |
48 |
>>>> dpkg has a native gentoo version app-arch/dpkg but dpkg --unpack gave an error. |
49 |
>>>> However ar x worked fine. |
50 |
>>>> Ended up with usr/bin/runescape-launcher which is fine, but also |
51 |
>>>> usr/share stuff which I'll check for collisions. |
52 |
>>>> (this is all in /var/tmp) |
53 |
>>>> |
54 |
>>>> Thanks very much, you saved me much trouble. |
55 |
>>>> |
56 |
>>>> Not sure if its just me, but apt is written in c++ using mostly C |
57 |
>>>> constructs, and doesn't seem to have been through an oo design. |
58 |
>>>> Makes it very weird to try to follow. |
59 |
>>>> |
60 |
>>>> I won't be able to install/run it today due to being busy. |
61 |
>>>> |
62 |
>>> |
63 |
>>> Attached is my attempt at a proper ebuild for this package. The |
64 |
>>> dependencies are based on what the deps *should* have been, not what the |
65 |
>>> .deb actually declares. I haven't actually tested this fully. |
66 |
>>> |
67 |
>>> -- |
68 |
>>> Jonathan Callen |