mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
* Added libexif and the exif frontend utility.
svn path=/nixpkgs/trunk/; revision=2376
This commit is contained in:
parent
6b8a8c92da
commit
83ec45304d
4 changed files with 59 additions and 0 deletions
12
pkgs/development/libraries/libexif/default.nix
Normal file
12
pkgs/development/libraries/libexif/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libexif-0.6.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/libexif/libexif-0.6.11.tar.bz2;
|
||||
md5 = "211996a336f1b1a06def5a6d5c94284e";
|
||||
};
|
||||
|
||||
patches = [./no-po.patch];
|
||||
}
|
20
pkgs/development/libraries/libexif/no-po.patch
Normal file
20
pkgs/development/libraries/libexif/no-po.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff -rc libexif-0.6.11-orig/Makefile.in libexif-0.6.11/Makefile.in
|
||||
*** libexif-0.6.11-orig/Makefile.in 2004-10-16 14:21:37.000000000 +0200
|
||||
--- libexif-0.6.11/Makefile.in 2005-03-11 11:35:24.000000000 +0100
|
||||
***************
|
||||
*** 215,221 ****
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
! SUBDIRS = libexif libjpeg test po m4
|
||||
EXTRA_DIST = @PACKAGE@.spec
|
||||
|
||||
########################################################################
|
||||
--- 215,221 ----
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
! SUBDIRS = libexif libjpeg test m4
|
||||
EXTRA_DIST = @PACKAGE@.spec
|
||||
|
||||
########################################################################
|
|
@ -140,6 +140,10 @@ rec {
|
|||
inherit (xlibs) libXaw;
|
||||
};
|
||||
|
||||
exif = (import ../tools/graphics/exif) {
|
||||
inherit fetchurl stdenv pkgconfig libexif popt;
|
||||
};
|
||||
|
||||
hevea = (import ../tools/typesetting/hevea) {
|
||||
inherit fetchurl stdenv ocaml;
|
||||
};
|
||||
|
@ -606,6 +610,10 @@ rec {
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
libexif = (import ../development/libraries/libexif) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
popt = (import ../development/libraries/popt) {
|
||||
inherit fetchurl stdenv gettext;
|
||||
};
|
||||
|
@ -1123,6 +1131,13 @@ rec {
|
|||
inherit (gtkLibs) gtk;
|
||||
};
|
||||
|
||||
/*
|
||||
fspot = (import ../applications/graphics/f-spot) {
|
||||
inherit fetchurl stdenv perl perlXMLParser pkgconfig mono;
|
||||
inherit (gnome) libgnome libgnomeui;
|
||||
};
|
||||
*/
|
||||
|
||||
hello = (import ../applications/misc/hello/ex-1) {
|
||||
inherit fetchurl stdenv perl;
|
||||
};
|
||||
|
|
12
pkgs/tools/graphics/exif/default.nix
Normal file
12
pkgs/tools/graphics/exif/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl, pkgconfig, libexif, popt}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "exif-0.6.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/libexif/exif-0.6.9.tar.gz;
|
||||
md5 = "555029098386fa677c461eb249d852d7";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig libexif popt];
|
||||
}
|
Loading…
Reference in a new issue