summaryrefslogtreecommitdiff
path: root/package/qextserialport
AgeCommit message (Collapse)Author
2017-01-09qextserialport: really disable target (and not staging) install for static ↵Peter Korsgaard
builds Commit f09b33a0a (qextserialport: fix static build) adjusted the logic for static builds, but the change contained a typo - It disabled _INSTALL_STAGING for static builds, not _INSTALL_TARGET. The autobuilders didn't detect this as nothing links against qextserialport (so the missing staging install didn't cause issues) and the target install command was only defined for !static. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-04qextserialport: remove redundant patch 0001-guiArnout Vandecappelle
The same thing was done in upstream commit 220d7a2f "QtGui module only needed by Windows", though it was done differently upstream. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-25qextserialport: fix line endings in patch 0002Thomas Petazzoni
Fixes: http://autobuild.buildroot.net/results/074d379e4d491dd454726bed666a7e1028333ef7/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-25qextserialport: tell qmake to generate .pc fileArnout Vandecappelle
Instead of creating our own .pc file with a patch, just tell qmake to do it by adding create_pc to CONFIG. This corrects the .pc file for Qt5. Previously, the include directory was set to /usr/include, while for Qt5 it should be /usr/include/qt5. This hasn't caused any autobuild failures since no other package uses qextserialport. Note, however, that the package is now called Qt5ExtSerialPort in Qt5, while before it was qextserialport like in the Qt4 case. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-25qextserialport: install QExtSerialPort header with qmakeArnout Vandecappelle
Instead of manually copying the QExtSerialPort header introduced in patch 0002, update the patch to include this header in the qmake project file so it gets properly installed. While we're at it, convert to a git-formatted patch. Fixes: http://autobuild.buildroot.net/results/818b564a6e23bcecf4afc7e53811227b08e5f4eb http://autobuild.buildroot.net/results/0b6c2d7c63329f5e790f02ccd29f14a317eadc71 http://autobuild.buildroot.net/results/ac552b63c6fb099a136066cda421f68e639808fa Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-21qextserialport: fix static buildArnout Vandecappelle
By default, qextserialport will attempt to build a shared library. qesp_static has to be set in CONFIG to build static. Note that static+shared is not supported, in that case we just build shared. The install target commands also have to be gated in that case, because the *.so files don't exist. For completeness we both set QEXTSERIALPORT_INSTALL_STAGING to NO and don't define QEXTSERIALPORT_INSTALL_TARGET_CMDS for static builds, although one of them would be sufficient. Fixes: http://autobuild.buildroot.net/results/c9233ad71fd60d0e6a85731a8bd4e598bd84947a Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-21qextserialport: use 'make install' to install to stagingArnout Vandecappelle
qmake hardcodes the path to the sysroot in the install commands, so we can't use it for target. But it's perfectly usable for staging. By using 'make install', we get: - the extserialport.prf file is installed to the mkspecs directory and libqextserialport.prl in staging/usr/lib, so qmake can do its magic and add the necessary compiler options; - it also works for static build, when *.so files don't exist. The QExtSerialPort and qextserialport.pc files are created by Buildroot so they still have to be installed explicitly. Note that upstream installs in the QtExtSerialPort directory, not QExtSerialPort, so we follow that decision. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: also adjust 0003-pkgconfig.patch to fix the header path.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-21qextserialport: remove useless () around configure commandArnout Vandecappelle
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-21qextserialport: define QEXTSERIALPORT_CONFIGURE_CMDS only onceArnout Vandecappelle
Distinguish qt/qt5 by defining QEXTSERIALPORT_QMAKE, like is done e.g. for quazip. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-19package/qextserialport: add hash fileYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-07-27qextserialport: change license fileGustavo Zacarias
It's now LICENSE.md, fixes: http://autobuild.buildroot.net/results/3e0/3e0f954df9196e89043f4aaad154dfdece08480a/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-26qextserialport: Bump version and change siteMaxime Hadjinlian
Google Code is a closing forge, qextserialport has already made the move to Github. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03package/*: rename patches according to the new policyPeter Korsgaard
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-20qextserialport: add license fileRichard Genoud
Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-11-03qextserialport: allow building with Qt5Thomas Petazzoni
qextserialport builds fine with both Qt4 and Qt5, so this commit enables it for Qt5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-07.mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire
The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-31package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-27qextserialport: use TARGET_MAKE_ENV when running make and qmakeThomas De Schampheleire
This patch prepends TARGET_MAKE_ENV to $(MAKE) and $(QT_QMAKE) command lines, to make sure PATH is set correctly, and to line up with the qt5 packages that do this consistently. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-02git packages: use full revision hashThomas De Schampheleire
There is no benefit in using the shortened git revision hash. On the contrary: the shorter the hash, the higher the risk of having collisions with another commit. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-13qextserialport: bump versionSagaert Johan
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-14qextserialport: don't require Qt GUI moduleArnout Vandecappelle
Fixes e.g. http://autobuild.buildroot.net/results/e80ae76fa21f87bef10e08c7452b796dc0986ff2/ Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-09qextserialport : fix download and bump versionSagaert Johan
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-03qextserialport: new packageThomas Petazzoni
[Peter: adjust for BR changes] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>