| Age | Commit message (Collapse) | Author |
|
The continuous integration on 0xacab didn't run, so it didn't catch this issue.
It seems like we'll have to move to github or whatever instead, sigh.
|
|
Reported-By: https://github.com/NixOS/nixpkgs/issues/436421
|
|
|
|
```
======================================================================
ERROR: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) (case={'name': 'webp', 'parser': <class 'libmat2.images.WEBPParser'>, 'meta': {'Warning': '[minor] Improper EXIF header'}, 'expected_meta': {}})
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builds/jvoisin/mat2/libmat2/images.py", line 109, in __init__
GdkPixbuf.Pixbuf.new_from_file(self.filename)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “./tests/data/clean.webp” (3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/builds/jvoisin/mat2/tests/test_libmat2.py", line 557, in test_all_parametred
p1 = case['parser'](target)
File "/builds/jvoisin/mat2/libmat2/images.py", line 111, in __init__
raise ValueError
ValueError
```
Pending on https://0xacab.org/georg/mat2-ci-images/-/issues/14
|
|
|
|
|
|
The file `word/_rels/document.xml.rels` is similar to `[Content_Types].xml` and
has references to other files in the archive. If those references aren't
removed Word refuses to open the document. # Please enter the commit message
for your changes. Lines starting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to Maxime Morin ( https://www.maijin.fr/ )
for the patch.
|
|
|
|
This should fix #162
|
|
While hardcoding the compression to zipfile.ZIP_DEFLATED works for
most use cases of mat, being able to produce cleaned up uncompressed
zip files is useful for content that cannot be compressed more.
In addition it also enables to use mat2 for reproducible builds of
Android bootanimation files file that don't support compression.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
Always a joy to deal with withespaces
|
|
|
|
This should close #151
|
|
|
|
|
|
|
|
|
|
Due to bubblewrap's pickiness, mat2 can now be run
without a sandbox, even if bubblewrap is installed.
|
|
|
|
|
|
|
|
|
|
Rework the dependencies definition to include a 'required' flags, which
is passed by the check_dependencies helper to the callers, so that they
can distinguish between required and optional dependencies.
This help in two ways:
- The unit test for the dependencies was now failing when an optional
one was missing, due to a previous rework.
- Mat2's --check-dependencies was referring to "required dependencies"
and was misleading for the user as some of them could be optional.
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
|
|
Remove the try/except logic when calling check_dependencies, as it
cannot throw the exception anymore (it's caught already in the
function).
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
|
|
|
|
|
|
|
|
|
|
- More tests
- More documentation
- Minor code cleanup
|
|
|
|
|
|
|
|
|
|
This should make easier to get more metadata from
archive-based file formats.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|