s-t-b 2.1.0

View: New views
3 Messages — Rating Filter:   Alert me  

s-t-b 2.1.0

by marcus-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I noticed this new dispatcher in s-t-b 2.1.0.  I assume that the init
script for s-t-b should now call this dispatcher instead of the
SystemToolsBackend.pl script?  It would be nice if a sample init script
could be included in the distribution to help ports.  I'd be happy to
offer up FreeBSD's:

#!/bin/sh
#
# PROVIDE: system-tools-backends
# REQUIRE: DAEMON dbus
#

. /etc/rc.subr
. /usr/local/etc/gnome.subr

system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}}

name=system_tools_backends
rcvar=`set_rcvar`
command="/usr/local/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl"
pidfile="/var/run/system-tools-backends.pid"

load_rc_config ${name}
run_rc_command "$1"

Thanks.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome@...
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcIKEb2iPiv4Uz4cRArP1AJ9lHZLp+Pzikn9pFjkwDajwWbNH+wCeM826
JmkEESXLt0H+ZP6lMFgYfyY=
=03ed
-----END PGP SIGNATURE-----
_______________________________________________
system-tools-list mailing list
system-tools-list@...
http://mail.gnome.org/mailman/listinfo/system-tools-list

Re: s-t-b 2.1.0

by Carlos Garnacho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

Sorry, perhaps this change should have been announced more broadly. I'll
take this mail as an excuse to do that :)

<announce>

Main changes in system-tools-backeds 2.1.x:

The main program now is a C/GLib/DBus dispatcher
in /usr/bin/system-tools-backends. it launches its own private bus and
spawns the necessary configuration modules under request, those modules
shutdown after some inactivity time.

This reduces memory usage down to ~200Kb of writable memory during
inactivity, and will also allow to develop modules in other languages
for those who can't see a line of Perl code without vomiting ;)

</announce>

On Fri, 2006-12-01 at 14:29 -0500, Joe Marcus Clarke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I noticed this new dispatcher in s-t-b 2.1.0.  I assume that the init
> script for s-t-b should now call this dispatcher instead of the
> SystemToolsBackend.pl script?  It would be nice if a sample init script

That's right, perhaps the CLI should have been more abstracted since the
beginning (a shell script or something, dunno...)

> could be included in the distribution to help ports.  I'd be happy to
> offer up FreeBSD's:

Thanks, it would be a good idea to install initscripts for the distros
it recognizes, and a huge warning if it doesn't, will work on it soon.

where should that script be installed?

        Thanks!


>
> #!/bin/sh
> #
> # PROVIDE: system-tools-backends
> # REQUIRE: DAEMON dbus
> #
>
> . /etc/rc.subr
> . /usr/local/etc/gnome.subr
>
> system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}}
>
> name=system_tools_backends
> rcvar=`set_rcvar`
> command="/usr/local/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl"
> pidfile="/var/run/system-tools-backends.pid"
>
> load_rc_config ${name}
> run_rc_command "$1"
>
> Thanks.
>
> Joe
>
> - --
> Joe Marcus Clarke
> FreeBSD GNOME Team :: gnome@...
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFcIKEb2iPiv4Uz4cRArP1AJ9lHZLp+Pzikn9pFjkwDajwWbNH+wCeM826
> JmkEESXLt0H+ZP6lMFgYfyY=
> =03ed
> -----END PGP SIGNATURE-----
> _______________________________________________
> system-tools-list mailing list
> system-tools-list@...
> http://mail.gnome.org/mailman/listinfo/system-tools-list
_______________________________________________
system-tools-list mailing list
system-tools-list@...
http://mail.gnome.org/mailman/listinfo/system-tools-list

Re: s-t-b 2.1.0

by marcus-11 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos Garnacho wrote:
> Hi!
>
> Sorry, perhaps this change should have been announced more broadly. I'll
> take this mail as an excuse to do that :)

Thanks.  I got most of that from the README, but it wasn't clear that
this new dispatcher should be the command in the init script.  The
description below seems to confirm that it should be.

Joe

>
> <announce>
>
> Main changes in system-tools-backeds 2.1.x:
>
> The main program now is a C/GLib/DBus dispatcher
> in /usr/bin/system-tools-backends. it launches its own private bus and
> spawns the necessary configuration modules under request, those modules
> shutdown after some inactivity time.
>
> This reduces memory usage down to ~200Kb of writable memory during
> inactivity, and will also allow to develop modules in other languages
> for those who can't see a line of Perl code without vomiting ;)
>
> </announce>
>
> On Fri, 2006-12-01 at 14:29 -0500, Joe Marcus Clarke wrote:
> I noticed this new dispatcher in s-t-b 2.1.0.  I assume that the init
> script for s-t-b should now call this dispatcher instead of the
> SystemToolsBackend.pl script?  It would be nice if a sample init script
>
>> That's right, perhaps the CLI should have been more abstracted since the
>> beginning (a shell script or something, dunno...)
>
> could be included in the distribution to help ports.  I'd be happy to
> offer up FreeBSD's:
>
>> Thanks, it would be a good idea to install initscripts for the distros
>> it recognizes, and a huge warning if it doesn't, will work on it soon.
>
>> where should that script be installed?
>
>> Thanks!
>
>
> #!/bin/sh
> #
> # PROVIDE: system-tools-backends
> # REQUIRE: DAEMON dbus
> #
>
> . /etc/rc.subr
> . /usr/local/etc/gnome.subr
>
> system_tools_backends_enable=${system_tools_backends_enable-${gnome_enable}}
>
> name=system_tools_backends
> rcvar=`set_rcvar`
> command="/usr/local/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl"
> pidfile="/var/run/system-tools-backends.pid"
>
> load_rc_config ${name}
> run_rc_command "$1"
>
> Thanks.
>
> Joe
>
> --
> Joe Marcus Clarke
> FreeBSD GNOME Team :: gnome@...
> FreeNode / #freebsd-gnome
> http://www.FreeBSD.org/gnome
_______________________________________________
system-tools-list mailing list
system-tools-list@...
http://mail.gnome.org/mailman/listinfo/system-tools-list
> _______________________________________________
> system-tools-list mailing list
> system-tools-list@...
> http://mail.gnome.org/mailman/listinfo/system-tools-list

- --
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome@...
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcIkEb2iPiv4Uz4cRAjFhAJ0WlBmjCpLiC0Hc3Ix0ghQy10fnTwCaAtld
EiMwisY+GFO6QjVg8HX3yU8=
=Vyhx
-----END PGP SIGNATURE-----
_______________________________________________
system-tools-list mailing list
system-tools-list@...
http://mail.gnome.org/mailman/listinfo/system-tools-list