qtiplot-0.9.8.8-system-gl2ps.patch 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. 3rdparty/qwtplot3d/qwtplot3d.pri | 8 ++++----
  2. 3rdparty/qwtplot3d/qwtplot3d.pro | 3 ---
  3. 3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp | 2 +-
  4. 3rdparty/qwtplot3d/src/qwt3d_label.cpp | 2 +-
  5. 4 files changed, 6 insertions(+), 9 deletions(-)
  6. diff --git a/3rdparty/qwtplot3d/qwtplot3d.pri b/3rdparty/qwtplot3d/qwtplot3d.pri
  7. index 45a0c3e..16bbe53 100755
  8. --- a/3rdparty/qwtplot3d/qwtplot3d.pri
  9. +++ b/3rdparty/qwtplot3d/qwtplot3d.pri
  10. @@ -8,6 +8,8 @@ DEPENDPATH += src \
  11. 3rdparty\gl2ps
  12. INCLUDEPATH += .
  13. +LIBS+=-lgl2ps
  14. +
  15. # Input
  16. HEADERS += include/qwt3d_extglwidget.h \
  17. include/qwt3d_color.h \
  18. @@ -37,8 +39,7 @@ HEADERS += include/qwt3d_extglwidget.h \
  19. include/qwt3d_volumeplot.h \
  20. include/qwt3d_graphplot.h \
  21. include/qwt3d_multiplot.h \
  22. - include/qwt3d_io_gl2ps.h \
  23. - 3rdparty/gl2ps/gl2ps.h
  24. + include/qwt3d_io_gl2ps.h
  25. SOURCES += src/qwt3d_extglwidget.cpp \
  26. src/qwt3d_axis.cpp \
  27. src/qwt3d_color.cpp \
  28. @@ -62,5 +63,4 @@ SOURCES += src/qwt3d_extglwidget.cpp \
  29. src/qwt3d_function.cpp \
  30. src/qwt3d_gridplot.cpp \
  31. src/qwt3d_meshplot.cpp \
  32. - src/qwt3d_io_gl2ps.cpp \
  33. - 3rdparty/gl2ps/gl2ps.c
  34. + src/qwt3d_io_gl2ps.cpp
  35. diff --git a/3rdparty/qwtplot3d/qwtplot3d.pro b/3rdparty/qwtplot3d/qwtplot3d.pro
  36. index 95c8e26..18d03e3 100755
  37. --- a/3rdparty/qwtplot3d/qwtplot3d.pro
  38. +++ b/3rdparty/qwtplot3d/qwtplot3d.pro
  39. @@ -31,9 +31,6 @@ RCC_DIR = $$DESTDIR/tmp
  40. MOC_DIR = $$DESTDIR/tmp
  41. DEFINES += GL2PS_HAVE_LIBPNG
  42. -INCLUDEPATH += ../zlib/
  43. -INCLUDEPATH += ../libpng/
  44. -LIBS += ../libpng/libpng.a
  45. # install
  46. target.path = lib
  47. diff --git a/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp b/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
  48. index bc7a9d8..589cfd2 100755
  49. --- a/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
  50. +++ b/3rdparty/qwtplot3d/src/qwt3d_io_gl2ps.cpp
  51. @@ -6,7 +6,7 @@
  52. #include <locale.h>
  53. #include "qwt3d_openglhelper.h"
  54. -#include "../3rdparty/gl2ps/gl2ps.h"
  55. +#include "gl2ps.h"
  56. #include "qwt3d_io_gl2ps.h"
  57. #include "qwt3d_plot.h"
  58. diff --git a/3rdparty/qwtplot3d/src/qwt3d_label.cpp b/3rdparty/qwtplot3d/src/qwt3d_label.cpp
  59. index 7e54ad9..cc8bd60 100755
  60. --- a/3rdparty/qwtplot3d/src/qwt3d_label.cpp
  61. +++ b/3rdparty/qwtplot3d/src/qwt3d_label.cpp
  62. @@ -1,7 +1,7 @@
  63. #include <qbitmap.h>
  64. #include "qwt3d_label.h"
  65. #include "qwt3d_plot.h"
  66. -#include "../3rdparty/gl2ps/gl2ps.h"
  67. +#include "gl2ps.h"
  68. using namespace Qwt3D;