Thursday, August 21, 2008

Signingparty - Update

Thanks to a suggestion from commenter Ondra on the LaTeX and some additional spare time I wiped the TODO's from my little program.

signingparty.c

It's been requested to include this in seahorse-plugins, so it will probably make its way there in time for 2.26.

Update: I forgot to mention that a new compile line was needed to add the auto-launching:
gcc -o signingparty signingparty.c `pkg-config --cflags --libs gtk+-2.0` `pkg-config --cflags --libs dbus-1` `pkg-config --cflags --libs cryptui-0.0` `pkg-config --cflags --libs gio-2.0` -D LIBCRYPTUI_API_SUBJECT_TO_CHANGE -g -Wall

3 comments:

Jonner said...

why not just generate the PDF with a little bit of cairo code? Then you don't need to do any postprocessing of the output

Adam said...

Namely because I don't already know how to use Cairo. It already uses gio and g_channels which I wasn't familiar with before.

I'd take a look at Cairo patches though. LaTeX is nice because I don't have to worry about any of the spacing/formatting myself.

David said...

Don't worry about this part:

* select_partygoers contains code from libcryptui which will hopefully be
* removed in the future but is Copyright (C) 2005 Stefan Walter and is
* available under the LGPL 2.1 or later. This probably violates the letter
* but not the spirit of the license, but like I said, will be removed when the
* freeze lifts on libcryptui and I can modify it.

If you look at the license it's allowed: (see also http://fedoraproject.org/wiki/Licensing#GPL_Compatibility_Matrix)

"3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices.

Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.

This option is useful when you wish to copy part of the code of the Library into a program that is not a library."