<div dir="ltr">Thanks :)</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 18, 2018 at 10:08 PM Ludovico de Nittis <<a href="mailto:aasonykk@gmail.com">aasonykk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
from what I can see the "perl-MakefilePL-Makefile" is this file here<br>
<a href="https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/perl-MakefilePL-Makefile" rel="noreferrer" target="_blank">https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/perl-MakefilePL-Makefile</a><br>
<br>
<br>
<br>
On Tue, Sep 18, 2018 at 1:45 PM Daniel Kasak <<a href="mailto:d.j.kasak.dk@gmail.com" target="_blank">d.j.kasak.dk@gmail.com</a>> wrote:<br>
><br>
> Quick  update ... so it should be:<br>
><br>
>         {<br>
>             "type": "file",<br>
>             "path": "perl-MakefilePL-Makefile",<br>
>             "dest-filename": "Makefile"<br>
>         }<br>
><br>
> But this only works when included in the main flatpak-builder.json file. If I add a fragment to a separate file in a sub-directory, it doesn't work.<br>
<br>
<br>
So if you add a fragment in a sub-directory maybe the problem is only<br>
that this "perl-MakefilePL-Makefile" is not visible anymore because it<br>
is located in another folder.<br>
Changing the path to:<br>
<br>
"path": "../perl-MakefilePL-Makefile",<br>
<br>
should solve your problem.<br>
<br>
<br>
<br>
> Dan<br>
><br>
> On Tue, Sep 18, 2018 at 9:39 PM Daniel Kasak <<a href="mailto:d.j.kasak.dk@gmail.com" target="_blank">d.j.kasak.dk@gmail.com</a>> wrote:<br>
>><br>
>> Hi all.<br>
>><br>
>> Thanks to being previously pointed to: <a href="https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/org.frozen_bubble.frozen-bubble.json" rel="noreferrer" target="_blank">https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/org.frozen_bubble.frozen-bubble.json</a> I've *mostly* completed building my entire application. In that example, perl modules are specified like:<br>
>><br>
>> {<br>
>>     "name": "perl-DBD-Postgres",<br>
>>     "cleanup": ["/bin"],<br>
>>     "no-autogen": true,<br>
>>     "sources": [<br>
>>         {<br>
>>             "type": "git",<br>
>>             "url": "<a href="https://github.com/bucardo/dbdpg.git" rel="noreferrer" target="_blank">https://github.com/bucardo/dbdpg.git</a>"<br>
>>         },<br>
>>         {<br>
>>             "type": "file",<br>
>>             "path": "perl-BuildPL-Makefile",<br>
>>             "dest-filename": "Makefile"<br>
>>         }<br>
>>     ]<br>
>> }<br>
>><br>
>> I don't understand what's happening in the perl-BuildPL-Makefile part ... and it's not working for the above library ( DBD::Postgres ). I get:<br>
>><br>
>> Failed to download sources: module perl-DBD-Postgres: Can't find file at perl-BuildPL-Makefile<br>
>><br>
>> I've successfully built many other libs following this pattern. What's going on?<br>
>><br>
>> Dan<br>
><br>
> _______________________________________________<br>
> Flatpak mailing list<br>
> <a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a><br>
</blockquote></div>