Lodahl's blog

22 February 2011

Open source is not always free (of charge)

The Document Foundation, the organization behind LibreOffice is asking for financial help to establish a foundation. The base capital must be at least € 50,000 - it is the requirements in Germany, where the foundation is to be established.

The reason for establishing a solid foundation is that users, volunteers and commercial stakeholders most want to do business with an organization that has a solid financial foundation. If a large organization faces to choose office suite, then arises the doubt itself: Dare we trust that their existence in one or two years ahead? If there is no money in the bank, they might doubt the viability of the project long term.

And further more there are several expenses that can't be covered by volunteers work and there will always be a requirement for some cash. The Document Foundation has, among other somethings, requested trademark registrations in Europe and the U.S. The foundation has also purchased internet domains. Furthermore, there is need for legal services and advise.

A contribution to The Foundation Document shall not be considered as a price for using LibreOffice. LibreOffice is free to use! But a contribution is to be considered as a recognition of the many volunteer hours that are being used around the world.

In Magenta we use LibreOffice, and we make money by providing service to our customers. Were it not for open source software - including OpenOffice and LibreOffice - we could not lift the tasks for our customers as we do. We have therefore chosen to donate an amount of money to The Document Foundation. Also because we think that LibreOffice is a healthy and reliable project.

If you would like to help The Foundation Document, you can find contact and account information at: http://challenge.documentfoundation.org/

15 February 2011

Silent installation of LibreOffice on Windows

The product packaging and installation procedure of LibreOffice for Windows are rather different from earlier experiences from OpenOffice.org. LibreOffice comes with one installation file containing all languages. Further more you need to download and install the help files separately.


If you are a private user this isn't any problem. Just download the two files, install it. You can change the language under Tools – Options – Language settings – Language.

But what if you are to install LibreOffice in a larger scale? Companies, organizations and public authorities can't install LibreOffice individual on each machine.

Most IT departments uses some kind of installation tool like Zenworks or IBM Tivoli. No matter which you need to know some insight knowledge to succeed.

In this article I will demonstrate some techniques using simple batch scripting but you can probably 'translate' these demonstrations to your own tool.

Preparing the installation files

Download

First you need to do is to download the two relevant installation files:

  • LibO_3.3.0_Win_x86_install_multi.exe

  • LibO_3.3.0_Win_x86_helppack_da.exe

You can find the files here: http://da.libreoffice.org/hent-libreoffice/ or http://www.libreoffice.org/download/

When you have downloaded the files you should execute and run the installation.


Select a suitable spot where you can extract the content. Be carefull not to mix the two. Extract the content to two separate subfolders e.g.,: “Program” and “Help”.



After extracting the content you should abort the installation (Cancel).

Extracting content from the executables can be done silently with the following command:

LibO_3.3.2_Win_x86_install_multi.exe /EXTRACTONLY=ON /S /D=c:\Path\to\Extracted\Installer\Files



The installation package is now extracted but not installed yet.

Installation

Because we need to atomize the installation process we will create a simple Windows batch file named “Install.bat” in the form of a normal text file. You can use Notepad or any other plain text editor. The content could look like this:

@echo off
CD "Program"
msiexec /qn /i libreoffice33.msi /L* ../logfile1.txt
CD ..
CD "Help"
msiexec /qn /i libreoffice33.msi /L* ../logfile2.txt

Please note that the two folders “Program” and “Help” is one level below the folder where “Install.bat” is. There will be created two log files (the /L parameter is optional) so you can detect errors if any.

Execute the bat file by double-clicking on the icon. You will see an empty dos window while the installation runs. It takes several minutes.


This window will close when the installation of LibreOffice is finalized.

Language settings

The version you just installed contains all (or most) languages but the graphical interface is in English. You can manually change this in “Tools – Options – Language Settings – Language” and change User interface to any other language of your choice. The language will be changing the next time you launch LibreOffice.

