FreeBSD Bugzilla – Attachment 174042 Details for
Bug 212129
[new port] cad/libopencad: Library written in C++11, which provides a way to read/write CAD (DWG/DXF/DXFB) files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
libopencad port
libopencad-0.2.0.shar (text/plain), 3.79 KB, created by
Loïc Bartoletti
on 2016-08-25 05:10:12 UTC
(
hide
)
Description:
libopencad port
Filename:
MIME Type:
Creator:
Loïc Bartoletti
Created:
2016-08-25 05:10:12 UTC
Size:
3.79 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># libopencad ># libopencad/Makefile ># libopencad/distinfo ># libopencad/pkg-descr ># libopencad/files ># libopencad/files/patch-tests_CMakeLists.txt ># libopencad/files/patch-lib_cadheader.h ># libopencad/pkg-plist ># >echo c - libopencad >mkdir -p libopencad > /dev/null 2>&1 >echo x - libopencad/Makefile >sed 's/^X//' >libopencad/Makefile << '9676bf9287115fe5b2f90415f21b97cd' >X# Created by: lbartoletti <lbartoletti@tuxfamily.org> >X# $FreeBSD$ >X >XPORTNAME= libopencad >XDISTVERSION= 0.2.0 >XCATEGORIES= cad graphics geography >X >XMAINTAINER= lbartoletti@tuxfamily.org >XCOMMENT= Library written in C++11, which provides a way to read/write CAD (DWG/DXF/DXFB) files >X >XLICENSE= MIT >X >XUSE_GITHUB= yes >XGH_ACCOUNT= sandyre >X >X >XUSES= cmake >XUSE_LDCONFIG= yes >X >X.include <bsd.port.mk> >9676bf9287115fe5b2f90415f21b97cd >echo x - libopencad/distinfo >sed 's/^X//' >libopencad/distinfo << '36d89127fcaa56a4f8f424c741405dcb' >XTIMESTAMP = 1472070376 >XSHA256 (sandyre-libopencad-0.2.0_GH0.tar.gz) = 181a33fd8bc6046366c9d5d3a22590817d8f4ab7b87efdeac9fecdc34fe94019 >XSIZE (sandyre-libopencad-0.2.0_GH0.tar.gz) = 4245877 >36d89127fcaa56a4f8f424c741405dcb >echo x - libopencad/pkg-descr >sed 's/^X//' >libopencad/pkg-descr << '09ebab6e2d91345155845b3bfe503bf3' >XLibopencad is a library written in C++11, which provides a way to read/write CAD (DWG/DXF/DXFB) >Xfiles. It was designed to have a uniformal API to work with any CAD files. >XIt has a base class - CADFile. >XInheriting this class itâs possible to create a âdriverâ for any CAD format, all you need to do >X- is to overwrite interface functions like âGetGeometry?(index)â, and others. >XNow it has an implementation for DWG2000 (R15), but only for read. >XLibrary comes with âcadinfoâ utility, which prints out everything library can get from file >X- header variables, CAD custom classes, presented layers and geometries with their attributes. >X >XWWW: https://trac.osgeo.org/gdal/wiki/DWG_driver >X >09ebab6e2d91345155845b3bfe503bf3 >echo c - libopencad/files >mkdir -p libopencad/files > /dev/null 2>&1 >echo x - libopencad/files/patch-tests_CMakeLists.txt >sed 's/^X//' >libopencad/files/patch-tests_CMakeLists.txt << '687b7e7a99ebaee71e93854c8885890a' >X--- tests/CMakeLists.txt.orig 2016-08-24 20:30:15 UTC >X+++ tests/CMakeLists.txt >X@@ -43,8 +43,11 @@ if(BUILD_TESTS) >X find_package(Threads) >X set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${CMAKE_THREAD_LIBS_INIT} ${TARGET_LINK}) >X >X+ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") >X find_library(DL_LIB dl) >X set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${DL_LIB}) >X+ endif() >X+ >X find_library(M_LIB m) >X set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${M_LIB}) >X >687b7e7a99ebaee71e93854c8885890a >echo x - libopencad/files/patch-lib_cadheader.h >sed 's/^X//' >libopencad/files/patch-lib_cadheader.h << '50becd9d36c7e01820945242e9653546' >X--- lib/cadheader.h.orig 2016-08-24 20:29:32 UTC >X+++ lib/cadheader.h >X@@ -35,6 +35,7 @@ >X #include <map> >X #include <string> >X #include <vector> >X+#include <ctime> >X >X class OCAD_EXTERN CADHandle final >X { >50becd9d36c7e01820945242e9653546 >echo x - libopencad/pkg-plist >sed 's/^X//' >libopencad/pkg-plist << '7dbb95f6108dcae3dfb471d01b5fa0da' >Xbin/cadinfo >Xinclude/opencad/cadclasses.h >Xinclude/opencad/cadcolors.h >Xinclude/opencad/caddictionary.h >Xinclude/opencad/cadfile.h >Xinclude/opencad/cadfileio.h >Xinclude/opencad/cadgeometry.h >Xinclude/opencad/cadheader.h >Xinclude/opencad/cadlayer.h >Xinclude/opencad/cadobjects.h >Xinclude/opencad/cadtables.h >Xinclude/opencad/opencad.h >Xinclude/opencad/opencad_api.h >Xlib/libopencadstatic.a >7dbb95f6108dcae3dfb471d01b5fa0da >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 212129
:
174042
|
174118
|
175039