Commit Graph

45 Commits

Author SHA1 Message Date
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Rosen Penev 9ea62e1507 gammu: update to 1.42.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:45:13 -07:00
Rosen Penev 76441fe18d
gammu: add back nls.mk
Because glib2 uses libintl, this is needed to prevent a linking error.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 19:14:24 -07:00
Rosen Penev 306393db43 gammu: fix compilation with full NLS
Just disable NLS to fix it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-30 02:00:13 -07:00
Rosen Penev b8f1e9240c
gammu: remove nls.mk
It's causing issues with newer glib2:

../libgammu/libGammu.so.8.1.41.0: undefined reference to `libiconv'
../libgammu/libGammu.so.8.1.41.0: undefined reference to `libiconv_open'
../libgammu/libGammu.so.8.1.41.0: undefined reference to `libiconv_close'

It's because the libiconv-stub does not include a shared library that
gammu can link to.

Removed most patches since they don't seem to be needed.

Ran init script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-28 20:46:29 -07:00
Jeffery To 027ed92f6e gammu: Remove python dependency, fix lib symlinks
This removes the python dependency from the package; according to the
maintainer[1][2] the software does not depend on python.

This also fixes the symlinks for libGammu.so and libgsmsd.so.
Previously, the symlinks were overwritten by $(INSTALL_BIN) with copies
of their sources.

[1]: https://github.com/openwrt/packages/issues/8893#issuecomment-539136531
[2]: https://github.com/openwrt/packages/issues/8893#issuecomment-539152794

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 03:45:54 +08:00
Rosen Penev 99bbb8af31
gammu: Update to 1.41
Remove upstreamed patch.

Switched conditional dependency to python3 in preparation for deprecating
Python 2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-07 21:19:44 -07:00
Rosen Penev 2e2929366b gammu: Update to 1.40.0
Cleaned up Makefile for consistency between packages.

Switched to CMAKE_INSTALL to get rid of the InstallDev section.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-22 13:16:06 -07:00
Rosen Penev 5fbc6c873e
gammu: Really fix compilation under 64-bit
The InstallDev section needed the same treatment as the Install one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-03-30 01:31:27 -07:00
Rosen Penev bf42426e4a gammu: Fix build under 64-bit targets.
There's a faulty suffix variable that points to the wrong place.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-16 10:31:02 -08:00
Rosen Penev ef6c6feef6 gammu: Update to 1.39.0
Cosmetic makefile changes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-11 14:28:32 -07:00
Sebastian Kemper 272974aecf gammu: update lazy depend
libmariadbclient is now libmariadb. Update gammu depend to reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-30 10:15:43 +02:00
Sebastian Kemper 8290a74c84 gammu: fix mysql depend
mysql was replaced by mariadb. The lazy dependency
"+PACKAGE_libmysqlclient:libmysqlclient" does not work anymore as
"PACKAGE_libmysqlclient" no longer exists. This results in:

Package gammu is missing dependencies for the following libraries:
libmysqlclient.so.18

This commit addresses that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-29 18:57:12 +02:00
aTanW c6bdecf4db gammu: bump to a new upstream v1.38.4
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2017-06-19 12:04:41 +03:00
aTanW 6bb8c6bf0c gammu: bunp to a new v1.38.3
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2017-06-06 17:50:20 +03:00
aTanW 56e15d34e6 gammu: bump to new upstream 1.38.1
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2017-01-28 09:58:43 +03:00
aTanW feb117a312 gammu: bump to the new upstream v1.37.4
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-08-28 09:56:07 +03:00
aTanW 42747a1db3 gammu: bump to upstream v1.37.3
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-05-29 23:12:15 +03:00
Hannu Nyman da7fe93100 Merge pull request #2611 from aTanW/master
gammu: bump to upstream v 1.37.2
2016-04-19 11:11:50 +03:00
aTanW 256c4ada49 gammu: bump to upstream v 1.37.2
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-04-19 08:36:01 +03:00
champtar fb744a6581 Merge pull request #2486 from yousong/cp-fix
Drop the redundant -r option to $(CP)
2016-04-10 17:56:21 +02:00
Stefan Weil b5738a3878 utils: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-26 09:53:01 +01:00
Yousong Zhou 92b0575e28 Drop the redundant -r option to $(CP)
$(CP) was defined as `cp -fpR' since the very begining of OpenWrt build
system (2006-06-22).  The -R option should be enough and base packages
use only $(CP) for the same purposes just fine and BSD manual of cp also
discourages the use of `-r' option.  So let's just tidy up the usage now.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-03-12 01:23:28 +08:00
aTanW e7067c5c9a gammu: bump to upstream v1.37.0
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-02-09 08:11:47 +03:00
aTanW 31e0651408 gammu: bump to new upstream 1.36.8
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-12-14 09:06:48 +03:00
aTanW 0bfb2f8a4d gammu: bump to upstream 1.36.7
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-12-01 08:47:28 +03:00
aTanW 3a8d834c96 gammu: bump to new upstream v1.36.6
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-10-19 10:26:57 +03:00
aTanW e8b47afd10 gammu: bump to supstream v1.36.5
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-08-31 22:46:28 +03:00
aTanW 9cad7e86a1 gammu: bump to mainstream v 1.36.4, full-language version build fix
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
2015-08-21 18:13:19 +03:00
aTanW dbb7897ec1 gammu: bump to the new upstream v1.36.3
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2015-07-13 10:05:09 +03:00
aTanW ec2cb7b430 gammu: update to latest 1.36.2 upstream
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-07-03 17:07:20 +03:00
Dirk Neukirchen 7c68afaf4a gammu: fix dependencies
- disable libdbi via CMAKE
- fix libpq dependency
reported by buildbot.openwrt.org

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-03-07 10:39:53 +01:00
Dirk Neukirchen 5819a55155 gammu: use cmake.mk
- remove not needed legacy stuff
- fix lib64 suffix when installing
fixes build error when target is x86_64

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2015-03-07 10:39:44 +01:00
aTanW 96ef85a37e gammu: change startup/config file names to avoid potential conflict
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile         |    8 ++++----
 files/gammu.init |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
2015-02-26 15:51:39 +03:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Steven Barth 0d10c8ae48 Merge pull request #905 from psycho-nico/fix-gammu
gammu: disable libdbi support explicitly
2015-02-17 17:23:28 +01:00
Nicolas Thill 7be03a4be0 gammu: disable libdbi support explicitly
Fixes a dependency error when libdbi was built before gammu

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-13 20:03:04 +01:00
aTanW c450e69fb1 gammu: add uci config and procd service control
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile   |    8 +++++---
2015-02-13 16:22:17 +03:00
aTanW 760ba95253 gammu: remove unneeded dependencies
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-02-11 16:20:21 +03:00
aTanW b397fc786e gammu: add libusb dependency
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    1 +
 1 file changed, 1 insertion(+)
2015-01-14 16:46:48 +03:00
aTanW 400ddf6054 gammu: bump version to upstream 1.34.0
Signed-Off-By: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-01-05 20:28:45 +03:00
aTanW fa215d1952 gammu: Fix copypaste typo in config file installation 2014-12-11 16:15:04 +03:00
aTanW 0263f910cb Fix gammu config file installation and description
Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
2014-12-10 19:36:15 +03:00
aTanW f044f11552 This adds package gammu v 1.33.0 to the build tree
Gammu is a tool for cell phone/modem control, including
send/receive SMS, phone directory and other.

Signed-off-by: Vitaly Protsko <villy@sft.ru>
---
 Makefile                                 |   68 +++++++++++++++++++++++++++++++
 files/gammurc                            |   37 ++++++++++++++++
 patches/001-iconv-disabling-option.patch |   51 +++++++++++++++++++++++
 patches/002-no-fstack-protector.patch    |   11 +++++
 patches/003-cmake-cross-toolchain.patch  |   43 +++++++++++++++++++
 patches/010-utils-shell-fix.patch        |   16 +++++++
 6 files changed, 226 insertions(+)
2014-12-09 19:32:33 +03:00