Bug 2548541

Summary: Review Request: dardasha - Independent desktop client for WhatsApp Web
Product: [Fedora] Fedora Reporter: abdallah-shehawy <shehawey9>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/abdallah-shehawey/whatsapp-desktop
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 177841    

Description abdallah-shehawy 2026-10-09 12:23:31 UTC
Spec URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-2026-10-09/whatsapp-desktop.spec

SRPM URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-2026-10-09/whatsapp-desktop-1.9.12-1.fc44.src.rpm

Description:
Independent desktop client for WhatsApp Web with system tray integration, desktop notifications, themes, configurable fonts and privacy controls. It requires an existing WhatsApp account and Internet access. The project is not affiliated with Meta or WhatsApp.

The application is GPL-3.0-or-later, its WhiteSur-derived artwork GPL-3.0-only, and its AppStream metadata CC0-1.0. Artwork sources and license notices are included in the source archive.

This source-only application proposal installs JavaScript and data and depends on a distribution-owned Electron >= 40, < 41 runtime. It neither downloads Electron nor runs npm during the build. The application package and tests pass in a clean Fedora 44 environment, with zero rpmlint errors or warnings.

Runtime prerequisite:
Electron is not currently packaged in the target Fedora repositories. This proposal does not complete Electron's source build, dependency packaging or security maintenance and cannot currently be installed from the official archives. I seek guidance on the runtime prerequisite and the eligibility of this independent client; final review/acceptance must wait for these matters.

I am a new Fedora contributor and need a package-maintainer sponsor (FE-NEEDSPONSOR).

Fedora Account System Username: abdallah-shehawey

Upstream URL:
https://github.com/abdallah-shehawey/whatsapp-desktop

Packaging implementation and validation:
https://github.com/abdallah-shehawey/whatsapp-desktop/pull/6

