From owner-svn-ports-all@freebsd.org Thu Jan 17 19:22:00 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9CFA14A377E; Thu, 17 Jan 2019 19:22:00 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD52B77300; Thu, 17 Jan 2019 19:21:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4BE411EB17; Thu, 17 Jan 2019 19:21:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0HJLsv4011704; Thu, 17 Jan 2019 19:21:54 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0HJLr2G011699; Thu, 17 Jan 2019 19:21:53 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201901171921.x0HJLr2G011699@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 17 Jan 2019 19:21:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490591 - in head/x11-fonts/fntsample: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/x11-fonts/fntsample: . files X-SVN-Commit-Revision: 490591 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BD52B77300 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 19:22:01 -0000 Author: sunpoet Date: Thu Jan 17 19:21:53 2019 New Revision: 490591 URL: https://svnweb.freebsd.org/changeset/ports/490591 Log: Update to 5.3 - Update MASTER_SITES - Update WWW Changes: https://github.com/eugmes/fntsample/releases Added: head/x11-fonts/fntsample/files/ head/x11-fonts/fntsample/files/patch-CMakeLists.txt (contents, props changed) head/x11-fonts/fntsample/files/patch-po-CMakeLists.txt (contents, props changed) Modified: head/x11-fonts/fntsample/Makefile head/x11-fonts/fntsample/distinfo head/x11-fonts/fntsample/pkg-descr Modified: head/x11-fonts/fntsample/Makefile ============================================================================== --- head/x11-fonts/fntsample/Makefile Thu Jan 17 19:21:47 2019 (r490590) +++ head/x11-fonts/fntsample/Makefile Thu Jan 17 19:21:53 2019 (r490591) @@ -2,12 +2,12 @@ # $FreeBSD$ PORTNAME= fntsample -PORTVERSION= 4.1 +PORTVERSION= 5.3 +DISTVERSIONPREFIX= release/ CATEGORIES= x11-fonts -MASTER_SITES= SF/fntsample/fntsample/${PORTVERSION} \ - http://unicode.org/Public/6.0.0/ucd/:unidata +MASTER_SITES= https://unicode.org/Public/12.0.0/ucd/:unidata DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - Blocks.txt:unidata + Blocks-12.0.0d1.txt:unidata EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= sunpoet@FreeBSD.org @@ -16,27 +16,24 @@ COMMENT= Show Unicode coverage of a font LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 RUN_DEPENDS= pdfoutline:textproc/pdfoutline -CONFIGURE_ARGS= --with-unicode-blocks=${WRKSRC}/Blocks.txt -GNU_CONFIGURE= yes -USE_GNOME= pango -USE_PERL5= run -USES= gettext gnome iconv perl5 pkgconfig +USES= cmake gettext gnome iconv pkgconfig +USE_GNOME= cairo glib20 pango -PLIST_FILES= bin/${PORTNAME} \ - man/man1/${PORTNAME}.1.gz \ - share/locale/uk/LC_MESSAGES/${PORTNAME}.mo +CMAKE_ARGS= -DUNICODE_BLOCKS=${WRKSRC}/Blocks-12.0.0d1.txt +LDFLAGS+= -L${LOCALBASE}/lib -post-extract: - @${CP} ${DISTDIR}/${DIST_SUBDIR}/Blocks.txt ${WRKSRC}/ +PLIST_FILES= bin/fntsample \ + man/man1/fntsample.1.gz \ + share/locale/uk/LC_MESSAGES/fntsample.mo -post-patch: - @${REINPLACE_CMD} -e '/^bin_SCRIPTS/d' ${WRKSRC}/Makefile.in +GH_ACCOUNT= eugmes +USE_GITHUB= yes -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ - ${INSTALL_DATA} ${WRKSRC}/po/uk.gmo ${STAGEDIR}${PREFIX}/share/locale/uk/LC_MESSAGES/${PORTNAME}.mo +post-extract: + @${CP} ${DISTDIR}/${DIST_SUBDIR}/Blocks-12.0.0d1.txt ${WRKSRC}/ .include Modified: head/x11-fonts/fntsample/distinfo ============================================================================== --- head/x11-fonts/fntsample/distinfo Thu Jan 17 19:21:47 2019 (r490590) +++ head/x11-fonts/fntsample/distinfo Thu Jan 17 19:21:53 2019 (r490591) @@ -1,4 +1,7 @@ -SHA256 (fntsample-4.1.tar.gz) = 1824f7e452b56671cf451819a46af70db549213e5c189e6b3cda273cd05e2411 -SIZE (fntsample-4.1.tar.gz) = 190420 -SHA256 (Blocks.txt) = bddae53925efebe265e170e9dfd34811a584e5f59d2b18e3d9f9c7f5c8eb9c08 -SIZE (Blocks.txt) = 7119 +TIMESTAMP = 1547659022 +SHA256 (eugmes-fntsample-release-5.3_GH0.tar.gz) = e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b +SIZE (eugmes-fntsample-release-5.3_GH0.tar.gz) = 56508 +SHA256 (Blocks-12.0.0d1.txt) = a1a3ca4381eb91f7b65afe7cb7df615cdcf67993fef4b486585f66b349993a10 +SIZE (Blocks-12.0.0d1.txt) = 10086 +SHA256 (eugmes-fntsample-release-5.3_GH0.tar.gz) = e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b +SIZE (eugmes-fntsample-release-5.3_GH0.tar.gz) = 56508 Added: head/x11-fonts/fntsample/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fntsample/files/patch-CMakeLists.txt Thu Jan 17 19:21:53 2019 (r490591) @@ -0,0 +1,23 @@ +--- CMakeLists.txt.orig 2018-12-26 07:13:37 UTC ++++ CMakeLists.txt +@@ -44,8 +44,6 @@ add_compile_options(-Wall -W -Wwrite-str + + configure_file(config.h.in config.h @ONLY) + configure_file(fntsample.1.in fntsample.1 @ONLY) +-configure_file(pdfoutline.1.in pdfoutline.1 @ONLY) +-configure_file(pdfoutline.pl pdfoutline @ONLY) + + include_directories(fntsample + ${CMAKE_CURRENT_BINARY_DIR} +@@ -81,11 +79,7 @@ target_link_libraries(fntsample + + install(TARGETS fntsample DESTINATION ${CMAKE_INSTALL_BINDIR}) + +-install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/pdfoutline" +- DESTINATION ${CMAKE_INSTALL_BINDIR}) +- + install(FILES "${PROJECT_BINARY_DIR}/fntsample.1" +- "${PROJECT_BINARY_DIR}/pdfoutline.1" + DESTINATION "${CMAKE_INSTALL_MANDIR}/man1") + + add_subdirectory(po) Added: head/x11-fonts/fntsample/files/patch-po-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/fntsample/files/patch-po-CMakeLists.txt Thu Jan 17 19:21:53 2019 (r490591) @@ -0,0 +1,11 @@ +--- po/CMakeLists.txt.orig 2018-12-26 07:13:37 UTC ++++ po/CMakeLists.txt +@@ -6,7 +6,7 @@ function(process_po_files _langs) + foreach(_lang ${_langs}) + set(_po_file "${CMAKE_CURRENT_SOURCE_DIR}/${_lang}.po") + set(_gmo_file "${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo") +- set(_gmo_file_tgt "${_lang}.gmo") ++ set(_gmo_file_tgt "${_lang}_gmo") + + add_custom_command(OUTPUT ${_gmo_file} + COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} ${_po_file} -o ${_gmo_file} Modified: head/x11-fonts/fntsample/pkg-descr ============================================================================== --- head/x11-fonts/fntsample/pkg-descr Thu Jan 17 19:21:47 2019 (r490590) +++ head/x11-fonts/fntsample/pkg-descr Thu Jan 17 19:21:53 2019 (r490591) @@ -2,4 +2,4 @@ A program for making font samples that show Unicode co similar in appearance to Unicode charts. Samples can be saved as PDF or PostScript files. -WWW: http://fntsample.sourceforge.net/ +WWW: https://github.com/eugmes/fntsample