Quantcast
Channel: What is Jan Holešovský - Kendy doing
Viewing all 34 articles
Browse latest View live

Split build

$
0
0

Split build is an effort to provide OpenOffice.org buildable by pieces; and additionally the way you can see with all the free software projects that use autotools - just ./configure ; make ; sudo make install.

But what I mean by 'building by pieces'? Imagine you are completely new to OOo development, and notice a tiny misbehavior in Calc. What do you have to do now? Download all the giant monolithic sources, guess the right configure switches, install all the dependencies, learn the OOo build system, and do the build. If you did not get demotivated by now, you might try to fix the original problem.

ooo-build makes it a bit easier - it has default settings for lots of the distros out there, and automates the download of the sources. But the ultimate answer is the split build :-)

With the split build [when finished, of course ;-)], all you'll have to do is install the OpenOffice.org-*-devel packages using the way usual for your distro (in openSUSE, it will mean zypper source-install -d OpenOffice_org-calc, in Debian apt-get build-dep packagename), clone the Calc tree, and do ./configure (or ./autogen.sh to generate the autotools stuff) ; make .

At the moment, it is work in progress, taking place in the ooo-build git repositories. So far, bootstrap (the common build pieces), ure (UNO Runtime Environment), libs-extern (3rd party libraries), and libs-extern-sys (3rd party libraries, usually available in recent Linux system) are in usable shape, more to come soon.

Oh yes, and for those who still want to build everything, there will be a possibility to do make world in bootstrap that will build everything from the beginning to the end :-)


Pro Git

$
0
0

I've just learned about the Git book - Pro Git. I've read just small parts of that, but looks really great :-) You can buy a printed version of that too.

LibreOffice on CIA.vc

$
0
0

Yesterday I have added LibreOffice as a project to the CIA.vc tracking site; and guess what, it was among the most active projects yesterday, and it has quite some nice progress today too :-)

Big 'Thank you!' to everyone who make this happen!

LibreOffice Tinderbox

$
0
0

You probably know what is LibreOffice, but might be in doubt, what is a tinderbox. It is easy - it is a script that builds a software project over and over again, and reports success or problems to a central place.

Until recently, we had the first part, a script that builds LibreOffice several times a day, and when a build problem appears, it mails the error to all the committers since the last successful build. We also had the second part, the central place for reporting the problems, Christian Lohmaier's great tinderbox on go-oo. But what we were missing was the connection of those two. I fixed that just recently by extending the nagging script to send the build logs there too.

The interesting outcome is that setting up your own tinderbox is incredibly easy now :-) What to do:

 $ git clone git://anongit.freedesktop.org/libreoffice/bootstrap tinderbox $ cd tinderbox $ ./autogen.sh [params] [make sure that you fulfill all the configure needs] $ make [make sure that you get at least one successful build, for sanity check] $ screen bin/tinbuild [params] [and now let that box do the work :-)] 

Should you have trouble with the autogen.sh and make part, consult the great documentation here. If you want to learn more about the bin/tinbuild, have a look at tinbuild --help. The setup I am using is:

 screen bin/tinbuild -n -i -m kendy@suse.cz -w $((15*60)) -s relayhost -t "SLED11 (x86-64)"

You of course want to change the -m parameter (email address of the tinderbox owner), -s parameter (SMTP host), and -t (description of the host, ideally in the form "Operating system (arch)"). Please also note:

  • The box should run 24/7.
  • It is a good practice to have a separate user account for the tinderbox, that does nothing else than the building.
  • You need --disable-dependency-tracking among the ./autogen.sh parameters so that the build stops immediately after the error.
  • It is also preferable to force --with-num-cpus=1, from the same reason.

I believe with the recent updates, tinbuild is reasonably cross-platform (it uses Bash and Perl's Net::SMTP and MIME::Lite modules to send mails), so you should be able to deploy it on your favorite platform pretty easily. Actually - do so! :-) That way you can be sure that LibreOffice will be buildable on your platform most of the time. Drop a note to our development mailing list if you are interested.

And future plans? Extend tinbuild even more, to be able to upload the resulting binaries to Norbert Thiebaud's daily builds :-)

LibreOffice Tinderbox moved

$
0
0

If you have read my previous blog about LibreOffice Tinderbox, this is a small update:

  • We have moved the tinbuild script to a separate repository, so that the tinbuild can potentially switch branches as necessary.
  • Thorsten has also improved the script so that you can send the mails via SSL or TLS thanks to using sendEmail by Brandon Zehm.

If you are still using the old tinbuild, you are encouraged to upgrade :-) The most recent installation instructions are part of the repository now, read them here.

