More help building Perl stuff ( almost there )
Daniel Kasak
d.j.kasak.dk at gmail.com
Tue Sep 18 12:52:35 UTC 2018
Thanks :)
On Tue, Sep 18, 2018 at 10:08 PM Ludovico de Nittis <aasonykk at gmail.com>
wrote:
> Hi,
> from what I can see the "perl-MakefilePL-Makefile" is this file here
>
> https://github.com/flathub/org.frozen_bubble.frozen-bubble/blob/master/perl-MakefilePL-Makefile
>
>
>
> On Tue, Sep 18, 2018 at 1:45 PM Daniel Kasak <d.j.kasak.dk at gmail.com>
> wrote:
> >
> > 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.
>
>
> So if you add a fragment in a sub-directory maybe the problem is only
> that this "perl-MakefilePL-Makefile" is not visible anymore because it
> is located in another folder.
> Changing the path to:
>
> "path": "../perl-MakefilePL-Makefile",
>
> should solve your problem.
>
>
>
> > 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
> >
> > _______________________________________________
> > Flatpak mailing list
> > Flatpak at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/flatpak
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20180918/68eb88ea/attachment.html>
More information about the Flatpak
mailing list