ubuntuku

Dec 242011
 

zekr

64 bit Instructions

#install xulrunner
sudo zypper in mozilla-xulrunner192
 
#install latest oracle java (currently v7u2)  check it here http://www.oracle.com/technetwork/java/javase/downloads/index.html
cd
wget http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-x64.rpm
sudo zypper in jdk-7u2-linux-x64.rpm
 
#install zekr
wget http://sourceforge.net/projects/zekr/files/Zekr/zekr-1.0.0/zekr-1.0.0-linux_64.tar.gz/download --output-document=zekr.tar.gz
tar xzf zekr.tar.gz
 
#open ~/zekr/zekr.sh in your fav text editor and change variable MOZILLA_FIVE_HOME to /usr/lib64/xulrunner-1.9.2
#export MOZILLA_FIVE_HOME=/usr/lib64/xulrunner-1.9.2
 
#install java alternative & browser plugin
sudo /usr/sbin/update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 40
sudo /usr/sbin/update-alternatives --install "/usr/lib64/browser-plugins/javaplugin.so" "javaplugin" "/usr/java/latest/jre/lib/amd64/libnpjp2.so" 40
 
#set as default, pick /usr/java/latest/bin/java on prompt (number 1 in my case)
sudo /usr/sbin/update-alternatives --config java
 
#configure java plugin, if you have installed other java plugin pick /usr/java/latest/jre/lib/amd64/libnpjp2.so on prompt
sudo /usr/sbin/update-alternatives --config javaplugin

32 bit Instructions

#install xulrunner
sudo zypper in mozilla-xulrunner192
 
#install latest oracle java (currently v7u2)  check it here http://www.oracle.com/technetwork/java/javase/downloads/index.html
cd
wget http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-linux-i586.rpm
sudo zypper in jdk-7u2-linux-i586.rpm
 
#install zekr
wget http://sourceforge.net/projects/zekr/files/Zekr/zekr-1.0.0/zekr-1.0.0-linux.tar.gz/download --output-document=zekr.tar.gz
tar xzf zekr.tar.gz
 
#open ~/zekr/zekr.sh in your fav text editor and change variable MOZILLA_FIVE_HOME in zekr.sh to /usr/lib/xulrunner-1.9.2
#export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2
 
#install java alternative & browser plugin
sudo /usr/sbin/update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/bin/java" 40
sudo /usr/sbin/update-alternatives --install "/usr/lib/browser-plugins/javaplugin.so" "javaplugin" "/usr/java/latest/jre/lib/i386/libnpjp2.so" 40
 
#set as default, pick /usr/java/latest/bin/java on prompt (number 1 in my case)
sudo /usr/sbin/update-alternatives --config java
 
#configure java plugin, if you have installed other java plugin pick /usr/java/latest/jre/lib/i386/libnpjp2.so on prompt
sudo /usr/sbin/update-alternatives --config javaplugin


Execute ~/zekr/.zekr.sh to run Zekr.

Dec 202011
 

Amarok 2.5.0

#remove amarok and its related package
sudo zypper rm -u amarok libmygpo-qt1
 
#install dependencies
sudo zypper in patterns-openSUSE-devel_basis
sudo zypper in patterns-openSUSE-devel_C_C++
sudo zypper si -d amarok
sudo zypper in doxygen qt4-qtscript
 
mkdir ~/trunk && cd ~/trunk
wget http://stefan.derkits.at/files/libmygpo-qt/libmygpo-qt.1.0.5.tar.gz
tar xzf libmygpo-qt*.tar.gz
cd libmygpo-qt*
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
 
cd ~/trunk
wget ftp://ftp.kde.org/pub/kde/stable/amarok/2.5.0/src/amarok-2.5.0.tar.bz2
tar xjf amarok-*.tar.bz2
cd amarok-*
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install

Amarok 2.5.0 cmake output

