diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/.cargo_vcs_info.json rust-gstreamer-gl-wayland-sys-0.22.0/.cargo_vcs_info.json --- rust-gstreamer-gl-wayland-sys-0.21.1/.cargo_vcs_info.json 1970-01-01 00:00:01.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/.cargo_vcs_info.json 1970-01-01 00:00:01.000000000 +0000 @@ -1,6 +1,6 @@ { "git": { - "sha1": "71bbcc00e2c515824d13d517fab26b19b9a4c2f9" + "sha1": "bc3bdebf96b8cc8ebaf5dc705471d46cce997943" }, "path_in_vcs": "gstreamer-gl/wayland/sys" } \ No newline at end of file diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/CHANGELOG.md rust-gstreamer-gl-wayland-sys-0.22.0/CHANGELOG.md --- rust-gstreamer-gl-wayland-sys-0.21.1/CHANGELOG.md 2006-07-24 01:21:28.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/CHANGELOG.md 2006-07-24 01:21:28.000000000 +0000 @@ -5,6 +5,92 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html), specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field). +## [0.22.0] - 2024-02-08 +### Changed +- Compatible with gtk-rs-core 0.19 / gtk4-rs 0.8. +- Update GStreamer gir files to latest (upcoming) 1.24 APIs. +- Various standalone functions were moved to separate modules or methods. +- `gst::Rank` is not implemented as an enum but as a struct with associated + constants now. +- Optimized `gst::Buffer::from_slice()` and `Memory::from_slice()` + implementations that have one heap allocation fewer. +- Various `gst::Buffer` and `gst::Memory` functions take ranges now instead of + offset/size parameters. + +### Added +- Bindings for `gst_gl::GLContext::thread_add()`, `GLFrameBuffer::draw_to_texture()`. +- New `gst_gl::GLVideoFrame` type that replaces `gst_video::VideoFrame` for + GL-specific API, and comes with mostly the same interface. +- Basic gstreamer-tag bindings. +- `gst::Buffer:dump()` and `dump_range()` together with the same API on + `gst::Memory` for hex-dumping the whole buffer/memory content. +- Implement `Clone` on `gst::MetaRef`. +- Bindings for `gst::Buffer::map_range_readable()` and its writable variant. +- Array-based accessor for `gst_video::VideoFrame` and + `gst_audio::AudioBuffer` plane data. +- Support for handling custom authentication in `gstreamer-rtsp-server`. +- Accessors for various base class struct fields. +- Owned buffer getter for `AudioBuffer` / `VideoFrame`. +- `gst_rtp::RTPSourceMeta` bindings. +- `gst::macos_main()` bindings. +- gstreamer-analytics bindings. + +### Fixed +- API typo in owned `gst::ReferenceTimestampMeta` reference getter. +- Allow variable expansion in `gst::loggable_error!` macro. +- `gstreamer-gl-*` crates can build docs again on stable. + +### Removed +- `gst::Pad::caps()` property getter. Use `current_caps()` instead which does + the same thing. +- Various deprecated APIs that were deprecated in previous releases. +- Getter for a mutable buffer reference from `AudioBuffer` / `VideoFrame` as + that allowed invalidating the buffer map. + +### Fixed + +## [0.21.3] - 2023-12-18 +### Added +- Update GStreamer gir files to latest (upcoming) 1.24 APIs. +- Add an example for writing subclasses with virtual methods. +- Add `gst::ClockTime::absdiff()` and same for similar types. + +### Fixed +- In `Play` example, set bus to flushing before dropping `Play` instance. +- Add missing `docsrs` configuration for correct documentation generation. +- Make `gst_pbutils::element_properties` module public. +- Add missing `gst_audio::AudioFilterImpl::parent_allowed_caps()`. +- Fix assertions in `gst::Memory` copy/share/resize functions. + +### Changed +- Update to itertool 0.12, pretty-hex 0.4. + +## [0.21.2] - 2023-11-11 +### Changed +- Update GStreamer gir files to latest (upcoming) 1.24 APIs. +- Update to latest gir code generator from the gtk-rs 0.18 branch. + +### Fixed +- Big endian video format order is correct again. +- `gst::MetaRef::has_tags()` and `tags()` API actually works and works based + on the tags of the concrete meta instance. +- `gst::MetaRef::tags()` returns strings with arbitrary lifetimes now because + they're statically stored anyway. +- Fix another potential deadlock in `gst_utils::StreamProducer` when sending + force-keyunit events. + +### Added +- Bindings for `gst_video::VBIEncoder` and `VBIParser`. +- Accessors for the different `gst::PadProbeData` types on `PadProbeInfo`. +- `Default` impl for `gst::AllocationParams`. +- `From` / `TryFrom` implementations between formatted types (e.g. + `gst::Bytes`) and `usize`. +- `gst::MetaRef::copy()` to copy metas from one buffer to another. +- `gst::ElementImpl::catch_panic_future()` to wrap a `Future` in such a way + that panics are converted to GStreamer error messages and the element is + marked as unusable. + - `gst_gl::GLDisplay::handle()` to get a raw display handle. + ## [0.21.1] - 2023-10-04 ### Changed - Update GStreamer gir files to latest (upcoming) 1.24 APIs. @@ -18,6 +104,10 @@ - Fix potential deadlock in `gst_utils::StreamProducer` when sending force-keyunit events. +### Added +- `max-time` / `max-bytes` setters to `gst_app::AppSink` builder. +- `gst::CustomMeta::register_simple()`. + ## [0.21.0] - 2023-08-08 ### Changed - Minimum supported Rust version is updated to 1.70.0. @@ -1571,7 +1661,10 @@ (< 0.8.0) of the bindings can be found [here](https://github.com/arturoc/gstreamer1.0-rs). The API of the two is incompatible. -[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.1...HEAD +[Unreleased]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.22.0...HEAD +[0.22.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.3...0.22.0 +[0.21.3]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.2...0.21.3 +[0.21.2]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.1...0.21.2 [0.21.1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.21.0...0.21.1 [0.21.0]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.20.7...0.21.0 [0.20.7]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/compare/0.20.6...0.20.7 diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/Cargo.toml rust-gstreamer-gl-wayland-sys-0.22.0/Cargo.toml --- rust-gstreamer-gl-wayland-sys-0.21.1/Cargo.toml 1970-01-01 00:00:01.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/Cargo.toml 1970-01-01 00:00:01.000000000 +0000 @@ -13,7 +13,7 @@ edition = "2021" rust-version = "1.70" name = "gstreamer-gl-wayland-sys" -version = "0.21.1" +version = "0.22.0" authors = ["Sebastian Dröge "] build = "build.rs" description = "FFI bindings to libgstgl-1.0 (Wayland support)" @@ -26,6 +26,10 @@ "gnome", "multimedia", ] +categories = [ + "api-bindings", + "multimedia", +] license = "MIT" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" @@ -64,13 +68,11 @@ [lib] name = "gstreamer_gl_wayland_sys" -[dependencies.glib] -version = "0.18" -package = "glib-sys" - -[dependencies.gst_gl] -version = "0.21" -package = "gstreamer-gl-sys" +[dependencies.glib-sys] +version = "0.19" + +[dependencies.gstreamer-gl-sys] +version = "0.22" [dependencies.libc] version = "0.2" diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/Cargo.toml.orig rust-gstreamer-gl-wayland-sys-0.22.0/Cargo.toml.orig --- rust-gstreamer-gl-wayland-sys-0.21.1/Cargo.toml.orig 2006-07-24 01:21:28.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/Cargo.toml.orig 2006-07-24 01:21:28.000000000 +0000 @@ -3,15 +3,28 @@ build = "build.rs" description = "FFI bindings to libgstgl-1.0 (Wayland support)" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_gl_wayland_sys/" -homepage = "https://gstreamer.freedesktop.org" keywords = ["ffi", "gstreamer", "gnome", "multimedia"] license = "MIT" name = "gstreamer-gl-wayland-sys" readme = "README.md" -repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" -version = "0.21.1" -edition = "2021" -rust-version = "1.70" + +[package.version] +workspace = true + +[package.categories] +workspace = true + +[package.repository] +workspace = true + +[package.homepage] +workspace = true + +[package.edition] +workspace = true + +[package.rust-version] +workspace = true [package.metadata.system-deps.gstreamer_gl_wayland_1_0] name = "gstreamer-gl-1.0" @@ -44,16 +57,11 @@ [dependencies] libc = "0.2" -[dependencies.glib] -package = "glib-sys" -git = "https://github.com/gtk-rs/gtk-rs-core" -branch = "0.18" -version = "0.18" - -[dependencies.gst_gl] -package = "gstreamer-gl-sys" -path = "../../sys" -version = "0.21" +[dependencies.glib-sys] +workspace = true + +[dependencies.gstreamer-gl-sys] +workspace = true [build-dependencies] system-deps = "6" diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/cargo-checksum.json rust-gstreamer-gl-wayland-sys-0.22.0/debian/cargo-checksum.json --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/cargo-checksum.json 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/cargo-checksum.json 2024-02-24 17:12:16.000000000 +0000 @@ -1 +1 @@ -{"package":"917b86f16faa53a34501252fff39f09290ba1796b73e6be07d23d97f484412a1","files":{}} +{"package":"83bc79debd1ef92795a3bd411986b19dbfe2527424f396e460aacc59d5fab4f1","files":{}} diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/changelog rust-gstreamer-gl-wayland-sys-0.22.0/debian/changelog --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/changelog 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/changelog 2024-02-24 17:12:16.000000000 +0000 @@ -1,3 +1,12 @@ +rust-gstreamer-gl-wayland-sys (0.22.0-1) experimental; urgency=medium + + * Package gstreamer-gl-wayland-sys 0.22.0 from crates.io using debcargo 2.6.1 + * Updated copyright years + * Stop regenerating code. Upstream uses git snapshots for the .gir + files, so this is not feasible anymore + + -- Matthias Geiger Sat, 24 Feb 2024 18:12:16 +0100 + rust-gstreamer-gl-wayland-sys (0.21.1-1) unstable; urgency=medium * Package gstreamer-gl-wayland-sys 0.21.1 from crates.io using debcargo 2.6.1 diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/control rust-gstreamer-gl-wayland-sys-0.22.0/debian/control --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/control 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/control 2024-02-24 17:12:16.000000000 +0000 @@ -6,15 +6,12 @@ cargo:native , rustc:native (>= 1.70) , libstd-rust-dev , - librust-glib-sys-0.18+default-dev , - librust-gstreamer-gl-sys-0.21+default-dev , + librust-glib-sys-0.19+default-dev , + librust-gstreamer-gl-sys-0.22+default-dev , librust-libc-0.2+default-dev , librust-system-deps-6+default-dev , libgstreamer-plugins-base1.0-dev , - libgstreamer1.0-dev , - libgirepository1.0-dev , - gir-rust-code-generator , - xmlstarlet + libgstreamer1.0-dev Maintainer: Debian Rust Maintainers Uploaders: Matthias Geiger @@ -30,15 +27,12 @@ Multi-Arch: same Depends: ${misc:Depends}, - librust-glib-sys-0.18+default-dev, - librust-gstreamer-gl-sys-0.21+default-dev, + librust-glib-sys-0.19+default-dev, + librust-gstreamer-gl-sys-0.22+default-dev, librust-libc-0.2+default-dev, librust-system-deps-6+default-dev, libgstreamer-plugins-base1.0-dev, - libgstreamer1.0-dev, - libgirepository1.0-dev, - gir-rust-code-generator, - xmlstarlet + libgstreamer1.0-dev Provides: librust-gstreamer-gl-wayland-sys+default-dev (= ${binary:Version}), librust-gstreamer-gl-wayland-sys+v1-16-dev (= ${binary:Version}), @@ -53,19 +47,19 @@ librust-gstreamer-gl-wayland-sys-0+v1-20-dev (= ${binary:Version}), librust-gstreamer-gl-wayland-sys-0+v1-22-dev (= ${binary:Version}), librust-gstreamer-gl-wayland-sys-0+v1-24-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21+default-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21+v1-16-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21+v1-18-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21+v1-20-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21+v1-22-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21+v1-24-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1+default-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1+v1-16-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1+v1-18-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1+v1-20-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1+v1-22-dev (= ${binary:Version}), - librust-gstreamer-gl-wayland-sys-0.21.1+v1-24-dev (= ${binary:Version}) + librust-gstreamer-gl-wayland-sys-0.22-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22+default-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22+v1-16-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22+v1-18-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22+v1-20-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22+v1-22-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22+v1-24-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0+default-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0+v1-16-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0+v1-18-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0+v1-20-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0+v1-22-dev (= ${binary:Version}), + librust-gstreamer-gl-wayland-sys-0.22.0+v1-24-dev (= ${binary:Version}) Description: FFI bindings to libgstgl-1.0 (Wayland support) - Rust source code Source code for Debianized Rust crate "gstreamer-gl-wayland-sys" diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/copyright rust-gstreamer-gl-wayland-sys-0.22.0/debian/copyright --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/copyright 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/copyright 2024-02-24 17:12:16.000000000 +0000 @@ -4,14 +4,13 @@ Source: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs Files: * -Copyright: 2020-2023 Sebastian Dröge +Copyright: 2020-2024 Sebastian Dröge License: MIT -Comment: The source code mentions generated source code. This gets re-generated during build using only Debian tooling/packages (see d/rules). Files: debian/* Copyright: - 2023 Debian Rust Maintainers - 2023 Matthias Geiger + 2023-2024 Debian Rust Maintainers + 2023-2024 Matthias Geiger License: MIT License: MIT diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/debcargo.toml rust-gstreamer-gl-wayland-sys-0.22.0/debian/debcargo.toml --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/debcargo.toml 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/debcargo.toml 2024-02-24 17:12:16.000000000 +0000 @@ -2,9 +2,8 @@ uploaders = ["Matthias Geiger "] collapse_features = true whitelist = ["tests/constant.c", "tests/layout.c"] -# this is needed for regeneration, do not remove. [packages.lib] -depends = ["libgstreamer-plugins-base1.0-dev","libgstreamer1.0-dev","libgirepository1.0-dev","gir-rust-code-generator","xmlstarlet"] +depends = ["libgstreamer-plugins-base1.0-dev","libgstreamer1.0-dev"] # currently broken because the C library is too old [packages."lib+v1_24"] test_is_broken = true diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/rules rust-gstreamer-gl-wayland-sys-0.22.0/debian/rules --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/rules 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/rules 2024-02-24 17:12:16.000000000 +0000 @@ -1,62 +1,3 @@ #!/usr/bin/make -f - %: dh $@ --buildsystem cargo - -# regenerating the source code -# the xmlstarlet fixes are taken from upstream here: https://github.com/gtk-rs/gir-files/blob/master/fix.sh -execute_before_dh_auto_build: - cp /usr/share/gir-1.0/GLib-2.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GObject-2.0.gir $(CURDIR) - cp /usr/share/gir-1.0/Gst-1.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GModule-2.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GstBase-1.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GstAudio-1.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GstVideo-1.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GstGL-1.0.gir $(CURDIR) - cp /usr/share/gir-1.0/GstGLWayland-1.0.gir $(CURDIR) - xmlstarlet ed -L \ - -u '//*[@glib:error-domain="g-option-context-error-quark"]/@glib:error-domain' -v g-option-error-quark \ - -u '//_:record[@name="KeyFile"]/_:method[@name="set_boolean_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gboolean*" \ - -u '//_:record[@name="KeyFile"]/_:method[@name="set_double_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gdouble*" \ - -u '//_:record[@name="KeyFile"]/_:method[@name="set_integer_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "gint*" \ - -u '//_:record[@name="KeyFile"]/_:method[@name="set_locale_string_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "const gchar* const*" \ - -u '//_:record[@name="KeyFile"]/_:method[@name="set_string_list"]//_:parameter[@name="list"]/_:array/@c:type' -v "const gchar* const*" \ - GLib-2.0.gir - xmlstarlet ed -L \ - -u '//_:class[@name="Object"]/_:method[@name="getv"]//_:parameter[@name="names"]/_:array/@c:type' -v "const gchar**" \ - -u '//_:class[@name="Object"]/_:method[@name="getv"]//_:parameter[@name="values"]/_:array/@c:type' -v "GValue*" \ - -u '//_:class[@name="Object"]/_:method[@name="setv"]//_:parameter[@name="names"]/_:array/@c:type' -v "const gchar**" \ - -u '//_:class[@name="Object"]/_:method[@name="setv"]//_:parameter[@name="values"]/_:array/@c:type' -v "const GValue*" \ - -u '//_:class[@name="Object"]/_:constructor[@name="new_with_properties"]//_:parameter[@name="names"]/_:array/@c:type' -v "const char**" \ - -u '//_:class[@name="Object"]/_:constructor[@name="new_with_properties"]//_:parameter[@name="values"]/_:array/@c:type' -v "const GValue*" \ - -i '//_:interface[@name="TypePlugin" and not(@glib:type-struct)]' -t 'attr' -n 'glib:type-struct' -v 'TypePluginClass' \ - -i '//_:record[@name="TypePluginClass" and not(@glib:is-gtype-struct-for)]' -t 'attr' -n 'glib:is-gtype-struct-for' -v 'TypePlugin' \ - GObject-2.0.gir - xmlstarlet ed --inplace \ - --delete '//_:record[@name="VideoAncillary"]/_:field[@name="data"]/_:array/@length' \ - --delete '//_:record[@name="VideoAncillary"]/_:field[@name="data"]/_:array/@fixed-size' \ - --insert '//_:record[@name="VideoAncillary"]/_:field[@name="data"]/_:array' \ - --type attr --name 'fixed-size' --value '256' \ - --delete "//_:member[@c:identifier=\"GST_VIDEO_BUFFER_FLAG_ONEFIELD\"][2]" \ - --delete "//_:member[@c:identifier=\"GST_VIDEO_FRAME_FLAG_ONEFIELD\"][2]" \ - --delete "//_:member[@c:identifier=\"GST_NAVIGATION_MODIFIER_META_MASK\"][2]" \ - GstVideo-1.0.gir - xmlstarlet ed --inplace \ - --update '//*[@c:type="wl_display*"]/@c:type' \ - --value gpointer \ - --update '//*[@c:type="wl_registry*"]/@c:type' \ - --value gpointer \ - --update '//*[@c:type="wl_compositor*"]/@c:type' \ - --value gpointer \ - --update '//*[@c:type="wl_subcompositor*"]/@c:type' \ - --value gpointer \ - --update '//*[@c:type="wl_shell*"]/@c:type' \ - --value gpointer \ - GstGLWayland-1.0.gir - sed -i 's/girs_directories\s=\s\[\"\.\.\/\.\.\/\.\.\/gir-files\",\s\"\.\.\/\.\.\/\.\.\/gst-gir-files\"\]/girs_directories=\[\".\"\]/' $(CURDIR)/Gir.toml - gir -o . - -# Remove the .gir file before install -execute_before_dh_auto_install: - rm $(CURDIR)/*.gir diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/rules.debcargo.hint rust-gstreamer-gl-wayland-sys-0.22.0/debian/rules.debcargo.hint --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/rules.debcargo.hint 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/rules.debcargo.hint 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -#!/usr/bin/make -f -%: - dh $@ --buildsystem cargo diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/debian/tests/control rust-gstreamer-gl-wayland-sys-0.22.0/debian/tests/control --- rust-gstreamer-gl-wayland-sys-0.21.1/debian/tests/control 2024-01-05 15:52:37.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/debian/tests/control 2024-02-24 17:12:16.000000000 +0000 @@ -1,39 +1,39 @@ -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --all-features +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --all-features Features: test-name=rust-gstreamer-gl-wayland-sys:@ Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable, flaky -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets Features: test-name=librust-gstreamer-gl-wayland-sys-dev:default Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --no-default-features --features v1_16 +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --no-default-features --features v1_16 Features: test-name=librust-gstreamer-gl-wayland-sys-dev:v1_16 Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --no-default-features --features v1_18 +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --no-default-features --features v1_18 Features: test-name=librust-gstreamer-gl-wayland-sys-dev:v1_18 Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --no-default-features --features v1_20 +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --no-default-features --features v1_20 Features: test-name=librust-gstreamer-gl-wayland-sys-dev:v1_20 Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --no-default-features --features v1_22 +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --no-default-features --features v1_22 Features: test-name=librust-gstreamer-gl-wayland-sys-dev:v1_22 Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --no-default-features --features v1_24 +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --no-default-features --features v1_24 Features: test-name=librust-gstreamer-gl-wayland-sys-dev:v1_24 Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable, flaky -Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.21.1 --all-targets --no-default-features +Test-Command: /usr/share/cargo/bin/cargo-auto-test gstreamer-gl-wayland-sys 0.22.0 --all-targets --no-default-features Features: test-name=librust-gstreamer-gl-wayland-sys-dev: Depends: dh-cargo (>= 18), librust-shell-words-1+default-dev, librust-tempfile-3+default-dev, @ Restrictions: allow-stderr, skip-not-installable diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/src/auto/versions.txt rust-gstreamer-gl-wayland-sys-0.22.0/src/auto/versions.txt --- rust-gstreamer-gl-wayland-sys-0.21.1/src/auto/versions.txt 2006-07-24 01:21:28.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/src/auto/versions.txt 2006-07-24 01:21:28.000000000 +0000 @@ -1,3 +1,3 @@ -Generated by gir (https://github.com/gtk-rs/gir @ c7aa72a3e9f6) -from gir-files (https://github.com/gtk-rs/gir-files @ 6415239ef435) -from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 962af2acaefd) +Generated by gir (https://github.com/gtk-rs/gir @ 0e476ab5c1de) +from gir-files (https://github.com/gtk-rs/gir-files @ cfc0305f903b) +from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 63e90a30193b) diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/src/lib.rs rust-gstreamer-gl-wayland-sys-0.22.0/src/lib.rs --- rust-gstreamer-gl-wayland-sys-0.21.1/src/lib.rs 2006-07-24 01:21:28.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/src/lib.rs 2006-07-24 01:21:28.000000000 +0000 @@ -12,6 +12,9 @@ )] #![cfg_attr(docsrs, feature(doc_cfg))] +use glib_sys as glib; +use gstreamer_gl_sys as gst_gl; + #[allow(unused_imports)] use libc::{ c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, diff -Nru rust-gstreamer-gl-wayland-sys-0.21.1/tests/abi.rs rust-gstreamer-gl-wayland-sys-0.22.0/tests/abi.rs --- rust-gstreamer-gl-wayland-sys-0.21.1/tests/abi.rs 2006-07-24 01:21:28.000000000 +0000 +++ rust-gstreamer-gl-wayland-sys-0.22.0/tests/abi.rs 2006-07-24 01:21:28.000000000 +0000 @@ -11,7 +11,7 @@ use std::ffi::OsString; use std::mem::{align_of, size_of}; use std::path::Path; -use std::process::Command; +use std::process::{Command, Stdio}; use std::str; use tempfile::Builder; @@ -71,9 +71,11 @@ let mut cmd = Command::new(pkg_config); cmd.arg("--cflags"); cmd.args(packages); + cmd.stderr(Stdio::inherit()); let out = cmd.output()?; if !out.status.success() { - return Err(format!("command {cmd:?} returned {}", out.status).into()); + let (status, stdout) = (out.status, String::from_utf8_lossy(&out.stdout)); + return Err(format!("command {cmd:?} failed, {status:?}\nstdout: {stdout}").into()); } let stdout = str::from_utf8(&out.stdout)?; Ok(shell_words::split(stdout.trim())?) @@ -188,13 +190,15 @@ let cc = Compiler::new().expect("configured compiler"); cc.compile(&c_file, &exe)?; - let mut abi_cmd = Command::new(exe); - let output = abi_cmd.output()?; - if !output.status.success() { - return Err(format!("command {abi_cmd:?} failed, {output:?}").into()); + let mut cmd = Command::new(exe); + cmd.stderr(Stdio::inherit()); + let out = cmd.output()?; + if !out.status.success() { + let (status, stdout) = (out.status, String::from_utf8_lossy(&out.stdout)); + return Err(format!("command {cmd:?} failed, {status:?}\nstdout: {stdout}").into()); } - Ok(String::from_utf8(output.stdout)?) + Ok(String::from_utf8(out.stdout)?) } const RUST_LAYOUTS: &[(&str, Layout)] = &[