Package Details: skia-git r74096.daecd808dc-1

Git Clone URL: https://aur.archlinux.org/skia-git.git (read-only, click to copy)
Package Base: skia-git
Description: Chromiums high-performance rendering library
Upstream URL: https://github.com/google/skia
Licenses: BSD
Conflicts: skia
Provides: skia
Submitter: nyorain
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 5
Popularity: 0.58
First Submitted: 2016-10-04 17:41 (UTC)
Last Updated: 2024-12-24 21:14 (UTC)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2024-12-23 02:05 (UTC) (edited on 2024-12-23 02:09 (UTC) by micwoj92)

@Popolon I will add this provides (also needs conflicts) later this week.

This package currently only builds and installs libskia shared library. Previous incarnation of this package did have headers, but the build was changed.

What do you mean by "It could be needed"?

Is it or is it not? Because I only did basic tests with python-skia-pathops with current PKGBUILD in the past and it only needed the shared library , for more info: https://github.com/alerque/aur/issues/68

This needs lots of work (if even possible/feasible) before this can be used as a system skia lib by other packages.

Suggestions welcome if you know how to improve this build system.

Popolon commented on 2024-12-22 22:24 (UTC)

Please, add

provides=(skia)

Also do you know where to found the skia.h, and some libs (.so/.a) ? It could be needed by some other packages, like python-skia

micwoj92 commented on 2024-12-19 18:29 (UTC)

Fixed.

treeshateorcs commented on 2024-12-19 07:03 (UTC)

fails to build

gn.py: Could not find gn executable at: ['/home/tho/.cache/paru/clone/skia-git/src/skia/buildtools/linux64/gn/gn', '/home/tho/.cache/paru/clone/skia-git/src/skia/buildtools/linux64/gn']
==> ERROR: A failure occurred in prepare().
    Aborting...
   0: <unknown>
error: failed to build 'skia-git-r73166.0b776ce0b8-1': 
   0: <unknown>
error: packages failed to build: skia-git-r73166.0b776ce0b8-1

micwoj92 commented on 2024-10-26 07:35 (UTC)

Please see https://github.com/alerque/aur/pull/90

knuxyl commented on 2024-10-26 00:15 (UTC) (edited on 2024-10-26 00:29 (UTC) by knuxyl)

This does not build

    Warning: Your depot_tools directory does not appear to be a git repository, and cannot be updated.
    Consider deleting your depot_tools directory and following the instructions at https://www.chromium.org/developers/how-tos/install-depot-tools/ to reinstall it.
    /home/knuxyl/.cache/yay/skia-git/src/depot_tools/bootstrap_python3: line 3: bootstrap/manifest.txt: No such file or directory
    Could not extract Python 3 version from manifest.
    ==> ERROR: A failure occurred in prepare().
        Aborting...
     -> error making: skia-git-exit status 4
     -> Failed to install the following packages. Manual intervention is required:
    skia-git - exit status 4

micwoj92 commented on 2024-09-03 18:57 (UTC)

This now is just the library.

micwoj92 commented on 2024-09-02 21:25 (UTC)

I'll push update to this tomorrow

fbrennan commented on 2023-11-04 06:41 (UTC)

This is now a split package.

