Off-Topic > SCM EXtensions
SCM Basics
Jason W:
I will give thunderbird a shot soon, as openssl, gtk2, and such is no issue to either contain or use the gtk2.scm as a dep. The problem I am running into with some apps is a self contained dbus. At least when converting existing tczs, actually building the package from scratch may alleviate that issue.
transmission-gtk3 uses dbus well when dbus is a tcz. There is a simple way around not having tcz's as deps of scms in this case, perhaps by adding the below to the startup script that would install and start dbus if needed:
if [ ! -f /usr/local/tce.installed/dbus ]; then
su tc -c "tce-load -i dbus.tcz" || su tc -c "tce-load -iw dbus.tcz"
fi
if [ "$(/usr/local/etc/init.d/dbus status)" != "1" ]; then
/usr/local/etc/init.d/dbus start
fi
I am not on TC so I can't verify the correctness of that, but that is a general idea. I am still pondering on how to handle dbus or similar things in the self contained apps.
Jason W:
Thunderbird.scm is uploading now, depends on gtk2.scm. Dbus is optional, so noted in the info file to start it if desired, but the needed libs to run are included.
bmarkus:
Google's GO Language compiler creates a single selfcontained executable which fits nicely to SCM. Of course for new developments.
Language is interesting and efficient, worth to take a look at http://golang.org/
Jason W:
I will take a look at it soon, but of course anyone is welcome to get to it first. I am unfamiliar with Go, so I would have to learn a little to be able to test the results.
bmarkus:
Go is an interesting animal. In many aspects it looks an interpreted language like Python with nics data structures and and extensive module library. Of cource there are not onéy similarities. But you will find it familiar in a short time.
Documentation is good generally and mainly it is targeting LINUX, next is WINDOWS. Less developed is the ARM version.
There is a very active community also.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version