susegeeko@linux:/media/LINUX/opensuse/amarok-2.5.0/build> cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- /media/LINUX/opensuse/amarok-2.5.0/cmake/modules
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Taglib found: -L/usr/lib64 -ltag
-- Performing Test TAGLIB_ASF_FOUND
-- Performing Test TAGLIB_ASF_FOUND - Success
-- Performing Test TAGLIB_MP4_FOUND
-- Performing Test TAGLIB_MP4_FOUND - Success
-- Taglib-Extras found: -L/usr/lib64 -ltag-extras
-- Performing Test COMPLEX_TAGLIB_FILENAME
-- Performing Test COMPLEX_TAGLIB_FILENAME - Failed
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found Phonon: /usr/include 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Checking if the QtScript Qt Bindings are installed.
-- includes /usr/include/QtCore;/usr/include/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/include/QtXmlPatterns;/usr/include/QtXml;/usr/include/QtWebKit;/usr/include/QtUiTools;/usr/include/QtTest;/usr/include/QtSvg;/usr/include/QtSql;/usr/include/QtScriptTools;/usr/include/QtScript;/usr/include/QtOpenGL;/usr/include/QtNetwork;/usr/include/QtMultimedia;/usr/include/QtHelp;/usr/include/QtDesigner;/usr/include/QtDesigner;/usr/include/QtDeclarative;/usr/include/QtDBus;/usr/include/Qt3Support;/usr/include/QtGui;/usr/include/QtCore;/usr/include/Qt;/usr/share/qt4/mkspecs/default;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries Qt4::QtScript;Qt4::QtCore;-lpthread;Qt4::QtGui;-L/usr/lib64;-lkdecore;-lkdeui
-- Performing Test BINDINGS_RUN_RESULT
-- Performing Test BINDINGS_RUN_RESULT - Success
-- QtBindings found
-- Found MySQL: /usr/include/mysql, -L/usr/lib64 -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl
-- Found MySQL Embedded: /usr/include/mysql, -L/usr/lib64 -lmysqld -lpthread -lz -lm -lrt -lssl -lcrypto -lcrypt -ldl -lpthread
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.5")
-- Found QCA2: /usr/lib64/libqca.so 
-- checking for module 'QJson>=0.5'
--   found QJson, version 0.7.1
-- Found QJSON: /usr/lib64/libqjson.so 
-- Found liblastfm: /usr/include/lastfm, /usr/lib64/liblastfm.so
-- checking for one of the modules 'libavcodec'
-- checking for one of the modules 'libavformat'
-- Found FFmpeg: /usr/include 
--      libavcodec: /usr/include, /usr/lib64/libavcodec.so
--      libavformat: /usr/include, /usr/lib64/libavformat.so
-- Found libofa: /usr/include/ofa1, /usr/lib64/libofa.so
-- checking for one of the modules 'libgpod-1.0'
-- Found libgpod-1 0.8.2
-- checking for one of the modules 'gdk-pixbuf-2.0'
-- Found GDKPixBuf: /usr/lib64/libgdk_pixbuf-2.0.so 
--      Include directory: /usr/include/gdk-pixbuf-2.0
-- checking for module 'libmtp'
--   found libmtp, version 1.1.0
-- Found MTP: /usr/lib64/libmtp.so
-- Found CURL: /usr/lib64/libcurl.so 
-- Found LibXml2: /usr/lib64/libxml2.so 
-- Found OpenSSL: /usr/lib64/libssl.so
-- Looking for include files HAVE_GCRYPT_H
-- Looking for include files HAVE_GCRYPT_H - found
-- Libgcrypt found: /usr/lib64/libgcrypt.so
-- checking for one of the modules 'loudmouth-1.0'
-- Found Loudmouth: /usr/include/loudmouth-1.0;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include 
-- Performing Test QT4_GLIB_SUPPORT
-- Performing Test QT4_GLIB_SUPPORT - Success
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.31.2
-- Found GOBJECT: /usr/lib64/libgobject-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so;/usr/lib64/libglib-2.0.so 
-- Found GLIB2: /usr/lib64/libglib-2.0.so 
-- Found MTP: /usr/lib64/libmtp.so
CMake Warning at src/core-impl/collections/db/CMakeLists.txt:1 (message):
  Workaround: Adding define for MAKE_AMAROK_DATABASECOLLECTION_LIB, this is
  needed for Windows, but has to be removed as soon as DatabaseCollection
  gets its own lib
 
 
