Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Lubomir Blaha (3050e068f439ddc4cd30a21d9a4039a70274bfdc)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Lubomir Blaha <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Lubomir Blaha (3050e068f439ddc4cd30a21d9a4039a70274bfdc)
  • Date: Thu, 31 Jan 2008 14:04:16 -0600

GIT changes to master grimoire by Lubomir Blaha <tritol AT trilogic.cz>:

graphics/psiconv/BUILD | 2
graphics/psiconv/DETAILS | 11 +--
graphics/psiconv/HISTORY | 5 +
graphics/psiconv/cp1250.patch | 91 ++++++++++++++++++++++++++++++++
graphics/psiconv/gcc-3.4.patch | 42 ---------------
mobile/plptools/DEPENDS | 6 --
mobile/plptools/DETAILS | 12 +---
mobile/plptools/HISTORY | 11 +++
mobile/plptools/PRE_BUILD | 7 --
mobile/plptools/init.d/plpfuse | 19 ++++++
mobile/plptools/init.d/plpprintd | 12 ++++
mobile/plptools/init.d/psion | 106
+-------------------------------------
mobile/plptools/init.d/psion.conf | 5 +
13 files changed, 160 insertions(+), 169 deletions(-)

New commits:
commit 3050e068f439ddc4cd30a21d9a4039a70274bfdc
Author: Lubomir Blaha <tritol AT trilogic.cz>
Commit: Lubomir Blaha <tritol AT trilogic.cz>

plptools: version 0.19, SMGL init

commit 9d602e1a8796c81da8449dacc1c989abae1385f7
Author: Lubomir Blaha <tritol AT trilogic.cz>
Commit: Lubomir Blaha <tritol AT trilogic.cz>

psiconv: version 0.9.8, WEB_SITE and SOURCE_URL update, support for CP1250

diff --git a/graphics/psiconv/BUILD b/graphics/psiconv/BUILD
index 2eb1f08..9fdeb1a 100755
--- a/graphics/psiconv/BUILD
+++ b/graphics/psiconv/BUILD
@@ -1,2 +1,2 @@
-patch -p1 < $SCRIPT_DIRECTORY/gcc-3.4.patch &&
+patch -p1 < $SCRIPT_DIRECTORY/cp1250.patch &&
default_build
diff --git a/graphics/psiconv/DETAILS b/graphics/psiconv/DETAILS
index f0254ee..673c58e 100755
--- a/graphics/psiconv/DETAILS
+++ b/graphics/psiconv/DETAILS
@@ -1,15 +1,14 @@
SPELL=psiconv
- VERSION=0.9.6
+ VERSION=0.9.8
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://huizen.dds.nl/~frodol/psiconv/$SOURCE
- WEB_SITE=http://huizen.dds.nl/~frodol/psiconv
+ SOURCE_URL[0]=http://software.frodo.looijaard.name/psiconv/files/$SOURCE
+ WEB_SITE=http://software.frodo.looijaard.name/psiconv/
ENTERED=20011101
- UPDATED=20020130
-
SOURCE_HASH=sha512:5a0a3a66b2add1bb0ae63ee0bdcae4c4199910636fb07844005035adcc99fb6866f183b496f2319d1220a3f8266d3fd9772230b5f0971e505b8a5cbd989d4497
+
SOURCE_HASH=sha512:1315f78a2aee4c68e720d3ef293ceeebf20027b17677b06296fd0f700610daa971853eddaaf10299ba2ef6fee74455b1d16e2fa5a93d86534b1ff1eebc0fd74d
LICENSE[0]=GPL
KEYWORDS="graphics"
- SHORT="psiconv is a graphic file conversion utility."
+ SHORT="psiconv is a Psion file conversion utility."
cat << EOF
Psiconv is a file conversion utility that converts between Psion
5(MX) files and more commonly-used Linux file formats. It can read
diff --git a/graphics/psiconv/HISTORY b/graphics/psiconv/HISTORY
index d262820..632e351 100644
--- a/graphics/psiconv/HISTORY
+++ b/graphics/psiconv/HISTORY
@@ -1,3 +1,8 @@
+2008-01-26 Lubomir Blaha <tritol AT trilogic.cz>
+ * DETAILS: version bump to 0.9.8
+ WEB_SITE and SOURCE_URL update
+ * cp1250.patch: added support for CP1250 (Eastern Europe Psions)
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed MAINTAINER.

