Commit: 91f82fad4028813f0a9749e65ea1d3b71d8bcefa
Parent: 5d32f7f5af84d54e46f8e94f0d6d4f43300a1ae9
Author: 0x766F6964
Date: Sun, 15 Mar 2020 12:27:16 -0600
update portage config
Diffstat:
6 files changed, 64 insertions(+), 4 deletions(-)
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
@@ -28,6 +28,7 @@ USE="alsa ffmpeg libressl opengl savedconfig \
ABI_X86="64"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
+RUSTFLAGS="-C target-feature=-crt-static"
LLVM_TARGETS="AMDGPU X86"
INPUT_DEVICES="mouse keyboard"
QEMU_SOFTMMU_TARGETS="x86_64"
diff --git a/etc/portage/package.mask b/etc/portage/package.mask
@@ -1,5 +1,4 @@
dev-libs/elfutils::gentoo
-dev-lang/rust::gentoo
media-libs/mesa::gentoo
# gtk3
>x11-themes/adwaita-icon-theme-3.22.0-r2
@@ -23,3 +22,7 @@ sys-apps/systemd
#sys-fs/udev-init-scripts
sys-fs/udisks
sys-power/upower
+
+
+=net-fs/samba-4.11.6-r2
+=sys-libs/ldb-2.0.8::gentoo
diff --git a/etc/portage/package.unmask b/etc/portage/package.unmask
@@ -4,3 +4,5 @@
dev-lang/lua:5.2
=app-eselect/eselect-lua-1
+
+app-editors/nvi
diff --git a/etc/portage/package.use/media b/etc/portage/package.use/media
@@ -8,7 +8,7 @@ media-libs/libbluray aacs
media-libs/libjpeg-turbo static-libs
media-libs/libpng apng
media-libs/libvpx postproc
-media-libs/mesa -llvm osmesa gles1 gles2 -vaapi
+media-libs/mesa -llvm libglvnd gles1 gles2 osmesa -vaapi
media-libs/tiff -jpeg
media-sound/alsa-utils ncurses
media-sound/lame -frontend
diff --git a/etc/portage/package.use/sys b/etc/portage/package.use/sys
@@ -16,7 +16,6 @@ sys-fs/lvm2 device-mapper-only -thin
sys-kernel/gentoo-sources symlink experimental
sys-libs/binutils-libs static-libs
sys-libs/compiler-rt-sanitizers -libfuzzer -sanitize -xray
-sys-libs/tdb python
-sys-libs/tevent python
+sys-libs/ldb -python
sys-libs/zlib minizip static-libs
sys-process/procps ncurses
diff --git a/etc/portage/patches/media-sound/ncmpcpp/useremoveFields.patch b/etc/portage/patches/media-sound/ncmpcpp/useremoveFields.patch
@@ -0,0 +1,55 @@
+From 5e54cf2ca3e18de05df82bb0cd00292e8924ce24 Mon Sep 17 00:00:00 2001
+From: Wynn Wolf Arbor <wolf@oriole.systems>
+Date: Sat, 11 Jan 2020 15:30:08 +0100
+Subject: [PATCH] Stop using deprecated removeField method
+
+taglib deprecated removeField internally in [1], but did not add the
+deprecation warning until about four years later. The original bug
+report [2] and pull request commit both mention not wanting to change
+the original method's behaviour, but this was done anyway (perhaps by
+mistake) in [3].
+
+With that change, removeField(type) will not remove all tags of the
+given type anymore, as the default for value has changed from
+String::null to String().
+
+This commit replaces explicit calls to removeField(type) with
+removeFields(type), which has the correct behaviour. In writeXiph,
+removeField is removed entirely, as addField(key, value) will replace
+the tag by default.
+
+[1] https://github.com/taglib/taglib/pull/681
+[2] https://github.com/taglib/taglib/issues/651
+[3] https://github.com/taglib/taglib/commit/c05fa78406fd8ce7382a11c1f63a17c4bfbe83fa
+---
+ src/tags.cpp | 11 +++++------
+ 1 file changed, 5 insertions(+), 6 deletions(-)
+
+diff --git a/src/tags.cpp b/src/tags.cpp
+index 1c771cba..d8823a55 100644
+--- a/src/tags.cpp
++++ b/src/tags.cpp
+@@ -173,18 +173,17 @@ void writeID3v2Tags(const MPD::MutableSong &s, TagLib::ID3v2::Tag *tag)
+ void writeXiphComments(const MPD::MutableSong &s, TagLib::Ogg::XiphComment *tag)
+ {
+ auto writeXiph = [&](const TagLib::String &type, const TagLib::StringList &list) {
+- tag->removeField(type);
+ for (auto it = list.begin(); it != list.end(); ++it)
+- tag->addField(type, *it, false);
++ tag->addField(type, *it);
+ };
+ // remove field previously used as album artist
+- tag->removeField("ALBUM ARTIST");
++ tag->removeFields("ALBUM ARTIST");
+ // remove field TRACK, some taggers use it as TRACKNUMBER
+- tag->removeField("TRACK");
++ tag->removeFields("TRACK");
+ // remove field DISC, some taggers use it as DISCNUMBER
+- tag->removeField("DISC");
++ tag->removeFields("DISC");
+ // remove field DESCRIPTION, it's displayed as COMMENT
+- tag->removeField("DESCRIPTION");
++ tag->removeFields("DESCRIPTION");
+ writeXiph("TITLE", tagList(s, &MPD::Song::getTitle));
+ writeXiph("ARTIST", tagList(s, &MPD::Song::getArtist));
+ writeXiph("ALBUMARTIST", tagList(s, &MPD::Song::getAlbumArtist));