!@#$% Spam...
Sorry for the annoyance, but it's better this way. Given that I'm not blogging too often, this shouldn't be much of an issue anyways.
PackageKit backend for Software Center: short week 9 report
Hi all,
It’s nice to write to you again. I’ve been having a 10 days vacation (that’s why there was no week 8 report), enjoyed it and now I’m back with fresh forces.
This short (started slowly on Tuesday) week’s activity regards:
- almost fixing a bug that prevents my PackageKit software-center from prime time: package information isn’t correctly refreshed after an installation/removal
- starting work on the openSUSE integration (the corresponding Distro class, removal of forgotten apt related imports, dependency identification and testing).
I will continue work on this side and hope that by the end of the next week, will have everything working and up for testing in openSUSE.
Cya
NB: I will have to provide for testing a trunk version of pygobject since a release is delayed by another awaited merge;
A utility for merging configuration / sysconfig files – Week 10 Report

Source: http://www.openclipart.org
Hello again,
this is my report for the 10th week of GSoC. Unfortunately i wasn’t able to create the beta packages i was hoping. There are still some issues to be resolved within the aug_process_tree that hopefully will be solved this weekend.
This week news:
– During some tests i carried out: small errors and space for small tweaks in code was found. Solved all of errors found.
– Code Improvements:
–>New function: struct tree **tree_get_children(struct tree * node)
–>More checks for null values etc in tree matching comparing etc
–>Better handling of comments and null labeled nodes within the configuration files parsed by augeas. I had an idea this week, after discussing with my mentor Michal, the idea was concerning the sorting of the comments and how not to mess with their order in the file. A solution was found based to the idea,at least temporary, and it is already implemented.
– Code Changes:
–>Changed functions:
—->struct tree** tree_child_sort_label(const augeas *aug,struct tree *node) now accepts the tree parent node as a parameter, changes in the code within
—->struct treeMatch* tree_compare_children(const augeas *aug,struct tree **first,struct tree **second) now accepts arrays of struct trees, changes in the code within
—->aug_process_tree still under constant changes.
The reason for all the above changes,the continuous code improvements and the delay in the completion of the aug_process_tree is based mainly due to the reason that i want to create functions that will be further useful by other developers of Augeas and will not just fulfill merging of sysconfig files but it will be possible to used/extended to other configuration files as well.
What is to be done:
-Finish aug_process_tree
-Beta Packages
-Test merging functions
-Code improvements?!
ITR with LibreOffice [India]
The goal of this endeavour is that no person who wants to file ITR and does not have MS Excel should suffer because of this partiality by the Government. But we are still a long way from this. The problem is, every year the form changes, since tax rules change, so this migration is going to be difficult in future. We need to get the Government / IT Department to stop favouring MS Excel. They are only making it harder for non-MS Office users. Kindly lets continue this discussion and effort to put pressure on the concerned people to make a change in this department.
KDE 4.7
According to the KDE Release Schedule today is KDE 4.7 day!!
So Happy KDE 4.7 day to you, I just wonder how many different servers in the world are busily compiling and building software for their respective distributions, I know its currently being built for openSUSE as we speak and should be available in the repositories sometime in the next 6 hours lets just see when the official release announcement comes.
openSUSE The Best Desktop Environment
If you see "Starter Edition" it means that most likely after 60 days you have to pay to upgrade to the full version of the software by purchasing a key card from either the supermarket or pc store.
Lets add onto this all the new hardware your going to purchase, Printer, Broadband Router, Scanner etc, each of these programs installs their own software as well as the required drivers which you really don't need!!
Lets take an example here:
O2 Broadband sends you a router - the router by its nature has a web page that you configure all the settings on at o2wirelessbox.lan but step 1 of the unnecessary installation CD states "Insert the CD and install O2Broadband Software" so lets take a look at this.
What does it install? well it installs some daft utility that makes your pc do the work that the router does anyway - what is the point of that? Second it installs a ton of bookmarks that just clutter up your browser and again totally not required.
May advice? use the CD as a new coaster for your cup of tea its pointless!!
Look let me tell you a little secret..
openSUSE is a desktop operating system with graphical environment much like Windows is to Dos (yes believe it or not Dos does still exist underneath all that bloat of Windows).
What's more it comes with a large selection of Pre Installed Applications that are not restricted in terms of days before you need to pay again.
All the applications are fully functional and most have a choice of which one you can use.
3 different office productivity suites (LibreOffice, KOffice2, Gnome Office (AbiWord, gNumeric))
5 different web browsers (Chromium, Opera, Epiphany, Firefox, Konqueror)
Accounting and Finance, Graphic Design, Email, Chat, Instant Messeging
If your running a business paying just 60 quid for openSUSE versus £1000's for Licences for Windows products makes much more sense.
Plus he is the big + if your a small business openSUSE has no licence restrictions and as your business grows you can use the same installation cd on each machine without needing to purchase additional ones!
So to sum up, openSUSE removes bloat ware because Manufacturers don't write it for openSUSE, use the web based configuration utilities its what its their for.
openSUSE removes time limitations on that new computer you just bought.
As your business expands your software budget stays exactly the same.
Bargain!
ruby-dbus 0.7.0 works with 1.9.2 again
- Added ASystemBus and ASessionBus, non-singletons useful in tests and threads.
- Fixed handling of multibyte strings (Issue#8, by Takayuki YAMAGUCHI).
- Allow reopening of a dbus_interface declaration (Issue#9, by T. YAMAGUCHI).
- Fixed ruby-1.9.2 compatibility again (Issue#12).
- Fixed authentication on BSD (Issue#11, by Jonathan Walker).
- Fixed exiting a nested event loop for synchronous calls (reported by Timo Warns).
- Fixed introspection calls leaking reply handlers.
- "rake test" now works, doing what was called "rake env:test"
A utility for merging configuration / sysconfig files – Week 9 Report

Source: http://www.openclipart.org
Hello,
Exciting news for the project this week. After solving the problem with the comments and the tree representation of the sysconfig files in Augeas, there was a big leap in the project’s progress. By having test data and through debugging i was able to complete the match algorithm.
The program is now able to traverse through two trees / files, make the necessary matches between the nodes of these two trees and provide the appropriate information to the later stages. That of merging.
What exactly have been done in the previous week:
– Tree representation of sysconfig files
– Matching between two trees nodes completed
– Sorting of labels (Small Fixes)
– tree_compare function complete
– Tree traversal of aug_process_trees ( revisited)
What is for next week:
– Finish merging functions for aug_process_trees ( I feel optimistic that i will surely complete this next week due to the reason that matching was completed)
– Create first beta packages
– Test Test Test
– Improve code
LXDE and gtk3
GTK3 will slowly replace the “old” gtk2, and of course, if we don’t want to be left behind we have to move to gtk3 eventually.
Even if slowly (we need horse power! –> yes we need you too!!) LXDE is being ported too. Nothing has been released yet, but a good deal of work is actually into git repositories.
X11:lxde:gtk3 project
Thanks to openSUSE Build Service (public instance of the Open Build Service) we are currently able to get git code and build it auto-magically (thanks god you created obs _services
)
Right now, only five packages don’t want to build with gtk3 and they are: gpicview, libfm, lxmusic, lxpanel, pcmanfm. Everything else builds fine. As a side note, lxdm gtk greeter build but seems to crasch.
Please test those packages and report in our mailing list or even better upstream your issues.
To conclude, right now i don’t feel comfortable to push into factory gtk3 packages, so 12.1 most probably will stuck with the well know stable gtk2 packages.
Also, i’m actually working to use obs, to provide gtk3 enabled git nightly build not only to openSUSE (actually only >= 11.4) but also to Fedora 15 (already building with many successful packages) and Ubuntu/Debian. So if you are .deb packagers, please let me know, i need your help. Contact me and the lxde team using our mailing list opensue-lxde@opensuse.org
Have a great day,
Andrea
SSH connection automation
- send my public key to server
- upload my screen configuration file
- create an alias (because ssh'ing manually is a truly hassle each time I want to connect!) to connect to the server and reattach or create a new screen session
- Change its permissions to 700 (security freak? Oh well...)
#!/bin/bash# $1 = [remote_user@]remote_host# $2 = [alias name]BIN=$HOME/binif [ "$#" -lt 1 ] || [ "$#" -gt 2 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; thenecho "Usage: $0 [user@]machine [alias]" >&2exit 1fiif [ "$#" -eq 2 ]; then(cat <<EOF
#!/bin/bashssh $1 -t screen -x -REOF) > $BIN/$2chmod u=rwx,go= $BIN/$2fissh-copy-id -i ~/.ssh/id_rsa.pub $1 > /dev/null 2>&1scp ~/.screenrc $1:~/ > /dev/null 2>&1exit 0
Macnux:~ carlos$ setup-machine -hUsage: /Users/carlos/bin/setup-machine [user@]machine [alias]Macnux:~ carlos$ setup-machine cgoncalves@cgoncalves.info cgoncalvescgoncalves@cgoncalves.info’s password: *****************Macnux:~ carlos$ cat bin/cgoncalves#!/bin/bashssh cgoncalves@cgoncalves.info -t screen -x -RMacnux:~ carlos$ cgoncalves[SSH connection established and attached to screen]
