[FreeNX-kNX] FreeNX and Debian
Marcelo Boveto Shima
marceloshima at gmail.com
Fri Dec 21 11:51:47 UTC 2007
On Dec 21, 2007 8:31 AM, Leopold Palomo-Avellaneda <lepalom at wol.es> wrote:
> A Divendres 21 Desembre 2007 01:42, Marcelo Boveto Shima va escriure:
> > This is ok if you want just to execute remote applications. But is not
> ok
> > if you want to execute remote desktop (nxagent).
> > I tried once but nxagent didn't compile with that nxcomp.
>
> Marcelo,
>
> I think that there's some error in some part. The nxcomp package doesn't
> compile in a pbuild environment. I have had to add x11proto-core-dev
> dependency to build it (deleting the nxlibs-dev dependency).
>
> I have not tested your nx11proto-core package. I'm sorry, but I would like
> to
> test your previous work. I don't understand why it can run remore
> applications but not remote desktop and why nxagent didn't compile.
>
In my previous work I just compiled nxcomp with x11proto-core-dev like you
did. And then nxagent didn't compile with the resulting nxcomp.
x11proto-core-dev and nx11proto-core-dev are almost the same. The only
difference is on Xpoll.h.in. Look at the difference:
+/*
+ * Replace the standard Select with a version giving NX a
+ * chance to check its own descriptors. This doesn't cover
+ * the cases where the system is using poll or when system-
+ * specific defines override the Select definition (OS/2).
+ * See XlibInt.c for _XSelect().
+ */
+
+#ifdef NX_TRANS_SOCKET
+
+extern int _XSelect(int maxfds, fd_set *readfds, fd_set *writefds,
+ fd_set *exceptfds, struct timeval *timeout);
+
+#ifndef hpux /* and perhaps old BSD ??? */
+# define Select(n,r,w,e,t)
_XSelect(n,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval*)t)
+#else
+# ifndef _XPG4_EXTENDED /* HPUX 9.x and earlier */
+# define Select(n,r,w,e,t) _XSelect(n,(int*)r,(int*)w,(int*)e,(struct
timeval*)t)
+# else
+# define Select(n,r,w,e,t)
_XSelect(n,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval*)t)
+# endif
+#endif
+
+#else /* #ifdef NX_TRANS_SOCKET */
+
#ifndef hpux /* and perhaps old BSD ??? */
# define Select(n,r,w,e,t)
select(n,(fd_set*)r,(fd_set*)w,(fd_set*)e,(struct timeval*)t)
#else
@@ -130,6 +172,8 @@
# endif
#endif
+#endif /* #ifdef NX_TRANS_SOCKET */
+
I just can tell that this is the magic nomachine did to make nxagent work.
If you take a look at nx-X11 source, you will notice that is xorg 6.9 + some
files called *.NX.original and *.X.original.
Ex: Xpoll.h.in.X.original is the one that came with xorg 6.9. And
Xpoll.h.in.NX.original is the same as Xpoll.h.in.
Every file that nomachine changes they create a .X.original and
.NX.original. Don't know why but there is some magic with the new Xpoll.h.in=).
Xorg 6.9 and Xorg 7.0 are the same. One is modular the other not. So I took
x11-proto-core from Xorg 7.0 and applied the diff from nx-X11 source.
Regards,
Marcelo.
>
> I will inform,
>
> regards,
>
> Leo
>
> > Regards,
> > Marcelo
> >
> > On Dec 20, 2007 8:50 PM, Leopold Palomo Avellaneda <lepalom at wol.es>
> wrote:
> > > A Dijous 20 Desembre 2007, Marcelo Boveto Shima va escriure:
> > > > Hi,
> > > >
> > > > Just uploaded nx11proto-core to ppa. nxcomp now depends on it.
> > > > nxcomp uses 1 file that differs from x11proto-core to build.
> > > > To make it modular I've created this new package.
> > >
> > > Ummm,
> > >
> > > I don't understand it. I have delete the dependency and the package
> have
> > > compiled and created without any problem. Are you sure that this
> package
> > > needs the nxlib-dev (or nx11proto-core) ?
> > >
> > > Regards,
> > >
> > > Leo
> > >
> > > > On Dec 20, 2007 3:41 PM, Leopold Palomo-Avellaneda <lepalom at wol.es>
> > >
> > > wrote:
> > > > > A Dimecres 19 Desembre 2007 22:38, Marcelo Boveto Shima va
> escriure:
> > > > > > In my repos I have nx 3.1 packages.
> > > > > > https://edge.launchpad.net/~marceloshima/+archive<https://edge.launchpad.net/%7Emarceloshima/+archive>
> <https://edge.laun
> > > > > >chpad.net/%7Emarceloshima/+archive>
> > >
> > > <https://edge.launchpa
> > >
> > > > > >d.net/%7Emarceloshima/+archive> It's built for feisty.
> > > > >
> > > > > Ok,
> > > > >
> > > > > Marcelo I'm trying to build your packages (3.1) in a etch
> environment
> > > > > (pbuilder). I have found a circular dependency that I don't
> like/know
> > >
> > > to
> > >
> > > > > to
> > > > > solve.
> > > > >
> > > > > If I try to build nx....dsc that provides nxlibs-dev it needs
> > > > > libxcomp-dev.
> > > > > Ok, but if I want to build libxcomp .... it needs nxlibs-dev ...
> so,
> > > > > I cannot
> > > > > build it.
> > > > >
> > > > > Any idea,
> > > > >
> > > > > regards,
> > > > >
> > > > > Leo
> > > > >
> > > > > > Regards
> > > > > > Marcelo
> > > > > >
> > > > > > On Dec 19, 2007 6:05 PM, Jeremy Wilkins <wjeremy at shaw.ca> wrote:
> > > > > > > I'm up for it Tim, but I need a reliable source who is willing
> to
> > > > >
> > > > > update
> > > > >
> > > > > > > their packages regularly when updates occur.
> > > > > > >
> > > > > > > Tim Freedom wrote:
> > > > > > > > On Sun Dec 16 08:56:33 CET 2007,
> > > > > > > >
> > > > > > > > Jeremy Wilkins (wjeremy at shaw.ca) wrote:
> > > > > > > >> Well, now I have repos for FreeNX 0.7.1 that you can
> download
> > > > > > > >> from:
> > > > > > > >>
> > > > > > > >> deb http://www.datakeylive.com/ubuntu gutsy main
> > > > > > > >> deb-src http://www.datakeylive.com/ubuntu gutsy main
> > > > > > > >>
> > > > > > > >> You can build from source using Debian's or Ubuntu's source
> > > > >
> > > > > building
> > > > >
> > > > > > > >> methods
> > > > > > > >
> > > > > > > > Jeremy, would you entertain a
> > > > > > > >
> > > > > > > > deb http://www.datakeylive.com/debian etch main
> > > > > > > >
> > > > > > > > if debian files were compiled and supplied to ya ? If so
> any
> > > > > > > > takers that are willing to do this and if not then we need
> > >
> > > someone
> > >
> > > > > > > > to step forward to create and house said files within a
> debian
> > >
> > > repo
> > >
> > > > > > > > somewhere...
> > > > > > > >
> > > > > > > > Again the key here is to maintain these repositories and to
> > > > > > > > make
> > > > >
> > > > > sure
> > > > >
> > > > > > > > they're alive and well on each release of the freeNX
> package.
> > > > > > > >
> > > > > > > > Regards.
> > >
> > >
> _________________________________________________________________________
> > >
> > > > > > >___________
> > >
> > > --
> > > --
> > > Linux User 152692
> > > PGP: 0xF944807E
> > > Catalonia
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20071221/4bcc2d79/attachment.html>
More information about the FreeNX-kNX
mailing list