-- Found OpenGL: /usr/lib64/libGL.so 
-- Found X11: /usr/lib64/libX11.so
 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * kdelibs - The toolkit Amarok uses to build
   * qtscript-qt - QtScript Qt Bindings
   * mysqld - Embedded MySQL Libraries
   * mysql - MySQL Server Libraries
   * zlib - zlib
   * qca2 - Qt Cryptographic Architecture
   * QJson - Qt JSON Parser used for the Playdar Collection
   * liblastfm - Enable Last.Fm service, including scrobbling, song submissions, and suggested song dynamic playlists
   * ffmpeg - Libraries and tools for handling multimedia data
   * libofa - Enable MusicDNS service
   * libmygpo-qt - Enable gpodder.net service
   * libgpod - Support Apple iPod audio devices
   * GDK-PixBuf - Support for artwork on iPod audio devices via GDK-PixBuf
   * libmtp - Enable Support for portable media devices that use the media transfer protocol
   * curl - cURL provides the necessary network libraries required by mp3tunes.
   * libxml2 - LibXML2 is an XML parser required by mp3tunes.
   * openssl or libgcrypt - OpenSSL or GNU Libgcrypt provides cryptographic functions required by mp3tunes.
   * loudmouth - Loudmouth is the communication backend needed by mp3tunes for syncing.
   * Qt4 Glib support - Qt4 must be compiled with glib support for mp3tunes
   * gobject - Required by libgpod and mp3tunes.
   * glib2 - Required by libgpod and mp3tunes
 
-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
 
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /media/LINUX/opensuse/amarok-2.5.0/build

Dec 192011
 

Gimp 2.7.4

#remove gimp if they are already installed
sudo zypper rm -u gimp libgimp-2_0-0 libgimpui-2_0-0
 
#install dependencies
sudo zypper in patterns-openSUSE-devel_basis
sudo zypper in patterns-openSUSE-devel_C_C++
sudo zypper in git-core
sudo zypper si -d gimp
 
mkdir ~/trunk
cd ~/trunk
git clone git://git.gnome.org/babl
cd babl
./autogen.sh
make
sudo make install
 
cd ~/trunk
git clone git://git.gnome.org/gegl
cd gegl
./autogen.sh
./configure --disable-docs
make
sudo make install
 
cd ~/trunk
wget http://ftp.gnome.org/pub/GNOME/sources/glib/2.31/glib-2.31.16.tar.xz
tar xJf glib-2.31.16.tar.xz
cd glib*
./configure
make
sudo make install
 
cd ~/trunk
wget ftp://ftp.gimp.org/pub/gimp/v2.7/gimp-2.7.4.tar.bz2
tar xjf gimp*.tar.bz2
cd gimp*
export LD_LIBRARY_PATH=/usr/local/lib64 #/usr/local/lib on 32bit
./configure --prefix=/usr
make
sudo make install

Now create a script to launch gimp with the following contents:

#!/bin/sh
export LD_LIBRARY_PATH=/usr/local/lib64 #/usr/local/lib on 32bit
gimp-2.7

Save it in e.g ~/bin folder as gimp.sh, and make it executable:

chmod +x ~/bin/gimp.sh

and replace gimp command in menu editor with ~/bin/gimp.sh. Oh don’t forget to install G’MIC plugin.

May 252011
 

First, using any text editor create a script called shutdown & restart that looks like this:

shutdown:

#! /bin/sh
qdbus --system org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop

restart:

#! /bin/sh
qdbus --system org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart

logout:

#! /bin/sh
qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 0 0

Next, make the scripts executable:

chmod +x shutdown
chmod +x restart
chmod +x logout

Now watch the video below on how to create a desktop shortcut to the script:

May 102011
 
Bug Info
  • Symptoms: Kwin crashes, system feeezes/logs out when opengl screensaver is stopped/watching full screen youtube video, display corruption when compositing is on, etc
  • DistroRelease: Ubuntu 11.04
  • VGA: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