diff --git a/graphics/psiconv/cp1250.patch b/graphics/psiconv/cp1250.patch
new file mode 100644
index 0000000..6842ade
--- /dev/null
+++ b/graphics/psiconv/cp1250.patch
@@ -0,0 +1,91 @@
+diff -Naur psiconv-0.9.6/etc/psiconv.conf.eg
psiconv-0.9.6-1250/etc/psiconv.conf.eg
+--- psiconv-0.9.6/etc/psiconv.conf.eg 2004-02-22 18:00:37.000000000 +0100
++++ psiconv-0.9.6-1250/etc/psiconv.conf.eg 2005-01-03 21:47:27.000000000
+0100
+@@ -68,6 +68,7 @@
+ # changed below)
+ # 0: Unicode (Eastern Psions)
+ # 1: IBM Codepage 1252 (Western Europe Psions)
++# 2: IBM Codepage 1250 (Eastern Europe)
+ # If you have another characterset, please let me know, and I will add it
here.
+ #CharacterSet = 0
+
+diff -Naur psiconv-0.9.6/lib/psiconv/configuration.c
psiconv-0.9.6-1250/lib/psiconv/configuration.c
+--- psiconv-0.9.6/lib/psiconv/configuration.c 2004-02-23 14:32:27.000000000
+0100
++++ psiconv-0.9.6-1250/lib/psiconv/configuration.c 2005-01-03
21:58:52.962578117 +0100
+@@ -112,7 +112,7 @@
+ psiconv_error(*config,0,0,"Configuration file %s, line %d: "
+ "BlueBits should be between 1 and 32 or
0",filename,linenr);
+ } else if (!(strcasecmp(var,"characterset"))) {
+- if ((value >= 0) && (value <= 1))
++ if ((value >= 0) && (value <= 2))
+ psiconv_unicode_select_characterset(*config,value);
+ else
+ psiconv_error(*config,0,0,"Configuration file %s, line %d: "
+diff -Naur psiconv-0.9.6/lib/psiconv/unicode.c
psiconv-0.9.6-1250/lib/psiconv/unicode.c
+--- psiconv-0.9.6/lib/psiconv/unicode.c 2004-02-25 21:47:51.000000000
+0100
++++ psiconv-0.9.6-1250/lib/psiconv/unicode.c 2005-01-03 21:44:00.000000000
+0100
+@@ -60,15 +60,50 @@
+ /* 0xb0 */ 0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
+ /* 0xb8 */ 0x00b8, 0x00b9, 0x00ba, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf,
+ /* 0xc0 */ 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7,
+- /* 0xd8 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,
++ /* 0xc8 */ 0x00c8, 0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,
+ /* 0xd0 */ 0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00d6, 0x00d7,
+- /* 0xe8 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df,
++ /* 0xd8 */ 0x00d8, 0x00d9, 0x00da, 0x00db, 0x00dc, 0x00dd, 0x00de, 0x00df,
+ /* 0xe0 */ 0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7,
+- /* 0xc8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
++ /* 0xe8 */ 0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
+ /* 0xf0 */ 0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7,
+ /* 0xf8 */ 0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff
+ };
+
++psiconv_ucs2 table_cp1250[0x100] =
++ {
++ /* 0x00 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0006, 0x0007,
++ /* 0x08 */ 0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f,
++ /* 0x10 */ 0x00a0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
++ /* 0x18 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
++ /* 0x20 */ 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027,
++ /* 0x28 */ 0x0028, 0x0029, 0x002a, 0x002b, 0x002c, 0x002d, 0x002e, 0x002f,
++ /* 0x30 */ 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037,
++ /* 0x38 */ 0x0038, 0x0039, 0x003a, 0x003b, 0x003c, 0x003d, 0x003e, 0x003f,
++ /* 0x40 */ 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047,
++ /* 0x48 */ 0x0048, 0x0049, 0x004a, 0x004b, 0x004c, 0x004d, 0x004e, 0x004f,
++ /* 0x50 */ 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057,
++ /* 0x58 */ 0x0058, 0x0059, 0x005a, 0x005b, 0x005c, 0x005d, 0x005e, 0x005f,
++ /* 0x60 */ 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067,
++ /* 0x68 */ 0x0068, 0x0069, 0x006a, 0x006b, 0x006c, 0x006d, 0x006e, 0x006f,
++ /* 0x70 */ 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077,
++ /* 0x78 */ 0x0078, 0x0079, 0x007a, 0x007b, 0x007c, 0x007d, 0x007e, 0x0000,
++ /* 0x80 */ 0x20ac, 0xfffd, 0x201a, 0xfffd, 0x201e, 0x2026, 0x2020, 0x2021,
++ /* 0x88 */ 0xfffd, 0x2030, 0x0160, 0x2039, 0x015a, 0x0164, 0x017d, 0x0179,
++ /* 0x90 */ 0xfffd, 0x2018, 0x2019, 0x201c, 0x201d, 0x2022, 0x2013, 0x2014,
++ /* 0x98 */ 0xfffd, 0x2122, 0x0161, 0x203a, 0x015b, 0x0165, 0x017e, 0x017a,
++ /* 0xa0 */ 0x00a0, 0x02c7, 0x02d8, 0x0141, 0x00a4, 0x0104, 0x00a6, 0x00a7,
++ /* 0xa8 */ 0x00a8, 0x00a9, 0x015e, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x017b,
++ /* 0xb0 */ 0x00b0, 0x00b1, 0x02db, 0x0142, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
++ /* 0xb8 */ 0x00b8, 0x0105, 0x015f, 0x00bb, 0x013d, 0x02dd, 0x013e, 0x017c,
++ /* 0xc0 */ 0x0154, 0x00c1, 0x00c2, 0x0102, 0x00c4, 0x0139, 0x0106, 0x00c7,
++ /* 0xc8 */ 0x010c, 0x00c9, 0x0118, 0x00cb, 0x011a, 0x00cd, 0x00ce, 0x010e,
++ /* 0xd0 */ 0x0110, 0x0143, 0x0147, 0x00d3, 0x00d4, 0x0150, 0x00d6, 0x00d7,
++ /* 0xd0 */ 0x0158, 0x016e, 0x00da, 0x0170, 0x00dc, 0x00dd, 0x0162, 0x00df,
++ /* 0xe0 */ 0x0155, 0x00e1, 0x00e2, 0x0103, 0x00e4, 0x013a, 0x0107, 0x00e7,
++ /* 0xe8 */ 0x010d, 0x00e9, 0x0119, 0x00eb, 0x011b, 0x00ed, 0x00ee, 0x010f,
++ /* 0xf0 */ 0x0111, 0x0144, 0x0148, 0x00f3, 0x00f4, 0x0151, 0x00f6, 0x00f7,
++ /* 0xf8 */ 0x0159, 0x016f, 0x00fa, 0x0171, 0x00fc, 0x00fd, 0x0163, 0x02d9,
++};
+
+
+ /* TODO: Check the charset number, select the correct one */
+@@ -82,6 +117,10 @@
+ memcpy(config->unicode_table,table_cp1252,
+ sizeof(psiconv_ucs2) * 0x100);
+ break;
++ case 2: config->unicode = psiconv_bool_false;
++ memcpy(config->unicode_table,table_cp1250,
++ sizeof(psiconv_ucs2) * 0x100);
++ break;
+ default: return -1;
+ }
+ return 0;
diff --git a/graphics/psiconv/gcc-3.4.patch b/graphics/psiconv/gcc-3.4.patch
deleted file mode 100644
index 37e7b02..0000000
--- a/graphics/psiconv/gcc-3.4.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Nur psiconv-0.9.6/program/psiconv/gen_html4.c
psiconv-0.9.6-fixed/program/psiconv/gen_html4.c
---- psiconv-0.9.6/program/psiconv/gen_html4.c 2004-02-04 13:17:38.000000000
+0100
-+++ psiconv-0.9.6-fixed/program/psiconv/gen_html4.c 2004-05-29
19:01:40.000000000 +0200
-@@ -317,7 +317,7 @@
- }
-

