Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2018 19:18:19 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466177 - head/cad/librecad
Message-ID:  <201804011918.w31JIJnU013417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <maciej@pasternacki.net> [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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804011918.w31JIJnU013417>