Solution

Upgrade xorg from callegar ppa which has page flipping disabled:

sudo add-apt-repository ppa:callegar/xorg
sudo apt-get update && sudo apt-get upgrade
May 032011
 
  1. Right click on network management icon and select Remove this Network Management
  2. Open ~/.kde/share/config/kdedrc and set autoload to false in Module-networkmanagement section:
    [Module-networkmanagement]
    autoload=false
  3. Open /etc/xdg/autostart/nm-applet.desktop and change OnlyShowIn value to KDE:
    OnlyShowIn=KDE;
  4. Reboot :)
Jan 062011
 

Digikam Face RecognitionDigikam Face Recognition

Digikam Geo LocationDigikam 2.4.1

Update: We Can Now Install Latest Digikam from A PPA Repository

To install latest digikam, simply run the following commands:

sudo add-apt-repository ppa:philip5/extra
sudo apt-get update
sudo apt-get install digikam

Here’s how I installed it (currently v2.4.1) in Kubuntu 11.10 Oneiric. FYI It took nearly one hour to compile on my machine (Toshiba Satellite L310 Intel Core2 Duo T5550 @ 1.83GHz).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#remove digikam & kipi plugins if they are already installed
sudo apt-get purge digikam digikam-data kipi-plugins kipi-plugins-common
sudo apt-get autoremove
 
#install dependencies
sudo apt-get build-dep digikam
 
#Download latest digikam source here: http://sourceforge.net/projects/digikam/files/digikam/
#Save it in ~/trunk folder
cd ~/trunk
tar xjf digikam*.tar.bz2
cd digikam*
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install

Digikam 2.4.1 cmake output

ubuntuku@satellite:/media/LINUX/trunk/digikam-2.4.1/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found Phonon: /usr/include 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libmediawiki
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindQJSON.cmake:19 (include):
  File /usr/share/cmake-2.8/Modules/FindQJSON.cmake includes
  /usr/share/kde4/apps/cmake/modules/FindPkgConfig.cmake (found via
  CMAKE_MODULE_PATH) which shadows
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake.  This may cause errors
  later on .
 
  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  extra/libkvkontakte/CMakeLists.txt:32 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
 
-- checking for module 'QJson>=0.5'
--   found QJson, version 0.7.1
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindQJSON.cmake:43 (include):
  File /usr/share/cmake-2.8/Modules/FindQJSON.cmake includes
  /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake.  This may
  cause errors later on .
 
  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  extra/libkvkontakte/CMakeLists.txt:32 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
 
-- Found QJSON: qjson;QtCore 
 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * QJSON - Qt library for handling JSON data
 
-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
 
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkgeomap
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found marble: /usr/include/marble 
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkexiv2 release >= 1.0.0
-- Found libkexiv2: /usr/lib/libkexiv2.so
-- kexiv2 found, the demo application will be compiled.
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: libkface
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- First try at finding OpenCV...
-- Great, found OpenCV on the first try.
-- OpenCV Root directory is /usr/share/opencv
-- External libface was not found, use internal version instead...
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: kipi-plugins
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkexiv2 release >= 1.0.0
-- Found libkexiv2: /usr/lib/libkexiv2.so
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkipi release >= 1.0.0
-- Found libkipi: /usr/lib/libkipi.so
-- Found JPEG: /usr/lib/i386-linux-gnu/libjpeg.so 
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.3.4")
-- Found PNG: /usr/lib/i386-linux-gnu/libpng.so 
-- Found TIFF: /usr/lib/i386-linux-gnu/libtiff.so 
CMake Warning at extra/kipi-plugins/CMakeLists.txt:139 (MESSAGE):
  libkdcraw: Version information not found, your version is probably too old.
 
 
