packages: lignumCAD/lignumCAD.spec - use system libEMF (TODO: gl2ps and OGLFT)

gotar gotar at pld-linux.org
Tue Feb 22 01:42:02 CET 2011


Author: gotar                        Date: Tue Feb 22 00:42:02 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use system libEMF (TODO: gl2ps and OGLFT)

---- Files affected:
packages/lignumCAD:
   lignumCAD.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/lignumCAD/lignumCAD.spec
diff -u packages/lignumCAD/lignumCAD.spec:1.12 packages/lignumCAD/lignumCAD.spec:1.13
--- packages/lignumCAD/lignumCAD.spec:1.12	Tue Feb 22 00:54:35 2011
+++ packages/lignumCAD/lignumCAD.spec	Tue Feb 22 01:41:57 2011
@@ -24,6 +24,7 @@
 BuildRequires:	OpenCASCADE-devel >= 4
 BuildRequires:	OpenGL-GLU-devel >= 1.3
 BuildRequires:	freetype-devel >= 2.1.3
+BuildRequires:	libEMF-devel
 BuildRequires:	qmake
 BuildRequires:	qt-devel >= 3:3.0.6
 BuildRequires:	sed >= 4.0
@@ -64,13 +65,15 @@
 %patch11 -p1
 %patch12 -p0
 sed -i -e "s|/opt/lignumCAD|%{_datadir}/%{name}|" configuration.h
+sed -i -e 's/\(lib\)*emf.\(h\|cpp\)//g' lignumCAD.pro
+sed -i -e 's/DELETE /LDELETE/' constants.h command.cpp
 
 %build
 export QTDIR=/usr
 qmake lignumCAD.pro \
-	unix:LIBS="-lGL -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKMath -lTKernel -lfontconfig -lTKMesh -lTKBool -lTKBO -lTKPrim" \
+	unix:LIBS="-lGL -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKMath -lTKernel -lfontconfig -lTKMesh -lTKBool -lTKBO -lTKPrim -lEMF" \
 	-after \
-	unix:INCLUDEPATH+=%{_includedir}/{freetype2,X11/Xft,OpenCASCADE} \
+	unix:INCLUDEPATH+=%{_includedir}/{OpenCASCADE,X11/Xft,freetype2,libEMF} \
 	en_documentation.files='' \
 	en_documentation_graphics.files='' \
 	en_so_documentation.files='' \
@@ -118,6 +121,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2011/02/22 00:41:57  gotar
+- use system libEMF (TODO: gl2ps and OGLFT)
+
 Revision 1.12  2011/02/21 23:54:35  gotar
 - patched project for contemporary tools (thanks to Fred R. Beck),
 - Qt3 doesn't expose selected font filename which is required for OGLFT
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lignumCAD/lignumCAD.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list