2009-09-17

How to change language in GIMP on Windows

After installing GIMP on my laptop I've found it's language is set according to my regional settings. However, I have failed trying to change it to english because there is no visible configuration option for that. Now that's weird!
After googling for few minutes I've found that this is not a GIMP problem but rather GTK+ for Windows and to force it to use english translation by default you need to add lang environment variable with the value of c.

2009-09-14

Removing MinGW dll dependencies

libgcc_s_dw2-1.dll

Passing -static-libgcc will remove this dependency for all languages other than C.
Note: C++ exceptions depends on this option.

mingwm10.dll

Remove -mthreads option from your makefile.
Note: Multithreading and C++ exceptions depends on this option.

2009-09-09

How to set up library paths for configure

env CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure

How to disable system bell in msys

$HOME/.inputrc:
# none, visible or audible
set bell-style none

2009-08-26

How to remove absolute path in svn+ssh

As you may or may not know there is a path difference between svn and svn+ssh links in case if subversion server is configured with default root directory:

/etc/sysconfig/svnserve
SVNSERVE_OPTIONS="-d -R -r /path-to-repos"
This way repository can be checked out using following commands (consider ssh is set up and working):
svn co svn://server.com/repository directory
or
svn co svn+ssh://server.com/path-to-repos/repository directory

2009-08-04

How to ARM Linux

During last few years I've never found a good excessive topic covering most of the areas to get Linux runnnig from scratch. I remember myself doing a lot of investigation about correct building of a crosscompiler, studying bootloader internals, and so on... I'm definitely sure - if I had a person that could point me in right direction, then all the development should finish much earlier.

Consider this article as my personal note and feel free using it your own way.

2009-07-24

Bloody Hinet SPAM

Mail server logs
If one day God will give me his powers for at least a second, I'll burn all the Hinet servers at once!

2009-05-21

libpqtypes

In recent post I've posted part of my library, that deals with PostgreSQL data in binary format. Today, googling for some hints for implementing binary timestamps in double format I've found a reliable library, libpqtypes, which is doing exactly the same as mine (actually more), except it's purpose is PostgreSQL only.
Don't know if it's terrible news or not, as I could adapt my code while using this library and win a lot of time. This is one of the reasons why extensive googling is required before each project.