Difference between revisions of "LibUnique"

From CBLFS
Jump to navigationJump to search
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/GNOME/sources/libunique/1.0/libunique-{{Libunique-Version}}.tar.bz2
+
| http://ftp.gnome.org/pub/GNOME/sources/libunique/{{Libunique-Version2}}/libunique-{{Libunique-Version}}.tar.bz2
 
|}
 
|}
  
Line 12: Line 12:
  
 
=== Required ===
 
=== Required ===
 +
[[Gtk2]]
 +
 
=== Optional ===
 
=== Optional ===
  
Line 25: Line 27:
  
 
  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 42:
  
 
  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 55:
  
 
  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 68:
  
 
  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
 

Latest revision as of 05:59, 26 September 2009

Download Source: http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/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

Gtk2

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