Commit Graph
896465 Commits
Author SHA1 Message Date
Matt Jolly 04a43a50b1 dev-lang/rust{,-bin}: Add 1.54.0
These are the the old ebuilds, updated to be slotted.

Other changes:

- `USE=rls` was dropped at some point, this is now
  hard-enabled.
- As the LLVM is far too old for Gentoo we are using the bundled LLVM
  exclusively.

In particular, dev-lang/rust:1.54.0 forms an important part of the
upcoming 'bootstrap Rust without Rust binaries' path.

Bug: https://bugs.gentoo.org/943706
Closes: https://github.com/gentoo/gentoo/pull/39464
Signed-off-by: Matt Jolly <kangie@gentoo.org>
2024-12-02 17:54:17 +10:00
Matt Jolly 12a24a054f cargo.eclass: add trivial crate overrides
Updating vulnerable (or otherwise outdated) crates in Rust ebuilds
is painful. Generally speaking, there are 5 options:

- Run `cargo update` to fetch new versions from the web.
  This is obviously not suitable for use in Portage.
- Patch the software via Portage to accept a non-vulnerable crate.
  This is a reasonable option when the package is not too complex
  but still requires significant developer effort and some familiarity
  with Cargo. In the case of complex patches this may not be feasible,
  or require the generation of a dependency tarball.
- [patch] the source (repository) in Cargo.toml. This enables the
  targeting of specific crates, but does not allow the replacement
  of only a specific version in the depgraph.
- [replace] a particular crate:version in the Cargo.toml. This
  enables the targeting of a particular version with an arbitrary
  path however the replacement crate must *have the same version*
  as the one being overridden.
- `paths = [...]` overrides: pass an array of paths to directories that
  contain a Cargo.toml. Cargo will override any crate with the same package name
  arbitrarily, ignoring the lock file and versions; typically used for testing.
  Is applied via ${CARGO_HOME}/config.toml (i.e. globally)

This commit:

- Implements the `paths` overrides, which will work even when
  Cargo is configured to use a vendored directory. This is not a 'smart'
  replacement and care must be taken to ensure that all versions of
  the crate in use are compatible (`cargo tree` will help).

- Provides a helper which runs `cargo --update --offline` against
  ${ECARGO_VENDOR} (where ${CRATES} are unpacked). This enables the
  replacement of vulnerable versions in ${CRATES}. It is up to the
  consumer to ensure that only the desired crates are being replaced
  and that package behaviour does not change.

Resources:
- https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html
- https://github.com/rust-lang/cargo/issues/3308

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2024-12-02 17:54:17 +10:00
Matt Jolly e13b0ea6d4 cargo.eclass: add ${CARGO_BOOTSTRAP}
This variable enables ebuilds to tell the eclass to ignore
the minimum Rust/Cargo version reqirement. It is intended
for use when bootstrapping older Rust, consumers who are
not dev-lang/rust should have a good reason for using this.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2024-12-02 17:54:17 +10:00
Matt Jolly aa28c9e374 dev-lang/rust: update non-slotted rust library tidyup
We would previously `die` if there was only one file found matching
libraries in ${old_rust_libs} after the fingerprint was stripped.

It turns out that it's not uncommon for fingerprints to match, and
it is entirely possible for one (or most!) libraries to actually
be overridden.

Keep the existing duplicate handling but log the `expected 2 but found
1` case just in case we need to track this down.

Since all -r100 ebuild are having `pkg_postinst` updated, be consistent
about `optfeature` usage.

