aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
...
* | php7: update to 7.1.6Michael Heimpold2017-06-10
| | | | | | | | | | | | | | | | | | Removed patch 1008-fix-musl-sys-headers.patch which was integrated upstream. (Compile tested only so far) Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | lpeg: Fix build with external toolchainsFlorian Fainelli2017-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are not properly passing down TARGET_CFLAGS and TARGET_CPPFLAGS and this can be noticed with external toolchains with the following build error: mipsel-linux-gnu-gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -std=c99 -I../lua/ -fPIC -c -o lpvm.o lpvm.c lpvm.c:10:17: fatal error: lua.h: No such file or directory #include "lua.h" ^ compilation terminated. make[4]: *** [lpvm.o] Error 1 Re-use COPT to pass our TARGET_CFLAGS and TARGET_CPPFLAGS Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* | python-lxml: add initial version (with python3 variant included)Alexandru Ardelean2017-06-05
| | | | | | | | | | | | | | | | This package requires libxml2 & libxslt to be built, has some C code so it's not installable via pip. It needs cross-compilation. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | php7-pecl-http: add a patch to fix a segfault during php startupMichael Heimpold2017-06-04
|/ | | | | | | | | | | The extensions tries to register some string constants after quering version strings from underlaying libcurl. However, depending on libcurl's configuration these strings could also be NULL, which was not handled properly. An upstream pull request for this patch is waiting for review. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* python-six: add host-side buildAlexandru Ardelean2017-05-24
| | | | | | | Needed for Open vSwitch's python libs. And build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3-pip: override Package/python3-pip/install ruleAlexandru Ardelean2017-05-19
| | | | | | | | | | | | | | This is in essence fixes pip3. That means pip3 will ship without Python byte-codes for a while, until I'll find a better way to fix it. I couldn't think of a not-very hack-ish way of doing it. The only draw-back of this, will be that pip3 will run a bit slower ; but that should be ok for a while. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: remove __pycache__ folders pip & setuptoolsAlexandru Ardelean2017-05-19
| | | | | | | | | | | | | python3-pip & python3-setuptools have slightly different installation mechanisms. We need to remove the __pycache__ folders. Seems they're generated. This also reduces the size of the python3-pip & python3-setuptools packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: allow python packages to override Package/<pkg>/install ruleAlexandru Ardelean2017-05-19
| | | | | | | Python packages try to enforce their own. For some cases this may not be desired. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python packages: move all things python under lang/pythonAlexandru Ardelean2017-05-17
| | | | | | | | | | | | I admit this may be be a bit aggressive, but the lang folder is getting cluttered/filled up with Python, PHP, Perl, Ruby, etc. packages. Makes sense to try to group them into per-lang folders. I took the Pythons. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* php7: update to 7.1.5Michael Heimpold2017-05-14
| | | | | | Remove patch 1006-fix-gettext.patch which was integrated upstream. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* lang/perl: Upgraded to Perl 5.24.1Michail Frolov2017-05-10
| | | | Signed-off-by: Michail Frolov <frolovm@pobox.com>
* lua-bencode: download .tar.gz instead of using hgHannu Nyman2017-04-18
| | | | | | | | | | | | Avoid using 'hg' (Mercurial) to download sources. 'hg' is not an official prerequisite and it is not installed in all buildslaves in Openwrt and LEDE buildbots, which leads to frequent build failures. Download the .tar.gz source archive instead. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ optionMichael Heimpold2017-04-18
| | | | | | | | | This fixes a stupid typo from last commit which lead to the following compiler warning: cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix build of php7-mod-intlMichael Heimpold2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following build error (shortened paths for readability): -snip- In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0, from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21: .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:56:16: error: 'UChar' does not name a type u_strlen(const UChar *s); ^ .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:80:19: error: 'char16_t' has not been declared char16_t *dest, int32_t destCapacity, ^ .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:81:25: error: 'char16_t' does not name a type const char16_t *src, int32_t srcLength, ^ In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0, from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21: .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:462:16: error: 'char16_t' does not name a type const char16_t *srcChars) const; ^ [...] -snap- This build error was introduced by update of icu to 59.1. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix php build issues with musl headers (fixes #4263)Philip Prindeville2017-04-17
| | | | | | | | | | | MUSL is complaining about <sys/poll.h> instead of <poll.h>. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> [ Replaced the *-t1lib filtering stuff by simply removing the left-over configure option ] Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: enable filter support by default (fixes #3831)Michael Heimpold2017-04-13
| | | | | | | | | Filter support brings several useful features which many PHP applications rely on. To make it easier for users who don't want to build own packages enable this by default. This slightly increases the binary SAPI packages, but since PHP is a huge monster anyway, I doubt this hurts anybody. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.1.4Michael Heimpold2017-04-13
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix bind_textdomain_codeset detection (refs #4250)Michael Heimpold2017-04-11
| | | | | | | | The gettext extension is only useful when linked against libintl-full package, however, the detection did not work sucessfully. This patch by @Dimazhan fixes this. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* perl-cgi: Update to 4.36Philip Prindeville2017-04-09
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* node: Move NPM into a separated pacakgeYgal Blum2017-04-06
| | | | | | | | | In order to reduce flash requirements and also to disallow running NPM on the target move NPM out of the default NodeJS package. In order to allow adding NPM via opkg install, move it to a separated directory Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
* ruby: change source to .xzLuiz Angelo Daros de Luca2017-03-27
| | | | | | It will save about 2M of download. Thanks @diizzyy. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* php7-pecl-dio: upgrade to 0.1.0Michael Heimpold2017-03-27
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7-pecl-http: remove left-over backup directoryMichael Heimpold2017-03-27
| | | | | | | This directory was added by mistake in one of the last commits to this package, just remove it, it's not needed. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* python3: upgrade to version 3.6.1Alexandru Ardelean2017-03-27
| | | | | | | | | Dropped patch `002-do-not-add-include-dirs-when-cross-compiling.patch` Seems upstream also fixed it (yay). Refreshed patch `011-fix-ncursesw-definition-colisions.patch` Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ruby: bump to 2.4.1Luiz Angelo Daros de Luca2017-03-23
| | | | | | | This releases contains only bug and security fixes, mostly backported from devel branch. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* php7: update to 7.1.3Michael Heimpold2017-03-20
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* python,python3: bump PKG_RELEASEsAlexandru Ardelean2017-03-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: split source packages away from compiled packagesAlexandru Ardelean2017-03-09
| | | | | | Same as for python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: split source packages away from compiled packagesAlexandru Ardelean2017-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Well, they're not yet compiled, but in the next commit they should be. People have been complaining [citation needed] to me via email or via Github that Python's performance is crap because it packages sources directly and they're not compiled. And Python has to compile the sources on each run, and on-the-fly. Allowing compilation caching is also a no-no, because I'll get complaints that the flash storage fills up whenever a Python app runs. So, to give the user a choice, the new de-facto packaging for Python packages will be: * ship compiled + [ preferably ] optimized files * package sources separately The problem is that this doubles the number of packages in LEDE/OpenWrt, but build-times should not suffer a big hit, since the compilation is done once, and the install phase should not be too intensive. Oh, and people don't need ship source packages if they don't want to. To do that, a packager needs to just call `$(eval $(call BuildPackage,python-<package>-src))` The `python-` prefix is important. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: drop remove .pyc & .pyo filesAlexandru Ardelean2017-03-09
| | | | | | We'll control in the install phase what we ship [byte-codes or source files] Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: drop tests from all core packagesAlexandru Ardelean2017-03-09
| | | | | | | Well, this slipped by for some time. This should make the Python core packages even more lighter. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: make sure $(1)/usr/lib path exists for python3-dev packageAlexandru Ardelean2017-03-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: fix python-dev clash with python-baseAlexandru Ardelean2017-03-09
| | | | | | | Both want to install libpython.so. python-dev should install libpython.a Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: move PyPackage install rules in the beggining of the Package ↵Alexandru Ardelean2017-03-09
| | | | | | | | | install rules So that we can process Python sources installed by those rules, if we need to. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: move filespec shell code into fileAlexandru Ardelean2017-03-09
| | | | | | Same as for python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: move filespec shell code into fileAlexandru Ardelean2017-03-09
| | | | | | | Cleanup. And preparation for adding a bit more functionality. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: fix goof with multiline command breakAlexandru Ardelean2017-03-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* treewide: use name in define and eval linesStijn Tintel2017-03-08
| | | | | | | | | | | | | | | For consistency, use full name instead of $(PKG_NAME) in define and eval lines for all packages. I've seen reviews that asked to do this before, and I am asking the same during reviews now. To avoid this in the future, fix this treewide so when people use existing packages as example, we will not have to request this change anymore. This makes all packages consistent with both LEDE and OpenWrt base repositories. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* Merge pull request #4074 from commodo/python-cryptografix-fixHannu Nyman2017-03-06
|\ | | | | python-cryptography: fix build by disabling setup requirements
| * python-cryptography: fix build by disabling setup requirementsAlexandru Ardelean2017-02-26
| | | | | | | | | | | | | | | | | | python-cryptography tries to install other packages during setup. However, this isn't needed, since they should have been already resolved/installed via LEDE/OpenWrt's build system dep logic. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | php7: update to 7.1.2Michael Heimpold2017-02-24
|/ | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* Merge pull request #3967 from commodo/python-pyscopg2Hannu Nyman2017-02-22
|\ | | | | python-psycopg2: replace python-setuptools dep with python/host
| * python-pyscopg2: replace python-setuptools dep with python/hostAlexandru Ardelean2017-02-07
| | | | | | | | | | | | | | After removing python-setuptools package, the dependency chain to python/host is a bit different. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | Merge pull request #4039 from the-alien/masterHannu Nyman2017-02-19
|\ \ | | | | | | python-ldap: update to 2.4.32
| * | python-ldap: update to 2.4.32alien2017-02-19
| | | | | | | | | | | | Signed-off-by: Dmitry Trefilov <the-alien@live.ru>
* | | Merge pull request #3860 from commodo/micropython-lib-workaroundHannu Nyman2017-02-17
|\ \ \ | | | | | | | | micropython-lib: workaround the `install` build rule
| * | | micropython-lib: workaround the `install` build ruleAlexandru Ardelean2017-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So, I chose to workaround it in the Makefile. A proper fix is a bit more work that I would like to do now, and I have no suggestion/idea for a good fix right now. The problem is with the `CMD` part that's used in the install rule, together with the fact that PREFIX is the same as the source location. ``` CMD="find . -maxdepth 1 -mindepth 1 \( -name '*.py' -not -name 'test_*' -not -name 'setup.py' \) -or \( -type d -not -name 'dist' -not -name '*.egg-info' -not -name '__pycache__' \)| xargs --no-run-if-empty cp -r -t $(PREFIX)" ``` The gist of it, is that it seems that this will filter and copy to `PREFIX` all python sources and folders that are not names `dist`, `__pycache__`, or `*.egg-info`. And it searches all folders at (exactly) depth 1. The solution I chose is to put a `dist` folder under `_install_tmp`, which is kind of a trick to go to depth 2 and avoid both conditions in the `find` call. This avoids errors: ``` cp: './weakref.py' and '/home/sandu/work/lede/build_dir/target-mips_24kc_musl-1.1.16/micropython-lib-1.8.6-f81e979c56dddb771ad36ec381b7f2c6cd12111f-f81e979c56dddb771ad36ec381b7f2c6cd12111f/_install_tmp/weakref.py' are the same file cp: './xmltok.py' and '/home/sandu/work/lede/build_dir/target-mips_24kc_musl-1.1.16/micropython-lib-1.8.6-f81e979c56dddb771ad36ec381b7f2c6cd12111f-f81e979c56dddb771ad36ec381b7f2c6cd12111f/_install_tmp/xmltok.py' are the same file cp: './zipfile.py' and '/home/sandu/work/lede/build_dir/target-mips_24kc_musl-1.1.16/micropython-lib-1.8.6-f81e979c56dddb771ad36ec381b7f2c6cd12111f-f81e979c56dddb771ad36ec381b7f2c6cd12111f/_install_tmp/zipfile.py' are the same file ``` Initially I tried to add exit 0, but that would just hide other (potentially worse) issues. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | | luv: new packageMorteza Milani2017-02-16
| | | | | | | | | | | | | | | | | | | | | | | | Luv is libuv binding for lua. Signed-off-by: Morteza Milani <milani@pichak.co>
* | | | Merge pull request #3784 from diizzyy/patch-16Hannu Nyman2017-02-15
|\ \ \ \ | | | | | | | | | | lang/python3-bottle: Update to 0.12.12
| * | | | lang/python3-bottle: Update to 0.12.12Daniel Engberg2017-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to 0.12.12 Switch to pypi repo which also fixes file name on tarball Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>