LibreOffice Findbar improvements

$
0
0

Yesterday I played a bit with the Findbar in LibreOffice, and changed it to look and behave more like in the applications like Firefox, or Evolution:

It is now hidden by default, and opens when you press Ctrl-f (for the old Search and Replace dialog I changed the keybinding to Ctrl-Alt-f), or when you choose Find in the menu. It opens at the bottom of the document, and you can close it again (and return back to the document) by pressing Escape. I also made the text entry wider so that more characters fits in there.

Enjoy! :-) - will be available in LibreOffice 3.4.

LibreOffice GSoC: The UI Cleanup

$
0
0

As you might have heard, LibreOffice has been accepted for this year's Google Summer of Code program. I am a mentor or a co-mentor of several tasks, but one of them is the closest to my heart, and that is the UI Cleanup task.

Please consider applying for it - in the summer time frame, we can do a big change. And it is better than that, this task consists of several smaller sub-tasks, each of them few days to a week long, so you can see the results of your work immediately, and the big change is in fact result of all those smaller fixes 'here and there'.

If you are one of those who looks at the screenshots first, this is a task for you :-)

FOSDEM 2011: LibreOffice Online Help (Wikihelp)

$
0
0

I realized I did not post my FOSDEM slides online; this blog post is to fix that ;-) So if you want to learn more about our approach to the on-line help, please have a look here:

LibreOffice Online Help (Wikihelp)

It talks briefly about what we have done to bring the LibreOffice help online, and about the future steps. Talking of the future steps, in 3.4, the .xhp files are still the source of the help (check the presentation if you want to know what are the .xhp files), because we did not manage to do the 2nd step - converting the wiki markup back to the native help files.

Actually - I would like to mentor a GSoC task for that:

Convert LibreOffice Help to Platform Specific Help Files

If you are a student interested in Free Software, with free summer, and Python or Perl knowledge (to bind to existing MediaWiki markup parsers), this might be a nice task for you!


LibreOffice: Zapojte se!

$
0
0

[This blog entry is in Czech, a summary of my talk I had at the openSUSE 11.4 Release Party in Prague.]

Toto je asi první zápis, který píšu česky. A pokud není první, tak ten předchozí jsem musel napsat tak dávno, že si to už ani nepamatuji. Chci se s vámi totiž podělit o své (česky psané) slidy z openSUSE 11.4 Release Party, která byla minulý pátek v hackerspace Brmlab. Bylo nás tam hodně, přitom však tak akorát, abychom se neudusili; však si prohlédněte fotky v Pavlově blogu.

Mluvil jsem o tom, jak se zapojit do LibreOffice (pdf) jako přispěvatel. A šance je jak pro programátory, tak pro překladatele, nebo autory dokumentace, či webových stránek. Nejdůležitější je najít si, co vás baví, a začít. Programátorských úkolů je spousta, vybere si každý. A pokud se jedná o překlady, pošlete mi mail, povím více.

Abych nezapomněl, pro studenty je šance vydělat si přes léto pěkných pár peněz v rámci Google Summer of Code pro LibreOffice. Tak neváhejte, máte ještě týden na to, abyste se zaregistrovali! :-)

LibreOffice build on Windows with ccache for MSVC

$
0
0

I have just revived my 4 years old hack that adds MSVC support to ccache. The use case is a bit limited - you have to use it from inside cygwin; but that is exactly what LibreOffice needs :-) So I have updated LibreOffice's configure.in to be able to handle it well - so far in the libreoffice-3-4 branch, but it will get to master the next time we merge the branch there.

How to use it? Download the ccache.exe binary, put it to eg. your ~/bin (or somewhere else in your PATH), setup the CC and CXX environment variables, and compile as you are used to (./autogen.sh, make, ...), like:

 CC="ccache C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe" CXX="ccache C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe" ./autogen.sh make 