-- Found EXPAT: /usr/lib/i386-linux-gnu/libexpat.so 
-- Found LibXml2: /usr/lib/libxml2.so 
-- Found LibXslt: /usr/lib/libxslt.so
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so 
-- checking for one of the modules 'libgpod-1.0'
-- Found libgpod-1 0.8.0
-- libgpod dir: /usr/include/glib-2.0;/usr/lib/i386-linux-gnu/glib-2.0/include;/usr/include/gdk-pixbuf-2.0;/usr/include/libpng12;/usr/include/gpod-1.0
-- libgpod lib: gpod;gdk_pixbuf-2.0;gobject-2.0;gthread-2.0;rt;glib-2.0
-- libgpod def: -pthread;-I/usr/include/glib-2.0;-I/usr/lib/i386-linux-gnu/glib-2.0/include;-I/usr/include/gdk-pixbuf-2.0;-I/usr/include/libpng12;-I/usr/include/gpod-1.0
-- libgpod ver: 0.8.0
-- checking for module 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.24.0
-- Found Gdk: /usr/include/gdk-pixbuf-2.0 
-- Found GLIB2: /usr/lib/i386-linux-gnu/libglib-2.0.so 
-- checking for module 'gobject-2.0'
--   found gobject-2.0, version 2.30.0
-- Found GOBJECT: /usr/lib/i386-linux-gnu/libgobject-2.0.so;/usr/lib/i386-linux-gnu/libgmodule-2.0.so;/usr/lib/i386-linux-gnu/libgthread-2.0.so;/usr/lib/i386-linux-gnu/libglib-2.0.so 
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake 
-- Found QCA2: /usr/lib/libqca.so 
-- Check for Ksane library in local sub-folder...
-- Check Ksane library using pkg-config...
-- checking for one of the modules 'libksane'
-- Found libksane release 0.3.0
-- Found libksane: /usr/lib/libksane.so
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: /media/LINUX/trunk/digikam-2.4.1/extra/libkgeomap
-- Check Mediawiki library in local sub-folder...
-- Found Mediawiki library in local sub-folder: /media/LINUX/trunk/digikam-2.4.1/extra/libmediawiki
-- Check Vkontakte library in local sub-folder...
-- Found Vkontakte library in local sub-folder: /media/LINUX/trunk/digikam-2.4.1/extra/libkvkontakte
-- libkgeomap: Found version 2.0.0
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- CMake version: cmake version 2.8.5
 
-- CMake version (cleaned): cmake version 2.8.5
 
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp 
-- 
-- ----------------------------------------------------------------------------------
--  kipi-plugins 2.4.1 dependencies results   <http://www.kipi-plugins.org>
-- 
--  libjpeg library found.................... YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. YES
--  libxml2 library found.................... YES (optional)
--  libxslt library found.................... YES (optional)
--  libexpat library found................... YES (optional)
--  native threads support library found..... YES (optional)
--  libopengl library found.................. YES (optional)
--  Qt4 OpenGL module found.................. YES
--  libopencv library found.................. YES (optional)
--  QJson library found...................... YES (optional)
--  libgpod library found.................... YES (optional)
--  Gdk library found........................ YES (optional)
--  libkdepim library found.................. YES (optional)
--  qca2 library found....................... YES (optional)
--  libkgeomap library found................. YES (optional)
--  libmediawiki library found............... YES (optional)
--  libkvkontakte library found.............. YES (optional)
--  OpenMP library found..................... YES (optional)
--  libX11 library found..................... YES (optional)
--  libksane library found................... YES (optional)
-- 
--  kipi-plugins will be compiled............ YES
--  Shwup will be compiled................... YES (optional)
--  YandexFotki will be compiled............. YES (optional)
--  HtmlExport will be compiled.............. YES (optional)
--  AdvancedSlideshow will be compiled....... YES (optional)
--  ImageViewer will be compiled............. YES (optional)
--  AcquireImages will be compiled........... YES (optional)
--  DNGConverter will be compiled............ YES (optional)
--  RemoveRedEyes will be compiled........... YES (optional)
--  Debian Screenshots will be compiled...... YES (optional)
--  Facebook will be compiled................ YES (optional)
--  VKontakte will be compiled............... YES (optional)
--  IpodExport will be compiled.............. YES (optional)
--  Calendar will be compiled................ YES (optional)
--  GPSSync will be compiled................. YES (optional)
--  Mediawiki will be compiled............... YES (optional)
-- ----------------------------------------------------------------------------------
-- 
-- Found Qt-Version 4.7.4 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86 (INCLUDE):
  File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
  includes /usr/share/kde4/apps/cmake/modules/CMakeParseArguments.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake.  This may cause
  errors later on .
 
  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindThreads.cmake:156 (INCLUDE)
  /usr/share/kde4/apps/cmake/modules/Qt4ConfigDependentSettings.cmake:32 (FIND_PACKAGE)
  /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:1230 (INCLUDE)
  extra/kipi-plugins/photolayoutseditor/utils/qtpropertybrowser/CMakeLists.txt:3 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.
 
