Announcing a new website: What can I do for LibreOffice!

Here at The Document Foundation, we’re always encouraging people to join our projects and community. Contributing to a well-known open source project is a great way to meet new people, have fun, build up skills and experience, and help to make the world a better place!

However, large FOSS projects can be daunting too. Our Get involved page aims to make the on-boarding process for newcomers easier, by breaking the process down into smaller steps, and we plan other improvements to that page.

But today, we’re announcing a new website targeted at potential contributors: What can I do for LibreOffice. This is inspired by What can I do for Mozilla, and much of the work was done by our awesome contributors from Albania – read their blog post about it here.

In “What can I do for LibreOffice”, visitors are asked what they’re interested in, and pointed to resources to get started. So instead of large web pages with walls of text, visitors can click around and find something that catches their eyes. The website source is on Gerrit if anyone has suggestions for updates or additions, and the site can be translated too.

Anyway, click here to check it out – and let us know what you think!

LibreOffice 6.3 on Linux, a statement

Following the availability of LibreOffice 6.3 Beta, there have been speculations about 32-bit compatibility based on a the missing 32-bit binaries for Linux.

We have prepared a short and a long statement to clarify the situation.

TL;DR

  1. The Document Foundation is ending the provision of 32-bit binaries, and NOT 32-bit compatibility as a whole.

  2. Distro vendors or anyone running a more current 32-bit Linux system can still create 32-bit versions of LibreOffice, as developers have not in any way removed 32-bit compatibility from the source code. Additionally, we are not removing any 32-bit builds that were previously created.

  3. Most Linux users are sourcing LibreOffice from their distro repositories, which are usually compiled against the distro’s version of the various external libraries. We do not anticipate distros dropping 32-bit LibreOffice packages.

  4. TDF does not anticipate the same decision happening for LibreOffice 32-bit binaries for Windows any time soon.

LONG

  1. During the last two years, the number of downloads of the 32-bit Linux distribution-neutral binaries provided by The Document Foundation have decreased to a very low number. Today, the time needed to compile, test, maintain and distribute those binaries is not worth the effort, based on current download numbers. So, TDF is ending the provision of 32-bit binaries, and NOT 32-bit compatibility as a whole.

  2. Today, 32-bit packages are very much the domain of specific Linux distros rather than a general user need. So, we are leaving them to distros, who will upstream fixes. Indeed, distro vendors or anyone running a more current 32-bit Linux system can still create 32-bit versions of LibreOffice, as developers have not in any way removed 32-bit compatibility from the source code. Additionally, TDF is not removing any 32-bit binaries that were previously created.

  3. Most Linux users are sourcing LibreOffice from their distro repositories, which are usually compiled against the distro’s version of the various external libraries. LibreOffice by itself ships a number of external components to avoid dependencies, while distros link against the versions of those components which are part of the distro anyway. TDF does not anticipate distros dropping 32-bit LibreOffice packages.

  4. The Document Foundation does not anticipate the same decision happening for Windows 32-bit binaries any time soon. Of course, if downloads of Windows 32-bit binaries from TDF mirror servers drop to the same very low number as Linux 32-bit packages, TDF will reconsider the situation.

Next C++ workshop: MSTs and Graph Implementations, 6 June at 18:00 UTC

Learn C++ features with the help of LibreOffice developers! We’re running regular workshops which focus on a specific topic, and are accompanied by a real-time IRC meeting. For the next one, the topic is MSTs and Graph Implementations. Start by watching this presentation:

Please confirm that you want to play a YouTube video. By accepting, you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

And check out the suggested EasyHacks.

Then join us for a discussion via our #libreoffice-dev IRC channel. You can ask experienced LibreOffice developers questions, and learn more about the language. We look forward to meeting you!

Month of LibreOffice, May 2019: The winners!

At the beginning of May, we started a new Month of LibreOffice, celebrating contributions all across the project. Well, May has come to a close now, so how many people got sticker packs throughout the month? Check it out…

It’s the best Month of LibreOffice ever, beating the previous one by 10! So congratulations to everyone who won a sticker pack – and thanks so much for your contributions. It’s great to see such a passionate community helping to bring powerful, free and open source software to the world.

Now, how can you claim your sticker pack? Click the 355 above, and if you see your name (or username) on that page, get in touch! Email mike.saunders@documentfoundation.org with your name (or username) from the wiki page so that we can check, along with your postal address, and we’ll send you these:

