pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/gammu Initial import of gammu-1.24.0. Bluetooth ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2f182dd506e
branches:  trunk
changeset: 393726:c2f182dd506e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 25 12:50:00 2009 +0000

description:
Initial import of gammu-1.24.0. Bluetooth support by plunky.

Gammu is a command line utility and library to work with mobile phones
from many vendors. Support for different models differs, but basic
functions should work with majority of them. The program can work with
contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
integrated radio, camera, etc. It also supports a daemon mode to send
and receive SMS messages.

Gammu includes Python bindings, which allows easy scripting of
desired functionality using core functions.

diffstat:

 comms/gammu/DESCR            |    9 +
 comms/gammu/Makefile         |   41 ++++++
 comms/gammu/PLIST            |  193 ++++++++++++++++++++++++++++++++
 comms/gammu/distinfo         |   14 ++
 comms/gammu/patches/patch-aa |   44 +++++++
 comms/gammu/patches/patch-ab |   42 ++++++
 comms/gammu/patches/patch-ac |   17 ++
 comms/gammu/patches/patch-ad |   34 +++++
 comms/gammu/patches/patch-ae |  259 +++++++++++++++++++++++++++++++++++++++++++
 comms/gammu/patches/patch-af |    8 +
 comms/gammu/patches/patch-ag |   17 ++
 comms/gammu/patches/patch-ai |   14 ++
 comms/gammu/patches/patch-aj |   44 +++++++
 13 files changed, 736 insertions(+), 0 deletions(-)

diffs (truncated from 788 to 300 lines):