-
--static struct fileformat_s ffs[] =
-+static struct fileformat_s psiconv_ffs[] =
- {
- {
- "HTML4",
-@@ -337,6 +337,6 @@
- void init_html4(void)
- {
- int i;
-- for (i = 0; ffs[i].name; i++)
-- psiconv_list_add(fileformat_list,ffs+i);
-+ for (i = 0; psiconv_ffs[i].name; i++)
-+ psiconv_list_add(fileformat_list,psiconv_ffs+i);
- }
-diff -Nur psiconv-0.9.6/program/psiconv/gen_xhtml.c
psiconv-0.9.6-fixed/program/psiconv/gen_xhtml.c
---- psiconv-0.9.6/program/psiconv/gen_xhtml.c 2004-02-04 12:26:54.000000000
+0100
-+++ psiconv-0.9.6-fixed/program/psiconv/gen_xhtml.c 2004-05-29
19:01:46.000000000 +0200
-@@ -719,7 +719,7 @@
- }
-

-
--static struct fileformat_s ffs[] =
-+static struct fileformat_s psiconv_ffs[] =
- {
- {
- "XHTML",
-@@ -739,6 +739,6 @@
- void init_xhtml(void)
- {
- int i;
-- for (i = 0; ffs[i].name; i++)
-- psiconv_list_add(fileformat_list,ffs+i);
-+ for (i = 0; psiconv_ffs[i].name; i++)
-+ psiconv_list_add(fileformat_list,psiconv_ffs+i);
- }
diff --git a/mobile/plptools/DEPENDS b/mobile/plptools/DEPENDS
index cf4a550..730f684 100755
--- a/mobile/plptools/DEPENDS
+++ b/mobile/plptools/DEPENDS
@@ -1,6 +1,2 @@
depends g++ &&
-optional_depends kdelibs \
- "--enable-kde" \
- "--disable-kde" \
- "for psion:/ kioslave and Kpsion"
-
+depends fuse
diff --git a/mobile/plptools/DETAILS b/mobile/plptools/DETAILS
index 15751cc..f326987 100755
--- a/mobile/plptools/DETAILS
+++ b/mobile/plptools/DETAILS
@@ -1,8 +1,8 @@
SPELL=plptools
- VERSION=0.17
+ VERSION=0.19
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
-
SOURCE_HASH=sha512:0b977580e52e3a598ef55cc60ada9563191dc60da50c99896afcf559fc6abc6b248f638d89b53f452882adf1051c55122b3aef0dca704e21fa672a0c295d9d09
+
SOURCE_HASH=sha512:4097b5f83bad2484d764615ad63d1e4cca455e9880021dae7e1c93b0e1268d120deee744fa32bfedbc0bfbfd6d71b40eef383543575487a6315f075fa40178ce
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://plptools.sourceforge.net/
ENTERED=20060224
@@ -13,14 +13,8 @@ Libraries and utilities to communicate with a Psion
Palmtop. A daemon
(ncpd) handles the serial connection and provides it's services on a local
TCP socket. Several frontends using these services are part of the package:

- * plpbackup, a command-line backup program.
* plpftp, a FTP-like frontend with some extensions.
* sisinstall, a SIS package installer.
- * plpnfsd, a daemon, providing the Psion's file services via a nfs-mounted
- directory.
+ * plpfuse, a FUSE mount program for mounting Psion to linux fs.
* plpprintd, a print server for printing via PC.
-
-and optionally (KDE dependency) support for a new protocol named
-"psion:" (KIOslave) Backup, restore and format can be done by a separate
-standalone program "KPsion".
EOF
diff --git a/mobile/plptools/HISTORY b/mobile/plptools/HISTORY
index 5be7ffd..11238bc 100644
--- a/mobile/plptools/HISTORY
+++ b/mobile/plptools/HISTORY
@@ -1,3 +1,14 @@
+2008-01-28 Lubomir Blaha <tritol AT trilogic.cz>
+ * DEPENDS: removed kdelibs (no longer needed)
+ added fuse (for plpfuse)
+ * DETAILS: updated spell to 0.19
+ removed plpbackup, plpnfsd and KIOslave from description
+ added plpfuse to description
+ * PRE_BUILD: removed --without-arts
+ added --without-initdir and FUSE options
+ * init.d/plpfuse, init.d/plpprintd, init.d/psion.conf: created
+ * init.d/psion: changed to SMGL init
+
2007-06-20 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* DEPENDS: added g++
* PRE_BUILD: added for disabling arts
diff --git a/mobile/plptools/PRE_BUILD b/mobile/plptools/PRE_BUILD
index 3928288..db26fd4 100755
--- a/mobile/plptools/PRE_BUILD
+++ b/mobile/plptools/PRE_BUILD
@@ -1,5 +1,2 @@
-default_pre_build &&
-
-# manual --without-arts
-sed -i -e '31969 s,^.*$,},' -e '32034 s,^.*$,},' -e '32336 s,^.*$,},' \
- -e '32401 s,^.*$,},' $SOURCE_DIRECTORY/configure
+OPTS="$OPTS --without-initdir CPPFLAGS=-D_FILE_OFFSET_BITS=64" &&
+default_pre_build
diff --git a/mobile/plptools/init.d/plpfuse b/mobile/plptools/init.d/plpfuse
new file mode 100755
index 0000000..fa38e6e
--- /dev/null
+++ b/mobile/plptools/init.d/plpfuse
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+. /etc/sysconfig/psion
+
+NAME="Psion FUSE mount"
+PROGRAM=/usr/sbin/plpfuse
+ARGS="$PLPFUSE_PORT $PLPFUSE_MOUNTPOINT $PLPFUSE_FUSEOPT"
+RUNLEVEL=3
+NEEDS="psion"
+
+. /etc/init.d/smgl_init
+
+# fix to unmout fuse mounted directory
+stop ()
+{
+ echo "Stopping $NAME..."
+ killproc $PROGRAM
+ umount $PLPFUSE_MOUNTPOINT
+}
diff --git a/mobile/plptools/init.d/plpprintd
b/mobile/plptools/init.d/plpprintd
new file mode 100755
index 0000000..6da0fa5
--- /dev/null
+++ b/mobile/plptools/init.d/plpprintd
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+. /etc/sysconfig/psion
+
+NAME="Psion print server"
+PROGRAM=/usr/sbin/plpprintd
+ARGS="$PLPPRINTD_ARGS"
+RUNLEVEL=3
+NEEDS="psion"
+
+. /etc/init.d/smgl_init
+
diff --git a/mobile/plptools/init.d/psion b/mobile/plptools/init.d/psion
index ee5a7a2..6a9dac7 100755
--- a/mobile/plptools/init.d/psion
+++ b/mobile/plptools/init.d/psion
@@ -1,107 +1,11 @@
#!/bin/bash
-PROGRAM=/usr/sbin/ncpd
-NAME="PSION SUPPORT"
-RUNLEVEL=3
-#
-# psion Starts ncpd/plpnfsd.
-#
-# chkconfig: 2345 45 10
-# description: This facility enables connectivity to a Psion series 5.

-# Source function library.
-. /etc/init.d/smgl_init
-
-[ -f /usr/sbin/ncpd ] || exit 0
-[ -f /usr/sbin/plpnfsd ] || exit 0
-[ -f /usr/sbin/plpprintd ] || exit 0
-[ -f /etc/sysconfig/psion ] || exit 0
. /etc/sysconfig/psion

-start() {
- echo "Starting Psion support ..."
- RETVAL=0
- if test "$START_NCPD" = "yes" ; then
- echo -n " ncpd: "
- daemon /usr/sbin/ncpd $NCPD_ARGS
- RETVAL=$?
- echo
- fi
- if [ $RETVAL -eq 0 ] ; then
- if test "$START_PLPNFSD" = "yes" ; then
- echo -n " plpnfsd: "
- daemon /usr/sbin/plpnfsd $PLPNFSD_ARGS
- RETVAL=$?
- echo
- fi
- if test "$START_PLPPRINTD" = "yes" ; then
- echo -n " plpprintd: "
- daemon /usr/sbin/plpprintd $PLPPRINTD_ARGS
- RETVAL=$?
- echo
- fi
- fi
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/psion
- return $RETVAL
-}
-
-stop() {
- echo "Stopping Psion support ..."
- RETVAL=0
- if test "$START_PLPNFSD" = "yes" ; then
- echo -n " plpnfsd: "
- killproc plpnfsd -HUP
- WAIT=5
- while test $WAIT -gt 0 ; do
- test -z "`pidofproc plpnfsd`" && break;
- sleep 1 # allow plpnfsd flushing it's cache
- WAIT=`expr $WAIT - 1`
- done
- test -z "`pidofproc plpnfsd`" || killproc plpnfsd
- echo
- fi
- if test "$START_PLPPRINTD" = "yes" ; then
- echo -n " plpprintd: "
- killproc plpprintd
- echo
- fi
- if test "$START_NCPD" = "yes" ; then
- echo -n " ncpd: "
- killproc ncpd
- RETVAL=$?
- echo
- fi
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/psion
- return $RETVAL
-}
-
-restart() {
- stop
- start
-}
-
-# See how we were called.
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- status)
- status ncpd
- status plpnfsd
- status plpprintd
- ;;
- restart|reload)
- restart
- ;;
- condrestart)
- test -f /var/lock/subsys/psion && restart || :
- ;;
- *)
- echo "Usage: psion {start|stop|status|restart|reload|condrestart}"
- exit 1
-esac
+NAME="Psion serial connection daemon"
+PROGRAM=/usr/sbin/ncpd
+ARGS="$NCPD_ARGS"
+RUNLEVEL=3

-exit $?
+. /etc/init.d/smgl_init

diff --git a/mobile/plptools/init.d/psion.conf
b/mobile/plptools/init.d/psion.conf
new file mode 100644
index 0000000..105492a
--- /dev/null
+++ b/mobile/plptools/init.d/psion.conf
@@ -0,0 +1,5 @@
+NCPD_ARGS="--baudrate=115200"
+PLPPRINTD_ARGS=""
+PLPFUSE_PORT=""
+PLPFUSE_MOUNTPOINT="/mnt/psion"
+PLPFUSE_FUSEOPT=""



  • [SM-Commit] GIT changes to master grimoire by Lubomir Blaha (3050e068f439ddc4cd30a21d9a4039a70274bfdc), Lubomir Blaha, 01/31/2008

Archive powered by MHonArc 2.6.24.

Top of Page