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

fix: remove SkiaSharp.NativeAssets.Linux dependency to enable package handle via user #27

Merged
merged 8 commits into from
Nov 25, 2020

Conversation

guitarrapc
Copy link
Owner

details #26

TL;DR

  • Remove SkiaSharp.NativeAssets.Linux dependency from SkiaSharp.QrCode.
  • Now user can select to use SkiaSharp.NativeAssets.Linux or SkaiSharp.NativeAssets.Linux.NoDependencies.

Summary

On Linux, The type initializer for 'SkiaSharp.SKImageInfo' threw an exception. threw on run time. This is because SkiaSharp.QrCode depends on SkiaSharp.NativeAssets.Linux and SkiaSharp.NativeAssets.Linux depends on libfontconfig1.

This package dependency is not SkiaSharp.QrCode matter and should not force user to depends on.

@guitarrapc guitarrapc self-assigned this Nov 25, 2020
@codecov
Copy link

codecov bot commented Nov 25, 2020

Codecov Report

Merging #27 (371996b) into master (7f9b51c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   69.21%   69.21%           
=======================================
  Files           7        7           
  Lines        1400     1400           
=======================================
  Hits          969      969           
  Misses        431      431           
Flag Coverage Δ
unittests 69.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f9b51c...371996b. Read the comment docs.

@guitarrapc guitarrapc merged commit 0d90ae4 into master Nov 25, 2020
@guitarrapc guitarrapc deleted the fix/libskiasharp branch November 25, 2020 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant