[frogr] Introduced new dependency: libexif



commit 2470fc69375bc0628c8ae6240d2be51031d7eb3d
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Sun Apr 24 08:43:27 2011 -0700

    Introduced new dependency: libexif
    
    Useful to extract info like the date/time of creation for the pictures
    (for sorting purposes) or the tags already set by other apps.

 README         |    1 +
 configure.ac   |    5 +++++
 debian/control |    2 +-
 frogr.spec     |    4 ++--
 4 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index 43cf1e7..ad13ed7 100644
--- a/README
+++ b/README
@@ -14,6 +14,7 @@ To work properly, frogr needs some libraries to be installed first::
  - gtk+ (version 2.14 or higher)
  - libxml (version 2.6.8 or higher)
  - libsoup (version 2.24 or higher)
+ - libexif (version 0.6.14 or higher)
 
 -------------------------------------------
 
diff --git a/configure.ac b/configure.ac
index 4d8f34f..dfe1815 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,11 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_MIN_VERSION)
 FROGR_CFLAGS="$FROGR_CFLAGS $GLIB_CFLAGS"
 FROGR_LIBS="$FROGR_LIBS $GLIB_LIBS"
 
+EXIF_MIN_VERSION=0.6.14
+PKG_CHECK_MODULES(EXIF, libexif >= $EXIF_MIN_VERSION)
+FROGR_CFLAGS="$FROGR_CFLAGS $EXIF_CFLAGS"
+FROGR_LIBS="$FROGR_LIBS $EXIF_LIBS"
+
 # Extra checks for flicksoup internal library
 
 LIBSOUP_MIN_VERSION=2.24
diff --git a/debian/control b/debian/control
index ebb19b6..6de8b07 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: frogr
 Section: graphics
 Priority: optional
 Maintainer: Mario Sanchez Prada <msanchez igalia com>
-Build-Depends: cdbs, intltool, debhelper (>= 5), libgtk2.0-dev (>= 2.14), libsoup2.4-dev (>= 2.24), libxml2-dev (>= 2.6.8)
+Build-Depends: cdbs, intltool, debhelper (>= 5), libgtk2.0-dev (>= 2.14), libsoup2.4-dev (>= 2.24), libxml2-dev (>= 2.6.8), libexif-dev (>= 0.6.14)
 Standards-Version: 3.7.3
 Homepage: http://live.gnome.org/Frogr
 
diff --git a/frogr.spec b/frogr.spec
index 2e8418d..4aa54f5 100644
--- a/frogr.spec
+++ b/frogr.spec
@@ -9,8 +9,8 @@ URL:		http://live.gnome.org/Frogr
 Source0:	http://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.bz2
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildRequires:	gtk2-devel > 2.14, glib2-devel, libsoup-devel, libxml2-devel
-Requires:	gtk2 > 2.14, glib2 > 2.16, libsoup > 2.24, libxml2
+BuildRequires:	gtk2-devel > 2.14, glib2-devel, libsoup-devel, libxml2-devel, libexif-devel
+Requires:	gtk2 > 2.14, glib2 > 2.16, libsoup > 2.24, libxml2, libexif
 
 %description
 Frogr is a small application for the GNOME desktop that allows users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]