(Note: your address will only be used to post the stickers, and will be deleted immediately afterwards.) If you contributed to the project in May but you’re not on the wiki page, please let us know so that we can add you!

But there is one more thing…

For this Month of LibreOffice, we have a special bonus: 12 sticker winners have also been selected at random to get an exclusive LibreOffice glass mug! It looks like this:

And here are the winners:

  • Dave Barton
  • DaeHyun Sung
  • ve3oat
  • @muvon (Mastodon)
  • Platterbaff
  • Oliver Brinzing
  • Adam Kovacs
  • Mihail Balabanov
  • @RonneyGey (Mastodon)
  • Olexandr Pylypchuk
  • Seda Stamboltsyan
  • Durgapriyanka

Congratulations to you all! We’ll be in touch with details for claiming your mugs…

So, the Month of LibreOffice has finished – but we plan to do another one in November, with another opportunity to get cool merchandise! And, of course, you can join our friendly community at any time and contribute back to the project. Cheers!

Start developing LibreOffice! Registering with Git and Gerrit, and local settings

Please don’t use these instructions in practice – they become obsolete over time. Instead, follow the wiki article on gerrit.

(This post was originally written in Hungarian by Adam Kovacs for his blog. Thanks Adam!)

Want to start hacking on the LibreOffice source code? Start here! Follow the steps in this guide to enable automatic verification, so that you can submit your changes to the LibreOffice Git repository. If your code patches are accepted by other developers in the project, they will be added to the code for the next version, and then everyone in the world who uses LibreOffice will benefit from them.

This description does not include the submission (commit and push) of the patch, but only creates the preconditions for it.

If you get stuck at one of the points, reading these links can help:


Step 1 – Download the code

Create a directory (folder) for LibreOffice somewhere on your computer. At the command prompt (in a terminal in Linux, or eg Cygwin in Windows), access this folder and run the following command:

git clone https://gerrit.libreoffice.org/core libreoffice

Some notes:

  • You do not have to run “git init” after “git clone”
  • Just run the “git clone” command for the steps listed here; you don’t have to start autogen.sh and the compilation, unless you want to test your code modifications

Step 2 – Registering with Git

Git is a distributed version-control system for tracking changes in source code during software development. Register at: https://github.com.


Step 3 – Registering with Gerrit

What is a Gerrit? It complements Git. You can view patch files, messages, the results of the automatic tests of modifications, comments from senior programmers on the web interface, and whether your submitted patch has been accepted.

Register at: https://gerrit.libreoffice.org.

Fill in the following: username (no spaces and accents, example: adamkovacs), name (example: Adam Kovacs), email (example: something@valami.com). These can be found in the “Profile” and “Contact information” menu items.


Step 4 – Create SSH key

Linux:

ssh-keygen -C 'you@email.com'

Windows:

ssh-keygen.exe -C 'you@email.com'

After you run the command, you should also enter a password if you still have access to the files generated by the command, for example to commit code in your name. (The password will be required for “./logerrit submit master”, for example.)


Step 5 – Copying SSH public key into Gerrit

Copy the full contents of the id_rsa.pub file in the ~/.ssh/ folder into Gerrit by selecting SSH Public Keys.

In the ~/.ssh/ folder, create a file named “config” with this content:

Host logerrit gerrit.libreoffice.org
    IdentityFile ~/.ssh/id_rsa
    User gerritesfelhasznalonev
    Port 29418
    HostName gerrit.libreoffice.org