And yes, it would be great to do the ccache support as simple as a --enable-ccache configure option - but I did not find time to fine tune it on the other platforms, so I'll go for that only when I find there is a demand for that - drop me a mail ;-)

If you want to have a look at the ccache's statistics, run ccache -s. I've done no measurement how much time it saves overall - if are able to do any, please mail me your results too.

Toolbar improvements

$
0
0

On Friday, I was able to spend a bit of time on UI hacking which I love. Those small and tiny pieces that when combined, do a big difference - do you remember my GSoC task proposal in this area? ;-) Unfortunately, no student has picked that; but let's see if somebody else gets interested.

This time it was the toolbar's menus. So far those menus were too prominently visible on the toolbar, while not that much used. Additionally, you can get the same functionality as a context menu - when you right-click on the toolbar. Together with our UX guys, we agreed that the best will be to remove them, and show the ">>" marks only when there are hidden toolbar items. You can see the changes on a "Before/After" screenshot:

And how does it look like when there are hidden items:

This will be available in LibreOffice 3.5. There is a small follow-up Easy Hack, see EasyHack: Make the toolbar menu easier. I'll be happy to provide you with details if you want to try this one - just drop me a mail.

LibreOffice v češtině

$
0
0

Chcete si stáhnout LibreOffice? Doporučím vám tedy stránky LibreOffice v češtině, abyste se k instalátoru nemuseli dostávat přes anglické stránky :-)

LibreOffice 3.4 má uživatelské rozhraní kompletně přeložené do češtiny, nápovědu z 90%. 3.5, příští verze, je na tom trochu hůře - uživatelské rozhraní 97%, nápověda 89%. Pokud chcete tato čísla zlepšit, není nic jednoduššího - zaregistrujte se na LibreOffice Pootle serveru, pošlete mi své uživatelské jméno na kendy @ suse cz a já vám zařídím potřebná oprávnění.

LibreOffice 3.5 toho má hodně co nabídnout, byla by škoda nemít všechno přeloženo!

Improved Rulers

$
0
0

Recently I was able to spend a bit of time on the UI hacking again; and this time it was the "Rulers" in Writer. Thanks to Mirek M. (BTW, have you seen his Call for GSoC projects designs, and Call for Templates blog entries?) who provided me with a helpful mockup, I was able able to implement the new look quickly and effectively, mostly by removing code :-)

I hope I will be able to do more such changes before the 3.6 feature freeze; I'll keep you informed. And if anybody of you is interested in UI-related hacking, just mail me or ping me on the IRC (kendy on irc.freenode.net), and I'll provide you with code pointers to other interesting areas :-)

LibreOffice Tutorial Videos

$
0
0

A user just asked on IRC how to print a serie of descriptions of photos, when he has a list in a spreadsheet. I answered that Mail Merge is what he is searching for - but he did not know what Mail Merge was. I found a very helpful video showing the mail merge in LibreOffice, so I want to share it with you :-)

[There is also a shortcut to Mail Merge when you understand the concept, try Tools -> Mail Merge Wizard..., of course.]

There are more LibreOffice videos out there, backed up by this nicely structured webpage. Might be worth watching the other videos too :-)

LibreOffice HackFest in Munich: Apply Style Combobox

$
0
0

The first day of the LibreOffice HackFest in Munich is nearly over, and I am happy to say that I've already achieved what I wanted to hack on:

This is how the "Apply Style" combo box looks like from now on - in LibreOffice 4.0, we will show previews of the styles directly in there, helping the users to choose the right style conveniently.

I can imagine some follow-up work, like being able to edit the style directly from the menu entry, instead of having to choose "More...", and editing from there; if you are interested to hack on this, I'll be glad to show you where :-) - just mail me.


LibreOffice 4.0: Use Firefox Personas in your favorite office suite

$
0
0

At the very last minute, my patches to support Firefox Personas in LibreOffice were accepted as a late feature for 4.0, hooray! :-) What does it mean?

Personas are easy-to-use themes that let you personalize the look of your Firefox says the Personas page. In fact, it is a great collection of many nice pictures you can apply in your Firefox with one click.

Olivier had the great idea to reuse them in LibreOffice too. I provided him with few code pointers to implement the feature, but then I decided this is actually so fun project that I wanted to do it myself (sorry, Olivier!) - and started that at the Munich HackFest. Long story short, here is the result:

