Difference between revisions of "LibUnique"

From CBLFS
Jump to navigationJump to search
Line 25: Line 25:
  
 
  make install
 
  make install
 
If your '''GNOME_PREFIX''' is anything other then /usr, create the following symbolic link:
 
 
ln -v -s ${GNOME_PREFIX}/lib/gtk-2.0/{{Gtk2-Version2}}.0/filesystems \
 
    /usr/lib/gtk-2.0/{{Gtk2-Version2}}.0
 
  
 
== Multilib ==
 
== Multilib ==
Line 45: Line 40:
  
 
  make install
 
  make install
 
If your '''GNOME_PREFIX''' is anything other then /usr, create the following symbolic link:
 
 
ln -v -s ${GNOME_PREFIX}/lib/gtk-2.0/{{Gtk2-Version2}}.0/filesystems \
 
    /usr/lib/gtk-2.0/{{Gtk2-Version2}}.0
 
  
 
=== N32 ===
 
=== N32 ===
Line 63: Line 53:
  
 
  make install
 
  make install
 
If your '''GNOME_PREFIX''' is anything other then /usr, create the following symbolic link:
 
 
ln -v -s ${GNOME_PREFIX}/lib32/gtk-2.0/{{Gtk2-Version2}}.0/filesystems \
 
    /usr/lib32/gtk-2.0/{{Gtk2-Version2}}.0
 
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 81: Line 66:
  
 
  make install
 
  make install
 
If your '''GNOME_PREFIX''' is anything other then /usr, create the following symbolic link:
 
 
ln -v -s ${GNOME_PREFIX}/lib64/gtk-2.0/{{Gtk2-Version2}}.0/filesystems \
 
    /usr/lib64/gtk-2.0/{{Gtk2-Version2}}.0
 

Revision as of 13:24, 26 March 2009

Download Source: http://ftp.gnome.org/pub/GNOME/sources/libunique/1.0/libunique-1.1.6.tar.bz2

Introduction to LibUnique

Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance.

Project Homepage: http://live.gnome.org/LibUnique

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=${GNOME_PREFIX} \
    --libexecdir=${GNOME_PREFIX}/lib/libunique &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=${GNOME_PREFIX} \
    --libexecdir=${GNOME_PREFIX}/lib/libunique &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=${GNOME_PREFIX} --libdir=${GNOME_PREFIX}/lib32 \
    --libexecdir=${GNOME_PREFIX}/lib32/libunique &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=${GNOME_PREFIX} --libdir=${GNOME_PREFIX}/lib64 \
    --libexecdir=${GNOME_PREFIX}/lib64/libunique &&
make

Install the package

make install