Signed-off-by: Matt Jolly <kangie@gentoo.org>
2024-12-02 17:54:12 +10:00
Ionen Wolkens 68f7d7904b dev-qt/qtwebview: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:47 -05:00
Ionen Wolkens 1e1d33df04 dev-qt/qtwebsockets: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:47 -05:00
Ionen Wolkens 519fa3d1d0 dev-qt/qtwebengine: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:47 -05:00
Ionen Wolkens 66a0d32fda dev-qt/qtwebchannel: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:47 -05:00
Ionen Wolkens 0c1f012fee dev-qt/qtwayland: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:47 -05:00
Ionen Wolkens 18bd453f63 dev-qt/qtvirtualkeyboard: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:46 -05:00
Ionen Wolkens 722dac1216 dev-qt/qttranslations: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:46 -05:00
Ionen Wolkens 19eab7ecaf dev-qt/qttools: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:46 -05:00
Ionen Wolkens b0bc3b3066 dev-qt/qtsvg: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:46 -05:00
Ionen Wolkens fb4d010fbf dev-qt/qtspeech: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:46 -05:00
Ionen Wolkens 35240472fe dev-qt/qtshadertools: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:45 -05:00
Ionen Wolkens 3736fcf5e0 dev-qt/qtserialport: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:45 -05:00
Ionen Wolkens 8bfec263ad dev-qt/qtserialbus: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:45 -05:00
Ionen Wolkens 10f0b7e6ed dev-qt/qtsensors: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:45 -05:00
Ionen Wolkens d32f3d415b dev-qt/qtscxml: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:45 -05:00
Ionen Wolkens 06f02af068 dev-qt/qtremoteobjects: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:44 -05:00
Ionen Wolkens a89b1deb12 dev-qt/qtquicktimeline: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:44 -05:00
Ionen Wolkens 04e269f681 dev-qt/qtquick3d: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:44 -05:00
Ionen Wolkens 939c1c3b5f dev-qt/qtpositioning: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:44 -05:00
Ionen Wolkens 82ac5b8e09 dev-qt/qtnetworkauth: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:44 -05:00
Ionen Wolkens aad3bed7f6 dev-qt/qtmultimedia: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:43 -05:00
Ionen Wolkens f8cacbfdf5 dev-qt/qtlocation: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:43 -05:00
Ionen Wolkens d90776c078 dev-qt/qtlanguageserver: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:43 -05:00
Ionen Wolkens 50e5dd5c0a dev-qt/qtimageformats: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:43 -05:00
Ionen Wolkens 7d21d21929 dev-qt/qthttpserver: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:43 -05:00
Ionen Wolkens cd07647798 dev-qt/qtdeclarative: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:42 -05:00
Ionen Wolkens a287d44625 dev-qt/qtconnectivity: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:42 -05:00
Ionen Wolkens 3ab03faf0e dev-qt/qtcharts: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:42 -05:00
Ionen Wolkens db1a48442b dev-qt/qt5compat: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:42 -05:00
Ionen Wolkens 6da1bb6c13 dev-qt/qt3d: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:42 -05:00
Ionen Wolkens 918935cfad dev-qt/qtbase: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:42 -05:00
Ionen Wolkens c41169eaa1 dev-qt/qtremoteobjects: skip flaky tst_modelview
Hit a random failure and it was fine after trying again.
Not going to try to debug this.

Presumably 6.7.3 and 6.8.0 may be affected too, albeit I hit
this while doing early testing for 6.8.1.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:41 -05:00
Ionen Wolkens 3a31741e02 dev-qt/qt-docs: add 6.8.1_p202411221531
Few notes:
* qtwebengine docs/examples unfortunately still seem to be missing,
  albeit they can still be found in the qtwebengine source tarball
  itself so it's likely a mistake
* upstream finally cleaned out these "empty" archives that we were
  (mostly) skipping except qtsvg examples that just realized were
  also empty
* reviewed the whole list for anything missing and seem had overlooked
  the qtstatemachine and qtspatialaudio documentation, everything
  should be here now (that is available anyway), incl. the previously
  skipped qtwayland examples due to the inconsistent path
* archives no longer have Examples/ Docs/ subdirectories which causes a
  mess if all unpacked in the same directory, so there is now a custom
  src_unpack to split them again rather than rely on messy globs
* uncommented `|| die`, formerly avoided due to being global scope but
  it's a similar deal as eclasses using die for sanity checks like
  unsupported EAPI and guess ebuilds can do it too

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:22:41 -05:00
Ionen Wolkens b5e7fea6a4 profiles: drop obsolete mask for Qt 6.8.0 & friends
No longer needed now that it'll be overshadowed by 6.8.1, and
this pyqt6 snapshot needs to be unmasked to be used with 6.8.1.

Probably won't keep 6.8.0 in-tree for very long given it was
masked the whole time and is not a stable candidate, but just
a bit in case we want to compare regressions with 6.8.0 rather
than 6.7.3.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:21:39 -05:00
Ionen Wolkens 95016c7949 profiles/arch/sparc: package.use.mask qtwayland[gnome]
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:21:39 -05:00
Ionen Wolkens c88b3f9885 profiles/arch/powerpc/ppc32: package.use.mask qtconnectivity[neard]
Not worth keywording, rather unlikely to be needed by anyone.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:21:38 -05:00
Ionen Wolkens 293a6d4a8e profiles/arch/hppa: package.use.mask qtmultimedia[screencast]
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:21:38 -05:00
Ionen Wolkens b7451a6d54 profiles/arch: update qmlls package.use.masks
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-02 02:21:38 -05:00
Yongxiang Liang 7670732c15 x11-libs/xcb-imdkit: drop 1.0.8
Closes: https://github.com/gentoo/gentoo/pull/39540
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:45 +08:00
Yongxiang Liang 190a333c1e app-i18n/fcitx-chinese-addons: drop 5.1.6
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:41 +08:00
Yongxiang Liang f6316653bd app-i18n/fcitx-qt: drop 5.1.7
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:37 +08:00
Yongxiang Liang 4fdada3fda app-i18n/fcitx-rime: drop 5.1.8
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:34 +08:00
Yongxiang Liang 60c4271e00 app-i18n/fcitx: drop 5.1.10-r1
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:30 +08:00
Yongxiang Liang 9cd4c4a9bf app-i18n/libime: drop 1.1.8-r1
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:26 +08:00
Yongxiang Liang 8683efb166 app-i18n/librime: drop 1.9.0
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
2024-12-02 15:12:23 +08:00
Michał Górny 222727baa8 package.mask: Unmask dev-libs/libfmt & games-emulation/dolphin
Closes: https://bugs.gentoo.org/906079
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-12-02 07:54:39 +01:00