pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/librecad Update to LibreCAD 2.1.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/0bd146d777a6
branches: trunk
changeset: 352065:0bd146d777a6
user: plunky <plunky%pkgsrc.org@localhost>
date: Mon Sep 05 21:13:21 2016 +0000
description:
Update to LibreCAD 2.1.1
There has been a lot of development since the previous version in
pkgsrc. DWG read/write support and SVG export are major features,
along with moving to Qt4 and onwards. The QCAD toolbar is no longer
supported, and the program is faster in operation than the previous
pkgsrc version.
Apart from the github commit log which is overly detailed, the
previous release information with some change logs is at
https://github.com/LibreCAD/LibreCAD/releases
diffstat:
cad/librecad/Makefile | 53 +-
cad/librecad/PLIST | 1446 +++++++++-
cad/librecad/distinfo | 16 +-
cad/librecad/patches/patch-librecad_src_lib_engine_rs__color.h | 14 +
cad/librecad/patches/patch-librecad_src_lib_engine_rs__system.cpp | 20 +
cad/librecad/patches/patch-librecad_src_main_qc__applicationwindow.cpp | 17 +
cad/librecad/patches/patch-scripts_postprocess-unix.sh | 31 +-
cad/librecad/patches/patch-src_lib_engine_rs__color.h | 12 -
8 files changed, 1516 insertions(+), 93 deletions(-)
diffs (truncated from 1718 to 300 lines):
diff -r e2f010eb5e5c -r 0bd146d777a6 cad/librecad/Makefile
--- a/cad/librecad/Makefile Mon Sep 05 20:34:36 2016 +0000
+++ b/cad/librecad/Makefile Mon Sep 05 21:13:21 2016 +0000
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.29 2016/03/05 11:28:06 jperkin Exp $
+# $NetBSD: Makefile,v 1.30 2016/09/05 21:13:21 plunky Exp $
#
-DISTNAME= librecad-1.0.2
-PKGREVISION= 20
+DISTNAME= LibreCAD-2.1.1
+PKGNAME= ${DISTNAME:tl}
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GITHUB:=LibreCAD/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= ryoon%NetBSD.org@localhost
HOMEPAGE= http://librecad.org/
COMMENT= Free Open Source personal CAD application
LICENSE= gnu-gpl-v2
-WRKSRC= ${WRKDIR}/LibreCAD-${PKGVERSION_NOREV}
+EXTRACT_USING= bsdtar
+
USE_LANGUAGES= c c++
-USE_TOOLS+= bash pax
-
-REPLACE_BASH= scripts/postprocess-unix.sh
+USE_TOOLS+= pax
+USE_LIBTOOL= yes
SUBST_CLASSES+= qtdir
SUBST_STAGE.qtdir= pre-configure
@@ -27,23 +26,41 @@
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Fix hardcoded path
-SUBST_FILES.prefix+= src/lib/engine/rs_system.cpp
-SUBST_SED.prefix+= -e 's,/usr/share/,${PREFIX}/share/,g'
+SUBST_FILES.prefix+= librecad/src/lib/engine/rs_system.cpp
+SUBST_VARS.prefix+= PREFIX
-LIBRECADDIR= share/librecad
+AUTO_MKDIRS= yes
-INSTALLATION_DIRS+= bin ${LIBRECADDIR}
-
+#
+# We configure the plugins directory separately so that we can use
+# make install below, which handles the libtooling of the shared
+# plugins automatically
+#
do-configure:
- cd ${WRKSRC} && QTDIR=${QTDIR} ${QTDIR}/bin/qmake librecad.pro
+ cd ${WRKSRC} && ${QTDIR}/bin/qmake \
+ QMAKE_CXXFLAGS=-DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+ cd ${WRKSRC}/plugins && ${QTDIR}/bin/qmake \
+ INSTALLS+=target target.path=${PREFIX}/lib/librecad/plugins
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unix/librecad \
- ${DESTDIR}${PREFIX}/bin
- cd ${WRKSRC}/unix/resources && \
- pax -rw -pmp fonts library patterns qm \
- ${DESTDIR}${PREFIX}/${LIBRECADDIR}
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/unix/ttf2lff \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/desktop/librecad.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_MAN} ${WRKSRC}/desktop/librecad.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/tools/ttf2lff/ttf2lff.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ cd ${WRKSRC}/plugins && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} INSTALL_ROOT=${DESTDIR} install
+ cd ${WRKSRC}/unix/resources && ${PAX} -rwpm fonts \
+ ${DESTDIR}${PREFIX}/lib/librecad
+ cd ${WRKSRC}/unix/resources && ${PAX} -rwpm library patterns qm \
+ ${DESTDIR}${PREFIX}/share/librecad
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../math/muparser/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
diff -r e2f010eb5e5c -r 0bd146d777a6 cad/librecad/PLIST
--- a/cad/librecad/PLIST Mon Sep 05 20:34:36 2016 +0000
+++ b/cad/librecad/PLIST Mon Sep 05 21:13:21 2016 +0000
@@ -1,42 +1,1335 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/26 21:43:23 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/09/05 21:13:21 plunky Exp $
bin/librecad
-share/librecad/fonts/cursive.lff
-share/librecad/fonts/cyrillic_ii.lff
-share/librecad/fonts/gothgbt.lff
-share/librecad/fonts/gothgrt.lff
-share/librecad/fonts/gothitt.lff
-share/librecad/fonts/greek_ol.lff
-share/librecad/fonts/greekc.lff
-share/librecad/fonts/greekcs.lff
-share/librecad/fonts/greekp.lff
-share/librecad/fonts/greeks.lff
-share/librecad/fonts/iso.lff
-share/librecad/fonts/iso8859-11.lff
-share/librecad/fonts/italicc.lff
-share/librecad/fonts/italiccs.lff
-share/librecad/fonts/italict.lff
-share/librecad/fonts/kochigothic.lff
-share/librecad/fonts/kochimincho.lff
-share/librecad/fonts/romanc.lff
-share/librecad/fonts/romancs.lff
-share/librecad/fonts/romand.lff
-share/librecad/fonts/romanp.lff
-share/librecad/fonts/romans.lff
-share/librecad/fonts/romansi.lff
-share/librecad/fonts/romant.lff
-share/librecad/fonts/scriptc.lff
-share/librecad/fonts/scripts.lff
-share/librecad/fonts/simplex.lff
-share/librecad/fonts/standard.lff
-share/librecad/fonts/symbol.lff
-share/librecad/fonts/symbol_astro.lff
-share/librecad/fonts/symbol_misc1.lff
-share/librecad/fonts/symbol_misc2.lff
-share/librecad/fonts/unicode.lff
+bin/ttf2lff
+lib/librecad/fonts/OpenGostTypeA-Regular.lff
+lib/librecad/fonts/OpenGostTypeB-Regular.lff
+lib/librecad/fonts/amiri-regular.lff
+lib/librecad/fonts/azomix.lff
+lib/librecad/fonts/azomix_i.lff
+lib/librecad/fonts/cursive.lff
+lib/librecad/fonts/cyrillic_ii.lff
+lib/librecad/fonts/gothgbt.lff
+lib/librecad/fonts/gothgrt.lff
+lib/librecad/fonts/gothitt.lff
+lib/librecad/fonts/greek_ol.lff
+lib/librecad/fonts/greekc.lff
+lib/librecad/fonts/greekcs.lff
+lib/librecad/fonts/greekp.lff
+lib/librecad/fonts/greeks.lff
+lib/librecad/fonts/iso.lff
+lib/librecad/fonts/iso3098.lff
+lib/librecad/fonts/iso3098_i.lff
+lib/librecad/fonts/italicc.lff
+lib/librecad/fonts/italiccs.lff
+lib/librecad/fonts/italict.lff
+lib/librecad/fonts/kochigothic.lff
+lib/librecad/fonts/kochimincho.lff
+lib/librecad/fonts/kst32b.lff
+lib/librecad/fonts/lc_opengost-ar.lff
+lib/librecad/fonts/lc_opengost-br.lff
+lib/librecad/fonts/romanc.lff
+lib/librecad/fonts/romancs.lff
+lib/librecad/fonts/romand.lff
+lib/librecad/fonts/romanp.lff
+lib/librecad/fonts/romans.lff
+lib/librecad/fonts/romansi.lff
+lib/librecad/fonts/romant.lff
+lib/librecad/fonts/scriptc.lff
+lib/librecad/fonts/scripts.lff
+lib/librecad/fonts/simplex.lff
+lib/librecad/fonts/standard.lff
+lib/librecad/fonts/syastro.lff
+lib/librecad/fonts/symap.lff
+lib/librecad/fonts/symath.lff
+lib/librecad/fonts/symbol.lff
+lib/librecad/fonts/symbol_misc1.lff
+lib/librecad/fonts/symbol_misc2.lff
+lib/librecad/fonts/symeteo.lff
+lib/librecad/fonts/symusic.lff
+lib/librecad/fonts/unicode.lff
+lib/librecad/fonts/wqy-unicode.lff
+lib/librecad/plugins/libalign.la
+lib/librecad/plugins/libasciifile.la
+lib/librecad/plugins/libimportshp.la
+lib/librecad/plugins/liblist.la
+lib/librecad/plugins/libpicfile.la
+lib/librecad/plugins/libplotequation.la
+lib/librecad/plugins/libsameprop.la
+lib/librecad/plugins/libsample.la
+man/man1/librecad.1
+man/man1/ttf2lff.1
+share/applications/librecad.desktop
+share/librecad/library/algoritm/alg1.dxf
+share/librecad/library/algoritm/alg10.dxf
+share/librecad/library/algoritm/alg11.dxf
+share/librecad/library/algoritm/alg12.dxf
+share/librecad/library/algoritm/alg13.dxf
+share/librecad/library/algoritm/alg14.dxf
+share/librecad/library/algoritm/alg15.dxf
+share/librecad/library/algoritm/alg16.dxf
+share/librecad/library/algoritm/alg17.dxf
+share/librecad/library/algoritm/alg18.dxf
+share/librecad/library/algoritm/alg19.dxf
+share/librecad/library/algoritm/alg2.dxf
+share/librecad/library/algoritm/alg20.dxf
+share/librecad/library/algoritm/alg21.dxf
+share/librecad/library/algoritm/alg22.dxf
+share/librecad/library/algoritm/alg23.dxf
+share/librecad/library/algoritm/alg24.dxf
+share/librecad/library/algoritm/alg25.dxf
+share/librecad/library/algoritm/alg26.dxf
+share/librecad/library/algoritm/alg27.dxf
+share/librecad/library/algoritm/alg28.dxf
+share/librecad/library/algoritm/alg29.dxf
+share/librecad/library/algoritm/alg3.dxf
+share/librecad/library/algoritm/alg30.dxf
+share/librecad/library/algoritm/alg31.dxf
+share/librecad/library/algoritm/alg32.dxf
+share/librecad/library/algoritm/alg33.dxf
+share/librecad/library/algoritm/alg34.dxf
+share/librecad/library/algoritm/alg35.dxf
+share/librecad/library/algoritm/alg4.dxf
+share/librecad/library/algoritm/alg5.dxf
+share/librecad/library/algoritm/alg6.dxf
+share/librecad/library/algoritm/alg7.dxf
+share/librecad/library/algoritm/alg8.dxf
+share/librecad/library/algoritm/alg9.dxf
+share/librecad/library/block/blk1.dxf
+share/librecad/library/block/block10.dxf
+share/librecad/library/block/block11.dxf
+share/librecad/library/block/block12.dxf
+share/librecad/library/block/block13.dxf
+share/librecad/library/block/block14.dxf
+share/librecad/library/block/block15.dxf
+share/librecad/library/block/block16.dxf
+share/librecad/library/block/block17.dxf
+share/librecad/library/block/block18.dxf
+share/librecad/library/block/block19.dxf
+share/librecad/library/block/block2.dxf
+share/librecad/library/block/block20.dxf
+share/librecad/library/block/block21.dxf
+share/librecad/library/block/block22.dxf
+share/librecad/library/block/block23.dxf
+share/librecad/library/block/block24.dxf
+share/librecad/library/block/block25.dxf
+share/librecad/library/block/block26.dxf
+share/librecad/library/block/block27.dxf
+share/librecad/library/block/block28.dxf
+share/librecad/library/block/block3.dxf
+share/librecad/library/block/block4.dxf
+share/librecad/library/block/block5.dxf
+share/librecad/library/block/block6.dxf
+share/librecad/library/block/block7.dxf
+share/librecad/library/block/block8.dxf
+share/librecad/library/block/block9.dxf
+share/librecad/library/elektro/antenna-iso/Aerial-dipole.dxf
+share/librecad/library/elektro/antenna-iso/Aerial-loop.dxf
+share/librecad/library/elektro/antenna-iso/Aerial.dxf
+share/librecad/library/elektro/antenna/ant1.dxf
+share/librecad/library/elektro/antenna/ant10.dxf
+share/librecad/library/elektro/antenna/ant11.dxf
+share/librecad/library/elektro/antenna/ant12.dxf
+share/librecad/library/elektro/antenna/ant13.dxf
+share/librecad/library/elektro/antenna/ant14.dxf
+share/librecad/library/elektro/antenna/ant15.dxf
+share/librecad/library/elektro/antenna/ant16.dxf
+share/librecad/library/elektro/antenna/ant17.dxf
+share/librecad/library/elektro/antenna/ant18.dxf
+share/librecad/library/elektro/antenna/ant19.dxf
+share/librecad/library/elektro/antenna/ant2.dxf
+share/librecad/library/elektro/antenna/ant3.dxf
+share/librecad/library/elektro/antenna/ant4.dxf
+share/librecad/library/elektro/antenna/ant5.dxf
+share/librecad/library/elektro/antenna/ant6.dxf
+share/librecad/library/elektro/antenna/ant7.dxf
+share/librecad/library/elektro/antenna/ant8.dxf
+share/librecad/library/elektro/antenna/ant9.dxf
+share/librecad/library/elektro/audio-iso/Bell.dxf
+share/librecad/library/elektro/audio-iso/Buzzer.dxf
+share/librecad/library/elektro/audio-iso/Earphone.dxf
+share/librecad/library/elektro/audio-iso/Headphone.dxf
+share/librecad/library/elektro/audio-iso/Mic-condenser.dxf
+share/librecad/library/elektro/audio-iso/Microphone.dxf
+share/librecad/library/elektro/audio-iso/Record-pickup-coil.dxf
+share/librecad/library/elektro/audio-iso/Record-pickup-crys.dxf
+share/librecad/library/elektro/audio-iso/Signal.dxf
+share/librecad/library/elektro/audio-iso/Speaker.dxf
+share/librecad/library/elektro/audio-iso/Tape-head.dxf
+share/librecad/library/elektro/audio/buzzer.dxf
+share/librecad/library/elektro/audio/mg1.dxf
+share/librecad/library/elektro/audio/mg2.dxf
+share/librecad/library/elektro/audio/mg3.dxf
+share/librecad/library/elektro/audio/mg4.dxf
+share/librecad/library/elektro/audio/mik1.dxf
+share/librecad/library/elektro/audio/mik2.dxf
+share/librecad/library/elektro/audio/s1.dxf
+share/librecad/library/elektro/audio/s2.dxf
+share/librecad/library/elektro/audio/speak1.dxf
+share/librecad/library/elektro/audio/speak2.dxf
+share/librecad/library/elektro/audio/speak_phone.dxf
+share/librecad/library/elektro/battery/gb1.dxf
+share/librecad/library/elektro/battery/gb2.dxf
+share/librecad/library/elektro/battery/sb1.dxf
+share/librecad/library/elektro/battery/sb2.dxf
+share/librecad/library/elektro/battery/tp1.dxf
+share/librecad/library/elektro/battery/tp2.dxf
+share/librecad/library/elektro/battery/tp3.dxf
+share/librecad/library/elektro/capacitor-iso/Cap-FeedThro.dxf
Home |
Main Index |
Thread Index |
Old Index