Updated for xorg-server-1.17
Search Criteria
Package Details: tigervnc-git r2947.e36f6e0-1
Package Actions
| Package Base: | tigervnc-git |
|---|---|
| Description: | Suite of VNC servers and clients. Based on the VNC 4 branch of TightVNC. |
| Upstream URL: | http://www.tigervnc.org |
| Category: | network |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | Gusar |
| Maintainer: | Gusar |
| Last Packager: | Gusar |
| Votes: | 10 |
| First Submitted: | 2014-07-29 11:43 |
| Last Updated: | 2015-02-27 15:41 |
Dependencies (35)
- fltk
- gnutls
- libgcrypt
- libgl
- libjpeg-turbo
- libxfont
- libxtst
- pam
- perl
- pixman
- xkeyboard-config
- xorg-xauth
- xorg-xkbcomp
- xorg-xsetroot
- bigreqsproto (make)
- cmake (make)
- compositeproto (make)
- damageproto (make)
- dri2proto (make)
- dri3proto (make)
- git (make)
- glproto (make)
- mesa (make)
- nasm (make)
- presentproto (make)
- randrproto (make)
- resourceproto (make)
- scrnsaverproto (make)
- videoproto (make)
- xcmiscproto (make)
- xf86vidmodeproto (make)
- xorg-font-util (make)
- xorg-util-macros (make)
- xtrans (make)
- mesa (optional) – for OpenGL functionality in Xvnc
Required by (0)
Sources
- ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-1.17.1.tar.bz2
- gethomedir.patch
- getmaster.patch
- git+https://github.com/TigerVNC/tigervnc.git
- vncserver.service
- vncviewer.desktop
Latest Comments
Comment by Gusar
Comment by Gusar
Bah, that's what I get for not even compile-testing. The actual error is above what you posted:
vncExtInit.h:62:41: error: unknown type name size_t
void vncServerCutText(const char *text, size_t len);
^
I fixed that, then had a bunch of other errors, fixed that too. No idea if my fixes are correct, but the resulting Xvnc binary does work.
Comment by butler360
Failing to build: "Makefile:904: recipe for target 'Xvnc-xvnc.o' failed"
Comment by Gusar
Thanks for the heads-up. I've uploaded a new patch. Should work in theory (famous last words :) ), but I haven't tested yet. So yell if something, in particular the libvnc.so module, doesn't work.
Comment by ChucklesTheBeard
==> Updated version: tigervnc-git r2897.4e3e79d-1
==> Starting prepare()...
patching file unix/xserver/hw/vnc/Makefile.am
Hunk #2 succeeded at 57 with fuzz 1 (offset 1 line).
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -up tigervnc-1.3.0/unix/xserver/hw/vnc/InputXKB.cc.getmaster tigervnc-1.3.0/unix/xserver/hw/vnc/InputXKB.cc
|--- tigervnc-1.3.0/unix/xserver/hw/vnc/InputXKB.cc.getmaster 2013-07-12 09:30:50.551459439 +0100
|+++ tigervnc-1.3.0/unix/xserver/hw/vnc/InputXKB.cc 2013-07-12 09:38:31.037480528 +0100
--------------------------
Comment by Gusar
Update to build against a fixed Xorg.
Comment by Gusar
Upstream added xorg-server-1.16 support, so 1.16 patches aren't needed anymore.
Comment by milasch
Whenever used with Gnome 3.8 it crashes as soon as clicked on "Activities" menu.
Comment by Gusar
You need to recompile everything from AUR that uses libpng. In this case fltk-snapshot. This isn't related to tigervnc, it's a general thing every time a library bumps it's soname. All packages in the main repositories were updated by the Arch devs, you yourself need to take care of AUR packages.
Comment by seenxu
error in compiling the latest svn (revision 5097)
/usr/bin/ld: warning: libpng15.so.15, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libfltk_images.so, not found (try using -rpath or -rpath-link)
Comment by Gusar
Upstream added png icons into the repository, so no need anymore for imagemagick to create them during compilation.
Comment by seenxu
the extra/librsvg shall be added as dependency, otherwise the compiliation will failed during png conversion.
Comment by rpodgorny
...just to let you know, the ipv6 bug has been solved upstream -> https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3595198&group_id=254363
Comment by rpodgorny
i don't know what the change was but it compiles fine on my x86_64.
anyway, what about ipv6? i remember tigervnc on my gentoo supporting it but all my tries on arch end up with "unable to resolve host by name: Success (0)" :-(
...can anyone with expertise take a look at it, please? thank you.
Comment by Gusar
I added a new configure option that I saw in the Fedora spec file. See if it compiles now.
Anonymous comment
That didn't really help. I'm getting the same error message. Or maybe I'm simply editing PKGBUILD incorrectly. :c
Comment by Gusar
I only did a quick search, but from what I can see, this code has always been there, it's just that it used to be a warning. Now there's this during configure:
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
which turns the warning into an error. Adding -Wno-error=int-to-pointer-cast to CFLAGS could do the trick.
Anonymous comment
Stopped building correctly on x86_64.
http://jolly.eu.tf/temp/tigervnc-svn.log
Anonymous comment
I mostly use vncviewer. Will this work? I don't know what the libvnc.so modules is used for...
Comment by Gusar
Well, I made an update to use xorg-server-1.13, see if it compiles now. Since you're not using [testing] the libvnc.so module will not work for you, but everything else (Xvnc, vncviewer, ...) will work fine. When xorg-server-1.13 moves from [testing] to [extra] the libvnc.so module will work too.
Anonymous comment
No, I am not running [testing]. This is a copy of my /etc/pacman.conf: http://pastebin.com/Az5WuUVZ
Let me know if you need any other info.
Comment by Gusar
I think there's something weird in upstream commit 4995, those "#if XORG < 112" should actually be "#if XORG < 113", and it's this that causes the error. Are you running [testing] by any chance? I plan to update this PKGBUILD for xorg-server-1.13 which is in [testing], and if I'm right about commit 4995, compiling against xorg-server-1.13 will not fail.
Anonymous comment
I am running a fully updated x64 box, and get this error while installing:
make[3]: Entering directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw/vnc'
CXX libvnc_la-xf86vncModule.lo
CXX libvnccommon_la-vncExtInit.lo
vncExtInit.cc: In function 'int ProcVncExtApproveConnect(ClientPtr)':
vncExtInit.cc:1070:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
CXX libvnccommon_la-vncHooks.lo
vncHooks.cc: In function 'Bool vncHooksInit(ScreenPtr, XserverDesktop*)':
vncHooks.cc:309:26: error: invalid conversion from 'Bool (*)(ScreenPtr) {aka int (*)(_Screen*)}' to 'CloseScreenProcPtr {aka int (*)(int, _Screen*)}' [-fpermissive]
vncHooks.cc:319:27: error: invalid conversion from 'void (*)(ScreenPtr, pointer, pointer) {aka void (*)(_Screen*, void*, void*)}' to 'ScreenBlockHandlerProcPtr {aka void (*)(int, void*, void*, void*)}' [-fpermissive]
vncHooks.cc: In function 'Bool vncHooksCloseScreen(ScreenPtr)':
vncHooks.cc:404:41: error: invalid conversion from 'ScreenPtr {aka _Screen*}' to 'int' [-fpermissive]
vncHooks.cc:404:41: error: too few arguments to function
vncHooks.cc: In function 'void vncHooksBlockHandler(ScreenPtr, pointer, pointer)':
vncHooks.cc:589:57: error: invalid conversion from 'ScreenPtr {aka _Screen*}' to 'int' [-fpermissive]
vncHooks.cc:589:57: error: too few arguments to function
vncHooks.cc:594:1: error: invalid conversion from 'void (*)(ScreenPtr, pointer, pointer) {aka void (*)(_Screen*, void*, void*)}' to 'ScreenBlockHandlerProcPtr {aka void (*)(int, void*, void*, void*)}' [-fpermissive]
make[3]: *** [libvnccommon_la-vncHooks.lo] Error 1
make[3]: Leaving directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw/vnc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw/vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pacaurtmp-maxlo/tigervnc-svn/src/tigervnc-build/unix/xserver/hw'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: tigervnc-svn cleaned
Comment by kang
could wait more than 30min for me to reply maybe. disown is fine tho.
Comment by dserban
Disowned.
Comment by Gusar
Ok, I've taken over this too and uploaded a new PKGBUILD. New addition in SVN is encryption support, which brings two new dependencies - pam and gnutls. Also, this one builds against xorg-server-1.9.0, so you'll need to be using [testing] for the libvnc.so module to work.
Comment by adq
new build of this soon; just created a new "tigervnc-stable" package for the stable releases.
Anonymous comment
Someone sent me an email about this package. A person named "Andrew". I replied to your mail on that day, but didn't hear anything from you later. Could you check your mailbox or write your reply here?