Date: Sat, 7 Jan 2023 16:08:04 GMT From: Hiroki Sato <hrs@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 813eb0a4f014 - main - net/tigervnc-server: Use the same default fp for Xvnc as xorg-server Message-ID: <202301071608.307G84cp098343@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by hrs: URL: https://cgit.FreeBSD.org/ports/commit/?id=813eb0a4f014592b5875b4d6fff6877c641f552b commit 813eb0a4f014592b5875b4d6fff6877c641f552b Author: Hiroki Sato <hrs@FreeBSD.org> AuthorDate: 2023-01-07 16:05:50 +0000 Commit: Hiroki Sato <hrs@FreeBSD.org> CommitDate: 2023-01-07 16:07:18 +0000 net/tigervnc-server: Use the same default fp for Xvnc as xorg-server Minor style fixes: - Respect ${_MAKE_JOBS} in the post-build target, and - Remove an extra strip(1) invocation in the post-install target. Approved by: meta (maintainer) Differential Revision: https://reviews.freebsd.org/D37927 --- net/tigervnc-server/Makefile | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/net/tigervnc-server/Makefile b/net/tigervnc-server/Makefile index 28dea70ceaeb..ed43c982d47d 100644 --- a/net/tigervnc-server/Makefile +++ b/net/tigervnc-server/Makefile @@ -1,4 +1,4 @@ -PORTREVISION= 5 +PORTREVISION= 6 PKGNAMESUFFIX= -server COMMENT= TigerVNC Server @@ -23,7 +23,6 @@ USE_GL+= gl USE_XORG+= ice pixman sm x11 xau xdamage xdmcp xext xfixes xfont2 \ xkbfile xorg-macros xorgproto xrandr xrender xtrans xtst -SHEBANG_LANG= bash SHEBANG_FILES= unix/vncserver/vncsession-start.in BINARY_WRAPPERS= gm4 @@ -39,14 +38,13 @@ GNUTLS_LIB_DEPENDS= libtasn1.so:security/libtasn1 \ PAM_CMAKE_BOOL= ENABLE_PAM CONFIGURE_ARGS+= \ - --prefix=${PREFIX} --mandir=${PREFIX}/share/man/ \ + --prefix=${PREFIX} --mandir=${MANPREFIX}/share/man \ --docdir=${PREFIX}/share/doc/${PORTNAME}/ --with-pic --without-dtrace \ --disable-static --disable-dri --disable-unit-tests \ --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-config-dbus --disable-config-hal \ --disable-dri2 --enable-install-libxf86config --enable-glx \ - --with-default-font-path="catalogue:${LOCALBASE}/share/fonts,built-ins" \ --with-xkb-path=${LOCALBASE}/share/X11/xkb \ --with-xkb-bin-directory=${LOCALBASE}/bin \ --with-serverconfig-path=${LOCALBASE}/lib/X11 \ @@ -54,6 +52,18 @@ CONFIGURE_ARGS+= \ --disable-xwayland \ --with-fontrootdir=${LOCALBASE}/share/fonts +FONTPATH_ROOT?= ${LOCALBASE}/share/fonts +FONTPATHD?= ${PREFIX}/etc/X11/fontpath.d +DEFAULT_FONTPATH_LIST= \ + ${FONTPATH_ROOT}/misc/ \ + ${FONTPATH_ROOT}/TTF/ \ + ${FONTPATH_ROOT}/OTF/ \ + ${FONTPATH_ROOT}/Type1/ \ + ${FONTPATH_ROOT}/100dpi/ \ + ${FONTPATH_ROOT}/75dpi/ \ + catalogue:${FONTPATHD} +CONFIGURE_ARGS+= --with-default-font-path="${DEFAULT_FONTPATH_LIST:ts,}" + CFLAGS+= -I${LOCALBASE}/include/libdrm # This is server port, disabling some features @@ -77,12 +87,13 @@ post-configure: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ./configure ${CONFIGURE_ARGS} post-build: - @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} SHELL=${LOCALBASE}/bin/bash + @cd ${WRKSRC}/unix/xserver/ && \ + ${DO_MAKE_BUILD} SHELL=${LOCALBASE}/bin/bash ${ALL_TARGET} post-install: - @cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/Xvnc ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/libvnc.so - @${INSTALL_SCRIPT} ${FILESDIR}/vncserver.ports ${STAGEDIR}${PREFIX}/bin/vncserver + cd ${WRKSRC}/unix/xserver/hw/vnc/ && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install-strip + ${INSTALL_SCRIPT} ${FILESDIR}/vncserver.ports ${STAGEDIR}${PREFIX}/bin/vncserver .include "${.CURDIR}/Makefile.common.mk"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301071608.307G84cp098343>