diff -r 89f728a50e9b -r c2f182dd506e comms/gammu/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/gammu/DESCR Mon May 25 12:50:00 2009 +0000
@@ -0,0 +1,9 @@
+Gammu is a command line utility and library to work with mobile phones
+from many vendors. Support for different models differs, but basic
+functions should work with majority of them. The program can work with
+contacts, messages (SMS, EMS and MMS), calendar, todos, file system,
+integrated radio, camera, etc. It also supports a daemon mode to send
+and receive SMS messages.
+
+Gammu includes Python bindings, which allows easy scripting of
+desired functionality using core functions.
diff -r 89f728a50e9b -r c2f182dd506e comms/gammu/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/gammu/Makefile      Mon May 25 12:50:00 2009 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/05/25 12:50:00 wiz Exp $
+#
+
+DISTNAME=      gammu-1.24.0
+CATEGORIES=    comms
+MASTER_SITES=  http://dl.cihar.com/gammu/releases/ \
+               http://mirror.clickcreations.com/gammu/releases/ \
+               http://dl.cihar.com.nyud.net/gammu/releases/ \
+               ftp://dl.cihar.com/gammu/releases/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://cihar.com/gammu/
+COMMENT=       Command line utility and library to work with mobile phones
+LICENSE=       gnu-gpl-v2
+
+# cmake tests for it; unclear for what it would be used
+#BUILD_DEPENDS+=       doxygen-[0-9]*:../../devel/doxygen
+# for gammu-config
+DEPENDS+=      dialog-[0-9]*:../../misc/dialog
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_CMAKE=     yes
+CMAKE_ARGS+=   -DINSTALL_MAN_DIR:STRING=${PKGMANDIR}
+
+USE_LANGUAGES= c c++
+USE_TOOLS+=    bash:run
+REPLACE_BASH=  utils/gammu-config utils/jadmaker
+PY_PATCHPLIST= yes
+
+# needed because of https://bugs.cihar.com/view.php?id=908
+BUILDLINK_TRANSFORM+=  rm:-Werror
+
+#-- MySQL not found.
+#-- Could not find PostgreSQL
+#-- libdbi not found.
+.include "../../lang/python/extension.mk"
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 89f728a50e9b -r c2f182dd506e comms/gammu/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/gammu/PLIST Mon May 25 12:50:00 2009 +0000
@@ -0,0 +1,193 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/25 12:50:00 wiz Exp $
+bin/gammu
+bin/gammu-config
+bin/gammu-smsd
+bin/gammu-smsd-inject
+bin/gammu-smsd-monitor
+bin/jadmaker
+include/gammu/gammu-backup.h
+include/gammu/gammu-bitmap.h
+include/gammu/gammu-calendar.h
+include/gammu/gammu-call.h
+include/gammu/gammu-callback.h
+include/gammu/gammu-category.h
+include/gammu/gammu-config.h
+include/gammu/gammu-datetime.h
+include/gammu/gammu-debug.h
+include/gammu/gammu-error.h
+include/gammu/gammu-file.h
+include/gammu/gammu-info.h
+include/gammu/gammu-inifile.h
+include/gammu/gammu-keys.h
+include/gammu/gammu-limits.h
+include/gammu/gammu-memory.h
+include/gammu/gammu-message.h
+include/gammu/gammu-misc.h
+include/gammu/gammu-nokia.h
+include/gammu/gammu-ringtone.h
+include/gammu/gammu-security.h
+include/gammu/gammu-settings.h
+include/gammu/gammu-smsd.h
+include/gammu/gammu-statemachine.h
+include/gammu/gammu-types.h
+include/gammu/gammu-unicode.h
+include/gammu/gammu-wap.h
+include/gammu/gammu.h
+lib/libGammu.a
+lib/libgsmsd.a
+lib/pkgconfig/gammu-smsd.pc
+lib/pkgconfig/gammu.pc
+${PYSITELIB}/gammu/Data.py
+${PYSITELIB}/gammu/Worker.py
+${PYSITELIB}/gammu/__init__.py
+${PYSITELIB}/gammu/_gammu.so
+man/cs/man1/gammu-config.1
+man/cs/man1/gammu-smsd-inject.1
+man/cs/man1/gammu-smsd-monitor.1
+man/cs/man1/gammu-smsd.1
+man/cs/man1/gammu.1
+man/cs/man1/jadmaker.1
+man/cs/man5/gammu-smsdrc.5
+man/cs/man5/gammurc.5
+man/cs/man7/gammu-smsd-dbi.7
+man/cs/man7/gammu-smsd-files.7
+man/cs/man7/gammu-smsd-mysql.7
+man/cs/man7/gammu-smsd-pgsql.7
+man/cs/man7/gammu-smsd-tables.7
+man/man1/gammu-config.1
+man/man1/gammu-smsd-inject.1
+man/man1/gammu-smsd-monitor.1
+man/man1/gammu-smsd.1
+man/man1/gammu.1
+man/man1/jadmaker.1
+man/man5/gammu-smsdrc.5
+man/man5/gammurc.5
+man/man7/gammu-smsd-dbi.7
+man/man7/gammu-smsd-files.7
+man/man7/gammu-smsd-mysql.7
+man/man7/gammu-smsd-pgsql.7
+man/man7/gammu-smsd-tables.7
+share/doc/gammu/COPYING
+share/doc/gammu/ChangeLog
+share/doc/gammu/README
+share/doc/gammu/SUPPORTERS
+share/doc/gammu/devel/Gammu.htm
+share/doc/gammu/devel/PORTING
+share/doc/gammu/devel/develop.txt
+share/doc/gammu/devel/examples/Makefile
+share/doc/gammu/devel/examples/phone-info.c
+share/doc/gammu/devel/examples/sms-send.c
+share/doc/gammu/devel/gammu_hints.txt
+share/doc/gammu/devel/protocol/TDMA_5120.txt
+share/doc/gammu/devel/protocol/carkit.txt
+share/doc/gammu/devel/protocol/n6110.txt
+share/doc/gammu/devel/protocol/n6510.txt
+share/doc/gammu/devel/protocol/n7110.txt
+share/doc/gammu/devel/protocol/nokia.txt
+share/doc/gammu/devel/protocol/readme
+share/doc/gammu/devel/sms/charset.txt
+share/doc/gammu/devel/sms/convert.txt
+share/doc/gammu/devel/sms/readme
+share/doc/gammu/devel/sounds/readme
+share/doc/gammu/devel/sounds/ring2.txt
+share/doc/gammu/examples/config/gammurc
+share/doc/gammu/examples/config/smsdrc
+share/doc/gammu/examples/media/aliens.nlm
+share/doc/gammu/examples/media/axelf.txt
+share/doc/gammu/examples/php/class_gammu/README
+share/doc/gammu/examples/php/class_gammu/class.gammu_nix_win32_v2.php
+share/doc/gammu/examples/php/class_gammu/class.sms.gammu.php
+share/doc/gammu/examples/php/class_gammu/example_gammu_text.php
+share/doc/gammu/examples/php/smsd-mysql-admin/admin.php
+share/doc/gammu/examples/php/smsd-mysql-intergammu/config.php
+share/doc/gammu/examples/php/smsd-mysql-intergammu/funcoes/func.gammu.php
+share/doc/gammu/examples/php/smsd-mysql-intergammu/funcoes/func.sql.php
+share/doc/gammu/examples/php/smsd-mysql-intergammu/index.php
+share/doc/gammu/examples/php/smsd-mysql-intergammu/intergammu.txt
+share/doc/gammu/examples/php/smsd-mysql-intergammu/proc/admin.php
+share/doc/gammu/examples/php/smsd-mysql-intergammu/proclast.sql
+share/doc/gammu/examples/php/smsd-mysql-linked/linked.php
+share/doc/gammu/examples/php/smsd-mysql-linked/linked.sql
+share/doc/gammu/examples/php/smsd-mysql-list/sms.php
+share/doc/gammu/examples/sql/mysql.sql
+share/doc/gammu/examples/sql/pgsql.sql
+share/doc/gammu/examples/sql/sqlite.sql
+share/doc/gammu/gammu.html
+share/doc/gammu/gammu.it.txt
+share/doc/gammu/readme.html
+share/doc/gammu/readme.it.txt
+share/doc/gammu/replace.txt
+share/doc/gammu/symbian/gnapplet.ini
+share/doc/gammu/symbian/gnapplet.sis
+share/doc/gammu/symbian/readme.txt
+share/locale/af/LC_MESSAGES/gammu.mo
+share/locale/af/LC_MESSAGES/libgammu.mo
+share/locale/bg/LC_MESSAGES/gammu.mo
+share/locale/bg/LC_MESSAGES/libgammu.mo
+share/locale/ca/LC_MESSAGES/gammu.mo
+share/locale/ca/LC_MESSAGES/libgammu.mo
+share/locale/cs/LC_MESSAGES/gammu.mo
+share/locale/cs/LC_MESSAGES/libgammu.mo
+share/locale/da/LC_MESSAGES/gammu.mo
+share/locale/da/LC_MESSAGES/libgammu.mo
+share/locale/de/LC_MESSAGES/gammu.mo
+share/locale/de/LC_MESSAGES/libgammu.mo
+share/locale/el/LC_MESSAGES/gammu.mo
+share/locale/el/LC_MESSAGES/libgammu.mo
+share/locale/es/LC_MESSAGES/gammu.mo
+share/locale/es/LC_MESSAGES/libgammu.mo
+share/locale/et/LC_MESSAGES/gammu.mo
+share/locale/et/LC_MESSAGES/libgammu.mo
+share/locale/fi/LC_MESSAGES/gammu.mo
+share/locale/fi/LC_MESSAGES/libgammu.mo
+share/locale/fr/LC_MESSAGES/gammu.mo
+share/locale/fr/LC_MESSAGES/libgammu.mo
+share/locale/gl/LC_MESSAGES/gammu.mo
+share/locale/gl/LC_MESSAGES/libgammu.mo
+share/locale/he/LC_MESSAGES/gammu.mo
+share/locale/he/LC_MESSAGES/libgammu.mo
+share/locale/hu/LC_MESSAGES/gammu.mo
+share/locale/hu/LC_MESSAGES/libgammu.mo
+share/locale/id/LC_MESSAGES/gammu.mo
+share/locale/id/LC_MESSAGES/libgammu.mo
+share/locale/it/LC_MESSAGES/gammu.mo
+share/locale/it/LC_MESSAGES/libgammu.mo
+share/locale/ko/LC_MESSAGES/gammu.mo
+share/locale/ko/LC_MESSAGES/libgammu.mo
+share/locale/nl/LC_MESSAGES/gammu.mo
+share/locale/nl/LC_MESSAGES/libgammu.mo
+share/locale/pl/LC_MESSAGES/gammu.mo
+share/locale/pl/LC_MESSAGES/libgammu.mo
+share/locale/pt_BR/LC_MESSAGES/gammu.mo
+share/locale/pt_BR/LC_MESSAGES/libgammu.mo
+share/locale/ru/LC_MESSAGES/gammu.mo
+share/locale/ru/LC_MESSAGES/libgammu.mo
+share/locale/sk/LC_MESSAGES/gammu.mo
+share/locale/sk/LC_MESSAGES/libgammu.mo
+share/locale/sv/LC_MESSAGES/gammu.mo
+share/locale/sv/LC_MESSAGES/libgammu.mo
+share/locale/zh_CN/LC_MESSAGES/gammu.mo
+share/locale/zh_CN/LC_MESSAGES/libgammu.mo
+share/locale/zh_TW/LC_MESSAGES/gammu.mo
+share/locale/zh_TW/LC_MESSAGES/libgammu.mo
+@dirrm share/doc/gammu/symbian
+@dirrm share/doc/gammu/examples/sql
+@dirrm share/doc/gammu/examples/php/smsd-mysql-list
+@dirrm share/doc/gammu/examples/php/smsd-mysql-linked
+@dirrm share/doc/gammu/examples/php/smsd-mysql-intergammu/proc
+@dirrm share/doc/gammu/examples/php/smsd-mysql-intergammu/funcoes
+@dirrm share/doc/gammu/examples/php/smsd-mysql-intergammu
+@dirrm share/doc/gammu/examples/php/smsd-mysql-admin
+@dirrm share/doc/gammu/examples/php/class_gammu
+@dirrm share/doc/gammu/examples/php
+@dirrm share/doc/gammu/examples/media
+@dirrm share/doc/gammu/examples/config
+@dirrm share/doc/gammu/examples
+@dirrm share/doc/gammu/devel/sounds
+@dirrm share/doc/gammu/devel/sms
+@dirrm share/doc/gammu/devel/protocol
+@dirrm share/doc/gammu/devel/examples
+@dirrm share/doc/gammu/devel
+@dirrm share/doc/gammu
+@dirrm ${PYSITELIB}/gammu
+@dirrm include/gammu
diff -r 89f728a50e9b -r c2f182dd506e comms/gammu/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/gammu/distinfo      Mon May 25 12:50:00 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/05/25 12:50:00 wiz Exp $
+
+SHA1 (gammu-1.24.0.tar.bz2) = 9c4fc7474c33d3a40e6bf5a2efb7acbbf9b62dc5
+RMD160 (gammu-1.24.0.tar.bz2) = d525fa09dbcdba87cde6730edc5b55f0f412bd31
+Size (gammu-1.24.0.tar.bz2) = 1817681 bytes
+SHA1 (patch-aa) = 9e573f48c957152c7893ef05fcabad7ffa581ea0
+SHA1 (patch-ab) = 5ae2725551a1137d2b1306189ede0d52fad3ae5c
+SHA1 (patch-ac) = 5fb372f9a1c7f47773c3434daf1e059672d8de24
+SHA1 (patch-ad) = dd01c97c6a660b096a61690376a8159fd7850bbb
+SHA1 (patch-ae) = ce77e07f7de9d0efaa5d68e6a97fd4815626925d
+SHA1 (patch-af) = 28f77b55e463474f9796ce3f257c785a9755456b
+SHA1 (patch-ag) = 6849e39901f08ff402d9a43363c799cae3c6f44e
+SHA1 (patch-ai) = 1d3be730d1db223f5a1698e50ecb06ae7e4eec3e
+SHA1 (patch-aj) = db99dc9026ae8c70cf68e353f8fbd6ef8e4d20a7
diff -r 89f728a50e9b -r c2f182dd506e comms/gammu/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/gammu/patches/patch-aa      Mon May 25 12:50:00 2009 +0000
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/05/25 12:50:00 wiz Exp $
+
+use "BSD" not "FreeBSD" for Bluetooth support.
+
+We add a check for the sdp_open() in libbluetooth as this is indicative
+of the capability to use the new service discovery API.
+
+--- CMakeLists.txt.orig        2009-04-15 14:39:54.000000000 +0100
++++ CMakeLists.txt     2009-05-22 09:46:03.000000000 +0100
+@@ -270,12 +271,12 @@
+             set(BLUETOOTH_SEARCH TRUE)
+             message(STATUS "Using BlueZ stack")
+         endif (BLUEZ_FOUND)
+-        find_package (FBSDBluetooth)
+-        if (FBSD_BLUE_FOUND)
++        find_package (BSDBluetooth)
++        if (BSD_BLUE_FOUND)
+             set(BLUETOOTH_FOUND ON)
+-            set(BLUETOOTH_SEARCH FALSE)
+-            message(STATUS "Using FreeBSD Bluetooth stack")
+-        endif (FBSD_BLUE_FOUND)
++          check_library_exists(bluetooth sdp_open "" BLUETOOTH_SEARCH)
++            message(STATUS "Using BSD Bluetooth stack")



Home | Main Index | Thread Index | Old Index