Debian ITP (blocked by Electron RFP #842420):
https://bugs.debian.org/1150415

Fedora devel discussion:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/2L7VRATKFL4CDYQWCE5GXZHEFLLAG62P/

Comment 1 abdallah-shehawy 2026-10-09 21:22:31 UTC
Updated Fedora review artifacts following the devel feedback (RPM revision 2).

Correction: Fedora Rawhide already provides nodejs-electron-43.2.0-1.fc46. My initial assessment was incomplete: I checked stable Fedora and missed the Rawhide package. The revised Fedora SPEC requires Electron >=43,<44, matches the actual native WM_CLASS and hardlinks duplicate icon/metadata files. It remains a source-only application package; it neither downloads Electron nor runs npm during the build.

Spec URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-2026-10-10-fedora43/whatsapp-desktop.spec

SRPM URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-2026-10-10-fedora43/whatsapp-desktop-1.9.12-2.fc46.src.rpm

Review artifacts, checksums and validation details:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/tag/packaging-review-2026-10-10-fedora43

Implementation:
https://github.com/abdallah-shehawey/whatsapp-desktop/pull/8

Validation: application 1.9.12 was tested in a private Rawhide container with Fedora's official nodejs-electron-43.2.0-1.fc46. The source RPM rebuilt, the application RPM installed, application tests and source-only installation checks passed, and rpmlint reported zero errors and warnings.

The installed application's real logged-out WhatsApp QR page, Settings, Fonts and About rendered; preloads/IPC worked; private settings writes were read back; and the native WM_CLASS matched the installed desktop entry. This was a basic compatibility check using X11 with GPU disabled. Signed-in messaging/calls, native Wayland and hardware acceleration remain unvalidated. Later Electron major versions will need fresh compatibility validation as Fedora moves forward.

The Fedora devel follow-up has been sent in the original proposal thread:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/2L7VRATKFL4CDYQWCE5GXZHEFLLAG62P/

I would appreciate application review and packager sponsorship guidance. Sponsorship request:
https://forge.fedoraproject.org/packaging/sponsors/issues/802

Rawhide runtime availability does not establish availability on stable Fedora or Debian/Ubuntu. Debian's separate Electron prerequisite remains unresolved. These application checks and this submission are not archive acceptance. The normal stable application remains 1.9.12 with bundled Electron 40.

FAS: abdallah-shehawey

Comment 2 abdallah-shehawy 2026-10-25 14:41:36 UTC
Updated review artifacts for whatsapp-desktop 1.9.20 (Fedora RPM revision 2), checked on 2026-10-25.

SPEC URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-1.9.20-fedora43/whatsapp-desktop.spec

SRPM URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-1.9.20-fedora43/whatsapp-desktop-1.9.20-2.fc46.src.rpm

Review snapshot, source archives, checksums and validation:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/tag/packaging-review-1.9.20-fedora43

The old Source0 kept pointing to the dated 1.9.12 snapshot after version updates. Merged PR #14 now uses a version-specific review tag, checks the expanded SPEC URL/version against committed source and records the exact source URL/tag in the manifest:
https://github.com/abdallah-shehawey/whatsapp-desktop/pull/14

Fresh Rawhide SRPM rebuild and application RPM installation pass with Fedora's official nodejs-electron-43.2.0-1.fc46. rpmlint reports zero errors and zero warnings. All 399 application checks pass; both PR CI jobs pass, and a fresh Ubuntu 24.04 .dsc rebuild and Lintian pass. All 10 published review assets were downloaded anonymously and matched SHA256SUMS.

The installed application rendered the real logged-out WhatsApp login page and QR canvas, Settings, Fonts and About using real preloads/IPC. Private preference write/readback, hide/show and native WM_CLASS matching passed. Validation used private data, rootless Podman, Xvfb X11 and disabled GPU acceleration. Signed-in messaging/calls, native Wayland, hardware acceleration and full desktop portal integration remain unvalidated.

Fedora devel follow-up, independently verified as public:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SJ5Z6BPSZQVMCUSVVGLDPHP6B2N6AN45/

I am still seeking an application reviewer and a packager sponsor/mentor. Could someone help with the review or advise on a suitable sponsorship path? This update does not imply review approval, sponsorship or official archive acceptance. Debian's separate Electron prerequisite remains unresolved.

FAS: abdallah-shehawey

Comment 3 abdallah-shehawy 2026-11-11 02:38:01 UTC
Refreshed source-only review snapshot for whatsapp-desktop 1.10.3, built from main commit d0534a7b3c0e92ab252f7a115aea570e7b4cccc8.

Spec URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-1.10.3-fedora43/whatsapp-desktop.spec

SRPM URL:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-1.10.3-fedora43/whatsapp-desktop-1.10.3-1.fc46.src.rpm

Review snapshot, checksums and validation record:
https://github.com/abdallah-shehawey/whatsapp-desktop/releases/tag/packaging-review-1.10.3-fedora43

Changes following Vít Ondruch's Fedora devel feedback:
- The Electron range is one rich dependency, (electron >= 43 with electron < 44), so one provider must satisfy both bounds. The same dependency is a BuildRequires: once Fedora's runtime leaves this range, the package fails to build. A negative check using Electron >= 44, < 45 fails dependency resolution as expected.
- BuildRequires: nodejs >= 20, also declared for the Debian source package. The X11 test added since the previous review snapshot uses an abstract Unix socket that fails with EINVAL on Ubuntu 24.04's Node.js 18.19.1; the application itself still uses Electron's embedded Node.js.

Validation on 2026-11-11 from this final snapshot:
- Both PR #16 and post-merge main CI jobs pass.
- Fresh rootless Podman Rawhide rebuild from the SRPM and RPM installation pass with official nodejs-electron-43.2.0-1.fc46. rpmlint 2.10.0: 0 errors and 0 warnings on both packages.
- Rawhide passes all 426 application checks across 25 suites, plus source-only installation and metadata checks.
- The installed application, run as an unprivileged user under private Xvfb X11 with GPU acceleration disabled and private user data, loads the real logged-out web.whatsapp.com login page and QR canvas. Settings, Fonts and About render through real preloads and IPC; preference write/readback, hide/show and WM_CLASS matching pass. About reports Electron 43.2.0, Chromium 150.0.7871.129 and Node 24.18.0.
- The Debian .dsc rebuilds on Debian 13 with archive Node.js 20.19.2 and no Lintian errors. It executes 422 checks; four desktop watcher assertions skip because gsettings is absent from that buildroot and pass in Rawhide. Ubuntu 24.04 cannot satisfy the new build dependency from its own archive.
- All published review assets were downloaded anonymously and verified against SHA256SUMS.

Limits: no signed-in messaging or calls; no native Wayland, hardware acceleration or full desktop portal validation. Rawhide availability does not establish stable Fedora availability. Debian's separate Electron prerequisite remains unresolved.

I am still seeking an application reviewer and a packager sponsor/mentor (FE-NEEDSPONSOR):
https://forge.fedoraproject.org/packaging/sponsors/issues/802

This update does not imply review approval, sponsorship or official archive acceptance.
FAS: abdallah-shehawey

Comment 4 abdallah-shehawy 2026-11-18 11:03:49 UTC
Spec URL: https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-dardasha-1.10.5-fedora44/dardasha.spec
SRPM URL: https://github.com/abdallah-shehawey/whatsapp-desktop/releases/download/packaging-review-dardasha-1.10.5-fedora44/dardasha-1.10.5-3.fc46.src.rpm

Two changes since comment 3.

1. Electron 44. Rawhide's runtime moved to nodejs-electron-44.11.3-1.fc46
(stable in Bodhi on 2026-11-17), so (electron >= 43 with electron < 44) no
longer matched it. That is the build failure the range was written to
cause. The range is now (electron >= 44 with electron < 45), as both
BuildRequires and Requires.

2. The package is renamed dardasha. An independent client should not carry
the WhatsApp name or logo, so the package now installs the project's
Dardasha brand: the name Dardasha, the command dardasha, the application id
io.github.abdallah_shehawey.dardasha and original artwork. Upstream selects
it with `make install-system BRAND=dardasha`. The WhatsApp-derived artwork
in the upstream archive is not installed, so License drops GPL-3.0-only and
is now GPL-3.0-or-later AND CC0-1.0. The upstream archive keeps its name,
whatsapp-desktop-%{version}.tar.gz, which is why the SPEC sets
%autosetup -n.

Checked in a Rawhide container with the Fedora-signed 44.11.3 build (rpm -K OK):
- rpmbuild --rebuild runs %check; every suite passes, including an install
  check of both upstream brands
- rpmlint: 0 errors, 0 warnings on the SRPM and on the noarch RPM
- the same SPEC written for (electron >= 45 with electron < 46) stops at
  "nothing provides requested"
- installed and run: the logged-out WhatsApp Web page and its QR code load;
  WM_CLASS is io.github.abdallah_shehawey.dardasha, matching the desktop
  entry; Settings, Fonts and About work through their real preloads, titled
  "Dardasha Settings", "Dardasha Fonts" and "About Dardasha". About reports
  Electron 44.11.3, Chromium 152.0.7977.169
- Electron 44's breaking changes were checked against the source; none needed
  an application change

Details and limits (no signed-in messaging/calls, X11 only, GPU disabled):
https://github.com/abdallah-shehawey/whatsapp-desktop/blob/main/packaging/official/fedora-runtime-check.md

I am still looking for a reviewer and a packager sponsor.

Disclosure under Fedora's AI-Assisted Contributions Policy: the SPEC changes,
the Dardasha artwork, the validation and this comment were prepared with an
AI assistant. I am accountable for them.
Assisted-by: Claude (Anthropic)