-- Found Kipi library in cache: /usr/lib/libkipi.so
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- ----------------------------------------------------------------------------------
-- Starting CMake configuration for: digikam
-- checking for module 'lcms'
--   found lcms, version 1.19
-- Found LCMS: /usr/lib/i386-linux-gnu/liblcms.so 
-- Found Jasper: /usr/lib/i386-linux-gnu/libjasper.so 
-- Check Kdcraw library in local sub-folder...
-- Check Kdcraw library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /usr/lib/libkdcraw.so
-- Check Kexiv2 library in local sub-folder...
-- Check Kexiv2 library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkexiv2 release >= 1.0.0
-- Found libkexiv2: /usr/lib/libkexiv2.so
-- Check Kipi library in local sub-folder...
-- Check Kipi library using pkg-config...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found libkipi release >= 1.0.0
-- Found libkipi: /usr/lib/libkipi.so
-- Check Kface library in local sub-folder...
-- Found Kface library in local sub-folder: /media/LINUX/trunk/digikam-2.4.1/extra/libkface
-- Check for KGeoMap library in local sub-folder...
-- Found KGeoMap library in local sub-folder: /media/LINUX/trunk/digikam-2.4.1/extra/libkgeomap
-- checking for module 'libpgf'
--   package 'libpgf' not found
-- Could NOT find any working clapack installation
-- Boost version: 1.46.1
-- Identified libjpeg version: 62
-- Found MySQL server executable at: /usr/sbin/mysqld
-- Found MySQL install_db executable at: /usr/bin/mysql_install_db
CMake Warning at core/CMakeLists.txt:251 (MESSAGE):
  libkdcraw: Version information not found, your version is probably too old.
 
 
-- libkgeomap: Found version 2.0.0
-- Found gphoto2: -L/usr/lib -lgphoto2_port;-L/usr/lib -lgphoto2 -lgphoto2_port -lm
-- Found LIBUSB: /usr/lib/libusb.so 
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LensFun: /usr/include 
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Performing Test HAVE_LQR_0_4
-- Performing Test HAVE_LQR_0_4 - Success
-- Found Lqr-1: /usr/include/lqr-1 
-- Found Soprano: /usr/include 
-- Found SharedDesktopOntologies: /usr/share/ontology 
-- Found Nepomuk: /usr/lib/libnepomuk.so;/usr/lib/libsoprano.so 
-- Found SharedDesktopOntologies: /usr/share/ontology  (found version "0.7.0", required is "0.2")
-- Found Doxygen: /usr/bin/doxygen 
-- 
-- ----------------------------------------------------------------------------------
--  digiKam 2.4.1 dependencies results   <http://www.digikam.org>
-- 
--  Qt4 SQL module found..................... YES
--  MySQL Server found....................... YES
--  MySQL install_db tool found.............. YES
--  libtiff library found.................... YES
--  libpng library found..................... YES
--  libjasper library found.................. YES
--  liblcms library found.................... YES
--  Boost Graph library found................ YES
--  libkipi library found.................... YES
--  libkexiv2 library found.................. YES
--  libkdcraw library found.................. YES
--  libkface library found................... YES
--  libkgeomap library found................. YES
--  libpgf library found..................... NO  (optional - internal version used instead)
--  libclapack library found................. NO  (optional - internal version used instead)
--  libgphoto2 and libusb libraries found.... YES (optional)
--  libkdepimlibs library found.............. YES (optional)
--  Nepomuk libraries found.................. YES (optional)
--  libglib2 library found................... YES (optional)
--  liblqr-1 library found................... YES (optional)
--  liblensfun library found................. YES (optional)
--  Doxygen found............................ YES (optional)
--  digiKam can be compiled.................. YES
-- ----------------------------------------------------------------------------------
-- 
-- Adjusting compilation flags for GCC version ( 4.6.1 )
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Gettext: built in libc
-- Configuring done
-- Generating done
-- Build files have been written to: /media/LINUX/trunk/digikam-2.4.1/build

