Easiest is if you use an existing rpm spec as a template, i.e. mingw-gtk3 [1] could serve as a good template. I believe most is self explanatory, but I'm happy to answer any questions.

For a packaging tutorial, see [2].

Sandro

[1] https://src.fedoraproject.org/rpms/mingw-gtk3/blob/rawhide/f/mingw-gtk3.spec [2] https://docs.fedoraproject.org/tr/package-maintainers/Packaging_Tutorial_GNU_Hello/

On 21.06.22 21:31, Sim Tov wrote:
Unfortunately I don't know how to package for Fedora (or any other distro), but I have found this:

https://packages.msys2.org/base/mingw-w64-gtk4
https://packages.msys2.org/base/mingw-w64-libadwaita
https://packages.msys2.org/base/mingw-w64-gtksourceview5

How different is this from what Fedora needs? Or can this just be uploaded as is to Fedora?...


On Mon, Jun 20, 2022 at 12:31 AM Sandro Mani <manisan...@gmail.com> wrote:

    I'm afraid I'm not really in the position to answer questions
    about libadwaita as I've never used it - I mostly cross-compile
    Qt5/6 apps to Windows.

    On 19.06.22 23:21, Sim Tov wrote:
    See it in action:
    
https://twitter.com/Puri_sm/status/1499852205301673997?s=20&t=Pk_1628ohy7LtWBvSTazng
    
<https://twitter.com/Puri_sm/status/1499852205301673997?s=20&t=Pk_1628ohy7LtWBvSTazng>

    The same code both for mobile and desktop...

    The question - will it work on Windows after cross-compilation?...

    On Sun, Jun 19, 2022 at 11:51 PM Sandro Mani
    <manisan...@gmail.com> wrote:

        What do you mean by convergent?

        On 19.06.22 22:50, Sim Tov wrote:
        Do you know whether the Windows applications indeed will be
        convergent (if built with mingw64-libadwaita)?

        On Sun, Jun 19, 2022 at 11:39 PM Sandro Mani
        <manisan...@gmail.com> wrote:

            Well the best way to have a package included in the
            repos is packaging it and submitting it for review. If
            you do so, I'm happy to review it.

            Sandro

            On 19.06.22 22:35, Sim Tov wrote:
            Anybody here?...

            On Thu, Jun 16, 2022 at 10:46 AM Sim Tov
            <smn...@gmail.com> wrote:

                Dear mingw maintainers,

                may I ask you, please, to add mingw64-gtk4 and
                mingw64-libadwaita to Fedora, so people can start
                cross-compile modern GTK4 applications for Windows.

                BTW, is it possible to cross-compile
                mingw64-libadwaita and make Windows builds of the
                applications convergent? It might be relevant for
                Windows based tablets.

                Gnome Text Editor requires this packages:

                https://gitlab.gnome.org/GNOME/gnome-text-editor/-/issues/149

                Thank you!



            _______________________________________________
            mingw mailing list --mingw@lists.fedoraproject.org
            To unsubscribe send an email tomingw-le...@lists.fedoraproject.org
            Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
            List 
Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
            List 
Archives:https://lists.fedoraproject.org/archives/list/mingw@lists.fedoraproject.org
            Do not reply to spam on the list, report 
it:https://pagure.io/fedora-infrastructure
_______________________________________________
mingw mailing list -- mingw@lists.fedoraproject.org
To unsubscribe send an email to mingw-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/mingw@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to