Tuesday, May 31, 2011

digikam

One more step closer to usable desktop - I've got Digikam 2.0.0 beta5 running on my laptop.
It works quite well actually, apart from the usual lag associated with anything Qt4 on Solaris. It hasn't crashed during the 1 hour I played with it, so I consider it stable :-).
The only thing I found crashing is showfoto - the crapfest called semantic desktop is showing its ugly face there again, with misbehaving strigi analyzer ruining the show. It's good to know we're not relying on some unmaintained pile of rubbish there.












Sunday, May 22, 2011

Hugin on Solaris

I've just built hugin and made some panorama's!
Finally, I'm a bit closer to the mutimedia richness of Linux (!) on my Solaris 11 desktop :-)

Panoramic backyard of a gym in Hrusice:


The simple build approach I took worked quite well, I just had to workaround the stupid cairo bug in S11 regarding libpng and add a few simple patches here and there.

If anyone's interested, a snapshot of the specs is at bionicmutton. I've yet to decide how to proceed with this project, whether to blend it with kde-solaris or with SFE.

Saturday, May 21, 2011

"Security" by Pearson VUE

The whole concept of "Security questions", usually used to recover an online account in case of lost credentials is quite flawed by definition, but what Pearson VUE, the company managing tests and certification (mostly) in IT is doing is beyond my comprehension.

Have a look at the below screenshot.

Pearson VUE is serious about account safety. That’s why we’re requiring all web users to create security questions. Select two questions below, one from each drop-down menu. Then type your answers in the provided fields and click Next.
We’ve designed questions that would be hard to guess.
Doesn't sound THAT bad, does it? But check the preselected questions:
Who is your favorite actor, musician, or artist?
What was your favorite place to visit as a child?
What is your favorite song?
What is the title of your favorite book?
What was your most memorable gift as a child?
What was the name of your first toy animal?
Who is your favorite athlete?
What is the first and last name of the best man at your wedding?
What is the name of the first company for which you worked?
What is your dream occupation?
What is your oldest sibling's (brother or sister) nickname?
What is your favorite food?
In what city did you first meet your spouse or significant other?
What is your spouse or significant other's nickname?
Sounds like exactly the type of questions that have answers on one's Facebook or blog page, doesn't it?

And their Security tips do not make it any better - they limit the length of the answer and make it caps insensitive. And asking me not to tell my spouse's nick name to anyone ??? 

    * Answers may contain no more than 50 characters.
    * Answers are NOT case sensitive (caps or no caps are allowed).
    * Make sure the answer is not related to your username or password in any way.
    * Do not tell anyone this information.
    * Do not send this information by email.
    * Change this information periodically in Change Sign In under My Account.
Combine this with the way they manage their site's SSL certificates ... :



Sunday, May 15, 2011

building hugin: error: expected class-name before '{' token


I've got the below error when trying to build hugin. As it turned out my wxWidgets were compiled without Drag&Drop support, even when I supplier --enable-dnd to the configure script.
It's because --with-x11 does not support it.

To find out if dnd is really enabled use
$ grep wxUSE_DRAG_AND_DROP /pat/to/build/dir/lib/wx/include/*/wx/setup.h
#define wxUSE_DRAG_AND_DROP 1


[ 64%] Building CXX object src/hugin1/icpfind/CMakeFiles/icpfindlib.dir/AutoCtrlPointCreator.cpp.o
cd /home/test/packages/BUILD/hugin-2010.4.0/build/src/hugin1/icpfind && /usr/gcc/4.5/bin/g++   -Dicpfindlib_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -D_REENTRANT -pthreads -O2 -g -fPIC -I/home/test/packages/BUILD/hugin-2010.4.0/build/src -I/home/test/packages/BUILD/hugin-2010.4.0/src/hugin_base -I/home/test/packages/BUILD/hugin-2010.4.0/src/foreign -I/home/test/packages/BUILD/hugin-2010.4.0/src/foreign/vigra -I/home/test/packages/BUILD/hugin-2010.4.0/src/celeste -I/home/test/packages/BUILD/hugin-2010.4.0/build/src/celeste -I/home/test/packages/BUILD/hugin-2010.4.0/src -I/opt/kde4/include/OpenEXR -I/opt/kde4/include -isystem /opt/kde4/lib/wx/include/x11univ-unicode-release-2.8 -isystem /opt/kde4/include/wx-2.8 -I/home/test/packages/BUILD/hugin-2010.4.0/src/hugin1   -o CMakeFiles/icpfindlib.dir/AutoCtrlPointCreator.cpp.o -c /home/test/packages/BUILD/hugin-2010.4.0/src/hugin1/icpfind/AutoCtrlPointCreator.cpp
In file included from /home/test/packages/BUILD/hugin-2010.4.0/src/hugin1/hugin/huginApp.h:30:0,
                 from /home/test/packages/BUILD/hugin-2010.4.0/src/hugin1/icpfind/AutoCtrlPointCreator.cpp:38:
/home/test/packages/BUILD/hugin-2010.4.0/src/hugin1/hugin/MainFrame.h:64:1: error: expected class-name before '{' token

Sunday, May 1, 2011

KDE 4.6.2 on Solaris 11, with gcc

Since some interesting KDE/Qt applications are not Sun/Oracle Studio friendly I've been pondering the use of gcc for some time already.

And here it is:



The lack of icons is due to Solaris bug (an older libpng version used stupidly by cairo) that I did not try to workaround.

I used SFEgcc from pkg.opensolaris.cz.
I ditched the idea of reusing the kde-solaris workspace and for the moment built all packages with mere
./configure --prefix=/opt/kde4 && gmake && gmake install
or
PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig:/usr/lib/pkgconfig cmake .. -DCMAKE_INSTALL_PREFIX=/opt/kde4 && gmake && gmake install

No crazy mesh of *FLAGS, no nothing, just the defaults.

Only about 5 patches were needed for to have gdm-integration complete.

Unfortunately the session feels about as sluggish as when built with Studio.


Elephant droppings

You can buy elephant droppings in the Prague ZOO, a bucket costs about 2€, plus deposit. It looks like a nice marketing stunt by the new director Bobek :-) (bobek = dropping)





Name 'em & shame 'em

Somebody in Říčany got really sick of their neighbor's behaviour.


 And there's no wonder. The garbage appears there too often.

Feeding Google with rough translation: This garbage and her sanitary towels are dumped by Mrs. Eva Plíhalová, Sadová 1015 Říčany. Other pigs will be named here the next time.