From 14fc44a1120e7ad0ef1812f5d51fbdb5a4060f2b Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 29 May 2006 18:05:53 +0000 Subject: [PATCH] Import of gnokii-0.6.12; Gnokii is a Unix/Linux tool suite for mobile phones. It provides a library to communicate with a phone hiding the communication protocol. The library handles SMS, phonebook, calendar, phone calls, and other mobile phone capabilities. It supports most of the GSM phones: Nokia ones using Nokia proprietary protocol and AT-capable ones -- using standard AT commands. --- comms/gnokii/Makefile | 49 ++++++++++ comms/gnokii/distinfo | 4 + .../gnokii/patches/patch-Docs_sample_gnokiirc | 34 +++++++ comms/gnokii/pkg/DESCR | 6 ++ comms/gnokii/pkg/PFRAG.no-no_x11 | 98 +++++++++++++++++++ comms/gnokii/pkg/PFRAG.shared | 2 + comms/gnokii/pkg/PLIST | 69 +++++++++++++ 7 files changed, 262 insertions(+) create mode 100644 comms/gnokii/Makefile create mode 100644 comms/gnokii/distinfo create mode 100644 comms/gnokii/patches/patch-Docs_sample_gnokiirc create mode 100644 comms/gnokii/pkg/DESCR create mode 100644 comms/gnokii/pkg/PFRAG.no-no_x11 create mode 100644 comms/gnokii/pkg/PFRAG.shared create mode 100644 comms/gnokii/pkg/PLIST diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile new file mode 100644 index 00000000000..93aae0447e1 --- /dev/null +++ b/comms/gnokii/Makefile @@ -0,0 +1,49 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/05/29 18:05:53 robert Exp $ + +COMMENT= "tools to talk to GSM cellular phones" + +VERSION= 0.6.12 +DISTNAME= gnokii-${VERSION} +CATEGORIES= comms x11 +SHARED_LIBS= gnokii 2.7 + +MAINTAINER= Robert Nagy + +HOMEPAGE= http://www.gnokii.org/ +MASTER_SITES= ${HOMEPAGE}download/gnokii/ + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +FLAVORS= no_x11 +FLAVOR?= + +WANTLIB= c + +USE_LIBTOOL= Yes +USE_GMAKE= Yes +NO_REGRESS= Yes + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= --enable-security + +.if ${FLAVOR:L:Mno_x11} +CONFIGURE_ARGS+= --without-x +.else +CONFIGURE_ARGS+= --with-x +WANTLIB+= X11 Xext Xft Xpm Xrender fontconfig freetype \ + iconv intl m pthread atk-1.0.800.0 glib-2.0.400.8 \ + gmodule-2.0.400.8 gobject-2.0.400.8 pango-1.0.600.0 \ + pangoft2-1.0.600.0 pangox-1.0.0.0 pangoxft-1.0.0.0 +LIB_DEPENDS= gtk-x11-2.0.400.13,gdk-x11-2.0.400.13,gdk_pixbuf-2.0.400.13::x11/gtk+2 +.endif + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnokii + ${INSTALL_DATA} ${WRKSRC}/Docs/sample/gnokiirc \ + ${PREFIX}/share/examples/gnokii + +.include diff --git a/comms/gnokii/distinfo b/comms/gnokii/distinfo new file mode 100644 index 00000000000..2d38758df6c --- /dev/null +++ b/comms/gnokii/distinfo @@ -0,0 +1,4 @@ +MD5 (gnokii-0.6.12.tar.gz) = d33fb1cfb637b4b9f98a63fdd99b3d05 +RMD160 (gnokii-0.6.12.tar.gz) = a8d89e080a148331b42d944cf3ca7264de651773 +SHA1 (gnokii-0.6.12.tar.gz) = 7e9620d26e0db8053169449578c40adac6bfd72a +SIZE (gnokii-0.6.12.tar.gz) = 2098320 diff --git a/comms/gnokii/patches/patch-Docs_sample_gnokiirc b/comms/gnokii/patches/patch-Docs_sample_gnokiirc new file mode 100644 index 00000000000..e048ccb2e27 --- /dev/null +++ b/comms/gnokii/patches/patch-Docs_sample_gnokiirc @@ -0,0 +1,34 @@ +$OpenBSD: patch-Docs_sample_gnokiirc,v 1.1.1.1 2006/05/29 18:05:53 robert Exp $ +--- Docs/sample/gnokiirc.orig Mon May 29 19:45:22 2006 ++++ Docs/sample/gnokiirc Mon May 29 19:45:52 2006 +@@ -7,7 +7,7 @@ + + # Set port to the physical port used to connect to your phone. + # Linux version is: +-port = /dev/ttyS0 ++port = /dev/tty00 + # + # For MacOSX you will need something like: + # port = /dev/cu.USA28X1P1.1 +@@ -42,10 +42,10 @@ + # model = series60 + # For other non-Nokia phones and when you want to use AT + # mode use: +-# model = AT ++model = AT + # If you can't figure out what to put here read the FAQ. + # If it still doesn't help, consult gnokii-ml or #gnokii at freenode. +-model = 6510 ++# model = 6510 + # There are few main models that should make use of the certain drivers. + # These are: 6110, 7110, 6510, 3110, 2110, 6160. + +@@ -98,7 +98,7 @@ + # port software (eg. minicom). If you have wrong permissions for the + # directory, a warning will be generated. If you don't want a lockfile, set + # it to 'no'. +-use_locking = yes ++use_locking = no + + # Baudrate to use on serial port connections. + # Currently used only by models AT and BIP/CIMD. Defaults to 19200. diff --git a/comms/gnokii/pkg/DESCR b/comms/gnokii/pkg/DESCR new file mode 100644 index 00000000000..2f5b4454a8a --- /dev/null +++ b/comms/gnokii/pkg/DESCR @@ -0,0 +1,6 @@ +Gnokii is a Unix/Linux tool suite for mobile phones. It provides a +library to communicate with a phone hiding the communication protocol. +The library handles SMS, phonebook, calendar, phone calls, and other +mobile phone capabilities. It supports most of the GSM phones: Nokia +ones using Nokia proprietary protocol and AT-capable ones -- using +standard AT commands. diff --git a/comms/gnokii/pkg/PFRAG.no-no_x11 b/comms/gnokii/pkg/PFRAG.no-no_x11 new file mode 100644 index 00000000000..6a1c582ab81 --- /dev/null +++ b/comms/gnokii/pkg/PFRAG.no-no_x11 @@ -0,0 +1,98 @@ +@comment $OpenBSD: PFRAG.no-no_x11,v 1.1.1.1 2006/05/29 18:05:53 robert Exp $ +bin/xgnokii +lib/pkgconfig/xgnokii.pc +share/applications/ +share/applications/xgnokii.desktop +share/xgnokii/ +share/xgnokii/help/ +share/xgnokii/help/C +share/xgnokii/help/POSIX +share/xgnokii/help/en_US/ +share/xgnokii/help/en_US/COPYING +share/xgnokii/help/en_US/CREDITS +share/xgnokii/help/en_US/cables/ +share/xgnokii/help/en_US/calendar/ +share/xgnokii/help/en_US/contacts/ +share/xgnokii/help/en_US/dtmf/ +share/xgnokii/help/en_US/faq.html +share/xgnokii/help/en_US/firmware/ +share/xgnokii/help/en_US/firmware/firmware.html +share/xgnokii/help/en_US/index.html +share/xgnokii/help/en_US/irda/ +share/xgnokii/help/en_US/main/ +share/xgnokii/help/en_US/netmon/ +share/xgnokii/help/en_US/netmon/faq_net0.html +share/xgnokii/help/en_US/netmon/faq_net1.html +share/xgnokii/help/en_US/netmon/faq_net2.html +share/xgnokii/help/en_US/netmon/faq_net3.html +share/xgnokii/help/en_US/netmon/faq_net4.html +share/xgnokii/help/en_US/netmon/faq_net5.html +share/xgnokii/help/en_US/netmon/faq_net6.html +share/xgnokii/help/en_US/netmon/gsm/ +share/xgnokii/help/en_US/netmon/net_mon1.png +share/xgnokii/help/en_US/netmon/net_mon2.png +share/xgnokii/help/en_US/netmon/net_mon3.png +share/xgnokii/help/en_US/netmon/nm2_5110.png +share/xgnokii/help/en_US/netmon/nm_3210.png +share/xgnokii/help/en_US/netmon/nm_5110.png +share/xgnokii/help/en_US/netmon/nm_9110.png +share/xgnokii/help/en_US/netmon/tip.png +share/xgnokii/help/en_US/sample/ +share/xgnokii/help/en_US/sample/gnokiirc +share/xgnokii/help/en_US/sms/ +share/xgnokii/help/en_US/speeddial/ +share/xgnokii/help/en_US/styl.css +share/xgnokii/help/en_US/windows/ +share/xgnokii/help/en_US/windows/calendar/ +share/xgnokii/help/en_US/windows/contacts/ +share/xgnokii/help/en_US/windows/dtmf/ +share/xgnokii/help/en_US/windows/main/ +share/xgnokii/help/en_US/windows/netmon/ +share/xgnokii/help/en_US/windows/sms/ +share/xgnokii/help/en_US/windows/speeddial/ +share/xgnokii/help/en_US/windows/xkeyb/ +share/xgnokii/help/en_US/xkeyb/ +share/xgnokii/help/pl_PL/ +share/xgnokii/help/pl_PL/calendar.html +share/xgnokii/help/pl_PL/contacts.html +share/xgnokii/help/pl_PL/dtmf.html +share/xgnokii/help/pl_PL/index.html +share/xgnokii/help/pl_PL/netmon/ +share/xgnokii/help/pl_PL/netmon.html +share/xgnokii/help/pl_PL/netmon/dir0.png +share/xgnokii/help/pl_PL/netmon/dir1.png +share/xgnokii/help/pl_PL/netmon/glowna.htm +share/xgnokii/help/pl_PL/netmon/gsm/ +share/xgnokii/help/pl_PL/netmon/gsm/f2mbus.png +share/xgnokii/help/pl_PL/netmon/gsm/f2mbus2.png +share/xgnokii/help/pl_PL/netmon/gsm/faq_loga.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net0.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net1.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net2.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net3.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net4.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net5.htm +share/xgnokii/help/pl_PL/netmon/gsm/faq_net6.htm +share/xgnokii/help/pl_PL/netmon/gsm/faqkable.htm +share/xgnokii/help/pl_PL/netmon/gsm/firmware.htm +share/xgnokii/help/pl_PL/netmon/gsm/index.htm +share/xgnokii/help/pl_PL/netmon/gsm/net_mon1.png +share/xgnokii/help/pl_PL/netmon/gsm/net_mon2.png +share/xgnokii/help/pl_PL/netmon/gsm/net_mon3.png +share/xgnokii/help/pl_PL/netmon/gsm/net_spis.htm +share/xgnokii/help/pl_PL/netmon/gsm/nm2_5110.png +share/xgnokii/help/pl_PL/netmon/gsm/nm_3210.png +share/xgnokii/help/pl_PL/netmon/gsm/nm_5110.png +share/xgnokii/help/pl_PL/netmon/gsm/nm_9110.png +share/xgnokii/help/pl_PL/netmon/gsm/tip.png +share/xgnokii/help/pl_PL/netmon/htm.png +share/xgnokii/help/pl_PL/netmon/index.htm +share/xgnokii/help/pl_PL/netmon/konw.js +share/xgnokii/help/pl_PL/netmon/spis.htm +share/xgnokii/help/pl_PL/netmon/spis_d.htm +share/xgnokii/help/pl_PL/netmon/spis_d2.htm +share/xgnokii/help/pl_PL/netmon/spis_g.htm +share/xgnokii/help/pl_PL/netmon/styl.css +share/xgnokii/help/pl_PL/sms.html +share/xgnokii/help/pl_PL/speeddial.html +share/xgnokii/help/pl_PL/xkeyb.html diff --git a/comms/gnokii/pkg/PFRAG.shared b/comms/gnokii/pkg/PFRAG.shared new file mode 100644 index 00000000000..bcdc4dbb1ba --- /dev/null +++ b/comms/gnokii/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/05/29 18:05:53 robert Exp $ +@lib lib/libgnokii.so.${LIBgnokii_VERSION} diff --git a/comms/gnokii/pkg/PLIST b/comms/gnokii/pkg/PLIST new file mode 100644 index 00000000000..75fd8d245c6 --- /dev/null +++ b/comms/gnokii/pkg/PLIST @@ -0,0 +1,69 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/29 18:05:53 robert Exp $ +%%SHARED%% +!%%no_x11%% +bin/gnokii +bin/ppm2nokia +bin/sendsms +bin/todologo +include/gnokii/ +include/gnokii.h +include/gnokii/bitmaps.h +include/gnokii/call.h +include/gnokii/common.h +include/gnokii/data.h +include/gnokii/encoding.h +include/gnokii/error.h +include/gnokii/networks.h +include/gnokii/ringtones.h +include/gnokii/rlp-common.h +include/gnokii/sms.h +include/gnokii/statemachine.h +include/gnokii/virtmodem.h +lib/libgnokii.a +lib/libgnokii.la +lib/pkgconfig/ +lib/pkgconfig/gnokii.pc +sbin/gnokiid +sbin/mgnokiidev +share/doc/gnokii/ +share/doc/gnokii/gnapplet.sis +share/examples/gnokii/ +share/examples/gnokii/gnokiirc +@sample ${SYSCONFDIR}/gnokiirc +share/locale/ +share/locale/cs/ +share/locale/cs/LC_MESSAGES/ +share/locale/cs/LC_MESSAGES/gnokii.mo +share/locale/de/ +share/locale/de/LC_MESSAGES/ +share/locale/de/LC_MESSAGES/gnokii.mo +share/locale/et/ +share/locale/et/LC_MESSAGES/ +share/locale/et/LC_MESSAGES/gnokii.mo +share/locale/fi/ +share/locale/fi/LC_MESSAGES/ +share/locale/fi/LC_MESSAGES/gnokii.mo +share/locale/fr/ +share/locale/fr/LC_MESSAGES/ +share/locale/fr/LC_MESSAGES/gnokii.mo +share/locale/it/ +share/locale/it/LC_MESSAGES/ +share/locale/it/LC_MESSAGES/gnokii.mo +share/locale/nl/ +share/locale/nl/LC_MESSAGES/ +share/locale/nl/LC_MESSAGES/gnokii.mo +share/locale/pl/ +share/locale/pl/LC_MESSAGES/ +share/locale/pl/LC_MESSAGES/gnokii.mo +share/locale/sk/ +share/locale/sk/LC_MESSAGES/ +share/locale/sk/LC_MESSAGES/gnokii.mo +share/locale/sl/ +share/locale/sl/LC_MESSAGES/ +share/locale/sl/LC_MESSAGES/gnokii.mo +share/locale/sv/ +share/locale/sv/LC_MESSAGES/ +share/locale/sv/LC_MESSAGES/gnokii.mo +share/locale/zh_CN/ +share/locale/zh_CN/LC_MESSAGES/ +share/locale/zh_CN/LC_MESSAGES/gnokii.mo