(It may be that port 22 (SSH( is disabled at some workplaces or public networks.)

You may need to run the following command in ~/.ssh/:

chmod 600 config

This sets a write and read (4 + 2) permission for your own username, and no permissions (0) for your group and the outside world.


Step 6 – Local Git repository

Set up your local Git repository with the username and email address as set in Gerrit, with the following commands after entering your LibreOffice directory:

git config --global user.name "Sajat Nev"
git config --global user.email "sajat@email.cim"

Use the “git config –list command” to retrieve the current settings. If they don’t include a name and email address, we haven’t set up anything yet. But with the “git config user.name” and “git config user.email” commands, you can more clearly verify this.

The file named config in the .git directory that’s inside the LibreOffice directory should look like this:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
    ignorecase = true
[remote "origin"]
    url = ssh://felhasznalonev@gerrit.libreoffice.org:29418/core
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[user]
    name = Gerriten Megadott Nev
    email = gerriten_megadott_email_cim
[submodule "dictionaries"]
    active = true
    url = ssh://felhasznalonev@gerrit.libreoffice.org:29418/dictionaries
    ignore = all
[submodule "helpcontent2"]
    active = true
    url = ssh://felhasznalonev@gerrit.libreoffice.org:29418/help
    ignore = all
[submodule "translations"]
    active = true
    url = ssh://felhasznalonev@gerrit.libreoffice.org:29418/translations
    ignore = all

The above commands may not have changed anything in this file, in which case you can manually overwrite the file, or enter the directory containing the file and issue this command:

chmod 600 config

Then try the previous “git config” commands again.

You might want to change the default text editor, if you don’t want to use Vi(m). Run the following command to change to Nano, for instance:

git config --global core.editor nano

Then, after running the “git commit command”, Nano starts instead of Vi(m).


Step 7 – Test Gerrit!

The following commands should run successfully:

./logerrit test
ssh -vvvv logerrit

If they do not run successfully, check out the error messages to see what commands you should run – and also visit the links in the introduction to this guide.


Step 8 – Legal notice

This text should be sent by mail to LibreOffice@lists.freedesktop.org:

All rights reserved for LibreOffice may be licensed under the MPLv2 / LGPLv3 + dual license.

…with the subject line ” license statement”. (More details here.) Note: please only send the statement no earlier than when you post your first submission to Gerrit, and ensure you have permission from your parents!

And now you’re set up to hack on the LibreOffice source code! We’ll follow up this guide with more tutorials soon, so keep an eye on the blog…

LibreOffice monthly recap: May 2019

May was an especially busy month in the project, with new releases of LibreOffice, events, workshops, interviews and more. Check it out…

  • We started with a new Month of LibreOffice. These are twice-yearly campaigns where we encourage people to join our community and help to improve the software. Everyone who contributes can claim a cool sticker pack at the end – and this year, we have some exclusive glass mugs for a randomly selected bunch of winners too! Learn all about it here.

  • You’ve probably heard of the Google Summer of Code, right? Well now there’s the Google Season of Docs – and LibreOffice is taking part! The goal is to give technical writers an opportunity to gain experience in contributing to open source projects, and to give open source projects an opportunity to engage the technical writing community.

  • Another event that’s being planned is the First LibreOffice Latin America Conference in Asunción, Paraguay. This will take place on July 19 – 20, and the call for papers is now open. Come and join our community there!

  • Meanwhile, our C++ workshops are still going strong – they’re a great opportunity to explore features of the programming language, with the help of experienced LibreOffice developers. The first one this month focused on binary trees, while the second covered binary search trees.

  • LibreOffice 6.3 is on the way! Our community is adding and polishing new features – and you can help to make it rock-solid reliable by joining a Bug Hunting Session. Alpha 1 is already available – but more testing versions will be released, before the final public announcement in early August.

  • Members of the German LibreOffice community met at Linuxhotel in Essen for a weekend of discussions, ideas, hacking – and great food! They created a list of tasks to focus on in the coming weeks and months, assigned to various members of the community.

  • On May 13, we talked to Vera Blagoveschenskaya from the Russian community, about her contributions to the project in Quality Assurance. Later in the month, we also had a chat with Buzea Bogdan who is also helping with QA – along with useful videos showing tips and tricks in the software. A big thanks to both of them for their contributions!

  • In other Paris news, LibreOffice Paris HackFest 2019 will take place on the weekend of July 5-6, at le 137, which is at 137 Boulevard Magenta, Paris 10e, France. The event is sponsored by INNO3, hosting the hackfest in their building, and The Document Foundation, providing reimbursement for travel and accommodation. If you’re in the Paris region, come along and say hello!
  • Finally this month, TDF welcomed Adfinis SyGroup to the project’s Advisory Board. Adfinis SyGroup is using LibreOffice for office productivity, in addition to providing professional consultancy to customers with SLA contracts to support migrations from proprietary software to LibreOffice. More recently, Adfinis SyGroup has helped Collabora to start porting LibreOffice to Apple iOS to allow drafting and editing ODF standard documents on Apple iPads.

Keep in touch – follow us on Twitter, Facebook and Mastodon. Like what we do? Support our community with a donation – or join us and help to make LibreOffice even better!