More help building Perl stuff ( almost there )
Daniel Kasak
d.j.kasak.dk at gmail.com
Tue Sep 18 11:44:38 UTC 2018
Quick update ... so it should be:
{
"type": "file",
"path": "perl-MakefilePL-Makefile",
"dest-filename": "Makefile"
}
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.
Dan
On Tue, Sep 18, 2018 at 9:39 PM Daniel Kasak <d.j.kasak.dk at gmail.com> wrote:
> Hi all.
>
> Thanks to being previously pointed to:
> https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/org.frozen_bubble.frozen-bubble.json
> I've *mostly* completed building my entire application. In that example,
> perl modules are specified like:
>
> {
> "name": "perl-DBD-Postgres",
> "cleanup": ["/bin"],
> "no-autogen": true,
> "sources": [
> {
> "type": "git",
> "url": "https://github.com/bucardo/dbdpg.git"
> },
> {
> "type": "file",
> "path": "perl-BuildPL-Makefile",
> "dest-filename": "Makefile"
> }
> ]
> }
>
> 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:
>
> Failed to download sources: module perl-DBD-Postgres: Can't find file at
> perl-BuildPL-Makefile
>
> I've successfully built many other libs following this pattern. What's
> going on?
>
> Dan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20180918/ff6584b9/attachment.html>
More information about the Flatpak
mailing list