# HG changeset patch # User Luis Saavedra # Date 1337287466 14400 # Node ID d4fbd818a24855c77cdef51e71e5f0b77c57b80f # Parent 5879c1871a03896d1f2b0a198881f9a0e8ddf1a2 new package: qwt this package was stolen from muellni fork... diff -r 5879c1871a03 -r d4fbd818a248 index.html --- a/index.html Thu May 17 22:20:25 2012 +0200 +++ b/index.html Thu May 17 16:44:26 2012 -0400 @@ -1764,6 +1764,11 @@ Qt + qwt + 6.0.1 + Qwt + + qwtplot3d 0.2.7 QwtPlot3D diff -r 5879c1871a03 -r d4fbd818a248 src/qwt-1-fixes.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/qwt-1-fixes.patch Thu May 17 16:44:26 2012 -0400 @@ -0,0 +1,20 @@ +--- qwt-6.0.1/qwtconfig.pri 2011-08-01 16:34:05.000000000 +0200 ++++ qwt-6.0.1/qwtconfig.pri 2011-12-03 10:14:53.371757822 +0100 +@@ -23,7 +23,7 @@ + } + + win32 { +- QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION ++# QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION + } + + QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc +@@ -58,7 +58,7 @@ + # it will be a static library. + ###################################################################### + +-QWT_CONFIG += QwtDll ++#QWT_CONFIG += QwtDll + + ###################################################################### + # QwtPlot enables all classes, that are needed to use the QwtPlot diff -r 5879c1871a03 -r d4fbd818a248 src/qwt.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/qwt.mk Thu May 17 16:44:26 2012 -0400 @@ -0,0 +1,30 @@ +# This file is part of MXE. +# See index.html for further information. + +# Qwt - Qt widgets for technical applications +PKG := qwt +$(PKG)_CHECKSUM := 7ea84ee47339809c671a456b5363d941c45aea92 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).zip +$(PKG)_WEBSITE := http://qwt.sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc qt + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://sourceforge.net/projects/qwt/files/qwt/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + # build + cd '$(1)/src' && $(PREFIX)/bin/$(TARGET)-qmake + $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install + + #build sinusplot example to test linkage + cd '$(1)/examples/sinusplot' && $(PREFIX)/bin/$(TARGET)-qmake + $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)' + + # install + $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(PREFIX)/$(TARGET)/bin/test-qwt.exe' +endef