1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../amanith/amanith-0.3-build.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
19 - Rene Rebe <rene@exactcode.de>
21 --- amanith/plugins/fonts/build.conf
22 +++ amanith/plugins/fonts/build.conf
24 # take into account compilation mode (debug or release)
25 DEFINES -= FT_DEBUG_LEVEL_ERROR FT_DEBUG_LEVEL_TRACE
27 -INCLUDEPATH += $$(AMANITHDIR)/3rdpart/freetype2/include
28 +QMAKE_CXXFLAGS += `pkg-config --cflags freetype2`
30 -unix: LIBS += $$(AMANITHDIR)/lib/libfreetype2.a $$(AMANITHDIR)/lib/libzlib.a
31 +unix: LIBS += `pkg-config --libs freetype2` -lz
34 !contains(DEFINES, WIN32_MINGW) {
35 --- amanith/plugins/jpeg/build.conf
36 +++ amanith/plugins/jpeg/build.conf
41 -unix: LIBS += $$(AMANITHDIR)/lib/libjpeg.a
45 !contains(DEFINES, WIN32_MINGW) {
46 --- amanith/plugins/jpeg/gjpegimpexp.cpp
47 +++ amanith/plugins/jpeg/gjpegimpexp.cpp
52 - #include "../../3rdpart/libjpeg/jpeglib.h"
53 + #include <jpeglib.h>
56 /****************************************************************************
57 --- amanith/plugins/png/build.conf
58 +++ amanith/plugins/png/build.conf
63 -INCLUDEPATH += $$(AMANITHDIR)/3rdpart/zlib
65 -unix: LIBS += $$(AMANITHDIR)/lib/libpng.a $$(AMANITHDIR)/lib/libzlib.a
66 +unix: LIBS += -lpng -lz
69 !contains(DEFINES, WIN32_MINGW) {
70 --- amanith/plugins/png/gpngimpexp.cpp
71 +++ amanith/plugins/png/gpngimpexp.cpp
76 - #include "../../3rdpart/libpng/png.h"
80 /****************************************************************************