1. Dúvida como instalar o VLC no Funtoo? [RESOLVIDO]
visterineusa Linux Mint
Post recolhido
Enviado em 06/02/2016 - 11:59h
Já tentei de quase tudo. Meu /etc/portage/make.conf:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j3"
VIDEO_CARDS="intel i965"
LINGUAS="pt_BR"
USE="-gnome -kde -minimal -qt4 dbus jpeg lock session startup-notification thunar udev X"
/etc/portage/package.use
media-video/ffmpeg vaapi opus samba sdl -ieee1394
x11-libs/wxGTK unicode X
media-video/vlc X a52 alsa dts dvd ffmpeg mp3 mpeg win32codecs ncurses opengl sdl skins truetype wxwindows xv
Saída de erro do VLC:
sudo emerge vlc
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* IMPORTANT: 8 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Calculating dependencies \
!!! Problem resolving dependencies for media-video/vlc
... done!
The following REQUIRED_USE flag constraints are unsatisfied:
skins? ( exactly-one-of ( qt4 qt5 ) )
The above constraints are a subset of the following complete expression:
aalib? ( X ) bidi? ( truetype ) cddb? ( cdda ) dvb? ( dvbpsi ) dxva2? ( avcodec ) ffmpeg? ( avcodec avformat swscale ) fontconfig? ( truetype ) gnutls? ( gcrypt ) httpd? ( lua ) libcaca? ( X ) libtar? ( skins ) libtiger? ( kate ) qt4? ( X !qt5 ) qt5? ( X !qt4 ) sdl? ( X ) skins? ( truetype X xml exactly-one-of ( qt4 qt5 ) ) vaapi? ( avcodec X ) vdpau? ( xcb ) vlm? ( encode ) xv? ( xcb )
Sou usuário do Mint.
Até consegui instalar o Funtoo XFCE. Está rodando de boa.
Mas não consigo instalar nenhum player de vídeo ou música.
Optei pelo VLC por ser mais completo.
Como faço para contornar esses erros ou o VLC está sem suporte por causa das dependências?
2. Re: Dúvida como instalar o VLC no Funtoo? [RESOLVIDO]
lcavalheirousa Slackware
Post recolhido
Enviado em 06/02/2016 - 12:41h
Então... leia a mensagem de erro:
The following REQUIRED_USE flag constraints are unsatisfied:
skins? ( exactly-one-of ( qt4 qt5 ) )
Está faltando uma flag pra compilar o VLC, então você precisa satisfazê-la em algum lugar. A solução é simples: no arquivo /etc/portage/package.keywords coloque a seguinte linha:
media-video/vlc dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvorbis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live qt4
--
Dino® Vi veri universum vivus vici
Public GPG signature: 0x246A590B
Só Slackware é GNU/Linux e Patrick Volkerding é o seu Profeta
3. Re: Dúvida como instalar o VLC no Funtoo? [RESOLVIDO]
madrugadausa Gentoo
Post recolhido
Enviado em 06/02/2016 - 12:50h
Se estiver usando KDE5 ou LXQt:
sudo USE="qt5" emerge vlc
Se estiver usando outro ambiente:
sudo USE="qt4" emerge vlc
4. Re: Dúvida como instalar o VLC no Funtoo?
albfnetousa openSUSE
Post recolhido
Enviado em 06/02/2016 - 12:53h
Amigo, Funtoo parece o gentoo.... os mesmos comandos.
ele vem pelado! limpo!
veja que o Portage "fala" com vc, siga a mensagem dele...:
que ambiente gráfico está usando? XFCE (prevejo pela Flag Thunar)? não prefere um tocador para XFCE, onde só o ambiente gráfico já vai te dar a maior parte das deps?
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.
5. Re: Dúvida como instalar o VLC no Funtoo? [RESOLVIDO]
visterineusa Linux Mint
Post recolhido
Enviado em 06/02/2016 - 14:11h
Primeiro muito obrigado a todos pelas respostas:
lcavalheiro escreveu:
Está faltando uma flag pra compilar o VLC, então você precisa satisfazê-la em algum lugar. A solução é simples: no arquivo /etc/portage/package.keywords coloque a seguinte linha:
media-video/vlc dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvorbis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live qt4
Coloquei a linha e ainda deu erro de dependências.
6. Re: Dúvida como instalar o VLC no Funtoo?
visterineusa Linux Mint
Post recolhido
Enviado em 06/02/2016 - 14:29h
madrugada escreveu:
Se estiver usando outro ambiente:
sudo USE="qt4" emerge vlc
Meu ambiente é XFCE.
Sem sucesso, mesmos erros de dependências.
Thanks.
7. Re: Dúvida como instalar o VLC no Funtoo? [RESOLVIDO]
visterineusa Linux Mint
Post recolhido
Enviado em 06/02/2016 - 14:45h
albfneto escreveu:
que ambiente gráfico está usando? XFCE (prevejo pela Flag Thunar)? não prefere um tocador para XFCE, onde só o ambiente gráfico já vai te dar a maior parte das deps?
!!! existing preserved libs:
>>> package: dev-libs/icu-56.1
* - /usr/lib64/libicudata.so.55
* - /usr/lib64/libicudata.so.55.1
* used by /usr/lib64/libboost_graph.so.1.57.0 (dev-libs/boost-1.57.0)
* used by /usr/lib64/libboost_locale.so.1.57.0 (dev-libs/boost-1.57.0)
* used by /usr/lib64/libboost_log.so.1.57.0 (dev-libs/boost-1.57.0)
* used by 2 other files
* - /usr/lib64/libicui18n.so.55
* - /usr/lib64/libicui18n.so.55.1
* used by /usr/lib64/libboost_graph.so.1.57.0 (dev-libs/boost-1.57.0)
* used by /usr/lib64/libboost_locale.so.1.57.0 (dev-libs/boost-1.57.0)
* used by /usr/lib64/libboost_log.so.1.57.0 (dev-libs/boost-1.57.0)
* used by 2 other files
* - /usr/lib64/libicuuc.so.55
* - /usr/lib64/libicuuc.so.55.1
* used by /usr/lib64/libboost_graph.so.1.57.0 (dev-libs/boost-1.57.0)
* used by /usr/lib64/libboost_locale.so.1.57.0 (dev-libs/boost-1.57.0)
* used by /usr/lib64/libboost_log.so.1.57.0 (dev-libs/boost-1.57.0)
* used by 3 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
* IMPORTANT: 11 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
9. Re: Dúvida como instalar o VLC no Funtoo?
albfnetousa openSUSE
Post recolhido
Enviado em 06/02/2016 - 17:05h
vc atualizou seu funtoo?
por favor, tente estes comandos, alguns simulados e poste a saída deles, um por um
# emerge -pv @preserved-rebuild
# emerge -s vlc ffmpeg qt4 (SE INDICAR VLC, FFMPEG E QT4 INSTALADOS, FAÇA:
# etc-update e escolha a opção -3, automerge all files DEPOIS, SE etc-update rodou, faça:
# env-update
$ source /etc/profile (Este último comando, use usuario comum, não rode como root)
vc instalou o XFCE completo, todos os pacotes? se vc quiser ver os nomes, uma espécie de "Central de Programas" para o Portage se chama Porthole. eu uso às vêzes e o Xerxes Lins, também.
é util para ver as dependencias de cada pacote e se tudo com a string "xfce" está instalado etc...:
:
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
SCM=""
if [ "${PV%9999}" != "${PV}" ] ; then
SCM="git-r3"
if [ "${PV%.9999}" != "${PV}" ] ; then
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
else
EGIT_REPO_URI="git://git.videolan.org/vlc.git"
fi
fi
pkg_setup() {
if [[ "${MERGE_TYPE}" != "binary" && "$(tc-getCC)" == *"gcc"* ]] ; then
if [[ $(gcc-major-version) < 4 || ( $(gcc-major-version) == 4 && $(gcc-minor-version) < 5 ) ]] ; then
die "You need to have at least >=sys-devel/gcc-4.5 to build and/or have a working vlc, see bug #426754."
fi
fi
}
src_unpack() {
if [ "${PV%9999}" != "${PV}" ] ; then
git-r3_src_unpack
else
unpack ${A}
fi
}
src_prepare() {
# Remove unnecessary warnings about unimplemented pragmas on gcc for now.
# Need to recheck this with gcc 4.9 and every subsequent minor bump of gcc.
#
# config.h:792: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
# config.h:793: warning: ignoring #pragma STDC FP_CONTRACT [-Wunknown-pragmas]
#
# https://gcc.gnu.org/c99status.html
if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
fi
# Bootstrap when we are on a git checkout.
if [[ "${PV%9999}" != "${PV}" ]] ; then
./bootstrap
fi
# Make it build with libtool 1.5
rm -f m4/lt* m4/libtool.m4 || die
# We are not in a real git checkout due to the absence of a .git directory.
touch src/revision.txt || die
# PATCHES
# Fix build system mistake.
epatch "${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch
# Patch up incompatibilities and reconfigure autotools.
epatch "${FILESDIR}"/${PN}-9999-libva-1.2.1-compat.patch
# Patch for bug 542414
epatch "${FILESDIR}"/${PN}-2.2.0-rdp-1.2.0.patch
# Patch for bug 541928
epatch "${FILESDIR}"/${PN}-2.2.0-xcb_vdpau.patch
# Fix up broken audio when skipping using a fixed reversed bisected commit.
epatch "${FILESDIR}"/${PN}-2.1.0-TomWij-bisected-PA-broken-underflow.patch
# Don't use --started-from-file when not using dbus.
if ! use dbus ; then
sed -i 's/ --started-from-file//' share/vlc.desktop.in || die
fi
epatch_user
eautoreconf
# Disable automatic running of tests.
find . -name 'Makefile.in' -exec sed -i 's/\(..*\)check-TESTS/\1/' {} \; || die
# If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
# Setting QT_SELECT environment variable will enforce correct binaries.
if use qt4; then
export QT_SELECT=qt4
elif use qt5; then
export QT_SELECT=qt5
fi
}
src_configure() {
# Compatibility fix for Samba 4.
use samba && append-cppflags "-I/usr/include/samba-4.0"
# We need to disable -fstack-check if use >=gcc 4.8.0.
# See bug #499996
use x86 && append-cflags $(test-flags-CC -fno-stack-check)
# Needs libresid-builder from libsidplay:2 which is in another directory...
# FIXME!
append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
if use truetype || use projectm ; then
local dejavu="/usr/share/fonts/dejavu/"
myconf="--with-default-font=${dejavu}/DejaVuSans.ttf \
--with-default-font-family=Sans \
--with-default-monospace-font=${dejavu}/DejaVuSansMono.ttf
--with-default-monospace-font-family=Monospace"
fi
local qt_flag=""
if use qt4 ; then
qt_flag="--enable-qt=4"
elif use qt5 ; then
qt_flag="--enable-qt=5"
else
qt_flag="--disable-qt"
fi
# ^ We don't have these disabled libraries in the Portage tree yet.
# _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
# Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h.
# To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file
sed -i '1i#undef _FORTIFY_SOURCE' "${S}"/config.h || die
}
pkg_postinst() {
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
else
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
ewarn "If you do not do it, vlc will take a long time to load."
fi
a opção --nodeps do emerge faz um pacote X ser instalado sem as dependencias.
As vezes é o suficiente pro pacote funcionar. Não testei em Funtoo, mas eventualmente usei em Gentoo e em Sabayon, quando não achava todas as deps e muitas vezes funcionou.
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.
* IMPORTANT: 8 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
These are the packages that would be merged, in order:
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas: Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva.
12. Re: Dúvida como instalar o VLC no Funtoo?
visterineusa Linux Mint
Post recolhido
Enviado em 06/02/2016 - 17:53h
Calculating dependencies \
!!! Problem resolving dependencies for media-video/vlc
... done!
Usamos cookies essenciais para manter o site funcionando e Google Analytics para métricas de audiência. Cookies de anúncios só serão carregados se você permitir.