`test` directory actually also contains various libraries and broken
tests. Test failure happens when `test/lib/gajim_mocks.py` is attempted
to run as a test.
Upstream only runs no_gui tests:
e0f58cfc78/.gajim-ci.yml (L18)
We now explicitly run only tests from `no_gui` and `unit`.
Just got a reminder via the vulnerability roundup[1] that I'm still
listed as maintainer for Synergy, even though I stopped using it years
ago.
I'll also take this as an opportunity to remove myself from other
packages which I stopped using and thus most certainly won't be able to
maintain. The latter is already hard enough these days for software
which I *do* use.
[1]: https://github.com/NixOS/nixpkgs/issues/94007
Signed-off-by: aszlig <aszlig@nix.build>
The list of upstream changes is huge, so I'm not pasting it here in the
commit message, but here is the upstream URL:
https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.2/ChangeLog
One of the most visible updates are the design changes for various
dialogs and the Emoji overhauls.
On our end, we now need three more dependencies, namely cssutils,
precis-i18n and keyring, which I added accordingly.
In addition, the test runner is now integrated into setup.py, which we
now use.
I also cleaned up the package expression a bit, eg. it's no longer
wrapped in a big "with lib;", so that "nix-instantiate --parse" is able
to detect attribute errors (which is very useful if you have editor
integration).
Signed-off-by: aszlig <aszlig@nix.build>
Upstream changes:
* 8296 Fix errors on roster updates after stream management resume
* 9106 Convert font weight from pango to css values
* 9124 Bring ChatControl to front when notification is clicked
* Set no-store hint on groupchat chatstates
* Dont show OOB uri if message body is the same
* Add missing bybonjour dependency for Windows zeroconf
The full change log can be found at:
https://dev.gajim.org/gajim/gajim/raw/gajim-1.0.3/ChangeLog
Built and tested the package on my machine.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c, @abbradar
This is for systems that are not using a full desktop environment, so
Gajim can fall back to the default icon theme of Gnome 3.
Among just fixing aesthetics this also fixes a few exceptions that were
triggered by Gajim not finding the icons. One example of this is when
you enter the plugins dialog, the window is empty if the icons can't be
found.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @abbradar, @Mic92, @7c6f434c
Just because the tests need GTK+, I think it's not a good idea to simply
disable them when we're still able to use an X virtual framebuffer to
run them anyway.
As with the package we had prior to version 1.0 I've disabled the
resolver test, because this one requires networking.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @abbradar, @Mic92, @7c6f434c
Upstream changes:
* Improve Zeroconf behavior
* Fix showing normal message event
* remove usage of OpenSSL.rand
* a few minor bugfixes
The really important part here is the third point about OpenSSL.rand,
because the rand attribute no longer exists in pyopenssl and thus Gajim
doesn't even start.
Also the fix-tests.patch has been fixed upstream as well, so we don't
need it anymore.
Another change in 0.16.9 that's not included in the changelog is that
there is a test_nogui target, which is also run by the CI upstream is
using, so let's use that and remove xvfb_run.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c, @Mic92
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances
This is a bit more involved, because first of all, the tests aren't
distributed in the release tarball and second the test suite currently
doesn't work but there are fixes for it that get released in the next
upstream patch, so we cherry-pick the relevant commits as patches.
We now also switch to fetching the tarball directly from their GitLab
instance, because - as mentioned - it contains the tests and also
contains the icon.index file, which we already had included as a patch
and we can now drop it.
The URLs to the cherry-picked upstream commits are the following:
1f0d7387fd491d32a2ec46a19733d2
All of these commits are in the gajim_0.16 branch and are thus very
likely becoming part of Gajim 0.16.7.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @7c6f434c
See #11567.
Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus-
python as that's the name upstream uses.
There is a small rebuild but I couldn't figure out the actual cause.