[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (96c7b17b3c3681cd8c0711d1b935a46881af72ba)

Jaka Kranjc scm at sourcemage.org
Wed Dec 10 11:57:33 EST 2008


GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 ChangeLog                        |    6 ++++++
 FUNCTIONS                        |    4 ++--
 mobile/gammu/BUILD               |    3 +++
 mobile/gammu/DEPENDS             |   15 +++++++++++++++
 mobile/gammu/DETAILS             |   20 ++++++++++++++++++++
 mobile/gammu/HISTORY             |    3 +++
 mobile/wammu/BUILD               |    1 +
 mobile/wammu/DEPENDS             |    4 ++++
 mobile/wammu/DETAILS             |   20 ++++++++++++++++++++
 mobile/wammu/HISTORY             |    3 +++
 mobile/wammu/INSTALL             |    1 +
 python-pypi/python-gammu/DEPENDS |    2 ++
 python-pypi/python-gammu/DETAILS |   15 +++++++++++++++
 python-pypi/python-gammu/HISTORY |    3 +++
 14 files changed, 98 insertions(+), 2 deletions(-)

New commits:
commit 96c7b17b3c3681cd8c0711d1b935a46881af72ba
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    mobile/wammu: mobile phone manager based on gammu

commit 6da5f02384f1d136eba6be9ed2ac6883d6a52901
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    python-pypi/python-gammu: Python bindings for Gammu

commit 4625d4d2c911977cde26941d46064979e9ee2a82
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    mobile/gammu: GSM mobile manager for various cellular phones

commit a5b93ea7db5f36f7ba33b3d9ad2e9b1a3d1698c6
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    FUNCTION: extend default_{build,install}_python to accept arguments

diff --git a/ChangeLog b/ChangeLog
index 41ce3df..78c3861 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-10 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* FUNCTION: extend default_{build,install}_python to accept arguments
+	* mobile/gammu: GSM mobile manager for various cellular phones
+	* python-pypi/python-gammu: Python bindings for Gammu
+	* mobile/wammu: mobile phone manager based on gammu
+
 2008-12-09 Treeve Jelbert <treeve at sourcemage.org>
 	* science-libs/gmm: new spell, finite element methods templates
 
diff --git a/FUNCTIONS b/FUNCTIONS
index 6d3ec0a..44bf5e9 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -427,14 +427,14 @@ function unpack_file() {
 ## Default build for Python spell.
 #-------------------------------------------------------------------------
 function default_build_python() {
-  python setup.py build
+  python setup.py build "$@"
 }
 
 #-------------------------------------------------------------------------
 ## Default install for Python spell.
 #-------------------------------------------------------------------------
 function default_install_python() {
-  python setup.py install --root "$INSTALL_ROOT/"
+  python setup.py install --root "$INSTALL_ROOT/" "$@"
 }
 
 #-------------------------------------------------------------------------
diff --git a/mobile/gammu/BUILD b/mobile/gammu/BUILD
new file mode 100755
index 0000000..7c498cf
--- /dev/null
+++ b/mobile/gammu/BUILD
@@ -0,0 +1,3 @@
+# custom "configure"
+./configure --prefix="$INSTALL_ROOT/usr" --enable-shared &&
+make
diff --git a/mobile/gammu/DEPENDS b/mobile/gammu/DEPENDS
new file mode 100755
index 0000000..24a5e6a
--- /dev/null
+++ b/mobile/gammu/DEPENDS
@@ -0,0 +1,15 @@
+depends cmake &&
+depends dialog &&
+
+optional_depends bluez \
+                 "" \
+                 "" \
+                 "for bluetooth connection support" &&
+optional_depends mysql \
+                 "--enable-backup" \
+                 "" \
+                 "for a database storage backend" &&
+optional_depends postgresql \
+                 "--enable-backup" \
+                 "" \
+                 "for a database storage backend" 
diff --git a/mobile/gammu/DETAILS b/mobile/gammu/DETAILS
new file mode 100755
index 0000000..34b9c41
--- /dev/null
+++ b/mobile/gammu/DETAILS
@@ -0,0 +1,20 @@
+           SPELL=gammu
+         VERSION=1.21.0
+          SOURCE="$SPELL-$VERSION.tar.bz2"
+   SOURCE_URL[0]=http://dl.cihar.com/$SPELL/releases/$SOURCE
+     SOURCE_HASH=sha512:daa4f81816bdf1d7bcd7bac5c12db15b6bcc339eb84cad82da0be815f891249e877868260e24c6b39ffc61afe377f1935651422b6e83ae03a3df4335222d5590
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+        WEB_SITE="http://cihar.com/gammu/"
+      LICENSE[0]=GPL
+         ENTERED=20081208
+           SHORT="GSM mobile manager for various cellular phones (Nokia, Siemens, Alcatel, others)"
+cat << EOF
+Gammu (formerly known as MyGnokii2) is a cellular manager for various mobile
+phones/modems. It supports a wide variety of Nokia, Symbian, and AT devices
+(Siemens, Alcatel, Falcom, WaveCom, IPAQ, Samsung, SE, and others) over
+cables, infrared, or BlueTooth. It contains libraries with functions for
+ringtones, phonebook, SMS, logos, WAP, date/time, alarm, calls, and more
+(used by external applications like Wammu). It also includes a command line
+utility that can make many things (including backups) and an SMS gateway
+with full MySQL and PostgreSQL support from the PHP interface.
+EOF
diff --git a/mobile/gammu/HISTORY b/mobile/gammu/HISTORY
new file mode 100644
index 0000000..00ad382
--- /dev/null
+++ b/mobile/gammu/HISTORY
@@ -0,0 +1,3 @@
+2008-12-08 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* DEPENDS, DETAILS, BUILD: spell created
+
diff --git a/mobile/wammu/BUILD b/mobile/wammu/BUILD
new file mode 100755
index 0000000..00475d5
--- /dev/null
+++ b/mobile/wammu/BUILD
@@ -0,0 +1 @@
+default_build_python --skip-deps # the wxpython import requires X
diff --git a/mobile/wammu/DEPENDS b/mobile/wammu/DEPENDS
new file mode 100755
index 0000000..591bffb
--- /dev/null
+++ b/mobile/wammu/DEPENDS
@@ -0,0 +1,4 @@
+depends wxpython &&
+depends python-gammu
+
+#optional pybluez
diff --git a/mobile/wammu/DETAILS b/mobile/wammu/DETAILS
new file mode 100755
index 0000000..f35778b
--- /dev/null
+++ b/mobile/wammu/DETAILS
@@ -0,0 +1,20 @@
+           SPELL=wammu
+         VERSION=0.29
+          SOURCE="$SPELL-$VERSION.tar.bz2"
+   SOURCE_URL[0]=http://dl.cihar.com/$SPELL/latest/$SOURCE
+     SOURCE_HASH=sha512:7e0143c6cb9ac96dcf0d2fac6e05520d819126eaf515b436fb9f5010fb7f413346747427bba7abce9232738091f844538b461c9bf21b7352b346b9d934fa4258
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+        WEB_SITE="http://wammu.eu/ "
+      LICENSE[0]=GPL
+         ENTERED=20081210
+           SHORT="A mobile phone manager."
+cat << EOF
+Wammu is a mobile phone manager that uses Gammu as its backend. It works with
+any phone that Gammu supports, including many models from Nokia, Siemens,
+and Alcatel. It has complete support (read, edit, delete, copy) for contacts,
+todo, and calendar. It can read, save, and send SMS. It includes an SMS
+composer for multi-part SMS messages, and it can display SMS messages that
+include pictures. Currently, only text and predefined bitmaps or sounds can
+be edited in the SMS composer. It can export messages to an IMAP4 server
+(or other email storage).
+EOF
diff --git a/mobile/wammu/HISTORY b/mobile/wammu/HISTORY
new file mode 100644
index 0000000..66c020e
--- /dev/null
+++ b/mobile/wammu/HISTORY
@@ -0,0 +1,3 @@
+2008-12-10 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* BUILD, INSTALL, DEPENDS, DETAILS: spell created
+
diff --git a/mobile/wammu/INSTALL b/mobile/wammu/INSTALL
new file mode 100755
index 0000000..46c6fba
--- /dev/null
+++ b/mobile/wammu/INSTALL
@@ -0,0 +1 @@
+default_install_python
diff --git a/python-pypi/python-gammu/DEPENDS b/python-pypi/python-gammu/DEPENDS
new file mode 100755
index 0000000..dd07fab
--- /dev/null
+++ b/python-pypi/python-gammu/DEPENDS
@@ -0,0 +1,2 @@
+depends python &&
+depends gammu 
diff --git a/python-pypi/python-gammu/DETAILS b/python-pypi/python-gammu/DETAILS
new file mode 100755
index 0000000..845bdb3
--- /dev/null
+++ b/python-pypi/python-gammu/DETAILS
@@ -0,0 +1,15 @@
+           SPELL=python-gammu
+         VERSION=0.27
+          SOURCE="$SPELL-$VERSION.tar.bz2"
+   SOURCE_URL[0]=http://dl.cihar.com/$SPELL/latest/$SOURCE
+     SOURCE_HASH=sha512:1d894e1a02854c9184552842cd718cd2e8176695463dfff2536b3ffbfda044202eab19fa5423a0cb2340c4530d3807a55d01bab60aab559f00142cf6ff17bced
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+        WEB_SITE="http://cihar.com/gammu/python/"
+      LICENSE[0]=GPL
+         ENTERED=20081210
+           SHORT="Python bindings for Gammu."
+cat << EOF
+python-gammu is a set of Python bindings for Gammu, the GSM mobile manager
+for various cellular phones. It can work with any phone that Gammu supports,
+including many models by Nokia, Siemens, and Alcatel.
+EOF
diff --git a/python-pypi/python-gammu/HISTORY b/python-pypi/python-gammu/HISTORY
new file mode 100644
index 0000000..8c43a91
--- /dev/null
+++ b/python-pypi/python-gammu/HISTORY
@@ -0,0 +1,3 @@
+2008-12-10 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* DEPENDS, DETAILS: spell created
+



More information about the SM-Commit mailing list