Previous Compile Instructions - Digikam 2.0.0-beta4

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#remove digikam & kipi plugins if they are already installed
sudo apt-get purge digikam digikam-data kipi-plugins kipi-plugins-common
 
#install dependencies
sudo apt-get install build-essential kdelibs5-dev kdepimlibs5-dev libboost-dev libcv-dev libcvaux-dev libexpat1-dev libglib2.0-dev libgphoto2-2-dev libhighgui-dev libjasper-dev libkipi-dev liblcms1-dev liblensfun-dev liblqr-1-0-dev libmarble-dev libqca2-dev libtiff4-dev libxml2-dev libxslt1-dev zlib1g-dev libboost-graph-dev opencv-doc
sudo apt-get build-dep digikam
sudo apt-get build-dep kipi-plugins
 
#setup opencv
sudo cp -R /usr/share/doc/opencv-doc/examples/haarcascades/haarcascades /usr/share/opencv/
sudo gunzip /usr/share/opencv/haarcascades/*.gz
 
mkdir ~/trunk
 
#build libface
cd ~/trunk
svn co -r 276 https://libface.svn.sourceforge.net/svnroot/libface libface
cd libface/trunk
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXAMPLES=1 -DBUILD_GUI=1 ..
make
sudo make install
 
#build exiv2
cd ~/trunk
svn checkout -r 2426 svn://dev.exiv2.org/svn/trunk exiv2
cd exiv2
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
 
#Download digikam source here: http://sourceforge.net/projects/digikam/files/digikam/2.0.0-beta4/digikam-2.0.0-beta4.tar.bz2/download
#Save it in ~/trunk folder
cd ~/trunk
tar xjf digikam-2.0.0-beta4.tar.bz2
cd digikam-2.0.0-beta4
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install

Jan 032011
 
Disable Nepomuk

Open ~/.kde/share/config/nepomukserverrc and set “Start Nepomuk” to false.

[Basic Settings]
Start Nepomuk=false

Open ~/.kde/share/config/kdedrc and set “autoload” to false for nepomuksearchmodule:

[Module-nepomuksearchmodule]
autoload=false
Disable Akonadi

Open ~/.config/akonadi/akonadiserverrc and set “StartServer” to false.

[QMYSQL]
StartServer=false

Later if you want to use akonadi again, you can manually start it by running the following command: ‘kcmshell4 kcm_akonadi‘ or ‘akonaditray‘.

akonaditray akonadiconfig

You can also manipulate akonadi directly from terminal by using ‘akonadictl’ command. Starting the Akonadi server manually on the command line can result in additional useful information.

ubuntuku@satellite:~$ akonadictl --help
Akonadi server manipulation tool
Usage: akonadictl [command]
 
Commands:
  start      : Starts the Akonadi server with all its processes
  stop       : Stops the Akonadi server and all its processes cleanly
  restart    : Restart Akonadi server with all its processes
  status     : Shows a status overview of the Akonadi server
Note: PIM applications and other akonadi dependent applications (kontact, kaddressbook, kmail, korganizer, kalarm, etc) won’t work with akonadi disabled.
Dec 302010
 

This steps should fix poor graphics performance issue for some intel chipsets running kubuntu 10.10 maverick:

sudo add-apt-repository ppa:glasen/intel-driver
sudo apt-get update && sudo apt-get upgrade

and reboot to apply the changes.

At least this works for my system Toshiba Satellite L310 which has Intel GM965 Express Chipset. This ppa upgrades xserver-xorg-video-intel and libdrm packages.

© 2011 ubuntuku. All rights reversed.