Commit Graph

876 Commits

Author SHA1 Message Date
Eike Rathke
6ed875ba67 Add mp4parse-rust patch to build with rust 1.70
Discovered as
8b5b652d38
apparently its commit summary "Fix unstable-name-collisions warning by using
fully qualified path" being completely unrelated to this confusing error
message:

    error[E0277]: the trait bound `u64: Mul<NonZeroU8>` is not satisfied
	--> /builddir/build/BUILD/thunderbird-102.11.1/third_party/rust/mp4parse/src/lib.rs:3188:62
	 |
    3188 |                 static_assertions::const_assert!(<$lhs>::MAX * <$rhs>::MAX <= <$output>::MAX);
	 |                                                              ^ no implementation for `u64 * NonZeroU8`
    ...
    3198 | impl_mul!((U8, std::num::NonZeroU8) => (U16, u16));
	 | -------------------------------------------------- in this macro invocation
	 |
	 = help: the trait `~const Mul<NonZeroU8>` is not implemented for `u64`
	 = help: the following other types implement trait `Mul<Rhs>`:
		   <&'a u64 as Mul<u64>>
		   <&u64 as Mul<&u64>>
		   <u64 as Mul<&u64>>
		   <u64 as Mul>
	 = note: this error originates in the macro `impl_mul` (in Nightly builds, run with -Z macro-backtrace for more info)
    note: erroneous constant used
	--> /builddir/build/BUILD/thunderbird-102.11.1/third_party/rust/mp4parse/src/lib.rs:3198:1
	 |
    3198 | impl_mul!((U8, std::num::NonZeroU8) => (U16, u16));
	 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	 |
	 = note: this note originates in the macro `static_assertions::const_assert` which comes from the expansion of the macro `impl_mul` (in Nightly builds, run with -Z macro-backtrace for more info)
    error[E0277]: the trait bound `u64: Mul<NonZeroU8>` is not satisfied
	--> /builddir/build/BUILD/thunderbird-102.11.1/third_party/rust/mp4parse/src/lib.rs:3188:62
	 |
    3188 |                 static_assertions::const_assert!(<$lhs>::MAX * <$rhs>::MAX <= <$output>::MAX);
	 |                                                              ^ no implementation for `u64 * NonZeroU8`
    ...
    3199 | impl_mul!((U32, std::num::NonZeroU8) => (U32MulU8, u64));
	 | -------------------------------------------------------- in this macro invocation
	 |
	 = help: the trait `~const Mul<NonZeroU8>` is not implemented for `u64`
	 = help: the following other types implement trait `Mul<Rhs>`:
		   <&'a u64 as Mul<u64>>
		   <&u64 as Mul<&u64>>
		   <u64 as Mul<&u64>>
		   <u64 as Mul>
	 = note: this error originates in the macro `impl_mul` (in Nightly builds, run with -Z macro-backtrace for more info)
    note: erroneous constant used
	--> /builddir/build/BUILD/thunderbird-102.11.1/third_party/rust/mp4parse/src/lib.rs:3199:1
	 |
    3199 | impl_mul!((U32, std::num::NonZeroU8) => (U32MulU8, u64));
	 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	 |
	 = note: this note originates in the macro `static_assertions::const_assert` which comes from the expansion of the macro `impl_mul` (in Nightly builds, run with -Z macro-backtrace for more info)
    For more information about this error, try `rustc --explain E0277`.
    error: could not compile `mp4parse` (lib) due to 2 previous errors