This (and all other) personal settings are stored in one specific file (registrymodifications.xcu). So if you exchange this file after installation with a simular file with the correct language settings, you are controlling the selected language in the GUI. You can create a fresh version of the file by installing LibreOffice on a “clean” computer and then change the language (without changing anything else. After that you can simply pick the file from “C:\Documents and Settings\[BRUGERNAVN]\Application Data\LibreOffice\3\user“ and distribute it to all users.

The installation file now looks like this:

@echo off
CD "Program"
msiexec /qn /i libreoffice33.msi /L* ../logfile1.txt
CD ..
MKDIR "%userprofile%\Application Data\LibreOffice\3\user"
Copy registrymodifications.xcu "%userprofile%\Application Data\LibreOffice\3\user" /y
CD "Help"
msiexec /qn /i libreoffice33.msi /L* ../logfile2.txt

Select language using an extension

Its even a better idea to control the default language by using an extension. I have created an example (http://blog.magenta-aps.dk/wp-content/uploads/2011/02/DanishUI.oxt). If you want to change the language you can simply open the oxt-file using a zip-program and edit the linguistic.xcu:

Installing the extension

The extension can be installed in several ways. One is to activate the UNOPKG mechanisme but with LibreOffice you can simply extract the content of the oxt file to the extension folder in LibreOffice: %PROGRAMFILES%\LibreOffice 3\share\extensions\DanishUI\META-INF\ . The batch file looks like this:

MD "%PROGRAMFILES%\LibreOffice 3\share\extensions\DanishUI\META-INF"
copy DanishUI\* "%PROGRAMFILES%\LibreOffice 3\share\extensions\DanishUI\"
copy DanishUI\META-INF\* "%PROGRAMFILES%\LibreOffice 3\share\extensions\DanishUI\META-INF\"

The oxt file is as mentioned above a zip file. It's not possible to unzip the content using simple batch programming, so you might have to extract it manually. The other operations are simple creating the folder and copying the files.

Install only the one language

A third and even better solution will be only to install the language you need. Unfortunately this is only possible by manipulating the msi file.

The program Orca (http://www.softpedia.com/get/Authoring-tools/Setup-creators/Orca.shtml) is a free tool for manipulating Windows installation files. I will actually recommend that you don't change the msi file but creates a new so called transformation file. This is a kind of ammendmend to the installation file.

What you actually do is to open the msi file in Orca and then attaches the existing transformation file for your language e.g., trans_da.mst. When you are done you can save (generate) a new transformation file with another name.

Orca

In Orca you can find Property in the left meny and then find the languages in the right window. All languages but the one you want to install must be changed to 0 (False). Danish is IS1030. You can find a (more or less) complere list of language codes here: http://www.science.co.il/language/Locale-Codes.asp?s=hexadecimal .

When you install LibreOffice you should attach the transformation file like this:

msiexec /qn /i libreoffice33.msi TRANSFORMS=trans_dansk.mst
  • trans_dansk.mst is the new transformation file we created

  • (trans_da.mst is the original transformation file for Danish)

Please have in mind that the transformation file (mst) must match the installation file (msi) precisely. So you have to generate a new mst file for each installation file you use.

Silent deinstallation

The similar batch file for deinstallation (uninstall.bat) could look like this:

@echo off
CD "Help"
msiexec /qn /x libreoffice33.msi /L* ../Logfile3.txt
CD ..
CD "Program"
msiexec /qn /x libreoffice33.msi /L* ../Logfile4.txt
RMDIR /S /Q "%userprofile%\Application Data\LibreOffice"

Please note that this batch file also removes all user settings. If you don't want to remove the settings you should remove the line “RMDIR…” from the batch file.

Note:

The file structure in these examples are from an English Windos XP. Other versions and languages of Windows might use other file paths.

28 September 2010

Wauw - what a day

I must admit it wasn't just another day at the office. It was the first day with LibreOffice.

I saw discussions on freenode about how to compile localized version. I saw Twitter run more than 800 tweets per hour and I have heard about Catalan hackers talk with Spanish journalists. The last thing - I have heard - doasn't happen every day.

Most comments has been "YES - thats just what I have been waiting for!" Only a few has been critisizing what we have done. And again a few that doesn't like the name. We can't make everyone happy.

By the way, if you don't know what I'm talking about, try http://www.documentfoundation.org and after that go to http://www.petitionspot.com/petitions/documentfoundation and sign the petition.

OpenOffice.org has been liberated


OpenOffice.org Community announces The Document Foundation
The community of volunteers developing and promoting OpenOffice.org sets up an independent Foundation to drive the further growth of the project The Internet, September 28, 2010 - The community of volunteers who develop and promote OpenOffice.org, the leading free office software, announce a major change in the project’s structure. After ten years’ successful growth with Sun Microsystems as founding and principle sponsor, the project launches an independent foundation called "The Document Foundation", to fulfil the promise of independence written in the original charter.

The Foundation will be the cornerstone of a new ecosystem where individuals and organisations can contribute to and benefit from the availability of a truly free office suite. It will generate increased competition and choice for the benefit of customers and drive innovation in the office suite market. From now on, the OpenOffice.org community will be known as "The Document Foundation".

Oracle, who acquired OpenOffice.org assets as a result of its acquisition of Sun Microsystems, has been invited to become a member of the new Foundation, and donate the brand the community has grown during the past ten years.

Pending this decision, the brand "LibreOffice" has been chosen for the software going forward.
The Document Foundation is the result of a collective effort by leading independent members of the OpenOffice.org community, including several project leads and key members of the Community Council. It will be led initially by a Steering Committee of developers and national language projects managers. The Foundation aims to lower the barrier of adoption for both users and developers, to make LibreOffice the most accessible office suite ever.

The Foundation will coordinate and oversee the development of LibreOffice, which is available in beta version at the placeholder site: http://www.libreoffice.org. Developers are invited to join the project and contribute to the code in the new friendly and open environment, to shape the future of office productivity suites alongside contributors who translate, test, document, support, and promote the software.

Speaking for the group of volunteers, Sophie Gautier - a veteran of the community and the former maintainer of the French speaking language project - has declared: "We believe that the Foundation is a key step for the evolution of the free office suite, as it liberates the development of the code and the evolution of the project from the constraints represented by the commercial interests of a single company. Free software advocates around the world have the extraordinary opportunity of joining the group of founding members today, to write a completely new chapter in the history of FLOSS".

FSF President Richard Stallman welcomed LibreOffice release and it's stated policy of only recommending free software. "I'm very pleased that the Document Foundation will not recommend nonfree add-ons, since they are the main freedom problem of the current OpenOffice.org. I hope that the LibreOffice developers and the Oracle-employed developers of OpenOffice will be able to cooperate on development of the body of the code".

"The Document Foundation supports the Open Document Format, and is keen to work at OASIS to the next evolution of the ISO standard", says Charles Schulz, member of the Community Council and lead of the Native Language Confederation. "The Document Foundation brings to the table the point of view of developers, supporters and users, and this might accelerate the adoption process of ODF at government and enterprise level".

Chris DiBona, Open Source Programs Manager at Google, Inc., has commented: "The creation of The Document Foundation is a great step forward in encouraging further development of open source office suites. Having a level playing field for all contributors is fundamental in creating a broad and active community around an open source software project. Google is proud to be a supporter of The Document Foundation and participate in the project".

"Viva la LibreOffice", said Guy Lunardi, product management Director at Novell. "We look forward to working with the Document Foundation to help develop a solid open source document software offering. Ultimately, we envision LibreOffice do for the office productivity market what Mozilla Firefox has done for browsers".

Jan Wildeboer, EMEA Open Source Affairs at Red Hat, has commented: "All over the world, users, companies and governments are moving to innovative technology solutions based on Open Standards. Red Hat is proud to join this effort".

Mark Shuttleworth, founder and major shareholder of Canonical, the makers of Ubuntu, has declared: "Office productivity software is a critical component of the free software desktop, and the Ubuntu Project will be pleased to ship LibreOffice from The Document Foundation in future releases of Ubuntu. The Document Foundation's stewardship of LibreOffice provides Ubuntu developers an effective forum for collaboration around the code that makes Ubuntu an effective solution for the desktop in office environments".

"The Open Source Initiative has observed a trend back towards open collaborative communities for open source software", said Simon Phipps, a Director of the Open Source Initiative. "We welcome The Document Foundation initiative and look forward to the innovation it is able to drive with a truly open community gathered around a free software commons, in the spirit of the best of open source software".

"We welcome the LibreOffice project to the free software community as we believe there is a great opportunity for them to enrich the free desktop experience." says Stormy Peters, Executive Director of the GNOME Foundation. "Over the years the GNOME community has been supportive of OpenOffice together with applications in the GNOME Office suite, such as Gnumeric, GnuCash and Abiword. As LibreOffice joins the free software community, we believe that free desktop users will benefit from a rich set of choices."

Patrick Luby, Chief Engineer of NeoOffice says "I am happy to see a new, independent LibreOffice foundation to continue creating an office suite with enhanced features, pushing OpenOffice.org in new, exciting directions".

Ed Peterlin, Chief Visionary at NeoOffice says "I am excited we will be able to continue bringing excellent features from LibreOffice to the Mac platform. In the future I also hope to extend our web based collaboration tools to support LibreOffice users on all platforms".

Chris Halls, UK Managing Director of Credativ, an independent consulting and services company specialising in the development, implementation and support of open source solutions: "Welcomes the foundation as an opportunity to provide a new focus for the community contributors and allow them to move the project forward together. In our business, we support thousands of office desktops in many different environments. It is vital that the feedback and code that we can contribute as part of our day to day work can flow easily into the project".

"The creation of The Document Foundation is in line with the vision BrOffice.org - Projeto Brasil has for the Brazilian OpenOffice.org community. Our country already has a large investment in the Open Document Format and the software tools fully suporting it. BrOffice.org and The Document Foundation share the same values and objectives and we are more than happy to be part of it.”, says Claudio Filho, Chairman of the BrOffice.org NGO of Brazil.

The Norwegian foundation "Åpne kontorprogram på norsk" ("Open Office Suites In Norwegian") is responsible for the Norwegian translation of OpenOffice.org, and for promoting OpenOffice.org in Norway. So far the Norwegian project has been administered and financed mainly by counties and municipalities, but recently the foundation has started a process for getting commercial companies more actively involved. We realise the need for a more substantial commercial participation to establish a long-term sustainable project. Our foundation notes that the other Nordic countries, a majority of the European countries, as well as a range of worldwide big companies like Google, Novell, Canonical and Red Hat are now cooperating with The Document Foundation. We believe this is the right way forward also for Norway. A cooperation with The Document Foundation will make it easier to create more innovative and user-friendly solutions integrated with the LibreOffice suite. Eliminating license barriers and obtaining easy access to source code and standards will facilitate further development of related and integrated surrounding products.

Additional information, including the mission, are available on the web site of The Document Foundation: http://www.documentfoundation.org

Biographies and pictures of the founding members of The Document Foundation are available here: http://www.documentfoundation.org/foundation/

There is a specific page for people interested in contributing to the development of the code: http://www.documentfoundation.org/contribution/

The Document Foundation has a Twitter account at http://twitter.com/docufoundation and an Identi.ca account at http://identi.ca/docufoundation

The announcements mailing list is at announce+subscribe@documentfoundation.org

The discussion mailing list is at discuss+subscribe@documentfoundation.org
The IRC channel is #documentfoundation at irc.freenode.net

The Document Foundation

The Document Foundation is an independent self-governing democratic Foundation created by leading members of the OpenOffice.org Community. It continues to build on the Foundation of ten years' dedicated work by the OpenOffice.org community, and was created in the belief that an independent Foundation is the best fit to the Community's core values of openness, transparency, and valuing people for their contribution. It is open to any individual who agrees with our core values and contributes to our activities, and welcomes corporate participation, e.g. by sponsoring individuals to work as equals alongside other contributors in the community.

08 June 2010

Important recommendations omitted

Why was important recommendations from McKinsey omitted in the report 'A professional and well driven police' to the Parliament?

From the report from McKinsey with the financial analyzes:

The section 'Use of cheaper software':

That in stead (of Microsoft Office) works with a scenario with a shift to OpenOffice.org or Star Office, as the product is called, when delivered from SUN (Oracle). By using a well know supplier such as SUN(Oracle), that now also develops and supports MySQL as well as Star Office, it will be assured that support is available with the quality the police needs. (p. 83-84)

A shift to OpenOffice.org or Star Office will according to McKinsey result in savings around 100 mio DKK untill 2017. McKinsey has also analyzed the initial costs that comes with the shift, and the estimates are between 2 and 7½ mio DKK. An investment that pays of after just a few months (p. 84).
It is further noted that shift to open source vill call for investments in education of the IT-staff and end users. These investments are estimated to be no more that 1 mio DKK., wich is a very small amount in comparison to the possible cost savings. Both in Denmark and international exists good examples of companies and organizations, that has taken advantage of the potential cost savings by shifting to OpenOffice products (p. 85).

The low investments required combined with the large cost savings is causing McKinsey to recommend:
An open source strategy that clearly recommends alternative software purchase like MySQL for especially database solutions to reduce costs (p. 86).

These recommendations is completely omitted in the official report from the Minister of Justice. The section about 'use of cheaper software' only says
The police is today using Microsoft Office 2007, wich is infact a newer version than most companies and organizations. In the current agreement with Microsoft it's planned to upgrade to a newer version within 3-4 years, but the benefits of such upgrade will be very limited. McKinsey therefor recommends that the upgrade of Microsoft Office and Windows is postponed, wich will reduce costs with a yearly amount of 13 mio. DKK (p. 85).

The list of relevant references, e.g., Swedish police, the Frensh Gendarmerie etc. are completely left out in the official report.