svn commit: r417416 - in head/net/libvncserver: . files
Carlos J Puga Medina
cpm at FreeBSD.org
Fri Jun 24 14:11:23 UTC 2016
On Fri, 2016-06-24 at 09:47 +0000, Ben Woods wrote:
> Author: woodsb02
> Date: Fri Jun 24 09:47:29 2016
> New Revision: 417416
> URL: https://svnweb.freebsd.org/changeset/ports/417416
>
> Log:
> net/libvncserver: Update to 0.9.10
> - Change from SF to GITHUB, as old WWW redirects there
> - Add USES=autoreconf pkgconfig as distfile no longer contains
> configure
> - Remove CONFIGURE_ARGS=--without-x as it is ignored (no longer
> supported)
> - Convert OPENSSL and GNUTLS to OPTIONS_SINGLE, as build fails with
> neither
> - Add GNUTLS_IMPLIES=GCRYPT as build fails with GNUTLS but not
> GCRYPT
> - Add LIB_DEPENDS=libgpg-error.so as reported by new stage-qa
> script
> - Tidy up patches for new release, ensure pathfix applies to
> Makefile.am
>
> Reported by: dutchman01 at quicknet.nl
> Reviewed by: adamw (mentor)
> Approved by: mat (mentor)
> Relnotes: https://github.com/LibVNC/libvncserver/releases/ta
> g/LibVNCServer-0.9.10
> Differential Revision: https://reviews.freebsd.org/D6946
>
> Deleted:
> head/net/libvncserver/files/
> Modified:
> head/net/libvncserver/Makefile
> head/net/libvncserver/distinfo
> head/net/libvncserver/pkg-descr
>
> Modified: head/net/libvncserver/Makefile
> =====================================================================
> =========
> --- head/net/libvncserver/Makefile Fri Jun 24 09:05:18 2016
> (r417415)
> +++ head/net/libvncserver/Makefile Fri Jun 24 09:47:29 2016
> (r417416)
> @@ -2,11 +2,9 @@
> # $FreeBSD$
>
> PORTNAME= libvncserver
> -PORTVERSION= 0.9.9
> -PORTREVISION= 12
> +PORTVERSION= 0.9.10
> +DISTVERSIONPREFIX= LibVNCServer-
> CATEGORIES= net devel
> -MASTER_SITES= SF
> -DISTNAME= LibVNCServer-${PORTVERSION}
>
> MAINTAINER= ports at FreeBSD.org
> COMMENT= Provide an easy API to a custom vnc server
> @@ -15,33 +13,36 @@ LICENSE= GPLv2
>
> LIB_DEPENDS= libpng.so:graphics/png
>
> -USES= jpeg libtool pathfix
> +USE_GITHUB= yes
> +GH_ACCOUNT= LibVNC
> +
> +USES= autoreconf jpeg libtool pathfix pkgconfig
> +PATHFIX_MAKEFILEIN= Makefile.am
> USE_LDCONFIG= yes
> GNU_CONFIGURE= yes
> CPPFLAGS+= -I${LOCALBASE}/include
> LDFLAGS+= -L${LOCALBASE}/lib
> -CONFIGURE_ARGS= --without-x
> INSTALL_TARGET= install-strip
>
> -OPTIONS_DEFINE= GNUTLS OPENSSL GCRYPT IPV6
> -OPTIONS_DEFAULT=OPENSSL
> -GCRYPT_DESC= libgcrypt support
> +OPTIONS_DEFINE= GCRYPT IPV6
> +OPTIONS_SINGLE= SSL
> +OPTIONS_SINGLE_SSL= GNUTLS OPENSSL
> +OPTIONS_DEFAULT= OPENSSL
> +GCRYPT_DESC= libgcrypt support
>
> +GNUTLS_IMPLIES= GCRYPT
> GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
> GNUTLS_CONFIGURE_WITH= gnutls
>
> OPENSSL_CONFIGURE_WITH= crypto ssl
> OPENSSL_USE= OPENSSL=yes
>
> -GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
> +GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
> + libgpg-error.so:security/libgpg-error
> GCRYPT_CONFIGURE_WITH= gcrypt
>
> IPV6_CONFIGURE_WITH= ipv6
>
> -post-patch:
> - @${REINPLACE_CMD} -e \
> - '/^SUBDIRS/s|x11vnc||g' ${WRKSRC}/Makefile.in
> -
> post-install:
> ${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h
> ${STAGEDIR}${PREFIX}/include/rfb
>
>
> Modified: head/net/libvncserver/distinfo
> =====================================================================
> =========
> --- head/net/libvncserver/distinfo Fri Jun 24 09:05:18 2016
> (r417415)
> +++ head/net/libvncserver/distinfo Fri Jun 24 09:47:29 2016
> (r417416)
> @@ -1,2 +1,3 @@
> -SHA256 (LibVNCServer-0.9.9.tar.gz) =
> cf060d3525c2fb92be2fa18bbc697fb355592b52484e60745f3bcac5c3f803f9
> -SIZE (LibVNCServer-0.9.9.tar.gz) = 1678609
> +TIMESTAMP = 1466709748
> +SHA256 (LibVNC-libvncserver-LibVNCServer-0.9.10_GH0.tar.gz) =
> ed10819a5bfbf269969f97f075939cc38273cc1b6d28bccfb0999fba489411f7
> +SIZE (LibVNC-libvncserver-LibVNCServer-0.9.10_GH0.tar.gz) = 1415191
>
> Modified: head/net/libvncserver/pkg-descr
> =====================================================================
> =========
> --- head/net/libvncserver/pkg-descr Fri Jun 24 09:05:18 2016
> (r417415)
> +++ head/net/libvncserver/pkg-descr Fri Jun 24 09:47:29 2016
> (r417416)
> @@ -1,4 +1,4 @@
> LibVNCServer is ripped out of Xvnc to provide an easy API to write
> one's own
> vnc server.
>
> -WWW: http://libvncserver.sourceforge.net/
> +WWW: http://libvnc.github.io/
>
It fails to build with libva-1.7.1
Tested on 10.3-RELEASE/amd64
====================================================================
Making all in libvncclient
--- cursor.lo ---
--- listen.lo ---
--- rfbproto.lo ---
--- sockets.lo ---
--- cursor.lo ---
CC cursor.lo
--- listen.lo ---
CC listen.lo
--- rfbproto.lo ---
CC rfbproto.lo
--- sockets.lo ---
CC sockets.lo
--- rfbproto.lo ---
In file included from rfbproto.c:2376:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
--- vncviewer.lo ---
CC vncviewer.lo
--- rfbproto.lo ---
In file included from rfbproto.c:2385:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
In file included from rfbproto.c:2387:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
--- tls_openssl.lo ---
CC tls_openssl.lo
--- rfbproto.lo ---
In file included from rfbproto.c:2396:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
In file included from rfbproto.c:2398:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
In file included from rfbproto.c:2401:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
In file included from rfbproto.c:2404:
./zrle.c:201:38: warning: passing 'char *' to parameter of type
'uint8_t *' (aka 'unsigned char *') converts between pointers to
integer types with different sign [-Wpointer-sign]
int
result=HandleZRLETile(client,buf,remaining,rx+i,ry+j,subWidth,subHeight
);
^~~
./zrle.c:80:11: note: passing argument to parameter 'buffer' here
uint8_t* buffer,size_t buffer_length,
^
In file included from rfbproto.c:2406:
./h264.c:253:108: error: too few arguments to function call, expected
8, have 6
va_status = vaCreateSurfaces(va_dpy, width, height,
VA_RT_FORMAT_YUV420, SURFACE_NUM, &va_surface_id[0]);
~~~~~~~~~~~~~~~~
^
/usr/local/include/va/va.h:945:1: note: 'vaCreateSurfaces' declared
here
VAStatus
^
7 warnings and 1 error generated.
--- tls_openssl.lo ---
tls_openssl.c:379:14: warning: comparison of constant 1024 with
expression of type 'uint8_t' (aka 'unsigned char') is always false [-
Wtautological-constant-out-of-range-compare]
if (count>sizeof(tAuth))
~~~~~^~~~~~~~~~~~~~
1 warning generated.
--- libvncclient.la ---
CCLD libvncclient.la
libtool: error: 'rfbproto.lo' is not a valid libtool object
*** [libvncclient.la] Error code 1
make[4]: stopped in /usr/ports/net/libvncserver/work/libvncserver-
LibVNCServer-0.9.10/libvncclient
1 error
make[4]: stopped in /usr/ports/net/libvncserver/work/libvncserver-
LibVNCServer-0.9.10/libvncclient
*** [all-recursive] Error code 1
make[3]: stopped in /usr/ports/net/libvncserver/work/libvncserver-
LibVNCServer-0.9.10
1 error
make[3]: stopped in /usr/ports/net/libvncserver/work/libvncserver-
LibVNCServer-0.9.10
*** [all] Error code 2
make[2]: stopped in /usr/ports/net/libvncserver/work/libvncserver-
LibVNCServer-0.9.10
1 error
make[2]: stopped in /usr/ports/net/libvncserver/work/libvncserver-
LibVNCServer-0.9.10
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/libvncserver
*** Error code 1
Stop.
make: stopped in /usr/ports/net/libvncserver
====================================================================
I was able to build with libva support disabled.
CONFIGURE_ARGS= --without-libva
Regards,
--
Carlos Jacobo Puga Medina <cpm at FreeBSD.org>
PGP fingerprint = C60E 9497 5302 793B CC2D BB89 A1F3 5D66 E6D0 5453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160624/0acfdb40/attachment.sig>
More information about the svn-ports-all
mailing list