Update to 2.46.0
Changelog: Version 2.46.0 - The following are highlights compared to the 2.44.x series. For full details, please see the release notes for the 2.45.x series. - All of librsvg.so is now implemented in Rust! That is, except for a very thin wrapper over the public API functions. Hopefully we can remove this wrapper when Cargo gets some more features around controlling the linking step. This release requires at least Rust 1.34. - Librsvg now comes with a Rust crate that can be used from Rust applications. See librsvg_crate/examples. This Rust API is designed to be idiomatic; if you want a Rust binding to the shared library instead, please use the "rsvg-rs" crate from crates.io. - The following API functions are new in the C library: rsvg_handle_get_intrinsic_dimensions() rsvg_handle_render_document() rsvg_handle_render_layer() rsvg_handle_render_element() rsvg_handle_get_geometry_for_layer() rsvg_handle_get_geometry_for_element() Correspondingly, there is a new chapter in the documentation, called "Recommendations for Applications". These new APIs conform better with the web platform's idea of how SVG sizing/positioning should work. Applications should now find it easier to scale and render SVGs in a single call, instead of having to obtain image dimensions first. - A bunch of functions have been deprecated but are still available: - rsvg_handle_write()/close() are deprecated in favor of the stream functions. Unfortunately the write()/close() pair require buffering the entire document, in case it is a .svgz compressed file; the streaming functions do not have this problem. - Functions that return RsvgDimensionData and RsvgPositionData are deprecated, since they just use integers instead of floating point numbers. They are replaced with the _get_geometry_*() functions above. - The library is a lot more strict now in terms of detecting that the API functions are called in the correct order. For example, calling rsvg_handle_get_dimensions() before rsvg_handle_close() will now emit a critical warning. - Librsvg is gradually moving towards using code from Mozilla's Servo. We haven't quite gotten rid of libcroco and libxml2 yet, but this is in progress. - Many thanks to all the people who participated in the long cycle for 2.45. Having the whole library's functionality in Rust is a big accomplishment! Version 2.45.92 - #496 - Ensure all lengths and angles parse as finite numbers - #497 - Don't panic on paths with all-invalid commands - #500 - Added additional SVG blend-modes for the feBlend filter primitive (Andargor) - Some changes in the build structure to allow for faster builds. Version 2.45.91 - The documentation has a new chapter, Recommendations for Applications. - #451 - Make rsvg-convert detect images larger than pixman's limit. - #410 - Update introspection annotations. - #449 - librsvg_crate: Make cancellable arguments consistent with gio-rs - librsvg_crate: Take all gio arguments as IsA<SomeGioType> generics - Updated Rust crates to avoid duplicates (Bastien Orivel) Version 2.45.90 - New API functions: rsvg_handle_render_document() rsvg_handle_render_layer() rsvg_handle_render_element() rsvg_handle_get_geometry_for_layer() rsvg_handle_get_geometry_for_element() CairoRenderer in the librsvg_crate has corresponding functions as well. - Fix builds with gettext ≥ 0.20 (Ting-Wei Lan). - If the C API is called out of order, downgrade hard panics to g_critical() to cope with incorrect/old applications that called rsvg_handle_get_dimensions() before rsvg_handle_close(). - API reference documentation is much improved. Version 2.45.8 - This version requires at least Rust 1.34. - #485 - Fix build on Rust earlier than 1.36 (Kleis Auke Wolthuizen). - More polishing of the Windows build (Chun-wei Fan). - Update gtk-rs and dependent crates (Bastien Orivel) Version 2.45.7 - Fix #463 - Don't panic if an SVG has character data outside the first element. - Fix #467: Don't panic when there's an xi:include fallback with no parent element. Thanks to Bastien Orivel for running afl-fuzz on librsvg. - Fix #471: Fix blurry semi-opaque objects when rendering with a scaled transformation. Thanks to the gnome-games people for isolating a test case and to Evgeniy Reizner for providing a more minimal one. - Fix #481: Don't ignore the first x/y/dx/dy in text/tspan elements if there is more than one position specified. - #452 - In librsvg_crate, SvgHandle now has a ::has_element_with_id() method. - rsvg-convert now catches the case where the SVG has no dimensions. - Replaced the Visual Studio build infrastructure for NMake (Chun-wei Fan). - This version no longer contains the rsvg-view program, so librsvg no longer depends on GTK. Please see https://people.gnome.org/~federico/blog/removing-rsvg-view.html for the rationale behind this change. - The poly element no longer supports "verts" as an alias for the "points" attribute. The "verts" name was only used in SVG pre-1.0, and we had been cargo-culting that name ever since. - We now use more machinery from Mozilla Servo, in this case the markup5ever and rust-selectors crates. This is in line with gradually replacing libcroco with a Rust-only CSS machinery. - Lots and lots of refactoring and cleanups: use the rctree crate instead of our own tree representation; remove interior mutability in element structs; make the gradients and patterns code less repetitive (Paolo Borelli). - Update some dependencies (Bastien Orivel). - New section in COMPILING.md about cross-compilation to Windows using mingw (Takuro Ashie) - Fix static linking and Windows builds (Kleis Auke Wolthuizen). Version 2.45.6 - Librsvg now requires Rust 1.30.0 or later. - Librsvg now requires Cairo 1.16.0 or later. Thanks to Julian Sparber for keeping up with cairo-rs API changes. - This version introduces librsvg_crate, an idiomatic Rust crate for using librsvg from Rust programs directly, without using GObject machinery. This API is subject to change, but you can start using it now in an experimental fashion. Thanks to Paolo Borelli and Jordan Petridis for fine-tuning this new API. - All of the librsvg internals are now in Rust! The C code is just a thin wrapper over Rust functions. - The internals library has been converted to Rust 2018 (Jordan Petridis). - Within librsvg_crate, there is a new infrastructure for doing reftests in Rust, that does not depend on PNG reference files. See librsvg_crate/tests for details. - This release introduces the following new APIs: rsvg_handle_get_intrinsic_dimensions(), rsvg_handle_get_geometry_for_element(). - Parsing of the "style" attribute, which has a plain list of CSS property declarations, is now done with rust-cssparser. - CSS selector matching should be marginally faster than before. - Fix Visual Studio builds (Chun-wei Fan). - Fix #11 - Respect the "direction" property for bidirectional text (Khaled Hosny). - Fix #295 - Ensure the initial viewport fits into temporary surfaces for compositing - Fix #425 - Don't fail parsing if the system's locale is broken (Paolo Borelli). - Fix #438, #443 - Don't create intermediate raster surfaces unless absolutely needed. This was causing blurred output for SVGs from Inkscape and Illustrator, since they include an "enable-background" property even when there are no filters in use. Thanks to Julian Sparber, Jordan Petridis, Zeeshan Ali for doing a huge "git bisect" to find the cause of this bug. - Fix #443 - Fix blurry output when enable-background is used without filters. - Fix #455 - Fix rounding error on i386 (Olivier Tilloy). - Check for Cairo errors when constructing paths. Version 2.45.5 - At build time, you can now pass $CARGO and $RUSTC environment variables if you need to override the default Rust toolchain. Please see COMPILING.md for details. (Tobias Kortkamp) - Fix #405 - In the gdk-pixbuf loader, don't crash if the write() function doesn't receive a GError. - Fix #268 - Remove the comp-op property; it's not in SVG 1.1 nor SVG 2. - Fix #415 - register RsvgHandleFlags and the RsvgError enum values in a thread-safe fashion (Sebastian Dröge). - All of the library's non-GObject functionality is implemented in Rust now. - Update the cairo crate (Kornel Lesiński). - Clean up the loading code paths (Paolo Borelli). - Updated compilation docs for Debian (Jordan Petridis) - Updated parts of the reference documentation. Version 2.45.4 - Brown paper bag release, my apologies. - Fix #402 - Fix the library's soname. Thanks to Gabriele Balducci for reporting it, and Kalev Lember for fixing it. Version 2.45.3 - Big news! All the real work in the library is now implemented in Rust. The public API is implemented in C, but most it calls immediately into the Rust code. Special thanks to Paolo Borelli and Carlos Martín Nieto for making this possible. - rsvg_handle_set_base_uri() now really assumes that it is passed a URI. Previously it would try to differentiate between real URIs, and absolute or relative file paths. If this breaks your code (i.e. you are passing a filename, not a URI), please tell us so we can restore the old behavior! - Fix #395 - Don't panic in feMorphology if it ends up with a negative scaling transformation. - Fix #398 - Detect circular references in gradients. - Match the Firefox/Chrome behavior on gradients and patterns with circular references for fallbacks (Paolo Borelli). - Fixes for Rust 1.30 and below (Jordan Petridis). - Lots and lots of refactoring (Paolo Borelli, Federico Mena). Version 2.45.2 - rsvg_cleanup() is now deprecated. This was only meant to be called from code to be checked by Valgrind. Leak checkers may show reachable memory from libxml2; real memory leaks should still be reported, of course. (Kornel Lesiński). - As an experimental change, librsvg no longer calls xmlInitParser() from libxml2. Please tell us if this causes problems for multithreaded programs. - Added g_warning()s to ensure the API is called in the correct sequence. - The text handling code has been completely refactored and simplified. This will allow us to implement the x/y/dx/dy properties for multiple glyphs in the future. Please report any problems you experience in text rendering. - Fix #385 - Don't crash if there is no rsvg_handle_write() before rsvg_handle_close(). - Fix #391 - Avoid undefined behavior when casting opaque pointers (Jordan Petridis). - Fix crash when a linear RGB filter is followed by an SRGB filter (Ivan Molodetskikh). - Fix #393 - Stack overflow when freeing thousands of sibling elements. - Fix positioning of adjacent <tspan> elements. - All the toplevel loading and drawing code is implemented in Rust now. - Pixbuf conversion code is in Rust now (Paolo Borelli). - Cleanups in the code for XML processing, markers, attributes (Paolo Borelli). - Many build/link fixes (Jordan Petridis). - Cleanups in the code that calls libxml2 (Kornel Lesiński). Version 2.45.1 - New public API, rsvg_handle_get_geometry_sub(), to get the exact geometry of an element. The functions rsvg_handle_get_position_sub() and rsvg_handle_get_dimensions_sub() are deprecated now; these returned incomplete data with integer coordinates (Julian Sparber). - rsvg_handle_write() and rsvg_handle_close() are now deprecated in favor of the functions which use a GInputStream. The former need to buffer the entire SVG data first; the latter don't need buffering. - Librsvg no longer tries to load XML entities which reference external resources, either parameter or general entities, declared in the DTD. This never worked properly, and it is better to do so via the xi:include mechanism. Also, unparsed external entities with a notation are not really supported in SVG; it has its own <image> element and similar for that purpose. Only internal general entities are supported now, for example: <!ENTITY foo "<some xml here>"> <!ENTITY bar "some text here"> - Started support for localized error messages (Daniel García Moreno). - Ported to Rust: loading code, XML processing code, data: URL parsing, - Many code cleanups and refactorings, courtesy of Paolo Borelli. - Fix undefined behavior in casts (Jordan Petridis). - Cairo/Rust API updates by Julian Sparber. - configure.ac cleanups by Maya Rashish. Version 2.45.0 - Librsvg now requires Rust 1.27. - Librsvg now requires Cairo 1.15.12. - Fix building when srcdir != builddir (Mathieu Bridon). - Fix #339 - Panic in filters with primitiveUnits="objectBoundingBox" on zero-sized elements (Ivan Molodetskikh). - Fix #335 - Don't panic if the toplevel node is not <svg>. - Fixes from fuzz testing (Ivan Molodetskikh): don't panic when the feConvolveMatrix kernel is not set; fix upper bounds in filter pixel getters. - Fix #337 - Don't panic with "em" or "ex" units in the font-size property. - Fix #338 - Don't panic when an image element doesn't have width/height attributes. - Fix #340 - Don't panic when a marker has a zero-sized viewBox attribute. - Fix #341 - Don't infinite-loop with cyclic pattern references. - Fix #342 - Don't crash if a <use> node references one of its ancestors. - Special thanks to Ivan Molodetskikh for doing a fuzz-testing run for this round. - Fix #344 - Don't panic when a viewBox has overflowing numbers. - Fix #345 - Fix panics due to bad path parsing and overflows in surface size. - Updates to the CI infrastructure and the build documentation (Jordan Petridis). - Cleanups and refactoring (Paolo Borelli, Linus Unnebäck, Federico Mena). - Fix #343 - Handle child being in error in feComponentTransfer. - Fix #346 - Handle filter primitives producing errors. - Fix #347 - Regression in computation of text element extents. - Fix #348 - Fix incorrect font sizing. - Fix #349 - Don't panic when loading an external image that is bigger than Cairo's limits. - Fix - rsvg_handle_get_dimensions_sub() no longer panics if passed a nonexistent fragment identifier. - Fix 32-bit builds (Jordan Petridis). - Fix #256 - Correctly match the systemLanguage attribute with the user's locale. - Fix #320 - Parse xml:lang correctly. - Fix #334 - Don't modify the caller's cairo_t state during rendering. - Fix #349 - Don't panic if we get a "data:" URI with empty data. - Fix #352 - Don't panic on getting a very large "order" for feConvolveMatrix (Ivan Molodetskikh). - Fix #363 - Don't drop spaces around <tspan> elements. - Fix #365 - rsvg-convert now uses pixel units for SVG output, instead of points. This requires cairo 1.15.12 (Antonio Ospite). - Fix #358, #366 - tweaks to have the test suite pass on i386 and non-x86_64 platforms (Simon McVittie, Federico Mena). - Fix #368 - With RSVG_LOG=1, librsvg will now report when SVGs have references to nonexistent elements, to aid debugging (for example, in an xlink:href attribute). - Fix #371 - rsvg-convert was positioning extracted elements incorrectly when using the -w/-h options together with --export-id. - Fix #372 - Mis-rendering in small arc segments. - Fix #373 - Rendering of gradients for horizontal/vertical stroked lines with gradientUnits="userSpaceOnUse". - Fix a couple of memory leaks in the error paths of the GdkPixbuf loader (Benedikt Heine). - Allow reference tests with a small difference to pass without breaking the build (Simon McVittie). - CSS processing code is now in Rust, although it still calls libcroco to do the parsing. - XML processing code is partially moved to Rust, although it still calls libxml2 for the XML parsing. - Special thanks to Alex Crichton for ensuring that MacOS builds work.
This commit is contained in:
parent
e10cce39c2
commit
676a0e3075
8 changed files with 679 additions and 1026 deletions
|
@ -1,7 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.110 2019/10/04 01:45:42 tnn Exp $
|
||||
# $NetBSD: Makefile,v 1.111 2019/10/04 13:40:08 ryoon Exp $
|
||||
|
||||
DISTNAME= librsvg-2.44.14
|
||||
PKGREVISION= 4
|
||||
DISTNAME= librsvg-2.46.0
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
@ -25,148 +24,151 @@ PKGCONFIG_OVERRIDE= librsvg.pc.in
|
|||
|
||||
TEST_TARGET= check
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC}; autoreconf -fiv
|
||||
|
||||
CARGO_CRATE_DEPENDS+= aho-corasick-0.6.8
|
||||
CARGO_CRATE_DEPENDS+= alga-0.7.2
|
||||
CARGO_CRATE_DEPENDS+= ansi_term-0.11.0
|
||||
CARGO_CRATE_DEPENDS+= approx-0.3.0
|
||||
CARGO_CRATE_DEPENDS+= arrayvec-0.4.7
|
||||
CARGO_CRATE_DEPENDS+= atty-0.2.11
|
||||
CARGO_CRATE_DEPENDS+= backtrace-0.3.9
|
||||
CARGO_CRATE_DEPENDS+= backtrace-sys-0.1.24
|
||||
CARGO_CRATE_DEPENDS+= bitflags-0.9.1
|
||||
CARGO_CRATE_DEPENDS+= bitflags-1.0.4
|
||||
CARGO_CRATE_DEPENDS+= byteorder-1.2.6
|
||||
CARGO_CRATE_DEPENDS+= c_vec-1.3.2
|
||||
CARGO_CRATE_DEPENDS+= cairo-rs-0.4.1
|
||||
CARGO_CRATE_DEPENDS+= cairo-sys-rs-0.6.0
|
||||
CARGO_CRATE_DEPENDS+= aho-corasick-0.7.6
|
||||
CARGO_CRATE_DEPENDS+= alga-0.9.1
|
||||
CARGO_CRATE_DEPENDS+= approx-0.3.2
|
||||
CARGO_CRATE_DEPENDS+= arrayvec-0.4.11
|
||||
CARGO_CRATE_DEPENDS+= atty-0.2.13
|
||||
CARGO_CRATE_DEPENDS+= autocfg-0.1.6
|
||||
CARGO_CRATE_DEPENDS+= bitflags-1.1.0
|
||||
CARGO_CRATE_DEPENDS+= block-0.1.6
|
||||
CARGO_CRATE_DEPENDS+= bstr-0.2.8
|
||||
CARGO_CRATE_DEPENDS+= byteorder-1.3.2
|
||||
CARGO_CRATE_DEPENDS+= cairo-rs-0.7.1
|
||||
CARGO_CRATE_DEPENDS+= cairo-sys-rs-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= cast-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= cc-1.0.25
|
||||
CARGO_CRATE_DEPENDS+= cfg-if-0.1.5
|
||||
CARGO_CRATE_DEPENDS+= chrono-0.4.6
|
||||
CARGO_CRATE_DEPENDS+= clap-2.32.0
|
||||
CARGO_CRATE_DEPENDS+= cfg-if-0.1.9
|
||||
CARGO_CRATE_DEPENDS+= clap-2.33.0
|
||||
CARGO_CRATE_DEPENDS+= cloudabi-0.0.3
|
||||
CARGO_CRATE_DEPENDS+= criterion-0.2.5
|
||||
CARGO_CRATE_DEPENDS+= criterion-plot-0.2.5
|
||||
CARGO_CRATE_DEPENDS+= criterion-stats-0.2.5
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.2.0
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.3.1
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= cssparser-0.24.0
|
||||
CARGO_CRATE_DEPENDS+= cssparser-macros-0.3.4
|
||||
CARGO_CRATE_DEPENDS+= csv-1.0.2
|
||||
CARGO_CRATE_DEPENDS+= csv-core-0.1.4
|
||||
CARGO_CRATE_DEPENDS+= downcast-rs-1.0.3
|
||||
CARGO_CRATE_DEPENDS+= dtoa-0.4.3
|
||||
CARGO_CRATE_DEPENDS+= criterion-0.2.11
|
||||
CARGO_CRATE_DEPENDS+= criterion-plot-0.3.1
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-deque-0.7.1
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-epoch-0.7.2
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-queue-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= crossbeam-utils-0.6.6
|
||||
CARGO_CRATE_DEPENDS+= cssparser-0.25.9
|
||||
CARGO_CRATE_DEPENDS+= cssparser-macros-0.3.6
|
||||
CARGO_CRATE_DEPENDS+= csv-1.1.1
|
||||
CARGO_CRATE_DEPENDS+= csv-core-0.1.6
|
||||
CARGO_CRATE_DEPENDS+= data-url-0.1.0
|
||||
CARGO_CRATE_DEPENDS+= downcast-rs-1.0.4
|
||||
CARGO_CRATE_DEPENDS+= dtoa-0.4.4
|
||||
CARGO_CRATE_DEPENDS+= dtoa-short-0.3.2
|
||||
CARGO_CRATE_DEPENDS+= either-1.5.0
|
||||
CARGO_CRATE_DEPENDS+= failure-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= failure_derive-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= float-cmp-0.4.0
|
||||
CARGO_CRATE_DEPENDS+= fuchsia-zircon-0.3.3
|
||||
CARGO_CRATE_DEPENDS+= fuchsia-zircon-sys-0.3.3
|
||||
CARGO_CRATE_DEPENDS+= gdk-pixbuf-0.4.0
|
||||
CARGO_CRATE_DEPENDS+= gdk-pixbuf-sys-0.6.0
|
||||
CARGO_CRATE_DEPENDS+= generic-array-0.11.1
|
||||
CARGO_CRATE_DEPENDS+= gio-0.4.1
|
||||
CARGO_CRATE_DEPENDS+= gio-sys-0.6.0
|
||||
CARGO_CRATE_DEPENDS+= glib-0.5.0
|
||||
CARGO_CRATE_DEPENDS+= glib-sys-0.6.0
|
||||
CARGO_CRATE_DEPENDS+= gobject-sys-0.6.0
|
||||
CARGO_CRATE_DEPENDS+= handlebars-0.32.4
|
||||
CARGO_CRATE_DEPENDS+= itertools-0.7.8
|
||||
CARGO_CRATE_DEPENDS+= itertools-num-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= itoa-0.4.3
|
||||
CARGO_CRATE_DEPENDS+= kernel32-sys-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= either-1.5.2
|
||||
CARGO_CRATE_DEPENDS+= encoding-0.2.33
|
||||
CARGO_CRATE_DEPENDS+= encoding-index-japanese-1.20141219.5
|
||||
CARGO_CRATE_DEPENDS+= encoding-index-korean-1.20141219.5
|
||||
CARGO_CRATE_DEPENDS+= encoding-index-simpchinese-1.20141219.5
|
||||
CARGO_CRATE_DEPENDS+= encoding-index-singlebyte-1.20141219.5
|
||||
CARGO_CRATE_DEPENDS+= encoding-index-tradchinese-1.20141219.5
|
||||
CARGO_CRATE_DEPENDS+= encoding_index_tests-0.1.4
|
||||
CARGO_CRATE_DEPENDS+= float-cmp-0.5.2
|
||||
CARGO_CRATE_DEPENDS+= fragile-0.3.0
|
||||
CARGO_CRATE_DEPENDS+= fuchsia-cprng-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= futf-0.1.4
|
||||
CARGO_CRATE_DEPENDS+= gdk-pixbuf-0.7.0
|
||||
CARGO_CRATE_DEPENDS+= gdk-pixbuf-sys-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= generic-array-0.12.3
|
||||
CARGO_CRATE_DEPENDS+= gio-0.7.0
|
||||
CARGO_CRATE_DEPENDS+= gio-sys-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= glib-0.8.1
|
||||
CARGO_CRATE_DEPENDS+= glib-sys-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= gobject-sys-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= idna-0.2.0
|
||||
CARGO_CRATE_DEPENDS+= itertools-0.8.0
|
||||
CARGO_CRATE_DEPENDS+= itoa-0.4.4
|
||||
CARGO_CRATE_DEPENDS+= language-tags-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= lazy_static-0.2.11
|
||||
CARGO_CRATE_DEPENDS+= lazy_static-1.1.0
|
||||
CARGO_CRATE_DEPENDS+= libc-0.2.60
|
||||
CARGO_CRATE_DEPENDS+= libm-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= locale_config-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= log-0.4.5
|
||||
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
|
||||
CARGO_CRATE_DEPENDS+= libc-0.2.62
|
||||
CARGO_CRATE_DEPENDS+= libm-0.1.4
|
||||
CARGO_CRATE_DEPENDS+= locale_config-0.3.0
|
||||
CARGO_CRATE_DEPENDS+= log-0.4.8
|
||||
CARGO_CRATE_DEPENDS+= mac-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= malloc_buf-0.0.6
|
||||
CARGO_CRATE_DEPENDS+= markup5ever-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= matches-0.1.8
|
||||
CARGO_CRATE_DEPENDS+= matrixmultiply-0.1.14
|
||||
CARGO_CRATE_DEPENDS+= memchr-2.1.0
|
||||
CARGO_CRATE_DEPENDS+= memoffset-0.2.1
|
||||
CARGO_CRATE_DEPENDS+= nalgebra-0.16.4
|
||||
CARGO_CRATE_DEPENDS+= nodrop-0.1.12
|
||||
CARGO_CRATE_DEPENDS+= num-complex-0.2.0
|
||||
CARGO_CRATE_DEPENDS+= num-integer-0.1.39
|
||||
CARGO_CRATE_DEPENDS+= num-traits-0.2.6
|
||||
CARGO_CRATE_DEPENDS+= num_cpus-1.8.0
|
||||
CARGO_CRATE_DEPENDS+= owning_ref-0.3.3
|
||||
CARGO_CRATE_DEPENDS+= pango-0.4.0
|
||||
CARGO_CRATE_DEPENDS+= pango-sys-0.6.0
|
||||
CARGO_CRATE_DEPENDS+= pangocairo-0.5.0
|
||||
CARGO_CRATE_DEPENDS+= pangocairo-sys-0.7.0
|
||||
CARGO_CRATE_DEPENDS+= pest-1.0.6
|
||||
CARGO_CRATE_DEPENDS+= pest_derive-1.0.8
|
||||
CARGO_CRATE_DEPENDS+= phf-0.7.23
|
||||
CARGO_CRATE_DEPENDS+= phf_codegen-0.7.23
|
||||
CARGO_CRATE_DEPENDS+= phf_generator-0.7.23
|
||||
CARGO_CRATE_DEPENDS+= phf_shared-0.7.23
|
||||
CARGO_CRATE_DEPENDS+= pkg-config-0.3.14
|
||||
CARGO_CRATE_DEPENDS+= proc-macro2-0.4.19
|
||||
CARGO_CRATE_DEPENDS+= matrixmultiply-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= memchr-2.2.1
|
||||
CARGO_CRATE_DEPENDS+= memoffset-0.5.1
|
||||
CARGO_CRATE_DEPENDS+= nalgebra-0.18.1
|
||||
CARGO_CRATE_DEPENDS+= new_debug_unreachable-1.0.3
|
||||
CARGO_CRATE_DEPENDS+= nodrop-0.1.13
|
||||
CARGO_CRATE_DEPENDS+= num-complex-0.2.3
|
||||
CARGO_CRATE_DEPENDS+= num-integer-0.1.41
|
||||
CARGO_CRATE_DEPENDS+= num-rational-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= num-traits-0.2.8
|
||||
CARGO_CRATE_DEPENDS+= num_cpus-1.10.1
|
||||
CARGO_CRATE_DEPENDS+= objc-0.2.6
|
||||
CARGO_CRATE_DEPENDS+= objc-foundation-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= objc_id-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= pango-0.7.0
|
||||
CARGO_CRATE_DEPENDS+= pango-sys-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= pangocairo-0.8.0
|
||||
CARGO_CRATE_DEPENDS+= pangocairo-sys-0.10.0
|
||||
CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
|
||||
CARGO_CRATE_DEPENDS+= phf-0.7.24
|
||||
CARGO_CRATE_DEPENDS+= phf_codegen-0.7.24
|
||||
CARGO_CRATE_DEPENDS+= phf_generator-0.7.24
|
||||
CARGO_CRATE_DEPENDS+= phf_shared-0.7.24
|
||||
CARGO_CRATE_DEPENDS+= pkg-config-0.3.16
|
||||
CARGO_CRATE_DEPENDS+= precomputed-hash-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= proc-macro2-0.4.30
|
||||
CARGO_CRATE_DEPENDS+= proc-macro2-1.0.3
|
||||
CARGO_CRATE_DEPENDS+= procedural-masquerade-0.1.6
|
||||
CARGO_CRATE_DEPENDS+= quick-error-1.2.2
|
||||
CARGO_CRATE_DEPENDS+= quote-0.3.15
|
||||
CARGO_CRATE_DEPENDS+= quote-0.6.8
|
||||
CARGO_CRATE_DEPENDS+= rand-0.4.3
|
||||
CARGO_CRATE_DEPENDS+= rand-0.5.5
|
||||
CARGO_CRATE_DEPENDS+= rand_core-0.2.2
|
||||
CARGO_CRATE_DEPENDS+= rand_core-0.3.0
|
||||
CARGO_CRATE_DEPENDS+= quote-0.6.13
|
||||
CARGO_CRATE_DEPENDS+= quote-1.0.2
|
||||
CARGO_CRATE_DEPENDS+= rand-0.6.5
|
||||
CARGO_CRATE_DEPENDS+= rand_chacha-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= rand_core-0.3.1
|
||||
CARGO_CRATE_DEPENDS+= rand_core-0.4.2
|
||||
CARGO_CRATE_DEPENDS+= rand_hc-0.1.0
|
||||
CARGO_CRATE_DEPENDS+= rand_isaac-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= rand_jitter-0.1.4
|
||||
CARGO_CRATE_DEPENDS+= rand_os-0.1.3
|
||||
CARGO_CRATE_DEPENDS+= rand_pcg-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= rand_xorshift-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= rand_xoshiro-0.1.0
|
||||
CARGO_CRATE_DEPENDS+= rawpointer-0.1.0
|
||||
CARGO_CRATE_DEPENDS+= rayon-1.0.2
|
||||
CARGO_CRATE_DEPENDS+= rayon-core-1.4.1
|
||||
CARGO_CRATE_DEPENDS+= redox_syscall-0.1.40
|
||||
CARGO_CRATE_DEPENDS+= redox_termios-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= regex-0.2.11
|
||||
CARGO_CRATE_DEPENDS+= regex-1.0.5
|
||||
CARGO_CRATE_DEPENDS+= regex-syntax-0.5.6
|
||||
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.2
|
||||
CARGO_CRATE_DEPENDS+= rustc-demangle-0.1.9
|
||||
CARGO_CRATE_DEPENDS+= ryu-0.2.6
|
||||
CARGO_CRATE_DEPENDS+= same-file-1.0.3
|
||||
CARGO_CRATE_DEPENDS+= scopeguard-0.3.3
|
||||
CARGO_CRATE_DEPENDS+= serde-1.0.79
|
||||
CARGO_CRATE_DEPENDS+= serde_derive-1.0.79
|
||||
CARGO_CRATE_DEPENDS+= serde_json-1.0.31
|
||||
CARGO_CRATE_DEPENDS+= simplelog-0.5.2
|
||||
CARGO_CRATE_DEPENDS+= rayon-1.2.0
|
||||
CARGO_CRATE_DEPENDS+= rayon-core-1.6.0
|
||||
CARGO_CRATE_DEPENDS+= rctree-0.3.3
|
||||
CARGO_CRATE_DEPENDS+= rdrand-0.4.0
|
||||
CARGO_CRATE_DEPENDS+= regex-1.3.1
|
||||
CARGO_CRATE_DEPENDS+= regex-automata-0.1.8
|
||||
CARGO_CRATE_DEPENDS+= regex-syntax-0.6.12
|
||||
CARGO_CRATE_DEPENDS+= rustc_version-0.2.3
|
||||
CARGO_CRATE_DEPENDS+= ryu-1.0.0
|
||||
CARGO_CRATE_DEPENDS+= same-file-1.0.5
|
||||
CARGO_CRATE_DEPENDS+= scopeguard-1.0.0
|
||||
CARGO_CRATE_DEPENDS+= semver-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= semver-parser-0.7.0
|
||||
CARGO_CRATE_DEPENDS+= serde-1.0.100
|
||||
CARGO_CRATE_DEPENDS+= serde_derive-1.0.100
|
||||
CARGO_CRATE_DEPENDS+= serde_json-1.0.40
|
||||
CARGO_CRATE_DEPENDS+= siphasher-0.2.3
|
||||
CARGO_CRATE_DEPENDS+= smallvec-0.6.5
|
||||
CARGO_CRATE_DEPENDS+= stable_deref_trait-1.1.1
|
||||
CARGO_CRATE_DEPENDS+= strsim-0.7.0
|
||||
CARGO_CRATE_DEPENDS+= syn-0.11.11
|
||||
CARGO_CRATE_DEPENDS+= syn-0.14.9
|
||||
CARGO_CRATE_DEPENDS+= syn-0.15.7
|
||||
CARGO_CRATE_DEPENDS+= synom-0.11.3
|
||||
CARGO_CRATE_DEPENDS+= synstructure-0.9.0
|
||||
CARGO_CRATE_DEPENDS+= term-0.5.1
|
||||
CARGO_CRATE_DEPENDS+= termion-1.5.1
|
||||
CARGO_CRATE_DEPENDS+= textwrap-0.10.0
|
||||
CARGO_CRATE_DEPENDS+= thread-scoped-1.0.2
|
||||
CARGO_CRATE_DEPENDS+= smallvec-0.6.10
|
||||
CARGO_CRATE_DEPENDS+= string_cache-0.7.3
|
||||
CARGO_CRATE_DEPENDS+= string_cache_codegen-0.4.2
|
||||
CARGO_CRATE_DEPENDS+= string_cache_shared-0.3.0
|
||||
CARGO_CRATE_DEPENDS+= syn-1.0.5
|
||||
CARGO_CRATE_DEPENDS+= tendril-0.4.1
|
||||
CARGO_CRATE_DEPENDS+= textwrap-0.11.0
|
||||
CARGO_CRATE_DEPENDS+= thread_local-0.3.6
|
||||
CARGO_CRATE_DEPENDS+= time-0.1.40
|
||||
CARGO_CRATE_DEPENDS+= typenum-1.10.0
|
||||
CARGO_CRATE_DEPENDS+= ucd-util-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= unicode-width-0.1.5
|
||||
CARGO_CRATE_DEPENDS+= unicode-xid-0.0.4
|
||||
CARGO_CRATE_DEPENDS+= tinytemplate-1.0.2
|
||||
CARGO_CRATE_DEPENDS+= typenum-1.11.2
|
||||
CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.4
|
||||
CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.8
|
||||
CARGO_CRATE_DEPENDS+= unicode-width-0.1.6
|
||||
CARGO_CRATE_DEPENDS+= unicode-xid-0.1.0
|
||||
CARGO_CRATE_DEPENDS+= unreachable-1.0.0
|
||||
CARGO_CRATE_DEPENDS+= utf8-ranges-1.0.1
|
||||
CARGO_CRATE_DEPENDS+= vec_map-0.8.1
|
||||
CARGO_CRATE_DEPENDS+= version_check-0.1.5
|
||||
CARGO_CRATE_DEPENDS+= void-1.0.2
|
||||
CARGO_CRATE_DEPENDS+= walkdir-2.2.5
|
||||
CARGO_CRATE_DEPENDS+= winapi-0.2.8
|
||||
CARGO_CRATE_DEPENDS+= winapi-0.3.6
|
||||
CARGO_CRATE_DEPENDS+= winapi-build-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= unicode-xid-0.2.0
|
||||
CARGO_CRATE_DEPENDS+= url-2.1.0
|
||||
CARGO_CRATE_DEPENDS+= utf-8-0.7.5
|
||||
CARGO_CRATE_DEPENDS+= walkdir-2.2.9
|
||||
CARGO_CRATE_DEPENDS+= winapi-0.3.8
|
||||
CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
|
||||
CARGO_CRATE_DEPENDS+= winapi-util-0.1.1
|
||||
CARGO_CRATE_DEPENDS+= winapi-util-0.1.2
|
||||
CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
CARGO_CRATE_DEPENDS+= xml-rs-0.8.0
|
||||
|
||||
BUILDLINK_DEPMETHOD.gobject-introspection+= build
|
||||
.include "../../devel/gobject-introspection/buildlink3.mk"
|
||||
|
@ -177,7 +179,6 @@ BUILDLINK_API_DEPENDS.pango+= pango>=1.38
|
|||
.include "../../fonts/fontconfig/buildlink3.mk"
|
||||
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
|
||||
.include "../../graphics/cairo/buildlink3.mk"
|
||||
BUILDLINK_DEPMETHOD.cairo-gobject+= build
|
||||
.include "../../graphics/cairo-gobject/buildlink3.mk"
|
||||
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.8.0
|
||||
.include "../../graphics/freetype2/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.19 2019/05/29 12:38:23 wiz Exp $
|
||||
@comment $NetBSD: PLIST,v 1.20 2019/10/04 13:40:08 ryoon Exp $
|
||||
bin/rsvg-convert
|
||||
include/librsvg-2.0/librsvg/librsvg-features.h
|
||||
include/librsvg-2.0/librsvg/rsvg-cairo.h
|
||||
|
@ -13,19 +13,21 @@ share/doc/librsvg/CONTRIBUTING.md
|
|||
share/doc/librsvg/README.md
|
||||
share/doc/librsvg/code-of-conduct.md
|
||||
share/gir-1.0/Rsvg-2.0.gir
|
||||
share/gtk-doc/html/rsvg-2.0/RsvgHandle.html
|
||||
share/gtk-doc/html/rsvg-2.0/annotation-glossary.html
|
||||
share/gtk-doc/html/rsvg-2.0/api-index-full.html
|
||||
share/gtk-doc/html/rsvg-2.0/ch01.html
|
||||
share/gtk-doc/html/rsvg-2.0/ch02.html
|
||||
share/gtk-doc/html/rsvg-2.0/home.png
|
||||
share/gtk-doc/html/rsvg-2.0/index.html
|
||||
share/gtk-doc/html/rsvg-2.0/left-insensitive.png
|
||||
share/gtk-doc/html/rsvg-2.0/left.png
|
||||
share/gtk-doc/html/rsvg-2.0/licence.html
|
||||
share/gtk-doc/html/rsvg-2.0/object-tree.html
|
||||
share/gtk-doc/html/rsvg-2.0/recommendations-assets.html
|
||||
share/gtk-doc/html/rsvg-2.0/right-insensitive.png
|
||||
share/gtk-doc/html/rsvg-2.0/right.png
|
||||
share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2
|
||||
share/gtk-doc/html/rsvg-2.0/rsvg-RsvgHandle.html
|
||||
share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html
|
||||
share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html
|
||||
share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html
|
||||
|
@ -34,4 +36,5 @@ share/gtk-doc/html/rsvg-2.0/rsvg.html
|
|||
share/gtk-doc/html/rsvg-2.0/style.css
|
||||
share/gtk-doc/html/rsvg-2.0/up-insensitive.png
|
||||
share/gtk-doc/html/rsvg-2.0/up.png
|
||||
share/locale/es/LC_MESSAGES/librsvg.mo
|
||||
share/thumbnailers/librsvg.thumbnailer
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.53 2019/07/28 21:39:33 wiz Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.54 2019/10/04 13:40:08 ryoon Exp $
|
||||
|
||||
BUILDLINK_TREE+= librsvg
|
||||
|
||||
|
@ -25,6 +25,7 @@ PKG_FAIL_REASON+= "[graphics/librsvg/buildlink3.mk] Invalid value ${LIBRSV
|
|||
|
||||
.include "../../devel/pango/buildlink3.mk"
|
||||
.include "../../graphics/cairo/buildlink3.mk"
|
||||
.include "../../graphics/cairo-gobject/buildlink3.mk"
|
||||
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
|
||||
.include "../../textproc/libcroco/buildlink3.mk"
|
||||
.endif # LIBRSVG_BUILDLINK3_MK
|
||||
|
|
File diff suppressed because it is too large
Load diff
254
graphics/librsvg/patches/patch-Cargo.lock
generated
254
graphics/librsvg/patches/patch-Cargo.lock
generated
|
@ -1,254 +0,0 @@
|
|||
$NetBSD: patch-Cargo.lock,v 1.1 2019/07/27 19:31:00 tnn Exp $
|
||||
|
||||
Update libc create to latest version.
|
||||
The vendored libc crate is outdated and doesn't work on aarch64.
|
||||
|
||||
To regen this patch:
|
||||
make build-env
|
||||
mv .cargo/config .cargo/config.bak
|
||||
cp Cargo.lock Cargo.lock.orig
|
||||
cargo update -p libc --precise 0.2.60
|
||||
pkgdiff Cargo.lock.orig Cargo.lock > /usr/pkgsrc/graphics/librsvg/patches/patch-Cargo.lock
|
||||
|
||||
--- Cargo.lock.orig 2019-07-27 14:58:13.921161346 +0000
|
||||
+++ Cargo.lock
|
||||
@@ -1,3 +1,5 @@
|
||||
+# This file is automatically @generated by Cargo.
|
||||
+# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "0.6.8"
|
||||
@@ -46,7 +48,7 @@ name = "atty"
|
||||
version = "0.2.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -58,7 +60,7 @@ source = "registry+https://github.com/ru
|
||||
dependencies = [
|
||||
"backtrace-sys 0.1.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc-demangle 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -69,7 +71,7 @@ version = "0.1.24"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -101,7 +103,7 @@ dependencies = [
|
||||
"cairo-sys-rs 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -109,7 +111,7 @@ name = "cairo-sys-rs"
|
||||
version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -359,7 +361,7 @@ dependencies = [
|
||||
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -371,7 +373,7 @@ dependencies = [
|
||||
"gio-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -394,7 +396,7 @@ dependencies = [
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -405,7 +407,7 @@ dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -418,7 +420,7 @@ dependencies = [
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -427,7 +429,7 @@ version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -438,7 +440,7 @@ source = "registry+https://github.com/ru
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -507,7 +509,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
-version = "0.2.43"
|
||||
+version = "0.2.60"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
@@ -553,7 +555,7 @@ version = "2.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"cfg-if 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -608,7 +610,7 @@ name = "num_cpus"
|
||||
version = "1.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -628,7 +630,7 @@ dependencies = [
|
||||
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -640,7 +642,7 @@ dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -655,7 +657,7 @@ dependencies = [
|
||||
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pangocairo-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@@ -669,7 +671,7 @@ dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -765,7 +767,7 @@ version = "0.4.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -776,7 +778,7 @@ source = "registry+https://github.com/ru
|
||||
dependencies = [
|
||||
"cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -816,7 +818,7 @@ source = "registry+https://github.com/ru
|
||||
dependencies = [
|
||||
"crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@@ -890,7 +892,7 @@ dependencies = [
|
||||
"itertools 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"locale_config 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"nalgebra 0.16.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@@ -1049,7 +1051,7 @@ name = "termion"
|
||||
version = "1.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -1080,7 +1082,7 @@ name = "time"
|
||||
version = "0.1.40"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
- "libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
+ "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"redox_syscall 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@@ -1241,7 +1243,7 @@ source = "registry+https://github.com/ru
|
||||
"checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a"
|
||||
"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
|
||||
"checksum lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca488b89a5657b0a2ecd45b95609b3e848cf1755da332a0da46e2b2b1cb371a7"
|
||||
-"checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d"
|
||||
+"checksum libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)" = "d44e80633f007889c7eff624b709ab43c92d708caad982295768a7b13ca3b5eb"
|
||||
"checksum libm 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "03c0bb6d5ce1b5cc6fd0578ec1cbc18c9d88b5b591a5c7c1d6c6175e266a0819"
|
||||
"checksum locale_config 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "14fbee0e39bc2dd6a2427c4fdea66e9826cc1fd09b0a0b7550359f5f6efe1dab"
|
||||
"checksum log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d4fcce5fa49cc693c312001daf1d13411c4a5283796bac1084299ea3e567113f"
|
|
@ -1,28 +0,0 @@
|
|||
$NetBSD: patch-Makefile.am,v 1.1 2019/05/29 12:38:23 wiz Exp $
|
||||
|
||||
Rename rust-produced shared library.
|
||||
When it ends on "_pic.a", libtool accepts that its code is good
|
||||
enough to be included in the shared library.
|
||||
|
||||
--- Makefile.am.orig 2019-02-16 00:13:18.000000000 +0000
|
||||
+++ Makefile.am
|
||||
@@ -136,7 +136,8 @@ cargo_verbose_ = $(cargo_verbose_$(AM_DE
|
||||
cargo_verbose_0 =
|
||||
cargo_verbose_1 = --verbose
|
||||
|
||||
-RUST_LIB=@abs_top_builddir@/target/@RUST_TARGET_SUBDIR@/librsvg_internals.a
|
||||
+RUST_LIB_NONPIC=@abs_top_builddir@/target/@RUST_TARGET_SUBDIR@/librsvg_internals.a
|
||||
+RUST_LIB=@abs_top_builddir@/target/@RUST_TARGET_SUBDIR@/librsvg_internals_pic.a
|
||||
CARGO_TARGET_DIR=@abs_top_builddir@/target
|
||||
|
||||
check-local:
|
||||
@@ -165,7 +166,8 @@ $(RUST_LIB): $(RUST_SRC)
|
||||
PKG_CONFIG_ALLOW_CROSS=1 \
|
||||
PKG_CONFIG='$(PKG_CONFIG)' \
|
||||
CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) \
|
||||
- $(CARGO) --locked build $(CARGO_VERBOSE) $(CARGO_TARGET_ARGS) $(CARGO_RELEASE_ARGS)
|
||||
+ $(CARGO) --locked build $(CARGO_VERBOSE) $(CARGO_TARGET_ARGS) $(CARGO_RELEASE_ARGS) && \
|
||||
+ cp $(RUST_LIB_NONPIC) $(RUST_LIB)
|
||||
|
||||
librsvg_@RSVG_API_MAJOR_VERSION@_la_CPPFLAGS = \
|
||||
-I$(top_srcdir) \
|
|
@ -1,25 +0,0 @@
|
|||
$NetBSD: patch-configure.ac,v 1.1 2019/05/29 12:38:23 wiz Exp $
|
||||
|
||||
Fix unportable test(1)
|
||||
https://gitlab.gnome.org/GNOME/librsvg/merge_requests/156
|
||||
|
||||
--- configure.ac.orig 2018-10-24 23:27:51.000000000 +0000
|
||||
+++ configure.ac
|
||||
@@ -267,7 +267,7 @@ AC_ARG_ENABLE(debug,
|
||||
[Build Rust code with debugging information [default=no]]),
|
||||
[debug_release=$enableval],
|
||||
[
|
||||
- if test "x$LIBRSVG_DEBUG" == "x"; then
|
||||
+ if test "x$LIBRSVG_DEBUG" = "x"; then
|
||||
debug_release="no"
|
||||
elif test "x$LIBRSVG_DEBUG" = "xyes"; then
|
||||
debug_release="yes"
|
||||
@@ -287,7 +287,7 @@ fi
|
||||
AM_CONDITIONAL([DEBUG_RELEASE], [test "x$debug_release" = "xyes"])
|
||||
|
||||
AC_ARG_VAR(RUST_TARGET, [Set rust target (default=$host)])
|
||||
-if test "x$RUST_TARGET" == x; then
|
||||
+if test "x$RUST_TARGET" = x; then
|
||||
RUST_TARGET=$host
|
||||
fi
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
$NetBSD: patch-vendor-cssparser_src_parser.rs,v 1.1 2019/10/04 01:45:42 tnn Exp $
|
||||
|
||||
error[E0506]: cannot assign to `self.input.cached_token` because it is borrowed
|
||||
--> src/parser.rs:572:17
|
||||
|
||||
https://github.com/servo/rust-cssparser/commit/3c98d22c5de3b696bf1fde2b6c90069812312aa6#diff-2c09afcdc3c420ab0678ba9b5e83959c
|
||||
|
||||
--- ../vendor/cssparser-0.24.0/src/parser.rs.orig 2017-12-11 12:41:06.000000000 +0000
|
||||
+++ ../vendor/cssparser-0.24.0/src/parser.rs
|
||||
@@ -555,28 +555,34 @@ impl<'i: 't, 't> Parser<'i, 't> {
|
||||
}
|
||||
|
||||
let token_start_position = self.input.tokenizer.position();
|
||||
- let token;
|
||||
- match self.input.cached_token {
|
||||
- Some(ref cached_token)
|
||||
- if cached_token.start_position == token_start_position => {
|
||||
- self.input.tokenizer.reset(&cached_token.end_state);
|
||||
- match cached_token.token {
|
||||
- Token::Function(ref name) => self.input.tokenizer.see_function(name),
|
||||
- _ => {}
|
||||
- }
|
||||
- token = &cached_token.token
|
||||
- }
|
||||
- _ => {
|
||||
- let new_token = self.input.tokenizer.next()
|
||||
- .map_err(|()| self.new_basic_error(BasicParseErrorKind::EndOfInput))?;
|
||||
- self.input.cached_token = Some(CachedToken {
|
||||
- token: new_token,
|
||||
- start_position: token_start_position,
|
||||
- end_state: self.input.tokenizer.state(),
|
||||
- });
|
||||
- token = self.input.cached_token_ref()
|
||||
+ let using_cached_token = self
|
||||
+ .input
|
||||
+ .cached_token
|
||||
+ .as_ref()
|
||||
+ .map_or(false, |cached_token| {
|
||||
+ cached_token.start_position == token_start_position
|
||||
+ });
|
||||
+ let token = if using_cached_token {
|
||||
+ let cached_token = self.input.cached_token.as_ref().unwrap();
|
||||
+ self.input.tokenizer.reset(&cached_token.end_state);
|
||||
+ match cached_token.token {
|
||||
+ Token::Function(ref name) => self.input.tokenizer.see_function(name),
|
||||
+ _ => {}
|
||||
}
|
||||
- }
|
||||
+ &cached_token.token
|
||||
+ } else {
|
||||
+ let new_token = self
|
||||
+ .input
|
||||
+ .tokenizer
|
||||
+ .next()
|
||||
+ .map_err(|()| self.new_basic_error(BasicParseErrorKind::EndOfInput))?;
|
||||
+ self.input.cached_token = Some(CachedToken {
|
||||
+ token: new_token,
|
||||
+ start_position: token_start_position,
|
||||
+ end_state: self.input.tokenizer.state(),
|
||||
+ });
|
||||
+ self.input.cached_token_ref()
|
||||
+ };
|
||||
|
||||
if let Some(block_type) = BlockType::opening(token) {
|
||||
self.at_start_of = Some(block_type);
|
Loading…
Reference in a new issue