Google Summer of Code 2012 - accepted projects for LibreOffice
Google announced today the accepted students for Google Summer of Code 2011.
The students working on LibreOffice will be:
| Student | Title | Mentor |
| Andrzej Hunt | Smartphone remote control for LibreOffice Impress | Muthu Subramanian |
| ArturoPL | Tooling - More and better tests | Michael Stahl |
| Brennan Vincent | Implementing a Microsoft Publisher import filter for LibreOffice | Valek Filippov |
| Daniel Bankston | Calc Performance Improvements | Kohei Yoshida |
| Daniel Korostil | Lightproof improvements | László Németh |
| Gökcen Eraslan | Signed PDF export | Stephan Bergmann |
| iainb | Java GUI for Libre-Office Based Android App(s) | Tor Lillqvist |
| Marco Cecchetti | Enhanced Impress svg export filter | Thorsten Behrens |
| Matúš Kukan | Telepathy for collaboration | Eike Rathke (erAck) |
| Rafael | New templates picking UI | Cédric Bosdonnat |
Let the summer start immediately and let quality code fall like a spring rain!
Select element in system tray (Windows 7) using WDTP
VMWare Open Sources Windows Version Of Linux Desktop Testing Project
Summary from the article:
Linux Desktop Testing Project is a black box (GUI) testing library written in Python. LDTP works based on GNOME accessibility stack, so applications that are accessibility enabled can be automated. Currently GTK, Java Swing, Mozilla XUL, LibreOffice UNO, QT >= 4.8 are supported on Linux. Any GUI application running in Linux, Solaris, FreeBSD with the previous requirement can be automated. With recent addition of WinLDTP, tests in Windows environment can also be automated. This library has been tested with Windows XP SP3, Windows 7 SP1, Windows 8 beta. If the same application exists on both the platforms, with our experience automating VMware Workstation product, we have reused 95 per cent of test automation code across both the platforms, which is a huge win for the QA team. Just develop in one platform and make the minimal required changes to run on other platform and your tests are ready!
Thanks Diksha :-)
Announce: Windows version of LDTP - GUI test automation tool
slatternly typing
You heard it here first, unless you heard it somewhere else before.
CLI to upload image to openstack cloud
I work on automatic testing of one of our products that creates other projects.
And because there is a lot of clouds everywhere I want to use them too. We
have internally an OpenStack cloud (still Diablo release). So I need to solve
automatic uploading of images built in the Build Service. Below I describe my working version.
At first, for other cloud related tasks we are using the nova command (which
e.g. has also image-delete, but not add). For uploading we use
glance. I found a few obstacles which I separately describe and also provide
a solution.
Authentication
The first chalenge is authentication, as glance doesn`t use NOVA_*
environment variables. But it allows to use an authentication token. So we
just need to get such a token. With help of Martin Vidner we have this script,
that returns a valid token.
# cloud_auth_token.sh
OS_AUTH_URL="http://cloud.example.com:5000/v2.0"
OS_TENANT_NAME=$NOVA_USERNAME
OS_USERNAME=$NOVA_USERNAME
OS_PASSWORD=$NOVA_API_KEY
AUTH_JSON="{\"auth\":{\"passwordCredentials\":{\"username\": \"$OS_USERNAME\", \"password\":\"$OS_PASSWORD\"}, \"tenantName\":\"$OS_TENANT_NAME\"}}"
curl -s \
-d "$AUTH_JSON" -H "Content-type: application/json" \
$OS_AUTH_URL/tokens \
| python -c "import sys; import json; tok = json.loads(sys.stdin.read()); print tok['access']['token']['id'];"
What does it do? It calls OpenStack Identity API, passes credentials encoded
as JSON. The response is also JSON, so we use python that is already on the
system to parse the response and get the token.
Compressing the Image
The next challenge is compression of the image. We get a raw disk from the
build service and we extend it to have more than 15GB (we mirror there rpms
so we need this space). For resizing we use qemu-img from
virt-utils. If we simply upload this image it means that we send the whole
15GB over the network. Which is fine for one-time tasks, but for regular
testing it is a problem. Thanks to Christoph Thiel we solved it with the
conversion to qcow2. Qcow2 is also supported in OpenStack and qcow2 allows
compression. The final script for conversion:
qemu-img convert -c -f raw -O qcow2 img.raw img.qcow2 qemu-img resize img.qcow2 +10G
Using it Together
Now we have prepared an image and a helper script to get a cloud auth
token. So let’s upload the image.
cat img.qcow2 | glance -H cloud.example.com -A `sh cloud_auth_token.sh` add name='testing_img' is_public=False disk_format=qcow2 container_format=bare
Cleaning Up After Testing
We use it for testing and release new versions of the testing appliance often,
therefore we need cleaning up. It is quite simple with unix text utils:
for i in `nova image-list | grep "image_name" | sed "s/^|[[:space:]]\+\([[:xdigit:]-]\+\).*$/\1/"`; do nova image-delete $i; done
I hope that it helps you with automatic uploading of images to
OpenStack. It works for me with the Diablo release and there is no guarantee that it is the best way 
KDE vs. Gnome
LibreOffice 3.5 available for testing on openSUSE
I’m happy to announce first LibreOffice 3.5 packages for openSUSE. They are available in the Build Service LibreOffice:Unstable project. It provides many interesting features:
- better UI for header/footer handling
- multi-line input bar in Calc
- Import filter for Microsoft Visio documents
- enhanced custom shapes import
- modeless word count dialog
- improved font hinting for high quality docs
- more secure encryption algorithm (AES-256) for password protected files
- better displaying of non-printable characters on the end of line
- and much more
The current openSUSE packages are based on the LibreOffice 3.5.2 release. Please, look for more details about the openSUSE LibreOffice build on the wiki page.
The openSUSE LO team hopes that you will be happy with this release. Though, any software contains bugs and we kindly ask you to report bugs. It will help us to fix them in the future releases.
Known bugs:
- problems with KDE 4.8.2 from KDE:Distro:Factory project (bnc#755886)
Other information and plans:
The current LibreOffice-3.5 packages are based on the second bugfix release and should be pretty stable. I want to move them into the LibreOffice:Stable project within next two weeks. I just want to make sure that I did not do any mistake during packaging, e.g. breaking dependencies. Also the KDE4 integration need to be tested because it was not provided by the upstream build. Any feedback is welcome.
Plymouth in openSUSE Factory
As some of you know, I have been working on plymouth support in openSUSE. This was a feature that was requested already some time ago, but nobody found the time to actually implement it.
KDE:Unstable:SC has become alive again
I know that for quite some time the KDE:Unstable:SC repo didn’t contain any recent snapshots. The repo was used to test the 4.8.0 tarballs and since then no more updates took place.