Releases
Recent updates
devel-extra/fwsetup
0.9.0-1-i686
devel-extra/fwsetup
0.9.0-1-x86_64
core/frugalware
0.9pre1-1-i686
core/frugalware
0.9pre1-1-x86_64
xapps-extra/chm2pdf
0.9-1-i686
apps-extra/htmldoc
1.8.27-1-i686
gnome-extra/
 monodevelop-database
1.0-2-i686
gnome-extra/
 monodevelop-database
1.0-2-x86_64
gnome-extra/avidemux
2.4.1-2-i686
gnome-extra/avidemux
2.4.1-2-x86_64

RSS
Server information
Uptime:
9 day(s) 18 h 43 m 33 s
Subscriptions
Planet info
Last updated:
May 09, 2008 11:40 PM
All times are UTC.

Powered by:
Planet
Frugalware Linux

This site is valid:
Valid XHTML 1.0!
Valid CSS!
Valid RSS!

May 04, 2008

VMiklos

fop 0.9x

uhm, this will be a long post, but i'll try to keep it short :)

a few words about fop. we write our documentation in asciidoc. asciidoc is plain text with a very simple markup, asciidoc can convert this to docbook. then docbook-xsl can convert this to .fo, finally fop can convert .fo to .pdf.

my problem with fop is that it's written in java and we just used the upstream binary. this is primarily a security problem.

so, about one and a half months ago got the crazy idea to compile fop from source. of course the correct way to do this is to package first the depends. this is really a avalanche, becase we didn't have too much generic java libs packaged, so i had to package many. namely:

jflex, piccolo, gnu.regexp, jarjar, jmock, qdox, easymock, hamcrest, iso-relax, relaxngdatatype, xsdlib, msv, xpp3, xpp2, gnu-crypto, apache-log4j, xmldb-api, ws-jaxme, dom4j, jdom, icu4j, jaxp, jaxp, xom, jaxen, rhino, batik, servletapi, jaf, gnuinetlib, gnumail, avalon-logkit, avalon-framework, commons-logging, commons-io and xmlgraphics-commons.

hm. that's 36. horrible ;)

the nice thing is that all these (except xmlgraphics-commons because classpath still lacks jpeg support) are compiled with the ecj/gcj toolchain, without any sun blob.

the other benefits are:

  • a native fop binary:
$ file /usr/bin/fop
/usr/bin/fop: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), stripped
  • now we got rid of fop-devel, since this version can both convert ttf fonts to xml ones (needed if you want to embed custom fonts into pdf) and convert fo documents to pdf ones.
  • yay!

    May 04, 2008 12:48 AM

    April 30, 2008

    Frugalware News

    Frugalware Newsletter Issue 22

    The newsletter's aim is to keep you up to date with what's happened recently in the world of Frugalware.
    Features of this issue include:
    • New Frugalware mirrors
    • MANY Security fixes
    • Frugalware's developers are people too! - Boobaa
    • Focus On Package(s) - Openbox
    You can read it here. We hope you like it!

    April 30, 2008 11:08 AM

    April 28, 2008

    VMiklos

    message-ids

    ok, this post will be a big generic, but it seems this is still totally new to some people. so, the Message-ID header in an email is ideally unique and you can easily use it to refer to an email in an other discussion.

    in this post i want to deal with 3 issues:

    first, how to display it in your mail client. ok, this depends on your mue, in mutt, you need to add

    unignore message-id

    to your muttrc.

    second, if you want to search for a message-id in a folder, that's your mua's task as well. in mutt, you can do it by for example

    ~i 200804281829.11866.henrikau@orakel.ntnu.no

    the third trick isn't mua-specific. if you want to link the message, and the list is indexed by gmane, then you can just type

    http://mid.gmane.org/200804281829.11866.henrikau@orakel.ntnu.no

    and it'll redirect to

    http://article.gmane.org/gmane.comp.version-control.git/80566

    ok, that's all for today :)

    April 28, 2008 10:38 PM

    April 27, 2008

    VMiklos

    source highlight in asciidoc

    i recently packaged source-highlight, and asciidoc can nicely use it. an example page (example codes using pacman-g2 bindings in 4 different languages) available here. yay! :)

    April 27, 2008 10:57 PM

    April 25, 2008

    VMiklos

    ungreedy regex in javascript

    a few days ago i wanted to use ungreedy regexs in javascript. first, let's see what an ungreedy regex is. look at the following example:

    >>> "<p>foo</p><p>bar</p>".replace(/<p>f.*<\/p>/, '')
    ""

    this is greedy. you want to get something like:

    "<p>bar</p>"

    right?

    that would be ungreedy. in some other languages, there is a flag for this (php has 'U'), but in javascript, you need an other trick:

    >>> "<p>foo</p><p>bar</p>".replace(/<p>f.*?<\/p>/, '')
    "<p>bar</p>"

    and yes, that's what we wanted. also it works for .+?, and so on.

    ah and as a side note, it seems '.' does not match newlines, so you'll have to work around it like:

    >>> "<p>foo\nbar</p><p>baz</p>".replace(/<p>f[\s\S]*?<\/p>/, '')
    "<p>baz</p>"

    April 25, 2008 10:16 PM

    April 22, 2008

    VMiklos

    being accepted in gsoc 2k8

    ok, this is now official, i got paid for working on the C rewrite of git-merge during the summer ;)

    just for fun, i collected some other projects with Hungarian students: samba, e17, freebsd, genmapp, xorg, drupal.

    April 22, 2008 01:05 AM

    April 10, 2008

    Voroskoi

    opera beta 2

    Here's the new opera 9.50 snapshot. This time i've used build 1904 You can find the fpms here: http://frugalware.org/~voroskoi/fpm/current/

    I'll create fpms for x86_64 later.

    April 10, 2008 10:21 AM

    April 08, 2008

    Frugalware News

    Frugalware Newsletter Issue 20

    The newsletter's aim is to keep you up to date with what's happened recently in the world of Frugalware.
    Features of this issue include:
    • You can call me *MR* Bouleetbil!
    • Frugalware - A new slogan?
    • Frugalware's developers are people too!
    You can read it here. We hope you like it!

    April 08, 2008 12:10 PM