Commit graph

19 commits

Author SHA1 Message Date
Tobias Kortkamp
d64a2a380f
lang/rust: Relink consumers
PR:		261449
Security:	ee26f513-826e-11ec-8be6-d4c9ef517024
2022-02-03 15:02:32 +01:00
Tobias Kortkamp
835bd57330
lang/rust: Bump revisions after 1.58.0 2022-01-17 12:57:45 +01:00
Jan Beich
64b81d1767 multimedia/gstreamer1-plugins-rust: sort distfiles after c9d85f0d9c 2021-12-28 17:25:35 +00:00
Piotr Kubaj
0442d88448 multimedia/gstreamer1-plugins-rust: fix build on powerpc
Disable CSOUND, same issue as on powerpc64*:
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
  --> /wrkdirs/usr/ports/multimedia/gstreamer1-plugins-rust/work/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/va_list-0.1.3/src/lib.rs:77:15
   |
77 |     internal: imp::VaList,
   |               ^^^ use of undeclared crate or module `imp`

error[E0433]: failed to resolve: use of undeclared crate or module `imp`
  --> /wrkdirs/usr/ports/multimedia/gstreamer1-plugins-rust/work/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/va_list-0.1.3/src/lib.rs:93:24
   |
93 |     unsafe fn get(&mut imp::VaList) -> Self;
   |                        ^^^ use of undeclared crate or module `imp`

warning: anonymous parameters are deprecated and will be removed in the next edition.
  --> /wrkdirs/usr/ports/multimedia/gstreamer1-plugins-rust/work/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/va_list-0.1.3/src/lib.rs:93:19
   |
93 |     unsafe fn get(&mut imp::VaList) -> Self;
   |                   ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut imp::VaList`
   |
   = note: `#[warn(anonymous_parameters)]` on by default
   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>

For more information about this error, try `rustc --explain E0433`.
warning: `va_list` (lib) generated 1 warning
Error: CliError { error: Some(could not compile `va_list` due to 2 previous errors; 1 warning emitted

Also patch crossbeam-utils crate for no atomics on powerpc.

Building dav1d segfaults, so disable it as well:
    process didn't exit successfully: `/wrkdirs/usr/ports/multimedia/gstreamer1-plugins-rust/work/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/_build/target/release/build/dav1d-sys-3a3db191566872b8/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
2021-12-12 22:35:11 +00:00
Piotr Kubaj
1a63525342 multimedia/gstreamer1-plugins-rust: fix build on powerpc64*
Same issue as on aarch64.
2021-12-06 10:24:30 +00:00
Tobias Kortkamp
5a7f23c69d
lang/rust: Rebuild consumers for Rust 1.57.0 2021-12-05 13:35:42 +01:00
Jan Beich
90ca460665 multimedia/gstreamer1-plugins-rust: temp disable CSOUND on aarch64
error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:382:27
    |
382 |             device_name: [0i8; 64usize],
    |                           ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
382 |             device_name: [0u8; 64usize],
    |                           ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:383:25
    |
383 |             device_id: [0i8; 64usize],
    |                         ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
383 |             device_id: [0u8; 64usize],
    |                         ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:384:25
    |
384 |             rt_module: [0i8; 64usize],
    |                         ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
384 |             rt_module: [0u8; 64usize],
    |                         ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:434:27
    |
434 |             device_name: [0i8; 64usize],
    |                           ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
434 |             device_name: [0u8; 64usize],
    |                           ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:435:30
    |
435 |             interface_name: [0i8; 64usize],
    |                              ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
435 |             interface_name: [0u8; 64usize],
    |                              ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:436:25
    |
436 |             device_id: [0i8; 64usize],
    |                         ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
436 |             device_id: [0u8; 64usize],
    |                         ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:437:27
    |
437 |             midi_module: [0i8; 64usize],
    |                           ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
437 |             midi_module: [0u8; 64usize],
    |                           ^^^

Reported by:	pkg-fallout
2021-12-04 20:42:12 +00:00
Tobias Kortkamp
ad90fc634b
*: Rebuild for Rust 1.56.0 2021-10-25 10:55:19 +02:00
Tobias Kortkamp
c9d85f0d9c
multimedia/gstreamer1-plugins-rust: Chase USES=cargo's new git source support
PR:		256581
2021-10-25 10:49:11 +02:00
Mikael Urankar
4b0565682a multimedia/gstreamer1-plugins-rust: Mark as broken on aarch64. 2021-10-18 13:43:56 +02:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Tobias Kortkamp
7059b43727
*: Rebuild lang/rust consumers after the 1.55.0 update 2021-09-19 11:03:23 +02:00
Jan Beich
c25e34d505 devel/cargo-c: update to 0.9.3
Changes:	https://github.com/lu-zero/cargo-c/releases/tag/v0.9.3
Reported by:	GitHub (watch releases)
2021-09-16 18:28:46 +00:00
Jan Beich
d857723af3 multimedia/gstreamer1-plugins-rust: update to 0.7.2
Changes:	https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/compare/0.7.1...0.7.2
2021-09-16 17:45:37 +00:00
Mikael Urankar
70f1b063ed lang/rust: Rebuild consumers for 1.54.0 2021-08-28 15:42:06 +02:00
Jan Beich
ab0c33927b multimedia/gstreamer1-plugins-rust: verbose build per 30a00f2227 + 7bec7b192c
CARGO_TERM_VERBOSE doesn't support "very verbose" required by 7bec7b192c,
so patch the wrapper instead.
2021-08-16 18:39:44 +00:00
Jan Beich
4e5d248bd1 multimedia/gstreamer1-plugins-rust: refresh PANGO patch 2021-08-15 16:15:41 +00:00
Jan Beich
f8c04919f4 multimedia/gstreamer1-plugins-rust: enable CSOUND on 11.* amd64
Accidentally lost when adapting from audio/csound:

.if ${ARCH} == "i386"
BROKEN_FreeBSD_11=	libcsound64.so.6.0: undefined reference to `__atomic_store_8' / undefined reference to `__atomic_load_8'
.endif
2021-08-15 15:38:51 +00:00
Jan Beich
6e34b28af5 multimedia/gstreamer1-plugins-rust: add new port
Repository containing various GStreamer plugins and elements written
in the Rust programming language:

* generic
  - file: A Rust implementation of the standard filesrc and filesink
    elements

  - sodium: Elements to perform encryption and decryption using
    libsodium.

  - threadshare: Some popular threaded elements reimplemented using common
    thread-sharing infrastructure.

* net
  - reqwest: An HTTP source element based on the reqwest library.

  - rusoto: A source and sink plugin to talk to the Amazon S3 object
    storage system using the Rusoto library.

* audio
  - audiofx: Plugins to apply audio effects to a stream (such as
    adding echo/reverb, removing noise or normalization).

  - claxon: A FLAC decoder based on the Claxon library.

  - csound: A plugin to implement audio effects using the Csound
    library.

  - lewton: A Vorbis decoder based on the lewton library.

* video
  - cdg: A parser and renderer for CD+G karaoke data.

  - closedcaption: Plugins to deal with several closed caption formats
    (MCC, SCC, EIA-608/CEA-608 and timed text).

  - dav1d: AV1 decoder based on the dav1d library.

  - flavors: FLV demuxer based on the flavors library.

  - gif: A GIF encoder based on the gif library.

  - rav1e: AV1 encoder based on the rav1e library.

* utils
  - fallbackswitch: Aggregator element that allows falling back to a
    different sink pad after a timeout.

  - togglerecord: Element to enable starting and stopping multiple
    streams together.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
2021-08-15 14:45:11 +00:00