[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#654924: Inclusion of TigerVNC sources



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mike, Ola

Am 08.04.2012 17:06, schrieb Ola Lundqvist:
> Hi Mike
>
>> Mike Gabriel wrote:
>>> Joachim Falk wrote:
>>> Well, you also have disabled vnc.so. If you don't use the current
>>> X11 server of the distribution, then a working vnc.so is not
>>> guaranteed. Well, we also could investigate to build vnc.so and
>>> only vnc.so against the installed xserver-xorg-dev.
>>
>> This is a question I have right from the beginning... Do we really
>> need the xorg-server code in the package??? Can we not build against
>> Xorg's -dev packages in Debian instead? I have been involved in
>> providing packages for NX server where we face a very similar
>> situation. NX server is currently rejected by Debian as it comes
>> with an old and unpatched (no security patches applied that have
>> been applied to Xorg since 6.9) X11 source tree.
> If you can build it against xorg dev package that would be
> very good.
> 
> For vnc4 and tightvnc it is not possible due to various
> reasons, but for tigervnc I do not know.
> 
> For vnc.so I think it should be possible,
It should be possible, but it will require hackery of
tigervnc/unix/xserver/hw/vnc/Makefile.am

> but to build a Xvnc binary I do not know.
nope. That is not possible:

- From xorg-server/configure.ac:
==============================
#
# XSERVER_LIBS is the set of in-tree libraries which all servers
# require.
# XSERVER_SYS_LIBS is the set of out-of-tree libraries which all servers
# require.
#
XSERVER_CFLAGS="${XSERVER_CFLAGS} ${XSERVERCFLAGS_CFLAGS}"
XSERVER_LIBS="$DIX_LIB $MI_LIB $OS_LIB"
XSERVER_SYS_LIBS="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS}"
AC_SUBST([XSERVER_LIBS])
AC_SUBST([XSERVER_SYS_LIBS])

- From tigervnc/unix/xserver/hw/vnc/Makefile.am:
==============================================

bin_PROGRAMS = Xvnc

man1_MANS = Xvnc.man

Xvnc_SOURCES = xvnc.cc \
        $(top_srcdir)/Xi/stubs.c $(top_srcdir)/mi/miinitext.c \
        $(top_srcdir)/fb/fbcmap_mi.c buildtime.c <= USES IN TREE SOURCES

nodist_Xvnc_SOURCES = fbrop.h fb.h pixman.h

Xvnc_CPPFLAGS = $(XVNC_CPPFLAGS) -DTIGERVNC -DNO_MODULE_EXTS \
        -UHAVE_CONFIG_H \
        -DXFree86Server -DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
        -DVENDOR_STRING="\"$(VENDOR_STRING)\"" -I$(TIGERVNC_SRCDIR)/common \
        -I$(top_srcdir)/include ${XSERVERLIBS_CFLAGS} -I$(includedir)

Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(COMMON_LIBS) \
        $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11
        <= USES IN TREE LIBS THAT ARE NOT INSTALLED

Xvnc_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)

So, as we require the Xserver in tree anyway, I did not bother to
build vnc.so against xserver-xorg-dev.

Regards,
Joachim
- -- 
Joachim Falk <Joachim.Falk@gmx.de>

You can always tell a really good idea by the enemies it makes.
  --programmers' axiom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPgcJ3AAoJEIjUIAk+3OYMiVEP/i4cCAHLJdXwtTyf7jT1gg3e
9IOado7j80uelzCS6eE1T9TdvSZzLlSwErJHc3yuQ/+ik5nBxTjtkJoz4601bVPp
Qdt+nDanl5cHBYoCrEObvjjXnNrPqsao3XvCiWrnXCqqu1ZPnvqOICTlcXIQwSLo
w5gMMUD0GLvZ6MNIiNUlZSBeP7arYgSIPx44vMeoKq/5Ulpa9XADsITxL84xPjW+
s5d6/it+f6Sxi5bWFVdUTdW1VTqheC8rUrlkpu6OpP8xmgy+1Bz5h0yizhm7BBh8
YAqmKZm/g+IvWlb40P5YqlTS7qVLcG6PfUYkcKIB+vaDfGNxzBHNRpiDIo8Vg2SI
X/VYUu4Nb7Ow1N5pykhudSuTQ1PlHWXMTaYU0egZQyBT/4JUfM0NNF5dFQKCcAKD
cKIDuch3XXeqmWl/x/dNdrHe/6kE9FCW5CZunHzzFYqLyI76bcRxUNLfc+hz7qRU
IXN3S0VKyjeCtKzNVJntnHBIqiJ7G389EZyqPW06MTAftRwvt37XINmrI74dqWPJ
HSgTfLAwHIFridxX9m6M7HgPGO32CFf4QRA1RkcAbe8qsEyZrJoEHBgbN6ClzhDl
6PrHQiqeMalsQWqP1+OJvXBHeLQDxxLjSj5/rZAU6VWTz9D1JPyx5ABJNf1BwXTv
8HV4qq10jwyDY7NE8yV4
=c1mi
-----END PGP SIGNATURE-----



Reply to: