Configuring Builder for a flatpak

Ryan Gonzalez rymg19 at gmail.com
Tue Oct 23 14:32:12 UTC 2018


On Tue, Oct 23, 2018, 9:25 AM Michael Hill <mdhillca at gmail.com wrote:

> I have a flatpak that builds successfully using flatpak-builder on the
> command line, and I wanted to make a GNOME Builder project out of it.
> Is there a page or blog post that outlines what needs to be done?
>
> Using mclasen's Recipes recipe from early in the year, I dropped the
> manifest and ancillary files into a new project. Builder was waiting
> for me to tell it something, but I couldn't tell what: pressing the
> "Trigger a build" button just got me the message "Ready." This was
> after I copied the Build Preferences from my first attempt, where...
>

GNOME Builder was likely downloading dependencies, if you check the
upper-right-hand corner for a download icon.


> I pointed Builder at the pre-existing flatpak build folder and ran it
> as a Directory project. I filled in a couple of details in Build
> Preferences and it happily built most of the submodules until it
> needed a patch from the patches subfolder that seems to be expected
> several levels below the level of the manifest, where it is now.
>

Yeah, that's probably not going to do what you want it to...


> What's the best way forward?
>

Builder uses flatpak-builder for all modules EXCEPT the one with the same
name as your project. For that one, it stops and uses its integrated build
system management. Make sure your meson.build or CMakeLists.txt is in the
directory you selected, and make sure all the downloads are complete. Then,
the build should work.


> Thanks,
>
> Mike
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak


--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20181023/0c23c7cf/attachment.html>


More information about the Flatpak mailing list