tad icon indicating copy to clipboard operation
tad copied to clipboard

Provide RPM Builds

Open wyqydsyq opened this issue 7 years ago • 6 comments

The "Linux" build currently only supports roughly half the Linux ecosystem.

Those of us using distros with RPM-based package mangers such as OpenSUSE, Fedora, Redhat etc. can only install from .rpm files, not .deb.

This RPM build could be automated with OBS: https://build.opensuse.org/

wyqydsyq avatar May 31 '17 01:05 wyqydsyq

It would be nice to have system-agnostic binary tarballs as well.

hmontenegro avatar May 31 '17 12:05 hmontenegro

Since they are using electron-builder to do this, it should be as simple as modifying the package.json to read

"build": {
    "linux": {
        "target": [
            "deb",
            "rpm",
            "tar.bz2"
        ]
    }
}

I have tried adding rpm to the list but the npm run dist command is failing for me. I'll try to look into it today and see if I can get it to work.

pcon avatar Jun 02 '17 14:06 pcon

@pcon Thanks for pointing out that it should be so easy, I'll give it a try. Looking now I see these target options are pretty obvious in the electron-builder docs so no idea how I missed it 😳 Will give it a whirl when I get the chance. No pressure, but what's failing with your npm run dist? It's possible I missed a step in the build instructions.

antonycourtney avatar Jun 02 '17 16:06 antonycourtney

@antonycourtney I'm getting an error around icns2png. Probably because I don't have it installed and there's not a packaged version I could find for Fedora with .5s of searching

pcon avatar Jun 02 '17 16:06 pcon

Alternatively, you can extract the DEB archive and then repack the contents into RPM (you have to write the SPEC file).

alunux avatar Jul 03 '19 13:07 alunux

On the linux side, distributing on flathub could be good.

jonocodes avatar Mar 24 '24 15:03 jonocodes