#
#asahi-dev · 2023-04-02 14:51
jannaulibsensors is not needed
#asahi-dev · 2023-04-02 14:51
marcanlibexpat makes sense, libsensors I have no clue why, maybe we can turn that off
#asahi-dev · 2023-04-02 14:51
marcanlibexpat, libz, libzstd, libsensors, the rest is glibc/compiler stuff and such
#asahi-dev · 2023-04-02 14:50
orowith2osat the end, it copies the LLVM library to the driver
#asahi-dev · 2023-04-02 14:50
orowith2osread the manifest again
#asahi-dev · 2023-04-02 14:50
orowith2osoh, no, that'll be fine
#asahi-dev · 2023-04-02 14:49
jannaullvm might be a problem
#asahi-dev · 2023-04-02 14:49
marcanlooking into that
#asahi-dev · 2023-04-02 14:49
orowith2osback to my previous question: what does asahi/mesa link against?
#asahi-dev · 2023-04-02 14:49
marcanother libs break ABI all the time, glibc certainly does not, they have all kinds of versioned symbol stuff for that
#asahi-dev · 2023-04-02 14:49
orowith2oscan't say you're wrong
#asahi-dev · 2023-04-02 14:49
marcantheoretically, if it did, the world would ~explode
#asahi-dev · 2023-04-02 14:49
orowith2osthat's the situation we'd have on our hands
#asahi-dev · 2023-04-02 14:49
orowith2ostheoretically, if it did
#asahi-dev · 2023-04-02 14:49
marcanglibc doesn't break ABI
#asahi-dev · 2023-04-02 14:48
orowith2ossomething like NVIDIA doesn't have an issue because it links to glibc.so and *only* glibc.so, and an old one at that
#asahi-dev · 2023-04-02 14:48
orowith2osif it were to link against glibc.so, and the ABI changed from 21.08 to 22.08 in a breaking way, the flatpak would be broken. That's what I mean by risking breakage
#asahi-dev · 2023-04-02 14:47
orowith2oswhat does asahi/mesa link against?
#asahi-dev · 2023-04-02 14:47
marcandefine "risking"
#asahi-dev · 2023-04-02 14:47
orowith2osnot without risking ABI breakage
#asahi-dev · 2023-04-02 14:47
marcanolder builds can't run against the new one?
#asahi-dev · 2023-04-02 14:47
orowith2os21.08 and 22.08
#asahi-dev · 2023-04-02 14:47
orowith2osonly the currently supported ones
#asahi-dev · 2023-04-02 14:47
orowith2oskeep in mind you'll have to build the flatpak for every branch of the freedesktop runtime
#asahi-dev · 2023-04-02 14:47
marcanthen that should work
#asahi-dev · 2023-04-02 14:46
marcanok
#asahi-dev · 2023-04-02 14:46
marcanah, then for the host stuff it doesn't matter
#asahi-dev · 2023-04-02 14:46
orowith2osit's allowed to just neglect it
#asahi-dev · 2023-04-02 14:46
orowith2osyou don't strictly have to have the metadata outside of flathub
#asahi-dev · 2023-04-02 14:46
marcanand then how is the actual flatpak versioned? like is there metadata that has to contain the version somewhere?
#asahi-dev · 2023-04-02 14:46
marcanok, I can work with that
#asahi-dev · 2023-04-02 14:46
marcanyes
#asahi-dev · 2023-04-02 14:46
orowith2osthere are other source types, namely `dir`
#asahi-dev · 2023-04-02 14:45
orowith2osyou see the current sources, where it has a git url, checksums, etc?
#asahi-dev · 2023-04-02 14:45
marcanand then how is sources: laid out?
#asahi-dev · 2023-04-02 14:45
orowith2osyeah, whatever the PKGBUILD uses, the flatpak will too
#asahi-dev · 2023-04-02 14:45
marcanoh like pre-extract it?
#asahi-dev · 2023-04-02 14:45
orowith2osbut what you *can* do is clone asahi/mesa to the normal PKGBUILD clone directories and point the flatpak towards the local directory
#asahi-dev · 2023-04-02 14:44
marcanstill doable
#asahi-dev · 2023-04-02 14:44
marcansigh, okay, then it'll be sed games in the PKGBUILD or whatever
#asahi-dev · 2023-04-02 14:44
orowith2osYou can't take in variables from outside the build env, no
#asahi-dev · 2023-04-02 14:44
marcanlike from the environment or an argument or something
#asahi-dev · 2023-04-02 14:43
marcanis there a way of interpolating a variable in there?
#asahi-dev · 2023-04-02 14:43
marcanI mean the url: https://gitlab.freedesktop.org/asahi/mesa/-/archive/asahi-20230311/mesa-asahi-20230311.tar.bz2
#asahi-dev · 2023-04-02 14:43
orowith2osfrom there it's moving files around
#asahi-dev · 2023-04-02 14:43
orowith2ospoint the flatpak manifest toward the git repo that the PKGBUILD clones and whenever you build the PKGBUILD, it'll update the flatpak too
#asahi-dev · 2023-04-02 14:43
orowith2osyeah, that can be done
#asahi-dev · 2023-04-02 14:42
jannauthe flatpak is ideally build on the same system as the asahi linux PKGBUILDs without involvment of any github workflow
#asahi-dev · 2023-04-02 14:42
orowith2osOH
#asahi-dev · 2023-04-02 14:42
marcannone of this should involve github, it should just be another PKGBUILD I can just makepkg which itself invokes the flatpak-builder command (and hopefully there is some way of passing the version via environment/arg so we don't need to keep updating those files)

plus ›