[fred@大.狸.agency ~]$ pacman -Qi skia-{git,examples-git}
Name            : skia-git
Version         : r69268.77aeee3b81-1
Description     : Chromiums high-performance rendering library (static)
Architecture    : any
URL             : https://github.com/google/skia
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : mesa  libgl
Optional Deps   : depot-tools-git: for building with system-wide depot-tools, requires patching the PKGBUILD
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 562.64 MiB
Packager        : Fredrick R. Brennan <copypaste@kittens.ph>
Build Date      : Sat 04 Nov 2023 02:36:00 AM EDT
Install Date    : Sat 04 Nov 2023 02:37:25 AM EDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Name            : skia-examples-git
Version         : r69268.77aeee3b81-1
Description     : Chromiums high-performance rendering library (examples)
Architecture    : any
URL             : https://github.com/google/skia
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : mesa  libgl  glu  libx11  libxrandr  libxinerama  libxcursor  libxi  libxcomposite  libxdamage  libxext  libxfixes  libxrender  libxkbcommon-x11
Optional Deps   : depot-tools-git: for building with system-wide depot-tools, requires patching the PKGBUILD
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 2.79 GiB
Packager        : Fredrick R. Brennan <copypaste@kittens.ph>
Build Date      : Sat 04 Nov 2023 02:36:00 AM EDT
Install Date    : Sat 04 Nov 2023 02:37:26 AM EDT
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None
[fred@大.狸.agency ~]$ pacman -Ql skia-{git,examples-git}
skia-git /usr/
skia-git /usr/lib/
skia-git /usr/lib/libskia.a
skia-git /usr/share/
skia-git /usr/share/licenses/
skia-git /usr/share/licenses/skia-git/
skia-git /usr/share/licenses/skia-git/LICENSE
skia-examples-git /usr/
skia-examples-git /usr/bin/
skia-examples-git /usr/bin/skia/
skia-examples-git /usr/bin/skia/HelloWorld
skia-examples-git /usr/bin/skia/blob_cache_sim
skia-examples-git /usr/bin/skia/convert-to-nia
skia-examples-git /usr/bin/skia/create_test_font
skia-examples-git /usr/bin/skia/create_test_font_color
skia-examples-git /usr/bin/skia/dm
skia-examples-git /usr/bin/skia/dump_record
skia-examples-git /usr/bin/skia/editor
skia-examples-git /usr/bin/skia/fiddle
skia-examples-git /usr/bin/skia/fiddle_examples
skia-examples-git /usr/bin/skia/filterfuzz
skia-examples-git /usr/bin/skia/fuzz
skia-examples-git /usr/bin/skia/get_images_from_skps
skia-examples-git /usr/bin/skia/image_diff_metric
skia-examples-git /usr/bin/skia/imgcvt
skia-examples-git /usr/bin/skia/libcanvas_state_lib.so
skia-examples-git /usr/bin/skia/nanobench
skia-examples-git /usr/bin/skia/skdiff
skia-examples-git /usr/bin/skia/skiaserve
skia-examples-git /usr/bin/skia/skottie_tool
skia-examples-git /usr/bin/skia/skottie_tool_cpu
skia-examples-git /usr/bin/skia/skottie_tool_gpu
skia-examples-git /usr/bin/skia/skp_parser
skia-examples-git /usr/bin/skia/skpbench
skia-examples-git /usr/bin/skia/skpinfo
skia-examples-git /usr/bin/skia/skqp
skia-examples-git /usr/bin/skia/sktexttopdf
skia-examples-git /usr/bin/skia/svg_tool
skia-examples-git /usr/bin/skia/viewer

fbrennan commented on 2021-04-07 08:38 (UTC)

I'm sorry, I filed a request because this wasn't working for me and I thought that the 2018 comment hadn't been dealt with, but I was wrong.

The real problem is that the /opt/depot_tools is owned by wrong user, resulting in:

==> Starting prepare()...
mktemp: failed to create file via template ‘/opt/depot_tools/.cipd_client.XXXXXXX’: Permission denied
curl: (23) Failure writing output to destination
mktemp: failed to create file via template ‘/opt/depot_tools/.cipd_client.XXXXXXX’: Permission denied
curl: (23) Failure writing output to destination
/opt/depot_tools/bootstrap_python3: line 37: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: No such file or directory
mktemp: failed to create file via template ‘/opt/depot_tools/.cipd_client.XXXXXXX’: Permission denied
curl: (23) Failure writing output to destination
/opt/depot_tools/bootstrap_python3: line 37: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: No such file or directory
cat: /opt/depot_tools/python3_bin_reldir.txt: No such file or directory
/opt/depot_tools/vpython3: line 52: /opt/depot_tools/.cipd_bin/vpython3: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

I had to do:

sudo chown -R fred:fred /opt/depot_tools/

Because prepare() runs as current user, it can't modify /opt.