Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 11:17:32 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        =?ISO-8859-1?Q?Rafa=EBl_Carr=E9?= <funman@videolan.org>
Cc:        Mike Brown <mike@skew.org>, Okalany Daniel <daniel@one2net.co.ug>, Peter Pentchev <roam@ringlet.net>, freebsd-ports@freebsd.org
Subject:   Re: Vlc
Message-ID:  <E48FE37B-C79B-41AB-8062-A90FEFD9B8A8@gmail.com>
In-Reply-To: <72c38b9b0807220846q5a77acbao8c070d8690d51ccc@mail.gmail.com>
References:  <28f643d90807170416i333b12ceqd96845577b27890c@mail.gmail.com> <7d6fde3d0807172327o32f41030ue91b76b634ea531d@mail.gmail.com> <28f643d90807180047n650df861g5b3efe75e58f686d@mail.gmail.com> <7d6fde3d0807180314l4489e21jd7934d022f0c726f@mail.gmail.com> <28f643d90807180346h74aff268o94b52103d55c1e63@mail.gmail.com> <20080718113809.GA1175@straylight.m.ringlet.net> <20080719100140.GA3136@zod> <7d6fde3d0807191247u57c78ck4aac63a81f53ed7b@mail.gmail.com> <28f643d90807220132h1921a9adi7087c55bc1005bac@mail.gmail.com> <7d6fde3d0807220805w486c6028g69a8d417f5aae264@mail.gmail.com> <72c38b9b0807220846q5a77acbao8c070d8690d51ccc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 22, 2008, at 8:46 AM, Rafa=EBl Carr=E9 wrote:

> 2008/7/22 Garrett Cooper <yanefbsd@gmail.com>:
>> On Tue, Jul 22, 2008 at 1:32 AM, Okalany Daniel =20
>> <daniel@one2net.co.ug> wrote:
>>>
>>>
>>> On Sat, Jul 19, 2008 at 10:47 PM, Garrett Cooper =20
>>> <yanefbsd@gmail.com> wrote:
>>>>
>>>> On Sat, Jul 19, 2008 at 3:01 AM, Rafa=EBl Carr=E9 =
<rafael.carre@gmail.com=20
>>>> >
>>>> wrote:
>>>>> If you feel so, you can make all these options conditional on =20
>>>>> WITHOUT_X
>>>>> and send me a patch ;)
>>>>>
>>>>> i.e. for skins2 that would be:
>>>>> .if defined(WITH_SKINS) && !defined(WITHOUT_SKINS) &&
>>>>> !defined(WITHOUT_X)
>
> That is the way to go in my opinion.
>
>>> Thanks alot guys.. The options that worked for me ( to install =20
>>> text only
>>> vlc) are:
>>> ./configure --disable-x11 --disable-xvideo --disable-glx --disable-=20=

>>> sdl
>>> --disable-sd --disable-wxwidgets --disable-skins2 --disable-freetype
>>> --disable-mad --disable-ffmpeg
>
> Do you have libX11 installed anyway on your system ?
>
> It would be clever to build VLC the same way on a system with libX11
> and then verify each .so built, to see if they are not linked with
> libX11.
>
> That is to be sure autodetection will not enable something you don't
> want, i.e. not enabled if libX11 was not detected, but enabled if it
> was detected.
> If this is the case, that would mean more --disable-xx are required.
>
> The debian people verify each plugin (prefix/lib/vlc/**.so) when
> building vlc-nox package.
>
> Extract from debian/rules :
>
>    # Check that we did not install a plugin linked with libX11 in =20
> vlc-nox
> ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
>    BORKED=3Dno; \
>    for file in $$(find debian/vlc-nox/usr/lib/vlc -name '*.so'); do \
>      if ldd $$file | grep -q libX11; then \
>        BORKED=3Dyes; \
>        echo $$file depends on libX11; \
>      fi; \
>    done; \
>    if test "$$BORKED" =3D yes; then exit 1; fi
> endif
>
>> Hi,
>>    I'm contacting you because you are listed as the maintainer on
>> Freshports for the multimedia/vlc port for FreeBSD.
>>    The user cited above, Okalany, was interested in compiling VLC
>> without X11 support to act as a multimedia server, but currently the
>> port doesn't allow for that type of functionality at this time.
>
> Ok
>
>>    However, Okalany was able to get the source to compile without
>> X11 using the above options to configure (don't believe the
>> --disable-mad and --disable-ffmpeg options are required, but you
>> probably know better than us about that :)...), so we were wondering
>> whether or not the port could be modified to add a WITHOUT_X11 knob.
>
> Of course, but I am lazy to do the patch, so you have to do the =20
> work :)
> However I'm glad to help if you have trouble
>
>> Thanks and we hope to hear back from you soon,
>> -Garrett, Okalany, et all


Rafael:

Ah, didn't realize that was you. rofl... As the saying goes, good =20
thing you weren't a snake -- otherwise I'd be dead =3Do....

I'll fix up a patch for you soon.

Okalany:
Do this on a compiled tree please --

sh -c 'for i in `find -type f`; if ldd "$i" | grep -q libX11; then =20
echo "$i depends on libX11.so"; fi; done'

Cheers,
-Garrett=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E48FE37B-C79B-41AB-8062-A90FEFD9B8A8>