sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to stable-0.24 grimoire by Jaka Kranjc (d81e7a44b348a94f736650f29a6f385aa16a072c)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to stable-0.24 grimoire by Jaka Kranjc (d81e7a44b348a94f736650f29a6f385aa16a072c)
- Date: Thu, 28 Aug 2008 17:20:15 -0500
GIT changes to stable-0.24 grimoire by Jaka Kranjc
<lynxlynxlynx AT sourcemage.org>:
doc/algorithms/DETAILS | 3
doc/algorithms/HISTORY | 3
mobile/openobex-apps/BUILD | 5
mobile/openobex-apps/DETAILS | 10 -
mobile/openobex-apps/HISTORY | 4
mobile/openobex-apps/INSTALL | 8 -
mobile/openobex-apps/PRE_BUILD | 2
mobile/openobex-apps/TRIGGERS | 1
mobile/openobex-apps/gcc34.patch | 260
--------------------------------------
mobile/openobex-apps/obexserver.c | 33 ----
utils/lmctl/DEPENDS | 1
utils/lmctl/HISTORY | 3
12 files changed, 24 insertions(+), 309 deletions(-)
New commits:
commit d81e7a44b348a94f736650f29a6f385aa16a072c
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
lcmtl: DEPENDS: added libusb
(cherry-picked from commit 7c12f8d711e1e482ecccd40b5b6a609ee5745bbb)
commit 05e6a36a8bbda8a7abbafa900c9e236a01ba0ecf
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
pmi: DETAILS: added FORCE_DOWNLOAD and SOURCE_IGNORE fixing bug 12400
(cherry-picked from commit 6c41d6648fdce6bc5e1caa2a5e519c2fe76d7add)
commit 83ad9fa2e3414e28f931caf62d7bafee87f6e1c2
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
openobex-apps: more complete deprecation
(cherry-picked from commit 7de16bef0b3854757fc5732c15caf5d466928e90)
diff --git a/doc/algorithms/DETAILS b/doc/algorithms/DETAILS
index 90bb67b..25ae9ae 100755
--- a/doc/algorithms/DETAILS
+++ b/doc/algorithms/DETAILS
@@ -4,7 +4,8 @@
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
SOURCE_URL[0]=$CTAN_URL/macros/latex/contrib/$SOURCE
SOURCE_URL[1]=ftp://ftp.dante.de/tex-archive/macros/latex/contrib/$SOURCE
- MD5[0]=e05c3849e79d0014a48921f5162dd425
+ SOURCE_IGNORE=unversioned
+ FORCE_DOWNLOAD=on
WEB_SITE=http://www.ctan.org/tex-archive/help/Catalogue/entries/algorithms.html
ENTERED=20030511
LICENSE=UNKNOWN
diff --git a/doc/algorithms/HISTORY b/doc/algorithms/HISTORY
index 4b3d1f5..c22c16b 100644
--- a/doc/algorithms/HISTORY
+++ b/doc/algorithms/HISTORY
@@ -1,3 +1,6 @@
+2008-08-19 Robert Figura <template AT sourcemage.org>
+ * DETAILS: added FORCE_DOWNLOAD and SOURCE_IGNORE
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.
diff --git a/mobile/openobex-apps/BUILD b/mobile/openobex-apps/BUILD
index 8f2ffe6..27ba77d 100755
--- a/mobile/openobex-apps/BUILD
+++ b/mobile/openobex-apps/BUILD
@@ -1,4 +1 @@
-patch -p1 < $SCRIPT_DIRECTORY/gcc34.patch &&
-./configure --build=$BUILD \
- --prefix=${INSTALL_ROOT}/usr &&
-make
+true
diff --git a/mobile/openobex-apps/DETAILS b/mobile/openobex-apps/DETAILS
index 9a5723d..eab4b48 100755
--- a/mobile/openobex-apps/DETAILS
+++ b/mobile/openobex-apps/DETAILS
@@ -1,15 +1,17 @@
SPELL=openobex-apps
VERSION=1.0.0
- SOURCE=$SPELL-$VERSION.tar.gz
+# SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=$SOURCEFORGE_URL/openobex/$SOURCE
+# SOURCE_URL[0]=$SOURCEFORGE_URL/openobex/$SOURCE
WEB_SITE=http://openobex.sourceforge.net
-
SOURCE_HASH=sha512:1601887fdf1aa2f793d173abe498c3f7fde8494b4c8d633fb7a0a85716cadc080240c0b0f6400e0f5394f44fafb66724cd337a873bb68ec2b6775566e4627700
+#
SOURCE_HASH=sha512:1601887fdf1aa2f793d173abe498c3f7fde8494b4c8d633fb7a0a85716cadc080240c0b0f6400e0f5394f44fafb66724cd337a873bb68ec2b6775566e4627700
ENTERED=20030714
LICENSE[0]=GPL
+ PATCHLEVEL=1
KEYWORDS="mobile"
- SHORT="openobex applications"
+ SHORT="DEPRECATED: openobex applications"
cat << EOF
+DEPRECATED! Use openobex spell.
The overall goal of this project is to make an open source implementation of
the Object Exchange (OBEX)
protocol. OBEX is a session protocol and can best be described as a binary
HTTP protocol.
The OpenOBEX Project is the foundation for many interesting applications.
Here is a list which
diff --git a/mobile/openobex-apps/HISTORY b/mobile/openobex-apps/HISTORY
index 21f6b93..6a8e600 100644
--- a/mobile/openobex-apps/HISTORY
+++ b/mobile/openobex-apps/HISTORY
@@ -1,3 +1,7 @@
+2008-08-20 Thomas Orgis <sobukus AT sourcemage.org>
+ * DETAILS, DEPENDS, TRIGGERS, PRE_BUILD, INSTALL, *.c, *.patch:
+ properly deprecate
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.
diff --git a/mobile/openobex-apps/INSTALL b/mobile/openobex-apps/INSTALL
index da6740b..27ba77d 100755
--- a/mobile/openobex-apps/INSTALL
+++ b/mobile/openobex-apps/INSTALL
@@ -1,7 +1 @@
-cd $SOURCE_DIRECTORY/src &&
-cp $SCRIPT_DIRECTORY/obexserver.c . &&
-cc -o obexserver obexserver.c libmisc.a -lopenobex &&
-cd $SOURCE_DIRECTORY &&
-make install &&
-install src/obexserver /usr/bin/
-
+true
diff --git a/mobile/openobex-apps/PRE_BUILD b/mobile/openobex-apps/PRE_BUILD
new file mode 100755
index 0000000..7eead1e
--- /dev/null
+++ b/mobile/openobex-apps/PRE_BUILD
@@ -0,0 +1,2 @@
+true
+
diff --git a/mobile/openobex-apps/TRIGGERS b/mobile/openobex-apps/TRIGGERS
new file mode 100755
index 0000000..8fa3c55
--- /dev/null
+++ b/mobile/openobex-apps/TRIGGERS
@@ -0,0 +1 @@
+on_cast openobex dispel_self
diff --git a/mobile/openobex-apps/gcc34.patch
b/mobile/openobex-apps/gcc34.patch
deleted file mode 100644
index 6dac172..0000000
--- a/mobile/openobex-apps/gcc34.patch
+++ /dev/null
@@ -1,260 +0,0 @@
-diff -Naur openobex-apps-1.0.0-clean/src/obex_put_common.c
openobex-apps-1.0.0/src/obex_put_common.c
---- openobex-apps-1.0.0-clean/src/obex_put_common.c 2002-12-01
18:34:41.000000000 +0100
-+++ openobex-apps-1.0.0/src/obex_put_common.c 2004-05-12 12:57:37.000000000
+0200
-@@ -82,7 +82,7 @@
- break;
-
- default:
-- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
-+ printf("%s() Skipped header %02x\n", __func__, hi);
- }
- }
- if(!body) {
-@@ -123,7 +123,7 @@
- OBEX_ObjectSetRsp(object, OBEX_RSP_SUCCESS, OBEX_RSP_SUCCESS);
- break;
- default:
-- printf(__FUNCTION__ "() Denied %02x request\n", cmd);
-+ printf("%s() Denied %02x request\n", __func__, cmd);
- OBEX_ObjectSetRsp(object, OBEX_RSP_NOT_IMPLEMENTED,
OBEX_RSP_NOT_IMPLEMENTED);
- break;
- }
-diff -Naur openobex-apps-1.0.0-clean/src/obex_test_cable.h
openobex-apps-1.0.0/src/obex_test_cable.h
---- openobex-apps-1.0.0-clean/src/obex_test_cable.h 2002-12-01
18:34:41.000000000 +0100
-+++ openobex-apps-1.0.0/src/obex_test_cable.h 2004-05-12 13:23:11.000000000
+0200
-@@ -1,16 +1,16 @@
- /*********************************************************************
-- *
-+ *
- * Filename: obex_test_cable.h
-- * Version:
-- * Description:
-+ * Version:
-+ * Description:
- * Status: Experimental.
- * Author: Pontus Fuchs <pontus.fuchs AT tactel.se>
- * Created at: Wed Nov 17 22:05:16 1999
- * Modified at: Sun Aug 13 10:55:20 PM CEST 2000
- * Modified by: Pontus Fuchs <pontus.fuchs AT tactel.se>
-- *
-+ *
- * Copyright (c) 1999, 2000 Pontus Fuchs, All Rights Reserved.
-- *
-+ *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
-@@ -23,9 +23,9 @@
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
-- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
-- *
-+ *
- ********************************************************************/
-
- #ifndef OBEX_TEST_CABLE_H
-@@ -38,7 +38,7 @@
- #include <openobex/obex.h>
-
- #ifdef CABLE_DEBUG
--#define CDEBUG(args...) printf(__FUNCTION__ "() " args)
-+#define CDEBUG(args...) printf("%s() ", __func__, args)
- #else
- #define CDEBUG(args...)
- #endif
-diff -Naur openobex-apps-1.0.0-clean/src/obex_test_cable.h~
openobex-apps-1.0.0/src/obex_test_cable.h~
---- openobex-apps-1.0.0-clean/src/obex_test_cable.h~ 1970-01-01
01:00:00.000000000 +0100
-+++ openobex-apps-1.0.0/src/obex_test_cable.h~ 2004-05-12 13:22:48.000000000
+0200
-@@ -0,0 +1,66 @@
-+/*********************************************************************
-+ *
-+ * Filename: obex_test_cable.h
-+ * Version:
-+ * Description:
-+ * Status: Experimental.
-+ * Author: Pontus Fuchs <pontus.fuchs AT tactel.se>
-+ * Created at: Wed Nov 17 22:05:16 1999
-+ * Modified at: Sun Aug 13 10:55:20 PM CEST 2000
-+ * Modified by: Pontus Fuchs <pontus.fuchs AT tactel.se>
-+ *
-+ * Copyright (c) 1999, 2000 Pontus Fuchs, All Rights Reserved.
-+ *
-+ * This library is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU Lesser General Public
-+ * License as published by the Free Software Foundation; either
-+ * version 2 of the License, or (at your option) any later version.
-+ *
-+ * This library is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-+ * Lesser General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU Lesser General Public
-+ * License along with this library; if not, write to the Free Software
-+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-+ * MA 02111-1307 USA
-+ *
-+ ********************************************************************/
-+
-+#ifndef OBEX_TEST_CABLE_H
-+#define OBEX_TEST_CABLE_H
-+
-+#define CABLE_DEBUG 1
-+
-+
-+#include <termios.h>
-+#include <openobex/obex.h>
-+
-+#ifdef CABLE_DEBUG
-+#define CDEBUG(args...) printf("%s() " __func__, args)
-+#else
-+#define CDEBUG(args...)
-+#endif
-+
-+struct cobex_context
-+{
-+ const char *portname;
-+ int ttyfd;
-+ char inputbuf[500];
-+ struct termios oldtio, newtio;
-+ int r320;
-+};
-+
-+/* User function */
-+struct cobex_context *cobex_open(const char *port, int r320);
-+void cobex_close(struct cobex_context *gt);
-+int cobex_do_at_cmd(struct cobex_context *gt, char *cmd, char *rspbuf, int
rspbuflen, int timeout);
-+
-+/* Callbacks */
-+int cobex_handle_input(obex_t *handle, void * userdata, int timeout);
-+int cobex_write(obex_t *self, void * userdata, uint8_t *buffer, int length);
-+int cobex_connect(obex_t *handle, void * userdata);
-+int cobex_disconnect(obex_t *handle, void * userdata);
-+
-+#endif
-diff -Naur openobex-apps-1.0.0-clean/src/obex_test_client.c
openobex-apps-1.0.0/src/obex_test_client.c
---- openobex-apps-1.0.0-clean/src/obex_test_client.c 2002-12-01
18:34:41.000000000 +0100
-+++ openobex-apps-1.0.0/src/obex_test_client.c 2004-05-12 13:07:24.000000000
+0200
-@@ -370,13 +370,13 @@
-
- while(OBEX_ObjectGetNextHeader(handle, object, &hi, &hv, &hlen))
{
- if(hi == OBEX_HDR_BODY) {
-- printf(__FUNCTION__ "() Found body\n");
-+ printf("%s() Found body\n", __func__);
- body = hv.bs;
- body_len = hlen;
- break;
- }
- else {
-- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
-+ printf("%s() Skipped header %02x\n", __func__, hi);
- }
- }
-
-diff -Naur openobex-apps-1.0.0-clean/src/obex_test_server.c
openobex-apps-1.0.0/src/obex_test_server.c
---- openobex-apps-1.0.0-clean/src/obex_test_server.c 2002-12-01
18:34:41.000000000 +0100
-+++ openobex-apps-1.0.0/src/obex_test_server.c 2004-05-12 13:07:33.000000000
+0200
-@@ -54,17 +54,17 @@
- char *name = NULL;
- char *namebuf = NULL;
-
-- printf(__FUNCTION__ "()\n");
-+ printf("%s()\n", __func__);
-
- while(OBEX_ObjectGetNextHeader(handle, object, &hi, &hv, &hlen))
{
- switch(hi) {
- case OBEX_HDR_BODY:
-- printf(__FUNCTION__ "() Found body\n");
-+ printf("%s() Found body\n", __func__);
- body = hv.bs;
- body_len = hlen;
- break;
- case OBEX_HDR_NAME:
-- printf(__FUNCTION__ "() Found name\n");
-+ printf("%s() Found name\n", __func__);
- if( (namebuf = malloc(hlen / 2))) {
- OBEX_UnicodeToChar(namebuf, hv.bs, hlen);
- name = namebuf;
-@@ -72,7 +72,7 @@
- break;
-
- default:
-- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
-+ printf("%s() Skipped header %02x\n", __func__, hi);
- }
- }
- if(!body) {
-@@ -103,12 +103,12 @@
- char *name = NULL;
- char *namebuf = NULL;
-
-- printf(__FUNCTION__ "()\n");
-+ printf("%s()\n", __func__);
-
- while(OBEX_ObjectGetNextHeader(handle, object, &hi, &hv, &hlen))
{
- switch(hi) {
- case OBEX_HDR_NAME:
-- printf(__FUNCTION__ "() Found name\n");
-+ printf("%s() Found name\n", __func__);
- if( (namebuf = malloc(hlen / 2))) {
- OBEX_UnicodeToChar(namebuf, hv.bs, hlen);
- name = namebuf;
-@@ -116,16 +116,16 @@
- break;
-
- default:
-- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
-+ printf("%s() Skipped header %02x\n", __func__, hi);
- }
- }
-
- if(!name) {
-- printf(__FUNCTION__ "() Got a GET without a name-header!\n");
-+ printf("%s() Got a GET without a name-header!\n", __func__);
- OBEX_ObjectSetRsp(object, OBEX_RSP_NOT_FOUND,
OBEX_RSP_NOT_FOUND);
- return;
- }
-- printf(__FUNCTION__ "() Got a request for %s\n", name);
-+ printf("%s() Got a request for %s\n", __func__, name);
-
- buf = easy_readfile(name, &file_size);
- if(buf == NULL) {
-@@ -154,7 +154,7 @@
-
- const uint8_t *who = NULL;
- int who_len = 0;
-- printf(__FUNCTION__ "()\n");
-+ printf("%s()\n", __func__);
-
- while(OBEX_ObjectGetNextHeader(handle, object, &hi, &hv, &hlen))
{
- if(hi == OBEX_HDR_WHO) {
-@@ -162,7 +162,7 @@
- who_len = hlen;
- }
- else {
-- printf(__FUNCTION__ "() Skipped header %02x\n", hi);
-+ printf("%s() Skipped header %02x\n", __func__, hi);
- }
- }
- if (who_len == 6) {
-@@ -199,7 +199,7 @@
- OBEX_ObjectSetRsp(object, OBEX_RSP_CONTINUE,
OBEX_RSP_SUCCESS);
- break;
- default:
-- printf(__FUNCTION__ "() Denied %02x request\n", cmd);
-+ printf("%s() Denied %02x request\n", __func__, cmd);
- OBEX_ObjectSetRsp(object, OBEX_RSP_NOT_IMPLEMENTED,
OBEX_RSP_NOT_IMPLEMENTED);
- break;
- }
-@@ -224,7 +224,7 @@
- break;
-
- default:
-- printf(__FUNCTION__ "() Command (%02x) has now finished\n",
obex_cmd);
-+ printf("%s() Command (%02x) has now finished\n", __func__,
obex_cmd);
- break;
- }
- }
diff --git a/mobile/openobex-apps/obexserver.c
b/mobile/openobex-apps/obexserver.c
deleted file mode 100644
index 41e93fa..0000000
--- a/mobile/openobex-apps/obexserver.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Simple OpenOBEX server for Bluez+OpenOBEX */
-/* link with libmisc.a from OPENObex-apps and libopenobex from OpenOBEX */
-/* venglin AT freebsd.lublin.pl */
-
-
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <openobex/obex.h>
-
-#define OBEX_PUSH_HANDLE 10
-
-volatile int finished = 0;
-obex_t *handle = NULL;
-
-void obex_event(obex_t *handle, obex_object_t *object, int mode, int event,
int obex_cmd, int obex_rsp);
-
-int main(int argc, char **argv)
-{
- obex_object_t *object;
-
- handle = OBEX_Init(OBEX_TRANS_BLUETOOTH, obex_event, 0);
-
- if (argc == 1)
- {
- BtOBEX_ServerRegister(handle, NULL, OBEX_PUSH_HANDLE);
- printf("Waiting for connection...\n");
- btobex_accept(handle);
-
- while (!finished)
- OBEX_HandleInput(handle, 1);
- }
-}
diff --git a/utils/lmctl/DEPENDS b/utils/lmctl/DEPENDS
new file mode 100755
index 0000000..5487d07
--- /dev/null
+++ b/utils/lmctl/DEPENDS
@@ -0,0 +1 @@
+depends libusb
diff --git a/utils/lmctl/HISTORY b/utils/lmctl/HISTORY
index 1061485..2aefa12 100644
--- a/utils/lmctl/HISTORY
+++ b/utils/lmctl/HISTORY
@@ -1,3 +1,6 @@
+2008-08-19 Robert Figura <template AT sourcemage.org>
+ * DEPENDS: added libusb
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.
- [SM-Commit] GIT changes to stable-0.24 grimoire by Jaka Kranjc (d81e7a44b348a94f736650f29a6f385aa16a072c), Jaka Kranjc, 08/28/2008
Archive powered by MHonArc 2.6.24.