Archive

Archive for June, 2010

working a bit on litesql

June 29th, 2010 No comments

created two tickets for litesql:
- MSVS compile problem: 27 (fixed already)
- CMake buildsystem improvements: 28

Categories: coding Tags:

working with litesql

June 27th, 2010 No comments

reported a bug that was quickly fixed by gulliver: http://sourceforge.net/apps/trac/litesql/ticket/27

Categories: coding Tags:

finding out the linux distribution and version in CMake

June 23rd, 2010 No comments

actually its quite hacky, but works well here:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
   # use the LSB stuff if possible :)
   EXECUTE_PROCESS(
      COMMAND cat /etc/lsb-release
      COMMAND grep DISTRIB_ID
      COMMAND awk -F= "{ print $2 }"
      COMMAND tr "\n" " "
      COMMAND sed "s/ //"
      OUTPUT_VARIABLE LSB_ID
      RESULT_VARIABLE LSB_ID_RESULT
   )
   EXECUTE_PROCESS(
      COMMAND cat /etc/lsb-release
      COMMAND grep DISTRIB_RELEASE
      COMMAND awk -F= "{ print $2 }"
      COMMAND tr "\n" " "
      COMMAND sed "s/ //"
      OUTPUT_VARIABLE LSB_VER
      RESULT_VARIABLE LSB_VER_RESULT
   )
   #message("LSB output: ${LSB_ID_RESULT}:${LSB_ID} ${LSB_VER_RESULT}:${LSB_VER}")
   if(NOT ${LSB_ID} STREQUAL "")
      # found some, use it :D
      set(INSTALLER_PLATFORM "${LSB_ID}-${LSB_VER}" CACHE PATH "Installer chosen platform")
   else(NOT ${LSB_ID} STREQUAL "")
      set(INSTALLER_PLATFORM "linux-generic" CACHE PATH "Installer chosen platform")
   endif(NOT ${LSB_ID} STREQUAL "")
Categories: coding Tags:

tuning the eclipse look (and feel)

June 10th, 2010 No comments

well, to say it right off, the default eclipse GUI for me is:

  • bloated with features
  • far too big
  • unusable without tuning

following are some hints and tips how to tune eclipse to your likings:

a) tune fontsize in gtk
get the gtk-chtheme program. Under gentoo:

1
2
emerge -av x11-themes/gtk-engines x11-themes/gtk-chtheme
gtk-chtheme

select a theme you like and use the font button on the lower left side of the dialog. (for example i use Verdana regular, size 6)

b) tune eclipse fontsize:
open via the menu in eclipse:
Window -> Preferences : type "font" in the search bar on the top left side.

select "General -> Appearance -> Colors and Fonts"
type "font" in the new search bar on the right side.

Change the fonts as you like.

Categories: coding Tags:

new personal record

June 9th, 2010 No comments

working day from 8:45 am to 12:57pm ...

Categories: website Tags: