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

libschrift: 0.9.1 -> 0.10.0 #111152

Merged
merged 2 commits into from Feb 1, 2021

Conversation

sternenseemann
Copy link
Member

Motivation for this change

https://github.com/tomolt/libschrift/blob/master/CHANGELOG.md#v0100

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 111152 run on x86_64-darwin 1

1 package failed to build and are new build failure:

@sternenseemann
Copy link
Member Author

@SuperSandro2000 can you test the latest commit on darwin for me? This should fix the build.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 111152 run on x86_64-darwin 1

1 package built:
  • libschrift

On darwin unsigned long int != uint_fast32_t:
https://opensource.apple.com/source/Libc/Libc-1439.40.11/include/_types/_uint32_t.h.auto.html

Thus the build fails as SFT_Glyph is defined as unsigned long, but
schrift.c uses uint_fast32_t everywhere instead of SFT_Glyph. We fix
this by adjusting the int type in the header which should be fine for
now.

This patch is technically not required for Linux, but it doesn't hurt
either as unsigned long == uint_fast32_t.
@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 111152 run on x86_64-darwin 1

1 package built:
  • libschrift

@SuperSandro2000 SuperSandro2000 merged commit 0677b9d into NixOS:master Feb 1, 2021
@sternenseemann sternenseemann deleted the libschrift-0.10.0 branch February 1, 2021 15:32
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.

None yet

2 participants