Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Bundle Tauri apps as RPM #4402

Closed
DoodlesEpic opened this issue Jun 19, 2022 · 14 comments · Fixed by #5202
Closed

[feat] Bundle Tauri apps as RPM #4402

DoodlesEpic opened this issue Jun 19, 2022 · 14 comments · Fixed by #5202
Labels
platform: Linux scope: bundler The bundler used in our cli to make installers type: feature request

Comments

@DoodlesEpic
Copy link

Describe the problem

It would be nice to have rpm packages for Tauri apps as there is no Flatpak support yet and alien does not manage to convert the deb packages (at least in my personal attempts).

Describe the solution you'd like

Bundling the application to an rpm package just like the deb packaging is done right now.

Alternatives considered

Flatpaks are somewhat of an alternative, but I believe actual rpm packages would be great, especially because we get the advantage of the really small bundle size of Tauri apps, unlike AppImages and Flatpak alike.

Additional context

No response

@FabianLars
Copy link
Member

Yep that's on my personal todo (if someone else wants to take a stab at it instead that's fine too) and i'm really surprised we seemingly didn't have a feature request for that already since i talked about it a few times in other issues already 🤔

But yea, now with v1 out of the way work on it should start fairlyyy soon ✌️

@FabianLars FabianLars added platform: Linux scope: bundler The bundler used in our cli to make installers labels Jun 19, 2022
@DoodlesEpic
Copy link
Author

DoodlesEpic commented Jun 19, 2022

should start fairlyyy soon

Mandatory: soon ™️

@FabianLars
Copy link
Member

Exactly! 😂 But honestly this is fairly high on my list and shouldn't be too hard (hopefully), i'm just waiting for us to finish our organizational/planning talks and stuff 🤷

@zigazajc007
Copy link

When I'm donating to Tauri, the money will just go for the security audit. So I'm willing to donate straight to the person that will implement any feature from this list:

I know that those prices are really low, but I bet a lot of people are waiting for those features to be added before they can switch to Tauri. So if we can find some more people to donate for those features to be added, it can become profitable for a programmer to start working on them.

@DoodlesEpic
Copy link
Author

@zigazajc007 You should also send this bounty to the people over at cargo-bundle since implementing it there would make it pretty easy to bring it to Tauri (since the Tauri bundler is just a fork of cargo-bundle). burtonageo/cargo-bundle#115

@zigazajc007
Copy link

@zigazajc007 You should also send this bounty to the people over at cargo-bundle since implementing it there would make it pretty easy to bring it to Tauri (since the Tauri bundler is just a fork of cargo-bundle). burtonageo/cargo-bundle#115

You have just "pinged" / mention them, so most likelly they will see that now. Thanks.

@nothingismagick
Copy link
Member

A couple comments: we have adapted cargo-bundle to a great extent and diverged to the point that mere updates to that project won't affect us here.

Secondly, I generally have concerns with bounty systems, especially when they are not organised by the people responsible for the project. We have never discussed bounties in the team, and I am not sure how everyone else sees them. Ultimately, buried in an issue is not the right place to communicate such a thing, and 50$ bounties probably wouldn't motivate anyone anyway. Finally, there is work being done on the bundler in the working group, so this kind of wild bounty approach is likely to collide with that work.

That all said, its wonderfully kind of you to offer it.

@zigazajc007
Copy link

A couple comments: we have adapted cargo-bundle to a great extent and diverged to the point that mere updates to that project won't affect us here.

Awesome, thanks.

Secondly, I generally have concerns with bounty systems, especially when they are not organised by the people responsible for the project. We have never discussed bounties in the team, and I am not sure how everyone else sees them.

Do you think bountly system will be ever implemented in the future?

and 50$ bounties probably wouldn't motivate anyone anyway

A lot of programmers in the Tauri project seems to work for free. So $50 will give some developers a bit more motivation. Expecially to those who lives in poorer countries like me. So $50 can sustain them for days.