2023-06-08 14:38:15 +02:00
Eike Rathke
8ffd7f5713 Add rust-bindgen patch for building against clang LLVM 16 on f38, f39
With clang LLVM 16 rust-bindgen 0.56.0 is too old, see
https://github.com/rust-lang/rust-bindgen/pull/2319
https://github.com/rust-lang/rust-bindgen/issues/2312
https://github.com/rust-lang/rust-bindgen/issues/2488
https://github.com/rust-lang/rust-bindgen/pull/2339
https://github.com/rust-lang/rust-bindgen/issues/2325
2023-06-07 22:38:11 +02:00
Eike Rathke
104518f46b Update to 102.11.1
Change %patchN ... to %patch -P N ...
2023-05-25 20:14:43 +02:00
Eike Rathke
0f4970d04f Update to 102.11.0 2023-05-11 01:34:35 +02:00
Eike Rathke
5d9907d3f4 Add RUSTFLAGS commasplit patch 2023-04-24 14:33:19 +02:00
Yaakov Selkowitz
5790fe6b71 Remove unused gtk2 BuildRequires
The gtk2 plugin loader was removed upstream for 91.0, but the
BuildRequires was never updated.  The latest build.log doesn't show any
reference to gtk+-2.0.
2023-04-11 18:08:43 +00:00
Eike Rathke
26c4214413 Update to 102.10.0 2023-04-11 19:50:53 +02:00
Eike Rathke
618f3cf723 Update to 102.9.1 2023-03-29 15:04:18 +02:00
Eike Rathke
38593462f4 unset RUSTFLAGS from set_build_flags
Otherwise since
https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/243
the build breaks.
2023-03-16 14:47:54 +01:00
Eike Rathke
bf24466730 Update to 102.9.0 2023-03-15 19:15:25 +01:00
Eike Rathke
51af983460 Update to 102.8.0 2023-02-17 14:05:04 +01:00
Eike Rathke
552fdb7925 Update to 102.8.0 2023-02-17 13:46:59 +01:00
Eike Rathke
f8dc04ce3f Update to 102.7.2 2023-02-08 16:38:30 +01:00
Eike Rathke
c139606b1d Update to 102.7.1 build2 2023-01-31 23:25:33 +01:00
Eike Rathke
61504da9fc Fix FTBFS gcc13 header dependencies 2023-01-26 00:55:22 +01:00
Eike Rathke
7db2eec382 Update to 102.7.1 2023-01-24 15:28:44 +01:00
Fedora Release Engineering
ce2e60424b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 05:01:34 +00:00
Martin Stransky
fd15a7551f Backported mozbz#1804877 - set XDG_ACTIVATION_TOKEN when launch external application under Wayland 2022-12-21 08:22:55 +01:00
Eike Rathke
6ba29c7914 meh langpacks.. 2022-12-13 18:53:19 +01:00
Eike Rathke
dfb8690c53 Update to 102.6.0 2022-12-13 18:46:07 +01:00
Eike Rathke
0a585f4524 Merge #21 Allow system librnp 2022-12-09 17:55:00 +00:00
Eike Rathke
07ca823494 Update to 102.5.1 2022-12-01 15:58:26 +01:00
Remi Collet
e44325964d Allow system librnp 2022-11-17 14:55:33 +01:00
Eike Rathke
a17b5dff40 Update to 102.5.0
Use SPDX license IDs in spec
2022-11-16 00:26:48 +01:00
Eike Rathke
1fbcf37ebd Update to 102.4.1 2022-11-02 14:36:09 +01:00
Eike Rathke
d956fee91a Update to 102.4.0 2022-10-19 20:31:14 +02:00
Eike Rathke
c2e5a6f365 Update to 102.3.1 2022-09-29 20:03:36 +02:00
Eike Rathke
f718edee45 Update to 102.3.0 2022-09-21 10:40:29 +02:00
Eike Rathke
3f8d976c97 Update to 102.2.1 2022-09-01 11:22:19 +02:00
Jan Horak
ca5a5e2756 fixing elfhack patch application 2022-08-25 09:36:06 +02:00
Jan Horak
d073fa532a Disable elfhack as long as it cause build problems 2022-08-25 09:21:10 +02:00
Jan Horak
b2b84fc0dc Disable elfhack as long as it cause build problems 2022-08-25 09:02:27 +02:00
Jan Horak
0a1386a0ff Fixing arc4random_buf build failures 2022-08-24 16:28:02 +02:00
Jan Horak
cf253a604a Fix for arc4random_buf build failures 2022-08-23 17:47:18 +02:00
Eike Rathke
f9d428a848 Update to 102.2.0 2022-08-23 13:22:35 +02:00
Miro Hrončok
8f7ca46fc4 BuildRequire Python explicitly
Clearly, this package uses Python for building,
as it needed a patch for Python 3.11.
Let's declare that dependency explicitly
instead of relying on a random transitive dependency to pull it in.

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_buildrequire_python3_devel
2022-08-16 16:54:11 +00:00
Jan Horak
62bc7da171 Fixed files section in rnp subpackage 2022-08-08 12:24:08 +02:00
Jan Horak
b596a79042 Added new files - rnp-cli and rnp-keys 2022-08-04 16:22:52 +02:00
Jan Horak
e5a04e5bac Patch headers which are already covered: ROOT_CLIP_CHAIN 2022-08-04 12:48:19 +02:00
Jan Horak
33b0332842 updated cbindgen 2022-08-04 11:36:26 +02:00
Jan Horak
7f4e87c07c Added build patch 2022-08-03 17:51:43 +02:00
Jan Horak
f7dc2325c1 Rebase to 102.1.0 2022-08-03 17:33:52 +02:00
Jan Horak
65254f30dd Rebase to 102.1.0 2022-08-03 16:57:43 +02:00
Jan Horak
dbe93d8e46 Rebase to 102.1.0 2022-08-03 15:49:33 +02:00
Jan Horak
21d6186177 Rebase to 102.1.0 2022-08-03 15:21:35 +02:00
Eike Rathke
06713b6f6e Update to 91.12.0 2022-07-28 18:36:36 +02:00
Fedora Release Engineering
37941450bc Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 10:27:21 +00:00
Eike Rathke
d08b70a3d2 Remove legacy left-over BuildRequires: python2-devel 2022-07-12 15:23:04 +02:00
Eike Rathke
3ec1ca4ba3 Fix f37 FTBFS Python 3.11 API incompatibilities
Python 3.11 "ValueError: invalid mode: 'rU'"
'U' is deprecated since Python 3 and default, error with Python 3.11
Remove 'U' from '"rU"' to '"r"'.

Python 3.11 "Invalid regular expression for rule '...'.
global flags not at the start of the expression at position ...
Change global inline flags (?s)... to local inline flags (?s:...)

See
https://docs.python.org/3.11/whatsnew/3.11.html#changes-in-the-python-api

* open(), io.open(), codecs.open() and fileinput.FileInput no
  longer accept 'U' (“universal newline”) in the file mode. This
  flag was deprecated since Python 3.3. In Python 3, the
  “universal newline” is used by default when a file is open in
  text mode.

* Global inline flags (e.g. (?i)) can now only be used at the
  start of the regular expressions. Using them not at the start of
  expression was deprecated since Python 3.6.
2022-07-12 15:17:59 +02:00
Eike Rathke
600e3321f0 Correct changelog date 2022-07-08 18:43:20 +02:00