From owner-svn-ports-all@freebsd.org Sun Apr 1 19:18:20 2018 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 8D4C4F75D5F; Sun, 1 Apr 2018 19:18:20 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42EE079A55; Sun, 1 Apr 2018 19:18:20 +0000 (UTC) (envelope-from jhale@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 39142300B; Sun, 1 Apr 2018 19:18:20 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w31JIKwf013420; Sun, 1 Apr 2018 19:18:20 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w31JIJnU013417; Sun, 1 Apr 2018 19:18:19 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201804011918.w31JIJnU013417@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Sun, 1 Apr 2018 19:18:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466177 - head/cad/librecad X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: head/cad/librecad X-SVN-Commit-Revision: 466177 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 01 Apr 2018 19:18:20 -0000 Author: jhale Date: Sun Apr 1 19:18:19 2018 New Revision: 466177 URL: https://svnweb.freebsd.org/changeset/ports/466177 Log: - Update to 2.2.0-rc1 [1] - Move USES upward - Remove obsolete hack for gcc - Install AppStream metadata in share/metainfo per https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent PR: 226672 [1] Submitted by: Maciej Pasternacki [1] Modified: head/cad/librecad/Makefile head/cad/librecad/distinfo head/cad/librecad/pkg-plist Modified: head/cad/librecad/Makefile ============================================================================== --- head/cad/librecad/Makefile Sun Apr 1 18:50:52 2018 (r466176) +++ head/cad/librecad/Makefile Sun Apr 1 19:18:19 2018 (r466177) @@ -1,33 +1,29 @@ # $FreeBSD$ PORTNAME= librecad -PORTVERSION= 2.1.3 -PORTREVISION= 7 +DISTVERSION= 2.2.0-rc1 CATEGORIES= cad MAINTAINER= jhale@FreeBSD.org COMMENT= 2D CAD system LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt +LICENSE_FILE= ${WRKSRC}/licenses/gpl-2.0.txt BUILD_DEPENDS= ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs LIB_DEPENDS= libmuparser.so:math/muparser \ libfreetype.so:print/freetype2 +USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake USE_GITHUB= yes GH_ACCOUNT= LibreCAD GH_PROJECT= LibreCAD - -USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake USE_GL= gl -USE_QT5= core gui printsupport sql svg widgets \ +USE_QT5= core gui printsupport svg widgets \ buildtools_build linguisttools_build + QMAKE_ARGS+= BOOST_DIR="${LOCALBASE}" -# Unhide std::to_string() to fix build with GCC (ports/193528) -CFLAGS+= -D_GLIBCXX_USE_C99 - post-patch: @${REINPLACE_CMD} -e 's|QMAKE_CXXFLAGS += -g||' \ ${WRKSRC}/common.pri @@ -45,9 +41,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/unix/librecad ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/unix/ttf2lff ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/unix/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) - @${MKDIR} ${STAGEDIR}${PREFIX}/share/appdata + @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/unix/appdata/librecad.appdata.xml \ - ${STAGEDIR}${PREFIX}/share/appdata + ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/desktop/librecad.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/librecad/res/main/librecad.png \ Modified: head/cad/librecad/distinfo ============================================================================== --- head/cad/librecad/distinfo Sun Apr 1 18:50:52 2018 (r466176) +++ head/cad/librecad/distinfo Sun Apr 1 19:18:19 2018 (r466177) @@ -1,3 +1,3 @@ -TIMESTAMP = 1484384119 -SHA256 (LibreCAD-LibreCAD-2.1.3_GH0.tar.gz) = 74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06 -SIZE (LibreCAD-LibreCAD-2.1.3_GH0.tar.gz) = 22415288 +TIMESTAMP = 1522601471 +SHA256 (LibreCAD-LibreCAD-2.2.0-rc1_GH0.tar.gz) = 2c937a9423ecf501902ef74c722ec413562e47c45125ac87257f02942d0676ea +SIZE (LibreCAD-LibreCAD-2.2.0-rc1_GH0.tar.gz) = 13578543 Modified: head/cad/librecad/pkg-plist ============================================================================== --- head/cad/librecad/pkg-plist Sun Apr 1 18:50:52 2018 (r466176) +++ head/cad/librecad/pkg-plist Sun Apr 1 19:18:19 2018 (r466177) @@ -1,6 +1,5 @@ bin/librecad bin/ttf2lff -share/appdata/librecad.appdata.xml share/applications/librecad.desktop %%DATADIR%%/fonts/OpenGostTypeA-Regular.lff %%DATADIR%%/fonts/OpenGostTypeB-Regular.lff @@ -48,7 +47,6 @@ share/applications/librecad.desktop %%DATADIR%%/fonts/symeteo.lff %%DATADIR%%/fonts/symusic.lff %%DATADIR%%/fonts/unicode.lff -%%DATADIR%%/fonts/wqy-unicode.lff %%DATADIR%%/library/algoritm/alg1.dxf %%DATADIR%%/library/algoritm/alg10.dxf %%DATADIR%%/library/algoritm/alg11.dxf @@ -1385,6 +1383,7 @@ share/applications/librecad.desktop %%DATADIR%%/patterns/triangle_b.dxf %%DATADIR%%/plugins/libalign.so %%DATADIR%%/plugins/libasciifile.so +%%DATADIR%%/plugins/libgear.so %%DATADIR%%/plugins/libimportshp.so %%DATADIR%%/plugins/liblist.so %%DATADIR%%/plugins/libpicfile.so @@ -1431,6 +1430,7 @@ share/applications/librecad.desktop %%DATADIR%%/qm/librecad_ja.qm %%DATADIR%%/qm/librecad_ko.qm %%DATADIR%%/qm/librecad_lv.qm +%%DATADIR%%/qm/librecad_mk.qm %%DATADIR%%/qm/librecad_nl.qm %%DATADIR%%/qm/librecad_no.qm %%DATADIR%%/qm/librecad_pa.qm @@ -1488,6 +1488,7 @@ share/applications/librecad.desktop %%DATADIR%%/qm/plugins_ja.qm %%DATADIR%%/qm/plugins_ko.qm %%DATADIR%%/qm/plugins_lv.qm +%%DATADIR%%/qm/plugins_mk.qm %%DATADIR%%/qm/plugins_nl.qm %%DATADIR%%/qm/plugins_no.qm %%DATADIR%%/qm/plugins_pa.qm @@ -1505,4 +1506,5 @@ share/applications/librecad.desktop %%DATADIR%%/qm/plugins_uk.qm %%DATADIR%%/qm/plugins_zh_cn.qm %%DATADIR%%/qm/plugins_zh_tw.qm +share/metainfo/librecad.appdata.xml share/pixmaps/librecad.png