Package Details: whatsapp-nativefier-dark 0.20200428132708-1

Git Clone URL: https://aur.archlinux.org/whatsapp-nativefier-dark.git (read-only, click to copy)
Package Base: whatsapp-nativefier-dark
Description: WhatsApp desktop built with nativefier (electron) using dark theme
Upstream URL: https://web.whatsapp.com
Keywords: whatsapp
Licenses: custom
Submitter: franciscocpg
Maintainer: franciscocpg
Last Packager: franciscocpg
Votes: 14
Popularity: 5.41
First Submitted: 2020-01-07 14:28
Last Updated: 2020-04-29 18:36

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

franciscocpg commented on 2020-03-19 18:11

sisus, could you try 0.20200221002211-5?

If that does not work, I don't know what could be since this package was using the nativefier version 7.7.1 before.

The problem is that the new nativefier package version 8.0.4 breaks the dark theme. So I pinned this package to nativefier version 7.7.1 again using yarn (while I don't have time to investigate the issue).

franciscocpg commented on 2020-03-19 18:06

rien333

I totally forgot about that (adding package.json and yarn.lock to source array).

Thank you for helping with this.

I've also fixed the yarn command. Everything should be ok now in 0.20200221002211-5.

sispus commented on 2020-03-19 17:49

hi franciscocpg,

But for me its always like that, only the previous update "fixed" it and now its turned to the "regular" not-raise behavior :)

Is there a way to fix it? How can I determine the problem? Reinstalling won't help, I already tried that.

rien333 commented on 2020-03-19 13:37

@franciscocpg

All right, I think I see what's wrong (and I'm confident it has not directly to do with my cache, also given that I followed your instructions multiple times). I have BUILDDIR=/tmp/makepkg set in /etc/makepkg.conf. Because package.json is not included in the source array, it's never moved to BUILDDIR, causing the build to fail (see my earlier error message during build()).

For whatever reason, I then also need to call nativefier from the current directory instead of the parent directory (i.e. ./node_modules/.bin/nativefier --...).

Could you at least add the files vital to the build process to the source array?

franciscocpg commented on 2020-03-19 11:36

sispus,

Nothing has changed regarding the system tray icon behavior. For me, it's always worked as you've described: left-click raises or lowers the application window and right-click shows the menu of "Whatsapp" and "Quit". The same applies to the latest version (0.20200221002211-4).

franciscocpg commented on 2020-03-19 11:29

rien333

Are you sure yarn should be called before entering scrdir?

Yes, I'm sure. I've tested the package install by running the command below (it completely removes the package and installs again) and it's working fine.

yay -R whatsapp-nativefier-dark
rm -rf ~/.cache/yay/whatsapp-nativefier-dark
yay -S whatsapp-nativefier-dark

BTW, why use yarn and a downloaded nativifier? The nativifier from the repo's works just fine for building this package.

See this comment: https://aur.archlinux.org/packages/whatsapp-nativefier-dark/#comment-734383

rien333 commented on 2020-03-19 08:15

@franciscocpg

Don't think it's related to some lockfile tbh. The error message states that the file ../node_modules/.bin/nativefier is not found, and there is indeed no such file above the scrdir directory. There is a node_modules folder in scrdir, but it's empty.

Are you sure yarn should be called before entering scrdir? That might be causing the lockfile warning.

BTW, why use yarn and a downloaded nativifier? The nativifier from the repo's works just fine for building this package.

sispus commented on 2020-03-19 04:46

Hi, Now I have dark theme (0.20200221002211-4).

The system tray icon behavior in Manjaro KDE also changed with the recent update. However, the previous one was better. There, left-clicking on the icon would raise or lower the application window (lower to the tray). Now, left click does nothing and right click shows the menu of "Whatsapp" and "Quit". Is there a way to have that behavior again?

franciscocpg commented on 2020-03-18 18:35

That's strange rien333.

This message "info No lockfile found" indicates that the file yarn.lock is missing so I suppose it's some issue with cache.

Could you try something like this?

rm -rf /home/rw/.cache/yay/whatsapp-nativefier-dark
yay -S whatsapp-nativefier-dark

rien333 commented on 2020-03-18 17:56

version 0.20200221002211-4 gives me a failure in build():

==> Extracting sources...
==> Sources are ready.
==> Making package: whatsapp-nativefier-dark 0.20200221002211-4 (Wed 18 Mar 2020 06:54:40 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
yarn install v1.22.4
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Saved lockfile.
Done in 0.05s.
/home/rw/.cache/yay/whatsapp-nativefier-dark/PKGBUILD: line 30: ../node_modules/.bin/nativefier: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...