Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #256

Open
wants to merge 224 commits into
base: master
Choose a base branch
from
Open

[pull] master from NixOS:master #256

wants to merge 224 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 27, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

emilazy and others added 30 commits November 25, 2024 11:48
Fixes `redefinition of 'struct __mingw_uuidof_s<ID3D10StateBlock>'` when
building DXVK 1.10.3 with GCC 14.
Pull MindForger's [fork][cmark-fork] of [cmark-gfm][cmark] alongside
Mindforger and build it in `preBuild`. I am not sure to understand how
mindforger could be built before that.

The patches that were applied have all been upstreamed and could be
removed.

A patch for the Qt project file to use pkg-config to find hunspell was
added. Don't forget to install dictionaries from `hunspellDicts` for
this to be useful.

This currently does not build on Darwin because some vendored transitive
dependency, and I did not bother with that.

Thanks to @FliegendeWurst for picking this PR up, and help with it.

[cmark]: https://github.com/github/cmark-gfm
[cmark-fork]: https://github.com/dvorka/cmark
No patches are needed to the Cargo.lock so using the upstream one is
easier to maintain.
For a user to be able to scan with an USB scanner, it must have write access
to the corresponding file in /dev/bus/usb. Enabling the sane module
adds SANE's upstream hwdb file and udev rules to udev search path. The
hwdb file tags the scanner as `libsane_matched` and a builtin (from
systemd upstream) udev rule marks all `libsane_matched` devices as
uaccess. When a physical user logins, logind adds an acl allowing them
to write to the device.

Unfortunately, saned is a daemon. Therefore, uaccess has no effect for
it, and if no other udev rule changes the device to belong to the
scanner group or the lp group, (there are such rules, but they are not
complete enough, in that some scanners known by SANE rules are not known
by these rules), it will not be able to write to the scanner.

This solves this by adding a udev rule so that all libsane_matched
devices have an acl rules so that users in the scanner group can write.

A similar rule is present on Arch and Debian at least.

Note that we don't chgroup the file instead, because this posed problems
in the past: scanners are often also printers, and a device's group
cannot be simultaneously lp and scanner.

Fixes: #361981
Inkstitch assumes its runtime python environment to be present during
build, so provide it.
Overwrite the version number shown in inkstitch's about dialog. Without
this option, only 'manual' (without a version number) is shown.
No more usages in nixpkgs.
dywedir and others added 30 commits December 28, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.