Finally, there is work being done on the bundler in the working group, so this kind of wild bounty approach is likely to collide with that work.

So, if I donate to Tauri project on opencollective.com, is it possible for your to give this money to developers that have worked on those issues / features?

Currenly I have only donated $200 to Tauri Project and at the end of the month I can do $300. So total would be $500.

@zyppe
Copy link

zyppe commented Aug 27, 2022

Is it possible to just generate binary file such as .so or executable file so I could just write my own spec to generate needed rpm?

@FabianLars
Copy link
Member

@210hcl The tauri build command always creates a plain executable (target/release/appname). This executable is the same Tauri's bundler copies into the .deb and appimage bundles.

@fetzsav
Copy link
Contributor

fetzsav commented Mar 30, 2023

When I'm donating to Tauri, the money will just go for the security audit. So I'm willing to donate straight to the person that will implement any feature from this list:

* rpm support ($50) [[feat] Bundle Tauri apps as RPM #4402](https://github.com/tauri-apps/tauri/issues/4402)

* flatpak support ($50) [[feat] Bundle Tauri apps as Flatpak #3619](https://github.com/tauri-apps/tauri/issues/3619)

* snap support ($50)

* saveDialog that would open when JS wants to download a text / file ("download" attribute) ($50) [feat: Add download started and download completed callbacks wry#530](https://github.com/tauri-apps/wry/pull/530)

I know that those prices are really low, but I bet a lot of people are waiting for those features to be added before they can switch to Tauri. So if we can find some more people to donate for those features to be added, it can become profitable for a programmer to start working on them.

Hey, I am wondering if you are still offering this bounty?
#6532

@zigazajc007
Copy link

When I'm donating to Tauri, the money will just go for the security audit. So I'm willing to donate straight to the person that will implement any feature from this list:

* rpm support ($50) [[feat] Bundle Tauri apps as RPM #4402](https://github.com/tauri-apps/tauri/issues/4402)

* flatpak support ($50) [[feat] Bundle Tauri apps as Flatpak #3619](https://github.com/tauri-apps/tauri/issues/3619)

* snap support ($50)

* saveDialog that would open when JS wants to download a text / file ("download" attribute) ($50) [feat: Add download started and download completed callbacks wry#530](https://github.com/tauri-apps/wry/pull/530)

I know that those prices are really low, but I bet a lot of people are waiting for those features to be added before they can switch to Tauri. So if we can find some more people to donate for those features to be added, it can become profitable for a programmer to start working on them.

Hey, I am wondering if you are still offering this bounty? #6532

Yes

@saolof
Copy link

saolof commented Apr 18, 2023

As a Silverblue user, I might be willing to duplicate the bounty for Flatpak support specifically.

@0-don
Copy link

0-don commented Dec 13, 2023

I added support for arch and rpm via github actions

https://github.com/0-don/clippy/blob/master/.github/workflows/release.yml

hjmallon pushed a commit to hjmallon/tauri that referenced this issue May 17, 2024
…5202)

* feat(bundler): Add RPM packaging

* feat(bundler): Update 'rpm' to 0.13.1

* Fix fmt
hjmallon pushed a commit to hjmallon/tauri that referenced this issue May 21, 2024
…5202)

* feat(bundler): Add RPM packaging

* feat(bundler): Update 'rpm' to 0.13.1

* Fix fmt
hjmallon pushed a commit to hjmallon/tauri that referenced this issue May 21, 2024
…5202)

* feat(bundler): Add RPM packaging

* feat(bundler): Update 'rpm' to 0.13.1

* Fix fmt
lucasfernog added a commit that referenced this issue May 29, 2024
* feat(bundler): Add RPM packaging

* feat(bundler): Update 'rpm' to 0.13.1

* Fix fmt

Co-authored-by: Olivier Lemasle <olivier.lemasle@apalia.net>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Linux scope: bundler The bundler used in our cli to make installers type: feature request
Projects
Status: 📬Proposal
Development

Successfully merging a pull request may close this issue.

8 participants