summaryrefslogtreecommitdiffstats
path: root/package/upmpdcli
Commit message (Collapse)AuthorAgeFilesLines
* package/upmpdcli: Add patch to fix OPEN_MAX build errorJörg Krause2015-07-191-0/+32
| | | | | | | | | | | | | | | | | | | | | | When building upmpdcli with certain toolchains using the compiler flag -std=c++0x let gcc not define "linux" or "__linux", but "__linux__". Therefore, the Linux-specific code in closefrom.cpp is not used and the build fails. Fixes: http://autobuild.buildroot.net/results/d66/d660a9409552b3e1ad9e3ed716386fd0a67fd8db http://autobuild.buildroot.net/results/f19/f19e843cdcc968a72919ca3792a90dd40552bd59 http://autobuild.buildroot.net/results/a77/a776001dae51c4dae1f25b3a9bf9a9fe2ca69003 http://autobuild.buildroot.net/results/3e7/3e7590566ed3cc7a1dd412fb66b7b987e847aa25 and many more. Pull request is open on github [1]. [1] https://github.com/medoc92/upmpdcli/pull/15 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/upmpdcli: disable for PowerPC CS toolchainsJörg Krause2015-07-181-0/+4
| | | | | | | | | | | | | | | | | Those toolchains use gcc <= 4.5, which is too old as they are missing to construct an empty std::shared_ptr with a nullptr (0) as an argument. This is only introduced with gcc-4.6. Fixes: http://autobuild.buildroot.net/results/faf/faf1b071c0a5bd8395d79abf2e6a32169ad7f136 http://autobuild.buildroot.net/results/247/247b3f1ac3d3a9712e9410eef298fce8d885f92c http://autobuild.buildroot.net/results/de6/de601c4d4dd7922895892d78d3a37902fb98c7be http://autobuild.buildroot.net/results/a4d/a4d7bf9863c134f59d285616b9c1f78201bd1a3e and many more. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use backtick instead of $(shell ...) make functionArnout Vandecappelle2015-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is often difficult to know exactly when make will expand the variable, and usually it can only be expanded after the dependencies have been built (e.g. pkg-config or the .pc file). Using a backtick instead makes it very clear that it will be expanded only while executing the command. This change is useful for two cases: 1. The per-package staging (and host) directory will be created as part of the configure step, so any $(shell ...) variable that is used in the configure step will fail because the directory doesn't exist yet. 2. 'make printvars' evaluates the variables it prints. It will therefore trigger a lot of errors from missing .pc files and others. The backticks, on the other hand, are not expanded, so with this change the output of 'make printvars' becomes clean again. This commit contains only the easy changes: replace $(shell ...) with `...`, and also replace ' with " where needed. Follow-up commits will tackle the more complicated cases that need additional explanation. After this change, the following instances of $(shell ...) will remain: - All assignments that use := - All variables that are used in make conditionals (which don't expand the backticks). - All variables that only refer to system executables and make variables that don't change. - The calls to check-host-* in dependencies.mk, because it is eval'ed. [Original patch by Fabio Porcedda, but extended quite a bit by Arnout.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* upmpdcli: use relative path for systemd service symlinkThomas Petazzoni2015-07-051-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* upmpdcli: systemd supportAlex Suykov2015-07-051-0/+8
| | | | | | | Usable .service file is provided in the package. Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/upmpdcli: bump to version 0.11.0Jörg Krause2015-06-142-3/+3
| | | | | | | | upmpdcli 0.11.0 requires libupnpp 0.11.0 and does not build with the previous version 0.8.6 of libupnpp. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* upmpdcli: fix static linking issuePeter Korsgaard2015-05-311-0/+12
| | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/7ed/7ed85071bc06b4806e90b278a0736ea70c01b456/ Upmpdcli forgets to take the dependencies of libupnpp into consideration, breaking static linking, so help it. Libupnpp unfortunately doesn't provide a .pc file, so manually handle its dependencies here. The build system doesn't expand LIBS from the configure step, so manually pass it to make. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-4/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* upmpdcli: add missing comment dependency propagationThomas Petazzoni2014-12-311-0/+3
| | | | | | | | | | upmpdcli cannot be built with the Blackfin toolchains, but the comment could be shown with such toolchains, which doesn't make sense. This commit properly propagates the toolchain exceptions of the package config symbol to the Config.in comment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libupnp: mark as broken on Nios II, infamous _gp issueThomas Petazzoni2014-12-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/bc3/bc32c15ba569e700e401ddf97faba584fc16c4cc/ The real error is in the config.log: configure:15081: checking for UpnpInit in -lupnp configure:15106: /home/thomas/projets/buildroot/output/host/usr/bin/nios2-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 c onftest.c -lupnp -lpthread -lrt >&5 /home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/nios2-linux-gnu/4.8.3/../../../../nios2-linux-gnu/bin/ld: /home/thomas/projets/buildroot/output/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/crt1.o: undefined reference to symbol '_gp' /home/thomas/projets/buildroot/output/host/usr/nios2-buildroot-linux-gnu/sysroot/usr/lib/libthreadutil.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status configure:15106: $? = 1 [...] configure:15125: error: libupnp not found Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* upmpdcli: use start() / stop() in init script like elsewherePeter Korsgaard2014-12-121-6/+6
| | | | | | | Other init scripts in Buildroot use start()/stop() instead of do_start()/do_stop(), so change it here as well for consistency Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/upmpdcli: bump to version 0.8.6Jörg Krause2014-11-082-3/+3
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/upmpdcli: add hash fileJörg Krause2014-10-301-0/+2
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/upmpdcli: bump to version 0.8.5Jörg Krause2014-10-222-8/+6
| | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/upmpdcli: fix missing dependency of libcurlJörg Krause2014-10-122-1/+2
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/upmpdcli: bump to version 0.8.3Jörg Krause2014-10-122-3/+1
| | | | | | | | | Since version 0.8.2 upmpdcli builds with gcc >= 4.5. This allows compilation with the CodeSourcery toolchain versions 2011.03 and 2010.09 for the PowerPC architecture. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/upmpdcli: bump to version 0.8.2Jörg Krause2014-10-103-200/+1
| | | | | | | Remove of uclibc and musl patches since they are upstream now. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/upmpdcli: Add patch to fix build error with muslJörg Krause2014-10-081-0/+40
| | | | | | | | | | Fix build error with musl: - Instead of using the nonstandard pthread_yield call use the standardized sched_yield. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/upmpdcli: Fix build with uclibc on SH4Jörg Krause2014-10-041-19/+49
| | | | | | | | | | | | | | | Add missing header file <cstdio> to the uclibc patch to fix build with target SH4. Fixes: http://autobuild.buildroot.net/results/e5be8fe46a30f0b417fe5fc19a27c480d885791e/ http://autobuild.buildroot.net/results/a3453afddff4fc03681f7fbdff3ccab9706eb189/ [Thomas: further improve the patch by adding a missing <errno.h> include.] Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/upmpdcli: bump to version 0.8.1Jörg Krause2014-09-282-25/+77
| | | | | | | Version bump to 0.8.1 requires a change of the uclibc patch. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2014-09-011-1/+1
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * upmpdcli: Bump to version 0.8.0Joerg Krause2014-08-171-1/+1
| | | | | | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/upmpdcli: disable for Blackfin GNU ToolchainJörg Krause2014-08-301-0/+3
|/ | | | | | | Those toolchains use gcc <= 4.3, which do not support required C++11 features. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pckage/upmpdcli: disable for powerpc CS toolchainsYann E. MORIN2014-07-191-0/+2
| | | | | | | | | | | | | | Those toolchains use gcc <= 4.5, which is too old as they are missing range-based for-loops, only introduced with gcc-4.6. Fixes: http://autobuild.buildroot.net/results/f00/f00fa9b83718abaffd1f52dcd50e582434b3c5e2/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* upmpdcli: new packageJoerg Krause2014-07-164-0/+163
[Thomas: - add package to package/Config.in - add missing dependencies on thread and largefile, inherited from libupnp. Noticed by Yann E. Morin. - add installation of default configuration file. Noticed by Yann E. Morin. - fix the license, it's not GPLv2, but GPLv2+. - remove the colon in the user description, noticed by Yann E. Morin. - added a patch to fix build with uClibc. - fix the init script installation to use a full path as the target.] Signed-off-by: Joerg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud