rpms/QTeXEngine/F-11 QTeXEngine-path.patch,NONE,1.1

supercyper supercyper at fedoraproject.org
Mon Jan 25 19:06:07 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/QTeXEngine/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17556

Added Files:
	QTeXEngine-path.patch 
Log Message:
Fixes the build and install of QTeXEngine


QTeXEngine-path.patch:
 QTeXEngine.pro |    4 +---
 config.pri     |    2 +-
 src/src.pro    |   18 ++++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)

--- NEW FILE QTeXEngine-path.patch ---
diff -Naur QTeXEngine.old/config.pri QTeXEngine/config.pri
--- QTeXEngine.old/config.pri	2009-08-05 10:27:02.000000000 +0800
+++ QTeXEngine/config.pri	2010-01-25 23:59:37.401090753 +0800
@@ -2,7 +2,7 @@
 CONFIG      += release
 
 # Comment the lines bellow if you want to build QTeXEngine statically
-#CONFIG      += QTeXEngineDll
+CONFIG      += QTeXEngineDll
 
 	    
 	    
diff -Naur QTeXEngine.old/QTeXEngine.pro QTeXEngine/QTeXEngine.pro
--- QTeXEngine.old/QTeXEngine.pro	2009-08-05 10:27:16.000000000 +0800
+++ QTeXEngine/QTeXEngine.pro	2010-01-26 00:11:00.409340153 +0800
@@ -3,6 +3,4 @@
 TEMPLATE = subdirs
 
 SUBDIRS = \
-    src \
-    example \
-    test
\ No newline at end of file
+    src
diff -Naur QTeXEngine.old/src/src.pro QTeXEngine/src/src.pro
--- QTeXEngine.old/src/src.pro	2009-08-05 10:29:40.000000000 +0800
+++ QTeXEngine/src/src.pro	2010-01-26 00:38:51.903338460 +0800
@@ -19,3 +19,21 @@
 HEADERS  = QTeXEngine.h
 SOURCES += QTeXPaintEngine.cpp
 SOURCES += QTeXPaintDevice.cpp
+# Install directives
+INSTALLBASE = /usr
+
+target.path = $$LIBDIR
+headers.path = $$INSTALLBASE/include/QTeXEngine
+documentation.path = $$QTeXDOCDIR
+example.path = $$QTeXDOCDIR
+test.path = $$QTeXDOCDIR
+
+headers.files = $$HEADERS
+documentation.files += ../doc/html  \
+			../COPYING.txt \
+			../README.txt \
+			../CHANGES.txt
+example.files += ../example
+test.files += ../test
+
+INSTALLS = target headers documentation example test




More information about the scm-commits mailing list