Unfortunately we cannot choose Personas in LibreOffice with just one click as in Firefox, but it is as easy as it can be - just download LibreOffice 4.0 RC1 (or later) when available, choose Tools -> Options... -> Personalization -> Select Persona, and the rest is trivial, the dialog will lead you through the necessary steps. Enjoy!

Recent documents in LibreOffice

$
0
0

This is again one of those little improvements that make LibreOffice much more usable, and that I so much love hacking on. I implemented a dropdown for the Open toolbar button that brings an easy access to the Recent Documents, and sent that the UX mailing list for feedback. I got some really useful hints. Even better - I gave Samuel code pointers to play with this a bit, and he came up with a beautiful patch that implements his ideas. And here is the result:

Samuel - thank you for this! :-) For anybody who would like to bring this functionality to the Start Center too (the screen you see when you start LibreOffice), here is an Easy Hack that will result in reusing the code for the Start Center too; and also will delete lots of duplicate code.

Moved my blog

$
0
0
Recently I decided to update my blog to something that will be less awkward than NanoBlogger I have been using until now. I mean, writing the entries in vim is great, running the nb script is easy, but the turnover to preview it, fix, run the script again etc. is just annoying.

Now I moved my old blog to holesovsky.blogspot.com, which will be much easier for me to handle. With some Perl scripting, I even converted all the old entries here, so that the old blog can really RIP.

Small note to the conversion

When you are using the blogger.com's Import XML feature, and it looks like the import is taking too long (minutes or so), the answer is simple: Your XML was not accepted by blogger.com. I have seen reports of people waiting several hours to import the blog.

Don't wait in such cases - it was just that an error occurred, and the UI has not reported that. Just try to find out what is in the XML that could have caused the import to get stuck - usual suspects are &'s instead of " or OTOH things like &Acaron;, or other less common escapes.

LibreOffice 4.2: Better Windows bug reports

$
0
0
If you are not a programmer, and still want to help LibreOffice, there are many ways; one of them is submitting good bug reports. And a good bug report means a report with as much information as possible - one that contains the exact version, file(s) that caused the issue, description of the steps that lead to the problem.

In case LibreOffice crashes for you (sorry for that! - we are trying hard to avoid such situations, but it still may happen), and you are on Windows, description of the problem used to be all you were able to do - but now you can do more: you can attach a backtrace, and help the developers tremendously.

What is a backtrace? It is a log describing where exactly the program failed. It used to be very hard to get one on Windows, as you had to build your own LibreOffice.

Now it is much easier - you can provide such backtraces either using the official builds starting with LibreOffice 4.2.0rc1, or using the daily builds, without the need to build anything - you can just connect to a so called symbols server, and that's it.

Official releases

Just install LibreOffice 4.2.0rc1 (or later when available), and follow the information on the How to get a backtrace wiki page, it will lead you through the process. Thank you +Christian Lohmaier so much for setting that up!

Daily builds

I have updated my tinderbox to produce daily builds that are ready for debugging too. If you see a crash, it is worth checking if it happens in the most recent daily builds too - so installing this will allow you to check it, and directly provide a backtrace too.

Please try it out - I am looking forward to seeing backtraces in the your bugreports. In case you have trouble with the How to get a backtrace description, or the process itself, please let me know - or improve the page yourself; it is wiki, after all :-)

Oh, and all this wouldn't be possible without Luboš Luňák, +Fridrich Strba and others who have helped to connect various pieces together - thank you!

Help needed: Translating Getting Started Guide to Czech (or Slovak)

$
0
0
Standa Horáček just posted information about a shared effort to translate the LibreOffice Getting Started Guide to Czech and Slovak Language. You can find more information also in the original post by Miloš Šrámek.

Why shared?

The Czech and Slovak languages are close enough for Google translate to do a very good job of translating one to the other. So you as a translator can choose if you work on the Czech or the Slovak version, and the other team will use the automatic translation. After that, they will just fix the parts where the machine translation failed, which will save a lot of work.

If you are interested, please help spreading the word. Or even better - help translating! :-)
Viewing all 34 articles
Browse latest View live




Latest Images