File librecad-external-dxflib.diff of Package librecad

Description: use debian packaged fparser
Author: Scott Howard <showard@debian.org>
Author: Lisandro Damián Nicanor Pérez Meyer
Last-Update: 2011-08-05


---
 librecad.pro |   18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

Index: LibreCAD-LibreCAD-a5c34b2/librecad.pro
===================================================================
--- LibreCAD-LibreCAD-a5c34b2.orig/librecad.pro
+++ LibreCAD-LibreCAD-a5c34b2/librecad.pro
@@ -69,8 +69,8 @@ win32 {
 
 
 # Additional libraries to load
-# LIBS += \
-# -Ldxflib/lib -ldxf \
+LIBS += \
+ -ldxflib
 # Store intermedia stuff somewhere else
 OBJECTS_DIR = intermediate/obj
 MOC_DIR = intermediate/moc
@@ -84,7 +84,7 @@ RESOURCES += res/extui/extui.qrc
 LIBS += -lmuparser
 
 INCLUDEPATH += \
-    dxflib/src \
+    /usr/include/dxflib \
     src/cmd \
     src/lib/actions \
     src/lib/creation \
@@ -109,16 +109,6 @@ DEPENDPATH = $$INCLUDEPATH
 # ################################################################################
 # Library
 HEADERS = \
-    dxflib/src/dl_attributes.h \
-    dxflib/src/dl_codes.h \
-    dxflib/src/dl_creationadapter.h \
-    dxflib/src/dl_creationinterface.h \
-    dxflib/src/dl_dxf.h \
-    dxflib/src/dl_entities.h \
-    dxflib/src/dl_exception.h \
-    dxflib/src/dl_extrusion.h \
-    dxflib/src/dl_writer.h \
-    dxflib/src/dl_writer_ascii.h \
     src/lib/actions/rs_actioninterface.h \
     src/lib/actions/rs_preview.h \
     src/lib/actions/rs_previewactioninterface.h \
@@ -216,8 +206,6 @@ HEADERS = \
     src/plugins/intern/qc_actiongetent.h
 
 SOURCES = \
-    dxflib/src/dl_dxf.cpp \
-    dxflib/src/dl_writer_ascii.cpp \
     src/lib/actions/rs_actioninterface.cpp \
     src/lib/actions/rs_preview.cpp \
     src/lib/actions/rs_previewactioninterface.cpp \
openSUSE Build Service is sponsored by