* updated korganizer (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / graphic / amanith / amanith-0.3-build.patch
blob1c1c73416b017ba65aeb519aaff11d3392f88bf6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../amanith/amanith-0.3-build.patch
5 # Copyright (C) 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Improted from Gentoo.
19 - Rene Rebe <rene@exactcode.de>
21 --- amanith/plugins/fonts/build.conf
22 +++ amanith/plugins/fonts/build.conf
23 @@ -38,9 +38,9 @@
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
32 win32: {
34 !contains(DEFINES, WIN32_MINGW) {
35 --- amanith/plugins/jpeg/build.conf
36 +++ amanith/plugins/jpeg/build.conf
37 @@ -25,7 +25,7 @@
41 -unix: LIBS += $$(AMANITHDIR)/lib/libjpeg.a
42 +unix: LIBS += -ljpeg
43 win32: {
45 !contains(DEFINES, WIN32_MINGW) {
46 --- amanith/plugins/jpeg/gjpegimpexp.cpp
47 +++ amanith/plugins/jpeg/gjpegimpexp.cpp
48 @@ -36,7 +36,7 @@
49 #include <csetjmp>
51 G_EXTERN_C {
52 - #include "../../3rdpart/libjpeg/jpeglib.h"
53 + #include <jpeglib.h>
56 /****************************************************************************
57 --- amanith/plugins/png/build.conf
58 +++ amanith/plugins/png/build.conf
59 @@ -25,9 +25,8 @@
63 -INCLUDEPATH += $$(AMANITHDIR)/3rdpart/zlib
65 -unix: LIBS += $$(AMANITHDIR)/lib/libpng.a $$(AMANITHDIR)/lib/libzlib.a
66 +unix: LIBS += -lpng -lz
67 win32: {
69 !contains(DEFINES, WIN32_MINGW) {
70 --- amanith/plugins/png/gpngimpexp.cpp
71 +++ amanith/plugins/png/gpngimpexp.cpp
72 @@ -35,7 +35,7 @@
73 //#include <csetjmp>
75 G_EXTERN_C {
76 - #include "../../3rdpart/libpng/png.h"
77 + #include <png.h>
80 /****************************************************************************