mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #1359] Downstream Debian package: Make it possible to build without Stripe & Firebase; vendor the webpush library #959
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#959
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @binwiederhier on GitHub (May 30, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1359
The downstream Debian package had to do some horrible things to remove Stripe and Firebase and Webpush: https://sources.debian.org/patches/ntfy/2.11.0-2/. This also caused #1358.
We should make it easy with build tags to do that.
/cc @thekhalifa
@thekhalifa commented on GitHub (Aug 18, 2025):
Hi, I tried your commits from 7th of Aug and they worked great. Completely replace the 2 heavy patches now.
Just to make sure I didn't miss anything, I'm using these 3 tags: nopayments, nofirebase, nowebpush.
Whenever you're ready to tag those commits in your next release, I'll package that version (latest 2.14 is prior to those)
Thanks.
@binwiederhier commented on GitHub (Aug 24, 2025):
@thekhalifa That's great to hear! I'll ping you when I do a new release.
Is there any way to get the web app packaged too? Even if it's a bit of work? What would be the path forward? I really don't want a defunct version of ntfy in the Debian repo.
(Note: I will keep this issue open as the main Debian packaging issue)
@binwiederhier commented on GitHub (Aug 24, 2025):
@thekhalifa I am also happy to chat about this on my Discord or elsewhere, if it's easier to talk in chat. Let me know
@thekhalifa commented on GitHub (Aug 25, 2025):
Whenever you tag the repo, it'll show up on debian's tracker.d.o within a few days.
debian 13 was already released, so won't be affected by this change.
On the webapp side, the issue is missing dependencies - two kinds:
They all look critical for the webapp. Maybe removing react-remark avoids a big chunk of dependencies, but that would break MD rendering. Removing mui? nope, irreplaceable.
I can try to package a few of the flat ones, but react-, mui/ are a little too deep. Of course, maybe they get packaged in the future for other packages. Then that helps.
But even without the webapp, ntfy-client is fully functional and ntfy-server is a functional backend. So IMHO, it's still pretty useful for command line and mobile users.
If you're interested in a rough recap of what's in debian and what isn't from the webapp:
@thekhalifa commented on GitHub (Aug 25, 2025):
By the way, the last patch for emersion smtp, is there anything to be done about this pinned package?
replace github.com/emersion/go-smtp => github.com/emersion/go-smtp v0.17.0 // Pin version due to breaking changes, see #839debian stable now has v0.21.2 - so perhaps it's time for a bump?
Happy to help, submit a PR or patch.