doc commit bit

February 4th, 2007 by Gábor Kövesdán

Recently, I got a doc commit bit as well. As a doc committer, the first thing I’d like to take care about is the webpage. The PR count is low for www, but there are some trivial PRs that are easy to solve. Besides, I’d like translate the news/press parts for the Hungarian Documentation Project. After these are solved, I’ll start busting doc PRs as well. :)

Hungarian webpages committed

January 9th, 2007 by Gábor Kövesdán

I’ve been working on the Hungarian translation of the webpages for a long time. Recently, I got to the point, where it reached a pretty good shape, so I looked for an active doc committer and Giorgos Keramidas (keramida@) offered that he can help me getting this stuff to the repo. He committed the webpages yesterday, so that we can see how it looks on www.FreeBSD.org. Unfortunately, I found some very nasty things after the first build and spent this day with fixing those rendering issues and finally I succeeded and sent the patches to Giorgos. While fixing these issues I also found some typos and broken links, which are also fixed now. And while here, I also sínced the content, so I think I can announce it in the Hungarian community forums after Giorgos committed the new patches. This translation also supposed to be a little bit of encouragement for Hungarian people to get a bit more involved.

What I have been doing nowadays

October 16th, 2006 by Gábor Kövesdán

I have not posted a long time ago, so here’s a bit of summary what makes me busy nowadays besides my university studies:


  1. DESTDIR support: my test computer was broken for quite a long time, so I could not work on DESTDIR support. Not I got a new hard drive and a laptop, so I can continue working on this soon, I just have to set up the test computer again.
  2. Hungarian webpages: it is almost done, I submitted some text for the status reports as well. Only about 4-5 pages has to be translated, and of course it needs a thorough review for typos and grammar.
  3. Porting wpi driver: I’m not the most eligible for this, but there’s nobody interested with knowledge, so I’m trying to port this driver from OpenBSD. Most part are straightforward, and Sam Leffler’s iwi port is a good reference for FreeBSD-specific changes. I’m not sure, I can finish this port, however, it is my first experience with kernel-level programming.

Charset issues

August 31st, 2006 by Gábor Kövesdán

Today I have been working on the Hungarian webpages again. I had issues with ®, © and ™ signs a long ago, so I tried to find out what’s wrong with the charset. I tried iso-8859-1, iso-8859-2 and utf-8, but something was wrong in each case. Finally, I realized that tidy mess up the entities, so everything went ok under iso-8859-2 by disabling tidy.

Today’s work

August 29th, 2006 by Gábor Kövesdán

Today, I started to work on the new DESTDIR implementation that was suggested by Kris Kennaway on ports@. I’m stuck with this right now, but I hope I’ll find the problem soon.

Besides, I made some progress on www/hu as well. I have almost merged all of Hiroki Sato’s cleanup changes. His work is great! Everything is much saner now. The best thing is that I can use character entities so no need to keep in mind a lot of character codes any more. :) Only few pages left to translate that I consider mandatory, but I want to come up with a working website as soon as possible. I hope it will get some attention and more people will be involved then.

Summary of my SoC work

August 23rd, 2006 by Gábor Kövesdán

SoC is ending. I’m a bit sad that I couldn’t complete the DESTDIR work and the other items, but actually the DESTDIR problem needed much more time and effort than I though before the SoC. Now, Kris Kennaway found a better solution, so things might change soon. It is much simpler than my approach, so makes my work useless. I don’t have to blame myself, because nobody could find out this solution so far. I don’t think that my work was pointless at all, it needed some investigation and I’ve learnt a lot. Of course, I would like to continue working on this, and address my other projects that I did not have time for this summer.

Apart from DESTDIR, I wrote a new handling i386 binary ports. There are also two patches of mine that are still open in gnats. These were not in my original Soc proposal. One of them corrects the ECHO_MSG and ECHO_CMD variables in bsd.port.mk, it is just a minor issue, I realized it when working on the DESTDIR support. The other one adds a generic infrastructure support for building binaries for debugging purposes via the WITH_DEBUG macro. This was requested by Alexander Leidinger, and I like the idea, as well.

As for the remaining, I started to move out the fetch code from bsd.port.mk. This is good for “modularization”, the used fetch script can be overriden. The other advantage is that it makes bsd.port.mk cleaner and easier to read. This part of the code is definitely such thing that is easier to maintain in a shell script. I hope it will inspire people to work on it and write enhancements, e.g. master site randomization, stale mastersite detection, or such things. I also thought of sorting master sites by ping replies.

The three other items would have been making ports respect CC and CFLAGS, implementing cross-compiling and writing some kind of good plist generator tool. I hope I’ll have time to work on them in the future, as well.

DESTDIR support committed

August 5th, 2006 by Gábor Kövesdán

Erwin committed my patchset yesterday. I’m working on 5 ports that were broken by my patchset due to the incorrect usage of the DESTDIR macro. We can also start to work on making ports DESTDIR-respective, so I’d like to encourage everyone to check the maintained ports, I’ve already started that for my ones.

Fetch code cleanup

July 26th, 2006 by Gábor Kövesdán

I’ve started to work on moving out the fetch code from bsd.port.mk, which fetches all the distfiles and patchfiles for ports, because this makes bsd.port.mk pretty messy. The fetch code is about 12 pages of A4 and located in bsd.port.mk in bunches, not as a whole. The task is quite simple, I need to convert make if and for cluases to shell, as well as the make substitution expressions.

Besided, I’m still working on DESTDIR. In the exp run, my patches broke some extra ports, that were not broken on the latest i3867 run, so I need to investigate what caused these breakages.

2 patches for ports/Mk

July 20th, 2006 by Gábor Kövesdán

Today (actually yesterday) I sent two patches for our ports infrastructure. One of them is the DESTDIR support. I think everything is done for the infrastructure, but as I said before, some individual ports have to be fixed as well. I did a big effort so that we have to fix the least of them. Erwin took my patches and started to set up an -exp run on the cluster to test if my patch doesn’t break anything if DESTDIR is not set. We will discuss the further things after that.
My another patch makes some standardization and cleanup with ECHO_MSG and ECHO_CMD macros in bsd.port.mk. ECHO_MSG should be used when printing relevant output for the user, while ECHO_CMD should be used mostly internally, e.g. for command-line pipelineing. Accordingly, one should be able to print relevant messages with colors by overriding ECHO_MSG or to write a wrapper for these texts, etc.

DESTDIR progress

July 9th, 2006 by Gábor Kövesdán

Today, I implemented conflict checking in DESTDIR and deinstalling from DESTDIR. Apart from fixing the ports that don’t respect DESTDIR, only one major thing remained, the dependency check. It’s not correct in all aspects. Besides, I’ll try to do some trick with PREFIX as I did with LOCALBASE to avoid modifying a bunch of ports that install files via [pre|do|post]-install target.